summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorosch <oliver at luced de>2019-04-14 19:29:48 +0200
committerlukefromdc <[email protected]>2019-04-23 18:35:39 +0000
commit6d7a203c0c920f14a647d8ce5cce36d45a31c8c8 (patch)
treeaf198ba698cb4c35c95d3ce2144b96ae02c0304e /src/core
parentcd29bd6650923ab46b24eecc4681298c081dbf1e (diff)
downloadmarco-6d7a203c0c920f14a647d8ce5cce36d45a31c8c8.tar.bz2
marco-6d7a203c0c920f14a647d8ce5cce36d45a31c8c8.tar.xz
Limit icon size to 1024
Diffstat (limited to 'src/core')
-rw-r--r--src/core/prefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c
index 7e4db4e9..5565f744 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -518,7 +518,7 @@ static MetaIntPreference preferences_int[] =
KEY_GENERAL_SCHEMA,
META_PREF_ICON_SIZE,
&icon_size,
- 6, G_MAXINT, META_DEFAULT_ICON_SIZE,
+ META_MIN_ICON_SIZE, META_MAX_ICON_SIZE, META_DEFAULT_ICON_SIZE,
},
{ NULL, NULL, 0, NULL, 0, 0, 0, },
};