glib2/glib2-suppress-schema-deprecated-path-warning.patch
2012-06-09 10:31:02 +00:00

21 lines
778 B
Diff

Index: glib-2.32.3/gio/glib-compile-schemas.c
===================================================================
--- glib-2.32.3.orig/gio/glib-compile-schemas.c
+++ glib-2.32.3/gio/glib-compile-schemas.c
@@ -1204,12 +1204,14 @@ 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/")))
g_printerr ("warning: Schema '%s' has path '%s'. Paths starting with "
"'/apps/', '/desktop/' or '/system/' are deprecated.\n", id, path);
-
+*/
+
state->schema_state = schema_state_new (path, gettext_domain,
extends, extends_name, list_of);