[evolution/evolution-3-12] Bug 668006 - Crash when dragging column headers of Tasks list



commit 69914f773a759f1251ac55001873b95d51ad2de0
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jun 6 14:14:28 2014 +0200

    Bug 668006 - Crash when dragging column headers of Tasks list

 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 95b4894..a650d68 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]