The g_file_get should not have weak references...

here is a small patch.

/

Mikael Hermansson

Index: vapi/gio-2.0.vapi
===================================================================
--- vapi/gio-2.0.vapi	(revision 758)
+++ vapi/gio-2.0.vapi	(working copy)
@@ -617,15 +617,15 @@
 		public abstract weak GLib.FileEnumerator enumerate_children_finish (GLib.AsyncResult res) throws GLib.Error;
 		public abstract bool equal (GLib.File file2);
 		public abstract weak GLib.Volume find_enclosing_volume (GLib.Cancellable cancellable) throws GLib.Error;
-		public abstract weak string get_basename ();
+		public abstract string get_basename ();
 		public weak GLib.File get_child (string name);
-		public abstract weak GLib.File get_child_for_display_name (string display_name) throws GLib.Error;
-		public abstract weak GLib.File get_parent ();
-		public abstract weak string get_parse_name ();
-		public abstract weak string get_path ();
-		public abstract weak string get_relative_path (GLib.File descendant);
-		public abstract weak string get_uri ();
-		public abstract weak string get_uri_scheme ();
+		public abstract GLib.File get_child_for_display_name (string display_name) throws GLib.Error;
+		public abstract GLib.File get_parent ();
+		public abstract string get_parse_name ();
+		public abstract string get_path ();
+		public abstract string get_relative_path (GLib.File descendant);
+		public abstract string get_uri ();
+		public abstract string get_uri_scheme ();
 		public abstract bool has_uri_scheme (string uri_scheme);
 		public static uint hash (pointer file);
 		public abstract bool is_native ();
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to