[gnome-builder] gjs: add missing parameter



commit e53039f08dd51e7920c779a559712ed2e260d0fc
Author: Christian Hergert <chergert redhat com>
Date:   Fri Dec 20 15:05:42 2019 -0800

    gjs: add missing parameter
    
    This still isn't supported by the GJS backend, but it at least fixes
    the error associated with GObject Introspection.
    
    Related #1107

 src/plugins/gjs-symbols/gjs_symbols.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/gjs-symbols/gjs_symbols.py b/src/plugins/gjs-symbols/gjs_symbols.py
index 009425cef..26e19c7a8 100644
--- a/src/plugins/gjs-symbols/gjs_symbols.py
+++ b/src/plugins/gjs-symbols/gjs_symbols.py
@@ -319,7 +319,7 @@ class GjsSymbolProvider(Ide.Object, Ide.SymbolResolver):
     def do_load(self):
         pass
 
-    def do_find_references_async(self, location, cancellable, callback, user_data=None):
+    def do_find_references_async(self, location, language_id, cancellable, callback, user_data=None):
         task = Gio.Task.new(self, cancellable, callback)
         task.return_error(GLib.Error('Not implemented'))
 


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