diff options
author | Murray Cumming <murrayc@murrayc.com> | 2008-01-20 21:54:24 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2008-01-20 21:54:24 +0000 |
commit | 36d69127f6012cb101739f24305114c1a64c14aa (patch) | |
tree | fd8991a4909d1c6b27420e39e03a48c677396fe8 /gio/src/fileinputstream.ccg | |
parent | 2a07ec542060c4ae89dde35beb3e706c11de71c4 (diff) | |
download | glibmm-36d69127f6012cb101739f24305114c1a64c14aa.tar.gz |
Ignore functions that are just duplicates of the ones in Seekable, and
2008-01-20 Murray Cumming <murrayc@murrayc.com>
* gio/src/fileinputstream.ccg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.ccg:
* gio/src/fileoutputstream.hg: Ignore functions that are just
duplicates of the ones in Seekable, and mention Seekable more in
the documentation.
* gio/src/seekable.hg: Expand the class documentation.
* gio/src/outputstream.ccg:
* gio/src/outputstream.hg: Added method overloads and documentation.
svn path=/trunk/; revision=531
Diffstat (limited to 'gio/src/fileinputstream.ccg')
-rw-r--r-- | gio/src/fileinputstream.ccg | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gio/src/fileinputstream.ccg b/gio/src/fileinputstream.ccg index 72793649..238fffb0 100644 --- a/gio/src/fileinputstream.ccg +++ b/gio/src/fileinputstream.ccg @@ -81,24 +81,4 @@ FileInputStream::query_info_async(const std::string& attributes, const SlotAsync slot_copy); } -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool FileInputStream::seek(goffset offset, Glib::SeekType type) -#else -bool FileInputStream::seek(goffset offset, Glib::SeekType type, std::auto_ptr<Glib::Error>& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_input_stream_seek(gobj(), offset, ((GSeekType)(type)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - } // namespace Gio |