make some samples GTK3 ready
update
Merge pull request #142 from detlefreichl/master

Make some samples GTK3 ready

Patch by Detlef Reichl. Thanks!!!