aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/gal-a11y-e-text.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-31 04:32:08 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-31 07:09:19 +0800
commitec73f5522ff2d6f8c476f02a9daaff32ef1db069 (patch)
tree14729b8cbf271405e732b84ca2ca944ceb0815e5 /widgets/text/gal-a11y-e-text.c
parentc7e371bc5bc8d7898236ac36e1ea0bc08518b791 (diff)
downloadgsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.gz
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.bz2
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.lz
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.xz
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.zst
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/text/gal-a11y-e-text.c')
-rw-r--r--widgets/text/gal-a11y-e-text.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/text/gal-a11y-e-text.c b/widgets/text/gal-a11y-e-text.c
index 113c503da9..6c6724ea6d 100644
--- a/widgets/text/gal-a11y-e-text.c
+++ b/widgets/text/gal-a11y-e-text.c
@@ -64,8 +64,8 @@ et_get_extents (AtkComponent *component,
AtkCoordType coord_type)
{
EText *item = E_TEXT (atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (component)));
- double real_width;
- double real_height;
+ gdouble real_width;
+ gdouble real_height;
gint fake_width;
gint fake_height;
@@ -166,7 +166,7 @@ find_word_start (const gchar *text,
current = g_utf8_get_char_validated (at_offset, -1);
at_offset = g_utf8_offset_to_pointer (text, offset-1);
previous = g_utf8_get_char_validated (at_offset, -1);
- if ((! is_a_seperator (current)) && is_a_seperator (previous))
+ if ((!is_a_seperator (current)) && is_a_seperator (previous))
break;
offset += step;
}
@@ -192,7 +192,7 @@ find_word_end (const gchar *text,
current = g_utf8_get_char_validated (at_offset, -1);
at_offset = g_utf8_offset_to_pointer (text, offset-1);
previous = g_utf8_get_char_validated (at_offset, -1);
- if (is_a_seperator (current) && (! is_a_seperator (previous)))
+ if (is_a_seperator (current) && (!is_a_seperator (previous)))
break;
offset += step;
}