Skip to content
Permalink
Browse files
2010-10-19 Prof. MAAD <himself@prof-maad.org>
        Reviewed by Xan Lopez.

        [GTK] Correct erroneous documentation for webkit_web_navigation_action_get_button()
        https://bugs.webkit.org/show_bug.cgi?id=46723

        * WebKit/gtk/webkit/webkitwebnavigationaction.cpp:

Canonical link: https://commits.webkit.org/60600@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
webkit-commit-queue committed Oct 19, 2010
1 parent 130ac93 commit 985c4c85264a76b4c1a3b160a7c6cc9da045826f
Showing 2 changed files with 14 additions and 5 deletions.
@@ -1,3 +1,12 @@
2010-10-19 Prof. MAAD <himself@prof-maad.org>

Reviewed by Xan Lopez.

[GTK] Correct erroneous documentation for webkit_web_navigation_action_get_button()
https://bugs.webkit.org/show_bug.cgi?id=46723

* WebKit/gtk/webkit/webkitwebnavigationaction.cpp:

2010-10-19 Xan Lopez <xlopez@igalia.com>

Reviewed by Martin Robinson.
@@ -177,8 +177,8 @@ static void webkit_web_navigation_action_class_init(WebKitWebNavigationActionCla
/**
* WebKitWebNavigationAction:button:
*
* The DOM identifier for the mouse button used to click. DOM button values
* are 0, 1 and 2 for left, middle and right buttons. If the action was not
* The GTK+ identifier for the mouse button used to click. Notice that GTK+ button values
* are 1, 2 and 3 for left, middle and right buttons, so they are DOM button values +1. If the action was not
* initiated by a mouse click the value will be -1.
*
* Since: 1.0.3
@@ -310,9 +310,9 @@ void webkit_web_navigation_action_set_original_uri(WebKitWebNavigationAction* na
* webkit_web_navigation_action_get_button:
* @navigationAction: a #WebKitWebNavigationAction
*
* Returns the DOM identifier for the mouse button used to click.
* DOM button values are 0, 1 and 2 for left, middle and right buttons.
* If the action was not initiated by a mouse click, returns -1.
* The GTK+ identifier for the mouse button used to click. Notice that GTK+ button values
* are 1, 2 and 3 for left, middle and right buttons, so they are DOM button values +1. If the action was not
* initiated by a mouse click the value will be -1.
*
* Return value: the mouse button used to click
*

0 comments on commit 985c4c8

Please sign in to comment.