gimp r25855 - in trunk: . libgimpwidgets themes/Default/images themes/Default/images/tools



Author: neo
Date: Thu May 29 12:20:59 2008
New Revision: 25855
URL: http://svn.gnome.org/viewvc/gimp?rev=25855&view=rev

Log:
2008-05-29  Sven Neumann  <sven gimp org>

	* themes/Default/images/Makefile.am (STOCK_TOOL_IMAGES): 
	* themes/Default/images/tools/stock-tool-polygon-select-16.png
	* themes/Default/images/tools/stock-tool-polygon-select-22.png:
	removed unused tool icon.

	* libgimpwidgets/gimpstock.[ch]: don't register
	GIMP_STOCK_TOOL_POLYGON_SELECT.

	* libgimpwidgets/gimphruler.c
	* libgimpwidgets/gimpvruler.c: added missing API docs.


Removed:
   trunk/themes/Default/images/tools/stock-tool-polygon-select-16.png
   trunk/themes/Default/images/tools/stock-tool-polygon-select-22.png
Modified:
   trunk/ChangeLog
   trunk/libgimpwidgets/gimphruler.c
   trunk/libgimpwidgets/gimpstock.c
   trunk/libgimpwidgets/gimpstock.h
   trunk/libgimpwidgets/gimpvruler.c
   trunk/themes/Default/images/Makefile.am

Modified: trunk/libgimpwidgets/gimphruler.c
==============================================================================
--- trunk/libgimpwidgets/gimphruler.c	(original)
+++ trunk/libgimpwidgets/gimphruler.c	Thu May 29 12:20:59 2008
@@ -87,7 +87,15 @@
   widget->requisition.height = widget->style->ythickness * 2 + RULER_HEIGHT;
 }
 
-
+/**
+ * gimp_hruler_new:
+ *
+ * Creates a new horizontal ruler.
+ *
+ * Return value: a new #GimpHRuler widget.
+ *
+ * Since: GIMP 2.8
+ **/
 GtkWidget*
 gimp_hruler_new (void)
 {

Modified: trunk/libgimpwidgets/gimpstock.c
==============================================================================
--- trunk/libgimpwidgets/gimpstock.c	(original)
+++ trunk/libgimpwidgets/gimpstock.c	Thu May 29 12:20:59 2008
@@ -313,7 +313,6 @@
   { GIMP_STOCK_TOOL_PENCIL,              NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TOOL_PERSPECTIVE,  N_("_Transform"),   0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TOOL_PERSPECTIVE_CLONE,   NULL,        0, 0, LIBGIMP_DOMAIN },
-  { GIMP_STOCK_TOOL_POLYGON_SELECT,      NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TOOL_POSTERIZE,           NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TOOL_RECT_SELECT,         NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TOOL_ROTATE,       N_("_Rotate"),      0, 0, LIBGIMP_DOMAIN },
@@ -464,7 +463,6 @@
   { GIMP_STOCK_TOOL_PENCIL,              stock_tool_pencil_22              },
   { GIMP_STOCK_TOOL_PERSPECTIVE,         stock_tool_perspective_22         },
   { GIMP_STOCK_TOOL_PERSPECTIVE_CLONE,   stock_tool_perspective_clone_22   },
-  { GIMP_STOCK_TOOL_POLYGON_SELECT,      stock_tool_polygon_select_22      },
   { GIMP_STOCK_TOOL_POSTERIZE,           stock_tool_posterize_22           },
   { GIMP_STOCK_TOOL_RECT_SELECT,         stock_tool_rect_select_22         },
   { GIMP_STOCK_TOOL_ROTATE,              stock_tool_rotate_22              },
@@ -627,7 +625,6 @@
   { GIMP_STOCK_TOOL_PENCIL,              stock_tool_pencil_16              },
   { GIMP_STOCK_TOOL_PERSPECTIVE,         stock_tool_perspective_16         },
   { GIMP_STOCK_TOOL_PERSPECTIVE_CLONE,   stock_tool_perspective_clone_16   },
-  { GIMP_STOCK_TOOL_POLYGON_SELECT,      stock_tool_polygon_select_16      },
   { GIMP_STOCK_TOOL_POSTERIZE,           stock_tool_posterize_16           },
   { GIMP_STOCK_TOOL_RECT_SELECT,         stock_tool_rect_select_16         },
   { GIMP_STOCK_TOOL_ROTATE,              stock_tool_rotate_16              },

Modified: trunk/libgimpwidgets/gimpstock.h
==============================================================================
--- trunk/libgimpwidgets/gimpstock.h	(original)
+++ trunk/libgimpwidgets/gimpstock.h	Thu May 29 12:20:59 2008
@@ -130,7 +130,6 @@
 #define GIMP_STOCK_TOOL_PENCIL              "gimp-tool-pencil"
 #define GIMP_STOCK_TOOL_PERSPECTIVE         "gimp-tool-perspective"
 #define GIMP_STOCK_TOOL_PERSPECTIVE_CLONE   "gimp-tool-perspective-clone"
-#define GIMP_STOCK_TOOL_POLYGON_SELECT      "gimp-tool-polygon-select"
 #define GIMP_STOCK_TOOL_POSTERIZE           "gimp-tool-posterize"
 #define GIMP_STOCK_TOOL_RECT_SELECT         "gimp-tool-rect-select"
 #define GIMP_STOCK_TOOL_ROTATE              "gimp-tool-rotate"

Modified: trunk/libgimpwidgets/gimpvruler.c
==============================================================================
--- trunk/libgimpwidgets/gimpvruler.c	(original)
+++ trunk/libgimpwidgets/gimpvruler.c	Thu May 29 12:20:59 2008
@@ -87,13 +87,21 @@
   widget->requisition.height = widget->style->ythickness * 2 + 1;
 }
 
+/**
+ * gimp_vruler_new:
+ *
+ * Creates a new vertical ruler.
+ *
+ * Return value: a new #GimpVRuler widget.
+ *
+ * Since: GIMP 2.8
+ **/
 GtkWidget*
 gimp_vruler_new (void)
 {
   return g_object_new (GIMP_TYPE_VRULER, NULL);
 }
 
-
 static gint
 gimp_vruler_motion_notify (GtkWidget      *widget,
                           GdkEventMotion *event)

Modified: trunk/themes/Default/images/Makefile.am
==============================================================================
--- trunk/themes/Default/images/Makefile.am	(original)
+++ trunk/themes/Default/images/Makefile.am	Thu May 29 12:20:59 2008
@@ -317,8 +317,6 @@
 	tools/stock-tool-perspective-22.png		\
 	tools/stock-tool-perspective-clone-16.png	\
 	tools/stock-tool-perspective-clone-22.png	\
-	tools/stock-tool-polygon-select-16.png		\
-	tools/stock-tool-polygon-select-22.png		\
 	tools/stock-tool-posterize-16.png		\
 	tools/stock-tool-posterize-22.png		\
 	tools/stock-tool-rect-select-16.png		\



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