aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-05-27 01:42:57 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-05-27 01:42:57 +0800
commit411439eb384aea34a05bbde805a236e97882895b (patch)
tree5784eb63eb2deb8d7fff35bb9087eea7da04bff4 /src/empathy.c
parent2d2388ff8dd0b1faed6de9c168699032edc29660 (diff)
downloadgsoc2013-empathy-411439eb384aea34a05bbde805a236e97882895b.tar
gsoc2013-empathy-411439eb384aea34a05bbde805a236e97882895b.tar.gz
gsoc2013-empathy-411439eb384aea34a05bbde805a236e97882895b.tar.bz2
gsoc2013-empathy-411439eb384aea34a05bbde805a236e97882895b.tar.lz
gsoc2013-empathy-411439eb384aea34a05bbde805a236e97882895b.tar.xz
gsoc2013-empathy-411439eb384aea34a05bbde805a236e97882895b.tar.zst
gsoc2013-empathy-411439eb384aea34a05bbde805a236e97882895b.zip
Only permit to have one running call at any time. Fixes bug #527970.
svn path=/trunk/; revision=1126
Diffstat (limited to 'src/empathy.c')
-rw-r--r--src/empathy.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/empathy.c b/src/empathy.c
index 19d9cb220..d30935d24 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -98,14 +98,7 @@ dispatch_channel_cb (EmpathyDispatcher *dispatcher,
g_object_unref (tp_chat);
}
else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA)) {
- GtkWidget *window;
-
- window = empathy_call_window_find (channel);
- if (window) {
- gtk_window_present (GTK_WINDOW (window));
- } else {
- empathy_call_window_new (channel);
- }
+ empathy_call_window_new (channel);
}
}