conf: added config_quark()
This GQuark will be used for GErrors related to malformed configuration.
This commit is contained in:
parent
706614b0d7
commit
a923080d9b
10
src/conf.h
10
src/conf.h
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue