empathy r2163 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2163 - trunk/src
- Date: Fri, 9 Jan 2009 16:14:04 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 9 16:14:04 2009
New Revision: 2163
URL: http://svn.gnome.org/viewvc/empathy?rev=2163&view=rev
Log:
DIspatch streamed media channels
Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>
Modified:
trunk/src/empathy.c
Modified: trunk/src/empathy.c
==============================================================================
--- trunk/src/empathy.c (original)
+++ trunk/src/empathy.c Fri Jan 9 16:14:04 2009
@@ -42,7 +42,7 @@
#include <libempathy/empathy-dispatcher.h>
#include <libempathy/empathy-dispatch-operation.h>
#include <libempathy/empathy-tp-chat.h>
-#include <libempathy/empathy-tp-group.h>
+#include <libempathy/empathy-tp-call.h>
#include <libempathy-gtk/empathy-conf.h>
#include <libempathy-gtk/empathy-ui-utils.h>
@@ -105,12 +105,19 @@
g_object_unref (tp_chat);
empathy_dispatch_operation_claim (operation);
+ } else if (channel_type == TP_IFACE_QUARK_CHANNEL_TYPE_STREAMED_MEDIA) {
+ EmpathyTpCall *call;
+
+ call = EMPATHY_TP_CALL (
+ empathy_dispatch_operation_get_channel_wrapper (operation));
+
+ empathy_dispatch_operation_claim (operation);
+
+ empathy_call_window_new (call);
+
+ g_object_unref (call);
+
}
-#if 0
- else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA)) {
- empathy_call_window_new (channel);
- }
-#endif
else if (channel_type == EMP_IFACE_QUARK_CHANNEL_TYPE_FILE_TRANSFER) {
EmpathyFTManager *ft_manager;
EmpathyTpFile *tp_file;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]