X-Git-Url: https://git.0d.be/?p=empathy.git;a=blobdiff_plain;f=python%2Fpyempathy%2Fpyempathy.override;fp=python%2Fpyempathy%2Fpyempathy.override;h=0000000000000000000000000000000000000000;hp=a96c7c6f3ce67ebfed3d9bee7bcc76b1766ab6a2;hb=6496713f0997ab90e7ee686819640b22b4911aea;hpb=90469882929d06151352d3d8e8b0e6a1f5229905 diff --git a/python/pyempathy/pyempathy.override b/python/pyempathy/pyempathy.override deleted file mode 100644 index a96c7c6f..00000000 --- a/python/pyempathy/pyempathy.override +++ /dev/null @@ -1,71 +0,0 @@ -%% -headers -#include -#include -#include "empathy-account-manager.h" -#include "empathy-account-settings.h" -#include "empathy-call-factory.h" -#include "empathy-chatroom.h" -#include "empathy-chatroom-manager.h" -#include "empathy-connection-managers.h" -#include "empathy-connectivity.h" -#include "empathy-contact.h" -#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-debugger.h" -#include "empathy-dispatcher.h" -#include "empathy-enum-types.h" -#include "empathy-ft-factory.h" -#include "empathy-ft-handler.h" -#include "empathy-idle.h" -#include "empathy-irc-network.h" -#include "empathy-irc-network-manager.h" -#include "empathy-irc-server.h" -#include "empathy-log-manager.h" -#include "empathy-log-store-empathy.h" -#include "empathy-message.h" -#include "empathy-status-presets.h" -#include "empathy-time.h" -#include "empathy-tp-call.h" -#include "empathy-tp-chat.h" -#include "empathy-tp-contact-factory.h" -#include "empathy-tp-contact-list.h" -#include "empathy-tp-file.h" -#include "empathy-tp-roomlist.h" -#include "empathy-tube-handler.h" -#include "empathy-utils.h" - -void empathy_add_constants(PyObject *module, const gchar *strip_prefix); -void empathy_register_classes(PyObject *d); - -%% -modulename empathy -%% -ignore-glob - *_get_type -%% -import gobject.GObject as PyGObject_Type -%% -override empathy_contact_list_get_members kwargs -static PyObject * -_wrap_empathy_contact_list_get_members(PyGObject *self, PyObject *args, PyObject *kwargs) -{ - - PyObject *py_contacts = PyList_New(0); - GList *l, *contacts; - - contacts = empathy_contact_list_get_members(EMPATHY_CONTACT_LIST(self->obj)); - - for (l = contacts; l; l = l->next) { - EmpathyContact *contact; - contact = l->data; - PyList_Append(py_contacts, pygobject_new((GObject *) contact)); - } - - return py_contacts; - -} -%%