[GDesktopAppInfo] New function g_desktop_app_info_get_filename

This allows access to the full file path, where possible.

https://bugzilla.gnome.org/show_bug.cgi?id=612832
This commit is contained in:
Colin Walters
2010-03-13 18:11:31 -05:00
parent 1be8ad3514
commit f552689058
4 changed files with 21 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ GType g_desktop_app_info_get_type (void) G_GNUC_CONST;
GDesktopAppInfo *g_desktop_app_info_new_from_filename (const char *filename);
GDesktopAppInfo *g_desktop_app_info_new_from_keyfile (GKeyFile *key_file);
const char * g_desktop_app_info_get_filename (GDesktopAppInfo *info);
GDesktopAppInfo *g_desktop_app_info_new (const char *desktop_id);
gboolean g_desktop_app_info_get_is_hidden (GDesktopAppInfo *info);