summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-11-15 15:26:18 +0100
committerLuke from DC <[email protected]>2023-11-21 20:19:58 +0000
commit8724f32fa0f776b2ce08763531906b1136fe355f (patch)
treef54a860047d1bbc5493ef6d004379bce3b04f45e
parent96c7ebc6dc9e8b8327db04a9570054ee78743353 (diff)
downloadmate-panel-8724f32fa0f776b2ce08763531906b1136fe355f.tar.bz2
mate-panel-8724f32fa0f776b2ce08763531906b1136fe355f.tar.xz
wncklet: Remove double assignment
-rw-r--r--applets/wncklet/workspace-switcher.c4
1 files changed, 1 insertions, 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);