gimp r26417 - in trunk: . app/core
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26417 - in trunk: . app/core
- Date: Thu, 7 Aug 2008 13:36:04 +0000 (UTC)
Author: neo
Date: Thu Aug 7 13:36:04 2008
New Revision: 26417
URL: http://svn.gnome.org/viewvc/gimp?rev=26417&view=rev
Log:
2008-08-07 Sven Neumann <sven gimp org>
* app/core/gimplayer.c (gimp_layer_new_from_region): added some
empty lines for readability.
Modified:
trunk/ChangeLog
trunk/app/core/gimplayer.c
Modified: trunk/app/core/gimplayer.c
==============================================================================
--- trunk/app/core/gimplayer.c (original)
+++ trunk/app/core/gimplayer.c Thu Aug 7 13:36:04 2008
@@ -1149,6 +1149,7 @@
case GIMP_RGB_IMAGE:
copy_region (region, &layerPR);
break;
+
default:
g_warning ("%s: unhandled type conversion", G_STRFUNC);
break;
@@ -1161,15 +1162,18 @@
case GIMP_RGBA_IMAGE:
copy_region (region, &layerPR);
break;
+
case GIMP_RGB_IMAGE:
add_alpha_region (region, &layerPR);
break;
+
case GIMP_GRAY_IMAGE:
case GIMP_GRAYA_IMAGE:
gimp_layer_transform_color (dest_image,
region, src_type,
&layerPR, type);
break;
+
default:
g_warning ("%s: unhandled type conversion", G_STRFUNC);
break;
@@ -1182,6 +1186,7 @@
case GIMP_GRAY_IMAGE:
copy_region (region, &layerPR);
break;
+
default:
g_warning ("%s: unhandled type conversion", G_STRFUNC);
break;
@@ -1197,12 +1202,15 @@
region, src_type,
&layerPR, type);
break;
+
case GIMP_GRAYA_IMAGE:
copy_region (region, &layerPR);
break;
+
case GIMP_GRAY_IMAGE:
add_alpha_region (region, &layerPR);
break;
+
default:
g_warning ("%s: unhandled type conversion", G_STRFUNC);
break;
@@ -1224,6 +1232,7 @@
region, src_type,
&layerPR, type);
break;
+
default:
g_warning ("%s: unhandled type conversion", G_STRFUNC);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]