Merge branch 'mgorse' of ssh://git.codethink.co.uk/git/atspi-dbus into mgorse
[platform/core/uifw/at-spi2-atk.git] / registryd / registry.c
index 9455e1f..6068f52 100644 (file)
 #  include <stdio.h>
 #endif
 
-#include "../libspi/spi-private.h"
+#include <spi-common/spi-dbus.h>
+
 #include "registry.h"
 #include "dbus/dbus-glib-lowlevel.h"
 
 /* Our parent GObject type  */
 #define PARENT_TYPE G_OBJECT_TYPE
 
-
 int _dbg = 0;
 
 typedef enum {
@@ -298,6 +298,7 @@ spi_registry_init (SpiRegistry *registry)
     g_warning("Couldn't connect to dbus: %s\n", error.message);
     return;
   }
+  registry->droute.user_data = registry;
   spi_registry_initialize_registry_interface (&registry->droute);
   spi_registry_initialize_desktop_interface (&registry->droute);
   spi_registry_initialize_dec_interface (&registry->droute);