[epiphany] Revert "session: keep window alive when parsing session"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Revert "session: keep window alive when parsing session"
- Date: Sun, 9 Feb 2020 18:29:25 +0000 (UTC)
commit 0e83ec8221df21bacedc455abda43c8c128d6a8b
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Feb 9 18:29:12 2020 +0000
Revert "session: keep window alive when parsing session"
This reverts commit 32ecc8614698d5a1ce720a8815146c1550edace7
src/ephy-session.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index a84b5d35a..3a4139736 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -1099,8 +1099,6 @@ static void
session_parser_context_free (SessionParserContext *context)
{
g_object_unref (context->session);
- if (context->window)
- g_object_unref (context->window);
g_free (context);
}
@@ -1113,9 +1111,7 @@ session_parse_window (SessionParserContext *context,
GdkRectangle geometry = { -1, -1, 0, 0 };
guint i;
- g_assert (!context->window);
context->window = ephy_window_new ();
- g_object_ref (context->window);
for (i = 0; names[i]; i++) {
gulong int_value;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]