gtk: cleanup backend dependencies
commit36609829768cbd86b96907d5a146c3f0f494d46e
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 3 Jun 2014 08:01:39 +0000 (3 10:01 +0200)
committerStefan Weil <sw@weilnetz.de>
Fri, 6 Jun 2014 05:40:00 +0000 (6 07:40 +0200)
tree186d9d9a66e40f58bc4ac0d529a2f7a33b157243
parente622f53cdde69e852d564de05889814bcda2fa0f
gtk: cleanup backend dependencies

Make configure detect gtk x11 backend and link libX11 then.  Make
gtk backend specific code properly #ifdef'ed on the GTK_WINDOWING_*
backends at runtime).  Our gtk ui code should build and run fine on
any platform now.

This also fixes the linker failute due to the new XkbGetKeyboard call
added by commit 3158a3482b0093e41f2b2596fba50774ea31ae08.

Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Tested-by: Richard Henderson <rth@twiddle.net>
configure
ui/gtk.c