app: convert all stock IDs kept around by the core by icon names
Particularly GimpViewable's stock_id. Make sure old config files containing stock IDs are still properly parsed.
This commit is contained in:
@ -93,11 +93,11 @@ gimp_curves_config_class_init (GimpCurvesConfigClass *klass)
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
GimpViewableClass *viewable_class = GIMP_VIEWABLE_CLASS (klass);
|
||||
|
||||
object_class->finalize = gimp_curves_config_finalize;
|
||||
object_class->set_property = gimp_curves_config_set_property;
|
||||
object_class->get_property = gimp_curves_config_get_property;
|
||||
object_class->finalize = gimp_curves_config_finalize;
|
||||
object_class->set_property = gimp_curves_config_set_property;
|
||||
object_class->get_property = gimp_curves_config_get_property;
|
||||
|
||||
viewable_class->default_stock_id = "gimp-tool-curves";
|
||||
viewable_class->default_icon_name = "gimp-tool-curves";
|
||||
|
||||
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_CHANNEL,
|
||||
"channel",
|
||||
|
Reference in New Issue
Block a user