From 013cda40d84a3b1eb1de82034b357895e07a1be2 Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Sat, 13 Aug 2011 09:41:50 +0000 Subject: [PATCH 1/1] Fix loading history items under GTK. The wrong function was being used. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/webview_webkit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/webview_webkit.cpp b/src/gtk/webview_webkit.cpp index d4de44070c..c7c3d1c7a5 100644 --- a/src/gtk/webview_webkit.cpp +++ b/src/gtk/webview_webkit.cpp @@ -597,7 +597,7 @@ void wxWebViewWebKit::LoadHistoryItem(wxSharedPtr item) { WebKitWebBackForwardList* history; history = webkit_web_view_get_back_forward_list(WEBKIT_WEB_VIEW(web_view)); - webkit_web_back_forward_list_go_to_item(WEBKIT_WEB_BACK_FORWARD_LIST(history), + webkit_web_view_go_to_back_forward_item(WEBKIT_WEB_VIEW(web_view), WEBKIT_WEB_HISTORY_ITEM(gtkitem)); } } -- 2.45.2