aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-10-03 02:49:58 +0800
committerChristian Persch <chpe@src.gnome.org>2005-10-03 02:49:58 +0800
commit740aa0f7203b3b80d714c4e899f7cdb2bcb738ea (patch)
treeb92811638c4b3e7bd510f49d1dd23e2c2bbbfadb /src/ephy-notebook.h
parentd2ad569a74ad672d6ee5dbeac1b302f676bdbde7 (diff)
downloadgsoc2013-epiphany-740aa0f7203b3b80d714c4e899f7cdb2bcb738ea.tar
gsoc2013-epiphany-740aa0f7203b3b80d714c4e899f7cdb2bcb738ea.tar.gz
gsoc2013-epiphany-740aa0f7203b3b80d714c4e899f7cdb2bcb738ea.tar.bz2
gsoc2013-epiphany-740aa0f7203b3b80d714c4e899f7cdb2bcb738ea.tar.lz
gsoc2013-epiphany-740aa0f7203b3b80d714c4e899f7cdb2bcb738ea.tar.xz
gsoc2013-epiphany-740aa0f7203b3b80d714c4e899f7cdb2bcb738ea.tar.zst
gsoc2013-epiphany-740aa0f7203b3b80d714c4e899f7cdb2bcb738ea.zip
Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction to
2005-10-02 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose), (ephy_embed_shell_finalize), (ephy_embed_shell_class_init): * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_show_page_certificate), (ephy_embed_close): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-python.c: (ephy_python_init), (ephy_python_shutdown), (ephy_python_schedule_gc): * src/ephy-shell.c: (ephy_shell_class_init), (gnome_session_init), (ephy_shell_dispose), (ephy_shell_finalize): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-window.c: (construct_confirm_close_dialog), (confirm_close_with_modified_forms), (embed_modal_alert_cb), (idle_tab_remove_cb), (schedule_tab_close), (embed_close_request_cb), (embed_destroy_browser_cb), (tab_added_cb), (tab_removed_cb), (tab_close_request_cb), (setup_notebook), (remove_true), (ephy_window_dispose), (cancel_handler), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (event_with_shift), (window_cmd_view_reload), (window_cmd_file_close_window): Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction to an idle handler, to avoid crashes when tabs are closed from signal handlers (blur, mousedown, keydown etc). Fixes bug #172878, bug #172879, bug #172882, bug #303254, bug #313425.
Diffstat (limited to 'src/ephy-notebook.h')
-rw-r--r--src/ephy-notebook.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-notebook.h b/src/ephy-notebook.h
index 04ae54fcd..6ad66d870 100644
--- a/src/ephy-notebook.h
+++ b/src/ephy-notebook.h
@@ -61,7 +61,7 @@ struct _EphyNotebookClass
void (* tab_detached) (EphyNotebook *notebook,
EphyTab *tab);
void (* tabs_reordered) (EphyNotebook *notebook);
- gboolean (* tab_delete) (EphyNotebook *notebook,
+ void (* tab_close_req) (EphyNotebook *notebook,
EphyTab *tab);
};