[Bug 222414] www/webkit-gtk2 fails to build with gcc6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 7 03:12:37 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222414

w.schwarzenfeld at utanet.at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |w.schwarzenfeld at utanet.at

--- Comment #1 from w.schwarzenfeld at utanet.at ---
--- Source/WebCore/platform/gtk/GtkClickCounter.cpp.orig        2018-02-07
02:12:45 UTC
+++ Source/WebCore/platform/gtk/GtkClickCounter.cpp
@@ -85,8 +85,8 @@ int GtkClickCounter::clickCountForGdkBut
     guint32 eventTime = getEventTime(event);

     if ((event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS)
-        || ((abs(buttonEvent->x - m_previousClickPoint.x()) <
doubleClickDistance)
-            && (abs(buttonEvent->y - m_previousClickPoint.y()) <
doubleClickDistance)
+        || ((fabs(buttonEvent->x - m_previousClickPoint.x()) <
doubleClickDistance)
+            && (fabs(buttonEvent->y - m_previousClickPoint.y()) <
doubleClickDistance)
             && (eventTime - m_previousClickTime <
static_cast<guint>(doubleClickTime))
             && (buttonEvent->button == m_previousClickButton)))
         m_currentClickCount++;

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list