[gimp] libgimpbase: improve warning when a string can't be converted to a GimpUnit
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpbase: improve warning when a string can't be converted to a GimpUnit
- Date: Thu, 4 Oct 2012 20:54:00 +0000 (UTC)
commit 38a8e67e0303c3bc3c93279ec2c4876902803221
Author: Michael Natterer <mitch gimp org>
Date: Thu Oct 4 22:53:14 2012 +0200
libgimpbase: improve warning when a string can't be converted to a GimpUnit
libgimpbase/gimpunit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpbase/gimpunit.c b/libgimpbase/gimpunit.c
index cbd4aa9..aba477e 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]