[empathy] irc-network-chooser-dialog: break live search references cycle
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] irc-network-chooser-dialog: break live search references cycle
- Date: Mon, 11 Mar 2013 16:01:02 +0000 (UTC)
commit 675246b6e9edc3bb940ba73e1050eae08d53308f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 11 16:54:45 2013 +0100
irc-network-chooser-dialog: break live search references cycle
https://bugzilla.gnome.org/show_bug.cgi?id=692105
.../empathy-irc-network-chooser-dialog.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-irc-network-chooser-dialog.c
b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
index 5843f68..e5dbe01 100644
--- a/libempathy-gtk/empathy-irc-network-chooser-dialog.c
+++ b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
@@ -657,6 +657,14 @@ empathy_irc_network_chooser_dialog_dispose (GObject *object)
priv->activate_sig = 0;
}
+ if (priv->search != NULL)
+ {
+ empathy_live_search_set_hook_widget (EMPATHY_LIVE_SEARCH (priv->search),
+ NULL);
+
+ priv->search = NULL;
+ }
+
tp_clear_object (&priv->settings);
tp_clear_object (&priv->network);
tp_clear_object (&priv->network_manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]