aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-20 18:13:47 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-20 18:13:47 +0800
commit447ecfb3e85ac50a5c0248541e0d279af8f93b77 (patch)
treeed4e3b8fa1667493d3f9f682452995c84dfd4e08 /widgets
parent80a9d2f5da12935ca98d7c1bad9a418c494dc209 (diff)
downloadgsoc2013-evolution-447ecfb3e85ac50a5c0248541e0d279af8f93b77.tar.gz
gsoc2013-evolution-447ecfb3e85ac50a5c0248541e0d279af8f93b77.tar.zst
gsoc2013-evolution-447ecfb3e85ac50a5c0248541e0d279af8f93b77.zip
Fixed a warning.
2000-08-20 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Fixed a warning. svn path=/trunk/; revision=4889
Diffstat (limited to 'widgets')
-rw-r--r--widgets/e-text/e-text.c2
-rw-r--r--widgets/text/e-text.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/widgets/e-text/e-text.c b/widgets/e-text/e-text.c
index 1dbe647e33..30e6452ed0 100644
--- a/widgets/e-text/e-text.c
+++ b/widgets/e-text/e-text.c
@@ -1615,6 +1615,7 @@ get_line_xpos_item_relative (EText *text, struct line *line)
return x;
}
+#if 0
/* Calculates the y position of the first line of text. */
static double
get_line_ypos_item_relative (EText *text)
@@ -1644,6 +1645,7 @@ get_line_ypos_item_relative (EText *text)
return y;
}
+#endif
/* Calculates the x position of the specified line of text, based on the text's justification */
static int
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 1dbe647e33..30e6452ed0 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1615,6 +1615,7 @@ get_line_xpos_item_relative (EText *text, struct line *line)
return x;
}
+#if 0
/* Calculates the y position of the first line of text. */
static double
get_line_ypos_item_relative (EText *text)
@@ -1644,6 +1645,7 @@ get_line_ypos_item_relative (EText *text)
return y;
}
+#endif
/* Calculates the x position of the specified line of text, based on the text's justification */
static int