unref the component registry
* e-shell.c (impl_dispose): unref the component registry svn path=/trunk/; revision=25398
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user