From 8724f32fa0f776b2ce08763531906b1136fe355f Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 15 Nov 2023 15:26:18 +0100 Subject: wncklet: Remove double assignment --- applets/wncklet/workspace-switcher.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c index 065e951a..a3c86cd4 100644 --- a/applets/wncklet/workspace-switcher.c +++ b/applets/wncklet/workspace-switcher.c @@ -522,9 +522,7 @@ static void display_workspace_names_changed(GSettings* settings, gchar* key, Pag static void all_workspaces_changed(GSettings* settings, gchar* key, PagerData* pager) { - gboolean value = TRUE; /* Default value */ - - value = g_settings_get_boolean (settings, key); + gboolean value = g_settings_get_boolean (settings, key); pager->display_all = value; pager_update(pager); -- cgit v1.2.1