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:
Iain Lane 2012-09-10 16:25:18 +01:00 committed by su-fang
parent 0c36d06f9c
commit ddecc33cb3
1 changed files with 4 additions and 0 deletions

View File

@ -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);