aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-text.c
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-05-17 05:58:33 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-05-17 05:58:33 +0800
commitd09737dec4c5833000afca64595e0966d88ea03b (patch)
tree88d22dec4a819d61e53133607b7c3d594b31bdf2 /widgets/table/e-cell-text.c
parent2d6fce05747fd04985f9d842491c004b54bc039b (diff)
downloadgsoc2013-evolution-d09737dec4c5833000afca64595e0966d88ea03b.tar.gz
gsoc2013-evolution-d09737dec4c5833000afca64595e0966d88ea03b.tar.zst
gsoc2013-evolution-d09737dec4c5833000afca64595e0966d88ea03b.zip
block the signal that got us here until we're done to stop an infinite
2003-05-16 Mike Kestner <mkestner@ximian.com> * gal-view-collection.c (view_changed): block the signal that got us here until we're done to stop an infinite recursion. Fixes 43153. 2003-05-16 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (invisible_finalize): kill (ect_stop_editing): destroy the invisible, not weak_unref (e_cell_text_view_get_invisible): don't weak_ref the invisible since we own its ref. 2003-05-16 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_event): fix a couple timer checks * e-tree-table-adapter.c (update_node): Traverse POST order so that the parent nodes are at the head of the prepended list. Don't restore expanded state to nodes that aren't in the tree any longer. Hopefully fixes #42856. svn path=/trunk/; revision=21229
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r--widgets/table/e-cell-text.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 12cd9af482..90d8f7805e 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -250,14 +250,6 @@ ect_queue_redraw (ECellTextView *text_view, int view_col, int view_row)
view_col, view_row, view_col, view_row);
}
-static void
-invisible_finalize (gpointer data,
- GObject *invisible)
-{
- CellEdit *edit = data;
- edit->invisible = NULL;
-}
-
/*
* Shuts down the editing process
*/
@@ -277,9 +269,8 @@ ect_stop_editing (ECellTextView *text_view, gboolean commit)
old_text = edit->old_text;
text = edit->text;
- if (edit->invisible) {
- g_object_weak_unref (G_OBJECT (edit->invisible), invisible_finalize, edit);
- }
+ if (edit->invisible)
+ gtk_widget_destroy (edit->invisible);
if (edit->tep)
g_object_unref (edit->tep);
if (edit->primary_selection)
@@ -2215,8 +2206,6 @@ static GtkWidget *e_cell_text_view_get_invisible (CellEdit *edit)
g_signal_connect (invisible, "selection_received",
G_CALLBACK (_selection_received),
edit);
-
- g_object_weak_ref (G_OBJECT (invisible), invisible_finalize, edit);
}
return edit->invisible;
}