mirror of https://github.com/GNOME/gimp.git
app, pdb: fix gimp_item_id_is_vectors().
It was testing for GimpDrawable!
This commit is contained in:
parent
3c6360a373
commit
1c0fb800e5
|
@ -291,7 +291,7 @@ item_id_is_vectors_invoker (GimpProcedure *procedure,
|
|||
{
|
||||
GimpItem *item = gimp_item_get_by_id (gimp, item_id);
|
||||
|
||||
vectors = (GIMP_IS_DRAWABLE (item) &&
|
||||
vectors = (GIMP_IS_VECTORS (item) &&
|
||||
! gimp_item_is_removed (item));
|
||||
}
|
||||
|
||||
|
|
|
@ -265,7 +265,7 @@ HELP
|
|||
{
|
||||
GimpItem *item = gimp_item_get_by_id (gimp, item_id);
|
||||
|
||||
vectors = (GIMP_IS_DRAWABLE (item) &&
|
||||
vectors = (GIMP_IS_VECTORS (item) &&
|
||||
! gimp_item_is_removed (item));
|
||||
}
|
||||
CODE
|
||||
|
|
Loading…
Reference in New Issue