From 5d6f51f32ca2356b0d6155015457a83e60b314e8 Mon Sep 17 00:00:00 2001 From: Jon Phillips Date: Fri, 25 Aug 2006 07:03:19 +0000 Subject: peeled back the gboolean code as it hit on some complexity theory principles... need to rethink and incrementally change gbooleans to bools (bzr r1637) --- src/color.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/color.cpp') diff --git a/src/color.cpp b/src/color.cpp index 78ef39188..2a6da863c 100644 --- a/src/color.cpp +++ b/src/color.cpp @@ -69,7 +69,7 @@ sp_color_copy(SPColor *dst, SPColor const *src) /** * Returns TRUE if c0 or c1 is NULL, or if colors/opacities differ. */ -bool +gboolean sp_color_is_equal (SPColor const *c0, SPColor const *c1) { g_return_val_if_fail (c0 != NULL, TRUE); @@ -89,7 +89,7 @@ sp_color_is_equal (SPColor const *c0, SPColor const *c1) * with CMYK aditionally comparing opacity, or if c0 or c1 is NULL. * \note Do we want the latter? */ -bool +gboolean sp_color_is_close (SPColor const *c0, SPColor const *c1, float epsilon) { g_return_val_if_fail (c0 != NULL, TRUE); -- cgit v1.2.3