~xnox/lightdm/archive-upload

« back to all changes in this revision

Viewing changes to src/configuration.c

  • Committer: Robert Ancell
  • Date: 2013-11-27 03:48:36 UTC
  • mfrom: (1845 trunk)
  • mto: This revision was merged to the branch mainline in revision 1846.
  • Revision ID: robert.ancell@canonical.com-20131127034836-c9jba09zw4z3paur
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
}
91
91
 
92
92
void
 
93
config_set_string_list (Configuration *config, const gchar *section, const gchar *key, const gchar **value, gsize length)
 
94
{
 
95
    g_key_file_set_string_list (config->priv->key_file, section, key, value, length);
 
96
}
 
97
 
 
98
gchar **
 
99
config_get_string_list (Configuration *config, const gchar *section, const gchar *key)
 
100
{
 
101
    return g_key_file_get_string_list (config->priv->key_file, section, key, NULL, NULL);
 
102
}
 
103
 
 
104
void
93
105
config_set_integer (Configuration *config, const gchar *section, const gchar *key, gint value)
94
106
{
95
107
    g_key_file_set_integer (config->priv->key_file, section, key, value);