diff --git a/ChangeLog b/ChangeLog index 5bfb56fa11..6ff2f653a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-15 Sven Neumann + + * plug-ins/common/mosaic.c (polygon_add_point): converted a + g_print() call to g_warning() and unmarked the string for + translation. + 2008-08-15 Sven Neumann * plug-ins/file-ico/ico-save.c: applied patch from Aurimas Juška diff --git a/plug-ins/common/mosaic.c b/plug-ins/common/mosaic.c index 21408ed88a..5b71457784 100644 --- a/plug-ins/common/mosaic.c +++ b/plug-ins/common/mosaic.c @@ -2010,7 +2010,9 @@ clip_point (gdouble *dir, 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 @@ polygon_add_point (Polygon *poly, poly->npts++; } else - g_print ( _("Unable to add additional point.\n")); + { + g_warning ("can't add more points"); + } } static gboolean