diff options
author | Stefano Karapetsas <[email protected]> | 2013-11-06 10:17:31 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-11-06 10:17:31 -0800 |
commit | c17333cbd562c8021ad152b6a41d7eaa46617719 (patch) | |
tree | 06c2a96f31377d1413b647c0900a50dfcc17e4d7 /egg/eggdesktopfile.c | |
parent | e7f6acc91eb1321bdb8fcb77194c18365a7d680a (diff) | |
parent | 2c5a103b59a53d5fb586572e38d65e7afb5ecb44 (diff) | |
download | mate-session-manager-c17333cbd562c8021ad152b6a41d7eaa46617719.tar.bz2 mate-session-manager-c17333cbd562c8021ad152b6a41d7eaa46617719.tar.xz |
Merge pull request #35 from NiceandGently/master
session: support_autostart_delay
Diffstat (limited to 'egg/eggdesktopfile.c')
-rw-r--r-- | egg/eggdesktopfile.c | 10 |
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, |