diff options
author | Benjamin Otte <otte@redhat.com> | 2011-06-18 09:51:18 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-07-05 16:07:57 -0400 |
commit | ebf8bf00009c2b2e7dcdb81d9bb9d339933d3fe3 (patch) | |
tree | eccb6111574fbff34d6aa145952cd166d07e9981 /gtk/gtkwidget.h | |
parent | 9ebcd66d4322081580c479ad2580800235f04baa (diff) | |
download | gtk+-ebf8bf00009c2b2e7dcdb81d9bb9d339933d3fe3.tar.gz |
API: Add gtk_widget_class_set_accessible_type()
The function is supposed to bypass the ATK registry. For 2 reasons:
1) We get rid of a lot of boilerplate madness.
2) The registry allows creating multiple accessibles per widget and we
don't.
The old code for registries is still there.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r-- | gtk/gtkwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 09d8a8e0a4..8aa1e1f640 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -722,6 +722,8 @@ void gtk_widget_set_support_multidevice (GtkWidget *widget, gboolean support_multidevice); /* Accessibility support */ +void gtk_widget_class_set_accessible_type (GtkWidgetClass *widget_class, + GType type); AtkObject* gtk_widget_get_accessible (GtkWidget *widget); |