diff options
author | Simon McVittie <smcv@debian.org> | 2010-02-18 17:22:14 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2010-02-18 17:22:14 +0000 |
commit | ea197112c5601b0b527b933c3e1241a1bdb02f9f (patch) | |
tree | 81084a6ef793f4bdc9b6907be97e7c1dfe24ec94 | |
parent | 1c9d2019260b38f7ee2eef1f73d07c0620ba51f2 (diff) | |
download | dbus-python-ea197112c5601b0b527b933c3e1241a1bdb02f9f.tar.gz |
Fix signature and return value of Connection_tp_init (oops)
-rw-r--r-- | _dbus_bindings/conn.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/_dbus_bindings/conn.c b/_dbus_bindings/conn.c index 5a8ec0b..e7c5338 100644 --- a/_dbus_bindings/conn.c +++ b/_dbus_bindings/conn.c @@ -344,8 +344,10 @@ Connection_tp_new(PyTypeObject *cls, PyObject *args, PyObject *kwargs) /* Post-construction: nothing to do (but don't chain up to object.__init__, * which takes no arguments and does nothing) */ static int -Connection_tp_init(PyTypeObject *cls, PyObject *args, PyObject *kwargs) +Connection_tp_init(PyObject *self UNUSED, PyObject *args UNUSED, + PyObject *kwargs UNUSED) { + return 0; } /* Destructor */ |