]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-unix-2.0: Fix binding of g_desktop_app_info_launch_uris_as_manager
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 3 Jul 2015 14:46:05 +0000 (16:46 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 3 Jul 2015 14:46:05 +0000 (16:46 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=748828

vapi/gio-unix-2.0.vapi
vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata

index bd6e383fe4872a866f8a6a8c1a5837fae24154fb..98471cf1706176d60b7064b2ddbc3657a455d7f4 100644 (file)
@@ -24,7 +24,7 @@ namespace GLib {
                public unowned string get_string (string key);
                public bool has_key (string key);
                public void launch_action (string action_name, GLib.AppLaunchContext launch_context);
-               public bool launch_uris_as_manager (GLib.List uris, GLib.AppLaunchContext launch_context, GLib.SpawnFlags spawn_flags, GLib.SpawnChildSetupFunc user_setup, void* user_setup_data, GLib.DesktopAppLaunchCallback pid_callback, void* pid_callback_data) throws GLib.Error;
+               public bool launch_uris_as_manager (GLib.List<string> uris, GLib.AppLaunchContext? launch_context, GLib.SpawnFlags spawn_flags, GLib.SpawnChildSetupFunc? user_setup = null, GLib.DesktopAppLaunchCallback? pid_callback = null) throws GLib.Error;
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[] list_actions ();
                [CCode (array_length = false, array_null_terminated = true)]
index 33a5e2d0a981e74760ab4d8c2e79011f68da48ec..c7195f17d294537c222a95623130482e36528783 100644 (file)
@@ -4,6 +4,12 @@ g_desktop_app_info_get_action_name transfer_ownership="1"
 g_desktop_app_info_get_implementations transfer_ownership="1" type_name="GLib.List<GLib.DesktopAppInfo>"
 g_desktop_app_info_get_keywords type_name="string[]"
 g_desktop_app_info_list_actions type_name="string[]" no_array_length="1" array_null_terminated="1"
+g_desktop_app_info_launch_uris_as_manager.uris type_name="GLib.List<string>"
+g_desktop_app_info_launch_uris_as_manager.launch_context nullable="1"
+g_desktop_app_info_launch_uris_as_manager.user_setup nullable="1" default_value="null"
+g_desktop_app_info_launch_uris_as_manager.user_setup_data hidden="1"
+g_desktop_app_info_launch_uris_as_manager.pid_callback nullable="1" default_value="null"
+g_desktop_app_info_launch_uris_as_manager.pid_callback_data hidden="1"
 g_desktop_app_info_search type_name="string**[]" transfer_ownership="1" no_array_length="1" array_null_terminated="1"
 GFileDescriptorBased cheader_filename="gio/gfiledescriptorbased.h"
 GUnixConnection cheader_filename="gio/gunixconnection.h"