File tree Expand file tree Collapse file tree 5 files changed +6
-7
lines changed
examples/custom_application/ex_application Expand file tree Collapse file tree 5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ impl Default for ExApplication {
15
15
impl ExApplication {
16
16
pub fn new ( ) -> Self {
17
17
glib:: Object :: builder ( )
18
- . property ( "application-id" , & "org.gtk_rs.application-subclass" )
19
- . property ( "flags" , & gio:: ApplicationFlags :: empty ( ) )
18
+ . property ( "application-id" , "org.gtk_rs.application-subclass" )
20
19
. build ( )
21
20
}
22
21
}
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ macro_rules! skip_assert_initialized {
47
47
( ) => { } ;
48
48
}
49
49
50
- #[ allow( clippy:: derive_hash_xor_eq ) ]
50
+ #[ allow( clippy:: derived_hash_with_manual_eq ) ]
51
51
#[ allow( clippy:: type_complexity) ]
52
52
mod auto;
53
53
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ unsafe impl<T: ContentProviderImpl> IsSubclassable<T> for ContentProvider {
297
297
klass. ref_formats = Some ( content_provider_formats :: < T > ) ;
298
298
klass. ref_storable_formats = Some ( content_provider_storable_formats :: < T > ) ;
299
299
klass. write_mime_type_async = Some ( content_provider_write_mime_type_async :: < T > ) ;
300
- klass. write_mime_type_finish = Some ( content_provider_write_mime_type_finish :: < T > ) ;
300
+ klass. write_mime_type_finish = Some ( content_provider_write_mime_type_finish) ;
301
301
klass. get_value = Some ( content_provider_get_value :: < T > ) ;
302
302
}
303
303
}
@@ -392,7 +392,7 @@ unsafe extern "C" fn content_provider_write_mime_type_async<T: ContentProviderIm
392
392
} ) ;
393
393
}
394
394
395
- unsafe extern "C" fn content_provider_write_mime_type_finish < T : ContentProviderImpl > (
395
+ unsafe extern "C" fn content_provider_write_mime_type_finish (
396
396
_ptr : * mut ffi:: GdkContentProvider ,
397
397
res_ptr : * mut gio:: ffi:: GAsyncResult ,
398
398
error_ptr : * mut * mut glib:: ffi:: GError ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ macro_rules! skip_assert_initialized {
20
20
( ) => { } ;
21
21
}
22
22
23
- #[ allow( clippy:: derive_hash_xor_eq ) ]
23
+ #[ allow( clippy:: derived_hash_with_manual_eq ) ]
24
24
mod auto;
25
25
26
26
pub mod builders;
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ static TEST_THREAD_WORKER: once_cell::sync::Lazy<glib::ThreadPool> =
88
88
pool
89
89
} ) ;
90
90
91
- #[ allow( clippy:: derive_hash_xor_eq ) ]
91
+ #[ allow( clippy:: derived_hash_with_manual_eq ) ]
92
92
#[ allow( clippy:: too_many_arguments) ]
93
93
#[ allow( clippy:: type_complexity) ]
94
94
mod auto;
You can’t perform that action at this time.
0 commit comments