summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--applets/wncklet/window-list.c2
-rw-r--r--applets/wncklet/workspace-switcher.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index 76011c6b..bd7cf5d1 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -439,7 +439,7 @@ gboolean window_list_applet_fill(MatePanelApplet* applet)
}
#ifdef WNCK_CHECK_VERSION
-#if WNCK_CHECK_VERSION (2, 91, 6)
+#if WNCK_CHECK_VERSION (3, 0, 0)
tasklist->tasklist = wnck_tasklist_new();
#else
tasklist->tasklist = wnck_tasklist_new(NULL);
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 4a568bd1..97fc97da 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -531,7 +531,7 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet)
}
#ifdef WNCK_CHECK_VERSION
-#if WNCK_CHECK_VERSION (2, 91, 6)
+#if WNCK_CHECK_VERSION (3, 0, 0)
pager->pager = wnck_pager_new();
#else
pager->pager = wnck_pager_new(NULL);