mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
GDesktopAppInfo: add enough api to make autostart implementable
gnome-session still uses EggDesktopFile, since GDesktopAppInfo is missing a handful of APIs that are needed to implement the autostart spec. This patch adds the minimum that is required. https://bugzilla.gnome.org/show_bug.cgi?id=688497
This commit is contained in:
@@ -64,6 +64,15 @@ gboolean g_desktop_app_info_get_is_hidden (GDesktopAppInfo *info);
|
||||
|
||||
void g_desktop_app_info_set_desktop_env (const char *desktop_env);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_36
|
||||
gboolean g_desktop_app_info_has_key (GDesktopAppInfo *info,
|
||||
const char *key);
|
||||
GLIB_AVAILABLE_IN_2_36
|
||||
char * g_desktop_app_info_get_string (GDesktopAppInfo *info,
|
||||
const char *key);
|
||||
GLIB_AVAILABLE_IN_2_36
|
||||
gboolean g_desktop_app_info_get_boolean (GDesktopAppInfo *info,
|
||||
const char *key);
|
||||
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
|
||||
|
Reference in New Issue
Block a user