summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gio/src/inputstream.hg4
-rw-r--r--gio/src/outputstream.hg6
2 files changed, 5 insertions, 5 deletions
diff --git a/gio/src/inputstream.hg b/gio/src/inputstream.hg
index 0283a48e..b98da279 100644
--- a/gio/src/inputstream.hg
+++ b/gio/src/inputstream.hg
@@ -383,8 +383,8 @@ public:
g_input_stream_close_finish,
errthrow)
- _WRAP_METHOD(bool is_closed(), g_input_stream_is_closed, newin "2,50")
- _WRAP_METHOD(bool has_pending(), g_input_stream_has_pending, newin "2,50")
+ _WRAP_METHOD(bool is_closed() const, g_input_stream_is_closed, newin "2,50")
+ _WRAP_METHOD(bool has_pending() const, g_input_stream_has_pending, newin "2,50")
protected:
_WRAP_METHOD(bool set_pending(), g_input_stream_set_pending, errthrow, newin "2,50")
diff --git a/gio/src/outputstream.hg b/gio/src/outputstream.hg
index 428da3de..d1e3f413 100644
--- a/gio/src/outputstream.hg
+++ b/gio/src/outputstream.hg
@@ -495,9 +495,9 @@ public:
g_output_stream_close_finish,
errthrow)
- _WRAP_METHOD(bool is_closed(), g_output_stream_is_closed, newin "2,50")
- _WRAP_METHOD(bool is_closing(), g_output_stream_is_closing, newin "2,50")
- _WRAP_METHOD(bool has_pending(), g_output_stream_has_pending, newin "2,50")
+ _WRAP_METHOD(bool is_closed() const, g_output_stream_is_closed, newin "2,50")
+ _WRAP_METHOD(bool is_closing() const, g_output_stream_is_closing, newin "2,50")
+ _WRAP_METHOD(bool has_pending() const, g_output_stream_has_pending, newin "2,50")
protected:
_WRAP_METHOD(bool set_pending(), g_output_stream_set_pending, errthrow, newin "2,50")