summaryrefslogtreecommitdiffstats
path: root/src/color.cpp
diff options
context:
space:
mode:
authorJon Phillips <jon@fabricatorz.com>2006-08-23 07:08:06 +0000
committerkidproto <kidproto@users.sourceforge.net>2006-08-23 07:08:06 +0000
commit10880dbfba9afd5a963f5bb36fe9a3707c1c35a1 (patch)
tree7a73cfffbb81131a0dfb9c6d799325e363615e8a /src/color.cpp
parentUpdated his name and copyright info... (diff)
downloadinkscape-10880dbfba9afd5a963f5bb36fe9a3707c1c35a1.tar.gz
inkscape-10880dbfba9afd5a963f5bb36fe9a3707c1c35a1.zip
Ok, committed msgloan's patch to convert gbooleans to bools thus completing
one major janitorial task we identified.... (bzr r1633)
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 2a6da863c..78ef39188 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.
*/
-gboolean
+bool
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?
*/
-gboolean
+bool
sp_color_is_close (SPColor const *c0, SPColor const *c1, float epsilon)
{
g_return_val_if_fail (c0 != NULL, TRUE);