aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/mozilla-embed.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f56757e1..cebbee513 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-02-12 Christian Persch <chpe@cvs.gnome.org>
+ * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_security_change_cb):
+
+ Use static_cast<>, don't cast directly.
+
+2004-02-12 Christian Persch <chpe@cvs.gnome.org>
+
* lib/ephy-dialog.c: (set_sensitivity):
Don't set entries insensitive, only set the non-editable when the
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index c0432b1f9..accd424a9 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -1028,7 +1028,7 @@ mozilla_embed_security_change_cb (GtkMozEmbed *embed,
{
EmbedSecurityLevel level;
- membed->priv->request = (nsIRequest *) request;
+ membed->priv->request = static_cast<nsIRequest*>(request);
membed->priv->security_state = state;
level = mozilla_embed_security_level (membed);