X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cspi%2Fspi-listener.c;h=8acf3a654ad71341072a24a06873a593ed29bbfd;hb=01e62a390c0ab3c1fff722f168c8614a91f9d5f8;hp=3429386da6f0f94ed7e254cf77a8ff9b8c0d896f;hpb=3b18e67baf0ec2af2dc0801d67188d5ca69ffaef;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/cspi/spi-listener.c b/cspi/spi-listener.c index 3429386..8acf3a6 100644 --- a/cspi/spi-listener.c +++ b/cspi/spi-listener.c @@ -373,7 +373,7 @@ cspi_dbus_handle_deviceEvent (DBusConnection *bus, DBusMessage *message, void *d DBusMessage *reply; void *p = &event; - if (sscanf (path, "/org/freedesktop/atspi/listeners/%d", &id) != 1) + if (sscanf (path, "/org/a11y/atspi/listeners/%d", &id) != 1) { g_warning ("Bad listener path: %s\n", path); goto done; @@ -388,7 +388,7 @@ cspi_dbus_handle_deviceEvent (DBusConnection *bus, DBusMessage *message, void *d goto done; } dbus_message_iter_init (message, &iter); - dbind_any_demarshal (iter, &deviceEvent_type, &p); + dbind_any_demarshal (&iter, (char **) &deviceEvent_type, &p); klass = CSPI_DEVICE_LISTENER_GET_CLASS (listener); if (klass->device_event) { @@ -399,7 +399,7 @@ done: if (reply) { dbus_message_append_args (reply, DBUS_TYPE_BOOLEAN, &retval, DBUS_TYPE_INVALID); - dbus_connection_send (cspi_bus(), reply, NULL); + dbus_connection_send (SPI_bus(), reply, NULL); dbus_message_unref (reply); } return DBUS_HANDLER_RESULT_HANDLED;