app: disable double buffering on all offscreen widgets

They are rendered only after being completely drawn anyway, so there
is no use in wasting an additional buffer for them.
This commit is contained in:
Michael Natterer 2010-05-26 11:47:52 +02:00
parent a4ccfcee72
commit 3a1c319c91
1 changed files with 2 additions and 0 deletions

View File

@ -355,6 +355,8 @@ gimp_overlay_box_add_child (GimpOverlayBox *box,
g_return_if_fail (GIMP_IS_OVERLAY_BOX (box));
g_return_if_fail (GTK_IS_WIDGET (widget));
gtk_widget_set_double_buffered (widget, FALSE);
child = gimp_overlay_child_new (box, widget, xalign, yalign, 0.0, 0.7);
box->children = g_list_append (box->children, child);