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/calendar | |
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/calendar')
-rw-r--r-- | a11y/calendar/ea-day-view-main-item.c | 4 | ||||
-rw-r--r-- | a11y/calendar/ea-week-view-cell.c | 12 | ||||
-rw-r--r-- | a11y/calendar/ea-week-view-main-item.c | 4 | ||||
-rw-r--r-- | a11y/calendar/ea-week-view.c | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/a11y/calendar/ea-day-view-main-item.c b/a11y/calendar/ea-day-view-main-item.c index c1176b4417..87cd266c5c 100644 --- a/a11y/calendar/ea-day-view-main-item.c +++ b/a11y/calendar/ea-day-view-main-item.c @@ -445,10 +445,10 @@ ea_day_view_main_item_time_change_cb (EDayView *day_view, gpointer data) atk_state_set_add_state (state_set, ATK_STATE_FOCUSED); g_object_unref (state_set); - g_signal_emit_by_name (ea_main_item, + g_signal_emit_by_name (ea_main_item, "active-descendant-changed", item_cell); - g_signal_emit_by_name (data, "selection_changed"); + g_signal_emit_by_name (data, "selection_changed"); atk_focus_tracker_notify (item_cell); g_object_unref (item_cell); diff --git a/a11y/calendar/ea-week-view-cell.c b/a11y/calendar/ea-week-view-cell.c index f3f7183c55..a7248c00ae 100644 --- a/a11y/calendar/ea-week-view-cell.c +++ b/a11y/calendar/ea-week-view-cell.c @@ -369,9 +369,9 @@ component_interface_get_extents (AtkComponent *component, if (week_view->multi_week_view) { if (week_view->compress_weekend && (cell->column == (5 - start_day))) { *height = week_view->row_heights[cell->row*2]; - *width = week_view->col_widths[cell->column]; - *x += week_view->col_offsets[cell->column] - scroll_x; - *y += week_view->row_offsets[cell->row*2]- scroll_y; + *width = week_view->col_widths[cell->column]; + *x += week_view->col_offsets[cell->column] - scroll_x; + *y += week_view->row_offsets[cell->row*2]- scroll_y; } else if (week_view->compress_weekend && (cell->column == (6 - start_day))) { *height = week_view->row_heights[cell->row*2]; *width = week_view->col_widths[cell->column - 1]; @@ -383,10 +383,10 @@ component_interface_get_extents (AtkComponent *component, *x += week_view->col_offsets[cell->column - 1] - scroll_x; *y += week_view->row_offsets[cell->row*2]- scroll_y; } else { - *height = week_view->row_heights[cell->row*2]*2; + *height = week_view->row_heights[cell->row*2]*2; *width = week_view->col_widths[cell->column]; - *x += week_view->col_offsets[cell->column] - scroll_x; - *y += week_view->row_offsets[cell->row*2]- scroll_y; + *x += week_view->col_offsets[cell->column] - scroll_x; + *y += week_view->row_offsets[cell->row*2]- scroll_y; } } else { if (start_day < 3) { diff --git a/a11y/calendar/ea-week-view-main-item.c b/a11y/calendar/ea-week-view-main-item.c index 3ba4508ba3..065f2be528 100644 --- a/a11y/calendar/ea-week-view-main-item.c +++ b/a11y/calendar/ea-week-view-main-item.c @@ -445,10 +445,10 @@ ea_week_view_main_item_time_change_cb (EWeekView *week_view, gpointer data) atk_state_set_add_state (state_set, ATK_STATE_FOCUSED); g_object_unref (state_set); - g_signal_emit_by_name (ea_main_item, + g_signal_emit_by_name (ea_main_item, "active-descendant-changed", item_cell); - g_signal_emit_by_name (data, "selection_changed"); + g_signal_emit_by_name (data, "selection_changed"); atk_focus_tracker_notify (item_cell); g_object_unref (item_cell); } diff --git a/a11y/calendar/ea-week-view.c b/a11y/calendar/ea-week-view.c index 734f09239a..97a8dae25d 100644 --- a/a11y/calendar/ea-week-view.c +++ b/a11y/calendar/ea-week-view.c @@ -258,7 +258,7 @@ ea_week_view_ref_child (AtkObject *accessible, gint index) g_return_val_if_fail (EA_IS_WEEK_VIEW (accessible), NULL); child_num = atk_object_get_n_accessible_children (accessible); - if (child_num <= 0 || index < 0 || index >= child_num) + if (child_num <= 0 || index < 0 || index >= child_num) return NULL; if (!GTK_ACCESSIBLE (accessible)->widget) @@ -270,7 +270,7 @@ ea_week_view_ref_child (AtkObject *accessible, gint index) /* index == 0 is the main item */ atk_object = atk_gobject_accessible_for_object (G_OBJECT (week_view->main_canvas_item)); g_object_ref (atk_object); - } else + } else for (event_index = 0; event_index < max_count; ++event_index) { EWeekViewEvent *event; EWeekViewEventSpan *span; |