gimp r26423 - in trunk: . app/config
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26423 - in trunk: . app/config
- Date: Thu, 7 Aug 2008 16:23:37 +0000 (UTC)
Author: tml
Date: Thu Aug 7 16:23:37 2008
New Revision: 26423
URL: http://svn.gnome.org/viewvc/gimp?rev=26423&view=rev
Log:
2008-08-07 Tor Lillqvist <tml novell com>
* app/config/gimpbaseconfig.c (gimp_base_config_class_init): Use
G_MAXSIZE instead of G_MAXULONG to limit the max tile cache size,
as long is still 32 bits on Win64 but size_t is 64 bits.
Modified:
trunk/ChangeLog
trunk/app/config/gimpbaseconfig.c
Modified: trunk/app/config/gimpbaseconfig.c
==============================================================================
--- trunk/app/config/gimpbaseconfig.c (original)
+++ trunk/app/config/gimpbaseconfig.c Thu Aug 7 16:23:37 2008
@@ -103,7 +103,7 @@
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_MEMSIZE (object_class, PROP_TILE_CACHE_SIZE,
"tile-cache-size", TILE_CACHE_SIZE_BLURB,
- 0, MIN (G_MAXULONG, GIMP_MAX_MEMSIZE),
+ 0, MIN (G_MAXSIZE, GIMP_MAX_MEMSIZE),
1 << 30, /* 1GB */
GIMP_PARAM_STATIC_STRINGS |
GIMP_CONFIG_PARAM_CONFIRM);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]