[gnome-builder] vala-pack: push/pop context



commit 0ed5a552b968043a851db72b098b6f04e5a7646f
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jan 18 07:20:08 2018 -0800

    vala-pack: push/pop context

 src/plugins/vala-pack/ide-vala-index.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/vala-pack/ide-vala-index.vala b/src/plugins/vala-pack/ide-vala-index.vala
index 593d47aa0..287c4e129 100644
--- a/src/plugins/vala-pack/ide-vala-index.vala
+++ b/src/plugins/vala-pack/ide-vala-index.vala
@@ -578,7 +578,9 @@ namespace Ide
                public void do_locked (GLib.Func func)
                {
                        lock (this.code_context) {
+                               Vala.CodeContext.push (this.code_context);
                                func (this);
+                               Vala.CodeContext.pop ();
                        }
                }
        }


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