summaryrefslogtreecommitdiffstats
path: root/src/version.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/version.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 '')
-rw-r--r--src/version.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/version.cpp b/src/version.cpp
index 2812af3d4..edaa600db 100644
--- a/src/version.cpp
+++ b/src/version.cpp
@@ -15,7 +15,7 @@
#include <glib/gstrfuncs.h>
#include "version.h"
-bool sp_version_from_string(const gchar *string, Inkscape::Version *version)
+gboolean sp_version_from_string(const gchar *string, Inkscape::Version *version)
{
if (!string) {
return FALSE;
@@ -34,7 +34,7 @@ gchar *sp_version_to_string(Inkscape::Version version)
return g_strdup_printf("%u.%u", version.major, version.minor);
}
-bool sp_version_inside_range(Inkscape::Version version,
+gboolean sp_version_inside_range(Inkscape::Version version,
unsigned major_min, unsigned minor_min,
unsigned major_max, unsigned minor_max)
{