[gnome-builder] vala-pack: implement various :load() vfuncs



commit fc1e480c25b8f0f7d612d259718ba792b1e60b60
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Oct 28 14:34:59 2016 -0200

    vala-pack: implement various :load() vfuncs
    
    The Vala compiler is complaining about some vala-pack classes not
    overriding the :load() vfuncs.
    
    Fix that by adding stub implementations of them.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773641

 .../vala-pack/ide-vala-completion-provider.vala    |    2 ++
 .../vala-pack/ide-vala-diagnostic-provider.vala    |    2 ++
 plugins/vala-pack/ide-vala-symbol-resolver.vala    |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-completion-provider.vala 
b/plugins/vala-pack/ide-vala-completion-provider.vala
index e6560cf..529a496 100644
--- a/plugins/vala-pack/ide-vala-completion-provider.vala
+++ b/plugins/vala-pack/ide-vala-completion-provider.vala
@@ -138,5 +138,7 @@ namespace Ide
                {
                        return 200;
                }
+
+               public void load () {}
        }
 }
diff --git a/plugins/vala-pack/ide-vala-diagnostic-provider.vala 
b/plugins/vala-pack/ide-vala-diagnostic-provider.vala
index 5a66032..d0209d2 100644
--- a/plugins/vala-pack/ide-vala-diagnostic-provider.vala
+++ b/plugins/vala-pack/ide-vala-diagnostic-provider.vala
@@ -34,5 +34,7 @@ namespace Ide
                        var results = yield service.index.get_diagnostics (file.file, cancellable);
                        return results;
                }
+
+               public void load () {}
        }
 }
diff --git a/plugins/vala-pack/ide-vala-symbol-resolver.vala b/plugins/vala-pack/ide-vala-symbol-resolver.vala
index 9d29d93..050fa1b 100644
--- a/plugins/vala-pack/ide-vala-symbol-resolver.vala
+++ b/plugins/vala-pack/ide-vala-symbol-resolver.vala
@@ -108,6 +108,8 @@ namespace Ide
                                return ((Vala.Property)sym).binding;
                        return null;
                }
+
+               public void load () {}
        }
 }
 


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