Removed bogus extra gtk_object_ref() that caused the shell not to quit

correctly.

svn path=/trunk/; revision=3853
This commit is contained in:
Ettore Perazzoli
2000-07-02 01:40:28 +00:00
parent c55d63c5df
commit a84feecf5b
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2000-07-01 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c (setup_components): Don't ref the component registry.
2000-06-30 Dan Winship <danw@helixcode.com>
* Evolution-Shell.idl: add "cancel" to FolderSelectionListener.

View File

@ -282,7 +282,6 @@ setup_components (EShell *shell)
priv = shell->priv;
priv->component_registry = e_component_registry_new (shell);
gtk_object_ref (GTK_OBJECT (priv->component_registry));
/* FIXME: Hardcoded for now. */
@ -711,7 +710,6 @@ e_shell_quit (EShell *shell)
gtk_object_unref (GTK_OBJECT (priv->shortcuts));
gtk_object_unref (GTK_OBJECT (priv->folder_type_registry));
gtk_object_unref (GTK_OBJECT (priv->component_registry));
priv->storage_set = NULL;
priv->shortcuts = NULL;
priv->folder_type_registry = NULL;