]> Pileus Git - ~andy/gtk/commit
Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
authorTor Lillqvist <tml@novell.com>
Fri, 9 Jun 2006 09:17:47 +0000 (09:17 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Fri, 9 Jun 2006 09:17:47 +0000 (09:17 +0000)
commit225d9caf7c7128ad397a7b6c9b6035df1b72bd8b
treef97f3dcb2791fcec01c0607a8c0d953a12a517f3
parentada7aa635ee22c0b56050342711468629fadcbbe
Call ReleaseDC() on DCs acquired with GetDC() (for windows), and

2006-06-09  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdrawable-win32.c (_gdk_win32_drawable_release_dc):
Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
DeleteDC() on DCs acquired with CreateCompatibleDC() (for
bitmaps). According to MSDN, this is the correct thing to do, even
if always using DeleteDC() seems to have worked fine in
practice. (#337491)
ChangeLog
ChangeLog.pre-2-10
gdk/win32/gdkdrawable-win32.c