diff options
author | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2015-06-17 18:30:53 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2015-06-17 18:30:53 +0200 |
commit | 833025c1eb451150d16c34e79ac2aca6301d84b3 (patch) | |
tree | 7cbdc8d74a101cae69e162f14a00cd7cccb34526 /gio/src/settings.ccg | |
parent | c570362cfc1f46e85b66093567a3f925741cb1c2 (diff) | |
download | glibmm-833025c1eb451150d16c34e79ac2aca6301d84b3.tar.gz |
Don't disable more deprecation warnings than necessary
* gio/src/application.hg:
* gio/src/desktopappinfo.hg:
* gio/src/file.hg:
* gio/src/notification.hg:
* gio/src/settings.[ccg|hg]:
* gio/src/simpleactiongroup.hg:
* gio/src/tlsconnection.hg:
* gio/src/volumemonitor.hg:
* glib/src/date.hg: Don't #undef G_DISABLE_DEPRECATED or #define
GLIB_DISABLE_DEPRECATION_WARNINGS. This is unnecessary when deprecated code
is surrounded by G_GNUC_[BEGIN|END]_IGNORE_DEPRECATIONS. Bug #750379.
Diffstat (limited to 'gio/src/settings.ccg')
-rw-r--r-- | gio/src/settings.ccg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/src/settings.ccg b/gio/src/settings.ccg index d800aa90..03e48075 100644 --- a/gio/src/settings.ccg +++ b/gio/src/settings.ccg @@ -64,10 +64,12 @@ void Settings::bind_writable(const Glib::ustring& key, } _DEPRECATE_IFDEF_START +G_GNUC_BEGIN_IGNORE_DEPRECATIONS std::vector<Glib::ustring> Settings::list_schemas() { return Glib::ArrayHandler<Glib::ustring>::array_to_vector(g_settings_list_schemas(), Glib::OWNERSHIP_NONE); } +G_GNUC_END_IGNORE_DEPRECATIONS _DEPRECATE_IFDEF_END } |