Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit caef186

Browse files
Merge pull request #421 from sdroege/is-a-cleanup
Clean up glib_wrapper! macro and IsA<_>, Wrapper traits and their impls
2 parents ca3a766 + 2dd2e4d commit caef186

File tree

8 files changed

+431
-437
lines changed

8 files changed

+431
-437
lines changed

src/gobject/auto/binding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::fmt;
1010
use translate::*;
1111

1212
glib_wrapper! {
13-
pub struct Binding(Object<ffi::GBinding>);
13+
pub struct Binding(Object<ffi::GBinding, BindingClass>);
1414

1515
match fn {
1616
get_type => || ffi::g_binding_get_type(),

src/gobject/auto/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// DO NOT EDIT
44

55
mod binding;
6-
pub use self::binding::Binding;
6+
pub use self::binding::{Binding, BindingClass};
77

88
mod flags;
99
pub use self::flags::BindingFlags;

0 commit comments

Comments
 (0)