summaryrefslogtreecommitdiffstats
path: root/abs/core/glib2/noisy-glib-compile-schemas.diff
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-01-31 18:27:11 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-01-31 18:27:11 (GMT)
commit5e6b672d8489ec7da26063488f9a42c3f17eb6ed (patch)
tree42ccaae97516aeea7ae3adcd67f21e550d4e7b38 /abs/core/glib2/noisy-glib-compile-schemas.diff
parent4f7968a7a5086ffb7e61972bb786acb5aa468b50 (diff)
downloadlinhes_pkgbuild-5e6b672d8489ec7da26063488f9a42c3f17eb6ed.zip
linhes_pkgbuild-5e6b672d8489ec7da26063488f9a42c3f17eb6ed.tar.gz
linhes_pkgbuild-5e6b672d8489ec7da26063488f9a42c3f17eb6ed.tar.bz2
glib2: update to 2.58.3
Diffstat (limited to 'abs/core/glib2/noisy-glib-compile-schemas.diff')
-rw-r--r--abs/core/glib2/noisy-glib-compile-schemas.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/core/glib2/noisy-glib-compile-schemas.diff b/abs/core/glib2/noisy-glib-compile-schemas.diff
new file mode 100644
index 0000000..f5f2d94
--- /dev/null
+++ b/abs/core/glib2/noisy-glib-compile-schemas.diff
@@ -0,0 +1,24 @@
+diff --git i/gio/glib-compile-schemas.c w/gio/glib-compile-schemas.c
+index b8de0907248f6860..130f89b1728f7932 100644
+--- i/gio/glib-compile-schemas.c
++++ w/gio/glib-compile-schemas.c
+@@ -1219,19 +1219,6 @@ parse_state_start_schema (ParseState *state,
+ return;
+ }
+
+- if (path && (g_str_has_prefix (path, "/apps/") ||
+- g_str_has_prefix (path, "/desktop/") ||
+- g_str_has_prefix (path, "/system/")))
+- {
+- gchar *message = NULL;
+- message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. "
+- "Paths starting with "
+- "“/apps/”, “/desktop/” or “/system/” are deprecated."),
+- id, path);
+- g_printerr ("%s\n", message);
+- g_free (message);
+- }
+-
+ state->schema_state = schema_state_new (path, gettext_domain,
+ extends, extends_name, list_of);
+