diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-08 01:47:30 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-08 01:47:30 +0800 |
commit | a7a3d06382221395b11de78c8ea0687c63923b35 (patch) | |
tree | 126e005b38e436c89e9a4b054d4468bb5567c517 /python | |
parent | accf2eaeb1f897c215ab634b9bd0c1d7b5c65b39 (diff) | |
download | gsoc2013-empathy-a7a3d06382221395b11de78c8ea0687c63923b35.tar gsoc2013-empathy-a7a3d06382221395b11de78c8ea0687c63923b35.tar.gz gsoc2013-empathy-a7a3d06382221395b11de78c8ea0687c63923b35.tar.bz2 gsoc2013-empathy-a7a3d06382221395b11de78c8ea0687c63923b35.tar.lz gsoc2013-empathy-a7a3d06382221395b11de78c8ea0687c63923b35.tar.xz gsoc2013-empathy-a7a3d06382221395b11de78c8ea0687c63923b35.tar.zst gsoc2013-empathy-a7a3d06382221395b11de78c8ea0687c63923b35.zip |
upgrade Python bindings
Diffstat (limited to 'python')
-rw-r--r-- | python/pyempathy/pyempathy.defs | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index 6f8f0f65d..2f522eb07 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -210,6 +210,7 @@ '("irc" "EMPATHY_DEBUG_IRC") '("dispatcher" "EMPATHY_DEBUG_DISPATCHER") '("ft" "EMPATHY_DEBUG_FT") + '("location" "EMPATHY_DEBUG_LOCATION") '("other" "EMPATHY_DEBUG_OTHER") ) ) @@ -907,6 +908,21 @@ ) ) +(define-method get_location + (of-object "EmpathyContact") + (c-name "empathy_contact_get_location") + (return-type "GHashTable*") +) + +(define-method set_location + (of-object "EmpathyContact") + (c-name "empathy_contact_set_location") + (return-type "none") + (parameters + '("GHashTable*" "location") + ) +) + ;; From empathy-contact-groups.h @@ -2290,6 +2306,15 @@ ) ) +(define-method set_location + (of-object "EmpathyTpContactFactory") + (c-name "empathy_tp_contact_factory_set_location") + (return-type "none") + (parameters + '("GHashTable*" "location") + ) +) + ;; From empathy-tp-contact-list.h @@ -2513,8 +2538,20 @@ (return-type "none") (parameters '("TpSocketAddressType" "type") - '("EmpatyTpTubeAcceptStreamTubeCb*" "callback") + '("EmpathyTpTubeAcceptStreamTubeCb*" "callback") + '("gpointer" "user_data") + ) +) + +(define-method call_when_ready + (of-object "EmpathyTpTube") + (c-name "empathy_tp_tube_call_when_ready") + (return-type "none") + (parameters + '("EmpathyTpTubeReadyCb*" "callback") '("gpointer" "user_data") + '("GDestroyNotify" "destroy") + '("GObject*" "weak_object") ) ) |