[glib] GIOSchedulerJob: Improve struct packing



commit a2094d5e564433ed3a4398afeacce80519bbda44
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 12 10:02:12 2011 -0400

    GIOSchedulerJob: Improve struct packing

 gio/gioscheduler.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gio/gioscheduler.c b/gio/gioscheduler.c
index 61e1afc..cd7bba7 100644
--- a/gio/gioscheduler.c
+++ b/gio/gioscheduler.c
@@ -51,11 +51,10 @@ struct _GIOSchedulerJob {
   GSourceFunc cancel_func; /* Runs under job map lock */
   gpointer data;
   GDestroyNotify destroy_notify;
-
-  gint io_priority;
   GCancellable *cancellable;
   GMainContext *context;
 
+  gint io_priority;
   guint idle_tag;
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]