From f939f5ce3406a77b500e821815352d22ff410ab7 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 28 Jun 2011 22:56:08 +0200 Subject: Require an EphyApplication parameter when creating an EphyShell We'll want to create our own in main(), this prepares us for that. --- src/ephy-main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ephy-main.c') diff --git a/src/ephy-main.c b/src/ephy-main.c index 86d1f2160..98bde4f3e 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -417,9 +417,10 @@ main (int argc, g_setenv ("XLIB_SKIP_ARGB_VISUALS", "1", FALSE); /* Now create the shell */ - _ephy_shell_create_instance (); + application = ephy_application_new (); + _ephy_shell_create_instance (application); + g_object_unref (application); - application = ephy_shell_get_application (ephy_shell_get_default()); if (private_instance) { GApplicationFlags flags; -- cgit v1.2.3