Commit 882c0e3
committed
Updated src/gpu_page/imp.rs:
- Updated reuse copyright year
- Added clearer import headers
- Refactored to now import std::cell::OnceCell as it has been [merged into std](rust-lang/rust#105587)
- Refactored to now import std::sync::OncelLock as it has been [merged into std](rust-lang/rust#105587)
- Refactored to import Value and ToValue from glib::value as it now has its own module in glib
- Refactored to import Variant and FromVariant from glib::variant as it now has its own module in glib
- Added glib::ControlFlow::Continue import
- Updated "create_updater()" function to reflect glib::ControlFlow::Continue changes
- Removed an unsafe block of code from "create_updater()" function
- Refactored "constructed()" function to get "obj" reference via "self" instead of as a parameter
- Updated "parent_constructed()" call in "constructed()" function
- Refactored "properties()" and "signals()" functions to reflect OnceLock changes
- Removed now unused "_obj" parameter to "property()" and "set_property()" functions
Updated src/gpu_page/mod.rs:
- Updated reuse copyright year
- Added clearer import headers
- Updated "new()" function to use "Object::builder::<GpuPage>().build()" instead of untyped "Obect::new()""
Signed-off-by: Deren Vural <35734401+derenv@users.noreply.github.com>1 parent dbea3a1 commit 882c0e3
2 files changed
+92
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | | - | |
31 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
32 | 48 | | |
33 | | - | |
34 | 49 | | |
35 | 50 | | |
36 | 51 | | |
| |||
114 | 129 | | |
115 | 130 | | |
116 | 131 | | |
117 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
118 | 136 | | |
119 | 137 | | |
120 | 138 | | |
| |||
138 | 156 | | |
139 | 157 | | |
140 | 158 | | |
141 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
142 | 164 | | |
143 | 165 | | |
144 | 166 | | |
| |||
165 | 187 | | |
166 | 188 | | |
167 | 189 | | |
168 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
169 | 194 | | |
170 | 195 | | |
171 | 196 | | |
| |||
462 | 487 | | |
463 | 488 | | |
464 | 489 | | |
465 | | - | |
| 490 | + | |
466 | 491 | | |
467 | 492 | | |
468 | 493 | | |
469 | 494 | | |
470 | 495 | | |
471 | 496 | | |
472 | 497 | | |
473 | | - | |
| 498 | + | |
474 | 499 | | |
475 | 500 | | |
476 | 501 | | |
477 | | - | |
| 502 | + | |
478 | 503 | | |
479 | 504 | | |
480 | 505 | | |
481 | 506 | | |
482 | | - | |
483 | | - | |
484 | | - | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
485 | 511 | | |
486 | 512 | | |
487 | 513 | | |
| |||
607 | 633 | | |
608 | 634 | | |
609 | 635 | | |
610 | | - | |
| 636 | + | |
611 | 637 | | |
612 | 638 | | |
613 | | - | |
| 639 | + | |
614 | 640 | | |
615 | 641 | | |
616 | 642 | | |
| 643 | + | |
617 | 644 | | |
618 | 645 | | |
619 | 646 | | |
| |||
646 | 673 | | |
647 | 674 | | |
648 | 675 | | |
649 | | - | |
650 | | - | |
| 676 | + | |
| 677 | + | |
651 | 678 | | |
652 | 679 | | |
653 | 680 | | |
654 | | - | |
655 | | - | |
| 681 | + | |
| 682 | + | |
656 | 683 | | |
657 | | - | |
| 684 | + | |
658 | 685 | | |
659 | 686 | | |
660 | 687 | | |
661 | | - | |
662 | | - | |
663 | 688 | | |
664 | 689 | | |
665 | 690 | | |
| |||
678 | 703 | | |
679 | 704 | | |
680 | 705 | | |
681 | | - | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
682 | 712 | | |
683 | 713 | | |
684 | 714 | | |
| |||
744 | 774 | | |
745 | 775 | | |
746 | 776 | | |
747 | | - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
748 | 782 | | |
749 | 783 | | |
750 | 784 | | |
| |||
792 | 826 | | |
793 | 827 | | |
794 | 828 | | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
804 | 840 | | |
805 | 841 | | |
806 | 842 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 25 | + | |
29 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
30 | 40 | | |
31 | 41 | | |
32 | 42 | | |
| |||
72 | 82 | | |
73 | 83 | | |
74 | 84 | | |
75 | | - | |
76 | | - | |
| 85 | + | |
| 86 | + | |
77 | 87 | | |
78 | 88 | | |
79 | 89 | | |
| |||
0 commit comments