diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-03-04 05:55:52 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-04-22 18:21:13 +0800 |
commit | 6927542d43fc5f22899d9a6824e5310864739550 (patch) | |
tree | ba6a4ed6999215844903b30a8710edd358302c23 /python/pyempathy/pyempathy.override | |
parent | ddf0c595150816eaaaaaf92852d32baa306e88b4 (diff) | |
download | gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.gz gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.bz2 gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.lz gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.xz gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.tar.zst gsoc2013-empathy-6927542d43fc5f22899d9a6824e5310864739550.zip |
Update python binding
Diffstat (limited to 'python/pyempathy/pyempathy.override')
-rw-r--r-- | python/pyempathy/pyempathy.override | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/python/pyempathy/pyempathy.override b/python/pyempathy/pyempathy.override index 72d7ccb0e..e4c99086c 100644 --- a/python/pyempathy/pyempathy.override +++ b/python/pyempathy/pyempathy.override @@ -7,7 +7,6 @@ headers #include "empathy-chatroom.h" #include "empathy-chatroom-manager.h" #include "empathy-contact.h" -#include "empathy-contact-factory.h" #include "empathy-contact-groups.h" #include "empathy-contact-list.h" #include "empathy-contact-manager.h" @@ -29,7 +28,6 @@ headers #include "empathy-tp-contact-factory.h" #include "empathy-tp-contact-list.h" #include "empathy-tp-file.h" -#include "empathy-tp-group.h" #include "empathy-tp-roomlist.h" #include "empathy-tp-tube.h" #include "empathy-tube-handler.h" @@ -66,25 +64,3 @@ _wrap_empathy_contact_list_get_members(PyGObject *self, PyObject *args, PyObject } %% -override empathy_dispatcher_chat_with_contact_id kwargs -static PyObject * -_wrap_empathy_dispatcher_chat_with_contact_id(PyObject *self, PyObject *args, PyObject *kwargs) -{ - static char *kwlist[] = { "account_id", "contact_id", NULL }; - char *account_id, *contact_id; - McAccount *account; - - if (!PyArg_ParseTupleAndKeywords(args, kwargs,"ss:dispatcher_chat_with_contact_id", kwlist, &account_id, &contact_id)) - return NULL; - - account = mc_account_lookup (account_id); - if (account) { - empathy_dispatcher_chat_with_contact_id(account, contact_id, - NULL, NULL); - g_object_unref (account); - } - - Py_INCREF(Py_None); - return Py_None; -} -%% |