diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-12-27 01:04:46 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-12-27 11:23:22 -0500 |
commit | e4b5e94eb9500a83769771e6132f9abb08badb32 (patch) | |
tree | 5dea6143e46d636c3aa0faed50cf12db7b4b1715 /gtk/a11y/gtkpanedaccessible.c | |
parent | 853b5e5fa2bd0c5f5260cb566470310fb72d8596 (diff) | |
download | gtk+-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/gtkpanedaccessible.c')
-rw-r--r-- | gtk/a11y/gtkpanedaccessible.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/a11y/gtkpanedaccessible.c b/gtk/a11y/gtkpanedaccessible.c index 2d3465c4f9..bef4e46256 100644 --- a/gtk/a11y/gtkpanedaccessible.c +++ b/gtk/a11y/gtkpanedaccessible.c @@ -23,7 +23,7 @@ static void atk_value_interface_init (AtkValueIface *iface); -G_DEFINE_TYPE_WITH_CODE (GtkPanedAccessible, _gtk_paned_accessible, GTK_TYPE_CONTAINER_ACCESSIBLE, +G_DEFINE_TYPE_WITH_CODE (GtkPanedAccessible, gtk_paned_accessible, GTK_TYPE_CONTAINER_ACCESSIBLE, G_IMPLEMENT_INTERFACE (ATK_TYPE_VALUE, atk_value_interface_init)) static void @@ -39,7 +39,7 @@ static void gtk_paned_accessible_initialize (AtkObject *obj, gpointer data) { - ATK_OBJECT_CLASS (_gtk_paned_accessible_parent_class)->initialize (obj, data); + ATK_OBJECT_CLASS (gtk_paned_accessible_parent_class)->initialize (obj, data); g_signal_connect (data, "size-allocate", G_CALLBACK (gtk_paned_accessible_size_allocate_gtk), NULL); @@ -48,7 +48,7 @@ gtk_paned_accessible_initialize (AtkObject *obj, } static void -_gtk_paned_accessible_class_init (GtkPanedAccessibleClass *klass) +gtk_paned_accessible_class_init (GtkPanedAccessibleClass *klass) { AtkObjectClass *class = ATK_OBJECT_CLASS (klass); @@ -56,7 +56,7 @@ _gtk_paned_accessible_class_init (GtkPanedAccessibleClass *klass) } static void -_gtk_paned_accessible_init (GtkPanedAccessible *paned) +gtk_paned_accessible_init (GtkPanedAccessible *paned) { } |