]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
bindings: update libnotify binding
authorRyan Lortie <desrt@desrt.ca>
Thu, 24 Oct 2013 20:48:00 +0000 (16:48 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 24 Oct 2013 20:52:27 +0000 (16:52 -0400)
Also add a new metadata for _get_server_caps() return value

https://bugzilla.gnome.org/show_bug.cgi?id=710838

vapi/libnotify.vapi
vapi/packages/libnotify/libnotify.metadata

index 1b49a0be8eb0c8ceecadaccc0d18e42f34862977..c5a67511cf2e1a1ce7d3762038ea7727f0c0b866 100644 (file)
@@ -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")]
index 6c0b8ed541247f334d80413107e21f3f4deaa88f..f742e6ef0181158f3eba6490d7589d3dfc86027d 100644 (file)
@@ -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"