Fix GTK2 compatibility

Fix two GTK2 version issues: VNC segfaults and RDP plugin memory leak.
Merge pull request #293 from amon-sha/fix_gtk2_compatibility

Fix GTK2 compatibility