[Sugar-devel] [PATCH] Use the gdk window to get the depth of the preview pixmap - SL#3804
Simon Schampijer
simon at schampijer.de
Fri Aug 17 12:54:41 EDT 2012
On 08/17/2012 03:06 PM, Manuel Quiñones wrote:
> This prevents harcoding the depth, and uses the one from the gdk
> window. For this, the preview has to be done after the window is
> realized, so the code is wrapped in the expose-event callback.
>
> Also add a white background to the preview, otherwise artifacts appear
> for previews smaller than the preview box.
>
> Signed-off-by: Manuel Quiñones <manuq at laptop.org>
Great, thanks for that one. Code looks good, and I tested on the XO and
jhbuild. Please push.
Simon
More information about the Sugar-devel
mailing list