From a893bfe2fe02e1fd2ab28092d70b32bb0ad79d6d Mon Sep 17 00:00:00 2001 From: Christopher Head Date: Mon, 10 Feb 2025 07:56:09 -0800 Subject: [PATCH] Re-export CancelledHandlerId MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- gio/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/src/lib.rs b/gio/src/lib.rs index 02b25cdca0e2..0d5abc2641cd 100644 --- a/gio/src/lib.rs +++ b/gio/src/lib.rs @@ -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}; mod converter; mod credentials; mod data_input_stream;