summary refs log tree commit diff stats
path: root/ui/spice-app.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/spice-app.c')
-rw-r--r--ui/spice-app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/spice-app.c b/ui/spice-app.c
index a10b4a58fe..2a93ae5918 100644
--- a/ui/spice-app.c
+++ b/ui/spice-app.c
@@ -173,7 +173,7 @@ static void spice_app_display_early_init(DisplayOptions *opts)
         exit(1);
     }
 
-    type_register(&char_vc_type_info);
+    type_register_static(&char_vc_type_info);
 
     sock_path = g_strjoin("", app_dir, "/", "spice.sock", NULL);
     qopts = qemu_opts_create(list, NULL, 0, &error_abort);