Add AtkHypertext interface as this object should claim to implement all
authorPadraig O'Briain <padraig.obriain@sun.com>
Fri, 14 Feb 2003 10:46:33 +0000 (10:46 +0000)
committerPadraig O'Briain <padraigo@src.gnome.org>
Fri, 14 Feb 2003 10:46:33 +0000 (10:46 +0000)
2003-02-14  Padraig O'Briain  <padraig.obriain@sun.com>

* atk/atknoopobject.c: Add AtkHypertext interface as this object should
claim to implement all interfaces.

ChangeLog
atk/atknoopobject.c

index b53628e..529f25e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-14  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atknoopobject.c: Add AtkHypertext interface as this object should
+       claim to implement all interfaces.
+
 2003-02-12  Padraig O'Briain  <padraig.obriain@sun.com>
 
        * atk/atkhyperlink.c (atk_hyperlink_class_init): Correct typo in blurb
index fcbf40a..616f083 100644 (file)
@@ -1,5 +1,5 @@
 /* ATK -  Accessibility Toolkit
- * Copyright 2001 Sun Microsystems Inc.
+ * Copyright 2001, 2002, 2003 Sun Microsystems Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -95,6 +95,13 @@ atk_no_op_object_get_type (void)
         NULL
     };
 
+    static const GInterfaceInfo atk_hypertext_info =
+    {
+        (GInterfaceInitFunc) NULL,
+        (GInterfaceFinalizeFunc) NULL,
+        NULL
+    };
+
     static const GInterfaceInfo atk_value_info =
     {
         (GInterfaceInitFunc) NULL,
@@ -119,6 +126,8 @@ atk_no_op_object_get_type (void)
                                  &atk_table_info);
     g_type_add_interface_static (type, ATK_TYPE_TEXT,
                                  &atk_text_info);
+    g_type_add_interface_static (type, ATK_TYPE_HYPERTEXT,
+                                 &atk_hypertext_info);
     g_type_add_interface_static (type, ATK_TYPE_VALUE,
                                  &atk_value_info);
   }