diff options
author | Benjamin Otte <otte@redhat.com> | 2011-12-15 23:02:54 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-12-16 04:53:16 +0100 |
commit | c5433e852b02de39cc4ca5b5a9cb67f1ad87745b (patch) | |
tree | d325f343e203411ebf38249ae460c3abff35d38f /gtk/gtkcellrenderertoggle.c | |
parent | e5d5863a3f6568544acb66d6f384deabdf6a8e43 (diff) | |
download | gtk+-c5433e852b02de39cc4ca5b5a9cb67f1ad87745b.tar.gz |
gtk: Add accessible types for cell renderers
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r-- | gtk/gtkcellrenderertoggle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index 2c8debdec1..3b4a70ec18 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -24,6 +24,7 @@ #include "gtkmarshalers.h" #include "gtkprivate.h" #include "gtktreeprivate.h" +#include "a11y/gtkbooleancellaccessible.h" /** @@ -196,6 +197,8 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class) G_TYPE_STRING); g_type_class_add_private (object_class, sizeof (GtkCellRendererTogglePrivate)); + + _gtk_cell_renderer_class_set_accessible_type (cell_class, GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE); } static void |