]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-unix-2.0: Fix DesktopAppInfo.get_keywords()
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 28 May 2016 21:38:08 +0000 (23:38 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 28 May 2016 21:40:46 +0000 (23:40 +0200)
Fixes bug 766456

(cherry picked from commit b01fe3a178e1e9b50d519104e34affd10961154d)

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

index 70a913575b0a344c4032e6779b60166198a698a0..b41b4eda1ca177bad998a3d7b79defb12e0f95a8 100644 (file)
@@ -17,6 +17,7 @@ namespace GLib {
                public unowned string get_generic_name ();
                public static GLib.List<GLib.DesktopAppInfo> get_implementations (string @interface);
                public bool get_is_hidden ();
+               [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[] get_keywords ();
                public bool get_nodisplay ();
                public bool get_show_in (string desktop_env);
index c7195f17d294537c222a95623130482e36528783..3acff579fb1217ac083ab506d1ee900cd4ae70f1 100644 (file)
@@ -2,7 +2,7 @@ GLib cprefix="G" lower_case_cprefix="g_" cheader_filename="gio/gunixmounts.h"
 GDesktopAppInfo cheader_filename="gio/gdesktopappinfo.h"
 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_get_keywords type_name="string[]" no_array_length="1" array_null_terminated="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"