fix gtk resize issue
Merge pull request #135 from binyuj/fixgtk

fix gtk resize issue