[gimp] plug-ins: forgot to change run() signature to new API in python-console.



commit c822350fb3bfb7f281a2292290af36c3a43e29a7
Author: Jehan <jehan girinstud io>
Date:   Sun Aug 4 12:22:01 2019 +0200

    plug-ins: forgot to change run() signature to new API in python-console.

 plug-ins/python/python-console/python-console.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plug-ins/python/python-console/python-console.py 
b/plug-ins/python/python-console/python-console.py
index 0cff9baee3..ff254a9ceb 100755
--- a/plug-ins/python/python-console/python-console.py
+++ b/plug-ins/python/python-console/python-console.py
@@ -23,6 +23,7 @@ gi.require_version('Gtk', '3.0')
 from gi.repository import Gtk
 from gi.repository import GObject
 from gi.repository import Gio
+from gi.repository import GLib
 
 import sys
 import pyconsole
@@ -36,7 +37,7 @@ PROC_NAME = 'python-fu-console'
 
 RESPONSE_BROWSE, RESPONSE_CLEAR, RESPONSE_SAVE = range(3)
 
-def run(name, n_params, params):
+def run(procedure, args, data):
     Gimp.ui_init ("python-console.py", False)
 
     namespace = {'__builtins__': __builtins__,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]