summaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-10-12 15:54:59 +0000
committerAdam Tkac <atkac@redhat.com>2009-10-12 15:54:59 +0000
commit934f63cba1bf9646e3fd40b9575930e8c3371853 (patch)
tree92da01c0baccbb4182f656e0a541d6663291606b /win/rfb_win32
parent8517ea56a741f728ef290f54b77d736251f04b22 (diff)
downloadtigervnc-934f63cba1bf9646e3fd40b9575930e8c3371853.tar.gz
tigervnc-934f63cba1bf9646e3fd40b9575930e8c3371853.zip
Make winvnc4 and Windows vncconfig compilable via MinGW.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3913 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32')
-rw-r--r--win/rfb_win32/CleanDesktop.cxx4
-rw-r--r--win/rfb_win32/Makefile.am4
2 files changed, 3 insertions, 5 deletions
diff --git a/win/rfb_win32/CleanDesktop.cxx b/win/rfb_win32/CleanDesktop.cxx
index 39cca119..60ea1597 100644
--- a/win/rfb_win32/CleanDesktop.cxx
+++ b/win/rfb_win32/CleanDesktop.cxx
@@ -181,7 +181,7 @@ void CleanDesktop::disableWallpaper() {
}
// -=- Switch of normal wallpaper and notify apps
- SysParamsInfo(SPI_SETDESKWALLPAPER, 0, "", SPIF_SENDCHANGE);
+ SysParamsInfo(SPI_SETDESKWALLPAPER, 0, (PVOID) "", SPIF_SENDCHANGE);
restoreWallpaper = true;
} catch (rdr::Exception& e) {
@@ -225,7 +225,7 @@ void CleanDesktop::disablePattern() {
ImpersonateCurrentUser icu;
vlog.debug("disable desktop pattern");
- SysParamsInfo(SPI_SETDESKPATTERN, 0, "", SPIF_SENDCHANGE);
+ SysParamsInfo(SPI_SETDESKPATTERN, 0, (PVOID) "", SPIF_SENDCHANGE);
restorePattern = true;
} catch (rdr::Exception& e) {
diff --git a/win/rfb_win32/Makefile.am b/win/rfb_win32/Makefile.am
index 7c5d1c54..3d8545a9 100644
--- a/win/rfb_win32/Makefile.am
+++ b/win/rfb_win32/Makefile.am
@@ -55,12 +55,10 @@ HDRS = \
WMShatter.h \
WMWindowCopyRect.h
-
-## CleanDesktop.cxx not built - MinGW does not provide COM
-
librfb_win32_la_SOURCES = $(HDRS) \
AboutDialog.cxx \
CKeyboard.cxx \
+ CleanDesktop.cxx \
Clipboard.cxx \
CPointer.cxx \
CurrentUser.cxx \