]> git.0d.be Git - empathy.git/commitdiff
Update python binding
authorXavier Claessens <xclaesse@src.gnome.org>
Sat, 19 Apr 2008 21:04:33 +0000 (21:04 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sat, 19 Apr 2008 21:04:33 +0000 (21:04 +0000)
svn path=/trunk/; revision=991

python/pyempathy/pyempathy.defs
python/update-binding.sh

index e77e0a9381c257451a112bcddc2b76951e17d7f1..99e0680675ab88842b9f6101da64fb6732141ab4 100644 (file)
@@ -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")
   (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")
   (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")
 
 
 
-;; 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
index 9e536a5c96016959c7ee793536d44f5853d672e5..4f780aedc77afbee6b688a1147894b2650c41902 100755 (executable)
@@ -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           \