projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
819595d
)
Don't tell the screen reader that a button is related to an image which has no useful...
author
Lukáš Tyrychtr
<lukastyrychtr@gmail.com>
Tue, 14 Feb 2023 23:50:18 +0000
(23:50 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Feb 2023 23:50:18 +0000
(23:50 +0000)
gtk/gtkbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbutton.c
b/gtk/gtkbutton.c
index 2f98e70de4336e74c5f18a9f4ab371b0f3a704c9..aca4d337f84f58a9149f1684530cec329fc65209 100644
(file)
--- a/
gtk/gtkbutton.c
+++ b/
gtk/gtkbutton.c
@@
-969,10
+969,6
@@
gtk_button_set_icon_name (GtkButton *button,
gtk_image_set_from_icon_name (GTK_IMAGE (priv->child), icon_name);
}
- gtk_accessible_update_relation (GTK_ACCESSIBLE (button),
- GTK_ACCESSIBLE_RELATION_LABELLED_BY, priv->child, NULL,
- -1);
-
gtk_button_set_child_type (button, ICON_CHILD);
g_object_notify_by_pspec (G_OBJECT (button), props[PROP_ICON_NAME]);
}