Commit 624b686
overrides/Gio: Use Platform prefix for platform-only symbols
In previous versions of GLib, platform-specific symbols such as
GUnixMountMonitor were mapped in the Gio namespace as Gio.UnixMountMonitor,
while since commit 0565682 we create wrappers such as
Gio.MountMonitor.
This is not correct, and does not serve the initial purpose of providing
a backward compatible wrapper.
So, use the same logic that we had before: if the GType of a symbol starts
with G{Unix,Win32} we use the platform specific name as prefix of the
wrapper type, so that it will be Gio.{Unix,Win32}TypeName1 parent 894b8f9 commit 624b686
1 file changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| 499 | + | |
499 | 500 | | |
500 | | - | |
501 | | - | |
502 | | - | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
503 | 511 | | |
504 | 512 | | |
505 | 513 | | |
506 | | - | |
| 514 | + | |
507 | 515 | | |
508 | 516 | | |
509 | 517 | | |
510 | 518 | | |
511 | | - | |
| 519 | + | |
512 | 520 | | |
513 | 521 | | |
514 | | - | |
515 | | - | |
| 522 | + | |
516 | 523 | | |
517 | 524 | | |
518 | 525 | | |
| |||
0 commit comments