[gnome-builder/gnome-builder-3-24] vala: fix compilation of vala plugin



commit f7aee73a1f581e34cdb326c75f3ea5a9d2d233f7
Author: Christian Hergert <chergert redhat com>
Date:   Fri Mar 31 10:40:09 2017 -0600

    vala: fix compilation of vala plugin
    
    Vala seems to require that all interface methods are implemented, even
    though the base interface perfectly implements a default implementation.

 plugins/vala-pack/ide-vala-symbol-resolver.vala |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-symbol-resolver.vala b/plugins/vala-pack/ide-vala-symbol-resolver.vala
index 6f8501e..621e480 100644
--- a/plugins/vala-pack/ide-vala-symbol-resolver.vala
+++ b/plugins/vala-pack/ide-vala-symbol-resolver.vala
@@ -111,6 +111,13 @@ namespace Ide
                }
 
                public void load () {}
+
+               public async GLib.GenericArray<weak Ide.SourceRange> find_references_async 
(Ide.SourceLocation location,
+                                                                                           GLib.Cancellable? 
cancellable)
+                       throws GLib.Error
+               {
+                       return new GLib.GenericArray<weak Ide.SourceRange> ();
+               }
        }
 }
 


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