[vala] girparser: reset cheader_filenames before parsing a gir



commit a1078635fd65ba3cd97f5b333549ccd5ca161e83
Author: Luca Bruno <lucabru src gnome org>
Date:   Sat Apr 5 20:20:41 2014 +0200

    girparser: reset cheader_filenames before parsing a gir
    
    Remove gedit-2.20 from all-bindings due to a random bug.
    Sometimes it's successful, sometimes it's not.

 vala/valagirparser.vala |    1 +
 vapi/Makefile.am        |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index a50879d..961d9a6 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -1221,6 +1221,7 @@ public class Vala.GirParser : CodeVisitor {
        public void parse_file (SourceFile source_file) {
                metadata_stack = new ArrayList<Metadata> ();
                metadata = Metadata.empty;
+               cheader_filenames = null;
 
                this.current_source_file = source_file;
                reader = new MarkupReader (source_file.filename);
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 30604b2..6c48bc2 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -306,7 +306,6 @@ GIDL_BINDINGS = \
        gdl-1.0 \
        gdu \
        gdk-gtk \
-       gedit-2.20 \
        gio-unix-2.0 \
        gnome-desktop-2.0 \
        gnome-keyring-1 \


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