[gtk+] Pack the struct better, should save four bytes per GtkIconView
- From: Mart Raudsepp <mraudsepp src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Pack the struct better, should save four bytes per GtkIconView
- Date: Tue, 22 Sep 2009 08:28:45 +0000 (UTC)
commit 275001badc2ceee8958059651ab8bee1233f6289
Author: Mart Raudsepp <leio gentoo org>
Date: Wed Sep 16 08:53:22 2009 +0300
Pack the struct better, should save four bytes per GtkIconView
gtk/gtkiconview.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index c517b0f..b3dcb2f 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -160,8 +160,6 @@ struct _GtkIconViewPrivate
gint tooltip_column;
- guint draw_focus : 1;
-
/* Drag-and-drop. */
GdkModifierType start_button_mask;
gint pressed_button;
@@ -186,7 +184,9 @@ struct _GtkIconViewPrivate
guint empty_view_drop :1;
guint ctrl_pressed : 1;
- guint shift_pressed : 1;
+ guint shift_pressed : 1;
+
+ guint draw_focus : 1;
};
/* Signals */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]