]> Pileus Git - ~andy/gtk/commit
Fix broken function pointer declarations on windows
authorAlan McGovern <alan@xamarin.com>
Fri, 23 Nov 2012 20:38:34 +0000 (15:38 -0500)
committerMichael Natterer <mitch@gimp.org>
Thu, 29 Nov 2012 14:07:42 +0000 (15:07 +0100)
commit149de7162493055b24f2b5643ec11d45b76a4826
tree708ef5a00909669f9f4162d682bea7d9e684142f
parent709f12b9ac827f64e1c61729e99d0c87157c7044
Fix broken function pointer declarations on windows

Both flashing a window and setting the window opacity were using
incorrect declarations for function pointers. They were missing the
WINAPI annotation as defined in windows.h. As a result, the stack
could be corrupted when these functions were invoked.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=689235
(cherry picked from commit 5637ef1f97ee46666c97707ed7f6bae459007163)
gdk/win32/gdkwindow-win32.c