libgimpbase: improve warning when a string can't be converted to a GimpUnit
(cherry picked from commit 38a8e67e03)
This commit is contained in:
@ -109,7 +109,7 @@ string_to_unit (const GValue *src_value,
|
||||
return;
|
||||
|
||||
error:
|
||||
g_warning ("Can't convert string to GimpUnit.");
|
||||
g_warning ("Can't convert string '%s' to GimpUnit.", str);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user