[vala] gobject-2.0: Add g_object_notify binding
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] gobject-2.0: Add g_object_notify binding
- Date: Sun, 27 Sep 2009 18:36:40 +0000 (UTC)
commit 0d0e8a786f330fd2a536bb43e3ad553b54fd18b8
Author: Mark Lee <marklee src gnome org>
Date: Tue Sep 22 10:21:25 2009 -0700
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.
vapi/gobject-2.0.vapi | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 252f355..7018601 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, ...);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]