summaryrefslogtreecommitdiffstats
path: root/ui/gtk.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-10-23 15:29:37 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-10-28 11:25:14 +0100
commit987fec54e1a59f50b3edd68b07964d7e1b62ae9a (patch)
tree20b3c53b49ab515aeb714ecbb9cb9375b5eb7e45 /ui/gtk.c
parent3e9418e160cd8901c83a3c88967158084f5b5c03 (diff)
downloadhqemu-987fec54e1a59f50b3edd68b07964d7e1b62ae9a.zip
hqemu-987fec54e1a59f50b3edd68b07964d7e1b62ae9a.tar.gz
gtk: drop gtk_widget_set_double_buffered call
Dunno why it is here. Removing it seems to have no ill side effects. It is depricated in 3.14+. In some cases it has no effect since 3.10 according to the docs: https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-double-buffered Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/gtk.c')
-rw-r--r--ui/gtk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/gtk.c b/ui/gtk.c
index 8e055da..9727dec 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -1666,7 +1666,6 @@ static GSList *gd_vc_gfx_init(GtkDisplayState *s, VirtualConsole *vc,
GDK_LEAVE_NOTIFY_MASK |
GDK_SCROLL_MASK |
GDK_KEY_PRESS_MASK);
- gtk_widget_set_double_buffered(vc->gfx.drawing_area, FALSE);
gtk_widget_set_can_focus(vc->gfx.drawing_area, TRUE);
vc->type = GD_VC_GFX;
OpenPOWER on IntegriCloud