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
This commit is contained in:
Marshall Greenblatt 2013-01-18 20:18:54 +00:00
parent 4fe56de050
commit 74b4e0f04d
1 changed files with 1 additions and 1 deletions

View File

@ -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