change GLIB_VERSION_CUR_STABLE to GDK_VERSION_CUR_STABLE