]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gobject-2.0: Add g_object_notify binding
authorMark Lee <marklee@src.gnome.org>
Tue, 22 Sep 2009 17:21:25 +0000 (10:21 -0700)
committerJürg Billeter <j@bitron.ch>
Sun, 27 Sep 2009 18:29:43 +0000 (20:29 +0200)
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.

vapi/gobject-2.0.vapi

index 252f35584198bd169dd0c8314e782188ccf04f1e..701860184717c515def442f3f3a759a2efebbac5 100644 (file)
@@ -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, ...);