diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2022-02-23 07:16:34 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2022-02-23 07:16:34 +0200 |
commit | 77b66aa7ce0478b1be4e8bfd8353ec4839733007 (patch) | |
tree | acbb2b75d5c9661abb1571c46d87c43649b92447 | |
parent | 1168cf11c1c7d60a8df42f9be541652005fd4fee (diff) | |
download | libwnck-77b66aa7ce0478b1be4e8bfd8353ec4839733007.tar.gz |
class-group: use WnckHandle to get icon sizes
-rw-r--r-- | libwnck/class-group.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libwnck/class-group.c b/libwnck/class-group.c index 2d4f8a3..202bef4 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; } |