diff options
author | Tor Lillqvist <tml@novell.com> | 2006-06-09 09:17:47 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2006-06-09 09:17:47 +0000 |
commit | 225d9caf7c7128ad397a7b6c9b6035df1b72bd8b (patch) | |
tree | f97f3dcb2791fcec01c0607a8c0d953a12a517f3 /ChangeLog.pre-2-10 | |
parent | ada7aa635ee22c0b56050342711468629fadcbbe (diff) | |
download | gtk+-225d9caf7c7128ad397a7b6c9b6035df1b72bd8b.tar.gz |
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)
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r-- | ChangeLog.pre-2-10 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1c6aadbf5f..c67673d54b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,12 @@ +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) + 2006-06-08 Matthias Clasen <mclasen@redhat.com> * tests/testprint.c: Update for api changes. |