summaryrefslogtreecommitdiffstats
path: root/src/sp-polygon.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/sp-polygon.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/sp-polygon.cpp')
-rw-r--r--src/sp-polygon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-polygon.cpp b/src/sp-polygon.cpp
index 56cbfefde..8c853bcd6 100644
--- a/src/sp-polygon.cpp
+++ b/src/sp-polygon.cpp
@@ -137,7 +137,7 @@ static Inkscape::XML::Node *sp_polygon_write(SPObject *object, Inkscape::XML::No
}
-static gboolean polygon_get_value(gchar const **p, gdouble *v)
+static bool polygon_get_value(gchar const **p, gdouble *v)
{
while (**p != '\0' && (**p == ',' || **p == '\x20' || **p == '\x9' || **p == '\xD' || **p == '\xA')) {
(*p)++;
@@ -170,7 +170,7 @@ static void sp_polygon_set(SPObject *object, unsigned int key, const gchar *valu
break;
}
SPCurve *curve = sp_curve_new();
- gboolean hascpt = FALSE;
+ bool hascpt = FALSE;
gchar const *cptr = value;
bool has_error = false;