aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/mozilla-embed-persist.cpp5
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8afc9e9f6..5a7fc141d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-11 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/mozilla-embed-persist.cpp:
+
+ Don't hold a ref to the shell from persist objects.
+
2005-06-10 Christian Persch <chpe@cvs.gnome.org>
* lib/Makefile.am:
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp
index b84fdfe59..44fd0e2ec 100644
--- a/embed/mozilla/mozilla-embed-persist.cpp
+++ b/embed/mozilla/mozilla-embed-persist.cpp
@@ -26,7 +26,6 @@
#include "mozilla-embed.h"
#include "ephy-embed-shell.h"
#include "ephy-file-helpers.h"
-#include "ephy-object-helpers.h"
#include "EphyBrowser.h"
#include "EphyHeaderSniffer.h"
#include "MozDownload.h"
@@ -103,8 +102,6 @@ mozilla_embed_persist_finalize (GObject *object)
persist->priv->mPersist = nsnull;
G_OBJECT_CLASS (parent_class)->finalize (object);
-
- ephy_object_idle_unref (embed_shell);
}
void
@@ -342,8 +339,6 @@ static GObject *
mozilla_embed_persist_constructor (GType type, guint n_construct_properties,
GObjectConstructParam *construct_params)
{
- g_object_ref (embed_shell);
-
/* this will ensure that mozilla is started up */
ephy_embed_shell_get_embed_single (embed_shell);