aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;