diff options
author | Guillaume Desmottes <gdesmott@gnome.org> | 2009-02-17 05:25:10 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-02-17 05:25:10 +0800 |
commit | 151305208b3057d09379efceebd94a702d970efb (patch) | |
tree | 13429ad7f234c58c31a4743ba7003dec05353163 | |
parent | df4a27b4a0502ce010918fc9ad1270587a4c3c1b (diff) | |
download | gsoc2013-empathy-151305208b3057d09379efceebd94a702d970efb.tar gsoc2013-empathy-151305208b3057d09379efceebd94a702d970efb.tar.gz gsoc2013-empathy-151305208b3057d09379efceebd94a702d970efb.tar.bz2 gsoc2013-empathy-151305208b3057d09379efceebd94a702d970efb.tar.lz gsoc2013-empathy-151305208b3057d09379efceebd94a702d970efb.tar.xz gsoc2013-empathy-151305208b3057d09379efceebd94a702d970efb.tar.zst gsoc2013-empathy-151305208b3057d09379efceebd94a702d970efb.zip |
add parameters arg to empathy_tp_tube_new_stream_tube and use latest offer API
From: Guillaume Desmottes <gdesmott@gnome.org>
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2486 4ee84921-47dd-4033-b63a-18d7a039a3e4
-rw-r--r-- | libempathy/empathy-tp-tube.c | 6 | ||||
-rw-r--r-- | libempathy/empathy-tp-tube.h | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libempathy/empathy-tp-tube.c b/libempathy/empathy-tp-tube.c index f8ce0536f..793b6ff7a 100644 --- a/libempathy/empathy-tp-tube.c +++ b/libempathy/empathy-tp-tube.c @@ -271,7 +271,8 @@ empathy_tp_tube_new_stream_tube (EmpathyContact *contact, TpSocketAddressType type, const gchar *hostname, guint port, - const gchar *service) + const gchar *service, + GHashTable *parameters) { MissionControl *mc; McAccount *account; @@ -348,7 +349,8 @@ empathy_tp_tube_new_stream_tube (EmpathyContact *contact, if (!emp_cli_channel_type_stream_tube_run_offer_stream_tube ( TP_PROXY(channel), -1, type, address, - TP_SOCKET_ACCESS_CONTROL_LOCALHOST, control_param, &error, NULL)) + TP_SOCKET_ACCESS_CONTROL_LOCALHOST, control_param, parameters, + &error, NULL)) { DEBUG ("Couldn't offer tube: %s", error->message); g_clear_error (&error); diff --git a/libempathy/empathy-tp-tube.h b/libempathy/empathy-tp-tube.h index 90955caa4..8e63945e5 100644 --- a/libempathy/empathy-tp-tube.h +++ b/libempathy/empathy-tp-tube.h @@ -71,7 +71,7 @@ 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); + const gchar *service, GHashTable *parameters); typedef void (EmpatyTpTubeAcceptStreamTubeCb) (EmpathyTpTube *tube, const EmpathyTpTubeAddress *address, const GError *error, |