aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-02 03:41:29 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-02 03:41:29 +0800
commitc9bd88e800fae27c16657cd19c3d2a66c6a3f614 (patch)
treecdced197f48e76ba1d9c4e99348107bcb8ee1e9f /src
parent866c65f75f9f584f86fe91079173b814badbf3d3 (diff)
downloadgsoc2013-epiphany-c9bd88e800fae27c16657cd19c3d2a66c6a3f614.tar
gsoc2013-epiphany-c9bd88e800fae27c16657cd19c3d2a66c6a3f614.tar.gz
gsoc2013-epiphany-c9bd88e800fae27c16657cd19c3d2a66c6a3f614.tar.bz2
gsoc2013-epiphany-c9bd88e800fae27c16657cd19c3d2a66c6a3f614.tar.lz
gsoc2013-epiphany-c9bd88e800fae27c16657cd19c3d2a66c6a3f614.tar.xz
gsoc2013-epiphany-c9bd88e800fae27c16657cd19c3d2a66c6a3f614.tar.zst
gsoc2013-epiphany-c9bd88e800fae27c16657cd19c3d2a66c6a3f614.zip
Don't weak ref the shell when it's finalised already. Fixes bug #165542.
2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Don't weak ref the shell when it's finalised already. Fixes bug #165542.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index e6b9e8ed0..2423810b6 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -190,7 +190,7 @@ main (int argc, char *argv[])
GTK_MESSAGE_ERROR, err->message);
gtk_dialog_run (GTK_DIALOG (dialog));
}
- else if (new_instance)
+ else if (new_instance && ephy_shell)
{
g_object_weak_ref (G_OBJECT (ephy_shell), shell_weak_notify, NULL);
g_idle_add ((GSourceFunc) idle_unref, ephy_shell);