[Telepathy-commits] [telepathy-haze/master] Turn HazeConnectionPrivate.disconnecting and dispose_has_run into bitfields.

Will Thompson will.thompson at collabora.co.uk
Thu Aug 14 04:51:46 PDT 2008


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

diff --git a/src/connection.c b/src/connection.c
index c0863e1..cfff6e3 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -66,9 +66,9 @@ typedef struct _HazeConnectionPrivate
     /* Set if purple_account_disconnect has been called or is scheduled to be
      * called, so should not be called again.
      */
-    gboolean disconnecting;
+    gboolean disconnecting : 1;
 
-    gboolean dispose_has_run;
+    gboolean dispose_has_run : 1;
 } HazeConnectionPrivate;
 
 #define HAZE_CONNECTION_GET_PRIVATE(o) \
-- 
1.5.6.3



More information about the Telepathy-commits mailing list