mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
libgimp, pdb, plug-ins: don't skip gimp_*get_*() API from GObject Introspection anymore.
The original reason to skip these was because the new _list_ API were
introspected basically to a similar function signature, except with a
useless return value, at least in pygobject binding where the list size
was also returned.
Though it seems that in fact, only the docstring was wrong. The real
signature was apparently already the same.
See: https://gitlab.gnome.org/GNOME/pygobject/-/issues/352
Therefore since the _get_ naming is more consistent compared to other
existing function, let's re-integrate the _get_ functions for array of
items or images.
This basically reverts commit 15ec254148
.
This commit is contained in:
parent
38946716f2
commit
8b6d90700a
9 changed files with 17 additions and 33 deletions
|
@ -277,7 +277,7 @@ def export_ora(procedure, run_mode, image, file, metadata, config, data):
|
|||
yield layer
|
||||
else:
|
||||
yield layer
|
||||
for sublayer in enumerate_layers(layer.list_children()):
|
||||
for sublayer in enumerate_layers(layer.get_children()):
|
||||
yield sublayer
|
||||
yield NESTED_STACK_END
|
||||
|
||||
|
@ -285,7 +285,7 @@ def export_ora(procedure, run_mode, image, file, metadata, config, data):
|
|||
parent_groups = []
|
||||
i = 0
|
||||
|
||||
layer_stack = image.list_layers()
|
||||
layer_stack = image.get_layers()
|
||||
# Number of top level layers for tracking progress
|
||||
lay_cnt = len(layer_stack)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue