diff options
author | Murray Cumming <murrayc@murrayc.com> | 2010-05-31 13:16:28 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2010-05-31 13:16:28 +0200 |
commit | de7e9208edb460830accf5835afcbbf9ac4d212b (patch) | |
tree | d74cd224716e60e11723a3ba2777f1a757c218fe /glib/src/optioncontext.ccg | |
parent | f510673363137d691f5063bc68d9fa7bb3ef9709 (diff) | |
download | glibmm-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 'glib/src/optioncontext.ccg')
-rw-r--r-- | glib/src/optioncontext.ccg | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/glib/src/optioncontext.ccg b/glib/src/optioncontext.ccg index f6ad3a7e..2e8b4c20 100644 --- a/glib/src/optioncontext.ccg +++ b/glib/src/optioncontext.ccg @@ -33,18 +33,14 @@ namespace Glib Glib::OptionContext::SlotTranslate* the_slot = static_cast<Glib::OptionContext::SlotTranslate*>(data); -#ifdef GLIBMM_EXCEPTIONS_ENABLED try { -#endif //GLIBMM_EXCEPTIONS_ENABLED translated_str = (*the_slot)(str); -#ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } -#endif //GLIBMM_EXCEPTIONS_ENABLED return translated_str.c_str (); } |