summaryrefslogtreecommitdiff
path: root/egg/eggdesktopfile.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2013-10-31 01:39:36 +0100
committerraveit65 <[email protected]>2013-10-31 01:39:36 +0100
commit2c5a103b59a53d5fb586572e38d65e7afb5ecb44 (patch)
tree781ccfa5479336982d95ff2e2b418e912b87f29b /egg/eggdesktopfile.c
parent6c8051b0d0c020a450a9cfe43600444f4d600d1c (diff)
downloadmate-session-manager-2c5a103b59a53d5fb586572e38d65e7afb5ecb44.tar.bz2
mate-session-manager-2c5a103b59a53d5fb586572e38d65e7afb5ecb44.tar.xz
session: support_autostart_delay
Diffstat (limited to 'egg/eggdesktopfile.c')
-rw-r--r--egg/eggdesktopfile.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/egg/eggdesktopfile.c b/egg/eggdesktopfile.c
index 3bb3d36..83f9a4e 100644
--- a/egg/eggdesktopfile.c
+++ b/egg/eggdesktopfile.c
@@ -420,6 +420,16 @@ egg_desktop_file_get_numeric (EggDesktopFile *desktop_file,
error);
}
+int
+egg_desktop_file_get_integer (EggDesktopFile *desktop_file,
+ const char *key,
+ GError **error)
+{
+ return g_key_file_get_integer (desktop_file->key_file,
+ EGG_DESKTOP_FILE_GROUP, key,
+ error);
+}
+
char **
egg_desktop_file_get_string_list (EggDesktopFile *desktop_file,
const char *key,