From 7ee4de2b92d0de1ae9a02e083e67abe048f4511e Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 11 Jun 2005 19:25:17 +0000 Subject: Don't hold a ref to the shell from persist objects. 2005-06-11 Christian Persch * embed/mozilla/mozilla-embed-persist.cpp: Don't hold a ref to the shell from persist objects. --- embed/mozilla/mozilla-embed-persist.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'embed') 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); -- cgit v1.2.3