mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2024-12-23 17:34:01 +03:00
display: Use correct variable name
Fix gtk2 build
This commit is contained in:
parent
fd4c721551
commit
c86a4dfa41
@ -378,7 +378,7 @@ void virt_viewer_display_get_preferred_size(VirtViewerDisplay *self,
|
||||
requisition->width = border_width * 2;
|
||||
requisition->height = border_width * 2;
|
||||
|
||||
if (virt_viewer_display_get_zoom(display)) {
|
||||
if (virt_viewer_display_get_zoom(self)) {
|
||||
requisition->width += round(priv->desktopWidth * priv->zoom_level / (double) NORMAL_ZOOM_LEVEL);
|
||||
requisition->height += round(priv->desktopHeight * priv->zoom_level / (double) NORMAL_ZOOM_LEVEL);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user