Add return to gboolean function

Closes #134
https://github.com/mate-desktop/mate-panel/issues/134