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

21 lines
738 B
Diff

Index: glib-2.53.5/gio/glib-compile-schemas.c
===================================================================
--- glib-2.53.5.orig/gio/glib-compile-schemas.c
+++ glib-2.53.5/gio/glib-compile-schemas.c
@@ -1219,6 +1219,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/")))
@@ -1231,6 +1232,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);