aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index f2eb6bf86d..c533967c77 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -796,7 +796,7 @@ setup_widgets (EShellWindow *window)
info->icon_name, width, 0);
g_string_append_printf(xml, "\" pixtype=\"filename\" pixname=\"%s\"/>"
"</placeholder></submenu></submenu>\n",
- gtk_icon_info_get_filename (icon_info));
+ icon_info ? gtk_icon_info_get_filename (icon_info) : "");
gtk_icon_info_free (icon_info);
bonobo_ui_component_set_translate (e_shell_window_peek_bonobo_ui_component (window),
"/menu",