adg: allow building without GTK+
commitca8538db3a3ad3acc178d2fa025d1a7290d784a3
authorNicola Fontana <ntd@entidi.it>
Sun, 8 Feb 2015 20:07:36 +0000 (8 21:07 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 8 Feb 2015 20:07:36 +0000 (8 21:07 +0100)
treea7f79af534665299fb762943a5c367997a924af0
parent46a72168797d0f5c4996f7d2774da457c7dfe419
adg: allow building without GTK+

For some weird reason, compiling without GTK+ enabled generated a bogus
error while building adg-canvas.c. It came out the culprit was the
include of cairo-ps.h. Moving it outside the function solved the problem

Closes issue #160: http://dev.entidi.com/p/adg/issues/160/
src/adg/adg-canvas.c