diff options
author | Victor Kareh <[email protected]> | 2021-06-14 08:40:35 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2023-03-07 13:35:05 -0500 |
commit | df299574f6db9bcdccc9413f173c2dd4ceff6467 (patch) | |
tree | 73e9feadbeded2be39e8797563f4d35833bd7a99 /src/core/iconcache.h | |
parent | 319ee4ffaae7bec3289a1a65ce9774982564cd61 (diff) | |
download | marco-df299574f6db9bcdccc9413f173c2dd4ceff6467.tar.bz2 marco-df299574f6db9bcdccc9413f173c2dd4ceff6467.tar.xz |
iconcache: replace width and height with size in read_icons
meta_read_icons is used in MetaWindow. In it 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.
Adapted from https://gitlab.gnome.org/GNOME/libwnck/-/commit/c1460f79
Diffstat (limited to 'src/core/iconcache.h')
-rw-r--r-- | src/core/iconcache.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/iconcache.h b/src/core/iconcache.h index 7e9a1f6d..a558a945 100644 --- a/src/core/iconcache.h +++ b/src/core/iconcache.h @@ -72,11 +72,9 @@ gboolean meta_read_icons (MetaScreen *screen, Pixmap wm_hints_pixmap, Pixmap wm_hints_mask, 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); #endif |