Make prototype match LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning.
authorTor Lillqvist <tml@novell.com>
Sun, 3 Aug 2008 00:06:39 +0000 (00:06 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 3 Aug 2008 00:06:39 +0000 (00:06 +0000)
commit3bf84fb1ccd29d4e164dc93c4da5e4f94885025f
treeb8c55e07c2dbf73245ebca5cb6c69021d5c222f2
parent8258d6863bd28df3f1e787756960a3e8f3197afe
Make prototype match LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning.

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

* win32/gwin32directorymonitor.c
(g_win32_directory_monitor_callback): Make prototype match
LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
pointer.

(g_win32_directory_monitor_constructor):
GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
names in the GLib API on Windows, so convert to UTF-16 and open
with CreateFileW().

svn path=/trunk/; revision=7290
gio/ChangeLog
gio/win32/gwin32directorymonitor.c