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

[MacOS] Fix NRE in Window.SetParent #14384

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Conversation

maxkatz6
Copy link
Member

What does the pull request do?

Fixes recent regression from #14351
Before we never had situation when IWindowImpl.SetParent had a null argument. But now it seems to be expected to be handled by the backend properly, as X11 and Win32 already do.
MacOS native source code seems to handle null values as well, and only glue code wasn't ready for that.
This PR fixes the problem with the glue code.

@maxkatz6 maxkatz6 requested review from grokys and emmauss January 29, 2024 07:25
@jmacato jmacato enabled auto-merge January 29, 2024 07:26
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.1.999-cibuild0044108-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@jmacato jmacato added this pull request to the merge queue Jan 29, 2024
@maxkatz6 maxkatz6 removed this pull request from the merge queue due to a manual request Jan 29, 2024
@maxkatz6 maxkatz6 merged commit 200f037 into master Jan 29, 2024
7 checks passed
@maxkatz6 maxkatz6 deleted the fix-integration-tests-macos branch January 29, 2024 08:05
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.

3 participants