Actually return values from the run function. Fixes #141338.

2004-05-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Actually return values from the run
        function. Fixes #141338.
This commit is contained in:
Manish Singh 2004-05-20 02:33:59 +00:00 committed by Manish Singh
parent fe5d17d0aa
commit a63a2e86d6
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-05-19 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpfu.py: Actually return values from the run
function. Fixes #141338.
2004-05-20 Sven Neumann <sven@gimp.org> 2004-05-20 Sven Neumann <sven@gimp.org>
* plug-ins/maze/maze_face.c * plug-ins/maze/maze_face.c

View File

@ -468,7 +468,11 @@ def _run(func_name, params):
params = start_params + tuple(extra_params) params = start_params + tuple(extra_params)
res = apply(func, params) res = apply(func, params)
if run_mode != RUN_NONINTERACTIVE: gimp.displays_flush()
if run_mode != RUN_NONINTERACTIVE:
gimp.displays_flush()
return res
def main(): def main():
'''This should be called after registering the plugin.''' '''This should be called after registering the plugin.'''