aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-10-03 03:00:32 +0800
committerChristian Persch <chpe@src.gnome.org>2005-10-03 03:00:32 +0800
commitae8ea41f87ce8c1e69c6a9ebe03eb154fcbe22b3 (patch)
tree78fc3ca3c42598a9cd2ffcf187a001c854d97d38 /src/ephy-tab.c
parentabe1a40d562514cfe6b3c8dae1397d511062ddab (diff)
downloadgsoc2013-epiphany-ae8ea41f87ce8c1e69c6a9ebe03eb154fcbe22b3.tar
gsoc2013-epiphany-ae8ea41f87ce8c1e69c6a9ebe03eb154fcbe22b3.tar.gz
gsoc2013-epiphany-ae8ea41f87ce8c1e69c6a9ebe03eb154fcbe22b3.tar.bz2
gsoc2013-epiphany-ae8ea41f87ce8c1e69c6a9ebe03eb154fcbe22b3.tar.lz
gsoc2013-epiphany-ae8ea41f87ce8c1e69c6a9ebe03eb154fcbe22b3.tar.xz
gsoc2013-epiphany-ae8ea41f87ce8c1e69c6a9ebe03eb154fcbe22b3.tar.zst
gsoc2013-epiphany-ae8ea41f87ce8c1e69c6a9ebe03eb154fcbe22b3.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-tab.c')
-rw-r--r--src/ephy-tab.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index f19b6fd22..4d7faeff4 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -64,6 +64,10 @@
#include <libgnomevfs/gnome-vfs-uri.h>
#include <string.h>
+#ifdef ENABLE_PYTHON
+#include "ephy-python.h"
+#endif
+
#define EPHY_TAB_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_TAB, EphyTabPrivate))
#define MAX_HIDDEN_POPUPS 5
@@ -834,6 +838,10 @@ ephy_tab_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
+#ifdef ENABLE_PYTHON
+ ephy_python_schedule_gc ();
+#endif
+
LOG ("EphyTab finalized %p", tab);
}