@@ -61,6 +61,16 @@ impl StaticType for Colorspace {
61
61
}
62
62
}
63
63
64
+ impl glib:: HasParamSpec for Colorspace {
65
+ type ParamSpec = glib:: ParamSpecEnum ;
66
+ type SetValue = Self ;
67
+ type BuilderFn = fn ( & str , Self ) -> glib:: ParamSpecEnumBuilder < Self > ;
68
+
69
+ fn param_spec_builder ( ) -> Self :: BuilderFn {
70
+ |name, default_value| Self :: ParamSpec :: builder_with_default ( name, default_value)
71
+ }
72
+ }
73
+
64
74
impl glib:: value:: ValueType for Colorspace {
65
75
type Type = Self ;
66
76
}
@@ -166,6 +176,16 @@ impl StaticType for InterpType {
166
176
}
167
177
}
168
178
179
+ impl glib:: HasParamSpec for InterpType {
180
+ type ParamSpec = glib:: ParamSpecEnum ;
181
+ type SetValue = Self ;
182
+ type BuilderFn = fn ( & str , Self ) -> glib:: ParamSpecEnumBuilder < Self > ;
183
+
184
+ fn param_spec_builder ( ) -> Self :: BuilderFn {
185
+ |name, default_value| Self :: ParamSpec :: builder_with_default ( name, default_value)
186
+ }
187
+ }
188
+
169
189
impl glib:: value:: ValueType for InterpType {
170
190
type Type = Self ;
171
191
}
@@ -266,6 +286,17 @@ impl StaticType for PixbufAlphaMode {
266
286
}
267
287
}
268
288
289
+ #[ allow( deprecated) ]
290
+ impl glib:: HasParamSpec for PixbufAlphaMode {
291
+ type ParamSpec = glib:: ParamSpecEnum ;
292
+ type SetValue = Self ;
293
+ type BuilderFn = fn ( & str , Self ) -> glib:: ParamSpecEnumBuilder < Self > ;
294
+
295
+ fn param_spec_builder ( ) -> Self :: BuilderFn {
296
+ |name, default_value| Self :: ParamSpec :: builder_with_default ( name, default_value)
297
+ }
298
+ }
299
+
269
300
#[ allow( deprecated) ]
270
301
impl glib:: value:: ValueType for PixbufAlphaMode {
271
302
type Type = Self ;
@@ -411,6 +442,16 @@ impl StaticType for PixbufError {
411
442
}
412
443
}
413
444
445
+ impl glib:: HasParamSpec for PixbufError {
446
+ type ParamSpec = glib:: ParamSpecEnum ;
447
+ type SetValue = Self ;
448
+ type BuilderFn = fn ( & str , Self ) -> glib:: ParamSpecEnumBuilder < Self > ;
449
+
450
+ fn param_spec_builder ( ) -> Self :: BuilderFn {
451
+ |name, default_value| Self :: ParamSpec :: builder_with_default ( name, default_value)
452
+ }
453
+ }
454
+
414
455
impl glib:: value:: ValueType for PixbufError {
415
456
type Type = Self ;
416
457
}
@@ -516,6 +557,16 @@ impl StaticType for PixbufRotation {
516
557
}
517
558
}
518
559
560
+ impl glib:: HasParamSpec for PixbufRotation {
561
+ type ParamSpec = glib:: ParamSpecEnum ;
562
+ type SetValue = Self ;
563
+ type BuilderFn = fn ( & str , Self ) -> glib:: ParamSpecEnumBuilder < Self > ;
564
+
565
+ fn param_spec_builder ( ) -> Self :: BuilderFn {
566
+ |name, default_value| Self :: ParamSpec :: builder_with_default ( name, default_value)
567
+ }
568
+ }
569
+
519
570
impl glib:: value:: ValueType for PixbufRotation {
520
571
type Type = Self ;
521
572
}
0 commit comments