Fix the same confusion here, too.

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

	* tests/testcairo.c (draw): Fix the same confusion here, too.
This commit is contained in:
Matthias Clasen 2005-07-12 16:52:55 +00:00 committed by Matthias Clasen
parent 6c30cdbd8d
commit 41cfb270ed
4 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,7 @@
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)

View File

@ -1,5 +1,7 @@
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)

View File

@ -1,5 +1,7 @@
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)

View File

@ -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;