From 7aba9e3295e2125ae9fade1352b23ffc012369fa Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 14 Jan 2023 14:00:39 -0500 Subject: [PATCH] urilauncher: Add cross-references to the docs --- gtk/gtkfilelauncher.c | 6 ++++-- gtk/gtkurilauncher.c | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) 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 */