aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-title-bar.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-07-12 05:28:24 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-07-12 05:28:24 +0800
commit583f8ba770418d53c134fe4004d1f89e3880f466 (patch)
tree451ae6d19538f1db58547b6bbd89e88e5bb05d2f /shell/e-shell-folder-title-bar.c
parente8e6da16764e24d4137c16ae1009a9be701ddfaa (diff)
downloadgsoc2013-evolution-583f8ba770418d53c134fe4004d1f89e3880f466.tar
gsoc2013-evolution-583f8ba770418d53c134fe4004d1f89e3880f466.tar.gz
gsoc2013-evolution-583f8ba770418d53c134fe4004d1f89e3880f466.tar.bz2
gsoc2013-evolution-583f8ba770418d53c134fe4004d1f89e3880f466.tar.lz
gsoc2013-evolution-583f8ba770418d53c134fe4004d1f89e3880f466.tar.xz
gsoc2013-evolution-583f8ba770418d53c134fe4004d1f89e3880f466.tar.zst
gsoc2013-evolution-583f8ba770418d53c134fe4004d1f89e3880f466.zip
Allow a NULL icon [remove the precondition].
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_set_icon): Allow a NULL icon [remove the precondition]. * e-shell-view.c (update_folder_title_bar): Only unref the folder_icon if not NULL. svn path=/trunk/; revision=17426
Diffstat (limited to 'shell/e-shell-folder-title-bar.c')
-rw-r--r--shell/e-shell-folder-title-bar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/e-shell-folder-title-bar.c b/shell/e-shell-folder-title-bar.c
index f1fef8c68b..c3750f8cdc 100644
--- a/shell/e-shell-folder-title-bar.c
+++ b/shell/e-shell-folder-title-bar.c
@@ -689,8 +689,6 @@ e_shell_folder_title_bar_set_icon (EShellFolderTitleBar *folder_title_bar,
GdkPixmap *pixmap;
GdkBitmap *mask;
- g_return_if_fail (icon != NULL);
-
g_return_if_fail (folder_title_bar != NULL);
g_return_if_fail (E_IS_SHELL_FOLDER_TITLE_BAR (folder_title_bar));