diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:05:05 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:05:38 +0800 |
commit | dcf2c0e754d6e251733cea74c2427738122620af (patch) | |
tree | 358d2c639c2a5b5cf5fc8f28c515076f8b4d4e5d /a11y | |
parent | 76fc1247ba88575c0f6e0040672e19e66f53da4f (diff) | |
download | gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.gz gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.bz2 gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.lz gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.xz gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.zst gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.zip |
More whitespace cleanup.
Diffstat (limited to 'a11y')
-rw-r--r-- | a11y/addressbook/ea-minicard-view.c | 10 | ||||
-rw-r--r-- | a11y/addressbook/ea-minicard.c | 10 | ||||
-rw-r--r-- | a11y/calendar/ea-week-view-cell.c | 2 |
3 files changed, 11 insertions, 11 deletions
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; |