[Telepathy-commits] [telepathy-gabble/master] GabbleMucChannel: simplify priv access
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:39 PDT 2008
20080722182146-53eee-f70b8af90a02eaf826e4505119f40825ab46adbf.gz
---
src/muc-channel.c | 2 --
src/muc-channel.h | 3 ++-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/muc-channel.c b/src/muc-channel.c
index ee2f89b..ba4095b 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -197,8 +197,6 @@ const TpPropertySignature room_property_signatures[NUM_ROOM_PROPS] = {
/* private structures */
-typedef struct _GabbleMucChannelPrivate GabbleMucChannelPrivate;
-
typedef struct {
TpHandleSet *members;
TpHandleSet *owners;
diff --git a/src/muc-channel.h b/src/muc-channel.h
index 610af9a..9b71760 100644
--- a/src/muc-channel.h
+++ b/src/muc-channel.h
@@ -42,6 +42,7 @@ typedef enum {
} GabbleMucState;
typedef struct _GabbleMucChannelClass GabbleMucChannelClass;
+typedef struct _GabbleMucChannelPrivate GabbleMucChannelPrivate;
struct _GabbleMucChannelClass {
GObjectClass parent_class;
@@ -59,7 +60,7 @@ struct _GabbleMucChannel {
TpPropertiesMixin properties;
GabbleTextMixin text;
- gpointer priv;
+ GabbleMucChannelPrivate *priv;
};
GType gabble_muc_channel_get_type (void);
--
1.5.6.3
More information about the Telepathy-commits
mailing list