diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2021-05-07 22:43:48 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2021-05-07 22:43:48 +0300 |
commit | c1460f7920ff0a41b31e2adfc843df4f3c245141 (patch) | |
tree | 8b3f4a59406885df4be6052c53b3651d40b157e3 /libwnck/xutils.h | |
parent | 6f9283b9a5f78675afd561d34120f2d110ef65d6 (diff) | |
download | libwnck-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.h | 6 |
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, |