forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
4f81b5cd91
commit
db1cb04896
@ -100,11 +100,6 @@ parse_compose_value (GtkComposeData *compose_data,
|
||||
}
|
||||
else if (*p == '\"')
|
||||
{
|
||||
p++;
|
||||
while (*p && g_ascii_isspace (*p))
|
||||
p++;
|
||||
if (*p != '\0' && *p != '#')
|
||||
g_warning ("Ignoring keysym after string: %s: %s", val, line);
|
||||
break;
|
||||
}
|
||||
else if (*p == '\\')
|
||||
@ -246,10 +241,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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user