[libwnck/wip/muktupavels/use-wnck-handle: 5/7] class-group: use WnckHandle to get icon sizes
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/use-wnck-handle: 5/7] class-group: use WnckHandle to get icon sizes
- Date: Wed, 23 Feb 2022 21:08:14 +0000 (UTC)
commit 77b66aa7ce0478b1be4e8bfd8353ec4839733007
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Feb 23 07:16:34 2022 +0200
class-group: use WnckHandle to get icon sizes
libwnck/class-group.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/libwnck/class-group.c b/libwnck/class-group.c
index 2d4f8a34..202bef4f 100644
--- a/libwnck/class-group.c
+++ b/libwnck/class-group.c
@@ -444,10 +444,14 @@ set_icon (WnckClassGroup *class_group)
if (!icon || !mini_icon)
{
+ WnckHandle *handle;
+
+ handle = _wnck_screen_get_handle (class_group->priv->screen);
+
_wnck_get_fallback_icons (&icon,
- _wnck_get_default_icon_size (),
+ _wnck_handle_get_default_icon_size (handle),
&mini_icon,
- _wnck_get_default_mini_icon_size ());
+ _wnck_handle_get_default_mini_icon_size (handle));
icons_reffed = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]