set the minimum of the "default_heigt" property range to -1, this enables

2004-03-22  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpdock.c: set the minimum of the
	"default_heigt" property range to -1, this enables users
	to disable this feature via gtkrc.
This commit is contained in:
Simon Budig 2004-03-22 00:33:08 +00:00 committed by Simon Budig
parent 46fff1793d
commit 0c5632a8b1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-03-22 Simon Budig <simon@gimp.org>
* app/widgets/gimpdock.c: set the minimum of the
"default_heigt" property range to -1, this enables users
to disable this feature via gtkrc.
2004-03-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdock.c: added a style property "default_height"

View File

@ -200,7 +200,7 @@ gimp_dock_class_init (GimpDockClass *klass)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("default_height",
NULL, NULL,
0,
-1,
G_MAXINT,
DEFAULT_DOCK_HEIGHT,
G_PARAM_READABLE));