Started fixing IDL docs.
[platform/core/uifw/at-spi2-atk.git] / libspi / component.c
index 5a5a687..a9ad7a1 100644 (file)
@@ -28,7 +28,7 @@
 #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;
@@ -202,8 +202,7 @@ BONOBO_TYPE_FUNC_FULL (SpiComponent,
 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;