gio 0.15.3

Rust bindings for the Gio library
Documentation
1
2
3
4
5
6
7
8
9
10
// Take a look at the license at the top of the repository in the LICENSE file.

use crate::prelude::*;

#[test]
fn check_callback() {
    let c = crate::Cancellable::new();
    c.connect_cancelled(|_| {});
    c.cancel(); // if it doesn't crash at this point, then we're good to go!
}