[gnumeric] fix a grab issue



commit 649386d422bbfdd6767d17da8cedfe896db52db4
Author: Jean Brefort <jean brefort normalesup org>
Date:   Wed Sep 2 21:44:04 2009 +0200

    fix a grab issue

 ChangeLog      |    4 ++++
 src/item-bar.c |    5 -----
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index dfaeacf..1c0f26d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-02  Jean Brefort  <jean brefort normalesup org>
+
+	* src/item-bar.c (item_bar_motion): don't grab the item from there.
+
 2009-09-01  Morten Welinder  <terra gnome org>
 
 	* src/style-color.h (GnmColor): Eliminate gdk_color filed.  All
diff --git a/src/item-bar.c b/src/item-bar.c
index 3a689e2..c54d767 100644
--- a/src/item-bar.c
+++ b/src/item-bar.c
@@ -954,11 +954,6 @@ item_bar_motion (GocItem *item, double x_, double y_)
 			ib->has_resize_guides = TRUE;
 			scg_size_guide_start (ib->pane->simple.scg,
 				ib->is_col_header, ib->colrow_being_resized, 1);
-
-			gnm_simple_canvas_grab (item,
-				GDK_POINTER_MOTION_MASK | GDK_BUTTON_RELEASE_MASK,
-				ib->change_cursor,
-			    ((GdkEventMotion *) goc_canvas_get_cur_event (canvas))->time);
 		}
 
 		cri = sheet_colrow_get_info (sheet,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]