Merge revision 1038 changes:
- Linux: Emit "delete_event" signal instead of calling gtk_widget_destroy (issue #780). git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1364@1040 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
74b4e0f04d
commit
df11268f62
|
@ -260,7 +260,7 @@ void CefBrowserHostImpl::PlatformCloseWindow() {
|
|||
if (window_info_.widget != NULL) {
|
||||
GtkWidget* window =
|
||||
gtk_widget_get_toplevel(GTK_WIDGET(window_info_.widget));
|
||||
gtk_widget_destroy(window);
|
||||
gtk_signal_emit_by_name(GTK_OBJECT(window), "delete_event");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue