revert-warn-glib-compile-schemas.patch 628 B

123456789101112131415
  1. --- a/gio/glib-compile-schemas.c
  2. +++ b/gio/glib-compile-schemas.c
  3. @@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState *state,
  4. return;
  5. }
  6. + if (path && (g_str_has_prefix (path, "/apps/") ||
  7. + g_str_has_prefix (path, "/desktop/") ||
  8. + g_str_has_prefix (path, "/system/")))
  9. + g_printerr ("warning: Schema '%s' has path '%s'. Paths starting with "
  10. + "'/apps/', '/desktop/' or '/system/' are deprecated.\n", id, path);
  11. +
  12. state->schema_state = schema_state_new (path, gettext_domain,
  13. extends, extends_name, list_of);