diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-05-18 22:27:44 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-05-18 22:27:44 +0800 |
commit | ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f (patch) | |
tree | 00f26f846d8df7206f581d4957116d80c4f8202e /python/pyempathy | |
parent | 7f7da422bd805bb0a44135c107f013882f5824dc (diff) | |
download | gsoc2013-empathy-ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f.tar gsoc2013-empathy-ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f.tar.gz gsoc2013-empathy-ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f.tar.bz2 gsoc2013-empathy-ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f.tar.lz gsoc2013-empathy-ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f.tar.xz gsoc2013-empathy-ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f.tar.zst gsoc2013-empathy-ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f.zip |
Improve dispatcher. Fixes bug #465928.
svn path=/trunk/; revision=1108
Diffstat (limited to 'python/pyempathy')
-rw-r--r-- | python/pyempathy/pyempathy.defs | 85 |
1 files changed, 51 insertions, 34 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index cc9ef339e..45e347175 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -498,40 +498,6 @@ (return-type "MissionControl*") ) -(define-function empathy_call_with_contact - (c-name "empathy_call_with_contact") - (return-type "none") - (parameters - '("EmpathyContact*" "contact") - ) -) - -(define-function empathy_call_with_contact_id - (c-name "empathy_call_with_contact_id") - (return-type "none") - (parameters - '("McAccount*" "account") - '("const-gchar*" "contact_id") - ) -) - -(define-function empathy_chat_with_contact - (c-name "empathy_chat_with_contact") - (return-type "none") - (parameters - '("EmpathyContact*" "contact") - ) -) - -(define-function empathy_chat_with_contact_id - (c-name "empathy_chat_with_contact_id") - (return-type "none") - (parameters - '("McAccount*" "account") - '("const-gchar*" "contact_id") - ) -) - (define-function empathy_presence_get_default_message (c-name "empathy_presence_get_default_message") (return-type "const-gchar*") @@ -612,6 +578,23 @@ ) ) +(define-function empathy_proxy_equal + (c-name "empathy_proxy_equal") + (return-type "gboolean") + (parameters + '("gconstpointer" "a") + '("gconstpointer" "b") + ) +) + +(define-function empathy_proxy_hash + (c-name "empathy_proxy_hash") + (return-type "guint") + (parameters + '("gconstpointer" "key") + ) +) + ;; From empathy-message.h @@ -2302,4 +2285,38 @@ ) ) +(define-function empathy_dispatcher_call_with_contact + (c-name "empathy_dispatcher_call_with_contact") + (return-type "none") + (parameters + '("EmpathyContact*" "contact") + ) +) + +(define-function empathy_dispatcher_call_with_contact_id + (c-name "empathy_dispatcher_call_with_contact_id") + (return-type "none") + (parameters + '("McAccount*" "account") + '("const-gchar*" "contact_id") + ) +) + +(define-function empathy_dispatcher_chat_with_contact_id + (c-name "empathy_dispatcher_chat_with_contact_id") + (return-type "none") + (parameters + '("McAccount*" "account") + '("const-gchar*" "contact_id") + ) +) + +(define-function empathy_dispatcher_chat_with_contact + (c-name "empathy_dispatcher_chat_with_contact") + (return-type "none") + (parameters + '("EmpathyContact*" "contact") + ) +) + |