summaryrefslogtreecommitdiff
path: root/gtk/gtklevelbar.c
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2012-12-03 16:07:23 -0600
committerMike Gorse <mgorse@suse.com>2013-02-01 11:44:15 -0600
commit92f0c5c38476687a9a50c31eac4f674a7e0b9c91 (patch)
tree4b78c0256358d6723b72c7a3b4fe3689a1b70967 /gtk/gtklevelbar.c
parentf44eec0f6bc0b6f623926b230118c5036bc48122 (diff)
downloadgtk+-92f0c5c38476687a9a50c31eac4f674a7e0b9c91.tar.gz
Add accessibility for GtkLevelBar and value test
Diffstat (limited to 'gtk/gtklevelbar.c')
-rw-r--r--gtk/gtklevelbar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtklevelbar.c b/gtk/gtklevelbar.c
index 25a8161e14..fff48919e8 100644
--- a/gtk/gtklevelbar.c
+++ b/gtk/gtklevelbar.c
@@ -97,6 +97,8 @@
#include <math.h>
#include <stdlib.h>
+#include "a11y/gtklevelbaraccessible.h"
+
#include "fallback-c89.c"
#define DEFAULT_BLOCK_SIZE 3
@@ -1024,6 +1026,8 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
g_type_class_add_private (klass, sizeof (GtkLevelBarPrivate));
g_object_class_install_properties (oclass, LAST_PROPERTY, properties);
+
+ gtk_widget_class_set_accessible_type (wclass, GTK_TYPE_LEVEL_BAR_ACCESSIBLE);
}
static void