diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-06-30 22:31:01 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-06-30 22:31:01 +0800 |
commit | f594ec68442049ad9b6ecce598f2623e0ece9049 (patch) | |
tree | 2cd2291857a752d0ce789fff6f2de558bb9b283a /src/ephy-main.c | |
parent | 1b73fcdddb386855fb15cc61cf723f002743e7c0 (diff) | |
download | gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.gz gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.zst gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.zip |
Use an enum for the global mode of the application
In preparation to add a new mode for WebApps.
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r-- | src/ephy-main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c index 2b5f10261..e8e5fb1bf 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -415,7 +415,8 @@ main (int argc, g_setenv ("XLIB_SKIP_ARGB_VISUALS", "1", FALSE); /* Now create the shell */ - _ephy_shell_create_instance (private_instance); + _ephy_shell_create_instance (private_instance ? + EPHY_EMBED_SHELL_MODE_PRIVATE : EPHY_EMBED_SHELL_MODE_BROWSER); startup_flags = get_startup_flags (); ctx = ephy_shell_startup_context_new (startup_flags, |