mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
Merge branch 'fix-urilauncher-uaf' into 'main'
urilauncher: Fix use-after-free on GCC < 12 See merge request GNOME/gtk!7471
This commit is contained in:
commit
ee5e3b5927
@ -309,9 +309,11 @@ gtk_uri_launcher_launch (GtkUriLauncher *self,
|
||||
gtk_openuri_portal_open_uri_async (self->uri, parent, cancellable, open_done, task);
|
||||
else
|
||||
#endif
|
||||
{
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
gtk_show_uri_full (parent, self->uri, GDK_CURRENT_TIME, cancellable, show_uri_done, task);
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user