Use about:blank as speed dial resource root with WebKitGTK+ 1.1.14
This commit is contained in:
parent
e2bb41b1f2
commit
3a949ac407
1 changed files with 5 additions and 1 deletions
|
@ -3159,7 +3159,11 @@ midori_view_set_uri (MidoriView* view,
|
|||
"{are_you_sure}", _("Are you sure you want to delete this shortcut?"), NULL);
|
||||
|
||||
|
||||
#if WEBKIT_CHECK_VERSION (1, 1, 6)
|
||||
#if WEBKIT_CHECK_VERSION (1, 1, 14)
|
||||
webkit_web_frame_load_alternate_string (
|
||||
webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view->web_view)),
|
||||
data, "about:blank", "about:blank");
|
||||
#elif WEBKIT_CHECK_VERSION (1, 1, 6)
|
||||
webkit_web_frame_load_alternate_string (
|
||||
webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view->web_view)),
|
||||
data, res_root, "about:blank");
|
||||
|
|
Loading…
Reference in a new issue