aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-22 00:49:48 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-22 17:06:27 +0800
commit49b228b4d8f488cf667a6b2ba110eba20fb9e73a (patch)
treee17a3bf93515e727f57f5ed6e504390b2948f286 /python
parent3f2af5f3ac6fc862cb99fb8dac2df69b9a82a152 (diff)
downloadgsoc2013-empathy-49b228b4d8f488cf667a6b2ba110eba20fb9e73a.tar
gsoc2013-empathy-49b228b4d8f488cf667a6b2ba110eba20fb9e73a.tar.gz
gsoc2013-empathy-49b228b4d8f488cf667a6b2ba110eba20fb9e73a.tar.bz2
gsoc2013-empathy-49b228b4d8f488cf667a6b2ba110eba20fb9e73a.tar.lz
gsoc2013-empathy-49b228b4d8f488cf667a6b2ba110eba20fb9e73a.tar.xz
gsoc2013-empathy-49b228b4d8f488cf667a6b2ba110eba20fb9e73a.tar.zst
gsoc2013-empathy-49b228b4d8f488cf667a6b2ba110eba20fb9e73a.zip
update python bindings
Diffstat (limited to 'python')
-rw-r--r--python/pyempathy/pyempathy.defs60
1 files changed, 60 insertions, 0 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 66a269784..09849b986 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -396,6 +396,66 @@
)
)
+(define-method get_subject
+ (of-object "EmpathyChatroom")
+ (c-name "empathy_chatroom_get_subject")
+ (return-type "const-gchar*")
+)
+
+(define-method set_subject
+ (of-object "EmpathyChatroom")
+ (c-name "empathy_chatroom_set_subject")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "subject")
+ )
+)
+
+(define-method get_members_count
+ (of-object "EmpathyChatroom")
+ (c-name "empathy_chatroom_get_members_count")
+ (return-type "guint")
+)
+
+(define-method set_members_count
+ (of-object "EmpathyChatroom")
+ (c-name "empathy_chatroom_set_members_count")
+ (return-type "none")
+ (parameters
+ '("guint" "count")
+ )
+)
+
+(define-method get_need_password
+ (of-object "EmpathyChatroom")
+ (c-name "empathy_chatroom_get_need_password")
+ (return-type "gboolean")
+)
+
+(define-method set_need_password
+ (of-object "EmpathyChatroom")
+ (c-name "empathy_chatroom_set_need_password")
+ (return-type "none")
+ (parameters
+ '("gboolean" "need_password")
+ )
+)
+
+(define-method get_invite_only
+ (of-object "EmpathyChatroom")
+ (c-name "empathy_chatroom_get_invite_only")
+ (return-type "gboolean")
+)
+
+(define-method set_invite_only
+ (of-object "EmpathyChatroom")
+ (c-name "empathy_chatroom_set_invite_only")
+ (return-type "none")
+ (parameters
+ '("gboolean" "invite_only")
+ )
+)
+
(define-function chatroom_equal
(c-name "empathy_chatroom_equal")
(return-type "gboolean")