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

Add cast and type-check functions for Session and Request #1440

Merged

Conversation

swick
Copy link
Contributor

@swick swick commented Sep 23, 2024

We would usually get them from the G_DECLARE_TYPE macro family but we cannot use them right now because they have no namespace and the derivable classes would need private data and our data is public.

For now, just define the functions manually where it makes sense. In the longer term, we should switch towards the G_DECLARE_TYPE macros.

We would usually get them from the G_DECLARE_TYPE macro family but we
cannot use them right now because they have no namespace and the
derivable classes would need private data and our data is public.

For now, just define the functions manually where it makes sense. In the
longer term, we should switch towards the G_DECLARE_TYPE macros.
@whot
Copy link
Contributor

whot commented Oct 4, 2024

does what it says on the box, LGTM

@GeorgesStavracas GeorgesStavracas added this pull request to the merge queue Oct 4, 2024
Merged via the queue into flatpak:main with commit a116a91 Oct 4, 2024
4 checks passed
@GeorgesStavracas GeorgesStavracas added this to the 1.20 milestone Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triaged
Development

Successfully merging this pull request may close these issues.

3 participants