Document that g_app_info_create_from_commandline() does unquoting according to fd.o

https://bugzilla.gnome.org/show_bug.cgi?id=676277
This commit is contained in:
Holger Berndt 2012-05-17 22:24:10 +02:00
parent 17e95c59c9
commit 0e6d9df35c

View File

@ -2143,6 +2143,12 @@ g_desktop_app_info_delete (GAppInfo *appinfo)
*
* Creates a new #GAppInfo from the given information.
*
* Note that for @commandline, the quoting rules of the Exec key of the
* <ulink url="http://freedesktop.org/Standards/desktop-entry-spec">freedesktop.org Desktop
* Entry Specification</ulink> are applied. For example, if the @commandline contains
* percent-encoded URIs, the percent-character must be doubled in order to prevent it from
* being swallowed by Exec key unquoting. See the specification for exact quoting rules.
*
* Returns: (transfer full): new #GAppInfo for given command.
**/
GAppInfo *