[glib] appinfo: Fix documentation cross-reference



commit b94a0fc2b40dab8a229f659774f7d61faac51a6f
Author: Simon McVittie <simon mcvittie collabora co uk>
Date:   Wed Mar 13 14:52:10 2019 +0000

    appinfo: Fix documentation cross-reference
    
    g_app_info_launch_default_for_uri() should link to _async() as an alternative, not to itself.

 gio/gappinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gappinfo.c b/gio/gappinfo.c
index 84e667575..1fd0a7ad7 100644
--- a/gio/gappinfo.c
+++ b/gio/gappinfo.c
@@ -778,7 +778,7 @@ g_app_info_should_show (GAppInfo *appinfo)
  *
  * The D-Bus–activated applications don't have to be started if your application
  * terminates too soon after this function. To prevent this, use
- * g_app_info_launch_default_for_uri() instead.
+ * g_app_info_launch_default_for_uri_async() instead.
  *
  * Returns: %TRUE on success, %FALSE on error.
  **/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]