Started fixing IDL docs.
[platform/core/uifw/at-spi2-atk.git] / libspi / hyperlink.c
index 13086ea..eb31975 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
-/*
- * component.c : bonobo wrapper for accessible component implementation
- *
- */
-#include <config.h>
-#include <bonobo/Bonobo.h>
+/* hyperlink.c : implements the Hyperlink interface */
 
+#include <config.h>
 #include <stdio.h>
+#include <libspi/hyperlink.h>
+#include <libspi/accessible.h>
 
-/*
- * This pulls the CORBA definitions for the "Accessibility::Accessible" server
- */
-#include <libspi/Accessibility.h>
-
-/*
- * This pulls the definition of the hyperlink bonobo object
- */
-#include "hyperlink.h"
-#include "accessible.h"
-
-/*
- * Static function declarations
- */
+/* Static function declarations */
 
 static void
 spi_hyperlink_class_init (SpiHyperlinkClass *klass);
@@ -75,7 +60,7 @@ static GObjectClass *parent_class;
 
 BONOBO_TYPE_FUNC_FULL (SpiHyperlink,
                       Accessibility_Hyperlink,
-                      BONOBO_OBJECT_TYPE,
+                      BONOBO_TYPE_OBJECT,
                       spi_hyperlink);
 
 static void
@@ -114,8 +99,8 @@ spi_hyperlink_finalize (GObject *obj)
 SpiHyperlink *
 spi_hyperlink_new (AtkHyperlink *hyperlink)
 {
-  SpiHyperlink *new_hyperlink = 
-    SPI_HYPERLINK(g_object_new (SPI_HYPERLINK_TYPE, NULL));
+  SpiHyperlink *new_hyperlink = g_object_new (
+         SPI_HYPERLINK_TYPE, NULL);
   g_object_ref (hyperlink);
   new_hyperlink->hyperlink = hyperlink;
   return new_hyperlink;
@@ -195,5 +180,3 @@ impl_isValid (PortableServer_Servant _servant,
   SpiHyperlink *link = SPI_HYPERLINK(bonobo_object_from_servant(_servant));
   return (CORBA_boolean) atk_hyperlink_is_valid (ATK_HYPERLINK(link->hyperlink));
 }
-
-