]> git.0d.be Git - empathy.git/commitdiff
update Python bindings
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 5 Jun 2009 13:47:55 +0000 (14:47 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 9 Jun 2009 09:18:06 +0000 (10:18 +0100)
python/pyempathy/pyempathy.defs

index 02c8dad1978c40e43da88298f455e6a3ca048c08..4ea33958822abd5078b9c274b49d044f56c98e9d 100644 (file)
   (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
 )
 
-(define-object TpTube
-  (in-module "Empathy")
-  (parent "GObject")
-  (c-name "EmpathyTpTube")
-  (gtype-id "EMPATHY_TYPE_TP_TUBE")
-)
-
 (define-object TubeHandler
   (in-module "Empathy")
   (parent "GObject")
 
 
 
-;; From empathy-tp-tube.h
-
-(define-function tp_tube_get_type
-  (c-name "empathy_tp_tube_get_type")
-  (return-type "GType")
-)
-
-(define-function tp_tube_new
-  (c-name "empathy_tp_tube_new")
-  (is-constructor-of "EmpathyTpTube")
-  (return-type "EmpathyTpTube*")
-  (parameters
-    '("TpChannel*" "channel")
-  )
-)
-
-(define-function tp_tube_new_stream_tube
-  (c-name "empathy_tp_tube_new_stream_tube")
-  (return-type "EmpathyTpTube*")
-  (parameters
-    '("EmpathyContact*" "contact")
-    '("TpSocketAddressType" "type")
-    '("const-gchar*" "hostname")
-    '("guint" "port")
-    '("const-gchar*" "service")
-    '("GHashTable*" "parameters")
-  )
-)
-
-(define-method accept_stream_tube
-  (of-object "EmpathyTpTube")
-  (c-name "empathy_tp_tube_accept_stream_tube")
-  (return-type "none")
-  (parameters
-    '("TpSocketAddressType" "type")
-    '("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")
-  )
-)
-
-
-
 ;; From empathy-tube-handler.h
 
 (define-function tube_handler_get_type