gdesktopappinfo: Call g_file_get_path() on demand
authorBastien Nocera <hadess@hadess.net>
Wed, 25 Sep 2013 14:14:17 +0000 (16:14 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 27 Sep 2013 07:52:57 +0000 (09:52 +0200)
commit2d8e5ef81e8116eeb8fea18292360dd3166b4b4e
tree04a3fed5a3aaaf94c6537fecea1437c1ece41b0b
parent458c1c0f16566e9ddfabe3c211adcb7815730e28
gdesktopappinfo: Call g_file_get_path() on demand

Rather than always calling out to g_file_get_path() (which
might block, whatever the documentation might say), postpone
the call until we actually need it.

https://bugzilla.gnome.org/show_bug.cgi?id=708753
gio/gdesktopappinfo.c