urilauncher: Add cross-references to the docs
authorMatthias Clasen <mclasen@redhat.com>
Sat, 14 Jan 2023 19:00:39 +0000 (14:00 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 14 Jan 2023 22:39:28 +0000 (17:39 -0500)
gtk/gtkfilelauncher.c
gtk/gtkurilauncher.c

index b68e0fc14e0b8afa3aaa405f6c818c10038d68fb..6e4f840876aeebe7cf488c17e9bb44431b846b38 100644 (file)
@@ -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
  */
 
index e5bb51f697d76fe7c345f52fbd4357c860ce6da2..b2da466fc2e83d9097baf7329cc09eea00d1aeca 100644 (file)
@@ -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
  */