qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/2] gtk: drop gtk_widget_set_double_buffered call
@ 2014-10-23 15:25 Gerd Hoffmann
  2014-10-23 15:25 ` [Qemu-devel] [PATCH 2/2] gtk: avoid gd_widget_reparent with gtk 3.14+ Gerd Hoffmann
  0 siblings, 1 reply; 4+ messages in thread
From: Gerd Hoffmann @ 2014-10-23 15:25 UTC (permalink / raw)
  To: qemu-devel; +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 <kraxel@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-23 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 15:25 [Qemu-devel] [PATCH 1/2] gtk: drop gtk_widget_set_double_buffered call Gerd Hoffmann
2014-10-23 15:25 ` [Qemu-devel] [PATCH 2/2] gtk: avoid gd_widget_reparent with gtk 3.14+ Gerd Hoffmann
2014-10-23 16:26   ` Paolo Bonzini
2014-10-23 16:31     ` Daniel P. Berrange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).