diff options
author | portix <none@none> | 2013-04-03 18:59:53 +0200 |
---|---|---|
committer | portix <none@none> | 2013-04-03 18:59:53 +0200 |
commit | 026eaa50fb305b49db4ba5f0fcd3b6d62dbed308 (patch) | |
tree | 73110b4efe72a69d0ab2bc64537b3b6563ccba8d /tools | |
parent | e1be4cd69a6d170916af127e80fdfd11a2dfb9ed (diff) | |
download | dwb-026eaa50fb305b49db4ba5f0fcd3b6d62dbed308.zip |
Check for existence of glib2-2.36 to avoid deprecated-warnings
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dwbem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dwbem.c b/tools/dwbem.c index c3c7d770..16aea385 100644 --- a/tools/dwbem.c +++ b/tools/dwbem.c @@ -1088,7 +1088,9 @@ cl_edit(const char *name, int flags) int main(int argc, char **argv) { +#if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init(); +#endif GError *e = NULL; GOptionContext *ctx; char *config_dir; |