From 66ac0a41b2acd5799476c76f551d51f1f838b4eb Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 22 Jan 2018 11:32:06 +0300 Subject: bump minimum required libwnck version to 3.4.6 and drop WNCK_CHECK_VERSION usage --- applets/wncklet/window-list.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'applets') 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); -- cgit v1.2.1