Remove erroneous title check in set_uri
The condition was written this way due to the now gone legacy workaround, the title shouldn't be checked at all.
This commit is contained in:
parent
b8e5b77609
commit
783bed774a
1 changed files with 1 additions and 3 deletions
|
@ -4744,9 +4744,7 @@ midori_view_reload (MidoriView* view,
|
||||||
{
|
{
|
||||||
g_return_if_fail (MIDORI_IS_VIEW (view));
|
g_return_if_fail (MIDORI_IS_VIEW (view));
|
||||||
|
|
||||||
if (view->title)
|
if (!(view->uri && *view->uri && strncmp (view->uri, "about:", 6)))
|
||||||
webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), view->uri);
|
|
||||||
else if (!(view->uri && *view->uri && strncmp (view->uri, "about:", 6)))
|
|
||||||
{
|
{
|
||||||
gchar* uri = g_strdup (view->uri);
|
gchar* uri = g_strdup (view->uri);
|
||||||
midori_view_set_uri (view, uri);
|
midori_view_set_uri (view, uri);
|
||||||
|
|
Loading…
Reference in a new issue