summaryrefslogtreecommitdiff
path: root/gtk/gtkwin32embed.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-08-04 23:44:59 +0000
committerTor Lillqvist <tml@src.gnome.org>2008-08-04 23:44:59 +0000
commita1e3946f58ff20011727a26335e7085eff605a99 (patch)
tree794a62f7de4eac1a7f5e6b580dc6163cf0bce633 /gtk/gtkwin32embed.c
parent8d41f35b9b4d7f859ab535229fad7f80be928e5b (diff)
downloadgtk+-a1e3946f58ff20011727a26335e7085eff605a99.tar.gz
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
Diffstat (limited to 'gtk/gtkwin32embed.c')
-rw-r--r--gtk/gtkwin32embed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkwin32embed.c b/gtk/gtkwin32embed.c
index b386f93f98..242722173b 100644
--- a/gtk/gtkwin32embed.c
+++ b/gtk/gtkwin32embed.c
@@ -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;