summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2004-12-30 14:19:54 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2004-12-30 14:19:54 +0000
commit63586e48f4b1c214385428d17fb2e40e04b99f5c (patch)
tree8d785f74330961593305f600fad3781d347b71ee /python
parenteb4b165e30e59642e62b15d281cca3e6b7c75add (diff)
2004-12-30 John (J5) Palmieri <johnp@redhat.com>
* python/dbus_bindings.pyx.in: Change DBUS_ACTIVATION_REPLY_ACTIVATED and DBUS_ACTIVATION_REPLY_ALREADY_ACTIVE to match the values in dbus-protocol.h. Because they are defines and not enums they are not autogenerated.
Diffstat (limited to 'python')
-rw-r--r--python/dbus_bindings.pyx.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/dbus_bindings.pyx.in b/python/dbus_bindings.pyx.in
index db391e1d..d6ec96f4 100644
--- a/python/dbus_bindings.pyx.in
+++ b/python/dbus_bindings.pyx.in
@@ -1145,8 +1145,9 @@ def bus_get_unix_user(Connection connection, service_name):
raise DBusException, error.message
return retval
-ACTIVATION_REPLY_ACTIVATED = DBUS_ACTIVATION_REPLY_ACTIVATED
-ACTIVATION_REPLY_ALREADY_ACTIVE = DBUS_ACTIVATION_REPLY_ALREADY_ACTIVE
+#These are defines, not enums so they aren't auto generated
+ACTIVATION_REPLY_ACTIVATED = 0
+ACTIVATION_REPLY_ALREADY_ACTIVE = 1
def bus_activate_service(Connection connection, service_name, flags=0):
cdef DBusError error