summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet/task-title.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-19 21:47:35 +0300
committermonsta <[email protected]>2016-01-19 21:47:35 +0300
commitabeef28b60a5e9338fde21ec83b86dcd48964780 (patch)
tree44eeada9aeafc707bf3a83c145c942673bc319b0 /mate-window-picker-applet/task-title.c
parentfe9ee5c6904c0b5520815b7fc7b1b18e4261e667 (diff)
downloadmate-netbook-abeef28b60a5e9338fde21ec83b86dcd48964780.tar.bz2
mate-netbook-abeef28b60a5e9338fde21ec83b86dcd48964780.tar.xz
window picker: use gtk_icon_size_lookup in both GTK+ builds
Diffstat (limited to 'mate-window-picker-applet/task-title.c')
-rw-r--r--mate-window-picker-applet/task-title.c6
1 files 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);