aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Giráldez <gustavo.giraldez@gmx.net>2001-12-12 06:20:31 +0800
committerGustavo Giráldez <gustavo@src.gnome.org>2001-12-12 06:20:31 +0800
commit3e70bbe666c1ea68383315c0659aee3757f18cd3 (patch)
tree21d03d1685c3a0c7a5cffaba3208550201ea7ca8
parent12b70e06ff18468084531f338e0ac16553616ffa (diff)
downloadgsoc2013-evolution-3e70bbe666c1ea68383315c0659aee3757f18cd3.tar
gsoc2013-evolution-3e70bbe666c1ea68383315c0659aee3757f18cd3.tar.gz
gsoc2013-evolution-3e70bbe666c1ea68383315c0659aee3757f18cd3.tar.bz2
gsoc2013-evolution-3e70bbe666c1ea68383315c0659aee3757f18cd3.tar.lz
gsoc2013-evolution-3e70bbe666c1ea68383315c0659aee3757f18cd3.tar.xz
gsoc2013-evolution-3e70bbe666c1ea68383315c0659aee3757f18cd3.tar.zst
gsoc2013-evolution-3e70bbe666c1ea68383315c0659aee3757f18cd3.zip
unregister ETableHeaderItem widget as a drag target when unrealizing it.
2001-12-11 Gustavo Giráldez <gustavo.giraldez@gmx.net> * gal/e-table/e-table-header-item.c (ethi_unrealize): unregister ETableHeaderItem widget as a drag target when unrealizing it. svn path=/trunk/; revision=14996
-rw-r--r--widgets/table/e-table-header-item.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index 0c47e12c77..f854f98e8d 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -799,6 +799,8 @@ ethi_unrealize (GnomeCanvasItem *item)
gtk_signal_disconnect (GTK_OBJECT (item->canvas), ethi->drag_end_id);
gtk_signal_disconnect (GTK_OBJECT (item->canvas), ethi->drag_data_get_id);
+ gtk_drag_dest_unset (GTK_WIDGET (item->canvas));
+
if (ethi->stipple){
gdk_bitmap_unref (ethi->stipple);
ethi->stipple = NULL;