unref the component registry

* e-shell.c (impl_dispose): unref the component registry

svn path=/trunk/; revision=25398
This commit is contained in:
Dan Winship
2004-04-09 18:07:23 +00:00
parent c3f9d4cbc9
commit e03ebc5235
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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;