diff options
Diffstat (limited to 'python/pyempathy')
-rw-r--r-- | python/pyempathy/pyempathy.defs | 62 | ||||
-rw-r--r-- | python/pyempathy/pyempathy.override | 1 |
2 files changed, 1 insertions, 62 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index 02c8dad19..ed19c7a96 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -183,13 +183,6 @@ (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") @@ -938,6 +931,7 @@ '("gsize" "len") '("gchar*" "format") '("gchar*" "token") + '("gchar*" "filename") ) ) @@ -2691,60 +2685,6 @@ -;; 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 diff --git a/python/pyempathy/pyempathy.override b/python/pyempathy/pyempathy.override index c985be7b6..6f46405a3 100644 --- a/python/pyempathy/pyempathy.override +++ b/python/pyempathy/pyempathy.override @@ -31,7 +31,6 @@ headers #include "empathy-tp-contact-list.h" #include "empathy-tp-file.h" #include "empathy-tp-roomlist.h" -#include "empathy-tp-tube.h" #include "empathy-tube-handler.h" #include "empathy-utils.h" |