diff options
author | Alon Levy <alevy@redhat.com> | 2010-12-06 18:01:14 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-12-08 17:13:02 +0200 |
commit | ff3fb423ed1e60dc5124e1211613c56555b6cdce (patch) | |
tree | fb37c93560e17392575382009aa55bd6d6f56d25 | |
parent | 8bea5d6b5a8ce4fa11363ced501f7607ad12b8ba (diff) | |
download | spice-ff3fb423ed1e60dc5124e1211613c56555b6cdce.tar.gz spice-ff3fb423ed1e60dc5124e1211613c56555b6cdce.tar.xz spice-ff3fb423ed1e60dc5124e1211613c56555b6cdce.zip |
mingw32 build: fix two functions
-rw-r--r-- | client/windows/red_window.cpp | 5 | ||||
-rw-r--r-- | common/canvas_base.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/client/windows/red_window.cpp b/client/windows/red_window.cpp index 6d8a70d8..56a757ba 100644 --- a/client/windows/red_window.cpp +++ b/client/windows/red_window.cpp @@ -80,11 +80,6 @@ static inline RedKey translate_key(int virtual_key, uint32_t scan, bool escape) } } -static int menu_cmd_to_app(WPARAM wparam) -{ - return 0; -} - static inline void send_filtered_keys(RedWindow* window) { KeysList::iterator iter; diff --git a/common/canvas_base.c b/common/canvas_base.c index 6d101f49..db832459 100644 --- a/common/canvas_base.c +++ b/common/canvas_base.c @@ -115,7 +115,7 @@ static inline uint32_t canvas_16bpp_to_32bpp(uint32_t color) return ret; } -#ifdef WIN32 +#if defined(WIN32) && defined(GDI_CANVAS) static HDC create_compatible_dc() { HDC dc = CreateCompatibleDC(NULL); |