mirror of https://github.com/GNOME/gimp.git
get rid of useless casts.
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. svn path=/trunk/; revision=27639
This commit is contained in:
parent
9476973c62
commit
4599c75c06
|
@ -1,3 +1,10 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2008-11-13 Michael Natterer <mitch@gimp.org>
|
2008-11-13 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/core/gimpitem.c: add read-only boolean properties "visible"
|
* app/core/gimpitem.c: add read-only boolean properties "visible"
|
||||||
|
|
|
@ -777,7 +777,7 @@ image_floating_sel_attached_to_invoker (GimpProcedure *procedure,
|
||||||
GimpLayer *floating_sel = gimp_image_floating_sel (image);
|
GimpLayer *floating_sel = gimp_image_floating_sel (image);
|
||||||
|
|
||||||
if (floating_sel)
|
if (floating_sel)
|
||||||
drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
|
drawable = floating_sel->fs.drawable;
|
||||||
else
|
else
|
||||||
drawable = NULL;
|
drawable = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1711,7 +1711,7 @@ HELP
|
||||||
GimpLayer *floating_sel = gimp_image_floating_sel (image);
|
GimpLayer *floating_sel = gimp_image_floating_sel (image);
|
||||||
|
|
||||||
if (floating_sel)
|
if (floating_sel)
|
||||||
drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
|
drawable = floating_sel->fs.drawable;
|
||||||
else
|
else
|
||||||
drawable = NULL;
|
drawable = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue