diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-07 00:47:53 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-07 00:47:53 +0800 |
commit | b3d5fed470b835055a1def11d4fda0b88e800aef (patch) | |
tree | b688adcacddd1e93fdcdc0f0ded5dc4af4bdf46e /python | |
parent | 06386eefb32c3fecba36fc0ca41ad6cdf2b23205 (diff) | |
download | gsoc2013-empathy-b3d5fed470b835055a1def11d4fda0b88e800aef.tar gsoc2013-empathy-b3d5fed470b835055a1def11d4fda0b88e800aef.tar.gz gsoc2013-empathy-b3d5fed470b835055a1def11d4fda0b88e800aef.tar.bz2 gsoc2013-empathy-b3d5fed470b835055a1def11d4fda0b88e800aef.tar.lz gsoc2013-empathy-b3d5fed470b835055a1def11d4fda0b88e800aef.tar.xz gsoc2013-empathy-b3d5fed470b835055a1def11d4fda0b88e800aef.tar.zst gsoc2013-empathy-b3d5fed470b835055a1def11d4fda0b88e800aef.zip |
Update Python bindings.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2061 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'python')
-rw-r--r-- | python/pyempathy/pyempathy.defs | 41 | ||||
-rw-r--r-- | python/pyempathy/pyempathy.override | 2 | ||||
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 5 |
3 files changed, 48 insertions, 0 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index 1cf0b69dd..f8b552c20 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -244,6 +244,15 @@ (return-type "int") ) +(define-method is_account_just_connected + (of-object "EmpathyAccountManager") + (c-name "empathy_account_manager_is_account_just_connected") + (return-type "gboolean") + (parameters + '("McAccount*" "account") + ) +) + ;; From empathy-chatroom.h @@ -892,6 +901,12 @@ ) ) +(define-method get_monitor + (of-object "EmpathyContactList") + (c-name "empathy_contact_list_get_monitor") + (return-type "EmpathyContactMonitor*") +) + ;; From empathy-contact-manager.h @@ -916,6 +931,15 @@ ) ) +(define-method can_add + (of-object "EmpathyContactManager") + (c-name "empathy_contact_manager_can_add") + (return-type "gboolean") + (parameters + '("McAccount*" "account") + ) +) + ;; From empathy-debug.h @@ -1916,6 +1940,12 @@ (return-type "McAccount*") ) +(define-method can_add + (of-object "EmpathyTpContactList") + (c-name "empathy_tp_contact_list_can_add") + (return-type "gboolean") +) + ;; From empathy-tp-file.h @@ -2153,6 +2183,12 @@ (return-type "none") ) +(define-method get_flags + (of-object "EmpathyTpGroup") + (c-name "empathy_tp_group_get_flags") + (return-type "TpChannelGroupFlags") +) + ;; From empathy-tp-roomlist.h @@ -2280,6 +2316,11 @@ ;; From empathy-utils.h +(define-function init + (c-name "empathy_init") + (return-type "none") +) + (define-function substring (c-name "empathy_substring") (return-type "gchar*") diff --git a/python/pyempathy/pyempathy.override b/python/pyempathy/pyempathy.override index 32b1e3e76..c90e69b7d 100644 --- a/python/pyempathy/pyempathy.override +++ b/python/pyempathy/pyempathy.override @@ -2,6 +2,7 @@ headers #include <Python.h> #include <pygobject.h> +#include "empathy-account-manager.h" #include "empathy-chatroom.h" #include "empathy-chatroom-manager.h" #include "empathy-contact.h" @@ -9,6 +10,7 @@ headers #include "empathy-contact-groups.h" #include "empathy-contact-list.h" #include "empathy-contact-manager.h" +#include "empathy-contact-monitor.h" #include "empathy-debug.h" #include "empathy-dispatcher.h" #include "empathy-enum-types.h" diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 18941abae..90bfa0c2f 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -1504,6 +1504,11 @@ ;; From empathy-ui-utils.h +(define-function gtk_init + (c-name "empathy_gtk_init") + (return-type "none") +) + (define-function glade_get_file_simple (c-name "empathy_glade_get_file_simple") (return-type "none") |