summaryrefslogtreecommitdiff
path: root/gtk/spice-widget-cairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/spice-widget-cairo.c')
-rw-r--r--gtk/spice-widget-cairo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/spice-widget-cairo.c b/gtk/spice-widget-cairo.c
index e4a2ecf..909ceda 100644
--- a/gtk/spice-widget-cairo.c
+++ b/gtk/spice-widget-cairo.c
@@ -118,7 +118,7 @@ static gboolean draw_event(SpiceDisplay *display, cairo_t *cr)
cairo_fill(cr);
}
- /* Draw the VNC display */
+ /* Draw the display */
if (d->ximage) {
if (d->allow_scaling) {
double sx, sy;
@@ -167,8 +167,6 @@ void spicex_image_invalidate(SpiceDisplay *display,
spice_display *d = SPICE_DISPLAY_GET_PRIVATE(display);
int ww, wh;
- /* FIXME: something goes wrong in 16 bits */
-
gdk_drawable_get_size(gtk_widget_get_window(GTK_WIDGET(display)), &ww, &wh);
/* If we have a pixmap, update the region which changed.