From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhKoO-0000kZ-1k for qemu-devel@nongnu.org; Thu, 23 Oct 2014 12:00:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhKoH-0005nf-19 for qemu-devel@nongnu.org; Thu, 23 Oct 2014 12:00:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhKoG-0005nN-PT for qemu-devel@nongnu.org; Thu, 23 Oct 2014 12:00:20 -0400 From: Gerd Hoffmann Date: Thu, 23 Oct 2014 17:25:18 +0200 Message-Id: <1414077919-29271-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] gtk: drop gtk_widget_set_double_buffered call List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Dr. David Alan Gilbert" , Anthony Liguori , Gerd Hoffmann 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 --- ui/gtk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/gtk.c b/ui/gtk.c index 342815b..5249820 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -1703,7 +1703,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; -- 1.8.3.1