Bug 544684 - Win64 issue, window handles are assumed to be 32-bit

2008-08-05  Tor Lillqvist  <tml@novell.com>

	Bug 544684 - Win64 issue, window handles are assumed to be 32-bit

	* gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
	as the GdkNativeWindow parameter to
	gtk_window_remove_embedded_xid(). Debugging printout format fixes.

	* gtk/gtkwin32embed.h
	* gtk/gtkwin32embed.c: Change the types of wparam and lparam
	parameters to actually be WPARAM and LPARAM.

	* gtk/gtkplug-win32.c: Adapt accordingly.


svn path=/trunk/; revision=21000
This commit is contained in:
Tor Lillqvist
2008-08-04 23:44:59 +00:00
committed by Tor Lillqvist
parent 8d41f35b9b
commit a1e3946f58
5 changed files with 27 additions and 12 deletions

View File

@ -71,8 +71,8 @@ _gtk_win32_embed_pop_message (void)
void
_gtk_win32_embed_send (GdkWindow *recipient,
GtkWin32EmbedMessageType message,
gint wparam,
gint lparam)
WPARAM wparam,
LPARAM lparam)
{
PostMessage (GDK_WINDOW_HWND (recipient),
_gtk_win32_embed_message_type (message),
@ -82,7 +82,7 @@ _gtk_win32_embed_send (GdkWindow *recipient,
void
_gtk_win32_embed_send_focus_message (GdkWindow *recipient,
GtkWin32EmbedMessageType message,
gint wparam)
WPARAM wparam)
{
int lparam = 0;