aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-09-21 06:59:22 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-09-21 06:59:22 +0800
commit0a31aa1bf976af4d244f47bc3fa3a899b81bb208 (patch)
treec05d02924b4e4727b27c3db1e8825299900e1799 /widgets/table
parent586f083c3ab79ada76433afbe8529050f2cd5e31 (diff)
downloadgsoc2013-evolution-0a31aa1bf976af4d244f47bc3fa3a899b81bb208.tar.gz
gsoc2013-evolution-0a31aa1bf976af4d244f47bc3fa3a899b81bb208.tar.zst
gsoc2013-evolution-0a31aa1bf976af4d244f47bc3fa3a899b81bb208.zip
Remove the grab if ->grabbed.
* e-table-item.c (eti_unrealize): Remove the grab if ->grabbed. svn path=/trunk/; revision=13024
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-item.c5
1 files changed, 5 insertions, 0 deletions
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);
on: https://reviews.freebsd.org/D13043