From: Matthias Clasen Date: Sat, 14 Jan 2023 19:00:39 +0000 (-0500) Subject: urilauncher: Add cross-references to the docs X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~8^2~62^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7aba9e3295e2125ae9fade1352b23ffc012369fa;p=gtk4.git urilauncher: Add cross-references to the docs --- diff --git a/gtk/gtkfilelauncher.c b/gtk/gtkfilelauncher.c index b68e0fc14e..6e4f840876 100644 --- a/gtk/gtkfilelauncher.c +++ b/gtk/gtkfilelauncher.c @@ -29,8 +29,8 @@ /** * GtkFileLauncher: * - * A `GtkFileLauncher` object collects the arguments that are needed to open a uri - * with an application. + * A `GtkFileLauncher` object collects the arguments that are needed to open a + * file with an application. * * Depending on system configuration, user preferences and available APIs, this * may or may not show an app chooser dialog or launch the default application @@ -40,6 +40,8 @@ * This API follows the GIO async pattern, and the result can be obtained by * calling [method@Gtk.FileLauncher.launch_finish]. * + * To launch uris that don't represent files, use [class@Gtk.UriLauncher]. + * * Since: 4.10 */ diff --git a/gtk/gtkurilauncher.c b/gtk/gtkurilauncher.c index e5bb51f697..b2da466fc2 100644 --- a/gtk/gtkurilauncher.c +++ b/gtk/gtkurilauncher.c @@ -40,6 +40,8 @@ * This API follows the GIO async pattern, and the result can be obtained by * calling [method@Gtk.UriLauncher.launch_finish]. * + * To launch a file, use [class@Gtk.FileLauncher]. + * * Since: 4.10 */