diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-13 02:10:05 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-14 04:21:46 +0800 |
commit | 0eefbc613817e5a5f039c5830fdbdb80fc72f052 (patch) | |
tree | 5be7a22505ffda64c76f5db987ebb71580f07bb7 | |
parent | 7d0a56a525ce05001d7c38faa0751ad5b9282b33 (diff) | |
download | gsoc2013-epiphany-0eefbc613817e5a5f039c5830fdbdb80fc72f052.tar gsoc2013-epiphany-0eefbc613817e5a5f039c5830fdbdb80fc72f052.tar.gz gsoc2013-epiphany-0eefbc613817e5a5f039c5830fdbdb80fc72f052.tar.bz2 gsoc2013-epiphany-0eefbc613817e5a5f039c5830fdbdb80fc72f052.tar.lz gsoc2013-epiphany-0eefbc613817e5a5f039c5830fdbdb80fc72f052.tar.xz gsoc2013-epiphany-0eefbc613817e5a5f039c5830fdbdb80fc72f052.tar.zst gsoc2013-epiphany-0eefbc613817e5a5f039c5830fdbdb80fc72f052.zip |
ephy-window: pass the application to the constructor
https://bugzilla.gnome.org/show_bug.cgi?id=667628
-rw-r--r-- | src/ephy-window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index d9918570c..153829cf8 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -3995,7 +3995,9 @@ ephy_window_init (EphyWindow *window) EphyWindow * ephy_window_new (void) { - return EPHY_WINDOW (g_object_new (EPHY_TYPE_WINDOW, NULL)); + return EPHY_WINDOW (g_object_new (EPHY_TYPE_WINDOW, + "application", GTK_APPLICATION (ephy_shell), + NULL)); } /** @@ -4014,6 +4016,7 @@ ephy_window_new_with_chrome (EphyWebViewChrome chrome, return EPHY_WINDOW (g_object_new (EPHY_TYPE_WINDOW, "chrome", chrome, "is-popup", is_popup, + "application", GTK_APPLICATION (ephy_shell), NULL)); } |