Fix up the appinfo test
authorMatthias Clasen <mclasen@redhat.com>
Sun, 24 Nov 2013 03:21:29 +0000 (22:21 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 24 Nov 2013 03:21:29 +0000 (22:21 -0500)
commit0fc0754e655a0628c4b25da4fe2ddf261208deb3
treebed5a821db5aca5606f7566d1e17578dc2bba500
parent0250d185b1780691c02d746d0732ab94aeabd1ed
Fix up the appinfo test

One testcase was launching appinfo-test from a GAppInfo that
does not have a filename. In this case, the G_LAUNCHED_DESKTOP_FILE
envvar is not exported. Make appinfo-test deal with that, without
spewing warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=711178
gio/tests/appinfo-test.c