diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-26 02:41:45 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-26 02:41:45 +0800 |
commit | c1f3e5432aab231b1e565e9a79e065abf622d4a7 (patch) | |
tree | 32eacc8918db22de87c599ce85b9e9d8038ded62 /shell/e-shell.c | |
parent | a70be7b583b452066fd48ce2ff90280f501c8a8a (diff) | |
download | gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.tar gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.tar.gz gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.tar.bz2 gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.tar.lz gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.tar.xz gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.tar.zst gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.zip |
Ref a few things that need it. Avoid triggering some assertions.
svn path=/trunk/; revision=5039
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 26a556de96..f2a5554103 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -487,7 +487,8 @@ e_shell_construct (EShell *shell, priv->folder_type_registry = e_folder_type_registry_new (); 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 (priv->folder_type_registry)); + gtk_object_ref (GTK_OBJECT (priv->storage_set)); /* CORBA storages must be set up before the components, because otherwise components cannot register their own storages. */ @@ -506,6 +507,8 @@ e_shell_construct (EShell *shell, if (priv->shortcuts == NULL) g_warning ("Cannot load shortcuts -- %s", shortcut_path); + else + gtk_object_ref (GTK_OBJECT (priv->shortcuts)); g_free (shortcut_path); } |