[maemo-commits] [maemo-commits] r14780 - in projects/haf/trunk/gtk+: . debian gtk

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Nov 13 15:54:59 EET 2007
Author: xan
Date: 2007-11-13 15:54:51 +0200 (Tue, 13 Nov 2007)
New Revision: 14780

Modified:
   projects/haf/trunk/gtk+/ChangeLog
   projects/haf/trunk/gtk+/debian/changelog
   projects/haf/trunk/gtk+/gtk/gtkrange.c
Log:
Revert last change, Core fixed it in their side.


Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog	2007-11-13 13:22:26 UTC (rev 14779)
+++ projects/haf/trunk/gtk+/ChangeLog	2007-11-13 13:54:51 UTC (rev 14780)
@@ -2,6 +2,12 @@
 
 	* gtk/gtkrange.c (gtk_range_motion_notify): 
 
+	Core just fixed this in their side finally... reverting.
+	
+2007-11-13  Xan Lopez  <xan.lopez at nokia.com>
+
+	* gtk/gtkrange.c (gtk_range_motion_notify): 
+
 	Ignore motion notify noise (up to 3px) in N810. (Yes, evil hack).
 
 	Fixes: NB#75484

Modified: projects/haf/trunk/gtk+/debian/changelog
===================================================================
--- projects/haf/trunk/gtk+/debian/changelog	2007-11-13 13:22:26 UTC (rev 14779)
+++ projects/haf/trunk/gtk+/debian/changelog	2007-11-13 13:54:51 UTC (rev 14780)
@@ -1,3 +1,9 @@
+gtk+2.0 (2:2.10.12-0osso28) unstable; urgency=low
+
+  * Reverting last change, Core fixed it in their side. 
+
+ -- Xan Lopez <xan.lopez at nokia.com>  Tue, 13 Nov 2007 15:48:37 +0200
+
 gtk+2.0 (2:2.10.12-0osso27) unstable; urgency=low
 
   * Ignore N810 motion notify noise. Fixes: NB#75484 

Modified: projects/haf/trunk/gtk+/gtk/gtkrange.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtkrange.c	2007-11-13 13:22:26 UTC (rev 14779)
+++ projects/haf/trunk/gtk+/gtk/gtkrange.c	2007-11-13 13:54:51 UTC (rev 14780)
@@ -2171,21 +2171,6 @@
 
   gdk_window_get_pointer (range->event_window, &x, &y, NULL);
 
-#if defined(MAEMO_CHANGES)
-
-#define N810_MOTION_NOISE 3
-
-  /* N810 HW can create phantom up to 3px motion notify events,
-     ignore them */
-  if (range->orientation == GTK_ORIENTATION_VERTICAL &&
-      (ABS (range->layout->mouse_y - y) <= N810_MOTION_NOISE))
-    return FALSE;
-  else if (range->orientation == GTK_ORIENTATION_HORIZONTAL &&
-           (ABS (range->layout->mouse_x - x) <= N810_MOTION_NOISE))
-    return FALSE;
-
-#endif
-  
   range->layout->mouse_x = x;
   range->layout->mouse_y = y;
 


More information about the maemo-commits mailing list