diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-07-14 17:30:43 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-07-14 17:30:43 +0100 |
commit | a7e29e3dbab9651761fc9a7c3ec7fbc27c711286 (patch) | |
tree | e0852017ccb6e18ca27e6b398b2c589002a07b53 | |
parent | ee4c9f80cd6a6e839eeebd2e592e4793e9bb61a8 (diff) | |
download | dbus-python-a7e29e3dbab9651761fc9a7c3ec7fbc27c711286.tar.gz |
Actually create objects of class Server->conn_class
-rw-r--r-- | _dbus_bindings/server.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/_dbus_bindings/server.c b/_dbus_bindings/server.c index 048ef63..a7295a6 100644 --- a/_dbus_bindings/server.c +++ b/_dbus_bindings/server.c @@ -173,9 +173,10 @@ DBusPyServer_new_connection_cb(DBusServer *server, TRACE(method); if (method) { - conn_obj = DBusPyConnection_NewConsumingDBusConnection(&DBusPyConnection_Type, - dbus_connection_ref(conn), - ((Server*) self)->mainloop); + conn_obj = DBusPyConnection_NewConsumingDBusConnection( + ((Server *) self)->conn_class, + dbus_connection_ref(conn), + ((Server*) self)->mainloop); result = PyObject_CallFunctionObjArgs(method, conn_obj, NULL); } |