From 1d235395765226a981fd31f16adae505ad8642de Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 20 Feb 2015 17:37:28 -0800 Subject: [PATCH] theme-node: Add more information to length error message --- src/st/st-theme-node.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/st/st-theme-node.c b/src/st/st-theme-node.c index 9aedc3ba1..7acb5708c 100644 --- a/src/st/st-theme-node.c +++ b/src/st/st-theme-node.c @@ -1021,7 +1021,8 @@ get_length_from_term (StThemeNode *node, if (term->type != TERM_NUMBER) { - g_warning ("Ignoring length property that isn't a number"); + g_warning ("Ignoring length property that isn't a number at line %d, col %d", + term->location.line, term->location.column); return VALUE_NOT_FOUND; }