title: Function created in vala showing unexpected syntax error
body: <p><a href="https://i.stack.imgur.com/RtUUo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RtUUo.png" alt="enter image description here" /></a></p>
  <p>This is how I create a new function so that when a button is clicked, the preferences view should open.</p>
  <p>But when I compile it, this is the error displayed.
  <a href="https://i.stack.imgur.com/IYK98.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IYK98.png" alt="enter image description here" /></a></p>
  <p><a href="https://github.com/Suzie97/epoch" rel="nofollow noreferrer">https://github.com/Suzie97/epoch</a>, link to the repository on github</p>
  <p>What is the syntax error on my code?? Why is this error shown?</p>