[Gtk] Fixed some text attribute bugs.
Merge pull request #196 from mkrueger/master

Fixed some bugs in text attributes.