glib2/glib2-suppress-schema-deprecated-path-warning.patch

21 lines
738 B
Diff

Index: glib-2.70.0/gio/glib-compile-schemas.c
===================================================================
--- glib-2.70.0.orig/gio/glib-compile-schemas.c
+++ glib-2.70.0/gio/glib-compile-schemas.c
@@ -1232,6 +1232,7 @@ parse_state_start_schema (ParseState *s
return;
}
+/*
if (path && (g_str_has_prefix (path, "/apps/") ||
g_str_has_prefix (path, "/desktop/") ||
g_str_has_prefix (path, "/system/")))
@@ -1244,6 +1245,7 @@ parse_state_start_schema (ParseState *s
g_printerr ("%s\n", message);
g_free (message);
}
+*/
state->schema_state = schema_state_new (path, gettext_domain,
extends, extends_name, list_of);