noisy-glib-compile-schemas.diff 982 B

12345678910111213141516171819202122232425
  1. diff --git i/gio/glib-compile-schemas.c w/gio/glib-compile-schemas.c
  2. index b8de0907248f6860..130f89b1728f7932 100644
  3. --- i/gio/glib-compile-schemas.c
  4. +++ w/gio/glib-compile-schemas.c
  5. @@ -1219,19 +1219,6 @@ parse_state_start_schema (ParseState *state,
  6. return;
  7. }
  8. - if (path && (g_str_has_prefix (path, "/apps/") ||
  9. - g_str_has_prefix (path, "/desktop/") ||
  10. - g_str_has_prefix (path, "/system/")))
  11. - {
  12. - gchar *message = NULL;
  13. - message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. "
  14. - "Paths starting with "
  15. - "“/apps/”, “/desktop/” or “/system/” are deprecated."),
  16. - id, path);
  17. - g_printerr ("%s\n", message);
  18. - g_free (message);
  19. - }
  20. -
  21. state->schema_state = schema_state_new (path, gettext_domain,
  22. extends, extends_name, list_of);