diff options
author | John Finlay <finlay@src.gnome.org> | 2006-07-05 20:29:47 +0000 |
---|---|---|
committer | John Finlay <finlay@src.gnome.org> | 2006-07-05 20:29:47 +0000 |
commit | 2204d5be0b4dcc8f92e18775377f89b1e7a5d9f5 (patch) | |
tree | bf13a8272b3e50776f365b1189245e6485832b8f | |
parent | 3280a61fde3a06ac10ba5756ec69b605dec64964 (diff) | |
download | pygtk-2204d5be0b4dcc8f92e18775377f89b1e7a5d9f5.tar.gz |
Define as function instead of method.
* atk.defs (atk_relation_type_get_name): Define as function instead
of method.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | atk.defs | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2006-07-05 John Finlay <finlay@moeraki.com> + * atk.defs (atk_relation_type_get_name): Define as function instead + of method. + * atk.override (_wrap_atk_relation_get_target): Add. (_wrap_atk_relation_new): Raise ValueError if targets is zero length. @@ -808,10 +808,12 @@ ) ) -(define-method get_name - (of-object "AtkRelationType") +(define-function relation_type_get_name (c-name "atk_relation_type_get_name") (return-type "const-gchar*") + (parameters + '("AtkRelationType" "relationship") + ) ) (define-function relation_type_for_name |