aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-persist.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-06-12 03:25:17 +0800
committerChristian Persch <chpe@src.gnome.org>2005-06-12 03:25:17 +0800
commit7ee4de2b92d0de1ae9a02e083e67abe048f4511e (patch)
treee1a9f3a8da8cc88136af69e9e75496aafbc6b5aa /embed/mozilla/mozilla-embed-persist.cpp
parent55bcddfd18577f6363842ad3b1772e0db9f1c011 (diff)
downloadgsoc2013-epiphany-7ee4de2b92d0de1ae9a02e083e67abe048f4511e.tar
gsoc2013-epiphany-7ee4de2b92d0de1ae9a02e083e67abe048f4511e.tar.gz
gsoc2013-epiphany-7ee4de2b92d0de1ae9a02e083e67abe048f4511e.tar.bz2
gsoc2013-epiphany-7ee4de2b92d0de1ae9a02e083e67abe048f4511e.tar.lz
gsoc2013-epiphany-7ee4de2b92d0de1ae9a02e083e67abe048f4511e.tar.xz
gsoc2013-epiphany-7ee4de2b92d0de1ae9a02e083e67abe048f4511e.tar.zst
gsoc2013-epiphany-7ee4de2b92d0de1ae9a02e083e67abe048f4511e.zip
Don't hold a ref to the shell from persist objects.
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.
Diffstat (limited to 'embed/mozilla/mozilla-embed-persist.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-persist.cpp5
1 files changed, 0 insertions, 5 deletions
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);