summaryrefslogtreecommitdiff
path: root/applets/wncklet/workspace-switcher.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-11-27 13:23:16 +0100
committerinfirit <[email protected]>2013-11-28 15:38:38 +0100
commite453fc3773d3b49665c42d54069c4c82a853bc64 (patch)
tree24c35d13c7f819e15e78b8d6dd5aad2b860b050a /applets/wncklet/workspace-switcher.c
parenta2b1af54a24b93766f5e2ed4a216637dc510ec47 (diff)
downloadmate-panel-e453fc3773d3b49665c42d54069c4c82a853bc64.tar.bz2
mate-panel-e453fc3773d3b49665c42d54069c4c82a853bc64.tar.xz
Revert "Correct wnck/gtk3 check."
This reverts commit a2b1af54a24b93766f5e2ed4a216637dc510ec47.
Diffstat (limited to 'applets/wncklet/workspace-switcher.c')
-rw-r--r--applets/wncklet/workspace-switcher.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 3ae4f9d2..64f0b330 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -529,8 +529,10 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet)
break;
}
-#if GTK_CHECK_VERSION (3, 0, 0) && WNCK_CHECK_VERSION (2, 91, 6)
+#if GTK_CHECK_VERSION (3, 0, 0)
+#if WNCK_CHECK_VERSION (2, 91, 6)
pager->pager = wnck_pager_new();
+#endif
#else
pager->pager = wnck_pager_new(NULL);
#endif