[vala] libgsf-1: Use owned modifier instead of the deprecated # modifier



commit e83ed8fd5340f9cbbfd973bd4e063001d1e9007a
Author: William Swanson <swansontec gmail com>
Date:   Mon May 4 16:58:51 2009 -0700

    libgsf-1: Use owned modifier instead of the deprecated # modifier
    
    Fixes bug 581392.
---
 vapi/libgsf-1.vapi |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/vapi/libgsf-1.vapi b/vapi/libgsf-1.vapi
index 135ea93..4bfe922 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; }
 	}



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