From 74b4e0f04dd8c3f3f5161d80fa4ba50f3c5ad48e Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 18 Jan 2013 20:18:54 +0000 Subject: [PATCH] Merge revision 1037 changes: - Linux: Emit "delete_event" signal instead of calling gtk_widget_destroy (issue #780). git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1364@1039 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- cef1/libcef/browser_impl_gtk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cef1/libcef/browser_impl_gtk.cc b/cef1/libcef/browser_impl_gtk.cc index 5a146e85b..1f44b07d1 100644 --- a/cef1/libcef/browser_impl_gtk.cc +++ b/cef1/libcef/browser_impl_gtk.cc @@ -189,7 +189,7 @@ int CefBrowserImpl::UIT_GetPagesCount(WebKit::WebFrame* frame) { // static void CefBrowserImpl::UIT_CloseView(gfx::NativeView view) { GtkWidget* window = gtk_widget_get_toplevel(GTK_WIDGET(view)); - gtk_widget_destroy(window); + gtk_signal_emit_by_name(GTK_OBJECT(window), "delete_event"); } // static