diff options
author | Mike Gorse <mgorse@novell.com> | 2011-01-28 17:46:50 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2011-01-28 17:46:50 -0600 |
commit | 896f7d3befaf580510a7a15b07ce6d3c6140c882 (patch) | |
tree | 6e9be3e417e068b46f3df05cf07a01cb352cdc43 /atspi/atspi-registry.c | |
parent | d08bc3d2a0d4c56cb14c782962012e2f06c7ec34 (diff) | |
download | at-spi2-core-896f7d3befaf580510a7a15b07ce6d3c6140c882.tar.gz |
Fix most compiler warnings and various miscellaneous problems
Diffstat (limited to 'atspi/atspi-registry.c')
-rw-r--r-- | atspi/atspi-registry.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/atspi/atspi-registry.c b/atspi/atspi-registry.c index b3a6eeb7..9e49562b 100644 --- a/atspi/atspi-registry.c +++ b/atspi/atspi-registry.c @@ -25,8 +25,6 @@ #include "atspi-private.h" -static GArray *desktops; - /** * atspi_get_desktop_count: * @@ -250,7 +248,6 @@ atspi_register_device_event_listener (AtspiDeviceListener *listener, { gboolean retval = FALSE; dbus_uint32_t d_event_types = event_types; - gint i; gchar *path = _atspi_device_listener_get_path (listener); DBusError d_error; @@ -353,11 +350,14 @@ atspi_generate_keyboard_event (glong keyval, gboolean atspi_generate_mouse_event (glong x, glong y, const gchar *name, GError **error) { - dbus_int32_t dbus_x = x, dbus__y = y; + dbus_int32_t d_x = x, d_y = y; DBusError d_error; dbus_error_init (&d_error); - dbind_method_call_reentrant (_atspi_bus(), atspi_bus_registry, atspi_path_dec, atspi_interface_dec, "GenerateMouseEvent", &d_error, "iis", x, y, name); + dbind_method_call_reentrant (_atspi_bus(), atspi_bus_registry, + atspi_path_dec, atspi_interface_dec, + "GenerateMouseEvent", &d_error, "iis", + d_x, d_y, name); return TRUE; } |