win32: Don't remove the window from the handle table on destroy

We always get the WM_DESTROY message anyway, and we remove it there.
Bug #336416 even claims this could be a leak if the WM_DESTROY
message was not seen before the DestroyWindow call returned, as
the WM_DESTROY message could not be handled later without the
window in the handle table. I'm not sure this can happen, but we
might as well remove it.
This commit is contained in:
Alexander Larsson 2011-10-26 11:39:15 +02:00
parent 725379192d
commit 4690aa28d0

View File

@ -752,8 +752,6 @@ gdk_win32_window_destroy (GdkWindow *window,
window->destroyed = TRUE;
DestroyWindow (GDK_WINDOW_HWND (window));
}
gdk_win32_handle_table_remove (GDK_WINDOW_HWND (window));
}
static cairo_surface_t *