[gimp] libgimpwidgets: cleanup



commit 1a609d6381b8322691e183152f691faccf21dcd1
Author: Michael Natterer <mitch gimp org>
Date:   Wed Aug 11 23:32:44 2010 +0200

    libgimpwidgets: cleanup

 libgimpwidgets/gimpstock.c |   14 ++++++--------
 libgimpwidgets/gimpstock.h |    6 ++----
 2 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/libgimpwidgets/gimpstock.c b/libgimpwidgets/gimpstock.c
index a05458b..9356b15 100644
--- a/libgimpwidgets/gimpstock.c
+++ b/libgimpwidgets/gimpstock.c
@@ -216,6 +216,8 @@ static const GtkStockItem gimp_stock_items[] =
   { GIMP_STOCK_INPUT_DEVICE,             NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_CURSOR,                   NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_SAMPLE_POINT,             NULL,        0, 0, LIBGIMP_DOMAIN },
+  { GIMP_STOCK_DYNAMICS,                 NULL,        0, 0, LIBGIMP_DOMAIN },
+  { GIMP_STOCK_TOOL_PRESET,              NULL,        0, 0, LIBGIMP_DOMAIN },
 
   { GIMP_STOCK_IMAGE,                    NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_LAYER,                    NULL,        0, 0, LIBGIMP_DOMAIN },
@@ -297,8 +299,6 @@ static const GtkStockItem gimp_stock_items[] =
 
   { GIMP_STOCK_FRAME,                    NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TEXTURE,                  NULL,        0, 0, LIBGIMP_DOMAIN },
-  { GIMP_STOCK_DYNAMICS,                 NULL,        0, 0, LIBGIMP_DOMAIN },
-  { GIMP_STOCK_TOOL_PRESET,              NULL,        0, 0, LIBGIMP_DOMAIN },
 
   { GIMP_STOCK_TOOL_AIRBRUSH,            NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TOOL_ALIGN,               NULL,        0, 0, LIBGIMP_DOMAIN },
@@ -413,6 +413,8 @@ gimp_stock_button_pixbufs[] =
   { GIMP_STOCK_INPUT_DEVICE,             stock_input_device_22             },
   { GIMP_STOCK_CURSOR,                   stock_cursor_24                   },
   { GIMP_STOCK_SAMPLE_POINT,             stock_sample_point_24             },
+  { GIMP_STOCK_DYNAMICS,                 stock_dynamics_22                 },
+  { GIMP_STOCK_TOOL_PRESET,              stock_tool_preset_22              },
 
   { GIMP_STOCK_CONTROLLER,               stock_controller_24               },
   { GIMP_STOCK_CONTROLLER_KEYBOARD,      stock_controller_keyboard_24      },
@@ -495,9 +497,6 @@ gimp_stock_button_pixbufs[] =
   { GIMP_STOCK_TOOL_THRESHOLD,           stock_tool_threshold_22           },
   { GIMP_STOCK_TOOL_ZOOM,                stock_tool_zoom_22                },
 
-  { GIMP_STOCK_DYNAMICS,                 stock_dynamics_22                 },
-  { GIMP_STOCK_TOOL_PRESET,              stock_tool_preset_22              },
-
   { GIMP_STOCK_INFO,                     stock_info_24                     },
   { GIMP_STOCK_WARNING,                  stock_warning_24                  },
   { GIMP_TOILET_PAPER,                   stock_toilet_paper_24             },
@@ -544,6 +543,8 @@ gimp_stock_menu_pixbufs[] =
   { GIMP_STOCK_INPUT_DEVICE,             stock_input_device_16             },
   { GIMP_STOCK_CURSOR,                   stock_cursor_16                   },
   { GIMP_STOCK_SAMPLE_POINT,             stock_sample_point_16             },
+  { GIMP_STOCK_DYNAMICS,                 stock_dynamics_16                 },
+  { GIMP_STOCK_TOOL_PRESET,              stock_tool_preset_16              },
 
   { GIMP_STOCK_CONTROLLER,               stock_controller_16               },
   { GIMP_STOCK_CONTROLLER_KEYBOARD,      stock_controller_keyboard_16      },
@@ -662,9 +663,6 @@ gimp_stock_menu_pixbufs[] =
   { GIMP_STOCK_TOOL_THRESHOLD,           stock_tool_threshold_16           },
   { GIMP_STOCK_TOOL_ZOOM,                stock_tool_zoom_16                },
 
-  { GIMP_STOCK_DYNAMICS,                 stock_dynamics_16                 },
-  { GIMP_STOCK_TOOL_PRESET,              stock_tool_preset_16              },
-
   { GIMP_STOCK_INFO,                     stock_info_16                     },
   { GIMP_STOCK_WARNING,                  stock_warning_16                  },
   { GIMP_STOCK_WILBER,                   stock_wilber_16                   },
diff --git a/libgimpwidgets/gimpstock.h b/libgimpwidgets/gimpstock.h
index 71e5b6a..57fa867 100644
--- a/libgimpwidgets/gimpstock.h
+++ b/libgimpwidgets/gimpstock.h
@@ -51,7 +51,6 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_GRADIENT_SPIRAL_CLOCKWISE     "gimp-gradient-spiral-clockwise"
 #define GIMP_STOCK_GRADIENT_SPIRAL_ANTICLOCKWISE "gimp-gradient-spiral-anticlockwise"
 
-
 #define GIMP_STOCK_GRAVITY_EAST             "gimp-gravity-east"
 #define GIMP_STOCK_GRAVITY_NORTH            "gimp-gravity-north"
 #define GIMP_STOCK_GRAVITY_NORTH_EAST       "gimp-gravity-north-east"
@@ -140,8 +139,6 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_TOOL_THRESHOLD           "gimp-tool-threshold"
 #define GIMP_STOCK_TOOL_ZOOM                "gimp-tool-zoom"
 
-#define GIMP_STOCK_DYNAMICS                 "gimp-dynamics"
-#define GIMP_STOCK_TOOL_PRESET              "gimp-tool-preset"
 
 /*  in menu size:  */
 
@@ -221,6 +218,8 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_INPUT_DEVICE             "gimp-input-device"
 #define GIMP_STOCK_CURSOR                   "gimp-cursor"
 #define GIMP_STOCK_SAMPLE_POINT             "gimp-sample-point"
+#define GIMP_STOCK_DYNAMICS                 "gimp-dynamics"
+#define GIMP_STOCK_TOOL_PRESET              "gimp-tool-preset"
 
 #define GIMP_STOCK_CONTROLLER               "gimp-controller"
 #define GIMP_STOCK_CONTROLLER_KEYBOARD      "gimp-controller-keyboard"
@@ -281,7 +280,6 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_PATTERN                  GIMP_STOCK_TOOL_BUCKET_FILL
 
 
-
 void   gimp_stock_init (void);
 
 



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