summaryrefslogtreecommitdiffstats
path: root/src/color.cpp
diff options
context:
space:
mode:
authorJon Phillips <jon@fabricatorz.com>2006-08-25 07:03:19 +0000
committerkidproto <kidproto@users.sourceforge.net>2006-08-25 07:03:19 +0000
commit5d6f51f32ca2356b0d6155015457a83e60b314e8 (patch)
tree835131f8041d12103ea82dc6b23917443f61cd42 /src/color.cpp
parentI peeled back my changes because of some deep error. (diff)
downloadinkscape-5d6f51f32ca2356b0d6155015457a83e60b314e8.tar.gz
inkscape-5d6f51f32ca2356b0d6155015457a83e60b314e8.zip
peeled back the gboolean code as it hit on some complexity theory principles...
need to rethink and incrementally change gbooleans to bools (bzr r1637)
Diffstat (limited to 'src/color.cpp')
-rw-r--r--src/color.cpp4
1 files changed, 2 insertions, 2 deletions
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);