From 0eefbc613817e5a5f039c5830fdbdb80fc72f052 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 12 Jan 2012 19:10:05 +0100 Subject: ephy-window: pass the application to the constructor https://bugzilla.gnome.org/show_bug.cgi?id=667628 --- src/ephy-window.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)); } -- cgit v1.2.3