]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix loading history items under GTK. The wrong function was being used.
authorSteve Lamerton <steve.lamerton@gmail.com>
Sat, 13 Aug 2011 09:41:50 +0000 (09:41 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Sat, 13 Aug 2011 09:41:50 +0000 (09:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/webview_webkit.cpp

index d4de44070cf7fb70661bdaa431f51f4e91833c3c..c7c3d1c7a58534d237be60b5ddecbd2758ea048b 100644 (file)
@@ -597,7 +597,7 @@ void wxWebViewWebKit::LoadHistoryItem(wxSharedPtr<wxWebHistoryItem> 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));
     }
 }