[gtk+] gdkcairo: Actually paint the pixbuf



commit 3d7e0f3eb1b64ae457a99b26fc8b833bdd621fb0
Author: Benjamin Otte <otte redhat com>
Date:   Tue Sep 24 17:43:44 2013 +0200

    gdkcairo: Actually paint the pixbuf
    
    I accidentally a line before committing
    b41787bc788d03aaf3dc3c734bc7e8161c1e713a - whoops.

 gdk/gdkcairo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c
index ae0c294..9624392 100644
--- a/gdk/gdkcairo.c
+++ b/gdk/gdkcairo.c
@@ -334,6 +334,8 @@ gdk_cairo_set_source_pixbuf (cairo_t         *cr,
                                                 gdk_pixbuf_get_width (pixbuf),
                                                 gdk_pixbuf_get_height (pixbuf));
 
+  gdk_cairo_surface_paint_pixbuf (surface, pixbuf);
+
   cairo_set_source_surface (cr, surface, pixbuf_x, pixbuf_y);
   cairo_surface_destroy (surface);
 }


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