Merge pull request #93 from haaja/master

Support for GNOME 3.8
Merge pull request #94 from haaja/master

GNOME 3.8 support (revised)
Simple clean up

Remove unnecessary const and commented function call.