aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-06-30 02:19:40 +0800
committerXan Lopez <xlopez@igalia.com>2011-06-30 02:21:49 +0800
commiteddaae421e4e38d8124f659b1bd8ff65162247e4 (patch)
tree36284854d06f04d3c4609d00a2448c5c1ec8b65a /src/ephy-window.c
parent5b3154f5ddb95f162389340b178d6fc51b3a3bd7 (diff)
downloadgsoc2013-epiphany-eddaae421e4e38d8124f659b1bd8ff65162247e4.tar
gsoc2013-epiphany-eddaae421e4e38d8124f659b1bd8ff65162247e4.tar.gz
gsoc2013-epiphany-eddaae421e4e38d8124f659b1bd8ff65162247e4.tar.bz2
gsoc2013-epiphany-eddaae421e4e38d8124f659b1bd8ff65162247e4.tar.lz
gsoc2013-epiphany-eddaae421e4e38d8124f659b1bd8ff65162247e4.tar.xz
gsoc2013-epiphany-eddaae421e4e38d8124f659b1bd8ff65162247e4.tar.zst
gsoc2013-epiphany-eddaae421e4e38d8124f659b1bd8ff65162247e4.zip
Use GtkApplication's window tracking for EphyWindow too
Instead of our own home-grown system. I think we should subclass window_added in GtkApplication and do there the session & state stuff and get rid of ephy_session_add_window and ephy_state_add_window.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index a10b81034..dcd0db7ed 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3641,7 +3641,7 @@ ephy_window_init (EphyWindow *window)
{
LOG ("EphyWindow initialising %p", window);
- _ephy_embed_shell_track_object (EPHY_EMBED_SHELL (ephy_shell), G_OBJECT (window));
+ gtk_application_add_window (GTK_APPLICATION (ephy_shell), GTK_WINDOW (window));
window->priv = EPHY_WINDOW_GET_PRIVATE (window);