aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2004-04-10 02:07:23 +0800
committerDan Winship <danw@src.gnome.org>2004-04-10 02:07:23 +0800
commite03ebc523557e0cf886da250c8ea575bdfd5e25f (patch)
tree53fecdbf5f724b21ab4e74fc059e66d9162da75b
parentc3f9d4cbc992a6abec040ef6c3f2c15de77a5b91 (diff)
downloadgsoc2013-evolution-e03ebc523557e0cf886da250c8ea575bdfd5e25f.tar
gsoc2013-evolution-e03ebc523557e0cf886da250c8ea575bdfd5e25f.tar.gz
gsoc2013-evolution-e03ebc523557e0cf886da250c8ea575bdfd5e25f.tar.bz2
gsoc2013-evolution-e03ebc523557e0cf886da250c8ea575bdfd5e25f.tar.lz
gsoc2013-evolution-e03ebc523557e0cf886da250c8ea575bdfd5e25f.tar.xz
gsoc2013-evolution-e03ebc523557e0cf886da250c8ea575bdfd5e25f.tar.zst
gsoc2013-evolution-e03ebc523557e0cf886da250c8ea575bdfd5e25f.zip
unref the component registry
* e-shell.c (impl_dispose): unref the component registry svn path=/trunk/; revision=25398
-rw-r--r--shell/ChangeLog3
-rw-r--r--shell/e-shell.c5
2 files changed, 7 insertions, 1 deletions
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;