From 9a0fd43df2bbf28bd1a1cad7860617feb2a6571d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 1 Jul 2011 00:10:39 -0400 Subject: Convert GailNotebookPage to GtkNotebookPageAccessible At the same time, drop the AtkText implementation, and simplify accordingly. Test output has been updated to match. --- gtk/a11y/gtknotebookaccessible.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/a11y/gtknotebookaccessible.c') diff --git a/gtk/a11y/gtknotebookaccessible.c b/gtk/a11y/gtknotebookaccessible.c index 0b935b9263..6a3eae7130 100644 --- a/gtk/a11y/gtknotebookaccessible.c +++ b/gtk/a11y/gtknotebookaccessible.c @@ -22,7 +22,7 @@ #include #include #include "gtknotebookaccessible.h" -#include "gailnotebookpage.h" +#include "gtknotebookpageaccessible.h" static void atk_selection_interface_init (AtkSelectionIface *iface); @@ -92,7 +92,7 @@ create_notebook_page_accessible (GtkNotebookAccessible *accessible, { AtkObject *obj; - obj = gail_notebook_page_new (accessible, child); + obj = gtk_notebook_page_accessible_new (accessible, child); g_hash_table_insert (accessible->pages, child, obj); atk_object_set_parent (obj, ATK_OBJECT (accessible)); g_signal_emit_by_name (accessible, "children_changed::add", page_num, obj, NULL); @@ -127,7 +127,7 @@ page_removed_cb (GtkNotebook *notebook, g_return_if_fail (obj); g_signal_emit_by_name (accessible, "children_changed::remove", page_num, obj, NULL); - gail_notebook_page_invalidate (GAIL_NOTEBOOK_PAGE (obj)); + gtk_notebook_page_accessible_invalidate (GTK_NOTEBOOK_PAGE_ACCESSIBLE (obj)); g_hash_table_remove (accessible->pages, widget); } -- cgit v1.2.1