[empathy] Move signal disconnection earlier to hopefully fix SEGV
- From: Danielle Madeley <daniellem src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Move signal disconnection earlier to hopefully fix SEGV
- Date: Mon, 1 Aug 2011 22:39:17 +0000 (UTC)
commit 4a863e0eec9a202385b1370d6e68bef47787f3cb
Author: Danielle Madeley <danielle madeley collabora co uk>
Date: Tue Aug 2 08:38:03 2011 +1000
Move signal disconnection earlier to hopefully fix SEGV
I can't actually reproduce this, but this is possibly the fix.
(Hopefully) Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=654914
src/empathy-debug-window.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index 3874fe8..3ce4176 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -1700,6 +1700,9 @@ debug_window_dispose (GObject *object)
if (priv->name_owner_changed_signal != NULL)
tp_proxy_signal_connection_disconnect (priv->name_owner_changed_signal);
+ if (priv->new_debug_message_signal != NULL)
+ tp_proxy_signal_connection_disconnect (priv->new_debug_message_signal);
+
if (priv->proxy != NULL)
{
debug_window_set_enabled (EMPATHY_DEBUG_WINDOW (object), FALSE);
@@ -1707,9 +1710,6 @@ debug_window_dispose (GObject *object)
g_object_unref (priv->proxy);
}
- if (priv->new_debug_message_signal != NULL)
- tp_proxy_signal_connection_disconnect (priv->new_debug_message_signal);
-
if (priv->service_store != NULL)
g_object_unref (priv->service_store);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]