From: Mark Lee Date: Tue, 22 Sep 2009 17:21:25 +0000 (-0700) Subject: gobject-2.0: Add g_object_notify binding X-Git-Tag: 0.7.7~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d0e8a786f330fd2a536bb43e3ad553b54fd18b8;p=thirdparty%2Fvala.git gobject-2.0: Add g_object_notify binding Adds a binding for g_object_notify(), named Object.notify_property. It is named differently because of the pre-existing "notify" signal, which has a different signature. Fixes bug 562486. --- diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index 252f35584..701860184 100644 --- a/vapi/gobject-2.0.vapi +++ b/vapi/gobject-2.0.vapi @@ -215,6 +215,8 @@ namespace GLib { public virtual void constructed (); public signal void notify (ParamSpec pspec); + [CCode (cname = "g_object_notify")] + public void notify_property (string property_name); public weak Object connect (string signal_spec, ...);