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

gio: Add type parameter to ListModel and ListStore #609

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions gio/Gir.toml
Original file line number Diff line number Diff line change
Expand Up @@ -788,36 +788,6 @@ manual_traits = ["IOStreamExtManual"]
#readonly
manual = true

[[object]]
name = "Gio.ListModel"
status = "generate"
manual_traits = ["ListModelExtManual"]
# Can get removed when gir shadow annotations are implemented (gtk-rs/gir#1112)
[[object.function]]
name = "get_item"
ignore = true
[[object.function]]
name = "get_object"
rename = "item"

[[object]]
name = "Gio.ListStore"
status = "generate"
generate_builder = true
[[object.function]]
name = "insert_sorted"
manual = true
[[object.function]]
name = "sort"
manual = true
[[object.function]]
name = "splice"
# More generic arguments
manual = true
[[object.function]]
name = "find_with_equal_func"
ignore = true # See https://gitlab.gnome.org/GNOME/glib/-/issues/2447

[[object]]
name = "Gio.MemoryInputStream"
status = "generate"
Expand Down
121 changes: 0 additions & 121 deletions gio/src/auto/list_model.rs

This file was deleted.

138 changes: 0 additions & 138 deletions gio/src/auto/list_store.rs

This file was deleted.

8 changes: 0 additions & 8 deletions gio/src/auto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@ pub use self::initable::Initable;
mod input_stream;
pub use self::input_stream::InputStream;

mod list_model;
pub use self::list_model::ListModel;

mod list_store;
pub use self::list_store::ListStore;

mod loadable_icon;
pub use self::loadable_icon::LoadableIcon;

Expand Down Expand Up @@ -723,7 +717,6 @@ pub mod traits {
pub use super::initable::InitableExt;
pub use super::input_stream::InputStreamExt;
pub use super::io_stream::IOStreamExt;
pub use super::list_model::ListModelExt;
pub use super::loadable_icon::LoadableIconExt;
pub use super::memory_input_stream::MemoryInputStreamExt;
#[cfg(any(feature = "v2_64", feature = "dox"))]
Expand Down Expand Up @@ -799,5 +792,4 @@ pub mod builders {
pub use super::converter_output_stream::ConverterOutputStreamBuilder;
pub use super::data_input_stream::DataInputStreamBuilder;
pub use super::data_output_stream::DataOutputStreamBuilder;
pub use super::list_store::ListStoreBuilder;
}
2 changes: 2 additions & 0 deletions gio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ mod initable;
mod input_stream;
pub use crate::input_stream::{InputStreamAsyncBufRead, InputStreamRead};
mod list_model;
pub use list_model::ListModel;
mod list_store;
pub use list_store::ListStore;
#[cfg(test)]
mod memory_input_stream;
#[cfg(test)]
Expand Down
Loading