[Telepathy-commits] [telepathy-glib/master] Bitfield-ify gbooleans ChannelRequest::suppress_handler and ::yours

Will Thompson will.thompson at collabora.co.uk
Wed Sep 24 08:10:38 PDT 2008


---
 telepathy-glib/base-connection.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index 6d9a5d6..9b5a445 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -303,13 +303,13 @@ struct _ChannelRequest
   guint handle_type;
   guint handle;
   /* always TRUE for CREATE; always FALSE for ENSURE */
-  gboolean suppress_handler;
+  gboolean suppress_handler : 1;
 
   /* only meaningful for METHOD_ENSURE_CHANNEL; only true if this is the first
    * request to be satisfied with a particular channel, and no other request
    * satisfied by that channel has a different method.
    */
-  gboolean yours;
+  gboolean yours : 1;
 };
 
 static ChannelRequest *
-- 
1.5.6.5




More information about the Telepathy-commits mailing list