From 1bdd16af2c55c6131eeefa0808afa7e96fe5ef22 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 16 Apr 2012 15:51:21 +0200 Subject: ephy-notebook: disconnect settings signal handler on finalize Otherwise we'll try to update dead notebooks if the setting changes. --- src/ephy-notebook.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 1b73e7bfa..8d5af72a2 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -467,6 +467,9 @@ ephy_notebook_finalize (GObject *object) EphyNotebook *notebook = EPHY_NOTEBOOK (object); EphyNotebookPrivate *priv = notebook->priv; + g_signal_handlers_disconnect_by_func (EPHY_SETTINGS_UI, + show_tabs_changed_cb, + notebook); g_list_free (priv->focused_pages); G_OBJECT_CLASS (ephy_notebook_parent_class)->finalize (object); -- cgit