Fixed warning for comparing int and pointer.

Window_width and _height are int. So should be compared to 0 instead of NULL
Fix error Only <glib.h> can be included directly.

New version of Glib no longer allows to include headers from its subdirectories.
Merge branch 'master' of https://code.google.com/p/svte