diff options
author | Harry Lu <harry.lu@sun.com> | 2005-09-28 10:52:46 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2005-09-28 10:52:46 +0800 |
commit | 994e17ee2203c09e6c057f5830dec513622406b9 (patch) | |
tree | a6f899f91d04420de4f6c5aca62e9d70394855e5 /a11y/e-table | |
parent | 41e886f9ef5347b5ac40a995d183fa8b4a76d950 (diff) | |
download | gsoc2013-evolution-994e17ee2203c09e6c057f5830dec513622406b9.tar gsoc2013-evolution-994e17ee2203c09e6c057f5830dec513622406b9.tar.gz gsoc2013-evolution-994e17ee2203c09e6c057f5830dec513622406b9.tar.bz2 gsoc2013-evolution-994e17ee2203c09e6c057f5830dec513622406b9.tar.lz gsoc2013-evolution-994e17ee2203c09e6c057f5830dec513622406b9.tar.xz gsoc2013-evolution-994e17ee2203c09e6c057f5830dec513622406b9.tar.zst gsoc2013-evolution-994e17ee2203c09e6c057f5830dec513622406b9.zip |
Fix for #316351
2005-09-27 Harry Lu <harry.lu@sun.com>
Fix for #316351
* e-table/gal-a11y-e-cell.c: (idle_do_action),
(gal_a11y_e_cell_action_do_action): add a ref/unref pair to make
sure the pointer is valid.
svn path=/trunk/; revision=30381
Diffstat (limited to 'a11y/e-table')
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/a11y/e-table/gal-a11y-e-cell.c b/a11y/e-table/gal-a11y-e-cell.c index 85d577f8e5..5957938978 100644 --- a/a11y/e-table/gal-a11y-e-cell.c +++ b/a11y/e-table/gal-a11y-e-cell.c @@ -423,6 +423,7 @@ idle_do_action (gpointer data) cell->action_idle_handler = 0; cell->action_func (cell); + g_object_unref (cell); return FALSE; } @@ -443,6 +444,7 @@ gal_a11y_e_cell_action_do_action (AtkAction *action, if (cell->action_idle_handler) return FALSE; cell->action_func = info->do_action_func; + g_object_ref (cell); cell->action_idle_handler = g_idle_add (idle_do_action, cell); return TRUE; |