examples: Fix new libcosmic build

This commit is contained in:
Victoria Brekenfeld 2026-06-11 15:46:58 +02:00 committed by Victoria Brekenfeld
parent f6cb4519a0
commit 7fbeb8787f
3 changed files with 3 additions and 1 deletions

1
Cargo.lock generated
View file

@ -806,6 +806,7 @@ dependencies = [
"futures-util",
"i18n-embed",
"i18n-embed-fl",
"iced_graphics",
"iced_tiny_skia",
"id_tree",
"indexmap 2.13.0",

View file

@ -40,6 +40,7 @@ i18n-embed = { version = "0.16", features = [
] }
i18n-embed-fl = "0.10"
iced_tiny_skia = { git = "https://github.com/pop-os/libcosmic" }
iced_graphics = { git = "https://github.com/pop-os/libcosmic/", features = ["geometry"] }
indexmap = "2.13"
keyframe = "1.1.1"
libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false }

View file

@ -23,7 +23,7 @@ struct Circle {
color: Color,
}
impl<Message, Theme, Renderer: cosmic::iced::renderer::geometry::Renderer>
impl<Message, Theme, Renderer: iced_graphics::geometry::Renderer>
canvas::Program<Message, Theme, Renderer> for Circle
{
type State = ();