[vala] bindings: update libnotify binding



commit 90901ec7f179e9c180b473f165f7d6532ed58d20
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Oct 24 16:48:00 2013 -0400

    bindings: update libnotify binding
    
    Also add a new metadata for _get_server_caps() return value
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710838

 vapi/libnotify.vapi                        |    2 +-
 vapi/packages/libnotify/libnotify.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi
index 1b49a0b..c5a6751 100644
--- a/vapi/libnotify.vapi
+++ b/vapi/libnotify.vapi
@@ -59,7 +59,7 @@ namespace Notify {
        [CCode (cheader_filename = "libnotify/notify.h")]
        public static unowned string get_app_name ();
        [CCode (cheader_filename = "libnotify/notify.h")]
-       public static unowned GLib.List get_server_caps ();
+       public static GLib.List<string> get_server_caps ();
        [CCode (cheader_filename = "libnotify/notify.h")]
        public static bool get_server_info (out unowned string ret_name, out unowned string ret_vendor, out 
unowned string ret_version, out unowned string ret_spec_version);
        [CCode (cheader_filename = "libnotify/notify.h")]
diff --git a/vapi/packages/libnotify/libnotify.metadata b/vapi/packages/libnotify/libnotify.metadata
index 6c0b8ed..f742e6e 100644
--- a/vapi/packages/libnotify/libnotify.metadata
+++ b/vapi/packages/libnotify/libnotify.metadata
@@ -2,6 +2,7 @@ Notify cheader_filename="libnotify/notify.h"
 
 NotifyActionCallback has_target="1"
 NotifyActionCallback.p3 hidden="1"
+notify_get_server_caps transfer_ownership="1" type_arguments="string"
 notify_notification_add_action.callback transfer_ownership="1"
 notify_notification_add_action.free_func hidden="1"
 notify_notification_new.body nullable="1"


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