summaryrefslogtreecommitdiffstats
path: root/common/gdi_canvas.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-24 14:30:00 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-24 14:30:00 +0200
commit9655dc30e99ee0fd75cce4de7f436849c15228d1 (patch)
tree29f027b42e3952080abbfd8a617d3f6acdf54757 /common/gdi_canvas.c
parent9c504f23ef911b13cbd582d53ff104eec318100b (diff)
downloadspice-9655dc30e99ee0fd75cce4de7f436849c15228d1.tar.gz
spice-9655dc30e99ee0fd75cce4de7f436849c15228d1.tar.xz
spice-9655dc30e99ee0fd75cce4de7f436849c15228d1.zip
Remove support for clip by path
This is not supported currently anyway and was not generated before.
Diffstat (limited to 'common/gdi_canvas.c')
-rw-r--r--common/gdi_canvas.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c
index 76a76740..594eacf4 100644
--- a/common/gdi_canvas.c
+++ b/common/gdi_canvas.c
@@ -430,12 +430,6 @@ static void set_clip(GdiCanvas *canvas, SpiceClip *clip)
}
break;
}
- case SPICE_CLIP_TYPE_PATH:
- set_path(canvas, SPICE_GET_ADDRESS(clip->data));
- if (SelectClipPath(canvas->dc, RGN_COPY) == ERROR) {
- CANVAS_ERROR("Unable to SelectClipPath");
- }
- break;
default:
CANVAS_ERROR("invalid clip type");
}