summaryrefslogtreecommitdiffstats
path: root/python/dbus.py
diff options
context:
space:
mode:
authorSeth Nickell <seth@gnome.org>2004-07-12 06:29:00 +0000
committerSeth Nickell <seth@gnome.org>2004-07-12 06:29:00 +0000
commit5afe4265eaa30afa7d93eb1550839c56360abeda (patch)
treedde4b6230f724bcc3d7289772f701435226adeec /python/dbus.py
parentdd4ff748c19ed30d832ae0c8f842cc73cb277639 (diff)
2004-07-12 Seth Nickell <seth@gnome.org>
* python/dbus.py: Add message argument to the default object_method_handler function. * python/dbus_bindings.pyx.in: Automatically return NIL when passed an empty list (we can't pass back a list since lists are typed and we don't have any idea what type the the client intended the list to be... :-( )
Diffstat (limited to 'python/dbus.py')
-rw-r--r--python/dbus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/dbus.py b/python/dbus.py
index e53bf237..55c61235 100644
--- a/python/dbus.py
+++ b/python/dbus.py
@@ -337,7 +337,7 @@ class ObjectTree:
message = dbus_bindings.Signal(object_path, interface, signal_name)
self._connection.send(message)
- def object_method_called(self, relative_path, method_name, argument_list):
+ def object_method_called(self, message, relative_path, method_name, argument_list):
"""Override this method. Called with, object_path, the relative path of the object
under the base_path, the name of the method invoked, and a list of arguments
"""