From cdfffc692489d2e45e7366b3008ed22e5ec7736b Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 26 Dec 2017 17:47:05 +0100 Subject: [PATCH] app: add some warning for code which should not happen. --- app/core/gimp-user-install.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/core/gimp-user-install.c b/app/core/gimp-user-install.c index 326fe3ae53..70268e5bc9 100644 --- a/app/core/gimp-user-install.c +++ b/app/core/gimp-user-install.c @@ -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); }