From 5e0e967a79f50759b14e99c1987ac8a5346f7f1b Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Wed, 20 Jun 2007 19:43:09 +0000 Subject: Ensure that when a gui_window dies in nsgtk it kills its browser and gets that to kill it. Makes the browser less crashy if one closes an in-flight window svn path=/trunk/netsurf/; revision=3355 --- gtk/gtk_window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk/gtk_window.h') diff --git a/gtk/gtk_window.h b/gtk/gtk_window.h index 3afe04d15..24ef508a9 100644 --- a/gtk/gtk_window.h +++ b/gtk/gtk_window.h @@ -19,5 +19,6 @@ struct browser_window *nsgtk_get_browser_for_gui(struct gui_window *g); float nsgtk_get_scale_for_gui(struct gui_window *g); int nsgtk_gui_window_update_targets(struct gui_window *g); +void nsgtk_window_destroy_browser(struct gui_window *g); #endif /* NETSURF_GTK_WINDOW_H */ -- cgit v1.2.3