diff options
Diffstat (limited to 'libempathy')
-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, |