This removes code, and allows the example to be used on any platform. Fixes bug #643981.
Check for gtk-x11 and only build the example if it's available.
Allows applications to connect to the "draw" signal of the element and do their custom drawing there. Includes an example application demonstrating usage. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=595520