[designer PATCH 3/6] Add missing break in gvir_designer_domain_add_graphics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux