[glib/mcatanzaro/gtlsconnection-changes: 2/4] gtlsconnection: add missing deprecation annotation



commit 20f6862b1c51af0986a6a4eb30b3f97fec570409
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Nov 14 11:46:54 2019 -0600

    gtlsconnection: add missing deprecation annotation
    
    GTlsConnection:rehandshake-mode has been deprecated since 2.60 using
    the G_PARAM_DEPRECATED flag, but I forgot to add the right annotation to
    the documentation. Oops.
    
    The associated getter/setter functions were both deprecated properly.

 gio/gtlsconnection.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gio/gtlsconnection.c b/gio/gtlsconnection.c
index f2a0f302c..348038ee4 100644
--- a/gio/gtlsconnection.c
+++ b/gio/gtlsconnection.c
@@ -195,6 +195,8 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
    * g_tls_connection_set_rehandshake_mode().
    *
    * Since: 2.28
+   *
+   * Deprecated: 2.60: The rehandshake mode is ignored.
    */
   g_object_class_install_property (gobject_class, PROP_REHANDSHAKE_MODE,
                                   g_param_spec_enum ("rehandshake-mode",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]