conf: added config_quark()

This GQuark will be used for GErrors related to malformed
configuration.
This commit is contained in:
Max Kellermann 2009-07-03 01:01:50 +02:00
parent 706614b0d7
commit a923080d9b
1 changed files with 10 additions and 0 deletions

View File

@ -97,6 +97,16 @@ struct config_param {
bool used;
};
/**
* A GQuark for GError instances, resulting from malformed
* configuration.
*/
static inline GQuark
config_quark(void)
{
return g_quark_from_static_string("config");
}
void config_global_init(void);
void config_global_finish(void);