Commit eec6a8a
committed
Updated src/modificationwindow/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)
- Added glib::BorrowedObject import
- Refactored to import Value 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
- Refactored "properties()"function to reflect OnceLock changes
- Removed now unused "_obj" parameter to "property()" and "set_property()" functions
- Refactored to use glib::signal::Propagation instead of glib::signal::Inhibit
- Refactored "constructed()" function to get "obj" reference via "self" instead of as a parameter
- Updated "parent_constructed()" call in "constructed()" function
- Removed deprecated "window" parameter from "close_request()" function
- Updated "close_request()" function to return a Propagation type
Updated src/modificationwindow/mod.rs:
- Updated reuse copyright year
- Added clearer import headers
- Removed GString import
- Updated "new()" function to use "Object::builder::<ModificationWindow>().build()" instead of untyped "Obect::new()""
- Commented out "settings()" function
- Refactored "setup_widgets()" function to use self.imp().get_setting::<Vec<String>>() instead of getting GString directly
Signed-off-by: Deren Vural <[email protected]>1 parent e578080 commit eec6a8a
2 files changed
+79
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
26 | 25 | | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | | - | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
30 | 43 | | |
31 | | - | |
32 | 44 | | |
33 | 45 | | |
34 | 46 | | |
| |||
825 | 837 | | |
826 | 838 | | |
827 | 839 | | |
828 | | - | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
829 | 844 | | |
830 | 845 | | |
831 | 846 | | |
| |||
849 | 864 | | |
850 | 865 | | |
851 | 866 | | |
852 | | - | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
853 | 872 | | |
854 | 873 | | |
855 | 874 | | |
| |||
1082 | 1101 | | |
1083 | 1102 | | |
1084 | 1103 | | |
1085 | | - | |
| 1104 | + | |
1086 | 1105 | | |
1087 | | - | |
| 1106 | + | |
1088 | 1107 | | |
1089 | 1108 | | |
| 1109 | + | |
1090 | 1110 | | |
1091 | 1111 | | |
1092 | 1112 | | |
| |||
1119 | 1139 | | |
1120 | 1140 | | |
1121 | 1141 | | |
1122 | | - | |
| 1142 | + | |
| 1143 | + | |
1123 | 1144 | | |
1124 | 1145 | | |
1125 | 1146 | | |
1126 | 1147 | | |
1127 | 1148 | | |
1128 | | - | |
| 1149 | + | |
1129 | 1150 | | |
1130 | | - | |
| 1151 | + | |
1131 | 1152 | | |
1132 | 1153 | | |
1133 | 1154 | | |
1134 | | - | |
1135 | | - | |
1136 | 1155 | | |
1137 | 1156 | | |
1138 | 1157 | | |
| |||
1151 | 1170 | | |
1152 | 1171 | | |
1153 | 1172 | | |
1154 | | - | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
1155 | 1179 | | |
1156 | 1180 | | |
1157 | 1181 | | |
| |||
1204 | 1228 | | |
1205 | 1229 | | |
1206 | 1230 | | |
1207 | | - | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
1208 | 1236 | | |
1209 | 1237 | | |
1210 | 1238 | | |
| |||
1284 | 1312 | | |
1285 | 1313 | | |
1286 | 1314 | | |
1287 | | - | |
| 1315 | + | |
1288 | 1316 | | |
1289 | 1317 | | |
1290 | 1318 | | |
1291 | 1319 | | |
1292 | | - | |
| 1320 | + | |
1293 | 1321 | | |
1294 | 1322 | | |
1295 | 1323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 24 | + | |
28 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
29 | 39 | | |
30 | 40 | | |
31 | 41 | | |
| |||
81 | 91 | | |
82 | 92 | | |
83 | 93 | | |
84 | | - | |
85 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
86 | 97 | | |
87 | 98 | | |
88 | 99 | | |
| |||
144 | 155 | | |
145 | 156 | | |
146 | 157 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
153 | 164 | | |
154 | 165 | | |
155 | 166 | | |
| |||
169 | 180 | | |
170 | 181 | | |
171 | 182 | | |
172 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
173 | 186 | | |
174 | 187 | | |
175 | 188 | | |
| |||
209 | 222 | | |
210 | 223 | | |
211 | 224 | | |
212 | | - | |
| 225 | + | |
| 226 | + | |
213 | 227 | | |
214 | 228 | | |
215 | 229 | | |
| |||
0 commit comments