diff options
Diffstat (limited to 'src/fe-gtk/menu.c')
-rw-r--r-- | src/fe-gtk/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c index e6fef6a0..f0f49730 100644 --- a/src/fe-gtk/menu.c +++ b/src/fe-gtk/menu.c @@ -281,7 +281,7 @@ menu_quick_item (char *cmd, char *label, GtkWidget * menu, int flags, else { /* try relative to <xdir> */ - path = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "%s", get_xdir (), icon); + path = g_build_filename (get_xdir (), icon, NULL); if (access (path, R_OK) == 0) img = gtk_image_new_from_file (path); else |