Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] gio::Application signal handlers should return glib::ExitCode instead of i32 #1691

Open
pjungkamp opened this issue Mar 25, 2025 · 0 comments · May be fixed by #1694
Open
Labels
enhancement New feature or request

Comments

@pjungkamp
Copy link
Contributor

The return value for gio::Application signal handler like the closures attached using connect_command_line or connect_handle_local_options describe an glib::ExitCode but actually return an i32. I find myself writing glib::ExitCode::SUCCESS.value() in these signal handlers, which doesn't seem to be ideal...

@pjungkamp pjungkamp added the enhancement New feature or request label Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant