From dcf2c0e754d6e251733cea74c2427738122620af Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 18 Jul 2009 14:05:05 -0400 Subject: More whitespace cleanup. --- a11y/addressbook/ea-minicard-view.c | 10 +++++----- a11y/addressbook/ea-minicard.c | 10 +++++----- a11y/calendar/ea-week-view-cell.c | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'a11y') diff --git a/a11y/addressbook/ea-minicard-view.c b/a11y/addressbook/ea-minicard-view.c index 865e85506a..35d1a3d716 100644 --- a/a11y/addressbook/ea-minicard-view.c +++ b/a11y/addressbook/ea-minicard-view.c @@ -217,11 +217,11 @@ static AtkStateSet *ea_minicard_view_ref_state_set (AtkObject *obj) GObject *gobj = NULL; state_set = ATK_OBJECT_CLASS (parent_class)->ref_state_set (obj); - if( !state_set ) + if ( !state_set ) state_set = atk_state_set_new (); gobj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (obj)); - if( !gobj ) + if ( !gobj ) return state_set; atk_state_set_add_state (state_set, ATK_STATE_ENABLED); @@ -303,7 +303,7 @@ selection_interface_clear_selection (AtkSelection *selection) atk_gobj = ATK_GOBJECT_ACCESSIBLE (selection); reflow = E_REFLOW(atk_gobject_accessible_get_object (atk_gobj)); - if( !reflow ) + if ( !reflow ) return FALSE; e_selection_model_clear (reflow->selection); @@ -341,7 +341,7 @@ selection_interface_is_child_selected (AtkSelection *selection, gint i) atk_gobj = ATK_GOBJECT_ACCESSIBLE (selection); reflow = E_REFLOW(atk_gobject_accessible_get_object (atk_gobj)); - if( !reflow ) + if ( !reflow ) return FALSE; return e_selection_model_is_row_selected (reflow->selection, i); @@ -411,7 +411,7 @@ atk_action_interface_get_description (AtkAction *iface, gint i) static G_CONST_RETURN gchar * atk_action_interface_get_name (AtkAction *iface, gint i) { - if( i >= G_N_ELEMENTS (action_name) || i < 0) + if ( i >= G_N_ELEMENTS (action_name) || i < 0) return NULL; return action_name[i]; diff --git a/a11y/addressbook/ea-minicard.c b/a11y/addressbook/ea-minicard.c index b1b1ebbe33..8791a68e73 100644 --- a/a11y/addressbook/ea-minicard.c +++ b/a11y/addressbook/ea-minicard.c @@ -191,11 +191,11 @@ static AtkStateSet *ea_minicard_ref_state_set (AtkObject *obj) GObject *gobj = NULL; state_set = ATK_OBJECT_CLASS (parent_class)->ref_state_set (obj); - if( !state_set ) + if ( !state_set ) state_set = atk_state_set_new (); gobj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (obj)); - if( !gobj ) + if ( !gobj ) return state_set; atk_state_set_add_state (state_set, ATK_STATE_SELECTABLE); @@ -233,10 +233,10 @@ static gboolean atk_action_interface_do_action (AtkAction *iface, gint i) EMinicard *minicard = NULL; minicard = E_MINICARD (atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (iface))); - if( minicard == NULL ) + if ( minicard == NULL ) return FALSE; - if( i >= G_N_ELEMENTS (action_name) || i < 0 ) + if ( i >= G_N_ELEMENTS (action_name) || i < 0 ) return FALSE; switch (i) { @@ -265,7 +265,7 @@ atk_action_interface_get_description (AtkAction *iface, gint i) static G_CONST_RETURN gchar * atk_action_interface_get_name (AtkAction *iface, gint i) { - if( i >= G_N_ELEMENTS (action_name) || i < 0) + if ( i >= G_N_ELEMENTS (action_name) || i < 0) return NULL; return action_name[i]; diff --git a/a11y/calendar/ea-week-view-cell.c b/a11y/calendar/ea-week-view-cell.c index b391ba02c6..ce27a20486 100644 --- a/a11y/calendar/ea-week-view-cell.c +++ b/a11y/calendar/ea-week-view-cell.c @@ -376,7 +376,7 @@ component_interface_get_extents (AtkComponent *component, *width = week_view->col_widths[cell->column - 1]; *x += week_view->col_offsets[cell->column - 1]- scroll_x; *y += week_view->row_offsets[cell->row*2 + 1]- scroll_y; - } else if (week_view->compress_weekend && (cell->column > (6 - start_day))){ + } else if (week_view->compress_weekend && (cell->column > (6 - start_day))) { *height = week_view->row_heights[cell->row*2]*2; *width = week_view->col_widths[cell->column - 1]; *x += week_view->col_offsets[cell->column - 1] - scroll_x; -- cgit v1.2.3