1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
3 Date: Fri, 7 Jan 2022 18:59:10 +0000
4 Subject: [PATCH] glib-compile-schemas: Remove noisy deprecation warnings
7 gio/glib-compile-schemas.c | 13 -------------
8 1 file changed, 13 deletions(-)
10 diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
11 index 83184e1e8d67..e575dad294e5 100644
12 --- a/gio/glib-compile-schemas.c
13 +++ b/gio/glib-compile-schemas.c
14 @@ -1232,19 +1232,6 @@ parse_state_start_schema (ParseState *state,
18 - if (path && (g_str_has_prefix (path, "/apps/") ||
19 - g_str_has_prefix (path, "/desktop/") ||
20 - g_str_has_prefix (path, "/system/")))
22 - gchar *message = NULL;
23 - message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. "
24 - "Paths starting with "
25 - "“/apps/”, “/desktop/” or “/system/” are deprecated."),
27 - g_printerr ("%s\n", message);
31 state->schema_state = schema_state_new (path, gettext_domain,
32 extends, extends_name, list_of);