[glibmm] UnixInputStream: Fix the constructor.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glibmm] UnixInputStream: Fix the constructor.
- Date: Fri, 5 Feb 2010 22:58:17 +0000 (UTC)
commit 97c9681a46d0192268342d1ffbae5828a13df607
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Feb 5 23:55:57 2010 +0100
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)
ChangeLog | 9 +++++++++
gio/src/unixinputstream.hg | 4 ++--
2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a473976..668d025 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 58a32c9..afb5111 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]