1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT

use ffi;

glib_wrapper! {
    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
    pub struct IconSource(Boxed<ffi::GtkIconSource>);

    match fn {
        copy => |ptr| gobject_ffi::g_boxed_copy(ffi::gtk_icon_source_get_type(), ptr as *mut _) as *mut ffi::GtkIconSource,
        free => |ptr| gobject_ffi::g_boxed_free(ffi::gtk_icon_source_get_type(), ptr as *mut _),
        get_type => || ffi::gtk_icon_source_get_type(),
    }
}