summaryrefslogtreecommitdiff
path: root/applets/wncklet/workspace-switcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/wncklet/workspace-switcher.c')
-rw-r--r--applets/wncklet/workspace-switcher.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 89880e7a..cda52708 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -476,7 +476,6 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet)
GtkActionGroup* action_group;
gchar* ui_path;
gboolean display_names;
- gboolean wrap_workspaces;
pager = g_new0(PagerData, 1);
@@ -492,7 +491,7 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet)
display_names = g_settings_get_boolean(pager->settings, "display-workspace-names");
- wrap_workspaces = g_settings_get_boolean(pager->settings, "wrap-workspaces");
+ pager->wrap_workspaces = g_settings_get_boolean(pager->settings, "wrap-workspaces");
if (display_names)
{