From 3719c62c3f34e11dbdcdff741eb2aadf69c9c202 Mon Sep 17 00:00:00 2001 From: Jonathan Tellier Date: Thu, 11 Jun 2009 10:12:26 -0400 Subject: 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. --- libempathy-gtk/empathy-video-widget.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy-gtk') 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); -- cgit v1.2.3