gimp r25232 - in trunk: . plug-ins/common
- From: muks svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25232 - in trunk: . plug-ins/common
- Date: Wed, 26 Mar 2008 01:49:19 +0000 (GMT)
Author: muks
Date: Wed Mar 26 01:49:19 2008
New Revision: 25232
URL: http://svn.gnome.org/viewvc/gimp?rev=25232&view=rev
Log:
2008-03-25 Mukund Sivaraman <muks mukund org>
* plug-ins/common/mng.c: Cleaned up the rest of the plug-in.
Modified:
trunk/ChangeLog
trunk/plug-ins/common/mng.c
Modified: trunk/plug-ins/common/mng.c
==============================================================================
--- trunk/plug-ins/common/mng.c (original)
+++ trunk/plug-ins/common/mng.c Wed Mar 26 01:49:19 2008
@@ -1610,35 +1610,45 @@
if ((mng_data.compression_level < 0)
|| (mng_data.compression_level > 9))
{
- g_warning ("Parameter 'compression_level' passed to file-mng-save() must be in the range 0 - 9; Clamping it to the default value of 6.");
+ g_warning ("Parameter 'compression_level' passed to "
+ "file-mng-save() must be in the range 0 - 9; "
+ "Clamping it to the default value of 6.");
mng_data.compression_level = 6;
}
if ((mng_data.quality < ((float) 0))
|| (mng_data.quality > ((float) 1)))
{
- g_warning ("Parameter 'quality' passed to file-mng-save() must be in the range 0.00 - 1.00; Clamping it to the default value of 0.75.");
+ g_warning ("Parameter 'quality' passed to "
+ "file-mng-save() must be in the range "
+ "0.00 - 1.00; Clamping it to the "
+ "default value of 0.75.");
mng_data.quality = 0.75;
}
if ((mng_data.smoothing < ((float) 0))
|| (mng_data.smoothing > ((float) 1)))
{
- g_warning ("Parameter 'smoothing' passed to file-mng-save() must be in the range 0.00 - 1.00; Clamping it to the default value of 0.00.");
+ g_warning ("Parameter 'smoothing' passed to "
+ "file-mng-save() must be in the "
+ "range 0.00 - 1.00; Clamping it to "
+ "the default value of 0.00.");
mng_data.smoothing = 0.0;
}
if ((mng_data.default_chunks < 0)
|| (mng_data.default_chunks > 3))
{
- g_warning ("Parameter 'default_chunks' passed to file-mng-save() must be in the range 0 - 2.");
+ g_warning ("Parameter 'default_chunks' passed to "
+ "file-mng-save() must be in the range 0 - 2.");
values[0].data.d_status = GIMP_PDB_CALLING_ERROR;
}
if ((mng_data.default_dispose < 0)
|| (mng_data.default_dispose > 1))
{
- g_warning ("Parameter 'default_dispose' passed to file-mng-save() must be in the range 0 - 1.");
+ g_warning ("Parameter 'default_dispose' passed to "
+ "file-mng-save() must be in the range 0 - 1.");
values[0].data.d_status = GIMP_PDB_CALLING_ERROR;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]