mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
ui: Replace type_register() with type_register_static()
Replace type_register() with type_register_static() because type_register() will be deprecated. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Link: https://lore.kernel.org/r/20241029085934.2799066-15-zhao1.liu@intel.com
This commit is contained in:
parent
2780dd6acb
commit
e5d60d930c
4 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue