Skip to content

Conversation

@kaascevich
Copy link
Contributor

Currently (at least on my machine), trying to compile any apps with GtkBackend eventually throws a "reference to 'Size' is ambiguous" error immediately followed by a compiler crash; the type in question is in the GtkCustomWidgets module. This PR fixes that error by renaming the type.

Copy link
Owner

@stackotter stackotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this. I'll wait until the workflows finish, then I'll merge.

@stackotter stackotter merged commit 5d77125 into stackotter:main Jan 2, 2026
11 checks passed
@stackotter
Copy link
Owner

Have you tested whether Gtk3Backend exhibits the same issue on your machine? Might be worth us fixing that too while we're at it if so

@kaascevich
Copy link
Contributor Author

I can do that! I'll just have to install GTK3 first.

@kaascevich
Copy link
Contributor Author

Okay, so it does crash with exactly the same error in Gtk3Backend. I'll open a new PR for that with the fix.

@kaascevich kaascevich deleted the fix-gtkbackend-compiler-crash branch January 2, 2026 04:11
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.

2 participants