From: Jürg Billeter Date: Sat, 7 Mar 2009 17:19:11 +0000 (+0100) Subject: libnotify: Fix notify_notification_new binding X-Git-Tag: 0.6.0~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=810202c6a98dd88b28848639ad089e9769f9f2cd;p=thirdparty%2Fvala.git libnotify: Fix notify_notification_new binding --- diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi index c2dcc081b..5ba1bff62 100644 --- a/vapi/libnotify.vapi +++ b/vapi/libnotify.vapi @@ -11,7 +11,7 @@ namespace Notify { public void clear_hints (); public bool close () throws GLib.Error; [CCode (has_construct_function = false)] - public Notification (string summary, string body, string icon, Gtk.Widget attach); + public Notification (string summary, string? body, string? icon, Gtk.Widget? attach); public void set_category (string category); public void set_geometry_hints (Gdk.Screen screen, int x, int y); public void set_hint_byte (string key, uchar value); diff --git a/vapi/packages/libnotify/libnotify.metadata b/vapi/packages/libnotify/libnotify.metadata index a36d130c4..6c0b8ed54 100644 --- a/vapi/packages/libnotify/libnotify.metadata +++ b/vapi/packages/libnotify/libnotify.metadata @@ -4,4 +4,7 @@ NotifyActionCallback has_target="1" NotifyActionCallback.p3 hidden="1" notify_notification_add_action.callback transfer_ownership="1" notify_notification_add_action.free_func hidden="1" +notify_notification_new.body nullable="1" +notify_notification_new.icon nullable="1" +notify_notification_new.attach nullable="1"