From d027c9937534e3f49564e9c30c37421f8138c562 Mon Sep 17 00:00:00 2001 From: Seth Nickell Date: Sun, 30 May 2004 08:20:58 +0000 Subject: 2004-05-30 Seth Nickell * python/dbus.py: Add a nicer-but-less-flexible alternate API for handling calls to virtual objects in dbus.ObjectTree. Screw up the argument order to the dbus.Object constructor for consistency with dbus.ObjectTree (and to make dbus_methods optional for future extension) * python/examples/Makefile.am: * python/examples/gconf-proxy-service.py: * python/examples/gconf-proxy-service2.py: Alternate implementation of gconf-proxy-service using the nicer dbus.ObjectTree API. * python/examples/example-service.py: * python/tests/test-server.py Reverse the argument order to deal with dbus.Object constructor changes. --- python/tests/test-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/tests') diff --git a/python/tests/test-server.py b/python/tests/test-server.py index 2af685bc..235da701 100644 --- a/python/tests/test-server.py +++ b/python/tests/test-server.py @@ -4,7 +4,7 @@ import gtk class TestObject(dbus.Object): def __init__(self, service): method_list = [ self.Echo ] - dbus.Object.__init__(self, "/TestObject", method_list, service) + dbus.Object.__init__(self, "/TestObject", service, method_list) def Echo(self, variable): return variable -- cgit