Skip to content

Commit c54f394

Browse files
committed
fix error StaticType missing from pango attributes
1 parent af84de3 commit c54f394

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

glib/src/boxed.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -272,15 +272,6 @@ macro_rules! glib_boxed_wrapper {
272272
};
273273

274274
(@value_impl $name:ident $(<$($generic:ident $(: $bound:tt $(+ $bound2:tt)*)?),+>)?, $ffi_name:ty) => {
275-
impl $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? $crate::HasParamSpec for $name $(<$($generic),+>)? {
276-
type ParamSpec = $crate::ParamSpecBoxed;
277-
type SetValue = Self;
278-
type BuilderFn = fn(&str, $crate::types::Type) -> $crate::ParamSpecBoxedBuilder<Self>;
279-
280-
fn param_spec_builder() -> Self::BuilderFn {
281-
Self::ParamSpec::builder
282-
}
283-
}
284275
};
285276

286277
(@value_impl $name:ident $(<$($generic:ident $(: $bound:tt $(+ $bound2:tt)*)?),+>)?, $ffi_name:ty, @type_ $get_type_expr:expr) => {
@@ -356,15 +347,6 @@ macro_rules! glib_boxed_wrapper {
356347
}
357348
}
358349

359-
impl $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? $crate::HasParamSpec for $name $(<$($generic),+>)? {
360-
type ParamSpec = $crate::ParamSpecBoxed;
361-
type SetValue = Self;
362-
type BuilderFn = fn(&str) -> $crate::ParamSpecBoxedBuilder<Self>;
363-
364-
fn param_spec_builder() -> Self::BuilderFn {
365-
|name| Self::ParamSpec::builder(name)
366-
}
367-
}
368350
};
369351

370352
(@memory_manager_impl $name:ident $(<$($generic:ident $(: $bound:tt $(+ $bound2:tt)*)?),+>)?, $ffi_name:ty, @copy $copy_arg:ident $copy_expr:expr, @free $free_arg:ident $free_expr:expr) => {

0 commit comments

Comments
 (0)