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

recent libcosmic update conflict Button::new() is private #125

Closed
flukejones opened this issue Jun 11, 2024 · 0 comments
Closed

recent libcosmic update conflict Button::new() is private #125

flukejones opened this issue Jun 11, 2024 · 0 comments

Comments

@flukejones
Copy link

error[E0624]: associated function `new` is private
   --> src/app.rs:300:29
    |
300 |     cosmic::widget::Button::new(content)
    |                             ^^^ private associated function
    |
   ::: /home/luke/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/7abcec759101/src/widget/button/widget.rs:62:5
    |
62  |     pub(super) fn new(content: impl Into<crate::Element<'a, Message>>) -> Self {
    |     -------------------------------------------------------------------------- private associated function defined here

I think it needs to be cosmic::widget::button(content)?

@flukejones flukejones changed the title recent libcosmic update conflict recent libcosmic update conflict Button::new() is private Jun 11, 2024
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