aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:20:32 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:20:32 +0800
commit9de705f0c9be2f3b92871f2a8f381e27846f3bdb (patch)
treebdf36edba8b634e7b779f53602c6e447c2952b20 /libempathy/empathy-dispatcher.c
parente5bc1aeeb989f123c274a9becf3a9e2303c8a6b9 (diff)
downloadgsoc2013-empathy-9de705f0c9be2f3b92871f2a8f381e27846f3bdb.tar
gsoc2013-empathy-9de705f0c9be2f3b92871f2a8f381e27846f3bdb.tar.gz
gsoc2013-empathy-9de705f0c9be2f3b92871f2a8f381e27846f3bdb.tar.bz2
gsoc2013-empathy-9de705f0c9be2f3b92871f2a8f381e27846f3bdb.tar.lz
gsoc2013-empathy-9de705f0c9be2f3b92871f2a8f381e27846f3bdb.tar.xz
gsoc2013-empathy-9de705f0c9be2f3b92871f2a8f381e27846f3bdb.tar.zst
gsoc2013-empathy-9de705f0c9be2f3b92871f2a8f381e27846f3bdb.zip
fix FT client side code as the generated code changed
svn path=/trunk/; revision=1843
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 433a9f19c..641975b24 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -967,7 +967,7 @@ file_channel_request_cb (TpConnection *connection,
channel = tp_channel_new (connection,
object_path,
- EMP_IFACE_CHANNEL_TYPE_FILE,
+ EMP_IFACE_CHANNEL_TYPE_FILE_TRANSFER,
TP_HANDLE_TYPE_CONTACT,
request->handle,
NULL);
@@ -976,13 +976,13 @@ file_channel_request_cb (TpConnection *connection,
g_value_init (&value, G_TYPE_STRING);
g_value_set_string (&value, g_filename_display_basename (filename));
tp_cli_dbus_properties_call_set (TP_PROXY (channel), -1,
- EMP_IFACE_CHANNEL_TYPE_FILE, "Filename",
+ EMP_IFACE_CHANNEL_TYPE_FILE_TRANSFER, "Filename",
&value, NULL, NULL, NULL, NULL);
g_value_reset (&value);
g_value_set_string (&value, g_file_info_get_content_type (info));
tp_cli_dbus_properties_call_set (TP_PROXY (channel), -1,
- EMP_IFACE_CHANNEL_TYPE_FILE, "ContentType",
+ EMP_IFACE_CHANNEL_TYPE_FILE_TRANSFER, "ContentType",
&value, NULL, NULL, NULL, NULL);
g_value_unset (&value);
@@ -990,7 +990,7 @@ file_channel_request_cb (TpConnection *connection,
g_value_init (&value, G_TYPE_UINT64);
g_value_set_uint64 (&value, size);
tp_cli_dbus_properties_call_set (TP_PROXY (channel), -1,
- EMP_IFACE_CHANNEL_TYPE_FILE, "Size",
+ EMP_IFACE_CHANNEL_TYPE_FILE_TRANSFER, "Size",
&value, NULL, NULL, NULL, NULL);
g_value_unset (&value);
@@ -1032,7 +1032,7 @@ empathy_dispatcher_send_file (EmpathyContact *contact,
request->contact = contact;
tp_cli_connection_call_request_channel (connection, -1,
- EMP_IFACE_CHANNEL_TYPE_FILE,
+ EMP_IFACE_CHANNEL_TYPE_FILE_TRANSFER,
TP_HANDLE_TYPE_CONTACT,
handle,
TRUE,