[glib] GFileAttributeMatcher: Improve struct packing



commit 3e4f3673d8a54b3e1924d00a4a3a6048426f0b10
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 12 10:01:05 2011 -0400

    GFileAttributeMatcher: Improve struct packing

 gio/gfileinfo.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gio/gfileinfo.c b/gio/gfileinfo.c
index 41c242d..579148d 100644
--- a/gio/gfileinfo.c
+++ b/gio/gfileinfo.c
@@ -2096,12 +2096,13 @@ typedef struct {
 struct _GFileAttributeMatcher {
   gboolean all;
   SubMatcher sub_matchers[ON_STACK_MATCHERS];
+  gint ref;
+
   GArray *more_sub_matchers;
 
   /* Interator */
   guint32 iterator_ns;
-  int iterator_pos;
-  int ref;
+  gint iterator_pos;
 };
 
 static void



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