[vala] libnotify: Fix notify_notification_new binding
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] libnotify: Fix notify_notification_new binding
- Date: Sat, 7 Mar 2009 12:19:30 -0500 (EST)
commit 810202c6a98dd88b28848639ad089e9769f9f2cd
Author: Jürg Billeter <j bitron ch>
Date: Sat Mar 7 18:19:11 2009 +0100
libnotify: Fix notify_notification_new binding
---
vapi/libnotify.vapi | 2 +-
vapi/packages/libnotify/libnotify.metadata | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi
index c2dcc08..5ba1bff 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 a36d130..6c0b8ed 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]