Skip to content

Error in documentation for Xdp.Portal::session-state-changed #198

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

Open
lawmurray opened this issue Mar 3, 2025 · 0 comments
Open

Error in documentation for Xdp.Portal::session-state-changed #198

lawmurray opened this issue Mar 3, 2025 · 0 comments

Comments

@lawmurray
Copy link

The documentation for Xdp.Portal::session-state-changed has the third argument of the callback function as a pointer, whereas it seems it should be a value:

void
session_state_changed (
  XdpPortal* self,
  gboolean screensaver_active,
  XdpLoginSessionState* session_state,
  gpointer user_data
)

i.e. I think XdpLoginSessionStage* session_state should be XdpLoginSessionStage session_state there. I couldn't work out how this comes about in the documentation generation process to submit a PR though, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant