aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-event-manager.c2
-rw-r--r--src/empathy.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 9a2cf579d..94204794d 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -216,7 +216,7 @@ event_manager_filter_channel_cb (EmpathyDispatcher *dispatcher,
g_object_unref (contact);
g_object_unref (tp_group);
}
- else if (!tp_strdiff (channel_type, EMP_IFACE_CHANNEL_TYPE_FILE)) {
+ else if (!tp_strdiff (channel_type, EMP_IFACE_CHANNEL_TYPE_FILE_TRANSFER)) {
EmpathyContact *contact;
gchar *msg;
TpHandle handle;
diff --git a/src/empathy.c b/src/empathy.c
index bc89d451e..a8ff7e2a6 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -102,7 +102,7 @@ file_channel_get_state_cb (TpProxy *proxy,
return;
}
- emp_cli_channel_type_file_connect_to_file_transfer_state_changed (
+ emp_cli_channel_type_file_transfer_connect_to_file_transfer_state_changed (
proxy, file_channel_state_changed_cb, NULL, NULL, NULL, NULL);
}
@@ -151,9 +151,9 @@ dispatch_channel_cb (EmpathyDispatcher *dispatcher,
else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA)) {
empathy_call_window_new (channel);
}
- else if (!tp_strdiff (channel_type, EMP_IFACE_CHANNEL_TYPE_FILE)) {
+ else if (!tp_strdiff (channel_type, EMP_IFACE_CHANNEL_TYPE_FILE_TRANSFER)) {
tp_cli_dbus_properties_call_get (g_object_ref (channel), -1,
- EMP_IFACE_CHANNEL_TYPE_FILE,
+ EMP_IFACE_CHANNEL_TYPE_FILE_TRANSFER,
"State", file_channel_get_state_cb,
NULL, NULL, NULL);
}