define GIMP_PARAM_STATIC_STRINGS which is G_PARAM_STATIC_NAME|NICK|BLURB.

2006-01-18  Michael Natterer  <mitch@gimp.org>

	* app/config/config-types.c: define GIMP_PARAM_STATIC_STRINGS
	which is G_PARAM_STATIC_NAME|NICK|BLURB. Also define
	GIMP_PARAM_READABLE, _WRITABLE and _READWRITE which include
	GIMP_PARAM_STATIC_STRINGS.

	* app/*/*.c: use them for all object properties so their
	strings are not copied.
This commit is contained in:
Michael Natterer
2006-01-18 20:29:40 +00:00
committed by Michael Natterer
parent 6dfc1d8a86
commit e1ceed5147
113 changed files with 800 additions and 689 deletions

View File

@ -86,19 +86,19 @@ gimp_blob_editor_class_init (GimpBlobEditorClass *klass)
NULL, NULL,
GIMP_TYPE_INK_BLOB_TYPE,
GIMP_INK_BLOB_TYPE_ELLIPSE,
G_PARAM_READWRITE |
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_ASPECT,
g_param_spec_double ("blob-aspect",
NULL, NULL,
1.0, 10.0, 1.0,
G_PARAM_READWRITE |
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_ANGLE,
g_param_spec_double ("blob-angle",
NULL, NULL,
-90.0, 90.0, 0.0,
G_PARAM_READWRITE |
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
}