From e8ccd6fae59d4b93177786252aa65b8ad4efbe93 Mon Sep 17 00:00:00 2001 From: Andre Miranda Date: Tue, 5 Jun 2018 22:35:29 -0300 Subject: [PATCH] Silence GtkStock for disconnect icon deprecation After the release we decide whether to drop this icon or add a custom one. --- thunar/thunar-shortcuts-view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c index c570a41a8..9859c87ce 100644 --- a/thunar/thunar-shortcuts-view.c +++ b/thunar/thunar-shortcuts-view.c @@ -1208,8 +1208,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); gtk_widget_show (item); - image = gtk_image_new_from_stock (GTK_STOCK_DISCONNECT, GTK_ICON_SIZE_MENU); G_GNUC_BEGIN_IGNORE_DEPRECATIONS + /* TODO: Drop this icon or add a custom one as above (shortcut) */ + image = gtk_image_new_from_stock (GTK_STOCK_DISCONNECT, GTK_ICON_SIZE_MENU); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image); G_GNUC_END_IGNORE_DEPRECATIONS break;