spice: stop using DisplayState

Rework DisplayStateListener callbacks to not use the DisplayState
any more.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2013-02-28 16:42:28 +01:00
parent 8db9bae94e
commit 71874c1751
4 changed files with 20 additions and 18 deletions

View file

@ -71,7 +71,7 @@ typedef struct SimpleSpiceDisplay SimpleSpiceDisplay;
typedef struct SimpleSpiceUpdate SimpleSpiceUpdate;
struct SimpleSpiceDisplay {
DisplayState *ds;
DisplaySurface *ds;
DisplayChangeListener dcl;
void *buf;
int bufsize;