summaryrefslogtreecommitdiff
path: root/src/up-config.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-08-25 17:04:27 +0200
committerBastien Nocera <hadess@hadess.net>2014-09-02 21:56:38 +0200
commit07fa35c42b4ddab4bdc4ae0172aefac0258fe71e (patch)
tree64c86401c9ecb3df14bbfeed381a4e4d42498067 /src/up-config.h
parent90082ec5d4453ddafcfecdc867fa7f46f8aac2d4 (diff)
downloadupower-07fa35c42b4ddab4bdc4ae0172aefac0258fe71e.tar.gz
daemon: Add helper to get string from config
https://bugs.freedesktop.org/show_bug.cgi?id=82925
Diffstat (limited to 'src/up-config.h')
-rw-r--r--src/up-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/up-config.h b/src/up-config.h
index e58a700..f02d37a 100644
--- a/src/up-config.h
+++ b/src/up-config.h
@@ -52,6 +52,8 @@ gboolean up_config_get_boolean (UpConfig *config,
const gchar *key);
guint up_config_get_uint (UpConfig *config,
const gchar *key);
+gchar *up_config_get_string (UpConfig *config,
+ const gchar *key);
G_END_DECLS