[epiphany/mcatanzaro/ephy-session: 1/6] session: use careful language




commit 1cfd5351ed7039248405511b6e43c2888f68fad7
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Feb 24 11:07:34 2021 -0600

    session: use careful language

 src/ephy-session.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 544b4200a..6e988359b 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -852,7 +852,7 @@ save_session_in_thread_finished_cb (GObject      *source_object,
 }
 
 static gboolean
-session_seems_sane (GList *windows)
+session_seems_reasonable (GList *windows)
 {
   for (GList *w = windows; w != NULL; w = w->next) {
     for (GList *t = ((SessionWindow *)w->data)->tabs; t != NULL; t = t->next) {
@@ -1008,7 +1008,7 @@ ephy_session_save_idle_cb (EphySession *session)
    * file with our new bogus state. Bug #768250.
    */
   data = save_data_new (session);
-  if (!session->loaded_page || !session_seems_sane (data->windows)) {
+  if (!session->loaded_page || !session_seems_reasonable (data->windows)) {
     save_data_free (data);
     return G_SOURCE_REMOVE;
   }


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