[vala/staging] gio-unix-2.0: Add DesktopAppInfo.get_string_list() since 2.60
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gio-unix-2.0: Add DesktopAppInfo.get_string_list() since 2.60
- Date: Sun, 10 Feb 2019 12:29:42 +0000 (UTC)
commit 00efb466b5fc85f95ef2390d08289ba5322055ee
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Feb 10 13:26:09 2019 +0100
gio-unix-2.0: Add DesktopAppInfo.get_string_list() since 2.60
vapi/gio-unix-2.0.vapi | 2 ++
vapi/packages/gio-unix-2.0/gio-unix-2.0.gi | 8 ++++++++
vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata | 2 ++
3 files changed, 12 insertions(+)
---
diff --git a/vapi/gio-unix-2.0.vapi b/vapi/gio-unix-2.0.vapi
index f0ca89939..2ff94d31c 100644
--- a/vapi/gio-unix-2.0.vapi
+++ b/vapi/gio-unix-2.0.vapi
@@ -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;
diff --git a/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi b/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi
index 89488d9ae..6a6282980 100644
--- a/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi
+++ b/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi
@@ -316,6 +316,14 @@
<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>
diff --git a/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata
b/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata
index 736b3250b..05d9a1232 100644
--- a/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata
+++ b/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]