aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-video-widget.c
diff options
context:
space:
mode:
authorJonathan Tellier <jonathan.tellier@gmail.com>2009-06-11 22:12:26 +0800
committerjtellier <jonathan.tellier@collabora.co.uk>2009-06-12 20:59:10 +0800
commit3719c62c3f34e11dbdcdff741eb2aadf69c9c202 (patch)
tree35ce02759d26cee7d34398f304282f9c28b754e6 /libempathy-gtk/empathy-video-widget.c
parentc65de38d223ada5dfcf2d74b25a6af520143f3c5 (diff)
downloadgsoc2013-empathy-3719c62c3f34e11dbdcdff741eb2aadf69c9c202.tar
gsoc2013-empathy-3719c62c3f34e11dbdcdff741eb2aadf69c9c202.tar.gz
gsoc2013-empathy-3719c62c3f34e11dbdcdff741eb2aadf69c9c202.tar.bz2
gsoc2013-empathy-3719c62c3f34e11dbdcdff741eb2aadf69c9c202.tar.lz
gsoc2013-empathy-3719c62c3f34e11dbdcdff741eb2aadf69c9c202.tar.xz
gsoc2013-empathy-3719c62c3f34e11dbdcdff741eb2aadf69c9c202.tar.zst
gsoc2013-empathy-3719c62c3f34e11dbdcdff741eb2aadf69c9c202.zip
Added an early return in empathy_call_window_setup_video_preview.
Code style correction in empathy_call_window_setup_video_preview_visibility. Corrected a bug which prevented a user with no video input to redial video calls. The "Send video" option should be properly disabled when we can't send video.
Diffstat (limited to 'libempathy-gtk/empathy-video-widget.c')
-rw-r--r--libempathy-gtk/empathy-video-widget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-video-widget.c b/libempathy-gtk/empathy-video-widget.c
index 7647b845f..79f27814f 100644
--- a/libempathy-gtk/empathy-video-widget.c
+++ b/libempathy-gtk/empathy-video-widget.c
@@ -300,6 +300,9 @@ empathy_video_widget_dispose (GObject *object)
priv->dispose_has_run = TRUE;
+ g_signal_handlers_disconnect_by_func (priv->bus,
+ empathy_video_widget_sync_message_cb, object);
+
if (priv->bus != NULL)
g_object_unref (priv->bus);