summaryrefslogtreecommitdiff
path: root/gtk/a11y/gtktextviewaccessible.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-12-27 01:04:46 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-12-27 11:23:22 -0500
commite4b5e94eb9500a83769771e6132f9abb08badb32 (patch)
tree5dea6143e46d636c3aa0faed50cf12db7b4b1715 /gtk/a11y/gtktextviewaccessible.h
parent853b5e5fa2bd0c5f5260cb566470310fb72d8596 (diff)
downloadgtk+-e4b5e94eb9500a83769771e6132f9abb08badb32.tar.gz
Make accessible implementations public
This commit exposes the get_type() functions and standard headers for accessible implementations. This makes it possible to derive from the GTK accessible implementations without GType magic tricks. This is necessary, because we require the a11y type hierarchy to be parallel to the widget type hierarchy. So, if you derive a widget and need to adjust its a11y implementation, you have to be able to derive its accessible implementation. This commit probably exposes more than is absolutely necessary, it also exposes accessibles of widgets that are unlikely candidates for deriving from.
Diffstat (limited to 'gtk/a11y/gtktextviewaccessible.h')
-rw-r--r--gtk/a11y/gtktextviewaccessible.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/a11y/gtktextviewaccessible.h b/gtk/a11y/gtktextviewaccessible.h
index 3028b12304..87e0d70cf9 100644
--- a/gtk/a11y/gtktextviewaccessible.h
+++ b/gtk/a11y/gtktextviewaccessible.h
@@ -22,7 +22,7 @@
G_BEGIN_DECLS
-#define GTK_TYPE_TEXT_VIEW_ACCESSIBLE (_gtk_text_view_accessible_get_type ())
+#define GTK_TYPE_TEXT_VIEW_ACCESSIBLE (gtk_text_view_accessible_get_type ())
#define GTK_TEXT_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessible))
#define GTK_TEXT_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessibleClass))
#define GTK_IS_TEXT_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE))
@@ -45,10 +45,7 @@ struct _GtkTextViewAccessibleClass
GtkContainerAccessibleClass parent_class;
};
-GType _gtk_text_view_accessible_get_type (void);
-
-void _gtk_text_view_accessible_set_buffer (GtkTextView *textview,
- GtkTextBuffer *old_buffer);
+GType gtk_text_view_accessible_get_type (void);
G_END_DECLS