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/examples/example-service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/examples/example-service.py') diff --git a/python/examples/example-service.py b/python/examples/example-service.py index ceb7f11d..974f8b1d 100644 --- a/python/examples/example-service.py +++ b/python/examples/example-service.py @@ -5,7 +5,7 @@ import gtk class SomeObject(dbus.Object): def __init__(self, service): - dbus.Object.__init__(self, "/SomeObject", [self.HelloWorld], service) + dbus.Object.__init__(self, "/SomeObject", service, [self.HelloWorld]) def HelloWorld(self, hello_message): print (hello_message) -- cgit