From: Christian Dywan Date: Fri, 17 Jun 2011 09:13:41 +0000 (+0200) Subject: Remove erroneous title check in set_uri X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=783bed774a49483a0c305ae873665126414de13c;p=midori 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. --- 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);