[gimp] libgimpwidgets: clean up comment
- From: Sven Neumann <neo src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] libgimpwidgets: clean up comment
- Date: Mon, 9 Nov 2009 18:09:14 +0000 (UTC)
commit 42e31b1cc8cfd78d52e94491af19e62f81dbf486
Author: Sven Neumann <sven gimp org>
Date: Mon Nov 9 19:07:54 2009 +0100
libgimpwidgets: clean up comment
Rephrase a comment so that it does not cause a false positive when
looking for deprecated GDK symbols.
libgimpwidgets/gimpruler.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgimpwidgets/gimpruler.c b/libgimpwidgets/gimpruler.c
index 7c6da67..33c42d6 100644
--- a/libgimpwidgets/gimpruler.c
+++ b/libgimpwidgets/gimpruler.c
@@ -780,9 +780,9 @@ gimp_ruler_draw_ticks (GimpRuler *ruler)
* of this displayed text. Use this height to find a scale which
* leaves sufficient room for drawing the ruler.
*
- * We calculate the text size as for the vruler instead of using
- * text_size = gdk_string_width(font, unit_str), so that the result
- * for the scale looks consistent with an accompanying vruler
+ * We calculate the text size as for the vruler instead of
+ * actually measuring the text width, so that the result for the
+ * scale looks consistent with an accompanying vruler.
*/
scale = ceil (max_size);
g_snprintf (unit_str, sizeof (unit_str), "%d", scale);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]