summaryrefslogtreecommitdiff
path: root/gtk/a11y/gtknotebookaccessible.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-07-01 00:10:39 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-07-05 16:08:56 -0400
commit9a0fd43df2bbf28bd1a1cad7860617feb2a6571d (patch)
treef98f9e8402333eeda233082119db3e1e758e90e9 /gtk/a11y/gtknotebookaccessible.c
parent8bb24a936fb9751bc20d01de1e3ce7e93842452e (diff)
downloadgtk+-9a0fd43df2bbf28bd1a1cad7860617feb2a6571d.tar.gz
Convert GailNotebookPage to GtkNotebookPageAccessible
At the same time, drop the AtkText implementation, and simplify accordingly. Test output has been updated to match.
Diffstat (limited to 'gtk/a11y/gtknotebookaccessible.c')
-rw-r--r--gtk/a11y/gtknotebookaccessible.c6
1 files changed, 3 insertions, 3 deletions
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 <string.h>
#include <gtk/gtk.h>
#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);
}