From a7a3d06382221395b11de78c8ea0687c63923b35 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 7 May 2009 18:47:30 +0100 Subject: upgrade Python bindings --- python/pyempathy/pyempathy.defs | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'python/pyempathy') 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") ) ) -- cgit v1.2.3