diff options
Diffstat (limited to 'gdk-pixbuf/pixops/timescale.c')
-rw-r--r-- | gdk-pixbuf/pixops/timescale.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gdk-pixbuf/pixops/timescale.c b/gdk-pixbuf/pixops/timescale.c index d0ea257487..b835ff5424 100644 --- a/gdk-pixbuf/pixops/timescale.c +++ b/gdk-pixbuf/pixops/timescale.c @@ -76,16 +76,16 @@ dump_array (double times[3][3][4]) switch (j) { - case ART_FILTER_NEAREST: + case GDK_INTERP_NEAREST: printf (" NEAREST\n"); break; - case ART_FILTER_TILES: + case GDK_INTERP_TILES: printf (" TILES\n"); break; - case ART_FILTER_BILINEAR: + case GDK_INTERP_BILINEAR: printf (" BILINEAR\n"); break; - case ART_FILTER_HYPER: + case GDK_INTERP_HYPER: printf (" HYPER\n"); break; } @@ -152,24 +152,24 @@ int main (int argc, char **argv) dest_buf = malloc(dest_rowstride * dest_height); memset (dest_buf, 0x80, dest_rowstride * dest_height); - for (filter_level = ART_FILTER_NEAREST ; filter_level <= ART_FILTER_HYPER; filter_level++) + for (filter_level = GDK_INTERP_NEAREST ; filter_level <= GDK_INTERP_HYPER; filter_level++) { printf ("src_channels = %d (%s); dest_channels = %d (%s); filter_level=", src_channels, src_has_alpha ? "alpha" : "no alpha", dest_channels, dest_has_alpha ? "alpha" : "no alpha"); switch (filter_level) { - case ART_FILTER_NEAREST: - printf ("ART_FILTER_NEAREST\n"); + case GDK_INTERP_NEAREST: + printf ("GDK_INTERP_NEAREST\n"); break; - case ART_FILTER_TILES: - printf ("ART_FILTER_TILES\n"); + case GDK_INTERP_TILES: + printf ("GDK_INTERP_TILES\n"); break; - case ART_FILTER_BILINEAR: - printf ("ART_FILTER_BILINEAR\n"); + case GDK_INTERP_BILINEAR: + printf ("GDK_INTERP_BILINEAR\n"); break; - case ART_FILTER_HYPER: - printf ("ART_FILTER_HYPER\n"); + case GDK_INTERP_HYPER: + printf ("GDK_INTERP_HYPER\n"); break; } |