diff options
author | Colomban Wendling <[email protected]> | 2023-11-15 15:26:18 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-11-21 20:19:58 +0000 |
commit | 8724f32fa0f776b2ce08763531906b1136fe355f (patch) | |
tree | f54a860047d1bbc5493ef6d004379bce3b04f45e /applets/wncklet | |
parent | 96c7ebc6dc9e8b8327db04a9570054ee78743353 (diff) | |
download | mate-panel-8724f32fa0f776b2ce08763531906b1136fe355f.tar.bz2 mate-panel-8724f32fa0f776b2ce08763531906b1136fe355f.tar.xz |
wncklet: Remove double assignment
Diffstat (limited to 'applets/wncklet')
-rw-r--r-- | applets/wncklet/workspace-switcher.c | 4 |
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); |