Follow-up of #4530.

Finally I found the cause of warnings like:
```
/home/enrico/projects/geany-pr/src/document.c:1690: warning: unable to resolve 
reference to 'document_save_file_as()' for \ref command
/home/enrico/projects/geany-pr/src/encodings.c:272: warning: unable to resolve 
reference to 'document_set_encoding()' for \ref command
/home/enrico/projects/geany-pr/src/libmain.c:480: warning: unable to resolve 
reference to 'plugin_init()' for \ref command
/home/enrico/projects/geany-pr/src/msgwindow.c:528: warning: unable to resolve 
reference to 'ui_set_statusbar()' for \ref command
...
```

We used `\ref function_name()` but Doxygen does not like the parentheses after 
the function name. After removing the parentheses, the warnings went away and 
the linking works as expected.

I do not know if this worked ever with older Doxygen versions or it was already 
broken before, just without warnings.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/4616

-- Commit Summary --

  * Fix Doxygen warnings about invalid \ref commands

-- File Changes --

    M doc/pluginsymbols.c (2)
    M src/app.h (2)
    M src/document.c (4)
    M src/document.h (2)
    M src/encodings.c (2)
    M src/libmain.c (2)
    M src/msgwindow.c (4)
    M src/plugindata.h (2)
    M src/sciwrappers.c (2)

-- Patch Links --

https://github.com/geany/geany/pull/4616.patch
https://github.com/geany/geany/pull/4616.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4616
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to