diff options
author | Matthew Loper <mloper@src.gnome.org> | 2000-06-29 23:31:01 +0800 |
---|---|---|
committer | Matthew Loper <mloper@src.gnome.org> | 2000-06-29 23:31:01 +0800 |
commit | d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc (patch) | |
tree | cb937b1a5f08b251c49cd04554f288c66abdbc04 /shell | |
parent | 6896f2152a3c962d5b7cc11f6c2ac2e454b15ca6 (diff) | |
download | gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar.gz gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar.zst gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.zip |
Fixes brought to us by Purify
svn path=/trunk/; revision=3792
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-shell.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index b194b2d95e..904b7e342a 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2000-06-29 Peter Williams <peter@helixcode.com> + + * e-shell.c (e_shell_construct): Ref the various E-things that + we create to go with our unrefs in the destructor. + 2000-06-29 Ettore Perazzoli <ettore@helixcode.com> * e-shell-view.c (e_shell_view_construct): Don't ref the shell. diff --git a/shell/e-shell.c b/shell/e-shell.c index 81ebc368bd..25a7d5903a 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -281,6 +281,7 @@ 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. */ @@ -451,8 +452,9 @@ e_shell_construct (EShell *shell, priv->local_directory = g_strdup (local_directory); priv->folder_type_registry = e_folder_type_registry_new (); + gtk_object_ref (GTK_OBJECT (priv->folder_type_registry )); priv->storage_set = e_storage_set_new (shell->priv->folder_type_registry); - + gtk_object_ref (GTK_OBJECT (priv->storage_set )); gtk_object_ref (GTK_OBJECT (gconf_client)); priv->gconf_client = gconf_client; |