summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-22 15:00:58 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-02-22 15:08:58 -0500
commitbaec7079e0cfccf462c2fcfbf1d90100b1cff77f (patch)
tree121b26ce464e769294be40d4c05976b7f6ac96c5
parentf83644edee867c863868760c1b6e22f809bdde6a (diff)
downloadgtk+-baec7079e0cfccf462c2fcfbf1d90100b1cff77f.tar.gz
imcontext: Take out the warnings
Don't warn about Compose file constructs we don't support. We haven't supported these for a long time, and nobody has every complained. No need to wake up sleeping dogs.
-rw-r--r--gtk/gtkcomposetable.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/gtkcomposetable.c b/gtk/gtkcomposetable.c
index 09cf7b8e8f..a39258f659 100644
--- a/gtk/gtkcomposetable.c
+++ b/gtk/gtkcomposetable.c
@@ -99,9 +99,6 @@ parse_compose_value (GtkComposeData *compose_data,
while (*p && g_ascii_isspace (*p))
p++;
- if (*p != '\0' && *p != '#')
- g_warning ("Ignoring keysym after string: %s: %s", val, line);
-
compose_data->value = g_string_free (value, FALSE);
return TRUE;
}
@@ -248,10 +245,7 @@ parse_compose_line (GList **compose_list,
return;
if (g_str_has_prefix (line, "include "))
- {
- g_warning ("include in Compose files not supported: %s", line);
- return;
- }
+ return;
components = g_strsplit (line, ":", 2);