diff options
author | rbuj <[email protected]> | 2020-12-25 10:02:12 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2020-12-25 22:07:59 +0000 |
commit | c071e9dd6ceeec569c95be8df7ad130629e1fec1 (patch) | |
tree | 868f14e112d905a30bbdc2727b90f13329b611e1 /applets/wncklet/window-list.c | |
parent | 13f656a36dd24c15b0903ab37fa2d0422a1abb60 (diff) | |
download | mate-panel-c071e9dd6ceeec569c95be8df7ad130629e1fec1.tar.bz2 mate-panel-c071e9dd6ceeec569c95be8df7ad130629e1fec1.tar.xz |
wncklet: missing breaks on switch cases
Diffstat (limited to 'applets/wncklet/window-list.c')
-rw-r--r-- | applets/wncklet/window-list.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c index 96c871c6..4851a823 100644 --- a/applets/wncklet/window-list.c +++ b/applets/wncklet/window-list.c @@ -120,10 +120,17 @@ static void tasklist_update(TasklistData* tasklist) WnckTasklistGroupingType grouping; switch (tasklist->grouping) { - case TASKLIST_NEVER_GROUP: grouping = WNCK_TASKLIST_NEVER_GROUP; - case TASKLIST_AUTO_GROUP: grouping = WNCK_TASKLIST_AUTO_GROUP; - case TASKLIST_ALWAYS_GROUP: grouping = WNCK_TASKLIST_ALWAYS_GROUP; - default: grouping = WNCK_TASKLIST_NEVER_GROUP; + case TASKLIST_NEVER_GROUP: + grouping = WNCK_TASKLIST_NEVER_GROUP; + break; + case TASKLIST_AUTO_GROUP: + grouping = WNCK_TASKLIST_AUTO_GROUP; + break; + case TASKLIST_ALWAYS_GROUP: + grouping = WNCK_TASKLIST_ALWAYS_GROUP; + break; + default: + grouping = WNCK_TASKLIST_NEVER_GROUP; } wnck_tasklist_set_grouping(WNCK_TASKLIST(tasklist->tasklist), grouping); wnck_tasklist_set_include_all_workspaces(WNCK_TASKLIST(tasklist->tasklist), tasklist->include_all_workspaces); |