Added makefile support for cspi directory.
[platform/core/uifw/at-spi2-atk.git] / libspi / listener.c
index d87aefe..d6d6efc 100644 (file)
@@ -72,7 +72,7 @@ impl_notify_event (PortableServer_Servant     servant,
                    CORBA_Environment         *ev)
 {
 #ifdef SPI_DEBUG
-  fprintf (stderr, "notify...\n");
+  fprintf (stderr, "notify %s...\n", e->type);
   fprintf (stderr, "source name: '%s'\n",
            Accessibility_Accessible__get_name(e->target, ev));
   if (ev->_major != CORBA_NO_EXCEPTION) {
@@ -88,7 +88,7 @@ impl_notify_event (PortableServer_Servant     servant,
            ? "yes" : "no");
 
 #endif
-  Accessibility_Accessible_unref(e->target, ev);
+  bonobo_object_release_unref (e->target, ev);
 
 }