[libwnck/wip/warnings2] pager: stop using gtk_icon_size_lookup_for_settings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/warnings2] pager: stop using gtk_icon_size_lookup_for_settings
- Date: Thu, 27 Apr 2017 12:17:43 +0000 (UTC)
commit 39875fe94af2f6583d92dc307011173c2f9c21ff
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]