summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertoggle.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-12-15 23:02:54 +0100
committerBenjamin Otte <otte@redhat.com>2011-12-16 04:53:16 +0100
commitc5433e852b02de39cc4ca5b5a9cb67f1ad87745b (patch)
treed325f343e203411ebf38249ae460c3abff35d38f /gtk/gtkcellrenderertoggle.c
parente5d5863a3f6568544acb66d6f384deabdf6a8e43 (diff)
downloadgtk+-c5433e852b02de39cc4ca5b5a9cb67f1ad87745b.tar.gz
gtk: Add accessible types for cell renderers
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r--gtk/gtkcellrenderertoggle.c3
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