summaryrefslogtreecommitdiff
path: root/shell/shell.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2019-06-25 18:18:54 -0700
committerLeandro Pereira <leandro@hardinfo.org>2019-06-25 18:18:54 -0700
commit8148851dce963729a9e824bc08d4a9427bed786a (patch)
treeeb2d680fc3459f6c59b781ebe401f71087be6f4e /shell/shell.c
parent513fa2da06fed3ad35f95ebb3c65d5b72ad900fc (diff)
Show icons in View menu in GTK+3 builds
Diffstat (limited to 'shell/shell.c')
-rw-r--r--shell/shell.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 438c2ffb..61ab5719 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -508,10 +508,7 @@ static void menu_item_set_icon_always_visible(Shell *shell,
path = g_strdup_printf("%s/%s", parent_path, item_id);
menuitem = gtk_ui_manager_get_widget(shell->ui_manager, path);
-#if GTK_CHECK_VERSION(3, 0, 0)
-#else
gtk_image_menu_item_set_always_show_image(GTK_IMAGE_MENU_ITEM(menuitem), TRUE);
-#endif
g_free(path);
}