vala r857 - in trunk: . vapi vapi/packages/gio-2.0



Author: juergbi
Date: Fri Jan 18 20:24:48 2008
New Revision: 857
URL: http://svn.gnome.org/viewvc/vala?rev=857&view=rev

Log:
2008-01-18  Juerg Billeter  <j bitron ch>

	* vapi/packages/gio-2.0/: fix memory leaks in g_file_new_for_* binding,
	  fixes bug 509884

	* vapi/gio-2.0.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/gio-2.0.vapi
   trunk/vapi/packages/gio-2.0/gio-2.0.metadata

Modified: trunk/vapi/gio-2.0.vapi
==============================================================================
--- trunk/vapi/gio-2.0.vapi	(original)
+++ trunk/vapi/gio-2.0.vapi	Fri Jan 18 20:24:48 2008
@@ -645,9 +645,9 @@
 		public abstract void mount_mountable (GLib.MountOperation mount_operation, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
 		public abstract weak GLib.File mount_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
 		public abstract bool move (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable cancellable, GLib.FileProgressCallback progress_callback, pointer progress_callback_data) throws GLib.Error;
-		public static weak GLib.File new_for_commandline_arg (string arg);
-		public static weak GLib.File new_for_path (string path);
-		public static weak GLib.File new_for_uri (string uri);
+		public static GLib.File new_for_commandline_arg (string arg);
+		public static GLib.File new_for_path (string path);
+		public static GLib.File new_for_uri (string uri);
 		public static weak GLib.File parse_name (string parse_name);
 		public abstract weak GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable cancellable) throws GLib.Error;
 		public abstract weak GLib.FileInfo query_info (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;

Modified: trunk/vapi/packages/gio-2.0/gio-2.0.metadata
==============================================================================
--- trunk/vapi/packages/gio-2.0/gio-2.0.metadata	(original)
+++ trunk/vapi/packages/gio-2.0/gio-2.0.metadata	Fri Jan 18 20:24:48 2008
@@ -1,6 +1,9 @@
 GLib cprefix="G" lower_case_cprefix="g_" cheader_filename="gio/gio.h"
 g_app_info_launch.envp is_array="1"
 g_app_info_launch_uris.envp is_array="1"
+g_file_new_for_commandline_arg transfer_ownership="1"
+g_file_new_for_path transfer_ownership="1"
+g_file_new_for_uri transfer_ownership="1"
 GMountOperation::reply has_emitter="1"
 g_themed_icon_new_from_names.iconnames is_array="1"
 



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