aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-10-03 03:00:12 +0800
committerChristian Persch <chpe@src.gnome.org>2005-10-03 03:00:12 +0800
commitc067b6612a9b510e46c7b5d038ef3b57511ac226 (patch)
tree8d20138790fa11e9697d4c9fd70650a7134d450f /src/ephy-window.c
parent740aa0f7203b3b80d714c4e899f7cdb2bcb738ea (diff)
downloadgsoc2013-epiphany-c067b6612a9b510e46c7b5d038ef3b57511ac226.tar
gsoc2013-epiphany-c067b6612a9b510e46c7b5d038ef3b57511ac226.tar.gz
gsoc2013-epiphany-c067b6612a9b510e46c7b5d038ef3b57511ac226.tar.bz2
gsoc2013-epiphany-c067b6612a9b510e46c7b5d038ef3b57511ac226.tar.lz
gsoc2013-epiphany-c067b6612a9b510e46c7b5d038ef3b57511ac226.tar.xz
gsoc2013-epiphany-c067b6612a9b510e46c7b5d038ef3b57511ac226.tar.zst
gsoc2013-epiphany-c067b6612a9b510e46c7b5d038ef3b57511ac226.zip
Schedule a GC in finalize of EphyTab and EphyWindow, to work around bug
2005-10-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_finalize): * src/ephy-window.c: (ephy_window_finalize): Schedule a GC in finalize of EphyTab and EphyWindow, to work around bug #317242.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 9ff578c2f..96ba80714 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -73,6 +73,10 @@
#include <X11/XF86keysym.h>
#endif
+#ifdef ENABLE_PYTHON
+#include "ephy-python.h"
+#endif
+
static void ephy_window_class_init (EphyWindowClass *klass);
static void ephy_window_link_iface_init (EphyLinkIface *iface);
static void ephy_window_init (EphyWindow *gs);
@@ -3060,6 +3064,10 @@ ephy_window_finalize (GObject *object)
LOG ("Ephy Window finalized %p", object);
+#ifdef ENABLE_PYTHON
+ ephy_python_schedule_gc ();
+#endif
+
g_object_unref (ephy_shell);
}