[evolution-patches] 43893: crash on startup
- From: Mike Kestner <mkestner ximian com>
- To: Evolution Patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] 43893: crash on startup
- Date: 11 Jun 2003 12:00:58 -0500
This patch avoids performing horizontal spacing updates for row
insertions and deletions. Looking at the code, it looks like it would
be a noop anyway.
Mike
Index: e-tree.c
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/e-tree.c,v
retrieving revision 1.102
diff -u -p -r1.102 e-tree.c
--- e-tree.c 21 May 2003 16:02:59 -0000 1.102
+++ e-tree.c 11 Jun 2003 16:53:59 -0000
@@ -1345,18 +1345,6 @@ et_table_cell_changed (ETableModel *tabl
}
static void
-et_table_rows_inserted (ETableModel *table_model, int row, int count, ETree *et)
-{
- et_table_model_changed (table_model, et);
-}
-
-static void
-et_table_rows_deleted (ETableModel *table_model, int row, int count, ETree *et)
-{
- et_table_model_changed (table_model, et);
-}
-
-static void
et_connect_to_etta (ETree *et)
{
et->priv->table_model_change_id = g_signal_connect (et->priv->etta, "model_changed",
@@ -1367,12 +1355,6 @@ et_connect_to_etta (ETree *et)
et->priv->table_cell_change_id = g_signal_connect (et->priv->etta, "model_cell_changed",
G_CALLBACK (et_table_cell_changed), et);
-
- et->priv->table_rows_inserted_id = g_signal_connect (et->priv->etta, "model_rows_inserted",
- G_CALLBACK (et_table_rows_inserted), et);
-
- et->priv->table_rows_deleted_id = g_signal_connect (et->priv->etta, "model_rows_deleted",
- G_CALLBACK (et_table_rows_deleted), et);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]