From 0a31aa1bf976af4d244f47bc3fa3a899b81bb208 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 20 Sep 2001 22:59:22 +0000 Subject: Remove the grab if ->grabbed. * e-table-item.c (eti_unrealize): Remove the grab if ->grabbed. svn path=/trunk/; revision=13024 --- widgets/table/e-table-item.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'widgets') diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index b0ac255376..869254b703 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1263,6 +1263,11 @@ eti_unrealize (GnomeCanvasItem *item) { ETableItem *eti = E_TABLE_ITEM (item); + if (eti->grabbed) { + gtk_grab_remove (GTK_WIDGET (GNOME_CANVAS_ITEM (eti)->canvas)); + eti->grabbed = FALSE; + } + if (eti_editing (eti)) e_table_item_leave_edit (eti); -- cgit