diff --git a/docs/reference/gtk/migrating-2to3.xml b/docs/reference/gtk/migrating-2to3.xml index 26a96e84b4..64ba69b1f2 100644 --- a/docs/reference/gtk/migrating-2to3.xml +++ b/docs/reference/gtk/migrating-2to3.xml @@ -184,8 +184,9 @@ If you are opening a document or URI by launching a command like firefox http://my-favourite-website.com or gnome-open ghelp:epiphany, it is best to just use - gtk_show_uri(); as an added benefit, your application will henceforth - respect the users preference for what application to use. + gtk_show_uri_on_window(); as an added benefit, your application will + henceforth respect the users preference for what application to use and + correctly open links in sandboxed applications. If you are launching a regular, installed application that has a desktop file, it is best to use GIOs #GAppInfo with a suitable launch context.