aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-13 03:02:50 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-13 03:02:50 +0800
commitc86e7ace9cc6a3a701fc19c5183c5c6256694abf (patch)
treebb62f95881e95d18c124173708bdbe7a9c178a1a /embed/mozilla/mozilla-embed.cpp
parenta11a0f4c48ebdcde5df388237d02d9154d6d82d2 (diff)
downloadgsoc2013-epiphany-c86e7ace9cc6a3a701fc19c5183c5c6256694abf.tar
gsoc2013-epiphany-c86e7ace9cc6a3a701fc19c5183c5c6256694abf.tar.gz
gsoc2013-epiphany-c86e7ace9cc6a3a701fc19c5183c5c6256694abf.tar.bz2
gsoc2013-epiphany-c86e7ace9cc6a3a701fc19c5183c5c6256694abf.tar.lz
gsoc2013-epiphany-c86e7ace9cc6a3a701fc19c5183c5c6256694abf.tar.xz
gsoc2013-epiphany-c86e7ace9cc6a3a701fc19c5183c5c6256694abf.tar.zst
gsoc2013-epiphany-c86e7ace9cc6a3a701fc19c5183c5c6256694abf.zip
Do not use c++ new to allocate priv struct of the object
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
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r--embed/mozilla/mozilla-embed.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}