#include <libspi/component.h>
/* Our parent Gtk object type */
-#define PARENT_TYPE BONOBO_OBJECT_TYPE
+#define PARENT_TYPE BONOBO_TYPE_OBJECT
/* A pointer to our parent object class */
static GObjectClass *spi_component_parent_class;
SpiComponent *
spi_component_interface_new (AtkObject *o)
{
- SpiComponent *retval =
- SPI_COMPONENT (g_object_new (SPI_COMPONENT_TYPE, NULL));
+ SpiComponent *retval = g_object_new (SPI_COMPONENT_TYPE, NULL);
retval->atko = o;
g_object_ref (o);
return retval;