[epiphany/gnome-3-22] Revert "session: Ignore blank URLs when saving session"



commit f3f29da094841988c50094d8b6251d109eb473af
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Feb 1 16:41:53 2017 -0600

    Revert "session: Ignore blank URLs when saving session"
    
    This reverts commit 60097bafc38052904e6484232453a48607731de7.
    
    Seems to be causing problems, so let's not do this in gnome-3-22

 src/ephy-session.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index fc120c3..afb2a49 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -823,10 +823,7 @@ session_seems_sane (GList *windows)
        SoupURI *uri = soup_uri_new (url);
        if (uri) {
          soup_uri_free (uri);
-       }
-       /* Blank URLs can occur in some situations. Don't save them, but also
-        * do not torpedo the entire session as it's not a bug. */
-       else if (strcmp (url, "") != 0) {
+       } else {
          g_critical ("Refusing to save session due to invalid URL %s", url);
          return FALSE;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]