diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-06-29 04:56:08 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-06-29 20:53:01 +0800 |
commit | f939f5ce3406a77b500e821815352d22ff410ab7 (patch) | |
tree | 2d47cc4280158c5410da31b8a1543fe51100864a /src/ephy-main.c | |
parent | bd14d50456be46422d955a4290fb27e964a0b5b2 (diff) | |
download | gsoc2013-epiphany-f939f5ce3406a77b500e821815352d22ff410ab7.tar gsoc2013-epiphany-f939f5ce3406a77b500e821815352d22ff410ab7.tar.gz gsoc2013-epiphany-f939f5ce3406a77b500e821815352d22ff410ab7.tar.bz2 gsoc2013-epiphany-f939f5ce3406a77b500e821815352d22ff410ab7.tar.lz gsoc2013-epiphany-f939f5ce3406a77b500e821815352d22ff410ab7.tar.xz gsoc2013-epiphany-f939f5ce3406a77b500e821815352d22ff410ab7.tar.zst gsoc2013-epiphany-f939f5ce3406a77b500e821815352d22ff410ab7.zip |
Require an EphyApplication parameter when creating an EphyShell
We'll want to create our own in main(), this prepares us for that.
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; |