summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Finlay <finlay@src.gnome.org>2006-07-05 20:29:47 +0000
committerJohn Finlay <finlay@src.gnome.org>2006-07-05 20:29:47 +0000
commit2204d5be0b4dcc8f92e18775377f89b1e7a5d9f5 (patch)
treebf13a8272b3e50776f365b1189245e6485832b8f
parent3280a61fde3a06ac10ba5756ec69b605dec64964 (diff)
downloadpygtk-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--ChangeLog3
-rw-r--r--atk.defs6
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b27a92b..7aaf86ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/atk.defs b/atk.defs
index 2ff65983..ffd1af9f 100644
--- a/atk.defs
+++ b/atk.defs
@@ -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