Skip to content

Commit

Permalink
Silence GtkStock for disconnect icon deprecation
Browse files Browse the repository at this point in the history
After the release we decide whether to drop this icon
or add a custom one.
  • Loading branch information
Andre Miranda committed Jun 6, 2018
1 parent 92baba0 commit e8ccd6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thunar/thunar-shortcuts-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e8ccd6f

Please sign in to comment.