]> git.pld-linux.org Git - packages/dbus.git/blob - dbus-python_fixes.patch
- rel.3 for rebuild with fixed rpm
[packages/dbus.git] / dbus-python_fixes.patch
1 --- dbus-0.34/python/dbus_bindings.pyx.orig     2005-05-19 22:27:19.000000000 +0200
2 +++ dbus-0.34/python/dbus_bindings.pyx          2005-07-01 11:34:26.369756328 +0200
3 @@ -1246,7 +1246,12 @@
4          return dbus_message_set_destination(self.msg, destination)
5  
6      def get_destination(self):
7 -        return dbus_message_get_destination(self.msg)
8 +        cdef char *destination
9 +        destination = dbus_message_get_destination(self.msg)
10 +        if destination == NULL:
11 +            return None
12 +        else:
13 +            return destination
14  
15      def set_sender(self, sender):
16          return dbus_message_set_sender(self.msg, sender)
This page took 0.046859 seconds and 3 git commands to generate.