mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Annotate various types and macros as deprecated
These have all been documented as deprecated for a long time, but we’ve
never had a way to programmatically mark them as deprecated. Do that
now.
This is based on the list of deprecations from the reverted commit
80fcb1bc2
.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Fixes: #638
This commit is contained in:
@@ -109,11 +109,13 @@ void g_tls_connection_set_require_close_notify (GTlsConnecti
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_tls_connection_get_require_close_notify (GTlsConnection *conn);
|
||||
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
GLIB_DEPRECATED_IN_2_60
|
||||
void g_tls_connection_set_rehandshake_mode (GTlsConnection *conn,
|
||||
GTlsRehandshakeMode mode);
|
||||
GLIB_DEPRECATED_IN_2_60
|
||||
GTlsRehandshakeMode g_tls_connection_get_rehandshake_mode (GTlsConnection *conn);
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
GLIB_AVAILABLE_IN_2_60
|
||||
void g_tls_connection_set_advertised_protocols (GTlsConnection *conn,
|
||||
|
Reference in New Issue
Block a user