fix older versions compatibility

This commit is contained in:
yggverse 2024-11-21 16:36:41 +02:00
parent 03eb0fd87d
commit 67ab5bb57e

View File

@ -21,7 +21,7 @@ pub struct Item {
#[glib::object_subclass] #[glib::object_subclass]
impl ObjectSubclass for Item { impl ObjectSubclass for Item {
const NAME: &str = "Item"; // @TODO make globally unique const NAME: &'static str = "Item"; // @TODO make globally unique
type Type = super::Item; type Type = super::Item;
type ParentType = Object; type ParentType = Object;
} }