@@ -879,7 +879,7 @@ unsafe extern "C" fn widget_unroot<T: WidgetImpl>(ptr: *mut ffi::GtkWidget) {
879
879
}
880
880
881
881
#[ allow( clippy:: missing_safety_doc) ]
882
- pub unsafe trait WidgetClassSubclassExt : ClassStruct {
882
+ pub unsafe trait WidgetClassExt : ClassStruct {
883
883
#[ doc( alias = "gtk_widget_class_set_template" ) ]
884
884
fn set_template_bytes ( & mut self , template : & glib:: Bytes ) {
885
885
unsafe {
@@ -1232,7 +1232,7 @@ pub unsafe trait WidgetClassSubclassExt: ClassStruct {
1232
1232
}
1233
1233
}
1234
1234
1235
- unsafe impl < T : ClassStruct > WidgetClassSubclassExt for T where T :: Type : WidgetImpl { }
1235
+ unsafe impl < T : ClassStruct > WidgetClassExt for T where T :: Type : WidgetImpl { }
1236
1236
1237
1237
#[ derive( Debug , PartialEq , Eq ) ]
1238
1238
#[ repr( transparent) ]
@@ -1345,13 +1345,13 @@ pub trait CompositeTemplateCallbacks {
1345
1345
1346
1346
// rustdoc-stripper-ignore-next
1347
1347
/// Binds the template callbacks from this type into the default template scope for `klass`.
1348
- fn bind_template_callbacks < T : WidgetClassSubclassExt > ( klass : & mut T ) {
1348
+ fn bind_template_callbacks < T : WidgetClassExt > ( klass : & mut T ) {
1349
1349
Self :: add_callbacks_to_scope ( & klass. rust_template_scope ( ) ) ;
1350
1350
}
1351
1351
// rustdoc-stripper-ignore-next
1352
1352
/// Binds the template callbacks from this type into the default template scope for `klass`,
1353
1353
/// prepending `prefix` to each callback name.
1354
- fn bind_template_callbacks_prefixed < T : WidgetClassSubclassExt > ( klass : & mut T , prefix : & str ) {
1354
+ fn bind_template_callbacks_prefixed < T : WidgetClassExt > ( klass : & mut T , prefix : & str ) {
1355
1355
Self :: add_callbacks_to_scope_prefixed ( & klass. rust_template_scope ( ) , prefix) ;
1356
1356
}
1357
1357
// rustdoc-stripper-ignore-next
@@ -1383,7 +1383,7 @@ pub trait CompositeTemplateCallbacksClass {
1383
1383
1384
1384
impl < T , U > CompositeTemplateCallbacksClass for T
1385
1385
where
1386
- T : ClassStruct < Type = U > + WidgetClassSubclassExt ,
1386
+ T : ClassStruct < Type = U > + WidgetClassExt ,
1387
1387
U : ObjectSubclass < Class = T > + CompositeTemplateCallbacks ,
1388
1388
{
1389
1389
fn bind_template_callbacks ( & mut self ) {
@@ -1403,7 +1403,7 @@ pub trait CompositeTemplateInstanceCallbacksClass {
1403
1403
1404
1404
impl < T , U , V > CompositeTemplateInstanceCallbacksClass for T
1405
1405
where
1406
- T : ClassStruct < Type = U > + WidgetClassSubclassExt ,
1406
+ T : ClassStruct < Type = U > + WidgetClassExt ,
1407
1407
U : ObjectSubclass < Class = T , Type = V > ,
1408
1408
V : CompositeTemplateCallbacks ,
1409
1409
{
0 commit comments