gimp r26576 - in trunk: . plug-ins/common



Author: neo
Date: Fri Aug 15 18:00:24 2008
New Revision: 26576
URL: http://svn.gnome.org/viewvc/gimp?rev=26576&view=rev

Log:
2008-08-15  Sven Neumann  <sven gimp org>

	* plug-ins/common/mosaic.c (polygon_add_point): converted a
	g_print() call to g_warning() and unmarked the string for
	translation.



Modified:
   trunk/ChangeLog
   trunk/plug-ins/common/mosaic.c

Modified: trunk/plug-ins/common/mosaic.c
==============================================================================
--- trunk/plug-ins/common/mosaic.c	(original)
+++ trunk/plug-ins/common/mosaic.c	Fri Aug 15 18:00:24 2008
@@ -2010,7 +2010,9 @@
           polygon_add_point (poly_new, x2 + pt[0], y2 + pt[1]);
         }
       else
-        polygon_add_point (poly_new, dir[0] * t + pt[0], dir[1] * t + pt[1]);
+        {
+          polygon_add_point (poly_new, dir[0] * t + pt[0], dir[1] * t + pt[1]);
+        }
     }
 }
 
@@ -2682,7 +2684,9 @@
       poly->npts++;
     }
   else
-    g_print ( _("Unable to add additional point.\n"));
+    {
+      g_warning ("can't add more points");
+    }
 }
 
 static gboolean



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