diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-13 03:02:50 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-13 03:02:50 +0800 |
commit | c86e7ace9cc6a3a701fc19c5183c5c6256694abf (patch) | |
tree | bb62f95881e95d18c124173708bdbe7a9c178a1a /embed/mozilla | |
parent | a11a0f4c48ebdcde5df388237d02d9154d6d82d2 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 2 |
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); } |