aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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*")