~jplatte/gtk-layer-shell-rs

ref: e4c85500bd17605461a85131238cc0d3652da95e gtk-layer-shell-rs/src/lib.rs -rw-r--r-- 644 bytes
e4c85500 — Jonas Platte Update gir, previous one triggered an ICE in a recent nightly 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
extern crate bitflags;
extern crate libc;

extern crate gdk;
extern crate glib;
extern crate glib_sys;
extern crate gtk;
extern crate gtk_layer_shell_sys;
extern crate gtk_sys;

macro_rules! assert_initialized_main_thread {
    () => {
        if !::gtk::is_initialized_main_thread() {
            if ::gtk::is_initialized() {
                panic!("GTK may only be used from the main thread.");
            } else {
                panic!("GTK has not been initialized. Call `gtk::init` first.");
            }
        }
    };
}

macro_rules! skip_assert_initialized {
    () => {};
}

mod auto;
pub use auto::functions::*;
pub use auto::*;