We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472fb0e commit cde4f8cCopy full SHA for cde4f8c
gio/src/list_store.rs
@@ -8,7 +8,7 @@ use crate::{prelude::*, ListModel, ListStore};
8
9
impl ListStore {
10
#[doc(alias = "g_list_store_new")]
11
- pub fn new<T: StaticType>() -> Self {
+ pub fn new<T: IsA<Object>>() -> Self {
12
Self::with_type(T::static_type())
13
}
14
0 commit comments