summaryrefslogtreecommitdiff
path: root/libre/glib2-static/noisy-glib-compile-schemas.diff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-12-24 04:02:26 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-12-28 15:08:38 -0500
commit7a60474cc54e00be7c7282d7744f3616491c2894 (patch)
treecf471e8a6a473fafafa9fbe9882ffc6af0a60c89 /libre/glib2-static/noisy-glib-compile-schemas.diff
parentb9d6f78f4aedaa55703338b5411154f063fef1f6 (diff)
libre/glib2-static: upgpkg 2.24.2-1.parabola1
Diffstat (limited to 'libre/glib2-static/noisy-glib-compile-schemas.diff')
-rw-r--r--libre/glib2-static/noisy-glib-compile-schemas.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/libre/glib2-static/noisy-glib-compile-schemas.diff b/libre/glib2-static/noisy-glib-compile-schemas.diff
new file mode 100644
index 000000000..f5f2d9482
--- /dev/null
+++ b/libre/glib2-static/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);
+