aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:47:15 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:47:15 +0800
commitf154530d5eb65cbe2f1af899e0b30d7b665f7575 (patch)
treed430eb39a13185985876f778bf627bb788db2d3b /python/pyempathy
parent04632e685717adae2f35e8e2daf5345d035c5320 (diff)
downloadgsoc2013-empathy-f154530d5eb65cbe2f1af899e0b30d7b665f7575.tar
gsoc2013-empathy-f154530d5eb65cbe2f1af899e0b30d7b665f7575.tar.gz
gsoc2013-empathy-f154530d5eb65cbe2f1af899e0b30d7b665f7575.tar.bz2
gsoc2013-empathy-f154530d5eb65cbe2f1af899e0b30d7b665f7575.tar.lz
gsoc2013-empathy-f154530d5eb65cbe2f1af899e0b30d7b665f7575.tar.xz
gsoc2013-empathy-f154530d5eb65cbe2f1af899e0b30d7b665f7575.tar.zst
gsoc2013-empathy-f154530d5eb65cbe2f1af899e0b30d7b665f7575.zip
Update python bindings.
svn path=/trunk/; revision=2049
Diffstat (limited to 'python/pyempathy')
-rw-r--r--python/pyempathy/pyempathy.defs53
1 files changed, 34 insertions, 19 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 918df4711..1cf0b69dd 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -1,5 +1,12 @@
;; -*- scheme -*-
; object definitions ...
+(define-object AccountManager
+ (in-module "Empathy")
+ (parent "GObject")
+ (c-name "EmpathyAccountManager")
+ (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
+)
+
(define-object Chatroom
(in-module "Empathy")
(parent "GObject")
@@ -212,6 +219,33 @@
)
+;; From empathy-account-manager.h
+
+(define-function account_manager_get_type
+ (c-name "empathy_account_manager_get_type")
+ (return-type "GType")
+)
+
+(define-function account_manager_new
+ (c-name "empathy_account_manager_new")
+ (is-constructor-of "EmpathyAccountManager")
+ (return-type "EmpathyAccountManager*")
+)
+
+(define-method get_connected_accounts
+ (of-object "EmpathyAccountManager")
+ (c-name "empathy_account_manager_get_connected_accounts")
+ (return-type "int")
+)
+
+(define-method get_connecting_accounts
+ (of-object "EmpathyAccountManager")
+ (c-name "empathy_account_manager_get_connecting_accounts")
+ (return-type "int")
+)
+
+
+
;; From empathy-chatroom.h
(define-function chatroom_get_type
@@ -2396,25 +2430,6 @@
)
)
-(define-function connect_to_account_status_changed
- (c-name "empathy_connect_to_account_status_changed")
- (return-type "gpointer")
- (parameters
- '("MissionControl*" "mc")
- '("GCallback" "handler")
- '("gpointer" "user_data")
- '("GClosureNotify" "free_func")
- )
-)
-
-(define-function disconnect_account_status_changed
- (c-name "empathy_disconnect_account_status_changed")
- (return-type "none")
- (parameters
- '("gpointer" "token")
- )
-)
-
(define-function proxy_equal
(c-name "empathy_proxy_equal")
(return-type "gboolean")