aboutsummaryrefslogtreecommitdiff
path: root/ui/spice-app.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/spice-app.c')
-rw-r--r--ui/spice-app.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/spice-app.c b/ui/spice-app.c
index d68a35c3b1..93e105c6ee 100644
--- a/ui/spice-app.c
+++ b/ui/spice-app.c
@@ -47,7 +47,8 @@ struct VCChardev {
typedef struct VCChardev VCChardev;
#define TYPE_CHARDEV_VC "chardev-vc"
-#define VC_CHARDEV(obj) OBJECT_CHECK(VCChardev, (obj), TYPE_CHARDEV_VC)
+DECLARE_INSTANCE_CHECKER(VCChardev, VC_CHARDEV,
+ TYPE_CHARDEV_VC)
static ChardevBackend *
chr_spice_backend_new(void)