diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | python/dbus_bindings.pyx.in | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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 |