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