diff options
author | Alex Brinister <[email protected]> | 2013-11-11 16:06:19 -0500 |
---|---|---|
committer | infirit <[email protected]> | 2013-11-12 15:11:06 +0100 |
commit | 428e32cd0f3f2df0cbd4e859304f0935a11612bc (patch) | |
tree | 24c35d13c7f819e15e78b8d6dd5aad2b860b050a /applets/wncklet/workspace-switcher.c | |
parent | 1b401ff5fa2ca8e710986e61227389cedde10a05 (diff) | |
download | mate-panel-428e32cd0f3f2df0cbd4e859304f0935a11612bc.tar.bz2 mate-panel-428e32cd0f3f2df0cbd4e859304f0935a11612bc.tar.xz |
Fixed the WNCK_CHECK_VERSION calls to only be used when GTK is version
3.0
Diffstat (limited to 'applets/wncklet/workspace-switcher.c')
-rw-r--r-- | applets/wncklet/workspace-switcher.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c index 29a386e4..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) #if WNCK_CHECK_VERSION (2, 91, 6) pager->pager = wnck_pager_new(); +#endif #else pager->pager = wnck_pager_new(NULL); #endif |