From b965f7cf500ceaa9837c26fff7c60b2f6acedd64 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 20 Oct 2021 17:13:10 -0300 Subject: [PATCH] lock: Port to GTK4 This one was even more trivial than the previous one! --- panels/lock/cc-lock-panel.c | 5 ----- panels/lock/cc-lock-panel.ui | 32 ++++++++++---------------------- panels/meson.build | 2 +- shell/cc-panel-loader.c | 4 ++-- 4 files changed, 13 insertions(+), 30 deletions(-) diff --git a/panels/lock/cc-lock-panel.c b/panels/lock/cc-lock-panel.c index 86800e871..d3ad3a893 100644 --- a/panels/lock/cc-lock-panel.c +++ b/panels/lock/cc-lock-panel.c @@ -19,7 +19,6 @@ * Author: Matthias Clasen */ -#include "list-box-helper.h" #include "cc-lock-panel.h" #include "cc-lock-resources.h" #include "cc-util.h" @@ -284,10 +283,6 @@ cc_lock_panel_init (CcLockPanel *self) gtk_widget_init_template (GTK_WIDGET (self)); - gtk_list_box_set_header_func (self->lock_list_box, - cc_list_box_update_header_func, - NULL, NULL); - self->cancellable = g_cancellable_new (); self->lock_settings = g_settings_new ("org.gnome.desktop.screensaver"); diff --git a/panels/lock/cc-lock-panel.ui b/panels/lock/cc-lock-panel.ui index 6255195ff..945ae2676 100644 --- a/panels/lock/cc-lock-panel.ui +++ b/panels/lock/cc-lock-panel.ui @@ -2,14 +2,11 @@