[empathy] debug-window: prevent proxy_invalidated_cb to be called after dispose



commit 853493de898bef9428e1188ba8c07eb9915c977a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Feb 3 18:18:49 2014 +0100

    debug-window: prevent proxy_invalidated_cb to be called after dispose
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692793

 src/empathy-debug-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index ec59813..b56fe3c 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -417,8 +417,8 @@ debug_window_get_messages_cb (GObject *object,
   g_free (proxy_service_name);
 
   /* Connect to "invalidated" signal */
-  g_signal_connect (debug, "invalidated",
-      G_CALLBACK (proxy_invalidated_cb), self);
+  g_signal_connect_object (debug, "invalidated",
+      G_CALLBACK (proxy_invalidated_cb), self, 0);
 
  /* Connect to NewDebugMessage */
   tp_g_signal_connect_object (debug, "new-debug-message",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]