aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-04-01 10:16:58 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-04-11 03:33:40 +0800
commit27c169f074f0fb878f5d90078cf1aad11024e0ef (patch)
tree7b84479c3f6b33b7f6ca41345f185e36bdc40f05 /embed
parentd18ab773b3cc3b6c96554dcd6fc06468adb3c37e (diff)
downloadgsoc2013-epiphany-27c169f074f0fb878f5d90078cf1aad11024e0ef.tar
gsoc2013-epiphany-27c169f074f0fb878f5d90078cf1aad11024e0ef.tar.gz
gsoc2013-epiphany-27c169f074f0fb878f5d90078cf1aad11024e0ef.tar.bz2
gsoc2013-epiphany-27c169f074f0fb878f5d90078cf1aad11024e0ef.tar.lz
gsoc2013-epiphany-27c169f074f0fb878f5d90078cf1aad11024e0ef.tar.xz
gsoc2013-epiphany-27c169f074f0fb878f5d90078cf1aad11024e0ef.tar.zst
gsoc2013-epiphany-27c169f074f0fb878f5d90078cf1aad11024e0ef.zip
ephy-embed-single: do not handle ephy-embed-prefs
ephy-embed-prefs acts like a singleton. Instead of calling init and shutdown in EphyEmbedSingle instances handle it in ephy-main as a true init/shutdown API like ephy-file-helpers. https://bugzilla.gnome.org/show_bug.cgi?id=673273
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-single.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index a9a2017c3..43f9b73b7 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -196,8 +196,6 @@ ephy_embed_single_finalize (GObject *object)
{
EphyEmbedSinglePrivate *priv = EPHY_EMBED_SINGLE (object)->priv;
- ephy_embed_prefs_shutdown ();
-
if (priv->form_auth_data) {
g_hash_table_foreach (priv->form_auth_data,
(GHFunc)remove_form_auth_data,
@@ -358,8 +356,6 @@ ephy_embed_single_initialize (EphyEmbedSingle *single)
if (g_file_test (NSPLUGINWRAPPER_SETUP, G_FILE_TEST_EXISTS) != FALSE)
g_spawn_command_line_sync (NSPLUGINWRAPPER_SETUP, NULL, NULL, NULL, NULL);
- ephy_embed_prefs_init ();
-
session = webkit_get_default_session ();
/* Check SSL certificates */