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