summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-05-30 16:45:45 +0200
committerXavier Claessens <xclaesse@gmail.com>2010-05-31 13:47:17 +0200
commitc119cd79de81c0069343c61c1dcffd0fd64f7918 (patch)
tree22e4dd98e06f415378d0b277cd3653d8465ca928 /telepathy-glib/connection.h
parent001b975910e22885af04b064b781facbfd000037 (diff)
downloadtelepathy-glib-c119cd79de81c0069343c61c1dcffd0fd64f7918.tar.gz
Cleanup connection.h header a bit
Diffstat (limited to 'telepathy-glib/connection.h')
-rw-r--r--telepathy-glib/connection.h45
1 files changed, 20 insertions, 25 deletions
diff --git a/telepathy-glib/connection.h b/telepathy-glib/connection.h
index 13737ab5e..e033bb5c6 100644
--- a/telepathy-glib/connection.h
+++ b/telepathy-glib/connection.h
@@ -30,25 +30,6 @@
G_BEGIN_DECLS
-typedef struct _TpConnection TpConnection;
-typedef struct _TpConnectionPrivate TpConnectionPrivate;
-typedef struct _TpConnectionClass TpConnectionClass;
-
-struct _TpConnectionClass {
- TpProxyClass parent_class;
- /*<private>*/
- GCallback _1;
- GCallback _2;
- GCallback _3;
- GCallback _4;
-};
-
-struct _TpConnection {
- /*<private>*/
- TpProxy parent;
- TpConnectionPrivate *priv;
-};
-
typedef struct _TpAvatarRequirements TpAvatarRequirements;
struct _TpAvatarRequirements
{
@@ -70,9 +51,7 @@ struct _TpAvatarRequirements
#define TP_TYPE_AVATAR_REQUIREMENTS (tp_avatar_requirements_get_type ())
GType tp_avatar_requirements_get_type (void);
-
-TpAvatarRequirements * tp_avatar_requirements_new (
- GStrv supported_mime_types,
+TpAvatarRequirements * tp_avatar_requirements_new (GStrv supported_mime_types,
guint minimum_width,
guint minimum_height,
guint recommended_width,
@@ -80,12 +59,28 @@ TpAvatarRequirements * tp_avatar_requirements_new (
guint maximum_width,
guint maximum_height,
guint maximum_bytes);
+TpAvatarRequirements * tp_avatar_requirements_copy (TpAvatarRequirements *self);
+void tp_avatar_requirements_destroy (TpAvatarRequirements *self);
-TpAvatarRequirements * tp_avatar_requirements_copy (
- TpAvatarRequirements *self);
-void tp_avatar_requirements_destroy (TpAvatarRequirements *self);
+typedef struct _TpConnection TpConnection;
+typedef struct _TpConnectionPrivate TpConnectionPrivate;
+typedef struct _TpConnectionClass TpConnectionClass;
+struct _TpConnectionClass {
+ TpProxyClass parent_class;
+ /*<private>*/
+ GCallback _1;
+ GCallback _2;
+ GCallback _3;
+ GCallback _4;
+};
+
+struct _TpConnection {
+ /*<private>*/
+ TpProxy parent;
+ TpConnectionPrivate *priv;
+};
GType tp_connection_get_type (void);