X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fnet%2Fproxy%2Fproxy_config_service_linux.cc;h=0e65b72c12acc4f561873b9e8a252ec6b7cbbd70;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=de41b14f5bffa6a5a38d8716835f0e1457058af8;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/net/proxy/proxy_config_service_linux.cc b/src/net/proxy/proxy_config_service_linux.cc index de41b14..0e65b72 100644 --- a/src/net/proxy/proxy_config_service_linux.cc +++ b/src/net/proxy/proxy_config_service_linux.cc @@ -4,6 +4,15 @@ #include "net/proxy/proxy_config_service_linux.h" +// glib >=2.40 deprecate g_settings_list_schemas in favor of +// g_settings_schema_source_list_schemas. This function is not available on +// earlier versions that we still need to support (specifically, 2.32), so +// disable the warning. +// TODO(mgiuca): Remove this suppression when we drop support for Ubuntu 13.10 +// (saucy) and earlier. Update the code to use +// g_settings_schema_source_list_schemas instead. +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #include #include #if defined(USE_GCONF)