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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 64f0b330..3ae4f9d2 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -529,10 +529,8 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet)
break;
}
-#if GTK_CHECK_VERSION (3, 0, 0)
-#if WNCK_CHECK_VERSION (2, 91, 6)
+#if GTK_CHECK_VERSION (3, 0, 0) && WNCK_CHECK_VERSION (2, 91, 6)
pager->pager = wnck_pager_new();
-#endif
#else
pager->pager = wnck_pager_new(NULL);
#endif