Skip to content

Commit

Permalink
Re-export CancelledHandlerId
Browse files Browse the repository at this point in the history
This type is effectively public, because it’s returned by
`Cancellable::connect_cancelled`, but because it’s not re-exported it
can’t be named, making it awkward to e.g. save it in a struct field.

Fixes GH-1649.
  • Loading branch information
Hawk777 committed Feb 10, 2025
1 parent 83d3161 commit a893bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub use application::{ApplicationBusyGuard, ApplicationHoldGuard};
mod async_initable;
mod cancellable;
mod cancellable_future;
pub use crate::cancellable_future::{CancellableFuture, Cancelled};
pub use crate::cancellable_future::{CancellableFuture, Cancelled, CancelledHandlerId};

Check failure on line 23 in gio/src/lib.rs

View workflow job for this annotation

GitHub Actions / build

struct import `CancelledHandlerId` is private

Check failure on line 23 in gio/src/lib.rs

View workflow job for this annotation

GitHub Actions / build gtk-rs on Windows (glib-build-tools, false)

struct import `CancelledHandlerId` is private

Check failure on line 23 in gio/src/lib.rs

View workflow job for this annotation

GitHub Actions / build gtk-rs on Windows (examples, false, --bins --examples --all-features)

struct import `CancelledHandlerId` is private

Check failure on line 23 in gio/src/lib.rs

View workflow job for this annotation

GitHub Actions / build gtk-rs on Windows (gdk-pixbuf, true, --features v2_42)

struct import `CancelledHandlerId` is private

Check failure on line 23 in gio/src/lib.rs

View workflow job for this annotation

GitHub Actions / build gtk-rs on Windows (gio, true, --features v2_80)

struct import `CancelledHandlerId` is private
mod converter;
mod credentials;
mod data_input_stream;
Expand Down

0 comments on commit a893bfe

Please sign in to comment.