]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix MarkupParser bindings
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 24 Aug 2011 16:27:05 +0000 (18:27 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 24 Aug 2011 16:28:09 +0000 (18:28 +0200)
Fixes bug 657262.

vapi/glib-2.0.vapi

index 59656857aa3f578f374edbb48160f2c5f0a52e07..c46fd49e1406d69c79a3de8fcfc226b550acbd6b 100644 (file)
@@ -3400,10 +3400,15 @@ namespace GLib {
        public delegate void MarkupParserErrorFunc (MarkupParseContext context, Error error);
        
        public struct MarkupParser {
+               [CCode (delegate_target = false)]
                public unowned MarkupParserStartElementFunc start_element;
+               [CCode (delegate_target = false)]
                public unowned MarkupParserEndElementFunc end_element;
+               [CCode (delegate_target = false)]
                public unowned MarkupParserTextFunc text;
+               [CCode (delegate_target = false)]
                public unowned MarkupParserPassthroughFunc passthrough;
+               [CCode (delegate_target = false)]
                public unowned MarkupParserErrorFunc error;
        }