diff options
author | Milan Crha <mcrha@redhat.com> | 2014-06-06 20:14:28 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-06-06 20:14:28 +0800 |
commit | a7c87d11c05a1b4684fb6cc27b52729038edb606 (patch) | |
tree | df7cc807e2abd6f276dd45af841d6c37e57bd9f0 /e-util | |
parent | d6dcec1b5578cc6a67d3dea97e48b580149cf421 (diff) | |
download | gsoc2013-evolution-a7c87d11c05a1b4684fb6cc27b52729038edb606.tar gsoc2013-evolution-a7c87d11c05a1b4684fb6cc27b52729038edb606.tar.gz gsoc2013-evolution-a7c87d11c05a1b4684fb6cc27b52729038edb606.tar.bz2 gsoc2013-evolution-a7c87d11c05a1b4684fb6cc27b52729038edb606.tar.lz gsoc2013-evolution-a7c87d11c05a1b4684fb6cc27b52729038edb606.tar.xz gsoc2013-evolution-a7c87d11c05a1b4684fb6cc27b52729038edb606.tar.zst gsoc2013-evolution-a7c87d11c05a1b4684fb6cc27b52729038edb606.zip |
Bug 668006 - Crash when dragging column headers of Tasks list
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/gal-a11y-e-table-item.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/e-util/gal-a11y-e-table-item.c b/e-util/gal-a11y-e-table-item.c index 95b489411d..a650d68786 100644 --- a/e-util/gal-a11y-e-table-item.c +++ b/e-util/gal-a11y-e-table-item.c @@ -874,7 +874,7 @@ eti_header_structure_changed (ETableHeader *eth, g_return_if_fail (cols && prev_cols && n_cols > 0); - /* Init to ETI_HEADER_UNCHANGED. */ + /* Init to ETI_HEADER_UNCHANGED. */ state = g_malloc0 (sizeof (gint) * (MAX (prev_n_cols, n_cols) + 1)); prev_state = g_malloc0 (sizeof (gint) * (MAX (prev_n_cols, n_cols) + 1)); reorder = g_malloc0 (sizeof (gint) * (MAX (prev_n_cols, n_cols) + 1)); @@ -975,16 +975,15 @@ eti_real_initialize (AtkObject *obj, model = eti->table_model; - g_signal_connect ( + g_signal_connect_object ( model, "model-rows-inserted", - G_CALLBACK (eti_rows_inserted), obj); - g_signal_connect ( + G_CALLBACK (eti_rows_inserted), obj, 0); + g_signal_connect_object ( model, "model-rows-deleted", - G_CALLBACK (eti_rows_deleted), obj); - g_signal_connect ( + G_CALLBACK (eti_rows_deleted), obj, 0); + g_signal_connect_object ( eti->header, "structure_change", - G_CALLBACK (eti_header_structure_changed), obj); - + G_CALLBACK (eti_header_structure_changed), obj, 0); } static void |