range: Don't use an abstract role
authorMatthias Clasen <mclasen@redhat.com>
Tue, 20 Jun 2023 17:46:44 +0000 (13:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Jun 2023 00:49:29 +0000 (20:49 -0400)
This snuck through, because the range wasn't
setting any role at all, it just ends up using
the initial, abstract role of widget.

gtk/gtkrange.c

index a6042b8f0147563d8ee43dbced221d5afc045331..fbf750f6963b2cb13577c79b5db510bd4b6abf02 100644 (file)
@@ -441,6 +441,7 @@ gtk_range_class_init (GtkRangeClass *class)
   g_object_class_install_properties (gobject_class, LAST_PROP, properties);
 
   gtk_widget_class_set_css_name (widget_class, I_("range"));
+  gtk_widget_class_set_accessible_role (widget_class, GTK_ACCESSIBLE_ROLE_GENERIC);
 }
 
 static gboolean