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

[virt-tools-list] [PATCH 1/4] virt-viewer-display: Use virt_viewer_display_queue_resize where possible



Signed-off-by: Hans de Goede <hdegoede redhat com>
---
 src/virt-viewer-display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/virt-viewer-display.c b/src/virt-viewer-display.c
index 3ec79d6..cdbaf45 100644
--- a/src/virt-viewer-display.c
+++ b/src/virt-viewer-display.c
@@ -485,9 +485,9 @@ void virt_viewer_display_set_desktop_size(VirtViewerDisplay *display,
 
     priv->desktopWidth = width;
     priv->desktopHeight = height;
-    priv->dirty = TRUE;
 
-    gtk_widget_queue_resize(GTK_WIDGET(display));
+    virt_viewer_display_queue_resize(display);
+
     g_signal_emit_by_name(display, "display-desktop-resize");
 }
 
-- 
1.8.2


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