aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 9aadb1189..af2ec68a0 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -816,7 +816,7 @@ session_command_dispatch (EphySession *session)
run_again = FALSE;
}
- g_application_release (G_APPLICATION (ephy_shell_get_application (ephy_shell_get_default ())));
+ g_application_release (G_APPLICATION (ephy_shell_get_default ()));
/* This unrefs the shell! */
session_command_free (cmd);
@@ -1676,7 +1676,7 @@ ephy_session_add_window (EphySession *session,
session->priv->tool_windows =
g_list_append (session->priv->tool_windows, window);
- gtk_application_add_window (GTK_APPLICATION (ephy_shell_get_application (ephy_shell_get_default ())), window);
+ gtk_application_add_window (GTK_APPLICATION (ephy_shell_get_default ()), window);
ephy_session_save (session, SESSION_CRASHED);
}
@@ -1697,7 +1697,7 @@ ephy_session_remove_window (EphySession *session,
session->priv->tool_windows =
g_list_remove (session->priv->tool_windows, window);
- gtk_application_remove_window (GTK_APPLICATION (ephy_shell_get_application (ephy_shell_get_default ())), window);
+ gtk_application_remove_window (GTK_APPLICATION (ephy_shell_get_default ()), window);
ephy_session_save (session, SESSION_CRASHED);
}
@@ -1804,7 +1804,7 @@ ephy_session_queue_command (EphySession *session,
session_command_queue_next (session);
- g_application_hold (G_APPLICATION (ephy_shell_get_application (ephy_shell_get_default ())));
+ g_application_hold (G_APPLICATION (ephy_shell_get_default ()));
if (priv->resume_window != NULL)
{