libgimpwidgets: don't add new stock IDs, they are all deprecated

Instead, add GIMP_ICON_* defines for new icons.
This commit is contained in:
Michael Natterer 2017-12-31 16:10:14 +01:00
parent dd06ebafa2
commit 6263e25dd9
2 changed files with 3 additions and 6 deletions

View File

@ -205,10 +205,7 @@ static const GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_LANDSCAPE, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_LANDSCAPE, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_TOILET_PAPER, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_TOILET_PAPER, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_BUSINESS_CARD, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_DISPLAY, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_GEGL, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_GEGL, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_SMARTPHONE, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_WEB, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_WEB, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_VIDEO, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_VIDEO, NULL, 0, 0, LIBGIMP_DOMAIN },

View File

@ -41,10 +41,13 @@ G_BEGIN_DECLS
/* random states/things that don't fit in any category */ /* random states/things that don't fit in any category */
#define GIMP_ICON_BUSINESS_CARD "gimp-business-card"
#define GIMP_ICON_CHAR_PICKER "gimp-char-picker" #define GIMP_ICON_CHAR_PICKER "gimp-char-picker"
#define GIMP_ICON_CURSOR "gimp-cursor" #define GIMP_ICON_CURSOR "gimp-cursor"
#define GIMP_ICON_DISPLAY "gimp-display"
#define GIMP_ICON_GEGL "gimp-gegl" #define GIMP_ICON_GEGL "gimp-gegl"
#define GIMP_ICON_LINKED "gimp-linked" #define GIMP_ICON_LINKED "gimp-linked"
#define GIMP_ICON_SMARTPHONE "gimp-smartphone"
#define GIMP_ICON_TRANSPARENCY "gimp-transparency" #define GIMP_ICON_TRANSPARENCY "gimp-transparency"
#define GIMP_ICON_VIDEO "gimp-video" #define GIMP_ICON_VIDEO "gimp-video"
#define GIMP_ICON_VISIBLE "gimp-visible" #define GIMP_ICON_VISIBLE "gimp-visible"
@ -592,10 +595,7 @@ G_BEGIN_DECLS
#define GIMP_STOCK_PORTRAIT "gimp-portrait" #define GIMP_STOCK_PORTRAIT "gimp-portrait"
#define GIMP_STOCK_LANDSCAPE "gimp-landscape" #define GIMP_STOCK_LANDSCAPE "gimp-landscape"
#define GIMP_STOCK_BUSINESS_CARD "gimp-business-card"
#define GIMP_STOCK_DISPLAY "gimp-display"
#define GIMP_STOCK_GEGL "gimp-gegl" #define GIMP_STOCK_GEGL "gimp-gegl"
#define GIMP_STOCK_SMARTPHONE "gimp-smartphone"
#define GIMP_STOCK_VIDEO "gimp-video" #define GIMP_STOCK_VIDEO "gimp-video"
#define GIMP_STOCK_WEB "gimp-web" #define GIMP_STOCK_WEB "gimp-web"