use glib api to parse desktop files