aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-03-17 19:31:25 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 17:20:07 +0800
commitcf83cc9c5a936c88e7e22033956001c4638b7d14 (patch)
tree07bee4e7c2bab647d68fa11b90784986f15a7fea
parentb49fd754dd479be529fc12d2e82498ed02d31512 (diff)
downloadgsoc2013-empathy-cf83cc9c5a936c88e7e22033956001c4638b7d14.tar
gsoc2013-empathy-cf83cc9c5a936c88e7e22033956001c4638b7d14.tar.gz
gsoc2013-empathy-cf83cc9c5a936c88e7e22033956001c4638b7d14.tar.bz2
gsoc2013-empathy-cf83cc9c5a936c88e7e22033956001c4638b7d14.tar.lz
gsoc2013-empathy-cf83cc9c5a936c88e7e22033956001c4638b7d14.tar.xz
gsoc2013-empathy-cf83cc9c5a936c88e7e22033956001c4638b7d14.tar.zst
gsoc2013-empathy-cf83cc9c5a936c88e7e22033956001c4638b7d14.zip
Use modern private structure handling
-rw-r--r--src/empathy-call-handler.c4
-rw-r--r--src/empathy-call-handler.h3
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);