ifdef out the x11 specific gdk functions