From 783bed774a49483a0c305ae873665126414de13c Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 17 Jun 2011 11:13:41 +0200 Subject: [PATCH] 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. --- midori/midori-view.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index ad391ed6..b2307e8a 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -4744,9 +4744,7 @@ midori_view_reload (MidoriView* view, { g_return_if_fail (MIDORI_IS_VIEW (view)); - if (view->title) - webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), view->uri); - else if (!(view->uri && *view->uri && strncmp (view->uri, "about:", 6))) + if (!(view->uri && *view->uri && strncmp (view->uri, "about:", 6))) { gchar* uri = g_strdup (view->uri); midori_view_set_uri (view, uri); -- 2.39.5