diff options
author | monsta <[email protected]> | 2018-01-22 11:32:06 +0300 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-01-22 20:33:18 -0500 |
commit | 66ac0a41b2acd5799476c76f551d51f1f838b4eb (patch) | |
tree | 621573933a25b3b1e8ccf1250ee2f47d8515d5dc | |
parent | dfd529dfae32edfb9949e6afb89c2eb631893ea3 (diff) | |
download | mate-panel-66ac0a41b2acd5799476c76f551d51f1f838b4eb.tar.bz2 mate-panel-66ac0a41b2acd5799476c76f551d51f1f838b4eb.tar.xz |
bump minimum required libwnck version to 3.4.6
and drop WNCK_CHECK_VERSION usage
-rw-r--r-- | applets/wncklet/window-list.c | 7 | ||||
-rw-r--r-- | configure.ac | 2 |
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 |