]> git.0d.be Git - empathy.git/commitdiff
upgrade Python bindings
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 7 May 2009 17:47:30 +0000 (18:47 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 7 May 2009 17:47:30 +0000 (18:47 +0100)
python/pyempathy/pyempathy.defs

index 6f8f0f65d47982eaadcfda3567aabbab7a19ceac..2f522eb07107cae11160c4f2cec2c6d73b798603 100644 (file)
     '("irc" "EMPATHY_DEBUG_IRC")
     '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
     '("ft" "EMPATHY_DEBUG_FT")
+    '("location" "EMPATHY_DEBUG_LOCATION")
     '("other" "EMPATHY_DEBUG_OTHER")
   )
 )
   )
 )
 
+(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
   )
 )
 
+(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
   (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")
   )
 )