summaryrefslogtreecommitdiffstats
path: root/src/io/uristream.h
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2018-09-24 22:14:20 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2018-09-29 21:04:56 +0000
commitca9d69e7e53354800b57421d7b0e90191c604d2c (patch)
tree4576f8f26925c9d3a3a8b0b8a4ff7f4b51782c8f /src/io/uristream.h
parentClean up stream output in repr-io.cpp (diff)
downloadinkscape-ca9d69e7e53354800b57421d7b0e90191c604d2c.tar.gz
inkscape-ca9d69e7e53354800b57421d7b0e90191c604d2c.zip
Purge gunichar from Inkscapestream
None of these functions seems to expect an actual gunichar (which is a 32-bit type and can hold any UTF-32 or UCS-4 character code, also known as a Unicode code point). Instead we want UTF-8 encoded character data (i.e. gchar, which is equivalent to char) that can be output byte-wise to form a valid UTF-8 encoded string.
Diffstat (limited to 'src/io/uristream.h')
-rw-r--r--src/io/uristream.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io/uristream.h b/src/io/uristream.h
index 531f5f484..4c6f0607c 100644
--- a/src/io/uristream.h
+++ b/src/io/uristream.h
@@ -84,7 +84,7 @@ public:
void close() override;
- gunichar get() override;
+ char get() override;
private:
@@ -118,7 +118,7 @@ public:
void flush() override;
- int put(gunichar ch) override;
+ int put(char ch) override;
private:
@@ -155,7 +155,7 @@ public:
void flush() override;
- void put(gunichar ch) override;
+ void put(char ch) override;
private: