diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-03-11 23:54:45 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-03-11 23:55:39 +0800 |
commit | 675246b6e9edc3bb940ba73e1050eae08d53308f (patch) | |
tree | 583b3ba1c23822ed75f36d455aa35095ba322904 | |
parent | de9e3bab4f3cf6fc2eaacd78c1bb91b62ceefeed (diff) | |
download | gsoc2013-empathy-675246b6e9edc3bb940ba73e1050eae08d53308f.tar gsoc2013-empathy-675246b6e9edc3bb940ba73e1050eae08d53308f.tar.gz gsoc2013-empathy-675246b6e9edc3bb940ba73e1050eae08d53308f.tar.bz2 gsoc2013-empathy-675246b6e9edc3bb940ba73e1050eae08d53308f.tar.lz gsoc2013-empathy-675246b6e9edc3bb940ba73e1050eae08d53308f.tar.xz gsoc2013-empathy-675246b6e9edc3bb940ba73e1050eae08d53308f.tar.zst gsoc2013-empathy-675246b6e9edc3bb940ba73e1050eae08d53308f.zip |
irc-network-chooser-dialog: break live search references cycle
https://bugzilla.gnome.org/show_bug.cgi?id=692105
-rw-r--r-- | libempathy-gtk/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 5843f6825..e5dbe0155 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); |