/*
* This pulls the CORBA definitions for the "Accessibility::Accessible" server
*/
-#include "Desktop.h"
+#include <libspi/Accessibility.h>
/*
* This pulls the definition for the BonoboObject (Gtk Type)
static void
desktop_init (Desktop *desktop)
{
- ACCESSIBLE (desktop)->atko = atk_simple_object_new();
+ ACCESSIBLE (desktop)->atko = g_object_new (atk_object_get_type(), NULL);
atk_object_set_name (ATK_OBJECT (ACCESSIBLE (desktop)->atko), "main");
}
NULL /* value table */
};
/*
- * Here we use bonobo_x_type_unique instead of
+ * Here we use bonobo_type_unique instead of
* gtk_type_unique, this auto-generates a load of
* CORBA structures for us. All derived types must
- * use bonobo_x_type_unique.
+ * use bonobo_type_unique.
*/
- type = bonobo_x_type_unique (
+ type = bonobo_type_unique (
PARENT_TYPE,
POA_Accessibility_Desktop__init,
NULL,