aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-02-03 17:03:13 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-02-03 17:03:13 +0800
commitee3081ae4ceb5c95bc8de4cf644784b07c63b9cf (patch)
treeca8d90b46f83bdb59f4f3e49a28ad456416c0868 /python
parent47db366a90c6177a13e16aa519903aa4e79e6b9f (diff)
downloadgsoc2013-empathy-ee3081ae4ceb5c95bc8de4cf644784b07c63b9cf.tar
gsoc2013-empathy-ee3081ae4ceb5c95bc8de4cf644784b07c63b9cf.tar.gz
gsoc2013-empathy-ee3081ae4ceb5c95bc8de4cf644784b07c63b9cf.tar.bz2
gsoc2013-empathy-ee3081ae4ceb5c95bc8de4cf644784b07c63b9cf.tar.lz
gsoc2013-empathy-ee3081ae4ceb5c95bc8de4cf644784b07c63b9cf.tar.xz
gsoc2013-empathy-ee3081ae4ceb5c95bc8de4cf644784b07c63b9cf.tar.zst
gsoc2013-empathy-ee3081ae4ceb5c95bc8de4cf644784b07c63b9cf.zip
Update python bindings
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2389
Diffstat (limited to 'python')
-rw-r--r--python/pyempathy/pyempathy.defs23
1 files changed, 23 insertions, 0 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 62c1d75a9..46ed3ca38 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -1073,6 +1073,18 @@
(return-type "GType")
)
+(define-method create_channel
+ (of-object "EmpathyDispatcher")
+ (c-name "empathy_dispatcher_create_channel")
+ (return-type "none")
+ (parameters
+ '("McAccount*" "account")
+ '("GHashTable*" "request")
+ '("EmpathyDispatcherRequestCb*" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
(define-function dispatcher_call_with_contact
(c-name "empathy_dispatcher_call_with_contact")
(return-type "none")
@@ -1129,6 +1141,17 @@
)
)
+(define-method find_channel_class
+ (of-object "EmpathyDispatcher")
+ (c-name "empathy_dispatcher_find_channel_class")
+ (return-type "GStrv")
+ (parameters
+ '("McAccount*" "account")
+ '("const-gchar*" "channel_type")
+ '("guint" "handle_type")
+ )
+)
+
(define-function dispatcher_dup_singleton
(c-name "empathy_dispatcher_dup_singleton")
(return-type "EmpathyDispatcher*")