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



commit 6f2ffdb13c4a404cedeff38d1a34c10d77e46aeb
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 766f642e8..9b3c2f855 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]