summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-01-18 20:24:48 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-01-18 20:24:48 +0000
commit674d30ab38a8d85e161937d5a90dbce45419dd17 (patch)
treeb8218d3c4e37cffc1953f96db823675d42510337 /vapi
parent1fc1f9cd6ebaf6984a35ea91621444bf225c7ebc (diff)
downloadvala-674d30ab38a8d85e161937d5a90dbce45419dd17.tar.gz
fix memory leaks in g_file_new_for_* binding, fixes bug 509884
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 svn path=/trunk/; revision=857
Diffstat (limited to 'vapi')
-rw-r--r--vapi/gio-2.0.vapi6
-rw-r--r--vapi/packages/gio-2.0/gio-2.0.metadata3
2 files changed, 6 insertions, 3 deletions
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 3342a1568..76857db75 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -645,9 +645,9 @@ namespace GLib {
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;
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 19adae393..eb4376d93 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -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"