diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2006-01-27 22:50:40 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-01-27 22:50:40 +0800 |
commit | 08d6eeabaa3402e349a2d88b1e344b5fc04815bc (patch) | |
tree | 7e50ef67042d5a5c9d0c61e566e4c88b301a8ef8 /a11y/calendar/ea-week-view-main-item.c | |
parent | 89c42a519884edd815dff38dd8530b7403f350d1 (diff) | |
download | gsoc2013-evolution-08d6eeabaa3402e349a2d88b1e344b5fc04815bc.tar gsoc2013-evolution-08d6eeabaa3402e349a2d88b1e344b5fc04815bc.tar.gz gsoc2013-evolution-08d6eeabaa3402e349a2d88b1e344b5fc04815bc.tar.bz2 gsoc2013-evolution-08d6eeabaa3402e349a2d88b1e344b5fc04815bc.tar.lz gsoc2013-evolution-08d6eeabaa3402e349a2d88b1e344b5fc04815bc.tar.xz gsoc2013-evolution-08d6eeabaa3402e349a2d88b1e344b5fc04815bc.tar.zst gsoc2013-evolution-08d6eeabaa3402e349a2d88b1e344b5fc04815bc.zip |
reviewed by: Harish Krishnaswamy <kharish@novell.com>
2006-01-27 Kjartan Maraas <kmaraas@gnome.org>
reviewed by: Harish Krishnaswamy <kharish@novell.com>
* addressbook/ea-addressbook.c: Remove extra semi-colons.
* calendar/ea-cal-view.c: (ea_cal_view_event_changed_cb),
(ea_cal_view_event_added_cb), (action_interface_get_keybinding):
Remove unused code and variables.
* calendar/ea-day-view-main-item.c:
(table_interface_get_row_description): More removal of unused bits
* calendar/ea-week-view-main-item.c:
(ea_week_view_main_item_get_row_at_index),
(ea_week_view_main_item_get_column_at_index),
(ea_week_view_main_item_get_row_label),
(table_interface_get_n_columns),
(table_interface_get_column_description): Same again.
* e-table/gal-a11y-e-table-item.c: (gal_a11y_e_table_item_new):
And again.
* e-table/gal-a11y-e-table.c: (et_ref_child): Remove unused var.
* e-table/gal-a11y-e-tree.c: (gal_a11y_e_tree_new): Again.
* e-text/gal-a11y-e-text.c: (et_set_selection),
(et_real_initialize): Same here too.
* widgets/ea-calendar-item.c:
(table_interface_get_column_description),
(table_interface_get_row_description),
(selection_interface_is_child_selected),
(ea_calendar_item_get_cell_data): And here too.
* widgets/ea-widgets.c: More redundant semi-colons.
svn path=/trunk/; revision=31324
Diffstat (limited to 'a11y/calendar/ea-week-view-main-item.c')
-rw-r--r-- | a11y/calendar/ea-week-view-main-item.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/a11y/calendar/ea-week-view-main-item.c b/a11y/calendar/ea-week-view-main-item.c index 81a66cfedc..490c235446 100644 --- a/a11y/calendar/ea-week-view-main-item.c +++ b/a11y/calendar/ea-week-view-main-item.c @@ -491,8 +491,6 @@ ea_week_view_main_item_get_row_at_index (EaWeekViewMainItem *ea_main_item, { AtkGObjectAccessible *atk_gobj; GObject *g_obj; - EWeekViewMainItem *main_item; - EWeekView *week_view; gint n_children; g_return_val_if_fail (ea_main_item, -1); @@ -502,9 +500,6 @@ ea_week_view_main_item_get_row_at_index (EaWeekViewMainItem *ea_main_item, if (!g_obj) return -1; - main_item = E_WEEK_VIEW_MAIN_ITEM (g_obj); - week_view = main_item->week_view; - n_children = ea_week_view_main_item_get_n_children (ATK_OBJECT (ea_main_item)); if (index >= 0 && index < n_children) return index / 7; @@ -517,8 +512,6 @@ ea_week_view_main_item_get_column_at_index (EaWeekViewMainItem *ea_main_item, { AtkGObjectAccessible *atk_gobj; GObject *g_obj; - EWeekViewMainItem *main_item; - EWeekView *week_view; gint n_children; g_return_val_if_fail (ea_main_item, -1); @@ -528,9 +521,6 @@ ea_week_view_main_item_get_column_at_index (EaWeekViewMainItem *ea_main_item, if (!g_obj) return -1; - main_item = E_WEEK_VIEW_MAIN_ITEM (g_obj); - week_view = main_item->week_view; - n_children = ea_week_view_main_item_get_n_children (ATK_OBJECT (ea_main_item)); if (index >= 0 && index < n_children) return index % 7; @@ -543,8 +533,6 @@ ea_week_view_main_item_get_row_label (EaWeekViewMainItem *ea_main_item, { AtkGObjectAccessible *atk_gobj; GObject *g_obj; - EWeekViewMainItem *main_item; - EWeekView *week_view; g_return_val_if_fail (ea_main_item, 0); @@ -553,9 +541,6 @@ ea_week_view_main_item_get_row_label (EaWeekViewMainItem *ea_main_item, if (!g_obj) return 0 ; - main_item = E_WEEK_VIEW_MAIN_ITEM (g_obj); - week_view = main_item->week_view; - return g_snprintf (buffer, buffer_size, "the %i week", row + 1); @@ -715,8 +700,6 @@ table_interface_get_n_columns (AtkTable *table) { AtkGObjectAccessible *atk_gobj; GObject *g_obj; - EWeekViewMainItem *main_item; - EWeekView *week_view; EaWeekViewMainItem* ea_main_item = EA_WEEK_VIEW_MAIN_ITEM (table); atk_gobj = ATK_GOBJECT_ACCESSIBLE (ea_main_item); @@ -724,9 +707,6 @@ table_interface_get_n_columns (AtkTable *table) if (!g_obj) return -1; - main_item = E_WEEK_VIEW_MAIN_ITEM (g_obj); - week_view = main_item->week_view; - return 7; } @@ -1037,8 +1017,6 @@ table_interface_get_column_description (AtkTable *table, { AtkGObjectAccessible *atk_gobj; GObject *g_obj; - EWeekViewMainItem *main_item; - EWeekView *week_view; EaWeekViewMainItem* ea_main_item = EA_WEEK_VIEW_MAIN_ITEM (table); const gchar *description; EaCellTable *cell_data; @@ -1048,9 +1026,6 @@ table_interface_get_column_description (AtkTable *table, if (!g_obj) return NULL; - main_item = E_WEEK_VIEW_MAIN_ITEM (g_obj); - week_view = main_item->week_view; - if (in_col < 0 || in_col > 6) return NULL; cell_data = ea_week_view_main_item_get_cell_data (ea_main_item); |