[virt-tools-list] [virt-viewer] Remove unused variable
Christophe Fergeau
cfergeau at redhat.com
Thu Jan 24 14:31:59 UTC 2013
'window' is no longer used after 412bcf6f.
---
src/virt-viewer-display-spice.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/virt-viewer-display-spice.c b/src/virt-viewer-display-spice.c
index c4681eb..6edb748 100644
--- a/src/virt-viewer-display-spice.c
+++ b/src/virt-viewer-display-spice.c
@@ -199,7 +199,6 @@ virt_viewer_display_spice_size_allocate(VirtViewerDisplaySpice *self,
if (self->priv->auto_resize == AUTO_RESIZE_FULLSCREEN) {
GdkRectangle monitor;
GdkScreen *screen = gtk_widget_get_screen(GTK_WIDGET(self));
- GdkWindow *window = gtk_widget_get_root_window(GTK_WIDGET(self));
int n = gdk_screen_get_monitor_at_window(screen,
gtk_widget_get_window(GTK_WIDGET(self)));
gdk_screen_get_monitor_geometry(screen, n, &monitor);
--
1.8.1
More information about the virt-tools-list
mailing list