summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2010-02-05 23:55:57 +0100
committerMurray Cumming <murrayc@murrayc.com>2010-02-05 23:55:57 +0100
commit97c9681a46d0192268342d1ffbae5828a13df607 (patch)
tree3d0dc3d1f1a9e41ba70ffddb91f73bbc321226dd
parent427658e9eabeacc42087a398d49d018a10dfa427 (diff)
downloadglibmm-97c9681a46d0192268342d1ffbae5828a13df607.tar.gz
UnixInputStream: Fix the constructor.
* gio/src/unixinputstream.hg: Constructor and create(): Rename the close_fd_at_close parameter to close_fd to match the properties (and the C function), so our constructor works. Bug #608665 (Matt Marsh)
-rw-r--r--ChangeLog9
-rw-r--r--gio/src/unixinputstream.hg4
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a473976b..668d0257 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-02-05 Murray Cumming <murrayc@murrayc.com>
+
+ UnixInputStream: Fix the constructor.
+
+ * gio/src/unixinputstream.hg: Constructor and create(): Rename the
+ close_fd_at_close parameter to close_fd to match the properties (and the
+ C function), so our constructor works.
+ Bug #608665 (Matt Marsh)
+
2010-01-29 Murray Cumming <murrayc@murrayc-desktop>
Regenerated method .defs. Added a Resolver signal.
diff --git a/gio/src/unixinputstream.hg b/gio/src/unixinputstream.hg
index 58a32c90..afb51113 100644
--- a/gio/src/unixinputstream.hg
+++ b/gio/src/unixinputstream.hg
@@ -40,10 +40,10 @@ class UnixInputStream : public Gio::InputStream
_GTKMMPROC_WIN32_NO_WRAP
protected:
- _WRAP_CTOR(UnixInputStream(int fd, bool close_fd_at_close), g_unix_input_stream_new)
+ _WRAP_CTOR(UnixInputStream(int fd, bool close_fd), g_unix_input_stream_new)
public:
- _WRAP_CREATE(int fd, bool close_fd_at_close)
+ _WRAP_CREATE(int fd, bool close_fd)
_WRAP_METHOD(void set_close_fd(bool close_fd = true), g_unix_input_stream_set_close_fd)
_WRAP_METHOD(bool get_close_fd() const, g_unix_input_stream_get_close_fd)