diff options
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r-- | src/ephy-main.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |