mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
Add doc comment about uris vs GFiles to g_app_info_launch()
2008-01-30 Alexander Larsson <alexl@redhat.com> * gappinfo.c: Add doc comment about uris vs GFiles to g_app_info_launch() * gdesktopappinfo.c: Ensure uris passed to g_app_info_launch_uris() are not roundtriped through GFile (as that may be slightly destructive for e.g. mailto: links) svn path=/trunk/; revision=6424
This commit is contained in:
committed by
Alexander Larsson
parent
fc93e63edd
commit
692e9086b4
@@ -406,6 +406,11 @@ g_app_info_get_icon (GAppInfo *appinfo)
|
||||
* can fail to start if it runs into problems during startup. There is
|
||||
* no way to detect this.
|
||||
*
|
||||
* Some URIs can be changed when passed through a GFile (for instance
|
||||
* unsupported uris with strange formats like mailto:), so if you have
|
||||
* a textual uri you want to pass in as argument, consider using
|
||||
* g_app_info_launch_uris() instead.
|
||||
*
|
||||
* Returns: %TRUE on successful launch, %FALSE otherwise.
|
||||
**/
|
||||
gboolean
|
||||
|
Reference in New Issue
Block a user