diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-10-30 11:28:03 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2010-10-30 13:36:18 +0200 |
commit | 22ea4609be03584de2f2985e55bf169b7af4f868 (patch) | |
tree | 05b9c45521f599f20b88d74a5d965c693c931435 /src/cairo-path-fixed-private.h | |
parent | 330b343952c103d902841a1da7422dd4d0623117 (diff) |
path: Solve co-dependency problem
FALSE and TRUE are defined in cairoint.h, but cairoint.h depends on
cairo-path-fixed-private.h, so just use 0/1 to avoid the depencency
loop.
Fixes a number of errors reported by 'make check'.
Diffstat (limited to 'src/cairo-path-fixed-private.h')
-rw-r--r-- | src/cairo-path-fixed-private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-path-fixed-private.h b/src/cairo-path-fixed-private.h index ce138de2..9fcd5020 100644 --- a/src/cairo-path-fixed-private.h +++ b/src/cairo-path-fixed-private.h @@ -151,10 +151,10 @@ static inline cairo_bool_t _cairo_path_fixed_fill_is_rectilinear (const cairo_path_fixed_t *path) { if (! path->fill_is_rectilinear) - return FALSE; + return 0; if (! path->has_current_point || path->needs_move_to) - return TRUE; + return 1; /* check whether the implicit close preserves the rectilinear property */ return path->current_point.x == path->last_move_point.x || @@ -171,10 +171,10 @@ static inline cairo_bool_t _cairo_path_fixed_fill_maybe_region (const cairo_path_fixed_t *path) { if (! path->fill_maybe_region) - return FALSE; + return 0; if (! path->has_current_point || path->needs_move_to) - return TRUE; + return 1; /* check whether the implicit close preserves the rectilinear property * (the integer point property is automatically preserved) |