[gimp/gimp-2-8] libgimpbase: improve warning when a string can't be converted to a GimpUnit (cherry picked from comm
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] libgimpbase: improve warning when a string can't be converted to a GimpUnit (cherry picked from comm
- Date: Thu, 4 Oct 2012 22:00:43 +0000 (UTC)
commit d4cfda87ff31a75ff9a49dc4779cbfd61cdde2b9
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
(cherry picked from commit 38a8e67e0303c3bc3c93279ec2c4876902803221)
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]