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

gtk: require libadwaita #5749

Merged
merged 1 commit into from
Feb 15, 2025
Merged

gtk: require libadwaita #5749

merged 1 commit into from
Feb 15, 2025

Conversation

jcollie
Copy link
Collaborator

@jcollie jcollie commented Feb 14, 2025

This commit removes support for building without libadwaita. (Y'all knew that I just had this sitting in my back pocket). This will need some serious review to ensure that we haven't lost any functionality.

@jcollie jcollie requested a review from a team as a code owner February 14, 2025 01:08
@jcollie jcollie added this to the 1.2.0 milestone Feb 14, 2025
src/apprt/gtk/App.zig Show resolved Hide resolved
src/apprt/gtk/Window.zig Outdated Show resolved Hide resolved
src/apprt/gtk/Window.zig Outdated Show resolved Hide resolved
src/apprt/gtk/headerbar.zig Outdated Show resolved Hide resolved
src/apprt/gtk/notebook.zig Show resolved Hide resolved
src/apprt/gtk/notebook.zig Show resolved Hide resolved
src/config/Config.zig Show resolved Hide resolved
src/config/Config.zig Show resolved Hide resolved
This commit removes support for building without libadwaita.
@jcollie
Copy link
Collaborator Author

jcollie commented Feb 15, 2025

OK, assuming that CI passes, I think that this is ready to merge. This is really going to f*** up most existing PRs that touch GTK code. Better to rip that bandaid off so to speak IMHO.

@mitchellh
Copy link
Contributor

I defer to you all. I'm ready to see it happen when you are.

Copy link
Contributor

@pluiedev pluiedev left a comment

Choose a reason for hiding this comment

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

Just did a quick skim and I think the diff itself looks good in terms of just removing vanilla GTK mechanisms. I think there should be more follow up PRs that clean up other stuff (e.g. renaming notebook to tab view, respecting system light/dark preferences in AdwStyleManager, etc.) but we need not do them now.

@jcollie jcollie merged commit 2d0940f into ghostty-org:main Feb 15, 2025
26 checks passed
@jcollie jcollie deleted the adwaita-forever branch February 15, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants