|
1 |
| -// This file was generated by gir (0f1d1c1) from gir-files (77d1f70) |
| 1 | +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) |
| 2 | +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) |
2 | 3 | // DO NOT EDIT
|
3 | 4 |
|
4 | 5 | use Atom;
|
@@ -615,126 +616,109 @@ impl<O: IsA<Device> + IsA<glib::object::Object>> DeviceExt for O {
|
615 | 616 |
|
616 | 617 | unsafe extern "C" fn changed_trampoline<P>(this: *mut ffi::GdkDevice, f: glib_ffi::gpointer)
|
617 | 618 | where P: IsA<Device> {
|
618 |
| - callback_guard!(); |
619 | 619 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
620 | 620 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
621 | 621 | }
|
622 | 622 |
|
623 | 623 | #[cfg(any(feature = "v3_22", feature = "dox"))]
|
624 | 624 | unsafe extern "C" fn tool_changed_trampoline<P>(this: *mut ffi::GdkDevice, tool: *mut ffi::GdkDeviceTool, f: glib_ffi::gpointer)
|
625 | 625 | where P: IsA<Device> {
|
626 |
| - callback_guard!(); |
627 | 626 | let f: &&(Fn(&P, &DeviceTool) + 'static) = transmute(f);
|
628 | 627 | f(&Device::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(tool))
|
629 | 628 | }
|
630 | 629 |
|
631 | 630 | unsafe extern "C" fn notify_associated_device_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
632 | 631 | where P: IsA<Device> {
|
633 |
| - callback_guard!(); |
634 | 632 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
635 | 633 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
636 | 634 | }
|
637 | 635 |
|
638 | 636 | #[cfg(any(feature = "v3_22", feature = "dox"))]
|
639 | 637 | unsafe extern "C" fn notify_axes_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
640 | 638 | where P: IsA<Device> {
|
641 |
| - callback_guard!(); |
642 | 639 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
643 | 640 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
644 | 641 | }
|
645 | 642 |
|
646 | 643 | unsafe extern "C" fn notify_device_manager_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
647 | 644 | where P: IsA<Device> {
|
648 |
| - callback_guard!(); |
649 | 645 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
650 | 646 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
651 | 647 | }
|
652 | 648 |
|
653 | 649 | unsafe extern "C" fn notify_display_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
654 | 650 | where P: IsA<Device> {
|
655 |
| - callback_guard!(); |
656 | 651 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
657 | 652 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
658 | 653 | }
|
659 | 654 |
|
660 | 655 | unsafe extern "C" fn notify_has_cursor_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
661 | 656 | where P: IsA<Device> {
|
662 |
| - callback_guard!(); |
663 | 657 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
664 | 658 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
665 | 659 | }
|
666 | 660 |
|
667 | 661 | unsafe extern "C" fn notify_input_mode_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
668 | 662 | where P: IsA<Device> {
|
669 |
| - callback_guard!(); |
670 | 663 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
671 | 664 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
672 | 665 | }
|
673 | 666 |
|
674 | 667 | unsafe extern "C" fn notify_input_source_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
675 | 668 | where P: IsA<Device> {
|
676 |
| - callback_guard!(); |
677 | 669 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
678 | 670 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
679 | 671 | }
|
680 | 672 |
|
681 | 673 | unsafe extern "C" fn notify_n_axes_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
682 | 674 | where P: IsA<Device> {
|
683 |
| - callback_guard!(); |
684 | 675 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
685 | 676 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
686 | 677 | }
|
687 | 678 |
|
688 | 679 | unsafe extern "C" fn notify_name_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
689 | 680 | where P: IsA<Device> {
|
690 |
| - callback_guard!(); |
691 | 681 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
692 | 682 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
693 | 683 | }
|
694 | 684 |
|
695 | 685 | #[cfg(any(feature = "v3_20", feature = "dox"))]
|
696 | 686 | unsafe extern "C" fn notify_num_touches_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
697 | 687 | where P: IsA<Device> {
|
698 |
| - callback_guard!(); |
699 | 688 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
700 | 689 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
701 | 690 | }
|
702 | 691 |
|
703 | 692 | #[cfg(any(feature = "v3_16", feature = "dox"))]
|
704 | 693 | unsafe extern "C" fn notify_product_id_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
705 | 694 | where P: IsA<Device> {
|
706 |
| - callback_guard!(); |
707 | 695 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
708 | 696 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
709 | 697 | }
|
710 | 698 |
|
711 | 699 | #[cfg(any(feature = "v3_20", feature = "dox"))]
|
712 | 700 | unsafe extern "C" fn notify_seat_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
713 | 701 | where P: IsA<Device> {
|
714 |
| - callback_guard!(); |
715 | 702 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
716 | 703 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
717 | 704 | }
|
718 | 705 |
|
719 | 706 | #[cfg(any(feature = "v3_22", feature = "dox"))]
|
720 | 707 | unsafe extern "C" fn notify_tool_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
721 | 708 | where P: IsA<Device> {
|
722 |
| - callback_guard!(); |
723 | 709 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
724 | 710 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
725 | 711 | }
|
726 | 712 |
|
727 | 713 | unsafe extern "C" fn notify_type_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
728 | 714 | where P: IsA<Device> {
|
729 |
| - callback_guard!(); |
730 | 715 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
731 | 716 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
732 | 717 | }
|
733 | 718 |
|
734 | 719 | #[cfg(any(feature = "v3_16", feature = "dox"))]
|
735 | 720 | unsafe extern "C" fn notify_vendor_id_trampoline<P>(this: *mut ffi::GdkDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
736 | 721 | where P: IsA<Device> {
|
737 |
| - callback_guard!(); |
738 | 722 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
739 | 723 | f(&Device::from_glib_borrow(this).downcast_unchecked())
|
740 | 724 | }
|
0 commit comments