app: add some warning for code which should not happen.

This commit is contained in:
Jehan 2017-12-26 17:47:05 +01:00
parent 88f33dc0b3
commit cdfffc6924
1 changed files with 2 additions and 0 deletions

View File

@ -570,6 +570,7 @@ user_update_menurc_over20 (const GMatchInfo *matched_value,
*/
else
{
g_message ("(WARNING) %s: invalid match \"%s\"", G_STRFUNC, match);
g_string_append (new_value, match);
}
@ -636,6 +637,7 @@ user_update_gimpressionist (const GMatchInfo *matched_value,
}
else
{
g_message ("(WARNING) %s: invalid match \"%s\"", G_STRFUNC, match);
g_string_append (new_value, match);
}