[gtk+] GtkAppChooserWidgetPrivate: Improve struct packing



commit b756743cdf062e6b821e5ebf4c37bbeb214b241c
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 12 12:24:34 2011 -0400

    GtkAppChooserWidgetPrivate: Improve struct packing

 gtk/gtkappchooserwidget.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index 2251971..8b3ab9d 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -61,11 +61,12 @@ struct _GtkAppChooserWidgetPrivate {
 
   gchar *content_type;
   gchar *default_text;
-  gboolean show_default;
-  gboolean show_recommended;
-  gboolean show_fallback;
-  gboolean show_other;
-  gboolean show_all;
+
+  guint show_default     : 1;
+  guint show_recommended : 1;
+  guint show_fallback    : 1;
+  guint show_other       : 1;
+  guint show_all         : 1;
 
   GtkWidget *program_list;
   GtkListStore *program_list_store;



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