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



commit 6263e25dd9e0643e726cf3a26402398cb61ea73e
Author: Michael Natterer <mitch gimp org>
Date:   Sun Dec 31 16:10:14 2017 +0100

    libgimpwidgets: don't add new stock IDs, they are all deprecated
    
    Instead, add GIMP_ICON_* defines for new icons.

 libgimpwidgets/gimpicons.c |    3 ---
 libgimpwidgets/gimpicons.h |    6 +++---
 2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/libgimpwidgets/gimpicons.c b/libgimpwidgets/gimpicons.c
index 974f21d..5ab3894 100644
--- a/libgimpwidgets/gimpicons.c
+++ b/libgimpwidgets/gimpicons.c
@@ -205,10 +205,7 @@ static const GtkStockItem gimp_stock_items[] =
   { GIMP_STOCK_LANDSCAPE,                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_SMARTPHONE,               NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_WEB,                      NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_VIDEO,                    NULL,        0, 0, LIBGIMP_DOMAIN },
 
diff --git a/libgimpwidgets/gimpicons.h b/libgimpwidgets/gimpicons.h
index 50094a2..0436d1f 100644
--- a/libgimpwidgets/gimpicons.h
+++ b/libgimpwidgets/gimpicons.h
@@ -41,10 +41,13 @@ G_BEGIN_DECLS
 
 /*  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_CURSOR                    "gimp-cursor"
+#define GIMP_ICON_DISPLAY                   "gimp-display"
 #define GIMP_ICON_GEGL                      "gimp-gegl"
 #define GIMP_ICON_LINKED                    "gimp-linked"
+#define GIMP_ICON_SMARTPHONE                "gimp-smartphone"
 #define GIMP_ICON_TRANSPARENCY              "gimp-transparency"
 #define GIMP_ICON_VIDEO                     "gimp-video"
 #define GIMP_ICON_VISIBLE                   "gimp-visible"
@@ -592,10 +595,7 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_PORTRAIT                 "gimp-portrait"
 #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_SMARTPHONE               "gimp-smartphone"
 #define GIMP_STOCK_VIDEO                    "gimp-video"
 #define GIMP_STOCK_WEB                      "gimp-web"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]