[libwnck] pager: stop using gtk_icon_size_lookup_for_settings



commit 04db03572bebf2938c1b851108fd03c8d947f239
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Apr 27 15:06:56 2017 +0300

    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 files changed, 1 insertions(+), 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]