diff options
author | Javier Jardón <jjardon@gnome.org> | 2012-03-10 12:24:05 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2012-07-05 23:19:51 +0900 |
commit | 804281853d8a683bfdb61310827c16101fe8414b (patch) | |
tree | 0851ca2c77e35201fd5a31a23fa01bc0b5123af6 /libsoup/soup-logger.h | |
parent | 05a4021de41c18a8bf8285d60ed43777516e61a8 (diff) | |
download | libsoup-804281853d8a683bfdb61310827c16101fe8414b.tar.gz |
Add deprecation attributes to deprecated functions
This is using the newly introduce G_DEPRECATED macros
from GLib. Traditional deprecation guards are still in
place.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=671770
Diffstat (limited to 'libsoup/soup-logger.h')
-rw-r--r-- | libsoup/soup-logger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsoup/soup-logger.h b/libsoup/soup-logger.h index c6d3a394..8ada23d0 100644 --- a/libsoup/soup-logger.h +++ b/libsoup/soup-logger.h @@ -55,8 +55,10 @@ SoupLogger *soup_logger_new (SoupLoggerLogLevel level, int max_body_size); #ifndef LIBSOUP_DISABLE_DEPRECATED /* Use soup_session_add/remove_feature */ +G_DEPRECATED_FOR(soup_session_add_feature) void soup_logger_attach (SoupLogger *logger, SoupSession *session); +G_DEPRECATED_FOR(soup_session_remove_feature) void soup_logger_detach (SoupLogger *logger, SoupSession *session); #endif |