config: add NM_CONFIG_KEYFILE_LIST_SEPARATOR define

(cherry picked from commit a05e80913e)
This commit is contained in:
Thomas Haller 2015-07-02 09:46:35 +02:00
parent 68a1c54fa2
commit bd2df64bac
2 changed files with 3 additions and 1 deletions

View file

@ -404,7 +404,7 @@ nm_config_create_keyfile ()
GKeyFile *keyfile;
keyfile = g_key_file_new ();
g_key_file_set_list_separator (keyfile, ',');
g_key_file_set_list_separator (keyfile, NM_CONFIG_KEYFILE_LIST_SEPARATOR);
return keyfile;
}

View file

@ -46,6 +46,8 @@ G_BEGIN_DECLS
#define NM_CONFIG_DEFAULT_CONNECTIVITY_INTERVAL 300
#define NM_CONFIG_DEFAULT_CONNECTIVITY_RESPONSE "NetworkManager is online" /* NOT LOCALIZED */
#define NM_CONFIG_KEYFILE_LIST_SEPARATOR ','
typedef struct NMConfigCmdLineOptions NMConfigCmdLineOptions;
struct _NMConfig {