From fe9ee5c6904c0b5520815b7fc7b1b18e4261e667 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 19 Jan 2016 21:46:53 +0300 Subject: window picker: use gtk_image_set_from_icon_name in both GTK+ builds --- mate-window-picker-applet/task-title.c | 4 ++-- 1 file 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)); -- cgit v1.2.1