Fix hovered link URI not returned by gtk_label_get_current_uri
authorChris Mayo <aklhfex@gmail.com>
Mon, 24 Apr 2023 18:35:47 +0000 (19:35 +0100)
committerChris Mayo <aklhfex@gmail.com>
Mon, 24 Apr 2023 18:35:47 +0000 (19:35 +0100)
commit66cfeb3ad14846f688afc2232cb3e153f175425f
treeffd1b0099b07f36ce518eebbf147a58ca3ca1d80
parent63d7756658c24fe0d22fa523799b1eeb15f4512c
Fix hovered link URI not returned by gtk_label_get_current_uri

This is needed for a query-tooltip handler, as mentioned in the
documentation, when there has been a hover timeout.

Maintain the previous behaviour when the link is clicked and follow the
existing documentation regarding selectable labels.

A notify::cursor handler can now also be used to retrieve the URI of the
link under the cursor.
gtk/gtklabel.c