As Mitch pointed out, these are not static strings. Reverted my previous
changes to the modules directory.
This commit is contained in:
11
ChangeLog
11
ChangeLog
@ -22,15 +22,8 @@
|
|||||||
* libgimpwidgets/gimppageselector.c
|
* libgimpwidgets/gimppageselector.c
|
||||||
* libgimpwidgets/gimppreview.c
|
* libgimpwidgets/gimppreview.c
|
||||||
* libgimpwidgets/gimppreviewarea.c
|
* libgimpwidgets/gimppreviewarea.c
|
||||||
* libgimpwidgets/gimpzoommodel.c
|
* libgimpwidgets/gimpzoommodel.c: use the GIMP_PARAM defines to
|
||||||
* modules/cdisplay_colorblind.c
|
avoid unnecessary string allocations.
|
||||||
* modules/cdisplay_gamma.c
|
|
||||||
* modules/cdisplay_highcontrast.c
|
|
||||||
* modules/cdisplay_lcms.c
|
|
||||||
* modules/cdisplay_proof.c
|
|
||||||
* modules/controller_linux_input.c
|
|
||||||
* modules/controller_midi.c: use the GIMP_PARAM defines to avoid
|
|
||||||
unnecessary string allocations.
|
|
||||||
|
|
||||||
2006-01-29 Michael Natterer <mitch@gimp.org>
|
2006-01-29 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
@ -285,7 +285,7 @@ cdisplay_colorblind_class_init (CdisplayColorblindClass *klass)
|
|||||||
"deficiency", NULL,
|
"deficiency", NULL,
|
||||||
CDISPLAY_TYPE_COLORBLIND_DEFICIENCY,
|
CDISPLAY_TYPE_COLORBLIND_DEFICIENCY,
|
||||||
DEFAULT_DEFICIENCY,
|
DEFAULT_DEFICIENCY,
|
||||||
GIMP_PARAM_STATIC_STRINGS);
|
0);
|
||||||
|
|
||||||
display_class->name = _("Color Deficient Vision");
|
display_class->name = _("Color Deficient Vision");
|
||||||
display_class->help_id = "gimp-colordisplay-colorblind";
|
display_class->help_id = "gimp-colordisplay-colorblind";
|
||||||
|
@ -155,7 +155,7 @@ cdisplay_gamma_class_init (CdisplayGammaClass *klass)
|
|||||||
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_GAMMA,
|
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_GAMMA,
|
||||||
"gamma", NULL,
|
"gamma", NULL,
|
||||||
0.01, 10.0, DEFAULT_GAMMA,
|
0.01, 10.0, DEFAULT_GAMMA,
|
||||||
GIMP_PARAM_STATIC_STRINGS);
|
0);
|
||||||
|
|
||||||
display_class->name = _("Gamma");
|
display_class->name = _("Gamma");
|
||||||
display_class->help_id = "gimp-colordisplay-gamma";
|
display_class->help_id = "gimp-colordisplay-gamma";
|
||||||
|
@ -155,7 +155,7 @@ cdisplay_contrast_class_init (CdisplayContrastClass *klass)
|
|||||||
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_CONTRAST,
|
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_CONTRAST,
|
||||||
"contrast", NULL,
|
"contrast", NULL,
|
||||||
0.01, 10.0, DEFAULT_CONTRAST,
|
0.01, 10.0, DEFAULT_CONTRAST,
|
||||||
GIMP_PARAM_STATIC_STRINGS);
|
0);
|
||||||
|
|
||||||
display_class->name = _("Contrast");
|
display_class->name = _("Contrast");
|
||||||
display_class->help_id = "gimp-colordisplay-contrast";
|
display_class->help_id = "gimp-colordisplay-contrast";
|
||||||
|
@ -168,7 +168,7 @@ cdisplay_lcms_class_init (CdisplayLcmsClass *klass)
|
|||||||
GIMP_CONFIG_INSTALL_PROP_OBJECT (object_class, PROP_CONFIG,
|
GIMP_CONFIG_INSTALL_PROP_OBJECT (object_class, PROP_CONFIG,
|
||||||
"config", NULL,
|
"config", NULL,
|
||||||
GIMP_TYPE_COLOR_CONFIG,
|
GIMP_TYPE_COLOR_CONFIG,
|
||||||
GIMP_PARAM_STATIC_STRINGS);
|
0);
|
||||||
|
|
||||||
display_class->name = _("Color Management");
|
display_class->name = _("Color Management");
|
||||||
display_class->help_id = "gimp-colordisplay-lcms";
|
display_class->help_id = "gimp-colordisplay-lcms";
|
||||||
|
@ -208,15 +208,15 @@ cdisplay_proof_class_init (CdisplayProofClass *klass)
|
|||||||
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_INTENT,
|
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_INTENT,
|
||||||
"intent", NULL,
|
"intent", NULL,
|
||||||
CDISPLAY_TYPE_PROOF_INTENT, INTENT_PERCEPTUAL,
|
CDISPLAY_TYPE_PROOF_INTENT, INTENT_PERCEPTUAL,
|
||||||
GIMP_PARAM_STATIC_STRINGS);
|
0);
|
||||||
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_BPC,
|
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_BPC,
|
||||||
"black-point-compensation", NULL,
|
"black-point-compensation", NULL,
|
||||||
FALSE,
|
FALSE,
|
||||||
GIMP_PARAM_STATIC_STRINGS);
|
0);
|
||||||
GIMP_CONFIG_INSTALL_PROP_PATH (object_class, PROP_PROFILE,
|
GIMP_CONFIG_INSTALL_PROP_PATH (object_class, PROP_PROFILE,
|
||||||
"profile", NULL,
|
"profile", NULL,
|
||||||
GIMP_CONFIG_PATH_FILE, NULL,
|
GIMP_CONFIG_PATH_FILE, NULL,
|
||||||
GIMP_PARAM_STATIC_STRINGS);
|
0);
|
||||||
|
|
||||||
display_class->name = _("Color Proof");
|
display_class->name = _("Color Proof");
|
||||||
display_class->help_id = "gimp-colordisplay-proof";
|
display_class->help_id = "gimp-colordisplay-proof";
|
||||||
|
@ -222,7 +222,6 @@ linux_input_class_init (ControllerLinuxInputClass *klass)
|
|||||||
_("Device:"),
|
_("Device:"),
|
||||||
_("The name of the device to read Linux Input events from."),
|
_("The name of the device to read Linux Input events from."),
|
||||||
NULL,
|
NULL,
|
||||||
GIMP_PARAM_STATIC_STRINGS |
|
|
||||||
GIMP_CONFIG_PARAM_FLAGS));
|
GIMP_CONFIG_PARAM_FLAGS));
|
||||||
|
|
||||||
controller_class->name = _("Linux Input");
|
controller_class->name = _("Linux Input");
|
||||||
|
@ -244,7 +244,6 @@ midi_class_init (ControllerMidiClass *klass)
|
|||||||
_("Device:"),
|
_("Device:"),
|
||||||
blurb,
|
blurb,
|
||||||
NULL,
|
NULL,
|
||||||
GIMP_PARAM_STATIC_STRINGS |
|
|
||||||
GIMP_CONFIG_PARAM_FLAGS));
|
GIMP_CONFIG_PARAM_FLAGS));
|
||||||
|
|
||||||
g_free (blurb);
|
g_free (blurb);
|
||||||
@ -254,7 +253,6 @@ midi_class_init (ControllerMidiClass *klass)
|
|||||||
_("Channel:"),
|
_("Channel:"),
|
||||||
_("The MIDI channel to read events from. Set to -1 for reading from all MIDI channels."),
|
_("The MIDI channel to read events from. Set to -1 for reading from all MIDI channels."),
|
||||||
-1, 15, -1,
|
-1, 15, -1,
|
||||||
GIMP_PARAM_STATIC_STRINGS |
|
|
||||||
GIMP_CONFIG_PARAM_FLAGS));
|
GIMP_CONFIG_PARAM_FLAGS));
|
||||||
|
|
||||||
controller_class->name = _("MIDI");
|
controller_class->name = _("MIDI");
|
||||||
|
Reference in New Issue
Block a user