Use GDK accessor functions instead direc access (GSEAL fixes)
Use GDK accessor functions instead direc access (GSEAL fixes)

Incorporate changes from Javier Jardon's patch, but add ifdefs so
that building with gdk less than 2.22.0 doesn't break.

ueno/seahorse,ueno/seahorse