From e03ebc523557e0cf886da250c8ea575bdfd5e25f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 9 Apr 2004 18:07:23 +0000 Subject: unref the component registry * e-shell.c (impl_dispose): unref the component registry svn path=/trunk/; revision=25398 --- shell/ChangeLog | 3 ++- shell/e-shell.c | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index dc6f8ad5df..df632ac2be 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -17,7 +17,8 @@ types from folder types) * e-shell.c: Remove all creatable_items_handler references - + (impl_dispose): unref the component registry (unrelated bug) + * e-shell-window.c (e_shell_window_new): Remove creatable_items_handler reference diff --git a/shell/e-shell.c b/shell/e-shell.c index fb6909c5c5..c91152b62b 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -346,6 +346,11 @@ impl_dispose (GObject *object) } #endif + if (priv->component_registry != NULL) { + g_object_unref (priv->component_registry); + priv->component_registry = NULL; + } + if (priv->offline_handler != NULL) { g_object_unref (priv->offline_handler); priv->offline_handler = NULL; -- cgit