diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-04-24 23:55:11 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-04-24 23:55:16 +0800 |
commit | 3960a24a5bbf6ac8ef4543ca6b1dd3f8bf7b7b37 (patch) | |
tree | dc0bf4af6cc8e97acd11a5a173cd82292d5b9ab5 /libempathy/empathy-tp-tube.h | |
parent | c2c648de9fcd4b7a78dd33f2d9502f08bc483eb7 (diff) | |
download | gsoc2013-empathy-3960a24a5bbf6ac8ef4543ca6b1dd3f8bf7b7b37.tar gsoc2013-empathy-3960a24a5bbf6ac8ef4543ca6b1dd3f8bf7b7b37.tar.gz gsoc2013-empathy-3960a24a5bbf6ac8ef4543ca6b1dd3f8bf7b7b37.tar.bz2 gsoc2013-empathy-3960a24a5bbf6ac8ef4543ca6b1dd3f8bf7b7b37.tar.lz gsoc2013-empathy-3960a24a5bbf6ac8ef4543ca6b1dd3f8bf7b7b37.tar.xz gsoc2013-empathy-3960a24a5bbf6ac8ef4543ca6b1dd3f8bf7b7b37.tar.zst gsoc2013-empathy-3960a24a5bbf6ac8ef4543ca6b1dd3f8bf7b7b37.zip |
libempathy/empathy-tp-tube.[ch]: port to tp coding style
Diffstat (limited to 'libempathy/empathy-tp-tube.h')
-rw-r--r-- | libempathy/empathy-tp-tube.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/libempathy/empathy-tp-tube.h b/libempathy/empathy-tp-tube.h index 004373090..79cffa1a2 100644 --- a/libempathy/empathy-tp-tube.h +++ b/libempathy/empathy-tp-tube.h @@ -70,23 +70,32 @@ struct _EmpathyTpTubeClass { GType empathy_tp_tube_get_type (void) G_GNUC_CONST; EmpathyTpTube *empathy_tp_tube_new (TpChannel *channel); EmpathyTpTube *empathy_tp_tube_new_stream_tube (EmpathyContact *contact, - TpSocketAddressType type, const gchar *hostname, guint port, - const gchar *service, GHashTable *parameters); + TpSocketAddressType type, + const gchar *hostname, + guint port, + const gchar *service, + GHashTable *parameters); typedef void (EmpathyTpTubeAcceptStreamTubeCb) (EmpathyTpTube *tube, - const EmpathyTpTubeAddress *address, const GError *error, + const EmpathyTpTubeAddress *address, + const GError *error, gpointer user_data); void empathy_tp_tube_accept_stream_tube (EmpathyTpTube *tube, - TpSocketAddressType type, EmpathyTpTubeAcceptStreamTubeCb *callback, + TpSocketAddressType type, + EmpathyTpTubeAcceptStreamTubeCb *callback, gpointer user_data); typedef void (EmpathyTpTubeReadyCb) - (EmpathyTpTube *tube, const GError *error, gpointer user_data, + (EmpathyTpTube *tube, + const GError *error, + gpointer user_data, GObject *weak_object); void empathy_tp_tube_call_when_ready (EmpathyTpTube *tube, - EmpathyTpTubeReadyCb *callback, gpointer user_data, GDestroyNotify destroy, + EmpathyTpTubeReadyCb *callback, + gpointer user_data, + GDestroyNotify destroy, GObject *weak_object); G_END_DECLS |