From d382b95be7bf4570d1d9ee5f6ef0a4d1095d6fbf Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 19 Apr 2008 21:04:33 +0000 Subject: Update python binding svn path=/trunk/; revision=991 --- python/pyempathy/pyempathy.defs | 80 ++++++++--------------------------------- python/update-binding.sh | 2 -- 2 files changed, 15 insertions(+), 67 deletions(-) (limited to 'python') diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index e77e0a938..99e068067 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -1,12 +1,5 @@ ;; -*- scheme -*- ; object definitions ... -(define-object Chandler - (in-module "Empathy") - (parent "GObject") - (c-name "EmpathyChandler") - (gtype-id "EMPATHY_TYPE_CHANDLER") -) - (define-object Chatroom (in-module "Empathy") (parent "GObject") @@ -49,13 +42,6 @@ (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER") ) -(define-object Filter - (in-module "Empathy") - (parent "GObject") - (c-name "EmpathyFilter") - (gtype-id "EMPATHY_TYPE_FILTER") -) - (define-object Idle (in-module "Empathy") (parent "GObject") @@ -1623,6 +1609,21 @@ (return-type "guint") ) +(define-method set_acknowledge + (of-object "EmpathyTpChat") + (c-name "empathy_tp_chat_set_acknowledge") + (return-type "none") + (parameters + '("gboolean" "acknowledge") + ) +) + +(define-method emit_pendings + (of-object "EmpathyTpChat") + (c-name "empathy_tp_chat_emit_pendings") + (return-type "none") +) + (define-method send (of-object "EmpathyTpChat") (c-name "empathy_tp_chat_send") @@ -1826,57 +1827,6 @@ -;; From empathy-chandler.h - -(define-function empathy_chandler_get_type - (c-name "empathy_chandler_get_type") - (return-type "GType") -) - -(define-function empathy_chandler_new - (c-name "empathy_chandler_new") - (is-constructor-of "EmpathyChandler") - (return-type "EmpathyChandler*") - (parameters - '("const-gchar*" "bus_name") - '("const-gchar*" "object_path") - ) -) - - - -;; From empathy-filter.h - -(define-function empathy_filter_get_type - (c-name "empathy_filter_get_type") - (return-type "GType") -) - -(define-function empathy_filter_new - (c-name "empathy_filter_new") - (is-constructor-of "EmpathyFilter") - (return-type "EmpathyFilter*") - (parameters - '("const-gchar*" "bus_name") - '("const-gchar*" "object_path") - '("const-gchar*" "channel_type") - '("guint" "priority") - '("guint" "flags") - ) -) - -(define-method process - (of-object "EmpathyFilter") - (c-name "empathy_filter_process") - (return-type "none") - (parameters - '("TpChannel*" "channel") - '("gboolean" "process") - ) -) - - - ;; From empathy-idle.h (define-function empathy_idle_get_type diff --git a/python/update-binding.sh b/python/update-binding.sh index 9e536a5c9..4f780aedc 100755 --- a/python/update-binding.sh +++ b/python/update-binding.sh @@ -24,8 +24,6 @@ python /usr/share/pygtk/2.0/codegen/h2def.py \ empathy-tp-roomlist.h \ empathy-tp-call.h \ empathy-tp-tube.h \ - empathy-chandler.h \ - empathy-filter.h \ empathy-idle.h \ empathy-log-manager.h \ empathy-irc-network-manager.h \ -- cgit v1.2.3