summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-09-21 23:37:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-09-21 23:50:55 -0400
commite5317f0f9ad3c8dfb9df0d90e3d7b16524334f49 (patch)
tree8a93058565e43a1a2cdfe206b139293bcce8bdb9 /gtk/gtkplacessidebar.c
parentd137f74fe9cc3dfcd0087e9342b5f51f87f3aeb5 (diff)
downloadgtk+-e5317f0f9ad3c8dfb9df0d90e3d7b16524334f49.tar.gz
Improve struct packing in various places
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r--gtk/gtkplacessidebar.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index a019dcdde4..d38d38d560 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -144,16 +144,12 @@ struct _GtkPlacesSidebar {
/* DnD */
GList *drag_list; /* list of GFile */
- gboolean drag_data_received;
int drag_data_info;
- gboolean drop_occured;
-
- GtkWidget *popup_menu;
/* volume mounting - delayed open process */
- gboolean mounting;
GtkPlacesOpenFlags go_to_after_mount_open_flags;
+ GtkWidget *popup_menu;
GSList *shortcuts;
GDBusProxy *hostnamed_proxy;
@@ -165,9 +161,12 @@ struct _GtkPlacesSidebar {
DropState drop_state;
int new_bookmark_index;
guint drag_leave_timeout_id;
- guint switch_location_timer;
char *drop_target_uri;
+ guint switch_location_timer;
+ guint mounting : 1;
+ guint drag_data_received : 1;
+ guint drop_occured : 1;
guint show_desktop : 1;
guint show_connect_to_server : 1;
};