gimp r25323 - in trunk: . app/widgets



Author: mitch
Date: Mon Mar 31 15:17:14 2008
New Revision: 25323
URL: http://svn.gnome.org/viewvc/gimp?rev=25323&view=rev

Log:
2008-03-31  Michael Natterer  <mitch gimp org>

	* app/widgets/gimpbrusheditor.c (gimp_brush_editor_notify_brush):
	Add missing code for the "spacing" property. Spotted by Jerry Baker.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimpbrusheditor.c

Modified: trunk/app/widgets/gimpbrusheditor.c
==============================================================================
--- trunk/app/widgets/gimpbrusheditor.c	(original)
+++ trunk/app/widgets/gimpbrusheditor.c	Mon Mar 31 15:17:14 2008
@@ -456,6 +456,11 @@
       adj   = editor->aspect_ratio_data;
       value = brush->aspect_ratio;
     }
+  else if (! strcmp (pspec->name, "spacing"))
+    {
+      adj   = editor->spacing_data;
+      value = GIMP_BRUSH (brush)->spacing;
+    }
 
   if (adj)
     {



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