aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-main.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-12-11 00:48:36 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-12-11 01:09:44 +0800
commit533c34899f09a1fa0e80aa198bd72ec2a90b1689 (patch)
treef11f94d4c0e12703cd3a1d1379ccdea6e0cbe852 /src/ephy-main.c
parente65754da16f9af433cd90279b60855705855253a (diff)
downloadgsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar
gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.gz
gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.bz2
gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.lz
gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.xz
gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.zst
gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.zip
ephy-shell: remove the ephy_shell global
https://bugzilla.gnome.org/show_bug.cgi?id=683614
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r--src/ephy-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 1281b1db6..10450d7ff 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -235,6 +235,7 @@ main (int argc,
EphyShellStartupContext *ctx;
EphyStartupFlags startup_flags;
EphyEmbedShellMode mode;
+ EphyShell *ephy_shell;
int status;
EphyFileHelpersFlags flags;
@@ -476,6 +477,7 @@ main (int argc,
arguments,
user_time);
g_strfreev (arguments);
+ ephy_shell = ephy_shell_get_default ();
ephy_shell_set_startup_context (ephy_shell, ctx);
status = g_application_run (G_APPLICATION (ephy_shell), argc, argv);