mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
viewers: Use GtkVnc.Display() not GtkVnc.Display.new()
The latter doesn't cause problems on Fedora, but it's currently throwing errors on Freebsd: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203152
This commit is contained in:
parent
5f0433700b
commit
5df6757a0b
@ -272,7 +272,7 @@ class VNCViewer(Viewer):
|
||||
###################
|
||||
|
||||
def _init_widget(self):
|
||||
self._display = GtkVnc.Display.new()
|
||||
self._display = GtkVnc.Display()
|
||||
|
||||
# Make sure viewer doesn't force resize itself
|
||||
self._display.set_force_size(False)
|
||||
|
Loading…
Reference in New Issue
Block a user