summaryrefslogtreecommitdiff
path: root/gtk/deprecated
diff options
context:
space:
mode:
authorMarco Melorio <marco.melorio@protonmail.com>2023-02-12 16:12:17 +0100
committerMarco Melorio <marco.melorio@protonmail.com>2023-02-12 16:12:17 +0100
commitb34c1390289f677f5e24def4a43676acf2ed4de0 (patch)
treee8ddf0ac50f92773d37b5d8158ca43f67a7c4afb /gtk/deprecated
parent6e6f2f652c20f8508f851318651f65d69546e838 (diff)
downloadgtk+-b34c1390289f677f5e24def4a43676acf2ed4de0.tar.gz
docs: Mark everything in GtkLockButton as deprecated
Diffstat (limited to 'gtk/deprecated')
-rw-r--r--gtk/deprecated/gtklockbutton.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/gtk/deprecated/gtklockbutton.c b/gtk/deprecated/gtklockbutton.c
index 39a0741e3b..d19bdc23b0 100644
--- a/gtk/deprecated/gtklockbutton.c
+++ b/gtk/deprecated/gtklockbutton.c
@@ -70,6 +70,8 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
* [property@Gtk.LockButton:tooltip-lock],
* [property@Gtk.LockButton:tooltip-unlock] and
* [property@Gtk.LockButton:tooltip-not-authorized] properties.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
struct _GtkLockButton
@@ -271,6 +273,8 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
* GtkLockButton:permission: (attributes org.gtk.Property.get=gtk_lock_button_get_permission org.gtk.Property.set=gtk_lock_button_set_permission)
*
* The `GPermission object controlling this button.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_PERMISSION,
g_param_spec_object ("permission", NULL, NULL,
@@ -282,6 +286,8 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
* GtkLockButton:text-lock:
*
* The text to display when prompting the user to lock.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TEXT_LOCK,
g_param_spec_string ("text-lock", NULL, NULL,
@@ -294,6 +300,8 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
* GtkLockButton:text-unlock:
*
* The text to display when prompting the user to unlock.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TEXT_UNLOCK,
g_param_spec_string ("text-unlock", NULL, NULL,
@@ -306,6 +314,8 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
* GtkLockButton:tooltip-lock:
*
* The tooltip to display when prompting the user to lock.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TOOLTIP_LOCK,
g_param_spec_string ("tooltip-lock", NULL, NULL,
@@ -318,6 +328,8 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
* GtkLockButton:tooltip-unlock:
*
* The tooltip to display when prompting the user to unlock.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TOOLTIP_UNLOCK,
g_param_spec_string ("tooltip-unlock", NULL, NULL,
@@ -330,6 +342,8 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
* GtkLockButton:tooltip-not-authorized:
*
* The tooltip to display when the user cannot obtain authorization.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TOOLTIP_NOT_AUTHORIZED,
g_param_spec_string ("tooltip-not-authorized", NULL, NULL,
@@ -511,6 +525,8 @@ gtk_lock_button_clicked (GtkButton *widget)
* Creates a new lock button which reflects the @permission.
*
* Returns: a new `GtkLockButton`
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
GtkWidget *
gtk_lock_button_new (GPermission *permission)
@@ -527,6 +543,8 @@ gtk_lock_button_new (GPermission *permission)
* Obtains the `GPermission` object that controls @button.
*
* Returns: (transfer none) (nullable): the `GPermission` of @button
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
GPermission *
gtk_lock_button_get_permission (GtkLockButton *button)
@@ -542,6 +560,8 @@ gtk_lock_button_get_permission (GtkLockButton *button)
* @permission: (nullable): a `GPermission` object
*
* Sets the `GPermission` object that controls @button.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
void
gtk_lock_button_set_permission (GtkLockButton *button,