summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/telepathy-glib-sections.txt1
-rw-r--r--telepathy-glib/base-connection.c4
-rw-r--r--telepathy-glib/base-connection.h3
3 files changed, 5 insertions, 3 deletions
diff --git a/docs/reference/telepathy-glib-sections.txt b/docs/reference/telepathy-glib-sections.txt
index 1eae49ed7..cb23d53c5 100644
--- a/docs/reference/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib-sections.txt
@@ -51,6 +51,7 @@ tp_base_connection_get_type
TP_BASE_CONNECTION_CLASS
TP_IS_BASE_CONNECTION_CLASS
TP_BASE_CONNECTION_GET_CLASS
+TpBaseConnectionPrivate
</SECTION>
<SECTION>
diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index 3c81aa95a..6a35e885a 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -139,7 +139,7 @@ channel_request_cancel (gpointer data, gpointer user_data)
channel_request_free (request);
}
-typedef struct _TpBaseConnectionPrivate
+struct _TpBaseConnectionPrivate
{
/* Telepathy properties */
gchar *protocol;
@@ -160,7 +160,7 @@ typedef struct _TpBaseConnectionPrivate
* Note that this is a GArray of gchar*, not a GPtrArray,
* so that we can use GArray's convenient auto-null-termination. */
GArray *interfaces;
-} TpBaseConnectionPrivate;
+};
static void
tp_base_connection_get_property (GObject *object,
diff --git a/telepathy-glib/base-connection.h b/telepathy-glib/base-connection.h
index 541128747..ab4f215a7 100644
--- a/telepathy-glib/base-connection.h
+++ b/telepathy-glib/base-connection.h
@@ -34,6 +34,7 @@ G_BEGIN_DECLS
typedef struct _TpBaseConnection TpBaseConnection;
typedef struct _TpBaseConnectionClass TpBaseConnectionClass;
+typedef struct _TpBaseConnectionPrivate TpBaseConnectionPrivate;
/**
* TpBaseConnectionProc:
@@ -239,7 +240,7 @@ struct _TpBaseConnection {
gpointer _future3;
gpointer _future4;
- gpointer priv;
+ TpBaseConnectionPrivate *priv;
};
GType tp_base_connection_get_type (void);