gnumeric r17167 - in trunk: . src



Author: mortenw
Date: Wed Feb 25 15:23:19 2009
New Revision: 17167
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17167&view=rev

Log:
2009-02-25  Morten Welinder  <terra gnome org>

	* src/sheet-control-gui.c (scg_drag_receive_same_process): Make it
	clear we are only getting the modifier mask.



Modified:
   trunk/ChangeLog
   trunk/src/sheet-control-gui.c

Modified: trunk/src/sheet-control-gui.c
==============================================================================
--- trunk/src/sheet-control-gui.c	(original)
+++ trunk/src/sheet-control-gui.c	Wed Feb 25 15:23:19 2009
@@ -3354,13 +3354,12 @@
 	if (source_scg == scg) {
 		GdkWindow *window;
 		GdkModifierType mask;
-		int xp, yp;
 		int xx = x, yy = y;
 		int origin_x = 0, origin_y = 0;
 		gboolean make_dup;
 
 		window = gtk_widget_get_parent_window (GTK_WIDGET (pane));
-		gdk_window_get_pointer (window, &xp, &yp, &mask);
+		gdk_window_get_pointer (window, NULL, NULL, &mask);
 		make_dup = ((mask & GDK_CONTROL_MASK) != 0);
 
 		/* When copying objects, we have to create a copy of current selection.



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