diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-29 01:06:29 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-29 01:13:05 +0800 |
commit | 6413227cef16fcee96670ccb56ece9e1cc3293c5 (patch) | |
tree | 0ae5ede7ec34c09ef959f01c27f440f2285e5e49 /a11y/e-text | |
parent | fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (diff) | |
download | gsoc2013-evolution-6413227cef16fcee96670ccb56ece9e1cc3293c5.tar gsoc2013-evolution-6413227cef16fcee96670ccb56ece9e1cc3293c5.tar.gz gsoc2013-evolution-6413227cef16fcee96670ccb56ece9e1cc3293c5.tar.bz2 gsoc2013-evolution-6413227cef16fcee96670ccb56ece9e1cc3293c5.tar.lz gsoc2013-evolution-6413227cef16fcee96670ccb56ece9e1cc3293c5.tar.xz gsoc2013-evolution-6413227cef16fcee96670ccb56ece9e1cc3293c5.tar.zst gsoc2013-evolution-6413227cef16fcee96670ccb56ece9e1cc3293c5.zip |
Whitespace cleanup.
Diffstat (limited to 'a11y/e-text')
-rw-r--r-- | a11y/e-text/gal-a11y-e-text.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/a11y/e-text/gal-a11y-e-text.c b/a11y/e-text/gal-a11y-e-text.c index 6717f687b0..f5939670f2 100644 --- a/a11y/e-text/gal-a11y-e-text.c +++ b/a11y/e-text/gal-a11y-e-text.c @@ -383,19 +383,19 @@ et_get_text_at_offset (AtkText *text, case ATK_TEXT_BOUNDARY_SENTENCE_START: start = find_sentence_start (full_text, offset - 1, -1); end = find_sentence_start (full_text, offset, 1); - break; + break; case ATK_TEXT_BOUNDARY_SENTENCE_END: - start = find_sentence_end (full_text, offset, -1); + start = find_sentence_end (full_text, offset, -1); end = find_sentence_end (full_text, offset + 1, 1); break; case ATK_TEXT_BOUNDARY_LINE_START: - start = find_line_start (full_text, offset - 1, -1); + start = find_line_start (full_text, offset - 1, -1); end = find_line_start (full_text, offset, 1); - break; + break; case ATK_TEXT_BOUNDARY_LINE_END: start = find_line_end (full_text, offset, -1); end = find_line_end (full_text, offset + 1, 1); - break; + break; default: return NULL; } @@ -448,19 +448,19 @@ et_get_text_before_offset (AtkText *text, case ATK_TEXT_BOUNDARY_SENTENCE_START: end = find_sentence_start (full_text, offset, -1); start = find_sentence_start (full_text, end - 1, -1); - break; + break; case ATK_TEXT_BOUNDARY_SENTENCE_END: - end = find_sentence_end (full_text, offset, -1); + end = find_sentence_end (full_text, offset, -1); start = find_sentence_end (full_text, end - 1, -1); - break; + break; case ATK_TEXT_BOUNDARY_LINE_START: - end = find_line_start (full_text, offset, -1); + end = find_line_start (full_text, offset, -1); start = find_line_start (full_text, end - 1, -1); - break; + break; case ATK_TEXT_BOUNDARY_LINE_END: - end = find_line_end (full_text, offset, -1); + end = find_line_end (full_text, offset, -1); start = find_line_end (full_text, end - 1, -1); - break; + break; default: return NULL; } @@ -572,8 +572,8 @@ et_get_character_extents (AtkText *text, window = gdk_window_get_toplevel (window); gdk_window_get_origin (window, &x_window, &y_window); *x -= x_window; - *y -= y_window; - } + *y -= y_window; + } else if (coords == ATK_XY_SCREEN) { } else { |