aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-11-26 03:04:24 +0800
committerXan Lopez <xan@igalia.com>2012-11-26 03:04:24 +0800
commita60eb7cad58e17985e8a7908d5e90bab5fff6186 (patch)
tree95ecd03aacb6e8b17df5e7c936592e14ec46a30b /src/ephy-session.c
parent445102fa0e84e3521d59d314a6bac204ba1af641 (diff)
downloadgsoc2013-epiphany-a60eb7cad58e17985e8a7908d5e90bab5fff6186.tar
gsoc2013-epiphany-a60eb7cad58e17985e8a7908d5e90bab5fff6186.tar.gz
gsoc2013-epiphany-a60eb7cad58e17985e8a7908d5e90bab5fff6186.tar.bz2
gsoc2013-epiphany-a60eb7cad58e17985e8a7908d5e90bab5fff6186.tar.lz
gsoc2013-epiphany-a60eb7cad58e17985e8a7908d5e90bab5fff6186.tar.xz
gsoc2013-epiphany-a60eb7cad58e17985e8a7908d5e90bab5fff6186.tar.zst
gsoc2013-epiphany-a60eb7cad58e17985e8a7908d5e90bab5fff6186.zip
Use gtk_application_get_active_window instead of rolling our own
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 70fc234dc..f29c21f1e 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 = ephy_shell_get_active_window (shell);
+ 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);