* pyatspi/accessiblecache.py
Removing objects fix, incorrectly named variable.
* pyatspi/base.py
Enum comparison with None was not correct.
* registryd/deviceeventcontroller.c
Un-initialized dbus error in generate-mouse-event function.
for old, new in cache_update_objects:
self._dispatch_event(old, new)
- def _remove_object(self, paths):
+ def _remove_object(self, path):
# TODO I'm squashing a possible error here
# I've seen things appear to be deleted twice
# which needs investigation
return self._enum_lookup[int(self)]
def __eq__(self, other):
+ if other is None:
+ return False
if int(self) == int(other):
return True
else:
gboolean err = FALSE;
Display *display = spi_get_display ();
+ dbus_error_init (&error);
if (!dbus_message_get_args(message, &error, DBUS_TYPE_INT32, &x, DBUS_TYPE_INT32, &y, DBUS_TYPE_STRING, &eventName, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);