From: Mark Doffman Date: Mon, 9 Nov 2009 10:54:06 +0000 (+0000) Subject: Correct error in D-Bus message matching. X-Git-Tag: AT_SPI2_CORE_0_1_3~2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7de5dcefedbf645f71f8bc9c21a07fb36f6353b;p=platform%2Fupstream%2Fat-spi2-core.git Correct error in D-Bus message matching. --- diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c index 95c049cc..9b855ac4 100644 --- a/registryd/deviceeventcontroller.c +++ b/registryd/deviceeventcontroller.c @@ -2792,7 +2792,7 @@ handle_dec_method (DBusConnection *bus, DBusMessage *message, void *user_data) iface == NULL) return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; - if (!strcmp (iface, SPI_DBUS_INTERFACE_DEC)) + if (strcmp (iface, SPI_DBUS_INTERFACE_DEC)) return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; if (!strcmp (member, "registerKeystrokeListener")) diff --git a/registryd/registry.c b/registryd/registry.c index 764e09f8..a1e305c0 100644 --- a/registryd/registry.c +++ b/registryd/registry.c @@ -244,6 +244,8 @@ signal_filter (DBusConnection *bus, DBusMessage *message, void *user_data) /*---------------------------------------------------------------------------*/ +#define _SPI_DEBUG(format, args...) g_print (format , ## args) + static gchar *app_sig_match_name_owner = "type='signal', interface='org.freedesktop.DBus', member='NameOwnerChanged'"; @@ -262,7 +264,7 @@ handle_registry_method (DBusConnection *bus, DBusMessage *message, void *user_da iface == NULL) return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; - if (!strcmp (iface, SPI_DBUS_INTERFACE_REGISTRY)) + if (strcmp (iface, SPI_DBUS_INTERFACE_REGISTRY)) return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; if (!strcmp (member, "getApplications"))