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

GtkStyleContext deprecation warning #46

Open
phastmike opened this issue Jul 8, 2023 · 1 comment
Open

GtkStyleContext deprecation warning #46

phastmike opened this issue Jul 8, 2023 · 1 comment

Comments

@phastmike
Copy link
Owner

GtkStyleContext is going to be deprecated but the static methods add/remove_provider_for_display aren't but the vala compiler does warn about deprecation. It might be a small mistake or side effect of deprecating the class and as a consequence we get the warning but nevertheless it shouldn't.

Added this info here just for future reference:

../src/preferences-window.vala:90.13-90.28: warning: `Gtk.StyleContext' has been deprecated since 4.10
   90 |             Gtk.StyleContext.add_provider_for_display (Gdk.Display.get_default (), provider, Gtk.STYLE_PROVIDER_PRIORITY_USER);
@phastmike phastmike changed the title GtkStyleContext deprecatiion warning GtkStyleContext deprecation warning Aug 18, 2023
@phastmike
Copy link
Owner Author

image

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

No branches or pull requests

1 participant