libgimpwidgets: fix commit e6ba618.

- Missing comma;
- headers from libgimpwidgets can't be included in app/core. So icon
  macros can't be used there.
This commit is contained in:
Jehan 2016-06-02 19:56:47 +02:00
parent 73e6b6fce8
commit 730547e0bb
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ gimp_palette_class_init (GimpPaletteClass *klass)
gimp_object_class->get_memsize = gimp_palette_get_memsize;
viewable_class->default_icon_name = GIMP_STOCK_COLOR_PALETTE;
viewable_class->default_icon_name = "gimp-color-palette";
viewable_class->get_preview_size = gimp_palette_get_preview_size;
viewable_class->get_popup_size = gimp_palette_get_popup_size;
viewable_class->get_new_preview = gimp_palette_get_new_preview;

View File

@ -120,7 +120,7 @@ static const GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_COLOR_TRIANGLE, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_COLOR_CMYK, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_COLOR_WATER, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_COLOR_PALETTE NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_COLOR_PALETTE, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_COLOR_PICK_FROM_SCREEN, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CHAR_PICKER, NULL, 0, 0, LIBGIMP_DOMAIN },