abb128 / LiveCaptions

Linux Desktop application that provides live captioning
GNU General Public License v3.0
1.31k stars 32 forks source link

Improving readability and performance on dbus-interface #55

Closed iruzo closed 1 year ago

iruzo commented 1 year ago

Hi, really cool project!

I'm trying to improve some performance and readability on the dbus-interface.c code.

This PR removes all the goto statements on dbus-interface.c using a less "jump-based" control flow. Making the code more maintainable and improving performance.

abb128 commented 1 year ago

Hi, thank you for contributing. However, as noted in the header of the file, this file is automatically generated by gdbus-codegen from the D-Bus Introspection XML (src/dbus-interface.xml) and not meant to be modified or maintained