app, pdb: fix gimp_item_id_is_vectors().

It was testing for GimpDrawable!
This commit is contained in:
Jehan 2019-09-02 11:44:36 +02:00
parent 3c6360a373
commit 1c0fb800e5
2 changed files with 2 additions and 2 deletions

View File

@ -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));
}

View File

@ -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