From abeef28b60a5e9338fde21ec83b86dcd48964780 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 19 Jan 2016 21:47:35 +0300 Subject: window picker: use gtk_icon_size_lookup in both GTK+ builds --- mate-window-picker-applet/task-title.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mate-window-picker-applet/task-title.c b/mate-window-picker-applet/task-title.c index 5e1f58f..24dced9 100644 --- a/mate-window-picker-applet/task-title.c +++ b/mate-window-picker-applet/task-title.c @@ -453,7 +453,6 @@ task_title_init (TaskTitle *title) TaskTitlePrivate *priv; GdkScreen *gdkscreen; GtkIconTheme *theme; - GtkSettings *settings; GdkPixbuf *pixbuf; AtkObject *atk; int width, height; @@ -528,9 +527,8 @@ task_title_init (TaskTitle *title) gdkscreen = gtk_widget_get_screen (GTK_WIDGET (title)); theme = gtk_icon_theme_get_for_screen (gdkscreen); - settings = gtk_settings_get_for_screen (gdkscreen); - gtk_icon_size_lookup_for_settings (settings, GTK_ICON_SIZE_MENU, - &width, &height); + gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, + &width, &height); priv->quit_icon = gtk_icon_theme_load_icon (theme, "mate-logout", width, 0, NULL); -- cgit v1.2.1