summaryrefslogtreecommitdiff
path: root/gio/src/iostream.ccg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2010-05-31 13:16:28 +0200
committerMurray Cumming <murrayc@murrayc.com>2010-05-31 13:16:28 +0200
commitde7e9208edb460830accf5835afcbbf9ac4d212b (patch)
treed74cd224716e60e11723a3ba2777f1a757c218fe /gio/src/iostream.ccg
parentf510673363137d691f5063bc68d9fa7bb3ef9709 (diff)
downloadglibmm-de7e9208edb460830accf5835afcbbf9ac4d212b.tar.gz
Remove the reduced API options and code, as discussed on mailing list.
* configure.ac: Removed the --enable-api-exceptions, --enable-api-properties, --enable-api-vfuncs and --enable-api-default-signal-handlers options. * build/reduced.m4: Removed. * tools/m4/*.m4: * tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API. * *.[hg|ccg|h|cc]: Remove the idefed code.
Diffstat (limited to 'gio/src/iostream.ccg')
-rw-r--r--gio/src/iostream.ccg9
1 files changed, 0 insertions, 9 deletions
diff --git a/gio/src/iostream.ccg b/gio/src/iostream.ccg
index ef19006c..ac12d922 100644
--- a/gio/src/iostream.ccg
+++ b/gio/src/iostream.ccg
@@ -26,21 +26,12 @@ namespace Gio
-#ifdef GLIBMM_EXCEPTIONS_ENABLED
bool IOStream::close()
-#else
-bool IOStream::close(std::auto_ptr<Glib::Error>& error)
-#endif //GLIBMM_EXCEPTIONS_ENABLED
{
GError* gerror = 0;
bool retvalue = g_io_stream_close(gobj(), 0, &(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;
}