mirror of https://gitee.com/openkylin/glib2.0.git
Disable confusing (to users) warning about deprecated schema paths
Disable a warning when compiling schemas which are installed into 'deprecated' locations. Users see this very often due to glib-compile-schemas being called from libglib2.0-0's trigger and it is not very useful for them. Forwarded: not-needed
This commit is contained in:
parent
0c36d06f9c
commit
ddecc33cb3
|
@ -1234,6 +1234,9 @@ parse_state_start_schema (ParseState *state,
|
|||
return;
|
||||
}
|
||||
|
||||
// Disable this warning: it confuses users and there is unlikely to be much
|
||||
// progress towards fixing
|
||||
/*
|
||||
if (path && (g_str_has_prefix (path, "/apps/") ||
|
||||
g_str_has_prefix (path, "/desktop/") ||
|
||||
g_str_has_prefix (path, "/system/")))
|
||||
|
@ -1246,6 +1249,7 @@ parse_state_start_schema (ParseState *state,
|
|||
g_printerr ("%s\n", message);
|
||||
g_free (message);
|
||||
}
|
||||
*/
|
||||
|
||||
state->schema_state = schema_state_new (path, gettext_domain,
|
||||
extends, extends_name, list_of);
|
||||
|
|
Loading…
Reference in New Issue