@@ -533,63 +533,54 @@ impl<O: IsA<Pixbuf> + IsA<glib::object::Object>> PixbufExt for O {
533
533
534
534
unsafe extern "C" fn notify_bits_per_sample_trampoline < P > ( this : * mut ffi:: GdkPixbuf , _param_spec : glib_ffi:: gpointer , f : glib_ffi:: gpointer )
535
535
where P : IsA < Pixbuf > {
536
- callback_guard ! ( ) ;
537
536
let f: & & ( Fn ( & P ) + ' static ) = transmute ( f) ;
538
537
f ( & Pixbuf :: from_glib_borrow ( this) . downcast_unchecked ( ) )
539
538
}
540
539
541
540
unsafe extern "C" fn notify_colorspace_trampoline < P > ( this : * mut ffi:: GdkPixbuf , _param_spec : glib_ffi:: gpointer , f : glib_ffi:: gpointer )
542
541
where P : IsA < Pixbuf > {
543
- callback_guard ! ( ) ;
544
542
let f: & & ( Fn ( & P ) + ' static ) = transmute ( f) ;
545
543
f ( & Pixbuf :: from_glib_borrow ( this) . downcast_unchecked ( ) )
546
544
}
547
545
548
546
unsafe extern "C" fn notify_has_alpha_trampoline < P > ( this : * mut ffi:: GdkPixbuf , _param_spec : glib_ffi:: gpointer , f : glib_ffi:: gpointer )
549
547
where P : IsA < Pixbuf > {
550
- callback_guard ! ( ) ;
551
548
let f: & & ( Fn ( & P ) + ' static ) = transmute ( f) ;
552
549
f ( & Pixbuf :: from_glib_borrow ( this) . downcast_unchecked ( ) )
553
550
}
554
551
555
552
unsafe extern "C" fn notify_height_trampoline < P > ( this : * mut ffi:: GdkPixbuf , _param_spec : glib_ffi:: gpointer , f : glib_ffi:: gpointer )
556
553
where P : IsA < Pixbuf > {
557
- callback_guard ! ( ) ;
558
554
let f: & & ( Fn ( & P ) + ' static ) = transmute ( f) ;
559
555
f ( & Pixbuf :: from_glib_borrow ( this) . downcast_unchecked ( ) )
560
556
}
561
557
562
558
unsafe extern "C" fn notify_n_channels_trampoline < P > ( this : * mut ffi:: GdkPixbuf , _param_spec : glib_ffi:: gpointer , f : glib_ffi:: gpointer )
563
559
where P : IsA < Pixbuf > {
564
- callback_guard ! ( ) ;
565
560
let f: & & ( Fn ( & P ) + ' static ) = transmute ( f) ;
566
561
f ( & Pixbuf :: from_glib_borrow ( this) . downcast_unchecked ( ) )
567
562
}
568
563
569
564
unsafe extern "C" fn notify_pixel_bytes_trampoline < P > ( this : * mut ffi:: GdkPixbuf , _param_spec : glib_ffi:: gpointer , f : glib_ffi:: gpointer )
570
565
where P : IsA < Pixbuf > {
571
- callback_guard ! ( ) ;
572
566
let f: & & ( Fn ( & P ) + ' static ) = transmute ( f) ;
573
567
f ( & Pixbuf :: from_glib_borrow ( this) . downcast_unchecked ( ) )
574
568
}
575
569
576
570
unsafe extern "C" fn notify_pixels_trampoline < P > ( this : * mut ffi:: GdkPixbuf , _param_spec : glib_ffi:: gpointer , f : glib_ffi:: gpointer )
577
571
where P : IsA < Pixbuf > {
578
- callback_guard ! ( ) ;
579
572
let f: & & ( Fn ( & P ) + ' static ) = transmute ( f) ;
580
573
f ( & Pixbuf :: from_glib_borrow ( this) . downcast_unchecked ( ) )
581
574
}
582
575
583
576
unsafe extern "C" fn notify_rowstride_trampoline < P > ( this : * mut ffi:: GdkPixbuf , _param_spec : glib_ffi:: gpointer , f : glib_ffi:: gpointer )
584
577
where P : IsA < Pixbuf > {
585
- callback_guard ! ( ) ;
586
578
let f: & & ( Fn ( & P ) + ' static ) = transmute ( f) ;
587
579
f ( & Pixbuf :: from_glib_borrow ( this) . downcast_unchecked ( ) )
588
580
}
589
581
590
582
unsafe extern "C" fn notify_width_trampoline < P > ( this : * mut ffi:: GdkPixbuf , _param_spec : glib_ffi:: gpointer , f : glib_ffi:: gpointer )
591
583
where P : IsA < Pixbuf > {
592
- callback_guard ! ( ) ;
593
584
let f: & & ( Fn ( & P ) + ' static ) = transmute ( f) ;
594
585
f ( & Pixbuf :: from_glib_borrow ( this) . downcast_unchecked ( ) )
595
586
}
0 commit comments