diff options
author | Murray Cumming <murrayc@murrayc.com> | 2010-06-08 17:15:46 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2010-06-08 17:15:46 +0200 |
commit | d0680697e2138dc2395c400ccd2d8bfb2e0d0f88 (patch) | |
tree | e4eccb0a10d259eb1eb15be8a03afc6346598c03 /glib/glibmm/streamiochannel.cc | |
parent | bafd0dcf7d3423e1cbaafe85fd6d4aa17bf67831 (diff) | |
download | glibmm-d0680697e2138dc2395c400ccd2d8bfb2e0d0f88.tar.gz |
Use GLIBMM_DISABLE_DEPRECATED on StreamIoChannel.
* glib/glibmm/streamiochannel.[h|cc]: Put #ifndef GLIBMM_DISABLE_DEPRECATED
around this long-since-deprecated class.
Diffstat (limited to 'glib/glibmm/streamiochannel.cc')
-rw-r--r-- | glib/glibmm/streamiochannel.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/glib/glibmm/streamiochannel.cc b/glib/glibmm/streamiochannel.cc index 53228b01..08b661bd 100644 --- a/glib/glibmm/streamiochannel.cc +++ b/glib/glibmm/streamiochannel.cc @@ -25,6 +25,8 @@ namespace Glib { +#ifndef GLIBMM_DISABLE_DEPRECATED + // static Glib::RefPtr<StreamIOChannel> StreamIOChannel::create(std::istream& stream) { @@ -189,5 +191,6 @@ Glib::RefPtr<Glib::Source> StreamIOChannel::create_watch_vfunc(IOCondition) return Glib::RefPtr<Glib::Source>(); } -} // namespace Glib +#endif //GLIBMM_DISABLE_DEPRECATED +} // namespace Glib |