diff options
author | Radek Doulik <rodo@ximian.com> | 2004-06-10 19:21:36 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-06-10 19:21:36 +0800 |
commit | 5a58230a6d1615225ed6feb32091a5d1b0ac517d (patch) | |
tree | 18c69126b8ddf23b986da84fd5ab684aa14d7e61 /a11y/e-table | |
parent | 2463928c90d0c21d16cd5fd341aee4d747821a1c (diff) | |
download | gsoc2013-evolution-5a58230a6d1615225ed6feb32091a5d1b0ac517d.tar.gz gsoc2013-evolution-5a58230a6d1615225ed6feb32091a5d1b0ac517d.tar.zst gsoc2013-evolution-5a58230a6d1615225ed6feb32091a5d1b0ac517d.zip |
clean code to avoid compiler warnings
2004-06-10 Radek Doulik <rodo@ximian.com>
* gal/a11y/e-table/gal-a11y-e-table-item.c: clean code to avoid
compiler warnings
Fixes #59858
svn path=/trunk/; revision=26280
Diffstat (limited to 'a11y/e-table')
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-item.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/a11y/e-table/gal-a11y-e-table-item.c b/a11y/e-table/gal-a11y-e-table-item.c index 266c95c57e..588df90a6a 100644 --- a/a11y/e-table/gal-a11y-e-table-item.c +++ b/a11y/e-table/gal-a11y-e-table-item.c @@ -49,6 +49,8 @@ static gboolean gal_a11y_e_table_item_ref_selection (GalA11yETableItem *a11y, ESelectionModel *selection); static gboolean gal_a11y_e_table_item_unref_selection (GalA11yETableItem *a11y); +static gpointer *eti_reinit_data (AtkTable *table, ETableItem *item); + #if 0 static void unref_accessible (gpointer user_data, GObject *obj_loc) @@ -265,7 +267,7 @@ cell_destroyed (gpointer data) g_return_if_fail (GAL_A11Y_IS_E_CELL (data)); cell = GAL_A11Y_E_CELL (data); - item = atk_gobject_accessible_for_object (GAL_A11Y_E_CELL(data)->item); + item = GAL_A11Y_E_TABLE_ITEM (atk_gobject_accessible_for_object (G_OBJECT (GAL_A11Y_E_CELL(data)->item))); g_return_if_fail (item && GAL_A11Y_IS_E_TABLE_ITEM (item)); @@ -1294,7 +1296,7 @@ eti_a11y_cursor_changed_cb (ESelectionModel *selection, cell = atk_table_ref_at (ATK_TABLE (a11y), row, col); if (cell != NULL) { - gal_a11y_e_cell_add_state(cell, ATK_STATE_FOCUSED, FALSE); + gal_a11y_e_cell_add_state (GAL_A11Y_E_CELL (cell), ATK_STATE_FOCUSED, FALSE); if (ATK_IS_OBJECT (cell)) g_signal_emit_by_name (a11y, |