diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2003-06-12 Marco Pesenti Gritti <marco@it.gnome.org> + * embed/mozilla/mozilla-embed.cpp: + + Do not use c++ new to allocate priv struct of the object + +2003-06-12 Marco Pesenti Gritti <marco@it.gnome.org> + * src/bookmarks/ephy-bookmark-action.c: (activate_cb): s/scheme/host for the smartbookmarks diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index 20728a695..ab40ccee3 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -349,7 +349,7 @@ mozilla_embed_class_init (MozillaEmbedClass *klass) static void mozilla_embed_init (MozillaEmbed *embed) { - embed->priv = new MozillaEmbedPrivate; + embed->priv = g_new0 (MozillaEmbedPrivate, 1); mozilla_embed_connect_signals (embed); } |