#![cfg_attr(docsrs, feature(doc_cfg))]
macro_rules! assert_initialized_main_thread {
() => {
if !::gtk::is_initialized_main_thread() {
if ::gtk::is_initialized() {
panic!("GtkSourceView may only be used from the main thread.");
} else {
panic!("Gtk has to be initialized before using GtkSourceView.");
}
}
};
}
macro_rules! skip_assert_initialized {
() => {};
}
pub use ffi;
pub use gdk;
pub use gdk_pixbuf;
pub use gio;
pub use glib;
pub use gtk;
pub use pango;
pub mod prelude;
pub mod subclass;
pub use auto::builders;
#[allow(clippy::clone_on_copy)]
#[allow(clippy::type_complexity)]
mod auto;
pub use auto::*;
mod completion;
mod completion_info;
mod gutter_renderer;
mod search_context;
mod view;