[epiphany] ephy-window: pass the application to the constructor
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-window: pass the application to the constructor
- Date: Fri, 13 Jan 2012 20:22:37 +0000 (UTC)
commit 0eefbc613817e5a5f039c5830fdbdb80fc72f052
Author: Xan Lopez <xan igalia com>
Date: Thu Jan 12 19:10:05 2012 +0100
ephy-window: pass the application to the constructor
https://bugzilla.gnome.org/show_bug.cgi?id=667628
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 d991857..153829c 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));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]