diff options
author | Monsta <[email protected]> | 2015-08-31 17:21:38 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-08-31 17:21:38 +0300 |
commit | f1b3d0c95bb980e8515dc69f9ce827381c52cc9b (patch) | |
tree | 7c73e999817e61d91236f0a0a55ffce0a35624dc /applets | |
parent | 9d76273d550a6ec24e716beb63e3c31c6f71552b (diff) | |
download | mate-panel-f1b3d0c95bb980e8515dc69f9ce827381c52cc9b.tar.bz2 mate-panel-f1b3d0c95bb980e8515dc69f9ce827381c52cc9b.tar.xz |
check for wnck 3.0.0, not some pre-release version :)
Diffstat (limited to 'applets')
-rw-r--r-- | applets/wncklet/window-list.c | 2 | ||||
-rw-r--r-- | applets/wncklet/workspace-switcher.c | 2 |
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); |