[gnome-builder] vala: indenter no longer requires context



commit 252a71fb314dee10c955457f6b5824ae6e2ce2ff
Author: Christian Hergert <chergert redhat com>
Date:   Sat Mar 11 01:54:30 2017 -0800

    vala: indenter no longer requires context
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779891

 plugins/vala-pack/ide-vala-indenter.vala |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-indenter.vala b/plugins/vala-pack/ide-vala-indenter.vala
index cd812ce..95e29d5 100644
--- a/plugins/vala-pack/ide-vala-indenter.vala
+++ b/plugins/vala-pack/ide-vala-indenter.vala
@@ -21,7 +21,7 @@ using Ide;
 
 namespace Ide
 {
-       public class ValaIndenter: GLib.Object, Ide.Indenter
+       public class ValaIndenter: Ide.Object, Ide.Indenter
        {
                public bool is_trigger (Gdk.EventKey evkey)
                {
@@ -180,12 +180,5 @@ namespace Ide
 
                        return (prev.get_char () == '{') && (iter.get_char () == '\n') && (next.get_char () 
== '}');
                }
-
-               // This code shouldn't have to exist.
-               // If we can fixup libide+vala to not have such weird interaction that
-               // would be great.
-               Ide.Context? _context;
-               public Ide.Context context { construct { _context = value; } }
-               public void set_context (Ide.Context context) { _context = context; }
        }
 }


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