From 1ff8dad8ec1ae572bf9da6c28379176a9b51673e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 1 Feb 2023 18:18:28 +0100 Subject: Deprecate GtkLockButton This is a very specialized widget, and should really just live with the applications where it is used. --- demos/widget-factory/widget-factory.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demos/widget-factory') diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c index 58cbae10d0..45406086b2 100644 --- a/demos/widget-factory/widget-factory.c +++ b/demos/widget-factory/widget-factory.c @@ -2432,6 +2432,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS widget = (GtkWidget *)gtk_builder_get_object (builder, "record_button"); g_object_set_data (G_OBJECT (window), "record_button", widget); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS widget = (GtkWidget *)gtk_builder_get_object (builder, "lockbox"); widget2 = (GtkWidget *)gtk_builder_get_object (builder, "lockbutton"); g_object_set_data (G_OBJECT (window), "lockbutton", widget2); @@ -2449,6 +2450,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS G_BINDING_SYNC_CREATE); gtk_lock_button_set_permission (GTK_LOCK_BUTTON (widget2), permission); g_object_unref (permission); +G_GNUC_END_IGNORE_DEPRECATIONS widget = (GtkWidget *)gtk_builder_get_object (builder, "iconview1"); widget2 = (GtkWidget *)gtk_builder_get_object (builder, "increase_button"); -- cgit v1.2.1