From 04db03572bebf2938c1b851108fd03c8d947f239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Thu, 27 Apr 2017 15:06:56 +0300 Subject: pager: stop using gtk_icon_size_lookup_for_settings It is deprecated, use the equivalent gtk_icon_size_lookup instead. --- libwnck/pager.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libwnck/pager.c b/libwnck/pager.c index 4437fb6..a199407 100644 --- a/libwnck/pager.c +++ b/libwnck/pager.c @@ -1788,8 +1788,7 @@ wnck_update_drag_icon (WnckWindow *window, if (!widget) return; - if (!gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (widget), - GTK_ICON_SIZE_DND, &dnd_w, &dnd_h)) + if (!gtk_icon_size_lookup (GTK_ICON_SIZE_DND, &dnd_w, &dnd_h)) dnd_w = dnd_h = 32; /* windows are huge, so let's make this huge */ dnd_w *= 3; -- cgit v1.2.1