[empathy/gnome-2-34] Use modern private structure handling



commit 76341ee8710f2510851b904aa145902d5c482f1a
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Thu Mar 17 11:31:25 2011 +0000

    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 e35afbd..02a5af6 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 3cc0421..330d368 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]