theme-node: Add more information to length error message

This commit is contained in:
Jasper St. Pierre 2015-02-20 17:37:28 -08:00
parent 71ae7e69c5
commit 1d23539576

View File

@ -1021,7 +1021,8 @@ get_length_from_term (StThemeNode *node,
if (term->type != TERM_NUMBER) 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; return VALUE_NOT_FOUND;
} }