summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-19 21:46:53 +0300
committermonsta <[email protected]>2016-01-19 21:46:53 +0300
commitfe9ee5c6904c0b5520815b7fc7b1b18e4261e667 (patch)
tree7c821060c13a8c6df5d34f082cbd6e1289c00bb4
parentee558357e177fa9b41aa2981cef641ed8a6c6f0f (diff)
downloadmate-netbook-fe9ee5c6904c0b5520815b7fc7b1b18e4261e667.tar.bz2
mate-netbook-fe9ee5c6904c0b5520815b7fc7b1b18e4261e667.tar.xz
window picker: use gtk_image_set_from_icon_name in both GTK+ builds
-rw-r--r--mate-window-picker-applet/task-title.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-window-picker-applet/task-title.c b/mate-window-picker-applet/task-title.c
index 9b47cbd..5e1f58f 100644
--- a/mate-window-picker-applet/task-title.c
+++ b/mate-window-picker-applet/task-title.c
@@ -290,8 +290,8 @@ on_active_window_changed (WnckScreen *screen,
{
gtk_label_set_text (GTK_LABEL (priv->label),
wnck_window_get_name (act_window));
- gtk_image_set_from_stock (GTK_IMAGE (priv->button_image),
- GTK_STOCK_CLOSE, GTK_ICON_SIZE_MENU);
+ gtk_image_set_from_icon_name (GTK_IMAGE (priv->button_image),
+ "window-close", GTK_ICON_SIZE_MENU);
gtk_widget_set_tooltip_text (GTK_WIDGET (title),
wnck_window_get_name (act_window));