diff options
author | Izik Eidus <ieidus@redhat.com> | 2010-04-09 05:06:32 +0300 |
---|---|---|
committer | Izik Eidus <ieidus@redhat.com> | 2010-04-09 05:09:02 +0300 |
commit | 22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0 (patch) | |
tree | fb901b561d6cafc01063368733c770a28342b49c /client/red_pixmap_gdi.h | |
parent | 187a4230e511e8f13bdf635307db5251405cc7f5 (diff) | |
download | spice-22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0.tar.gz spice-22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0.tar.xz spice-22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0.zip |
spice: win32 client: fix gdi locking
While the fix could have been more effective,
it seems like this patch stream better with the coding
logic that was there..., maybe later we will want to change
the locking into more effective way.
(There is just the primary surface to protect in reiality)
Signed-off-by: Izik Eidus <ieidus@redhat.com>
Diffstat (limited to 'client/red_pixmap_gdi.h')
-rw-r--r-- | client/red_pixmap_gdi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/red_pixmap_gdi.h b/client/red_pixmap_gdi.h index d5a028a8..6bf28fd0 100644 --- a/client/red_pixmap_gdi.h +++ b/client/red_pixmap_gdi.h @@ -20,7 +20,7 @@ #include "red_pixmap.h" -class Mutex; +class RecurciveMutex; class RedPixmapGdi: public RedPixmap { public: @@ -29,7 +29,7 @@ public: HDC get_dc(); void *get_memptr(); ~RedPixmapGdi(); - Mutex& get_mutex(); + RecurciveMutex& get_mutex(); }; #endif |