mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
Merge branch 'launch-uri-no-export' into 'main'
Make gtk_launch_uri more robust Closes #5152 See merge request GNOME/gtk!5010
This commit is contained in:
commit
d850dfd245
@ -127,9 +127,7 @@ gtk_show_uri_full (GtkWindow *parent,
|
||||
data->task = g_task_new (parent, cancellable, callback, user_data);
|
||||
g_task_set_source_tag (data->task, gtk_show_uri);
|
||||
|
||||
if (parent)
|
||||
gtk_window_export_handle (parent, window_handle_exported, data);
|
||||
else
|
||||
if (!parent || !gtk_window_export_handle (parent, window_handle_exported, data))
|
||||
window_handle_exported (parent, NULL, data);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user