mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Merge branch 'wip/alice/about-dialog-fix' into 'main'
aboutdialog: Fix build on windows See merge request GNOME/gtk!7365
This commit is contained in:
commit
01cd2fe4bb
@ -727,8 +727,9 @@ update_links_cb (GtkAboutDialog *about)
|
|||||||
{
|
{
|
||||||
GtkTextTag *tag = l->data;
|
GtkTextTag *tag = l->data;
|
||||||
GdkRGBA color;
|
GdkRGBA color;
|
||||||
|
const char *uri = g_object_get_data (G_OBJECT (tag), "uri");
|
||||||
|
|
||||||
if (g_ptr_array_find_with_equal_func (about->visited_links, link, (GCompareFunc)strcmp, NULL))
|
if (uri && g_ptr_array_find_with_equal_func (about->visited_links, uri, (GCompareFunc)strcmp, NULL))
|
||||||
color = visited_link_color;
|
color = visited_link_color;
|
||||||
else
|
else
|
||||||
color = link_color;
|
color = link_color;
|
||||||
|
Loading…
Reference in New Issue
Block a user