gimp r27639 - in trunk: . app/pdb tools/pdbgen/pdb
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27639 - in trunk: . app/pdb tools/pdbgen/pdb
- Date: Thu, 13 Nov 2008 15:42:58 +0000 (UTC)
Author: mitch
Date: Thu Nov 13 15:42:58 2008
New Revision: 27639
URL: http://svn.gnome.org/viewvc/gimp?rev=27639&view=rev
Log:
2008-11-13 Michael Natterer <mitch gimp org>
* tools/pdbgen/pdb/image.pdb (image_floating_sel_attached_to): get
rid of useless casts.
* app/pdb/image-cmds.c: regenerated.
Modified:
trunk/ChangeLog
trunk/app/pdb/image-cmds.c
trunk/tools/pdbgen/pdb/image.pdb
Modified: trunk/app/pdb/image-cmds.c
==============================================================================
--- trunk/app/pdb/image-cmds.c (original)
+++ trunk/app/pdb/image-cmds.c Thu Nov 13 15:42:58 2008
@@ -777,7 +777,7 @@
GimpLayer *floating_sel = gimp_image_floating_sel (image);
if (floating_sel)
- drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
+ drawable = floating_sel->fs.drawable;
else
drawable = NULL;
}
Modified: trunk/tools/pdbgen/pdb/image.pdb
==============================================================================
--- trunk/tools/pdbgen/pdb/image.pdb (original)
+++ trunk/tools/pdbgen/pdb/image.pdb Thu Nov 13 15:42:58 2008
@@ -1711,7 +1711,7 @@
GimpLayer *floating_sel = gimp_image_floating_sel (image);
if (floating_sel)
- drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
+ drawable = floating_sel->fs.drawable;
else
drawable = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]