diff options
author | Benjamin Otte <otte@gnome.org> | 2011-07-18 18:15:47 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2011-07-18 18:30:51 +0200 |
commit | 0c9b046af0b0164f518cba702d26ae6f675297b8 (patch) | |
tree | 75c54d2e6c387c654b14ccad1a98a838a69e2312 /gtk/gtkaccellabel.c | |
parent | f2626b61835c4d556ecce260b41f1438c4cd33c3 (diff) | |
download | gtk+-0c9b046af0b0164f518cba702d26ae6f675297b8.tar.gz |
accellabel: Use gtk_widget_class_set_accessible_role()
Diffstat (limited to 'gtk/gtkaccellabel.c')
-rw-r--r-- | gtk/gtkaccellabel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c index 734e5116fd..faf469a7e3 100644 --- a/gtk/gtkaccellabel.c +++ b/gtk/gtkaccellabel.c @@ -144,6 +144,8 @@ gtk_accel_label_class_init (GtkAccelLabelClass *class) widget_class->get_preferred_width = gtk_accel_label_get_preferred_width; widget_class->destroy = gtk_accel_label_destroy; + gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_ACCEL_LABEL); + class->signal_quote1 = g_strdup ("<:"); class->signal_quote2 = g_strdup (":>"); |