Unbreak after libxklavier update, backport from upstream git

Reported by Andres Kahari, thanks!
This commit is contained in:
landry 2010-04-22 16:15:27 +00:00
parent 6d74d84225
commit 5e3e0d5879
2 changed files with 16 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.6 2010/01/02 15:23:46 landry Exp $
# $OpenBSD: Makefile,v 1.7 2010/04/22 16:15:27 landry Exp $
COMMENT= Xfce4 settings helpers
XFCE_PROJECT= xfce4-settings
XFCE_VERSION= 4.6.4
PKGNAME= ${DISTNAME}p0
# GPLv2
PERMIT_DISTFILES_CDROM= Yes

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-dialogs_keyboard-settings_xfce-keyboard-settings_c,v 1.1 2010/04/22 16:15:27 landry Exp $
Adapt to libxklavier 5 api
http://git.xfce.org/xfce/xfce4-settings/commit/?id=bdeff0efd3342b36e56830fd208103c4453ad0d4
--- dialogs/keyboard-settings/xfce-keyboard-settings.c.orig Thu Apr 22 17:51:20 2010
+++ dialogs/keyboard-settings/xfce-keyboard-settings.c Thu Apr 22 17:52:05 2010
@@ -457,7 +457,7 @@ xfce_keyboard_settings_finalize (GObject *object)
#ifdef HAVE_LIBXKLAVIER
/* Stop xklavier engine */
- xkl_engine_stop_listen (settings->priv->xkl_engine);
+ xkl_engine_stop_listen (settings->priv->xkl_engine, XKLL_TRACK_KEYBOARD_STATE);
#endif /* HAVE_LIBXKLAVIER */
g_object_unref (settings->priv->provider);