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,
typedef struct _EmpathyAuthFactory EmpathyAuthFactory;
typedef struct _EmpathyAuthFactoryClass EmpathyAuthFactoryClass;
+typedef struct _EmpathyAuthFactoryPriv EmpathyAuthFactoryPriv;
struct _EmpathyAuthFactoryClass {
TpBaseClientClass parent_class;
struct _EmpathyAuthFactory {
TpBaseClient parent;
- gpointer priv;
+ EmpathyAuthFactoryPriv *priv;
};
GType empathy_auth_factory_get_type (void);