added some empty lines for readability.

2008-08-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimplayer.c (gimp_layer_new_from_region): added some
	empty lines for readability.


svn path=/trunk/; revision=26417
This commit is contained in:
Sven Neumann 2008-08-07 13:36:04 +00:00 committed by Sven Neumann
parent 3b067cba23
commit e5196e3017
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-08-07 Sven Neumann <sven@gimp.org>
* app/core/gimplayer.c (gimp_layer_new_from_region): added some
empty lines for readability.
2008-08-07 Sven Neumann <sven@gimp.org>
* app/core/gimpimage.[ch]: added gimp_image_get_projection().

View File

@ -1149,6 +1149,7 @@ gimp_layer_new_from_region (PixelRegion *region,
case GIMP_RGB_IMAGE:
copy_region (region, &layerPR);
break;
default:
g_warning ("%s: unhandled type conversion", G_STRFUNC);
break;
@ -1161,15 +1162,18 @@ gimp_layer_new_from_region (PixelRegion *region,
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 @@ gimp_layer_new_from_region (PixelRegion *region,
case GIMP_GRAY_IMAGE:
copy_region (region, &layerPR);
break;
default:
g_warning ("%s: unhandled type conversion", G_STRFUNC);
break;
@ -1197,12 +1202,15 @@ gimp_layer_new_from_region (PixelRegion *region,
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 @@ gimp_layer_new_from_region (PixelRegion *region,
region, src_type,
&layerPR, type);
break;
default:
g_warning ("%s: unhandled type conversion", G_STRFUNC);
break;