mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
make it compile again
2001-07-20 Hans Breuer <hans@breuer.org> * glib/glib/giowin32.c : make it compile again * glib/glib.def : updated exports * glib/makefile.msc.in : * glib/makefile.mingw.in : * tests/makefile.msc.in : reflect glib move * tests/mainloop-test.c : #include <io.h> for _pipe() * tests/gio-test.c : casts for strict compiler settings * makefile.msc.in : new master makefile reflecting the glib move. The '.in' isn't really needed anymore, because there is no version number in it
This commit is contained in:
@@ -301,7 +301,7 @@ main (int argc,
|
||||
exit (1);
|
||||
}
|
||||
|
||||
hwnd = CreateWindow (klass, "gio-test", 0, 0, 0, 10, 10,
|
||||
hwnd = CreateWindow (MAKEINTATOM(klass), "gio-test", 0, 0, 0, 10, 10,
|
||||
NULL, NULL, wcl.hInstance, NULL);
|
||||
if (!hwnd)
|
||||
{
|
||||
@@ -309,7 +309,7 @@ main (int argc,
|
||||
exit (1);
|
||||
}
|
||||
|
||||
windows_messages_channel = g_io_channel_win32_new_messages (hwnd);
|
||||
windows_messages_channel = g_io_channel_win32_new_messages ((guint)hwnd);
|
||||
g_io_add_watch (windows_messages_channel, G_IO_IN, recv_windows_message, 0);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user