From: Ryan Lortie Date: Thu, 24 Oct 2013 20:48:00 +0000 (-0400) Subject: bindings: update libnotify binding X-Git-Tag: 0.22.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90901ec7f179e9c180b473f165f7d6532ed58d20;p=thirdparty%2Fvala.git bindings: update libnotify binding Also add a new metadata for _get_server_caps() return value https://bugzilla.gnome.org/show_bug.cgi?id=710838 --- diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi index 1b49a0be8..c5a67511c 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 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 6c0b8ed54..f742e6ef0 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"