gradient walker: Correct types and fix formatting
authorSøren Sandmann Pedersen <ssp@redhat.com>
Fri, 14 Oct 2011 11:42:00 +0000 (07:42 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Sat, 15 Oct 2011 14:50:14 +0000 (10:50 -0400)
commit84d6ca7c891601b019d4862a556ed98b7e6fe525
tree2f4b41d0c303e3fd83389b57df1d903a9cdb97fa
parentace225b53dee88d134753ac901f26ba3db6781da
gradient walker: Correct types and fix formatting

The type of pos in gradient_walker_reset() and gradient_walker_pixel()
is pixman_fixed_48_16_t and not pixman_fixed_32_32. The types of the
positions in the walker struct are pixman_fixed_t and not int32_t, and
need_reset is a boolean, not an integer. The spread field should be
called repeat and have the type pixman_repeat_t.

Also fix some formatting issues, make gradient_walker_reset() static,
and delete the pointless PIXMAN_GRADIENT_WALKER_NEED_RESET() macro.
pixman/pixman-gradient-walker.c
pixman/pixman-private.h