OSDN Git Service

gtk: drop gtk_widget_set_double_buffered call
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 23 Oct 2014 13:29:37 +0000 (15:29 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 28 Oct 2014 10:25:14 +0000 (11:25 +0100)
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>
ui/gtk.c

index 8e055da..9727dec 100644 (file)
--- 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;