Added LoginHelper interface. Fixed test progs to use proper prefixes on
[platform/core/uifw/at-spi2-atk.git] / test / key-listener-test.c
index fc59fc0..ad73d32 100644 (file)
@@ -28,7 +28,7 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <sys/un.h>
-#include <spi.h>
+#include <cspi/spi.h>
 
 static SPIBoolean report_command_key_event  (const AccessibleKeystroke *stroke, void *user_data);
 static SPIBoolean report_ordinary_key_event (const AccessibleKeystroke *stroke, void *user_data);
@@ -195,7 +195,7 @@ report_tab_key_event (const AccessibleKeystroke *key, void *user_data)
 static SPIBoolean
 report_all_key_event (const AccessibleKeystroke *key, void *user_data)
 {
-  g_print("(%d)", key->keyID);
+  fprintf(stderr, "(%d)", key->keyID);
   return FALSE;
 }