[epiphany] ephy-notebook: disconnect settings signal handler on finalize
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-notebook: disconnect settings signal handler on finalize
- Date: Mon, 16 Apr 2012 13:54:11 +0000 (UTC)
commit 1bdd16af2c55c6131eeefa0808afa7e96fe5ef22
Author: Xan Lopez <xan igalia com>
Date: Mon Apr 16 15:51:21 2012 +0200
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 1b73e7b..8d5af72 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]