]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-unix-2.0: Add DesktopAppInfo.get_string_list() since 2.60 00efb466b5fc85f95ef2390d08289ba5322055ee
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 10 Feb 2019 12:26:09 +0000 (13:26 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 10 Feb 2019 12:28:19 +0000 (13:28 +0100)
vapi/gio-unix-2.0.vapi
vapi/packages/gio-unix-2.0/gio-unix-2.0.gi
vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata

index f0ca89939b2d7b1c59e33d734393ec2b06b5090b..2ff94d31cadc5a08b9d4620e6df60f7b9b4fbb99 100644 (file)
@@ -24,6 +24,8 @@ namespace GLib {
                public bool get_show_in (string desktop_env);
                public unowned string get_startup_wm_class ();
                public unowned string get_string (string key);
+               [CCode (array_length_type = "gsize")]
+               public string[] get_string_list (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<string> uris, GLib.AppLaunchContext? launch_context, GLib.SpawnFlags spawn_flags, GLib.SpawnChildSetupFunc? user_setup = null, GLib.DesktopAppLaunchCallback? pid_callback = null) throws GLib.Error;
index 89488d9ae0259f2339d96cf369561de7e7229b74..6a628298074f5b16b42255f0b26e7399350f8c06 100644 (file)
                                        <parameter name="key" type="char*"/>
                                </parameters>
                        </method>
+                       <method name="get_string_list" symbol="g_desktop_app_info_get_string_list">
+                               <return-type type="gchar**"/>
+                               <parameters>
+                                       <parameter name="info" type="GDesktopAppInfo*"/>
+                                       <parameter name="key" type="char*"/>
+                                       <parameter name="length" type="gsize*"/>
+                               </parameters>
+                       </method>
                        <method name="has_key" symbol="g_desktop_app_info_has_key">
                                <return-type type="gboolean"/>
                                <parameters>
index 736b3250be4ef3766d85f991593e5467daa1dc75..05d9a123241be086c3bd35c80774b7f5682c19b2 100644 (file)
@@ -4,6 +4,8 @@ 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[]" no_array_length="1" array_null_terminated="1"
 g_desktop_app_info_get_locale_string transfer_ownership="1" nullable="1"
+g_desktop_app_info_get_string_list is_array="1" array_length_idx=1 array_length_type="gsize" transfer_ownership="1"
+g_desktop_app_info_get_string_list.length hidden="1"
 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"