summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPadraig O'Briain <padraig.obriain@sun.com>2003-02-14 10:46:33 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2003-02-14 10:46:33 +0000
commit228dbf157df109ef75550d4a70d6c42efbfb6367 (patch)
tree4c2bc3fc96caad70b06a8da1eee8419969d61adf
parent53e2b80dea284acfb659c22fcecf59b13e47ce74 (diff)
downloadatk-228dbf157df109ef75550d4a70d6c42efbfb6367.tar.gz
Add AtkHypertext interface as this object should claim to implement all
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.
-rw-r--r--ChangeLog5
-rw-r--r--atk/atknoopobject.c11
2 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b53628e..529f25e 100644
--- 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
diff --git a/atk/atknoopobject.c b/atk/atknoopobject.c
index fcbf40a..616f083 100644
--- a/atk/atknoopobject.c
+++ b/atk/atknoopobject.c
@@ -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);
}