converted a g_print() call to g_warning() and unmarked the string for

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.


svn path=/trunk/; revision=26576
This commit is contained in:
Sven Neumann
2008-08-15 18:00:24 +00:00
committed by Sven Neumann
parent 98d7a372f0
commit a9e30dad1b
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.
2008-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/file-ico/ico-save.c: applied patch from Aurimas Juška

View File

@ -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