Commit a63a2e86 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

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.
parent fe5d17d0
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>
* plug-ins/maze/maze_face.c
......
......@@ -468,7 +468,11 @@ def _run(func_name, params):
params = start_params + tuple(extra_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():
'''This should be called after registering the plugin.'''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment