mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
Merge branch 'fix-label-link-activate' into 'gtk-3-24'
label: Skip updating link state if we have no layout See merge request GNOME/gtk!3262
This commit is contained in:
commit
79757da2a9
@ -6755,6 +6755,11 @@ emit_activate_link (GtkLabel *label,
|
||||
GtkStateFlags state;
|
||||
|
||||
g_signal_emit (label, signals[ACTIVATE_LINK], 0, link->uri, &handled);
|
||||
|
||||
/* signal handler might have invalidated the layout */
|
||||
if (!priv->layout)
|
||||
return;
|
||||
|
||||
if (handled && priv->track_links && !link->visited &&
|
||||
priv->select_info && priv->select_info->links)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user