[pinpoint] cairo: Don't paint the pages black when not having a background



commit 4d70f9b31a0055da01dc416843366b647f9c6235
Author: Damien Lespiau <damien lespiau intel com>
Date:   Wed Oct 26 18:40:12 2011 +0100

    cairo: Don't paint the pages black when not having a background

 pp-cairo.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/pp-cairo.c b/pp-cairo.c
index ff451cd..5ee7f21 100644
--- a/pp-cairo.c
+++ b/pp-cairo.c
@@ -291,11 +291,7 @@ _cairo_render_background (CairoRenderer *renderer,
   const char *file;
 
   if (point == NULL || point->bg == NULL)
-    {
-      cairo_set_source_rgb (renderer->ctx, 0,0,0);
-      cairo_paint (renderer->ctx);
-      return;
-    }
+    return;
 
   file = point->bg;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]