Merge branch 'fix_tooltip' into 'main'

label: Maintain value for `has-tooltip` for labels with links

See merge request GNOME/gtk!4635
This commit is contained in:
Matthias Clasen 2022-04-14 18:00:43 +00:00
commit 3263a26cad

View File

@ -3625,7 +3625,11 @@ static void
gtk_label_ensure_has_tooltip (GtkLabel *self)
{
guint i;
gboolean has_tooltip = FALSE;
gboolean has_tooltip = gtk_widget_get_has_tooltip(GTK_WIDGET(self));
if (has_tooltip) {
return;
}
for (i = 0; i < self->select_info->n_links; i++)
{