For a GVIR_DESIGNER_DOMAIN_GRAPHICS_DESKTOP graphics type, do not
fallback on the code handling GVIR_DESIGNER_DOMAIN_GRAPHICS_RDP.
Signed-off-by: Pino Toscano <ptoscano(a)redhat.com>
---
libvirt-designer/libvirt-designer-domain.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libvirt-designer/libvirt-designer-domain.c
b/libvirt-designer/libvirt-designer-domain.c
index adca733..cd9349f 100644
--- a/libvirt-designer/libvirt-designer-domain.c
+++ b/libvirt-designer/libvirt-designer-domain.c
@@ -543,6 +543,8 @@ gvir_designer_domain_add_graphics(GVirDesignerDomain *design,
graphics = gvir_designer_domain_create_graphics_desktop(design, error);
if (graphics == NULL)
return NULL;
+
+ break;
}
case GVIR_DESIGNER_DOMAIN_GRAPHICS_RDP: {
--
2.17.2