From f1b3d0c95bb980e8515dc69f9ce827381c52cc9b Mon Sep 17 00:00:00 2001 From: Monsta Date: Mon, 31 Aug 2015 17:21:38 +0300 Subject: check for wnck 3.0.0, not some pre-release version :) --- applets/wncklet/window-list.c | 2 +- applets/wncklet/workspace-switcher.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'applets') 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); -- cgit v1.2.1