Commit 527fe3ad authored by xan@webkit.org's avatar xan@webkit.org

2009-10-01 Xan Lopez <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Set the type for the fake event, otherwise the test ASSERTs in
        debug builds.

        * tests/testhittestresult.c:
        (load_status_cb):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 73e707be
2009-10-01 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
Set the type for the fake event, otherwise the test ASSERTs in
debug builds.
* tests/testhittestresult.c:
(load_status_cb):
2009-10-01 Martin Robinson <martin.james.robinson@gmail.com>
Reviewed by Xan Lopez.
......
......@@ -82,6 +82,7 @@ load_status_cb(WebKitWebView* webView,
WebKitHitTestResult* result;
guint context;
GdkEventButton event;
event.type = GDK_BUTTON_PRESS;
/* Close enough to 0,0 */
event.x = 5;
event.y = 5;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment