aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathy/pyempathy.defs
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyempathy/pyempathy.defs')
-rw-r--r--python/pyempathy/pyempathy.defs11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 6b6f7dfd3..003564bc5 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -282,6 +282,17 @@
(c-name "empathy_account_manager_create")
(return-type "EmpathyAccount*")
(parameters
+ '("const-gchar*" "connection_manager")
+ '("const-gchar*" "protocol")
+ '("const-gchar*" "display_name")
+ )
+)
+
+(define-method create_by_profile
+ (of-object "EmpathyAccountManager")
+ (c-name "empathy_account_manager_create_by_profile")
+ (return-type "EmpathyAccount*")
+ (parameters
'("McProfile*" "profile")
)
)