aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-20 05:04:33 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-20 05:04:33 +0800
commitd382b95be7bf4570d1d9ee5f6ef0a4d1095d6fbf (patch)
tree0b71715b6fcff80b332bec78d4ff3d0f071a11c1
parent245a1ca1c3dd5a1d90ab56b0c7374ef346caec68 (diff)
downloadgsoc2013-empathy-d382b95be7bf4570d1d9ee5f6ef0a4d1095d6fbf.tar
gsoc2013-empathy-d382b95be7bf4570d1d9ee5f6ef0a4d1095d6fbf.tar.gz
gsoc2013-empathy-d382b95be7bf4570d1d9ee5f6ef0a4d1095d6fbf.tar.bz2
gsoc2013-empathy-d382b95be7bf4570d1d9ee5f6ef0a4d1095d6fbf.tar.lz
gsoc2013-empathy-d382b95be7bf4570d1d9ee5f6ef0a4d1095d6fbf.tar.xz
gsoc2013-empathy-d382b95be7bf4570d1d9ee5f6ef0a4d1095d6fbf.tar.zst
gsoc2013-empathy-d382b95be7bf4570d1d9ee5f6ef0a4d1095d6fbf.zip
Update python binding
svn path=/trunk/; revision=991
-rw-r--r--python/pyempathy/pyempathy.defs80
-rwxr-xr-xpython/update-binding.sh2
2 files changed, 15 insertions, 67 deletions
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 \