libxklavier 1.12 compatibility

This commit is contained in:
Sergey V. Udaltsov 2004-11-25 23:24:48 +00:00
parent 3470a2f169
commit 00f80f214b
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2004-11-25 Sergey V. Udaltsov <svu@gnome.org>
* libxklavier 1.12 compatibility
2004-11-09 Mark McLoughlin <mark@skynet.ie>
* Makefile.am: install .desktop file in $(datadir)/applications.

View file

@ -168,7 +168,7 @@ prepare_selected_layouts_tree (GladeXML * dialog)
g_signal_connect_swapped (G_OBJECT (selection), "changed",
G_CALLBACK
(enable_disable_layouts_buttons), dialog);
maxSelectedLayouts = XklMultipleLayoutsSupported ()? XkbNumKbdGroups : 1;
maxSelectedLayouts = ( XklGetBackendFeatures() & XKLF_MULTIPLE_LAYOUTS_SUPPORTED ) ? XkbNumKbdGroups : 1;
}
void