From: William Swanson Date: Mon, 4 May 2009 23:58:51 +0000 (-0700) Subject: libgsf-1: Use owned modifier instead of the deprecated # modifier X-Git-Tag: 0.7.2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83ed8fd5340f9cbbfd973bd4e063001d1e9007a;p=thirdparty%2Fvala.git libgsf-1: Use owned modifier instead of the deprecated # modifier Fixes bug 581392. --- diff --git a/vapi/libgsf-1.vapi b/vapi/libgsf-1.vapi index 135ea9367..4bfe922e4 100644 --- a/vapi/libgsf-1.vapi +++ b/vapi/libgsf-1.vapi @@ -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; } }