summaryrefslogtreecommitdiff
path: root/libwnck/xutils.h
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2021-05-07 22:43:48 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2021-05-07 22:43:48 +0300
commitc1460f7920ff0a41b31e2adfc843df4f3c245141 (patch)
tree8b3f4a59406885df4be6052c53b3651d40b157e3 /libwnck/xutils.h
parent6f9283b9a5f78675afd561d34120f2d110ef65d6 (diff)
downloadlibwnck-c1460f7920ff0a41b31e2adfc843df4f3c245141.tar.gz
xutils: replace width and height with size in read_icons
_wnck_read_icons is used in WnckApplication and WnckWindow. In both cases ideal_width and ideal_height have same value - default icon size. Same with ideal_mini_width and ideal_mini_height. Simplify function by replacing width and height parameters with size parameter.
Diffstat (limited to 'libwnck/xutils.h')
-rw-r--r--libwnck/xutils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libwnck/xutils.h b/libwnck/xutils.h
index e09666f..b460bcf 100644
--- a/libwnck/xutils.h
+++ b/libwnck/xutils.h
@@ -174,11 +174,9 @@ gboolean _wnck_read_icons (WnckScreen *screen,
Window xwindow,
WnckIconCache *icon_cache,
GdkPixbuf **iconp,
- int ideal_width,
- int ideal_height,
+ int ideal_size,
GdkPixbuf **mini_iconp,
- int ideal_mini_width,
- int ideal_mini_height);
+ int ideal_mini_size);
void _wnck_get_fallback_icons (GdkPixbuf **iconp,
int ideal_width,