diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2011-03-17 19:31:25 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2011-03-17 19:50:39 +0800 |
commit | 76341ee8710f2510851b904aa145902d5c482f1a (patch) | |
tree | 63b6a890a24c77739f156aab4c90382ebab6e159 | |
parent | cf02fdd5166de8c92d2f66c7cbad7d2efc69d834 (diff) | |
download | gsoc2013-empathy-76341ee8710f2510851b904aa145902d5c482f1a.tar gsoc2013-empathy-76341ee8710f2510851b904aa145902d5c482f1a.tar.gz gsoc2013-empathy-76341ee8710f2510851b904aa145902d5c482f1a.tar.bz2 gsoc2013-empathy-76341ee8710f2510851b904aa145902d5c482f1a.tar.lz gsoc2013-empathy-76341ee8710f2510851b904aa145902d5c482f1a.tar.xz gsoc2013-empathy-76341ee8710f2510851b904aa145902d5c482f1a.tar.zst gsoc2013-empathy-76341ee8710f2510851b904aa145902d5c482f1a.zip |
Use modern private structure handling
-rw-r--r-- | src/empathy-call-handler.c | 4 | ||||
-rw-r--r-- | src/empathy-call-handler.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/empathy-call-handler.c b/src/empathy-call-handler.c index e35afbde7..02a5af691 100644 --- a/src/empathy-call-handler.c +++ b/src/empathy-call-handler.c @@ -76,7 +76,7 @@ enum { /* private structure */ -typedef struct { +struct _EmpathyCallHandlerPriv { TpyCallChannel *call; EmpathyContact *contact; @@ -94,7 +94,7 @@ typedef struct { FsCandidate *video_remote_candidate; FsCandidate *audio_local_candidate; FsCandidate *video_local_candidate; -} EmpathyCallHandlerPriv; +}; #define GET_PRIV(obj) EMPATHY_GET_PRIV (obj, EmpathyCallHandler) diff --git a/src/empathy-call-handler.h b/src/empathy-call-handler.h index 3cc0421c7..330d368a5 100644 --- a/src/empathy-call-handler.h +++ b/src/empathy-call-handler.h @@ -34,6 +34,7 @@ G_BEGIN_DECLS typedef struct _EmpathyCallHandler EmpathyCallHandler; typedef struct _EmpathyCallHandlerClass EmpathyCallHandlerClass; +typedef struct _EmpathyCallHandlerPriv EmpathyCallHandlerPriv; struct _EmpathyCallHandlerClass { GObjectClass parent_class; @@ -41,7 +42,7 @@ struct _EmpathyCallHandlerClass { struct _EmpathyCallHandler { GObject parent; - gpointer priv; + EmpathyCallHandlerPriv *priv; }; GType empathy_call_handler_get_type (void); |