From 3ea2b0d029f79783dd899ba6e02ad8e57388f3d0 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 10 Feb 2006 19:01:18 +0000 Subject: Use NS_LogInit()/NS_LogTerm(). 2006-02-10 Christian Persch * embed/mozilla/mozilla-embed-single.cpp: Use NS_LogInit()/NS_LogTerm(). --- embed/mozilla/mozilla-embed-single.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'embed/mozilla/mozilla-embed-single.cpp') diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 85084486a..5b1812170 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -718,6 +718,10 @@ impl_init (EphyEmbedSingle *esingle) { MozillaEmbedSingle *single = MOZILLA_EMBED_SINGLE (esingle); +#ifdef HAVE_GECKO_1_9 + NS_LogInit (); +#endif + /* Pre initialization */ mozilla_init_plugin_path (); @@ -838,6 +842,10 @@ mozilla_embed_single_finalize (GObject *object) gtk_moz_embed_pop_startup (); +#ifdef HAVE_GECKO_1_9 + NS_LogTerm (); +#endif + g_free (mes->priv->user_prefs); #ifndef HAVE_GECKO_1_8 -- cgit v1.2.3