gdesktopappinfo: Add missing annotations
authorMartin Pitt <martinpitt@gnome.org>
Wed, 11 Dec 2013 12:17:10 +0000 (13:17 +0100)
committerMartin Pitt <martinpitt@gnome.org>
Wed, 11 Dec 2013 12:17:10 +0000 (13:17 +0100)
commite6c86d58f274b8a1a365627ffb1fa14daacd4335
treeace31b1cd22f7ac68f15f65d8c13796bbd6bee22
parentaa7f1ba21a8536a147e90bb29e972fcea41e8e3d
gdesktopappinfo: Add missing annotations

Add missing (allow-none) annotations to
g_desktop_app_info_launch_uris_as_manager(). Tested with

  python -c "from gi.repository import GLib, Gio; Gio.DesktopAppInfo.new('gcalctool.desktop').launch_uris_as_manager([], None, GLib.SpawnFlags.SEARCH_PATH|GLib.SpawnFlags.STDOUT_TO_DEV_NULL, None, None, None, None)"

which is necessary to do a launch_uris() without leaking stdout.

https://launchpad.net/bugs/1259721
gio/gdesktopappinfo.c