Commit 00efb466 authored by Rico Tzschichholz's avatar Rico Tzschichholz

gio-unix-2.0: Add DesktopAppInfo.get_string_list() since 2.60

parent dd8b3157
......@@ -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;
......
......@@ -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>
......
......@@ -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"
......
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