summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2021-02-24 11:07:34 -0600
committerJan-Michael Brummer <jan.brummer@tabos.org>2021-04-05 09:36:48 +0000
commit72b14ee2ae6df8f2adeed1cbd282624b135c66ee (patch)
tree0314c450b93488262776a92c43f3b4ded98d7090
parent220d5af436c74762caa378474d8e8da15d5cf400 (diff)
downloadepiphany-72b14ee2ae6df8f2adeed1cbd282624b135c66ee.tar.gz
session: use careful language
-rw-r--r--src/ephy-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index ba0666560..821a38539 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;
}