diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2005-07-15 18:09:59 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2005-07-15 18:09:59 +0000 |
commit | a89b13dd19740bd308a983650f49148c0bf6d58c (patch) | |
tree | 8c7663262c2d530141816240476b0889b298d4eb /python/examples/example-service.py | |
parent | 5cd694d5fb254c273bd59428779818216b4a1ed5 (diff) |
* python/examples/example-service.py,
python/examples/example-signal-emitter.py: Fixed up examples
for API changes
Diffstat (limited to 'python/examples/example-service.py')
-rw-r--r-- | python/examples/example-service.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/examples/example-service.py b/python/examples/example-service.py index 00f39935..ce871a1f 100644 --- a/python/examples/example-service.py +++ b/python/examples/example-service.py @@ -7,8 +7,8 @@ import pygtk import gtk class SomeObject(dbus.service.Object): - def __init__(self, name): - dbus.service.Object.__init__(self, "/SomeObject", name) + def __init__(self, bus_name, object_path="/SomeObject"): + dbus.service.Object.__init__(self, bus_name, object_path) @dbus.service.method("org.designfu.SampleInterface") def HelloWorld(self, hello_message): |