1From c8c223045821cac97f798cfa63f19853621a8a2a Mon Sep 17 00:00:00 2001 2From: Alexander Kanavin <alex.kanavin@gmail.com> 3Date: Fri, 12 Jun 2015 17:08:46 +0300 4Subject: [PATCH] Remove the warning about deprecated paths in schemas 5 6Some schemas in gsettings-desktop-schemas (such as proxy and locale) 7are still using deprecated paths, as of 3.16.1. This causes warning 8messages, and meta/lib/oe/rootfs.py complaints about them. 9 10Upstream-Status: Inappropriate 11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 12 13--- 14 gio/glib-compile-schemas.c | 13 ------------- 15 1 file changed, 13 deletions(-) 16 17diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c 18index 04ef404..e791ce2 100644 19--- a/gio/glib-compile-schemas.c 20+++ b/gio/glib-compile-schemas.c 21@@ -1232,19 +1232,6 @@ parse_state_start_schema (ParseState *state, 22 return; 23 } 24 25- if (path && (g_str_has_prefix (path, "/apps/") || 26- g_str_has_prefix (path, "/desktop/") || 27- g_str_has_prefix (path, "/system/"))) 28- { 29- gchar *message = NULL; 30- message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. " 31- "Paths starting with " 32- "“/apps/”, “/desktop/” or “/system/” are deprecated."), 33- id, path); 34- g_printerr ("%s\n", message); 35- g_free (message); 36- } 37- 38 state->schema_state = schema_state_new (path, gettext_domain, 39 extends, extends_name, list_of); 40 41