Don't use "Tab list" as an accessible label
authorMatthias Clasen <mclasen@redhat.com>
Fri, 16 Jun 2023 17:09:16 +0000 (13:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 17 Jun 2023 12:46:41 +0000 (08:46 -0400)
It does not add any extra information.

Fixes: #4839
gtk/gtknotebook.c

index 932701206d0e5b9c5ab81f40466214a957b7ed48..bbe1e044ca95c8678f1a041a82a9a8c2c346a15c 100644 (file)
@@ -1487,9 +1487,6 @@ gtk_notebook_init (GtkNotebook *notebook)
                                                    (GtkGizmoGrabFocusFunc)gtk_widget_grab_focus_self);
   gtk_widget_set_hexpand (notebook->tabs_widget, TRUE);
   gtk_box_append (GTK_BOX (notebook->header_widget), notebook->tabs_widget);
-  gtk_accessible_update_property (GTK_ACCESSIBLE (notebook->tabs_widget),
-                                  GTK_ACCESSIBLE_PROPERTY_LABEL, _("Tab list"),
-                                  -1);
 
   notebook->stack_widget = gtk_stack_new ();
   gtk_widget_set_hexpand (notebook->stack_widget, TRUE);