diff options
author | David King <amigadave@amigadave.com> | 2017-01-03 13:44:10 +0000 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2017-01-03 13:44:10 +0000 |
commit | 3ceb477fe811121ec75fb3bc366c63d2366ad4b9 (patch) | |
tree | 2571698debdd8bb3236e42e039e97dd76406bfe9 | |
parent | 499061ab664a9b392e476fd9cc9bbe785890a8e0 (diff) | |
download | libproxy-git-3ceb477fe811121ec75fb3bc366c63d2366ad4b9.tar.gz |
pxgsettings: Avoid g_type_init deprecation warning
g_type_init() was deprecated in GLib 2.36.
-rw-r--r-- | libproxy/modules/pxgsettings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libproxy/modules/pxgsettings.cpp b/libproxy/modules/pxgsettings.cpp index 68783be..18773e1 100644 --- a/libproxy/modules/pxgsettings.cpp +++ b/libproxy/modules/pxgsettings.cpp @@ -128,7 +128,9 @@ int main(int argc, char **argv) { } // Init +#if !GLIB_CHECK_VERSION(2,36,0) g_type_init(); +#endif // Get the main loop loop = g_main_loop_new(NULL, false); |