summaryrefslogtreecommitdiff
path: root/gtk/gtk_window.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2007-06-20 19:43:09 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2007-06-20 19:43:09 +0000
commit5e0e967a79f50759b14e99c1987ac8a5346f7f1b (patch)
tree8d8a6785d41c4381d3a05b0a03c9541f874474e7 /gtk/gtk_window.h
parentfa9d7facf5940de82229f5291bd3d1b65bf2df7b (diff)
downloadnetsurf-5e0e967a79f50759b14e99c1987ac8a5346f7f1b.tar.gz
netsurf-5e0e967a79f50759b14e99c1987ac8a5346f7f1b.tar.bz2
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
Diffstat (limited to 'gtk/gtk_window.h')
-rw-r--r--gtk/gtk_window.h1
1 files changed, 1 insertions, 0 deletions
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 */