Skip to content

Conversation

fengalin
Copy link
Contributor

Consequence of gtk-rs/gir#1622

@fengalin fengalin force-pushed the nullable-arrays branch 2 times, most recently from e35fe9a to 0bfb145 Compare May 27, 2025 08:59
@@ -16,7 +16,7 @@ glib::wrapper! {

impl StringList {
#[doc(alias = "gtk_string_list_new")]
pub fn new(strings: &[&str]) -> StringList {
pub fn new(strings: Option<&[&str]>) -> StringList {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those two don't make sense to have as nullable

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I'll update this later. Need to move to something else

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

Successfully merging this pull request may close these issues.

2 participants