]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libgsf-1: Use owned modifier instead of the deprecated # modifier
authorWilliam Swanson <swansontec@gmail.com>
Mon, 4 May 2009 23:58:51 +0000 (16:58 -0700)
committerJürg Billeter <j@bitron.ch>
Thu, 7 May 2009 14:06:56 +0000 (16:06 +0200)
Fixes bug 581392.

vapi/libgsf-1.vapi

index 135ea93679038de2e104dcfbc746007f83a0f7c0..4bfe922e48531f75a21d23a1197bf01e3127ec27 100644 (file)
@@ -38,9 +38,9 @@ namespace Gsf {
                public weak string get_name ();
                public weak GLib.Value? get_val ();
                [CCode (has_construct_function = false)]
-               public DocProp (string# name);
-               public void set_link (string# link);
-               public void set_val (GLib.Value# val);
+               public DocProp (owned string name);
+               public void set_link (owned string link);
+               public void set_val (owned GLib.Value val);
                public GLib.Value swap_val (GLib.Value val);
        }
        [CCode (cheader_filename = "gsf/gsf-docprop-vector.h")]
@@ -122,7 +122,7 @@ namespace Gsf {
                public weak Gsf.Input? sibling (string name) throws GLib.Error;
                public Gsf.off_t size ();
                public Gsf.off_t tell ();
-               public static Gsf.Input uncompress (Gsf.Input# src);
+               public static Gsf.Input uncompress (owned Gsf.Input src);
                [NoAccessorMethod]
                public int64 position { get; }
        }