aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r--embed/mozilla/mozilla-embed.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index 1a8e31b55..1029b5c05 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -490,10 +490,7 @@ static void
impl_reload (EphyEmbed *embed,
gboolean force)
{
-#ifdef HAVE_GECKO_1_8
- guint32 mflags;
-
- mflags = GTK_MOZ_EMBED_FLAG_RELOADNORMAL;
+ guint32 mflags = GTK_MOZ_EMBED_FLAG_RELOADNORMAL;
if (force)
{
@@ -501,15 +498,6 @@ impl_reload (EphyEmbed *embed,
}
gtk_moz_embed_reload (GTK_MOZ_EMBED(embed), mflags);
-#else
- /* Workaround for broken reload with frames, see mozilla bug
- * http://bugzilla.mozilla.org/show_bug.cgi?id=246392
- */
- MozillaEmbedPrivate *mpriv = MOZILLA_EMBED (embed)->priv;
-
- mpriv->browser->Reload (force ? EphyBrowser::RELOAD_FORCE :
- EphyBrowser::RELOAD_NORMAL);
-#endif
}
static void
@@ -705,15 +693,8 @@ impl_set_encoding (EphyEmbed *embed,
if (NS_FAILED (rv)) return;
}
-#ifdef HAVE_GECKO_1_8
gtk_moz_embed_reload (GTK_MOZ_EMBED (embed),
GTK_MOZ_EMBED_FLAG_RELOADCHARSETCHANGE);
-#else
- /* Workaround for broken reload with frames, see mozilla bug
- * http://bugzilla.mozilla.org/show_bug.cgi?id=246392
- */
- mpriv->browser->Reload (EphyBrowser::RELOAD_ENCODING_CHANGE);
-#endif
}
static char *