From c86e7ace9cc6a3a701fc19c5183c5c6256694abf Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 12 Jun 2003 19:02:50 +0000 Subject: Do not use c++ new to allocate priv struct of the object 2003-06-12 Marco Pesenti Gritti * embed/mozilla/mozilla-embed.cpp: Do not use c++ new to allocate priv struct of the object --- embed/mozilla/mozilla-embed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/mozilla') 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); } -- cgit v1.2.3