From d4cfda87ff31a75ff9a49dc4779cbfd61cdde2b9 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Thu, 4 Oct 2012 22:53:14 +0200 Subject: [PATCH] libgimpbase: improve warning when a string can't be converted to a GimpUnit (cherry picked from commit 38a8e67e0303c3bc3c93279ec2c4876902803221) --- libgimpbase/gimpunit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgimpbase/gimpunit.c b/libgimpbase/gimpunit.c index cbd4aa9fe4..aba477e954 100644 --- a/libgimpbase/gimpunit.c +++ b/libgimpbase/gimpunit.c @@ -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); }