[Telepathy-commits] [telepathy-mission-control/master] Set boolean members as bit fields

Alberto Mardegan alberto.mardegan at nokia.com
Mon Feb 2 00:00:18 PST 2009


---
 src/mcd-channel.c |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index 50e71d1..444c50c 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -53,23 +53,20 @@ typedef struct _McdChannelRequestData McdChannelRequestData;
 struct _McdChannelPrivate
 {
     gboolean outgoing;
-    
-    /* Channel created based on the above channel info */
+
     TpChannel *tp_chan;
-    guint has_group_if : 1;
 
     /* boolean properties */
+    guint has_group_if : 1;
     guint close_on_dispose : 1;
-
-    gboolean members_accepted;
-    gboolean missed;
+    guint members_accepted : 1;
+    guint missed : 1;
+    guint is_disposed : 1;
 
     McdChannelStatus status;
     const gchar *initiator_id;
 
     McdChannelRequestData *request_data;
-
-    gboolean is_disposed;
 };
 
 struct _McdChannelRequestData
-- 
1.5.6.5




More information about the Telepathy-commits mailing list