summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-07-12 16:52:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-07-12 16:52:55 +0000
commit41cfb270ed3001a67270d5f4332778841d180b89 (patch)
treef1b462d9830abb30847b679e79b715c0eaccffde /tests
parent6c30cdbd8d22992275d0143bb301ad4dc32db7f9 (diff)
downloadgtk+-41cfb270ed3001a67270d5f4332778841d180b89.tar.gz
Fix the same confusion here, too.
2005-07-12 Matthias Clasen <mclasen@redhat.com> * tests/testcairo.c (draw): Fix the same confusion here, too.
Diffstat (limited to 'tests')
-rw-r--r--tests/testcairo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testcairo.c b/tests/testcairo.c
index 918ebff974..1d1c20815b 100644
--- a/tests/testcairo.c
+++ b/tests/testcairo.c
@@ -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;