aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-session.c2
-rw-r--r--src/ephy-shell.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index f29c21f1e..85f0e30b7 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -291,7 +291,7 @@ session_command_open_uris (EphySession *session,
g_object_ref (shell);
- window = gtk_application_get_active_window (GTK_APPLICATION (shell));
+ window = EPHY_WINDOW (gtk_application_get_active_window (GTK_APPLICATION (shell)));
new_windows_in_tabs = g_settings_get_boolean (EPHY_SETTINGS_MAIN,
EPHY_PREFS_NEW_WINDOWS_IN_TABS);
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index ca1fbec20..86b5e0ba0 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -205,7 +205,7 @@ show_about (GSimpleAction *action,
GVariant *parameter,
gpointer user_data)
{
- EphyWindow *window;
+ GtkWindow *window;
window = gtk_application_get_active_window (GTK_APPLICATION (ephy_shell));