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

portal: update create_item() to return portal::Item #68

Merged
merged 1 commit into from Feb 9, 2024

Conversation

warusadura
Copy link
Collaborator

@warusadura warusadura commented Feb 9, 2024

This change updates the oo7::portal::Keyring::create_item() to return
oo7::portal::Item instead of ()

We need this change for the server side implementation. In server/daemon
side we are wrapping the return value of create_item() inside a struct.

@bilelmoussaoui
Copy link
Owner

Lgtm

for future commits, please describe why the change is needed not what the change itself. In this case, I would have instead mentioned the use case of wrapping the portal::Item` in the server side implementation.

This change updates the oo7::portal::Keyring::create_item() to return
oo7::portal::Item instead of ()

We need this change for the server side implementation. In server/daemon
side we are wrapping the return value of create_item() inside a struct.

Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
@bilelmoussaoui bilelmoussaoui merged commit 9a455ae into main Feb 9, 2024
5 checks passed
@warusadura warusadura deleted the update_create_item branch February 11, 2024 14:58
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

Successfully merging this pull request may close these issues.

None yet

2 participants