summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--applets/wncklet/window-list.c7
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 7 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index e49f2512..df23a401 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -119,10 +119,8 @@ static void applet_change_orient(MatePanelApplet* applet, MatePanelAppletOrient
return;
tasklist->orientation = new_orient;
-
-#if WNCK_CHECK_VERSION (3, 4, 6)
wnck_tasklist_set_orientation (WNCK_TASKLIST (tasklist->tasklist), new_orient);
-#endif
+
tasklist_update(tasklist);
}
@@ -423,11 +421,8 @@ gboolean window_list_applet_fill(MatePanelApplet* applet)
tasklist->tasklist = wnck_tasklist_new();
-#if WNCK_CHECK_VERSION (3, 4, 6)
wnck_tasklist_set_orientation (WNCK_TASKLIST (tasklist->tasklist), tasklist->orientation);
wnck_tasklist_set_middle_click_close (WNCK_TASKLIST (tasklist->tasklist), TRUE);
-#endif
-
wnck_tasklist_set_icon_loader(WNCK_TASKLIST(tasklist->tasklist), icon_loader_func, tasklist, NULL);
g_signal_connect(G_OBJECT(tasklist->tasklist), "destroy", G_CALLBACK(destroy_tasklist), tasklist);
diff --git a/configure.ac b/configure.ac
index 9c767b1e..35491785 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ DBUS_GLIB_REQUIRED=0.80
DCONF_REQUIRED=0.13.4
LIBRSVG_REQUIRED=2.36.2
GTK_REQUIRED=3.14.0
-LIBWNCK_REQUIRED=3.0.0
+LIBWNCK_REQUIRED=3.4.6
WEATHER_REQUIRED=1.17.0
dnl pkg-config dependency checks