diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-11 23:50:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-12 02:14:04 +0800 |
commit | ebcce86769d174cce6e881740c5e9bcedce28e06 (patch) | |
tree | b2cc2d18ceb0c3bd3e78f5b768c1b6926b69bb4a /widgets/text/gal-a11y-e-text.c | |
parent | 1e3deb31476cf0026011876327be83e9a47847ee (diff) | |
download | gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.tar.gz gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.tar.zst gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.zip |
Coding style and whitespace cleanups.
Diffstat (limited to 'widgets/text/gal-a11y-e-text.c')
-rw-r--r-- | widgets/text/gal-a11y-e-text.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/widgets/text/gal-a11y-e-text.c b/widgets/text/gal-a11y-e-text.c index 9145ed8b41..45bd9341ec 100644 --- a/widgets/text/gal-a11y-e-text.c +++ b/widgets/text/gal-a11y-e-text.c @@ -146,7 +146,7 @@ et_get_text (AtkText *text, static gboolean is_a_seperator (gunichar c) { - return g_unichar_ispunct(c) || g_unichar_isspace(c); + return g_unichar_ispunct (c) || g_unichar_isspace (c); } static gint @@ -480,7 +480,7 @@ et_get_caret_offset (AtkText *text) EText *etext; gint offset; - g_return_val_if_fail (ATK_IS_GOBJECT_ACCESSIBLE(text), -1); + g_return_val_if_fail (ATK_IS_GOBJECT_ACCESSIBLE (text), -1); obj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (text)); if (obj == NULL) return -1; @@ -526,14 +526,14 @@ et_get_character_extents (AtkText *text, GtkWidget *widget; PangoRectangle pango_pos; - g_return_if_fail (ATK_IS_GOBJECT_ACCESSIBLE(text)); + g_return_if_fail (ATK_IS_GOBJECT_ACCESSIBLE (text)); obj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (text)); if (obj == NULL) return; g_return_if_fail (E_IS_TEXT (obj)); - etext = E_TEXT(obj); - canvas = GNOME_CANVAS_ITEM(etext)->canvas; - widget = GTK_WIDGET(canvas); + etext = E_TEXT (obj); + canvas = GNOME_CANVAS_ITEM (etext)->canvas; + widget = GTK_WIDGET (canvas); window = gtk_widget_get_window (widget); gdk_window_get_origin (window, &x_widget, &y_widget); @@ -604,14 +604,14 @@ et_get_offset_at_point (AtkText *text, gint index; gint trailing; - g_return_val_if_fail (ATK_IS_GOBJECT_ACCESSIBLE(text), -1); + g_return_val_if_fail (ATK_IS_GOBJECT_ACCESSIBLE (text), -1); obj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (text)); if (obj == NULL) return -1; g_return_val_if_fail (E_IS_TEXT (obj), -1); - etext = E_TEXT(obj); - canvas = GNOME_CANVAS_ITEM(etext)->canvas; - widget = GTK_WIDGET(canvas); + etext = E_TEXT (obj); + canvas = GNOME_CANVAS_ITEM (etext)->canvas; + widget = GTK_WIDGET (canvas); window = gtk_widget_get_window (widget); gdk_window_get_origin (window, &x_widget, &y_widget); @@ -880,7 +880,7 @@ et_delete_text (AtkEditableText *text, GObject *obj; EText *etext; - g_return_if_fail (ATK_IS_GOBJECT_ACCESSIBLE(text)); + g_return_if_fail (ATK_IS_GOBJECT_ACCESSIBLE (text)); obj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (text)); if (obj == NULL) return; |