aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-18 18:43:16 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-18 20:48:27 +0800
commita83655b4102c6bf161af1c2a41c6c812601b3fce (patch)
tree7158647f311ced70ca652b70e5277f4af53736fc /libempathy
parente8946503f98e8530fd35bb72a3235a286aac4a57 (diff)
downloadgsoc2013-empathy-a83655b4102c6bf161af1c2a41c6c812601b3fce.tar
gsoc2013-empathy-a83655b4102c6bf161af1c2a41c6c812601b3fce.tar.gz
gsoc2013-empathy-a83655b4102c6bf161af1c2a41c6c812601b3fce.tar.bz2
gsoc2013-empathy-a83655b4102c6bf161af1c2a41c6c812601b3fce.tar.lz
gsoc2013-empathy-a83655b4102c6bf161af1c2a41c6c812601b3fce.tar.xz
gsoc2013-empathy-a83655b4102c6bf161af1c2a41c6c812601b3fce.tar.zst
gsoc2013-empathy-a83655b4102c6bf161af1c2a41c6c812601b3fce.zip
auth-factory: use a proper priv pointer
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-auth-factory.c4
-rw-r--r--libempathy/empathy-auth-factory.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/libempathy/empathy-auth-factory.c b/libempathy/empathy-auth-factory.c
index edf3e2c91..afaa372d2 100644
--- a/libempathy/empathy-auth-factory.c
+++ b/libempathy/empathy-auth-factory.c
@@ -35,14 +35,14 @@
G_DEFINE_TYPE (EmpathyAuthFactory, empathy_auth_factory, TP_TYPE_BASE_CLIENT);
-typedef struct {
+struct _EmpathyAuthFactoryPriv {
/* Keep a ref here so the auth client doesn't have to mess with
* refs. It will be cleared when the channel (and so the handler)
* gets invalidated. */
EmpathyServerSASLHandler *sasl_handler;
gboolean dispose_run;
-} EmpathyAuthFactoryPriv;
+};
enum {
NEW_SERVER_TLS_HANDLER,
diff --git a/libempathy/empathy-auth-factory.h b/libempathy/empathy-auth-factory.h
index 6f62a7a86..e9a670ceb 100644
--- a/libempathy/empathy-auth-factory.h
+++ b/libempathy/empathy-auth-factory.h
@@ -29,6 +29,7 @@ G_BEGIN_DECLS
typedef struct _EmpathyAuthFactory EmpathyAuthFactory;
typedef struct _EmpathyAuthFactoryClass EmpathyAuthFactoryClass;
+typedef struct _EmpathyAuthFactoryPriv EmpathyAuthFactoryPriv;
struct _EmpathyAuthFactoryClass {
TpBaseClientClass parent_class;
@@ -36,7 +37,7 @@ struct _EmpathyAuthFactoryClass {
struct _EmpathyAuthFactory {
TpBaseClient parent;
- gpointer priv;
+ EmpathyAuthFactoryPriv *priv;
};
GType empathy_auth_factory_get_type (void);