gimp r27229 - in trunk: . app/core
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27229 - in trunk: . app/core
- Date: Sat, 11 Oct 2008 10:23:01 +0000 (UTC)
Author: mitch
Date: Sat Oct 11 10:23:01 2008
New Revision: 27229
URL: http://svn.gnome.org/viewvc/gimp?rev=27229&view=rev
Log:
2008-10-11 Michael Natterer <mitch gimp org>
* app/core/gimplayer.c (gimp_layer_get_node): remove obsolete
assertion and redundant cast.
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 Sat Oct 11 10:23:01 2008
@@ -525,14 +525,12 @@
GeglNode *input;
GeglNode *output;
- g_return_val_if_fail (GIMP_IS_LAYER (layer), NULL);
-
if (layer->node)
return layer->node;
layer->node = gegl_node_new ();
- source = gimp_drawable_get_source_node (GIMP_DRAWABLE (layer));
+ source = gimp_drawable_get_source_node (drawable);
gegl_node_add_child (layer->node, source);
if (layer->mask)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]