From df299574f6db9bcdccc9413f173c2dd4ceff6467 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Mon, 14 Jun 2021 08:40:35 -0400 Subject: 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 --- src/include/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/common.h b/src/include/common.h index 9febd63c..05692f7b 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -323,8 +323,7 @@ void meta_frame_borders_clear (MetaFrameBorders *self); #define META_MIN_ICON_SIZE 8 #define META_MAX_ICON_SIZE 256 -#define META_MINI_ICON_WIDTH 16 -#define META_MINI_ICON_HEIGHT 16 +#define META_MINI_ICON_SIZE 16 #define META_DEFAULT_ICON_NAME "preferences-desktop-theme" -- cgit v1.2.1