]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix GMarkupParser binding
authorJürg Billeter <j@bitron.ch>
Tue, 20 Oct 2009 15:41:04 +0000 (17:41 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 20 Oct 2009 15:41:04 +0000 (17:41 +0200)
As the GMarkupParser struct only stores function pointers and no
targets, no destroy function is necessary.

Fixes bug 595925.

vapi/glib-2.0.vapi

index d16c2ec1c5d2773f2283de1ef7dbb89cb67e9588..b80fa312d7e5203eed9a52165b0314b0da244e12 100644 (file)
@@ -2811,11 +2811,11 @@ namespace GLib {
        public delegate void MarkupParserErrorFunc (MarkupParseContext context, Error error);
        
        public struct MarkupParser {
-               public MarkupParserStartElementFunc start_element;
-               public MarkupParserEndElementFunc end_element;
-               public MarkupParserTextFunc text;
-               public MarkupParserPassthroughFunc passthrough;
-               public MarkupParserErrorFunc error;
+               public unowned MarkupParserStartElementFunc start_element;
+               public unowned MarkupParserEndElementFunc end_element;
+               public unowned MarkupParserTextFunc text;
+               public unowned MarkupParserPassthroughFunc passthrough;
+               public unowned MarkupParserErrorFunc error;
        }
 
        namespace Markup {