diff options
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r-- | src/ephy-tab.c | 8 |
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); } |