Commit 01a0e44
committed
Fix Privileged flag being inverted by interface generator
By default libsystemd makes all methods privileged unless the
`org.freedesktop.systemd1.Privileged` is set. The code generator
only set the unprivileged flag only if introspection flag was set
which is completely inverted logic.
This change means there will be a lot of `DbusUnprivilegedFlag` used
in the generated code but this is a correct way.1 parent 1ebb8c2 commit 01a0e44
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
0 commit comments