Commit 7951e369 authored by Evan Nemerson's avatar Evan Nemerson

gio-2.0: Fix ownership of two AppLaunchContext method return values.

parent 335da14b
......@@ -27,8 +27,8 @@ namespace GLib {
public class AppLaunchContext : GLib.Object {
[CCode (has_construct_function = false)]
public AppLaunchContext ();
public virtual unowned string get_display (GLib.AppInfo info, GLib.List<GLib.File> files);
public virtual unowned string get_startup_notify_id (GLib.AppInfo info, GLib.List<GLib.File> files);
public virtual string get_display (GLib.AppInfo info, GLib.List<GLib.File> files);
public virtual string get_startup_notify_id (GLib.AppInfo info, GLib.List<GLib.File> files);
public virtual void launch_failed (string startup_notify_id);
}
[CCode (cheader_filename = "gio/gio.h")]
......
......@@ -5,7 +5,9 @@ g_app_info_launch.envp is_array="1"
g_app_info_launch.launch_context nullable="1"
g_app_info_launch_default_for_uri.launch_context nullable="1"
g_app_info_launch_uris.envp is_array="1"
g_app_launch_context_get_display transfer_ownership="1"
g_app_launch_context_get_display.files type_arguments="File"
g_app_launch_context_get_startup_notify_id transfer_ownership="1"
g_app_launch_context_get_startup_notify_id.files type_arguments="File"
GAsyncReadyCallback.source_object nullable="1"
g_async_initable_new_async transfer_ownership="1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment