openbsd-ports/devel/glib2/patches/patch-gio_glib-compile-schemas_c

21 lines
824 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gio_glib-compile-schemas_c,v 1.4 2013/03/27 17:49:34 ajacoutot Exp $
XXX TEMP do not warn about bad dconf paths
--- gio/glib-compile-schemas.c.orig Wed Mar 13 14:39:09 2013
+++ gio/glib-compile-schemas.c Tue Mar 26 11:02:30 2013
@@ -1208,11 +1208,13 @@ parse_state_start_schema (ParseState *state,
return;
}
+#if 0
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);
+#endif
state->schema_state = schema_state_new (path, gettext_domain,
extends, extends_name, list_of);