Commit 41cfb270 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Fix the same confusion here, too.

2005-07-12  Matthias Clasen  <mclasen@redhat.com>

	* tests/testcairo.c (draw): Fix the same confusion here, too.
parent 6c30cdbd
2005-07-12 Matthias Clasen <mclasen@redhat.com>
* tests/testcairo.c (draw): Fix the same confusion here, too.
* gdk/gdkgc.c (make_stipple_tile_surface): Fix
cairo_content_t <-> cairo_format_t confusion. (#310086,
Carlos Garnacho Parro)
......
2005-07-12 Matthias Clasen <mclasen@redhat.com>
* tests/testcairo.c (draw): Fix the same confusion here, too.
* gdk/gdkgc.c (make_stipple_tile_surface): Fix
cairo_content_t <-> cairo_format_t confusion. (#310086,
Carlos Garnacho Parro)
......
2005-07-12 Matthias Clasen <mclasen@redhat.com>
* tests/testcairo.c (draw): Fix the same confusion here, too.
* gdk/gdkgc.c (make_stipple_tile_surface): Fix
cairo_content_t <-> cairo_format_t confusion. (#310086,
Carlos Garnacho Parro)
......
......@@ -129,19 +129,19 @@ draw (cairo_t *cr,
double yc = height / 2.;
overlay = cairo_surface_create_similar (cairo_get_target (cr),
CAIRO_FORMAT_ARGB32,
CAIRO_CONTENT_COLOR_ALPHA,
width, height);
if (overlay == NULL)
return;
punch = cairo_surface_create_similar (cairo_get_target (cr),
CAIRO_FORMAT_A8,
CAIRO_CONTENT_ALPHA,
width, height);
if (punch == NULL)
return;
circles = cairo_surface_create_similar (cairo_get_target (cr),
CAIRO_FORMAT_ARGB32,
CAIRO_FORMAT_COLOR_ALPHA,
width, height);
if (circles == NULL)
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment