empathy r2486 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2486 - trunk/libempathy
- Date: Mon, 16 Feb 2009 21:25:10 +0000 (UTC)
Author: xclaesse
Date: Mon Feb 16 21:25:10 2009
New Revision: 2486
URL: http://svn.gnome.org/viewvc/empathy?rev=2486&view=rev
Log:
add parameters arg to empathy_tp_tube_new_stream_tube and use latest offer API
From: Guillaume Desmottes <gdesmott gnome org>
Modified:
trunk/libempathy/empathy-tp-tube.c
trunk/libempathy/empathy-tp-tube.h
Modified: trunk/libempathy/empathy-tp-tube.c
==============================================================================
--- trunk/libempathy/empathy-tp-tube.c (original)
+++ trunk/libempathy/empathy-tp-tube.c Mon Feb 16 21:25:10 2009
@@ -271,7 +271,8 @@
TpSocketAddressType type,
const gchar *hostname,
guint port,
- const gchar *service)
+ const gchar *service,
+ GHashTable *parameters)
{
MissionControl *mc;
McAccount *account;
@@ -348,7 +349,8 @@
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);
Modified: trunk/libempathy/empathy-tp-tube.h
==============================================================================
--- trunk/libempathy/empathy-tp-tube.h (original)
+++ trunk/libempathy/empathy-tp-tube.h Mon Feb 16 21:25:10 2009
@@ -71,7 +71,7 @@
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]