-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Fix typos and deprecations in the book for CSS chapter (14th). #1334
Fix typos and deprecations in the book for CSS chapter (14th). #1334
Conversation
With "button_1" example does not work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @zekefast!
@bilelmoussaoui any ideas about this? |
See #1317 |
So it's a false positive? |
Yes |
@Hofer-Julian So, no fixes to the book are needed so far. It should be resolved once #1317 is closed, right? |
Exactly |
Overview
Fix typos and deprecations in the book for CSS chapter (14th).
Changes:
Widget::show
method withWindow::present
like it was done in other chapters.button_1
tobutton-1
in listing 3 of 14th chapter (CSS).NOTE:
StyleContext
was also deprecated in GTK 4.10 and I found this discussion about movinggtk_style_context_add_provider
togtkstyleprovider.h
but I haven't figured out how that change is reflected ingtk4-rs
and how to useStyleProvider
. So I left deprecations warnings about usage ofStyleContext
and it's functions unfixed.