diff options
author | Michael Catanzaro <mcatanzaro@redhat.com> | 2023-01-16 13:46:45 -0600 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-02-09 14:47:09 +0000 |
commit | f2bfce65110d17f1c293520e732f386a33e88a6b (patch) | |
tree | d8ed9fa802de66b356e9896c532bf679100cb261 | |
parent | 9bc9fffbddb3abba6ca16fa0bb261caa99503428 (diff) | |
download | glib-networking-f2bfce65110d17f1c293520e732f386a33e88a6b.tar.gz |
gtlsconnection-base: remove property nicks/blurbs
These are useless and just waste time of translators. Could remove them
from translation, but they really serve no purpose. Best practice is to
not use them nowadays.
https://gitlab.gnome.org/GNOME/gtk/-/issues/4904
Part-of: <https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/231>
-rw-r--r-- | tls/base/gtlsconnection-base.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tls/base/gtlsconnection-base.c b/tls/base/gtlsconnection-base.c index 559bf35..d3e9a6a 100644 --- a/tls/base/gtlsconnection-base.c +++ b/tls/base/gtlsconnection-base.c @@ -2952,20 +2952,15 @@ g_tls_connection_base_class_init (GTlsConnectionBaseClass *klass) g_object_class_install_property (gobject_class, PROP_SESSION_REUSED, g_param_spec_boolean ("session-reused", - _("Session Reused"), - _("Indicates whether a session has been reused"), + NULL, NULL, FALSE, - G_PARAM_READABLE | - G_PARAM_STATIC_STRINGS)); + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_SESSION_RESUMPTION_ENABLED, g_param_spec_boolean ("session-resumption-enabled", - _("Session Reuse Enabled"), - _("Controls whether session should reuse a previous session or if it should be stored. In tests, this variable is false by default."), + NULL, NULL, !g_test_initialized (), - G_PARAM_READABLE | - G_PARAM_WRITABLE | - G_PARAM_STATIC_STRINGS)); + G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); /* For GTlsConnection and GDtlsConnection: */ g_object_class_override_property (gobject_class, PROP_BASE_IO_STREAM, "base-io-stream"); |