Changes to support generation of C bindings docs.
[platform/core/uifw/at-spi2-atk.git] / registryd / registryd.c
index e648f45..d99c72c 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef AT_SPI_DEBUG
 #include <stdlib.h>
+#endif
+
 #include <libbonobo.h>
 #include "registry.h"
 
@@ -40,11 +43,13 @@ main (int argc,
 
         registry = registry_new ();
 
-        oaf_active_server_register (
+        bonobo_activation_active_server_register (
                 obj_id,
                 bonobo_object_corba_objref (bonobo_object (registry)));
 
+#ifdef AT_SPI_DEBUG
         fprintf (stderr, "Registry Message: Registry daemon is running.\n");
+#endif
         bonobo_main ();
 
         return 0;