summaryrefslogtreecommitdiff
path: root/applets/wncklet/window-list.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-22 11:32:06 +0300
committerlukefromdc <[email protected]>2018-01-22 20:33:18 -0500
commit66ac0a41b2acd5799476c76f551d51f1f838b4eb (patch)
tree621573933a25b3b1e8ccf1250ee2f47d8515d5dc /applets/wncklet/window-list.c
parentdfd529dfae32edfb9949e6afb89c2eb631893ea3 (diff)
downloadmate-panel-66ac0a41b2acd5799476c76f551d51f1f838b4eb.tar.bz2
mate-panel-66ac0a41b2acd5799476c76f551d51f1f838b4eb.tar.xz
bump minimum required libwnck version to 3.4.6
and drop WNCK_CHECK_VERSION usage
Diffstat (limited to 'applets/wncklet/window-list.c')
-rw-r--r--applets/wncklet/window-list.c7
1 files changed, 1 insertions, 6 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);