summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2005-05-19 20:27:19 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2005-05-19 20:27:19 +0000
commit8af9f11e54317698424bc15ca566e46268646d73 (patch)
treec25d5e4acc86feb6a024faaeb41fe739b4e14aae
parent7befbf52705a45fccb67e7cc5edd7d4cf30e6fd4 (diff)
- s/TYPE_PATH/TYPE_OBJECT_PATH
-rw-r--r--ChangeLog4
-rw-r--r--python/dbus_bindings.pyx.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d915809d..8fcd7bc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-19 John (J5) Palmieri <johnp@redhat.com>
+
+ * python/dbus_bindings.pyx.in: s/TYPE_PATH/TYPE_OBJECT_PATH
+
2005-05-18 Havoc Pennington <hp@redhat.com>
* configure.in: use GLIB_GNU_GETTEXT to get INTLLIBS and require
diff --git a/python/dbus_bindings.pyx.in b/python/dbus_bindings.pyx.in
index 8d41b1e4..8689d8cf 100644
--- a/python/dbus_bindings.pyx.in
+++ b/python/dbus_bindings.pyx.in
@@ -785,7 +785,7 @@ cdef class MessageIter:
ret = str(chr(TYPE_ARRAY))
ret = ret + self.python_value_to_dbus_sig(value[0], level)
elif isinstance(value, ObjectPath):
- ret = TYPE_PATH
+ ret = TYPE_OBJECT_PATH
ret = str(chr(ret))
elif isinstance(ByteArray):
ret = str(chr(TYPE_ARRAY)) + str(chr(TYPE_BYTE))
@@ -958,7 +958,7 @@ cdef class MessageIter:
def append_object_path(self, value):
cdef char *c_value
c_value = value
- return dbus_message_iter_append_basic(self.iter, TYPE_PATH, <char **>&c_value)
+ return dbus_message_iter_append_basic(self.iter, TYPE_OBJECT_PATH, <char **>&c_value)
def append_signature(self, value):
cdef char *c_value