From c84cfbc83a72e6e5990af279128d9c27d9e41151 Mon Sep 17 00:00:00 2001 From: Bolian Yin Date: Tue, 2 Dec 2003 07:40:28 +0000 Subject: Fixes #51139 2003-12-02 Bolian Yin Fixes #51139 * gal/a11y/gal-a11y-e-table-item: (gal_a11y_e_table_item_ref_selection) (gal_a11y_e_table_item_unref_selection): new functions. * gal/e-table/e-table-item.c : change the place of emitting ""selection_model_removed" signal. svn path=/trunk/; revision=23571 --- widgets/table/e-table-item.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets') diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 35daab025e..70d1213fa9 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -553,8 +553,6 @@ eti_remove_selection_model (ETableItem *eti) eti->cursor_change_id); g_signal_handler_disconnect (eti->selection, eti->cursor_activated_id); - g_signal_emit_by_name (G_OBJECT(eti), - "selection_model_removed", eti->selection); g_object_unref (eti->selection); eti->selection_change_id = 0; @@ -1466,6 +1464,8 @@ eti_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpe break; case PROP_SELECTION_MODEL: + g_signal_emit_by_name (G_OBJECT(eti), + "selection_model_removed", eti->selection); eti_remove_selection_model (eti); if (g_value_get_object (value)) eti_add_selection_model (eti, E_SELECTION_MODEL(g_value_get_object(value))); -- cgit v1.2.3