aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-title-bar.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-26 02:41:45 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-26 02:41:45 +0800
commitc1f3e5432aab231b1e565e9a79e065abf622d4a7 (patch)
tree32eacc8918db22de87c599ce85b9e9d8038ded62 /shell/e-shell-folder-title-bar.c
parenta70be7b583b452066fd48ce2ff90280f501c8a8a (diff)
downloadgsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.tar.gz
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-folder-title-bar.c')
-rw-r--r--shell/e-shell-folder-title-bar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-shell-folder-title-bar.c b/shell/e-shell-folder-title-bar.c
index 00d0e70e98..c58b1b1eeb 100644
--- a/shell/e-shell-folder-title-bar.c
+++ b/shell/e-shell-folder-title-bar.c
@@ -292,7 +292,8 @@ destroy (GtkObject *object)
folder_title_bar = E_SHELL_FOLDER_TITLE_BAR (object);
priv = folder_title_bar->priv;
- gdk_pixbuf_unref (priv->icon);
+ if (priv->icon)
+ gdk_pixbuf_unref (priv->icon);
g_free (priv);
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);