libgimpwidgets, *: deprecating stock IDs for good, part one...

Remove all stock items added since 2.8, restore accidentially removed
ones, and rename the newly added GIMP_STOCK_* defines to GIMP_ICON_*.

(will move to having GIMP_ICON_* defines instead of magic hardcoded
strings for all icons).
This commit is contained in:
Michael Natterer
2017-02-28 19:31:27 +01:00
parent 4ad9967189
commit 91e861adcc
29 changed files with 68 additions and 83 deletions

View File

@ -115,7 +115,7 @@ colorsel_cmyk_class_init (ColorselCmykClass *klass)
selector_class->name = _("CMYK");
selector_class->help_id = "gimp-colorselector-cmyk";
selector_class->icon_name = GIMP_STOCK_COLOR_CMYK;
selector_class->icon_name = GIMP_ICON_COLOR_CMYK;
selector_class->set_color = colorsel_cmyk_set_color;
selector_class->set_config = colorsel_cmyk_set_config;
}

View File

@ -129,7 +129,7 @@ colorsel_water_class_init (ColorselWaterClass *klass)
selector_class->name = _("Watercolor");
selector_class->help_id = "gimp-colorselector-watercolor";
selector_class->icon_name = GIMP_STOCK_COLOR_WATER;
selector_class->icon_name = GIMP_ICON_COLOR_WATER;
selector_class->set_config = colorsel_water_set_config;
}