[Webkit-unassigned] [Bug 14806] [gtk] [patch] Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 29 19:05:12 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14806
------- Comment #5 from diegoe at gnome.org 2007-07-29 19:05 PDT -------
(From update of attachment 15735)
>Index: gtk/Api/webkitgtkpage.cpp
>===================================================================
>--- gtk/Api/webkitgtkpage.cpp (revision 24766)
>+++ gtk/Api/webkitgtkpage.cpp (working copy)
>@@ -328,6 +328,20 @@ void webkit_gtk_page_go_forward(WebKitGt
> frame_data->frame->loader()->goBackOrForward(1);
> }
>
>+gboolean webkit_gtk_page_can_go_backward(WebKitGtkPage* page)
>+{
>+ WebKitGtkPagePrivate* pageData = WEBKIT_GTK_PAGE_GET_PRIVATE(page);
>+ WebKitGtkFramePrivate* frameData = WEBKIT_GTK_FRAME_GET_PRIVATE(page_data->main_frame);
Oops, should be pageData.
>+ return frame_data->frame->loader()->canGoBackOrForward(-1);
Oops, should be frameData
Same in the other function.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list