[telepathy-gabble/master] GabbleMediaChannelPrivate: turn bitfield into genuine booleans

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Jan 7 09:24:55 PST 2010


---
 src/media-channel-internal.h |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/media-channel-internal.h b/src/media-channel-internal.h
index 1743f68..f2fa7b2 100644
--- a/src/media-channel-internal.h
+++ b/src/media-channel-internal.h
@@ -62,11 +62,9 @@ struct _GabbleMediaChannelPrivate
   gboolean initial_audio;
   gboolean initial_video;
   gboolean immutable_streams;
-
-  /* These are really booleans, but gboolean is signed. Thanks, GLib */
-  unsigned ready:1;
-  unsigned closed:1;
-  unsigned dispose_has_run:1;
+  gboolean ready;
+  gboolean closed;
+  gboolean dispose_has_run;
 };
 
 void gabble_media_channel_hold_latch_to_session (GabbleMediaChannel *chan);
-- 
1.5.6.5




More information about the telepathy-commits mailing list