From 76341ee8710f2510851b904aa145902d5c482f1a Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Thu, 17 Mar 2011 11:31:25 +0000 Subject: Use modern private structure handling --- src/empathy-call-handler.c | 4 ++-- 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); -- cgit v1.2.3