aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-06-20 00:49:25 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-06-20 00:50:25 +0800
commit48d30c3fabc70f012542ffe6c67742f6a39c8f10 (patch)
tree95c12c109c4406a3aa7ce982deded842b9196a74 /libempathy-gtk
parente420cf3f2eeabb09f8deef22e615809220eb3139 (diff)
downloadgsoc2013-empathy-48d30c3fabc70f012542ffe6c67742f6a39c8f10.tar
gsoc2013-empathy-48d30c3fabc70f012542ffe6c67742f6a39c8f10.tar.gz
gsoc2013-empathy-48d30c3fabc70f012542ffe6c67742f6a39c8f10.tar.bz2
gsoc2013-empathy-48d30c3fabc70f012542ffe6c67742f6a39c8f10.tar.lz
gsoc2013-empathy-48d30c3fabc70f012542ffe6c67742f6a39c8f10.tar.xz
gsoc2013-empathy-48d30c3fabc70f012542ffe6c67742f6a39c8f10.tar.zst
gsoc2013-empathy-48d30c3fabc70f012542ffe6c67742f6a39c8f10.zip
EmpathyChat: use an opaque struct for priv not a void pointer
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c4
-rw-r--r--libempathy-gtk/empathy-chat.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 9e69c733a..220cca5d1 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -63,7 +63,7 @@
#define COMPOSING_STOP_TIMEOUT 5
#define GET_PRIV(obj) EMPATHY_GET_PRIV (obj, EmpathyChat)
-typedef struct {
+struct _EmpathyChatPriv {
EmpathyTpChat *tp_chat;
TpAccount *account;
gchar *id;
@@ -138,7 +138,7 @@ typedef struct {
* notified again about the already notified pending messages when the
* messages in tab will be properly shown */
gboolean retrieving_backlogs;
-} EmpathyChatPriv;
+};
typedef struct {
gchar *text; /* Original message that was specified
diff --git a/libempathy-gtk/empathy-chat.h b/libempathy-gtk/empathy-chat.h
index 7f3ebda26..596b83f5d 100644
--- a/libempathy-gtk/empathy-chat.h
+++ b/libempathy-gtk/empathy-chat.h
@@ -47,10 +47,11 @@ G_BEGIN_DECLS
typedef struct _EmpathyChat EmpathyChat;
typedef struct _EmpathyChatClass EmpathyChatClass;
+typedef struct _EmpathyChatPriv EmpathyChatPriv;
struct _EmpathyChat {
GtkBin parent;
- gpointer priv;
+ EmpathyChatPriv *priv;
/* Protected */
EmpathyChatView *view;