aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-dialog.c2
-rw-r--r--embed/ephy-embed-persist.c7
-rw-r--r--embed/ephy-embed-shell.c6
-rwxr-xr-xembed/find-dialog.c3
-rw-r--r--embed/mozilla/mozilla-embed-persist.cpp1
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp3
6 files changed, 1 insertions, 21 deletions
diff --git a/embed/ephy-embed-dialog.c b/embed/ephy-embed-dialog.c
index 85e7069ea..938b8e950 100644
--- a/embed/ephy-embed-dialog.c
+++ b/embed/ephy-embed-dialog.c
@@ -110,8 +110,6 @@ static void
ephy_embed_dialog_init (EphyEmbedDialog *dialog)
{
dialog->priv = EPHY_EMBED_DIALOG_GET_PRIVATE (dialog);
-
- dialog->priv->embed = NULL;
}
static void
diff --git a/embed/ephy-embed-persist.c b/embed/ephy-embed-persist.c
index aeee7584d..ed9d03df3 100644
--- a/embed/ephy-embed-persist.c
+++ b/embed/ephy-embed-persist.c
@@ -442,13 +442,7 @@ ephy_embed_persist_init (EphyEmbedPersist *persist)
LOG ("EphyEmbedPersist initialising %p", persist)
- persist->priv->dest = NULL;
- persist->priv->source = NULL;
- persist->priv->fc_title = NULL;
- persist->priv->fc_parent = NULL;
- persist->priv->flags = 0;
persist->priv->max_size = -1;
- persist->priv->persist_key = NULL;
}
static void
@@ -638,4 +632,3 @@ ephy_embed_persist_to_string (EphyEmbedPersist *persist)
EphyEmbedPersistClass *klass = EPHY_EMBED_PERSIST_GET_CLASS (persist);
return klass->to_string (persist);
}
-
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 8ff0c9c2a..bdba397d6 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -298,12 +298,6 @@ ephy_embed_shell_init (EphyEmbedShell *shell)
/* globally accessible singleton */
g_assert (embed_shell == NULL);
embed_shell = shell;
-
- shell->priv->global_history = NULL;
- shell->priv->downloader_view = NULL;
- shell->priv->favicon_cache = NULL;
- shell->priv->encodings = NULL;
- shell->priv->mime_table = NULL;
}
static void
diff --git a/embed/find-dialog.c b/embed/find-dialog.c
index 1c9624da3..08b941a1b 100755
--- a/embed/find-dialog.c
+++ b/embed/find-dialog.c
@@ -253,9 +253,6 @@ find_dialog_init (FindDialog *dialog)
dialog->priv = EPHY_FIND_DIALOG_GET_PRIVATE (dialog);
- dialog->priv->old_embed = NULL;
- dialog->priv->initialised = FALSE;
-
ephy_dialog_construct (EPHY_DIALOG(dialog),
properties,
ephy_file ("epiphany.glade"),
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp
index 4a375abd9..ac3940d6b 100644
--- a/embed/mozilla/mozilla-embed-persist.cpp
+++ b/embed/mozilla/mozilla-embed-persist.cpp
@@ -91,6 +91,7 @@ static void
mozilla_embed_persist_init (MozillaEmbedPersist *persist)
{
persist->priv = MOZILLA_EMBED_PERSIST_GET_PRIVATE (persist);
+
persist->priv->mPersist = do_CreateInstance (NS_WEBBROWSERPERSIST_CONTRACTID);
}
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index d60d4c62e..3a51db7bb 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -521,7 +521,6 @@ mozilla_embed_single_init (MozillaEmbedSingle *mes)
{
mes->priv = MOZILLA_EMBED_SINGLE_GET_PRIVATE (mes);
- mes->priv->theme_window = NULL;
mes->priv->user_prefs =
g_build_filename (ephy_dot_dir (),
MOZILLA_PROFILE_DIR,
@@ -529,8 +528,6 @@ mozilla_embed_single_init (MozillaEmbedSingle *mes)
MOZILLA_PROFILE_FILE,
NULL);
- mes->priv->mSingleObserver = nsnull;
-
if (!init_services (mes))
{
GtkWidget *dialog;