]> git.proxmox.com Git - mirror_qemu.git/commit
gtk: cleanup backend dependencies
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 28 May 2014 20:33:06 +0000 (22:33 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 11 Jun 2014 12:26:49 +0000 (14:26 +0200)
commit0a337ed067ff56165ec952611119e808d442af05
tree537716b03c791f8b1f47ed9c48d3bb79f693ceba
parent932f2d7e0f94c144e5e64adb5934922179c1c440
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>
configure
ui/gtk.c