[gtk/im-context-work] composetable: Warn when ignoring things
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/im-context-work] composetable: Warn when ignoring things
- Date: Mon, 1 Feb 2021 17:21:38 +0000 (UTC)
commit 36997f91b5cd3ffc0e1e65d52484fc0a740ffbcf
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Feb 1 12:21:06 2021 -0500
composetable: Warn when ignoring things
We should at least give a hint that we've seen the line,
otherwise people will wonder why nothing happened.
gtk/gtkcomposetable.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkcomposetable.c b/gtk/gtkcomposetable.c
index 82f591850c..afcedc42df 100644
--- a/gtk/gtkcomposetable.c
+++ b/gtk/gtkcomposetable.c
@@ -218,7 +218,10 @@ parse_compose_line (GList **compose_list,
return;
if (g_str_has_prefix (line, "include "))
- return;
+ {
+ g_warning ("include in Compose files not supported: %s", line);
+ return;
+ }
components = g_strsplit (line, ":", 2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]