Commit bdeff0ef authored by Lionel Le Folgoc's avatar Lionel Le Folgoc Committed by Jérôme Guelfucci

Port to libxklavier 5.0 API.

parent e1a1cde0
......@@ -137,6 +137,8 @@ XDT_CHECK_OPTIONAL_PACKAGE([LIBXKLAVIER], [libxklavier], [0.3.0],
[libxklavier], [Keyboard layout selection])
XDT_CHECK_OPTIONAL_PACKAGE([LIBXKLAVIER4], [libxklavier], [4.0],
[libxklavier], [Keyboard layout selection])
XDT_CHECK_OPTIONAL_PACKAGE([LIBXKLAVIER5], [libxklavier], [5.0],
[libxklavier], [Keyboard layout selection])
dnl ************************************
dnl *** Xsettings daemon is optional ***
......
......@@ -395,7 +395,11 @@ xfce_keyboard_settings_finalize (GObject *object)
#ifdef HAVE_LIBXKLAVIER
/* Stop xklavier engine */
#ifdef HAVE_LIBXKLAVIER5
xkl_engine_stop_listen (settings->priv->xkl_engine, XKLL_TRACK_KEYBOARD_STATE);
#else
xkl_engine_stop_listen (settings->priv->xkl_engine);
#endif /* HAVE_LIBXKLAVIER5 */
#endif /* HAVE_LIBXKLAVIER */
g_object_unref (G_OBJECT (settings->priv->provider));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment