aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/widgets
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2006-01-27 22:50:40 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-01-27 22:50:40 +0800
commit08d6eeabaa3402e349a2d88b1e344b5fc04815bc (patch)
tree7e50ef67042d5a5c9d0c61e566e4c88b301a8ef8 /a11y/widgets
parent89c42a519884edd815dff38dd8530b7403f350d1 (diff)
downloadgsoc2013-evolution-08d6eeabaa3402e349a2d88b1e344b5fc04815bc.tar.gz
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/widgets')
-rw-r--r--a11y/widgets/ea-calendar-item.c9
-rw-r--r--a11y/widgets/ea-widgets.c4
2 files changed, 2 insertions, 11 deletions
diff --git a/a11y/widgets/ea-calendar-item.c b/a11y/widgets/ea-calendar-item.c
index b8e283e604..0aeac944df 100644
--- a/a11y/widgets/ea-calendar-item.c
+++ b/a11y/widgets/ea-calendar-item.c
@@ -786,7 +786,6 @@ table_interface_get_column_description (AtkTable *table, gint in_col)
{
AtkGObjectAccessible *atk_gobj;
GObject *g_obj;
- ECalendarItem *calitem;
EaCalendarItem* ea_calitem = EA_CALENDAR_ITEM (table);
const gchar *description = NULL;
EaCellTable *cell_data;
@@ -797,7 +796,6 @@ table_interface_get_column_description (AtkTable *table, gint in_col)
if (!g_obj)
return NULL;
- calitem = E_CALENDAR_ITEM (g_obj);
n_columns = table_interface_get_n_columns (table);
if (in_col < 0 || in_col >= n_columns)
return NULL;
@@ -822,7 +820,6 @@ table_interface_get_row_description (AtkTable *table, gint row)
{
AtkGObjectAccessible *atk_gobj;
GObject *g_obj;
- ECalendarItem *calitem;
EaCalendarItem* ea_calitem = EA_CALENDAR_ITEM (table);
const gchar *description = NULL;
EaCellTable *cell_data;
@@ -833,7 +830,6 @@ table_interface_get_row_description (AtkTable *table, gint row)
if (!g_obj)
return NULL;
- calitem = E_CALENDAR_ITEM (g_obj);
n_rows = table_interface_get_n_rows (table);
if (row < 0 || row >= n_rows)
return NULL;
@@ -972,7 +968,6 @@ selection_interface_is_child_selected (AtkSelection *selection, gint index)
{
AtkGObjectAccessible *atk_gobj;
GObject *g_obj;
- ECalendarItem *calitem;
EaCalendarItem* ea_calitem = EA_CALENDAR_ITEM (selection);
gint row, column, n_children;
@@ -981,7 +976,6 @@ selection_interface_is_child_selected (AtkSelection *selection, gint index)
if (!g_obj)
return FALSE;
- calitem = E_CALENDAR_ITEM (g_obj);
n_children = atk_object_get_n_accessible_children (ATK_OBJECT (selection));
if (index < 0 || index >= n_children)
return FALSE;
@@ -1042,7 +1036,6 @@ ea_calendar_item_get_cell_data (EaCalendarItem *ea_calitem)
{
AtkGObjectAccessible *atk_gobj;
GObject *g_obj;
- ECalendarItem *calitem;
EaCellTable *cell_data;
g_return_val_if_fail (ea_calitem, NULL);
@@ -1052,8 +1045,6 @@ ea_calendar_item_get_cell_data (EaCalendarItem *ea_calitem)
if (!g_obj)
return NULL;
- calitem = E_CALENDAR_ITEM (g_obj);
-
cell_data = g_object_get_data (G_OBJECT(ea_calitem),
"ea-calendar-cell-table");
diff --git a/a11y/widgets/ea-widgets.c b/a11y/widgets/ea-widgets.c
index feef6d1ef3..372783b92d 100644
--- a/a11y/widgets/ea-widgets.c
+++ b/a11y/widgets/ea-widgets.c
@@ -28,8 +28,8 @@
#include "widgets/ea-combo-button.h"
#include "ea-widgets.h"
-EA_FACTORY_GOBJECT (EA_TYPE_CALENDAR_ITEM, ea_calendar_item, ea_calendar_item_new);
-EA_FACTORY (EA_TYPE_COMBO_BUTTON, ea_combo_button, ea_combo_button_new);
+EA_FACTORY_GOBJECT (EA_TYPE_CALENDAR_ITEM, ea_calendar_item, ea_calendar_item_new)
+EA_FACTORY (EA_TYPE_COMBO_BUTTON, ea_combo_button, ea_combo_button_new)
void e_calendar_item_a11y_init (void)
{