File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -354,30 +354,6 @@ impl IntoGlib for SignalType {
354
354
}
355
355
}
356
356
357
- impl FromGlibContainerAsVec < Type , * const ffi:: GType > for SignalType {
358
- unsafe fn from_glib_none_num_as_vec ( ptr : * const ffi:: GType , num : usize ) -> Vec < Self > {
359
- if num == 0 || ptr. is_null ( ) {
360
- return Vec :: new ( ) ;
361
- }
362
-
363
- let mut res = Vec :: with_capacity ( num) ;
364
- for i in 0 ..num {
365
- res. push ( from_glib ( * ptr. add ( i) ) ) ;
366
- }
367
- res
368
- }
369
-
370
- unsafe fn from_glib_container_num_as_vec ( _: * const ffi:: GType , _: usize ) -> Vec < Self > {
371
- // Can't really free a *const
372
- unimplemented ! ( ) ;
373
- }
374
-
375
- unsafe fn from_glib_full_num_as_vec ( _: * const ffi:: GType , _: usize ) -> Vec < Self > {
376
- // Can't really free a *const
377
- unimplemented ! ( ) ;
378
- }
379
- }
380
-
381
357
#[ allow( clippy:: type_complexity) ]
382
358
enum SignalRegistration {
383
359
Unregistered {
You can’t perform that action at this time.
0 commit comments