1extern crate bitflags;
9extern crate cairo;
10extern crate gdk;
11extern crate gdk_sys;
12extern crate gio;
13extern crate gio_sys;
14extern crate glib;
15extern crate glib_sys;
16extern crate gobject_sys;
17extern crate gtk;
18extern crate gtk_sys;
19extern crate javascriptcore as java_script_core;
20extern crate libc;
21
22extern crate ffi;
23
24macro_rules! assert_initialized_main_thread {
25 () => (
26 if !::gtk::is_initialized_main_thread() {
27 if ::gtk::is_initialized() {
28 panic!("GTK may only be used from the main thread.");
29 }
30 else {
31 panic!("GTK has not been initialized. Call `gtk::init` first.");
32 }
33 }
34 )
35}
36
37macro_rules! skip_assert_initialized {
38 () => ()
39}
40
41mod auto;
42mod script_dialog;
43mod web_view;
44mod web_context;
45
46pub use glib::Error;
47
48pub use auto::*;
49pub use script_dialog::*;
50pub use web_view::*;
51pub use web_context::*;