Skip to content

label: Skip updating link state if we have no layout

Matthias Clasen requested to merge fix-label-link-activate into gtk-3-24

This can happen whenever the ::activate-link handler sets different markup on the label, causing all links to be recreated. In this case, the GtkLabelLink* passed to emit_activate_link is garbage after the g_signal_emit call and we shouldn't try to do anything with it.

Fixes #1498 (closed)

Merge request reports