[empathy] upgrade Python bindings



commit a7a3d06382221395b11de78c8ea0687c63923b35
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu May 7 18:47:30 2009 +0100

    upgrade Python bindings
---
 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 6f8f0f6..2f522eb 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")
   )
 )
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]