gtk-rs-core icon indicating copy to clipboard operation
gtk-rs-core copied to clipboard

Rust bindings for GNOME libraries

Results 207 gtk-rs-core issues
Sort by recently updated
recently updated
newest added

**Bug description** [glib::spawn_async](https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/fn.spawn_async.html) takes a slice for `envp` parameter. When it is called with empty slice it passes non-null pointer to `g_spawn_async`. But [`g_spawn_async`](https://docs.gtk.org/glib/func.spawn_async.html) treats differently cases when env is...

bug

When explicitly allowed when defining the type, a GType name conflict wouldn't cause a panic anymore but instead a new name is found by appending a counter to the given...

This aligns the initialization with other `gio` and `gtk4` builders. Before: ```rs ActionEntry::builder("name").build() ``` Proposed: ```rs ActionEntry::new("name") ActionEntry::builder().name("name").build() ```

every class needs this tiny bit of boilerplate (from the book): ``` // The central trait for subclassing a GObject #[glib::object_subclass] impl ObjectSubclass for Window { // `NAME` needs to...

enhancement

Many things in [gstrfuncs.h](https://gitlab.gnome.org/GNOME/glib/-/blob/main/glib/gstrfuncs.h) don't have wrappers. Most importantly, I need `g_str_tokenize_and_fold` to implement searching in my app. Other missing functions I've run into: - `g_str_match_string` - `g_str_to_ascii` - Potentially...

enhancement

**Bug description** Test failure on s390x for png feature of cairo-rs. The recent upload of cairo-rs 0.19.4 caused its autopkgtest to regress. I will add a patch for now so...

bug

**Bug description** `::from_iter` seems to assume that `::into` returns a variant of type `::static_variant_type()`, but this assumption does not hold if `T` or one of its constituents is `Variant`. ```rust...

bug

While this method consumes a given `VariantDict`, the underlying object could still be accessed through other clones because of the reference counted clone semantics, which means it's unsound to use...

Spurred by #1236 though there's probably more we can do here. The change here is that we take anything that's a doc before a `#[property]` and consider that to be...

needs-backport

**Bug description** Similarly to [`Box::into_raw`](https://doc.rust-lang.org/std/boxed/struct.Box.html#method.into_raw), [`IntoGlibPtr::into_glib_ptr`](https://gtk-rs.org/gtk-rs-core/stable/0.18/docs/glib/translate/trait.IntoGlibPtr.html) merely converts `self` into a raw pointer, which is inert by itself. There don't seem to be any [safety invariants](https://doc.rust-lang.org/reference/unsafe-keyword.html#unsafe-functions-unsafe-fn) (preconditions) the caller needs...

bug