Commit 340437e5 authored by xan@webkit.org's avatar xan@webkit.org

2009-04-26 Xan Lopez <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Pass a variable to hold the return value of the 'move-cursor'
        signal, otherwise a crash can happen.

        * webkit/webkitwebview.cpp:
        (webkit_web_view_move_cursor):

git-svn-id: svn://svn.chromium.org/blink/trunk@42877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 5b549d6e
2009-04-26 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
Pass a variable to hold the return value of the 'move-cursor'
signal, otherwise a crash can happen.
* webkit/webkitwebview.cpp:
(webkit_web_view_move_cursor):
2009-04-25 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
......
......@@ -3201,5 +3201,6 @@ void webkit_web_view_move_cursor(WebKitWebView* webView, GtkMovementStep step, g
step == GTK_MOVEMENT_BUFFER_ENDS);
g_return_if_fail(count == 1 || count == -1);
g_signal_emit(webView, webkit_web_view_signals[MOVE_CURSOR], 0, step, count);
gboolean handled;
g_signal_emit(webView, webkit_web_view_signals[MOVE_CURSOR], 0, step, &handled);
}
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