mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
libgimp: 'gimp_ui' as priority prefix for GimpUi introspected module.
Since meson 0.43.0 (below our current requirement), 'symbol_prefix' argument of gnome.generate_gir() allows an ordered list. If I prepend 'gimp_ui', it makes any gimp_ui_*() function to not start with 'ui_'. In particular, GimpUi.ui_init() becomes GimpUi.init() which is much less redundant.
This commit is contained in:
parent
aac49878f7
commit
2e73e30afd
11 changed files with 13 additions and 12 deletions
|
@ -40,7 +40,7 @@ PROC_NAME = 'python-fu-console'
|
|||
RESPONSE_BROWSE, RESPONSE_CLEAR, RESPONSE_SAVE = range(3)
|
||||
|
||||
def run(procedure, args, data):
|
||||
GimpUi.ui_init ("python-console.py")
|
||||
GimpUi.init ("python-console.py")
|
||||
|
||||
namespace = {'__builtins__': __builtins__,
|
||||
'__name__': '__main__', '__doc__': None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue