[gedit/dbus] Move some booleans to bit fields
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/dbus] Move some booleans to bit fields
- Date: Sat, 15 May 2010 12:21:17 +0000 (UTC)
commit ef35d4ff4ca0bf005d1ab4903f9e01673010424f
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Sat May 15 13:30:06 2010 +0200
Move some booleans to bit fields
gedit/gedit-dbus.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-dbus.c b/gedit/gedit-dbus.c
index 4d59b0f..983c6e0 100644
--- a/gedit/gedit-dbus.c
+++ b/gedit/gedit-dbus.c
@@ -49,11 +49,12 @@ struct _WaitData
{
GeditDBus *dbus;
GeditWindow *window;
- gboolean close_window;
guint32 wait_id;
guint num_handlers;
WaitHandlerFunc func;
+
+ guint close_window : 1;
};
typedef struct _DisplayParameters DisplayParameters;
@@ -86,8 +87,9 @@ typedef struct
GeditWindow *window;
OpenParameters oparams;
- gboolean jump_to;
WaitData *wait_data;
+
+ guint jump_to : 1;
} AsyncData;
struct _GeditDBusPrivate
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]