aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-09-28 22:54:42 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-09-28 22:54:42 +0800
commitcaedac5aea69b34dd415ba391a6b53d830639aae (patch)
treec5f981db3b1df6d7f11e10b1d046720801d28470 /libempathy-gtk/empathy-chat-window.c
parent3ed8bfb502719f5c0a3db522d652658cf2474c3a (diff)
downloadgsoc2013-empathy-caedac5aea69b34dd415ba391a6b53d830639aae.tar
gsoc2013-empathy-caedac5aea69b34dd415ba391a6b53d830639aae.tar.gz
gsoc2013-empathy-caedac5aea69b34dd415ba391a6b53d830639aae.tar.bz2
gsoc2013-empathy-caedac5aea69b34dd415ba391a6b53d830639aae.tar.lz
gsoc2013-empathy-caedac5aea69b34dd415ba391a6b53d830639aae.tar.xz
gsoc2013-empathy-caedac5aea69b34dd415ba391a6b53d830639aae.tar.zst
gsoc2013-empathy-caedac5aea69b34dd415ba391a6b53d830639aae.zip
Ported from VOIP branch.
2007-09-28 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-chat-window.c: * src/Makefile.am: * libempathy/empathy-tp-group.c: * libempathy/Makefile.am: Ported from VOIP branch. svn path=/trunk/; revision=335
Diffstat (limited to 'libempathy-gtk/empathy-chat-window.c')
-rw-r--r--libempathy-gtk/empathy-chat-window.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/libempathy-gtk/empathy-chat-window.c b/libempathy-gtk/empathy-chat-window.c
index 468c3236e..29fe5a521 100644
--- a/libempathy-gtk/empathy-chat-window.c
+++ b/libempathy-gtk/empathy-chat-window.c
@@ -877,21 +877,15 @@ chat_window_call_activate_cb (GtkWidget *menuitem,
priv = GET_PRIV (window);
if (!empathy_chat_is_group_chat (priv->current_chat)) {
- MissionControl *mc;
EmpathyPrivateChat *chat;
EmpathyContact *contact;
chat = EMPATHY_PRIVATE_CHAT (priv->current_chat);
contact = empathy_private_chat_get_contact (chat);
- mc = empathy_mission_control_new ();
- mission_control_request_channel (mc,
- empathy_contact_get_account (contact),
- TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA,
- empathy_contact_get_handle (contact),
- TP_HANDLE_TYPE_CONTACT,
- NULL, NULL);
- g_object_unref (mc);
+ /* FIXME: See contact_list_view_voip_activated() to know how to
+ * call a contact. We need a function to call a contact and use
+ * it here and in EmpathyContactListView. */
}
}