[vala/0.30] gio-unix-2.0: Fix DesktopAppInfo.get_keywords()



commit 3bcd4e6de51523096641f7ab123fb263db267fd4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat May 28 23:38:08 2016 +0200

    gio-unix-2.0: Fix DesktopAppInfo.get_keywords()
    
    Fixes bug 766456
    
    (cherry picked from commit b01fe3a178e1e9b50d519104e34affd10961154d)

 vapi/gio-unix-2.0.vapi                           |    1 +
 vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-unix-2.0.vapi b/vapi/gio-unix-2.0.vapi
index 98471cf..a1cc49e 100644
--- a/vapi/gio-unix-2.0.vapi
+++ b/vapi/gio-unix-2.0.vapi
@@ -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);
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 c7195f1..3acff57 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
@@ -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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]