gimp r26434 - in trunk: . app/core
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26434 - in trunk: . app/core
- Date: Fri, 8 Aug 2008 07:52:06 +0000 (UTC)
Author: neo
Date: Fri Aug 8 07:52:06 2008
New Revision: 26434
URL: http://svn.gnome.org/viewvc/gimp?rev=26434&view=rev
Log:
2008-08-08 Sven Neumann <sven gimp org>
* app/core/gimplayer.c (gimp_layer_new_from_tiles)
(gimp_layer_new_from_pixbuf) (gimp_layer_new_from_region): allow
to pass NULL for the 'name' parameter. This will be handled just
like in gimp_layer_new().
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 Fri Aug 8 07:52:06 2008
@@ -1028,7 +1028,6 @@
g_return_val_if_fail (tiles != NULL, NULL);
g_return_val_if_fail (GIMP_IS_IMAGE (dest_image), NULL);
- g_return_val_if_fail (name != NULL, NULL);
pixel_region_init (&bufPR, tiles,
0, 0,
@@ -1067,7 +1066,6 @@
g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);
g_return_val_if_fail (GIMP_IS_IMAGE (dest_image), NULL);
- g_return_val_if_fail (name != NULL, NULL);
pixel_region_init_data (&bufPR, gdk_pixbuf_get_pixels (pixbuf),
gdk_pixbuf_get_n_channels (pixbuf),
@@ -1111,7 +1109,6 @@
g_return_val_if_fail (region != NULL, NULL);
g_return_val_if_fail (GIMP_IS_IMAGE (dest_image), NULL);
- g_return_val_if_fail (name != NULL, NULL);
width = region->w;
height = region->h;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]