diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-11-06 14:33:19 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-11-09 11:58:03 -0500 |
commit | c486c0983f5289b3668b0a055903b5f6b84bf2aa (patch) | |
tree | 9664942ee2c67b6b395b7eb983b1031cbf104d56 /tests/autotestkeywords.cc | |
parent | 6130f076be70ba51404fab4b3bf724bbf6bcb87c (diff) | |
download | gtk+-c486c0983f5289b3668b0a055903b5f6b84bf2aa.tar.gz |
gdk/win32: remove extra allocation for \r removal
Although I can't find explicit documentation for clipboard pointer, it
seems to be possible to modify clibpoard memory without side-effects.
According to MSDN,
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366596%28v=vs.85%29.aspx
"The global and local functions are supported for porting from 16-bit
code, or for maintaining source code compatibility with 16-bit
Windows. Starting with 32-bit Windows, the global and local functions
are implemented as wrapper functions that call the corresponding heap
functions using a handle to the process's default heap."
"Memory objects allocated by GlobalAlloc and LocalAlloc are in private,
committed pages with read/write access that cannot be accessed by other
processes. Memory allocated by using GlobalAlloc with GMEM_DDESHARE is
not actually shared globally as it is in 16-bit Windows. This value has
no effect and is available only for compatibility. "
https://bugzilla.gnome.org/show_bug.cgi?id=711553
Diffstat (limited to 'tests/autotestkeywords.cc')
0 files changed, 0 insertions, 0 deletions