Only install *.desktop file if GTK_MODULE_DIR is used for relocating
[platform/core/uifw/at-spi2-atk.git] / atk-adaptor / collection-adaptor.c
index 749198f..3c2b11c 100644 (file)
@@ -30,8 +30,9 @@
 #include "accessible-register.h"
 #include "accessible-marshaller.h"
 
-#include "spi-common/bitarray.h"
-#include "spi-common/spi-dbus.h"
+#include "common/bitarray.h"
+#include "common/spi-dbus.h"
+#include "common/spi-stateset.h"
 
 typedef struct _MatchRulePrivate MatchRulePrivate;
 struct _MatchRulePrivate
@@ -986,7 +987,7 @@ impl_getMatchesTo (DBusConnection *bus, DBusMessage *message, void *user_data)
 static DBusMessage *
 impl_getMatches(DBusConnection *bus, DBusMessage *message, void *user_data)
 {
-  AtkObject *obj = path_to_object (message);
+  AtkObject *obj = atk_dbus_path_to_object (dbus_message_get_path (message));
   DBusMessageIter iter;
   MatchRulePrivate rule;
   dbus_uint16_t sortby;