summaryrefslogtreecommitdiff
path: root/gtk/a11y/gtkrangeaccessible.c
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/gtkrangeaccessible.c
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/gtkrangeaccessible.c')
-rw-r--r--gtk/a11y/gtkrangeaccessible.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/a11y/gtkrangeaccessible.c b/gtk/a11y/gtkrangeaccessible.c
index 7f4a0a7144..dc551354bf 100644
--- a/gtk/a11y/gtkrangeaccessible.c
+++ b/gtk/a11y/gtkrangeaccessible.c
@@ -25,7 +25,7 @@
static void atk_action_interface_init (AtkActionIface *iface);
static void atk_value_interface_init (AtkValueIface *iface);
-G_DEFINE_TYPE_WITH_CODE (GtkRangeAccessible, _gtk_range_accessible, GTK_TYPE_WIDGET_ACCESSIBLE,
+G_DEFINE_TYPE_WITH_CODE (GtkRangeAccessible, gtk_range_accessible, GTK_TYPE_WIDGET_ACCESSIBLE,
G_IMPLEMENT_INTERFACE (ATK_TYPE_ACTION, atk_action_interface_init)
G_IMPLEMENT_INTERFACE (ATK_TYPE_VALUE, atk_value_interface_init))
@@ -44,7 +44,7 @@ gtk_range_accessible_initialize (AtkObject *obj,
GtkAdjustment *adj;
GtkRange *gtk_range;
- ATK_OBJECT_CLASS (_gtk_range_accessible_parent_class)->initialize (obj, data);
+ ATK_OBJECT_CLASS (gtk_range_accessible_parent_class)->initialize (obj, data);
gtk_range = GTK_RANGE (data);
/*
@@ -77,7 +77,7 @@ gtk_range_accessible_finalize (GObject *object)
range);
}
- G_OBJECT_CLASS (_gtk_range_accessible_parent_class)->finalize (object);
+ G_OBJECT_CLASS (gtk_range_accessible_parent_class)->finalize (object);
}
static void
@@ -97,12 +97,12 @@ gtk_range_accessible_notify_gtk (GObject *obj,
range);
}
else
- GTK_WIDGET_ACCESSIBLE_CLASS (_gtk_range_accessible_parent_class)->notify_gtk (obj, pspec);
+ GTK_WIDGET_ACCESSIBLE_CLASS (gtk_range_accessible_parent_class)->notify_gtk (obj, pspec);
}
static void
-_gtk_range_accessible_class_init (GtkRangeAccessibleClass *klass)
+gtk_range_accessible_class_init (GtkRangeAccessibleClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
AtkObjectClass *class = ATK_OBJECT_CLASS (klass);
@@ -116,7 +116,7 @@ _gtk_range_accessible_class_init (GtkRangeAccessibleClass *klass)
}
static void
-_gtk_range_accessible_init (GtkRangeAccessible *range)
+gtk_range_accessible_init (GtkRangeAccessible *range)
{
}