detached 4f9deea

build(gen): regenerate bindings with GC-safe nullable strings

commit
4f9deeaebf4d520769a2da9ccd125116a1e98ef9
author
bnema · · 2025-12-18 04:48 UTC
parent
d6a13f5
signature
GPG Unverified2B82207D370127A0 The key is unknown
660 files · +9051 -407
M v4/adw/adw-about-dialog.go +54 -5
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -40,7 +41,11 @@ var xShowAboutDialogFromAppdata func(uintptr, string, uintptr, string, ...interf
40 // See [ctor@AboutDialog.new_from_appdata] for details.41 // See [ctor@AboutDialog.new_from_appdata] for details.
41 func ShowAboutDialogFromAppdata(ParentVar *gtk.Widget, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) {42 func ShowAboutDialogFromAppdata(ParentVar *gtk.Widget, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) {
42 43
43- xShowAboutDialogFromAppdata(ParentVar.GoPointer(), ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar), FirstPropertyNameVar, varArgs...)44+ ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar)
45+
46+ xShowAboutDialogFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVarPtr, FirstPropertyNameVar, varArgs...)
47+
48+ runtime.KeepAlive(ReleaseNotesVersionVarBytes)
44 49
45 }50 }
46 51
@@ -279,7 +284,11 @@ var xNewAboutDialogFromAppdata func(string, uintptr) uintptr
279 func NewAboutDialogFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutDialog {284 func NewAboutDialogFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutDialog {
280 var cls *AboutDialog285 var cls *AboutDialog
281 286
282- cret := xNewAboutDialogFromAppdata(ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar))287+ ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar)
288+
289+ cret := xNewAboutDialogFromAppdata(ResourcePathVar, ReleaseNotesVersionVarPtr)
290+
291+ runtime.KeepAlive(ReleaseNotesVersionVarBytes)
283 292
284 if cret == 0 {293 if cret == 0 {
285 return nil294 return nil
@@ -311,7 +320,11 @@ var xAboutDialogAddAcknowledgementSection func(uintptr, uintptr, []string)
311 // * [method@AboutDialog.add_credit_section]320 // * [method@AboutDialog.add_credit_section]
312 func (x *AboutDialog) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {321 func (x *AboutDialog) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {
313 322
314- xAboutDialogAddAcknowledgementSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar)323+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
324+
325+ xAboutDialogAddAcknowledgementSection(x.GoPointer(), NameVarPtr, PeopleVar)
326+
327+ runtime.KeepAlive(NameVarBytes)
315 328
316 }329 }
317 330
@@ -334,7 +347,11 @@ var xAboutDialogAddCreditSection func(uintptr, uintptr, []string)
334 // * [method@AboutDialog.add_acknowledgement_section]347 // * [method@AboutDialog.add_acknowledgement_section]
335 func (x *AboutDialog) AddCreditSection(NameVar *string, PeopleVar []string) {348 func (x *AboutDialog) AddCreditSection(NameVar *string, PeopleVar []string) {
336 349
337- xAboutDialogAddCreditSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar)350+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
351+
352+ xAboutDialogAddCreditSection(x.GoPointer(), NameVarPtr, PeopleVar)
353+
354+ runtime.KeepAlive(NameVarBytes)
338 355
339 }356 }
340 357
@@ -387,7 +404,15 @@ var xAboutDialogAddLegalSection func(uintptr, string, uintptr, gtk.License, uint
387 // ```404 // ```
388 func (x *AboutDialog) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {405 func (x *AboutDialog) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {
389 406
390- xAboutDialogAddLegalSection(x.GoPointer(), TitleVar, core.NullableStringToPtr(CopyrightVar), LicenseTypeVar, core.NullableStringToPtr(LicenseVar))407+ CopyrightVarPtr, CopyrightVarBytes := core.NullableStringToPtr(CopyrightVar)
408+
409+ LicenseVarPtr, LicenseVarBytes := core.NullableStringToPtr(LicenseVar)
410+
411+ xAboutDialogAddLegalSection(x.GoPointer(), TitleVar, CopyrightVarPtr, LicenseTypeVar, LicenseVarPtr)
412+
413+ runtime.KeepAlive(CopyrightVarBytes)
414+
415+ runtime.KeepAlive(LicenseVarBytes)
391 416
392 }417 }
393 418
@@ -439,6 +464,7 @@ var xAboutDialogGetApplicationIcon func(uintptr) string
439 func (x *AboutDialog) GetApplicationIcon() string {464 func (x *AboutDialog) GetApplicationIcon() string {
440 465
441 cret := xAboutDialogGetApplicationIcon(x.GoPointer())466 cret := xAboutDialogGetApplicationIcon(x.GoPointer())
467+
442 return cret468 return cret
443 }469 }
444 470
@@ -448,6 +474,7 @@ var xAboutDialogGetApplicationName func(uintptr) string
448 func (x *AboutDialog) GetApplicationName() string {474 func (x *AboutDialog) GetApplicationName() string {
449 475
450 cret := xAboutDialogGetApplicationName(x.GoPointer())476 cret := xAboutDialogGetApplicationName(x.GoPointer())
477+
451 return cret478 return cret
452 }479 }
453 480
@@ -457,6 +484,7 @@ var xAboutDialogGetArtists func(uintptr) []string
457 func (x *AboutDialog) GetArtists() []string {484 func (x *AboutDialog) GetArtists() []string {
458 485
459 cret := xAboutDialogGetArtists(x.GoPointer())486 cret := xAboutDialogGetArtists(x.GoPointer())
487+
460 return cret488 return cret
461 }489 }
462 490
@@ -466,6 +494,7 @@ var xAboutDialogGetComments func(uintptr) string
466 func (x *AboutDialog) GetComments() string {494 func (x *AboutDialog) GetComments() string {
467 495
468 cret := xAboutDialogGetComments(x.GoPointer())496 cret := xAboutDialogGetComments(x.GoPointer())
497+
469 return cret498 return cret
470 }499 }
471 500
@@ -475,6 +504,7 @@ var xAboutDialogGetCopyright func(uintptr) string
475 func (x *AboutDialog) GetCopyright() string {504 func (x *AboutDialog) GetCopyright() string {
476 505
477 cret := xAboutDialogGetCopyright(x.GoPointer())506 cret := xAboutDialogGetCopyright(x.GoPointer())
507+
478 return cret508 return cret
479 }509 }
480 510
@@ -484,6 +514,7 @@ var xAboutDialogGetDebugInfo func(uintptr) string
484 func (x *AboutDialog) GetDebugInfo() string {514 func (x *AboutDialog) GetDebugInfo() string {
485 515
486 cret := xAboutDialogGetDebugInfo(x.GoPointer())516 cret := xAboutDialogGetDebugInfo(x.GoPointer())
517+
487 return cret518 return cret
488 }519 }
489 520
@@ -493,6 +524,7 @@ var xAboutDialogGetDebugInfoFilename func(uintptr) string
493 func (x *AboutDialog) GetDebugInfoFilename() string {524 func (x *AboutDialog) GetDebugInfoFilename() string {
494 525
495 cret := xAboutDialogGetDebugInfoFilename(x.GoPointer())526 cret := xAboutDialogGetDebugInfoFilename(x.GoPointer())
527+
496 return cret528 return cret
497 }529 }
498 530
@@ -502,6 +534,7 @@ var xAboutDialogGetDesigners func(uintptr) []string
502 func (x *AboutDialog) GetDesigners() []string {534 func (x *AboutDialog) GetDesigners() []string {
503 535
504 cret := xAboutDialogGetDesigners(x.GoPointer())536 cret := xAboutDialogGetDesigners(x.GoPointer())
537+
505 return cret538 return cret
506 }539 }
507 540
@@ -511,6 +544,7 @@ var xAboutDialogGetDeveloperName func(uintptr) string
511 func (x *AboutDialog) GetDeveloperName() string {544 func (x *AboutDialog) GetDeveloperName() string {
512 545
513 cret := xAboutDialogGetDeveloperName(x.GoPointer())546 cret := xAboutDialogGetDeveloperName(x.GoPointer())
547+
514 return cret548 return cret
515 }549 }
516 550
@@ -520,6 +554,7 @@ var xAboutDialogGetDevelopers func(uintptr) []string
520 func (x *AboutDialog) GetDevelopers() []string {554 func (x *AboutDialog) GetDevelopers() []string {
521 555
522 cret := xAboutDialogGetDevelopers(x.GoPointer())556 cret := xAboutDialogGetDevelopers(x.GoPointer())
557+
523 return cret558 return cret
524 }559 }
525 560
@@ -529,6 +564,7 @@ var xAboutDialogGetDocumenters func(uintptr) []string
529 func (x *AboutDialog) GetDocumenters() []string {564 func (x *AboutDialog) GetDocumenters() []string {
530 565
531 cret := xAboutDialogGetDocumenters(x.GoPointer())566 cret := xAboutDialogGetDocumenters(x.GoPointer())
567+
532 return cret568 return cret
533 }569 }
534 570
@@ -538,6 +574,7 @@ var xAboutDialogGetIssueUrl func(uintptr) string
538 func (x *AboutDialog) GetIssueUrl() string {574 func (x *AboutDialog) GetIssueUrl() string {
539 575
540 cret := xAboutDialogGetIssueUrl(x.GoPointer())576 cret := xAboutDialogGetIssueUrl(x.GoPointer())
577+
541 return cret578 return cret
542 }579 }
543 580
@@ -547,6 +584,7 @@ var xAboutDialogGetLicense func(uintptr) string
547 func (x *AboutDialog) GetLicense() string {584 func (x *AboutDialog) GetLicense() string {
548 585
549 cret := xAboutDialogGetLicense(x.GoPointer())586 cret := xAboutDialogGetLicense(x.GoPointer())
587+
550 return cret588 return cret
551 }589 }
552 590
@@ -556,6 +594,7 @@ var xAboutDialogGetLicenseType func(uintptr) gtk.License
556 func (x *AboutDialog) GetLicenseType() gtk.License {594 func (x *AboutDialog) GetLicenseType() gtk.License {
557 595
558 cret := xAboutDialogGetLicenseType(x.GoPointer())596 cret := xAboutDialogGetLicenseType(x.GoPointer())
597+
559 return cret598 return cret
560 }599 }
561 600
@@ -565,6 +604,7 @@ var xAboutDialogGetReleaseNotes func(uintptr) string
565 func (x *AboutDialog) GetReleaseNotes() string {604 func (x *AboutDialog) GetReleaseNotes() string {
566 605
567 cret := xAboutDialogGetReleaseNotes(x.GoPointer())606 cret := xAboutDialogGetReleaseNotes(x.GoPointer())
607+
568 return cret608 return cret
569 }609 }
570 610
@@ -574,6 +614,7 @@ var xAboutDialogGetReleaseNotesVersion func(uintptr) string
574 func (x *AboutDialog) GetReleaseNotesVersion() string {614 func (x *AboutDialog) GetReleaseNotesVersion() string {
575 615
576 cret := xAboutDialogGetReleaseNotesVersion(x.GoPointer())616 cret := xAboutDialogGetReleaseNotesVersion(x.GoPointer())
617+
577 return cret618 return cret
578 }619 }
579 620
@@ -583,6 +624,7 @@ var xAboutDialogGetSupportUrl func(uintptr) string
583 func (x *AboutDialog) GetSupportUrl() string {624 func (x *AboutDialog) GetSupportUrl() string {
584 625
585 cret := xAboutDialogGetSupportUrl(x.GoPointer())626 cret := xAboutDialogGetSupportUrl(x.GoPointer())
627+
586 return cret628 return cret
587 }629 }
588 630
@@ -592,6 +634,7 @@ var xAboutDialogGetTranslatorCredits func(uintptr) string
592 func (x *AboutDialog) GetTranslatorCredits() string {634 func (x *AboutDialog) GetTranslatorCredits() string {
593 635
594 cret := xAboutDialogGetTranslatorCredits(x.GoPointer())636 cret := xAboutDialogGetTranslatorCredits(x.GoPointer())
637+
595 return cret638 return cret
596 }639 }
597 640
@@ -601,6 +644,7 @@ var xAboutDialogGetVersion func(uintptr) string
601 func (x *AboutDialog) GetVersion() string {644 func (x *AboutDialog) GetVersion() string {
602 645
603 cret := xAboutDialogGetVersion(x.GoPointer())646 cret := xAboutDialogGetVersion(x.GoPointer())
647+
604 return cret648 return cret
605 }649 }
606 650
@@ -610,6 +654,7 @@ var xAboutDialogGetWebsite func(uintptr) string
610 func (x *AboutDialog) GetWebsite() string {654 func (x *AboutDialog) GetWebsite() string {
611 655
612 cret := xAboutDialogGetWebsite(x.GoPointer())656 cret := xAboutDialogGetWebsite(x.GoPointer())
657+
613 return cret658 return cret
614 }659 }
615 660
@@ -1730,6 +1775,7 @@ func (x *AboutDialog) GetAccessibleParent() *gtk.AccessibleBase {
1730 func (x *AboutDialog) GetAccessibleRole() gtk.AccessibleRole {1775 func (x *AboutDialog) GetAccessibleRole() gtk.AccessibleRole {
1731 1776
1732 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())1777 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
1778+
1733 return cret1779 return cret
1734 }1780 }
1735 1781
@@ -1755,6 +1801,7 @@ func (x *AboutDialog) GetAtContext() *gtk.ATContext {
1755 func (x *AboutDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {1801 func (x *AboutDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1756 1802
1757 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)1803 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1804+
1758 return cret1805 return cret
1759 }1806 }
1760 1807
@@ -1794,6 +1841,7 @@ func (x *AboutDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
1794 func (x *AboutDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1841 func (x *AboutDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1795 1842
1796 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1843 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1844+
1797 return cret1845 return cret
1798 }1846 }
1799 1847
@@ -1970,6 +2018,7 @@ func (x *AboutDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
1970 func (x *AboutDialog) GetBuildableId() string {2018 func (x *AboutDialog) GetBuildableId() string {
1971 2019
1972 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())2020 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
2021+
1973 return cret2022 return cret
1974 }2023 }
1975 2024
M v4/adw/adw-about-window.go +54 -5
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -42,7 +43,11 @@ var xShowAboutWindowFromAppdata func(uintptr, string, uintptr, string, ...interf
42 // See [ctor@AboutWindow.new_from_appdata] for details.43 // See [ctor@AboutWindow.new_from_appdata] for details.
43 func ShowAboutWindowFromAppdata(ParentVar *gtk.Window, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) {44 func ShowAboutWindowFromAppdata(ParentVar *gtk.Window, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) {
44 45
45- xShowAboutWindowFromAppdata(ParentVar.GoPointer(), ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar), FirstPropertyNameVar, varArgs...)46+ ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar)
47+
48+ xShowAboutWindowFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVarPtr, FirstPropertyNameVar, varArgs...)
49+
50+ runtime.KeepAlive(ReleaseNotesVersionVarBytes)
46 51
47 }52 }
48 53
@@ -276,7 +281,11 @@ var xNewAboutWindowFromAppdata func(string, uintptr) uintptr
276 func NewAboutWindowFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutWindow {281 func NewAboutWindowFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutWindow {
277 var cls *AboutWindow282 var cls *AboutWindow
278 283
279- cret := xNewAboutWindowFromAppdata(ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar))284+ ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar)
285+
286+ cret := xNewAboutWindowFromAppdata(ResourcePathVar, ReleaseNotesVersionVarPtr)
287+
288+ runtime.KeepAlive(ReleaseNotesVersionVarBytes)
280 289
281 if cret == 0 {290 if cret == 0 {
282 return nil291 return nil
@@ -308,7 +317,11 @@ var xAboutWindowAddAcknowledgementSection func(uintptr, uintptr, []string)
308 // * [method@AboutWindow.add_credit_section]317 // * [method@AboutWindow.add_credit_section]
309 func (x *AboutWindow) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {318 func (x *AboutWindow) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {
310 319
311- xAboutWindowAddAcknowledgementSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar)320+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
321+
322+ xAboutWindowAddAcknowledgementSection(x.GoPointer(), NameVarPtr, PeopleVar)
323+
324+ runtime.KeepAlive(NameVarBytes)
312 325
313 }326 }
314 327
@@ -331,7 +344,11 @@ var xAboutWindowAddCreditSection func(uintptr, uintptr, []string)
331 // * [method@AboutWindow.add_acknowledgement_section]344 // * [method@AboutWindow.add_acknowledgement_section]
332 func (x *AboutWindow) AddCreditSection(NameVar *string, PeopleVar []string) {345 func (x *AboutWindow) AddCreditSection(NameVar *string, PeopleVar []string) {
333 346
334- xAboutWindowAddCreditSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar)347+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
348+
349+ xAboutWindowAddCreditSection(x.GoPointer(), NameVarPtr, PeopleVar)
350+
351+ runtime.KeepAlive(NameVarBytes)
335 352
336 }353 }
337 354
@@ -384,7 +401,15 @@ var xAboutWindowAddLegalSection func(uintptr, string, uintptr, gtk.License, uint
384 // ```401 // ```
385 func (x *AboutWindow) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {402 func (x *AboutWindow) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {
386 403
387- xAboutWindowAddLegalSection(x.GoPointer(), TitleVar, core.NullableStringToPtr(CopyrightVar), LicenseTypeVar, core.NullableStringToPtr(LicenseVar))404+ CopyrightVarPtr, CopyrightVarBytes := core.NullableStringToPtr(CopyrightVar)
405+
406+ LicenseVarPtr, LicenseVarBytes := core.NullableStringToPtr(LicenseVar)
407+
408+ xAboutWindowAddLegalSection(x.GoPointer(), TitleVar, CopyrightVarPtr, LicenseTypeVar, LicenseVarPtr)
409+
410+ runtime.KeepAlive(CopyrightVarBytes)
411+
412+ runtime.KeepAlive(LicenseVarBytes)
388 413
389 }414 }
390 415
@@ -409,6 +434,7 @@ var xAboutWindowGetApplicationIcon func(uintptr) string
409 func (x *AboutWindow) GetApplicationIcon() string {434 func (x *AboutWindow) GetApplicationIcon() string {
410 435
411 cret := xAboutWindowGetApplicationIcon(x.GoPointer())436 cret := xAboutWindowGetApplicationIcon(x.GoPointer())
437+
412 return cret438 return cret
413 }439 }
414 440
@@ -418,6 +444,7 @@ var xAboutWindowGetApplicationName func(uintptr) string
418 func (x *AboutWindow) GetApplicationName() string {444 func (x *AboutWindow) GetApplicationName() string {
419 445
420 cret := xAboutWindowGetApplicationName(x.GoPointer())446 cret := xAboutWindowGetApplicationName(x.GoPointer())
447+
421 return cret448 return cret
422 }449 }
423 450
@@ -427,6 +454,7 @@ var xAboutWindowGetArtists func(uintptr) []string
427 func (x *AboutWindow) GetArtists() []string {454 func (x *AboutWindow) GetArtists() []string {
428 455
429 cret := xAboutWindowGetArtists(x.GoPointer())456 cret := xAboutWindowGetArtists(x.GoPointer())
457+
430 return cret458 return cret
431 }459 }
432 460
@@ -436,6 +464,7 @@ var xAboutWindowGetComments func(uintptr) string
436 func (x *AboutWindow) GetComments() string {464 func (x *AboutWindow) GetComments() string {
437 465
438 cret := xAboutWindowGetComments(x.GoPointer())466 cret := xAboutWindowGetComments(x.GoPointer())
467+
439 return cret468 return cret
440 }469 }
441 470
@@ -445,6 +474,7 @@ var xAboutWindowGetCopyright func(uintptr) string
445 func (x *AboutWindow) GetCopyright() string {474 func (x *AboutWindow) GetCopyright() string {
446 475
447 cret := xAboutWindowGetCopyright(x.GoPointer())476 cret := xAboutWindowGetCopyright(x.GoPointer())
477+
448 return cret478 return cret
449 }479 }
450 480
@@ -454,6 +484,7 @@ var xAboutWindowGetDebugInfo func(uintptr) string
454 func (x *AboutWindow) GetDebugInfo() string {484 func (x *AboutWindow) GetDebugInfo() string {
455 485
456 cret := xAboutWindowGetDebugInfo(x.GoPointer())486 cret := xAboutWindowGetDebugInfo(x.GoPointer())
487+
457 return cret488 return cret
458 }489 }
459 490
@@ -463,6 +494,7 @@ var xAboutWindowGetDebugInfoFilename func(uintptr) string
463 func (x *AboutWindow) GetDebugInfoFilename() string {494 func (x *AboutWindow) GetDebugInfoFilename() string {
464 495
465 cret := xAboutWindowGetDebugInfoFilename(x.GoPointer())496 cret := xAboutWindowGetDebugInfoFilename(x.GoPointer())
497+
466 return cret498 return cret
467 }499 }
468 500
@@ -472,6 +504,7 @@ var xAboutWindowGetDesigners func(uintptr) []string
472 func (x *AboutWindow) GetDesigners() []string {504 func (x *AboutWindow) GetDesigners() []string {
473 505
474 cret := xAboutWindowGetDesigners(x.GoPointer())506 cret := xAboutWindowGetDesigners(x.GoPointer())
507+
475 return cret508 return cret
476 }509 }
477 510
@@ -481,6 +514,7 @@ var xAboutWindowGetDeveloperName func(uintptr) string
481 func (x *AboutWindow) GetDeveloperName() string {514 func (x *AboutWindow) GetDeveloperName() string {
482 515
483 cret := xAboutWindowGetDeveloperName(x.GoPointer())516 cret := xAboutWindowGetDeveloperName(x.GoPointer())
517+
484 return cret518 return cret
485 }519 }
486 520
@@ -490,6 +524,7 @@ var xAboutWindowGetDevelopers func(uintptr) []string
490 func (x *AboutWindow) GetDevelopers() []string {524 func (x *AboutWindow) GetDevelopers() []string {
491 525
492 cret := xAboutWindowGetDevelopers(x.GoPointer())526 cret := xAboutWindowGetDevelopers(x.GoPointer())
527+
493 return cret528 return cret
494 }529 }
495 530
@@ -499,6 +534,7 @@ var xAboutWindowGetDocumenters func(uintptr) []string
499 func (x *AboutWindow) GetDocumenters() []string {534 func (x *AboutWindow) GetDocumenters() []string {
500 535
501 cret := xAboutWindowGetDocumenters(x.GoPointer())536 cret := xAboutWindowGetDocumenters(x.GoPointer())
537+
502 return cret538 return cret
503 }539 }
504 540
@@ -508,6 +544,7 @@ var xAboutWindowGetIssueUrl func(uintptr) string
508 func (x *AboutWindow) GetIssueUrl() string {544 func (x *AboutWindow) GetIssueUrl() string {
509 545
510 cret := xAboutWindowGetIssueUrl(x.GoPointer())546 cret := xAboutWindowGetIssueUrl(x.GoPointer())
547+
511 return cret548 return cret
512 }549 }
513 550
@@ -517,6 +554,7 @@ var xAboutWindowGetLicense func(uintptr) string
517 func (x *AboutWindow) GetLicense() string {554 func (x *AboutWindow) GetLicense() string {
518 555
519 cret := xAboutWindowGetLicense(x.GoPointer())556 cret := xAboutWindowGetLicense(x.GoPointer())
557+
520 return cret558 return cret
521 }559 }
522 560
@@ -526,6 +564,7 @@ var xAboutWindowGetLicenseType func(uintptr) gtk.License
526 func (x *AboutWindow) GetLicenseType() gtk.License {564 func (x *AboutWindow) GetLicenseType() gtk.License {
527 565
528 cret := xAboutWindowGetLicenseType(x.GoPointer())566 cret := xAboutWindowGetLicenseType(x.GoPointer())
567+
529 return cret568 return cret
530 }569 }
531 570
@@ -535,6 +574,7 @@ var xAboutWindowGetReleaseNotes func(uintptr) string
535 func (x *AboutWindow) GetReleaseNotes() string {574 func (x *AboutWindow) GetReleaseNotes() string {
536 575
537 cret := xAboutWindowGetReleaseNotes(x.GoPointer())576 cret := xAboutWindowGetReleaseNotes(x.GoPointer())
577+
538 return cret578 return cret
539 }579 }
540 580
@@ -544,6 +584,7 @@ var xAboutWindowGetReleaseNotesVersion func(uintptr) string
544 func (x *AboutWindow) GetReleaseNotesVersion() string {584 func (x *AboutWindow) GetReleaseNotesVersion() string {
545 585
546 cret := xAboutWindowGetReleaseNotesVersion(x.GoPointer())586 cret := xAboutWindowGetReleaseNotesVersion(x.GoPointer())
587+
547 return cret588 return cret
548 }589 }
549 590
@@ -553,6 +594,7 @@ var xAboutWindowGetSupportUrl func(uintptr) string
553 func (x *AboutWindow) GetSupportUrl() string {594 func (x *AboutWindow) GetSupportUrl() string {
554 595
555 cret := xAboutWindowGetSupportUrl(x.GoPointer())596 cret := xAboutWindowGetSupportUrl(x.GoPointer())
597+
556 return cret598 return cret
557 }599 }
558 600
@@ -562,6 +604,7 @@ var xAboutWindowGetTranslatorCredits func(uintptr) string
562 func (x *AboutWindow) GetTranslatorCredits() string {604 func (x *AboutWindow) GetTranslatorCredits() string {
563 605
564 cret := xAboutWindowGetTranslatorCredits(x.GoPointer())606 cret := xAboutWindowGetTranslatorCredits(x.GoPointer())
607+
565 return cret608 return cret
566 }609 }
567 610
@@ -571,6 +614,7 @@ var xAboutWindowGetVersion func(uintptr) string
571 func (x *AboutWindow) GetVersion() string {614 func (x *AboutWindow) GetVersion() string {
572 615
573 cret := xAboutWindowGetVersion(x.GoPointer())616 cret := xAboutWindowGetVersion(x.GoPointer())
617+
574 return cret618 return cret
575 }619 }
576 620
@@ -580,6 +624,7 @@ var xAboutWindowGetWebsite func(uintptr) string
580 func (x *AboutWindow) GetWebsite() string {624 func (x *AboutWindow) GetWebsite() string {
581 625
582 cret := xAboutWindowGetWebsite(x.GoPointer())626 cret := xAboutWindowGetWebsite(x.GoPointer())
627+
583 return cret628 return cret
584 }629 }
585 630
@@ -1700,6 +1745,7 @@ func (x *AboutWindow) GetAccessibleParent() *gtk.AccessibleBase {
1700 func (x *AboutWindow) GetAccessibleRole() gtk.AccessibleRole {1745 func (x *AboutWindow) GetAccessibleRole() gtk.AccessibleRole {
1701 1746
1702 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())1747 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
1748+
1703 return cret1749 return cret
1704 }1750 }
1705 1751
@@ -1725,6 +1771,7 @@ func (x *AboutWindow) GetAtContext() *gtk.ATContext {
1725 func (x *AboutWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {1771 func (x *AboutWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1726 1772
1727 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)1773 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1774+
1728 return cret1775 return cret
1729 }1776 }
1730 1777
@@ -1764,6 +1811,7 @@ func (x *AboutWindow) GetNextAccessibleSibling() *gtk.AccessibleBase {
1764 func (x *AboutWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1811 func (x *AboutWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1765 1812
1766 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1813 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1814+
1767 return cret1815 return cret
1768 }1816 }
1769 1817
@@ -1940,6 +1988,7 @@ func (x *AboutWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
1940 func (x *AboutWindow) GetBuildableId() string {1988 func (x *AboutWindow) GetBuildableId() string {
1941 1989
1942 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1990 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1991+
1943 return cret1992 return cret
1944 }1993 }
1945 1994
M v4/adw/adw-action-row.go +22 -2
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -187,6 +188,7 @@ var xActionRowGetIconName func(uintptr) string
187 func (x *ActionRow) GetIconName() string {188 func (x *ActionRow) GetIconName() string {
188 189
189 cret := xActionRowGetIconName(x.GoPointer())190 cret := xActionRowGetIconName(x.GoPointer())
191+
190 return cret192 return cret
191 }193 }
192 194
@@ -196,6 +198,7 @@ var xActionRowGetSubtitle func(uintptr) string
196 func (x *ActionRow) GetSubtitle() string {198 func (x *ActionRow) GetSubtitle() string {
197 199
198 cret := xActionRowGetSubtitle(x.GoPointer())200 cret := xActionRowGetSubtitle(x.GoPointer())
201+
199 return cret202 return cret
200 }203 }
201 204
@@ -206,6 +209,7 @@ var xActionRowGetSubtitleLines func(uintptr) int
206 func (x *ActionRow) GetSubtitleLines() int {209 func (x *ActionRow) GetSubtitleLines() int {
207 210
208 cret := xActionRowGetSubtitleLines(x.GoPointer())211 cret := xActionRowGetSubtitleLines(x.GoPointer())
212+
209 return cret213 return cret
210 }214 }
211 215
@@ -215,6 +219,7 @@ var xActionRowGetSubtitleSelectable func(uintptr) bool
215 func (x *ActionRow) GetSubtitleSelectable() bool {219 func (x *ActionRow) GetSubtitleSelectable() bool {
216 220
217 cret := xActionRowGetSubtitleSelectable(x.GoPointer())221 cret := xActionRowGetSubtitleSelectable(x.GoPointer())
222+
218 return cret223 return cret
219 }224 }
220 225
@@ -225,6 +230,7 @@ var xActionRowGetTitleLines func(uintptr) int
225 func (x *ActionRow) GetTitleLines() int {230 func (x *ActionRow) GetTitleLines() int {
226 231
227 cret := xActionRowGetTitleLines(x.GoPointer())232 cret := xActionRowGetTitleLines(x.GoPointer())
233+
228 return cret234 return cret
229 }235 }
230 236
@@ -258,7 +264,11 @@ var xActionRowSetIconName func(uintptr, uintptr)
258 // Sets the icon name for @self.264 // Sets the icon name for @self.
259 func (x *ActionRow) SetIconName(IconNameVar *string) {265 func (x *ActionRow) SetIconName(IconNameVar *string) {
260 266
261- xActionRowSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))267+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
268+
269+ xActionRowSetIconName(x.GoPointer(), IconNameVarPtr)
270+
271+ runtime.KeepAlive(IconNameVarBytes)
262 272
263 }273 }
264 274
@@ -480,6 +490,7 @@ func (x *ActionRow) GetAccessibleParent() *gtk.AccessibleBase {
480 func (x *ActionRow) GetAccessibleRole() gtk.AccessibleRole {490 func (x *ActionRow) GetAccessibleRole() gtk.AccessibleRole {
481 491
482 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())492 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
493+
483 return cret494 return cret
484 }495 }
485 496
@@ -505,6 +516,7 @@ func (x *ActionRow) GetAtContext() *gtk.ATContext {
505 func (x *ActionRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {516 func (x *ActionRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
506 517
507 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)518 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
519+
508 return cret520 return cret
509 }521 }
510 522
@@ -544,6 +556,7 @@ func (x *ActionRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
544 func (x *ActionRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {556 func (x *ActionRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
545 557
546 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)558 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
559+
547 return cret560 return cret
548 }561 }
549 562
@@ -717,6 +730,7 @@ func (x *ActionRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
717 func (x *ActionRow) GetActionName() string {730 func (x *ActionRow) GetActionName() string {
718 731
719 cret := gtk.XGtkActionableGetActionName(x.GoPointer())732 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
733+
720 return cret734 return cret
721 }735 }
722 736
@@ -724,6 +738,7 @@ func (x *ActionRow) GetActionName() string {
724 func (x *ActionRow) GetActionTargetValue() *glib.Variant {738 func (x *ActionRow) GetActionTargetValue() *glib.Variant {
725 739
726 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())740 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
741+
727 return cret742 return cret
728 }743 }
729 744
@@ -742,7 +757,11 @@ func (x *ActionRow) GetActionTargetValue() *glib.Variant {
742 // associated with the window.757 // associated with the window.
743 func (x *ActionRow) SetActionName(ActionNameVar *string) {758 func (x *ActionRow) SetActionName(ActionNameVar *string) {
744 759
745- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))760+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
761+
762+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
763+
764+ runtime.KeepAlive(ActionNameVarBytes)
746 765
747 }766 }
748 767
@@ -803,6 +822,7 @@ func (x *ActionRow) SetDetailedActionName(DetailedActionNameVar string) {
803 func (x *ActionRow) GetBuildableId() string {822 func (x *ActionRow) GetBuildableId() string {
804 823
805 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())824 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
825+
806 return cret826 return cret
807 }827 }
808 828
M v4/adw/adw-alert-dialog.go +36 -3
@@ -3,6 +3,7 @@ package adw
3 3
4 import (4 import (
5 "fmt"5 "fmt"
6+ "runtime"
6 "structs"7 "structs"
7 "unsafe"8 "unsafe"
8 9
@@ -254,7 +255,15 @@ var xNewAlertDialog func(uintptr, uintptr) uintptr
254 func NewAlertDialog(HeadingVar *string, BodyVar *string) *AlertDialog {255 func NewAlertDialog(HeadingVar *string, BodyVar *string) *AlertDialog {
255 var cls *AlertDialog256 var cls *AlertDialog
256 257
257- cret := xNewAlertDialog(core.NullableStringToPtr(HeadingVar), core.NullableStringToPtr(BodyVar))258+ HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar)
259+
260+ BodyVarPtr, BodyVarBytes := core.NullableStringToPtr(BodyVar)
261+
262+ cret := xNewAlertDialog(HeadingVarPtr, BodyVarPtr)
263+
264+ runtime.KeepAlive(HeadingVarBytes)
265+
266+ runtime.KeepAlive(BodyVarBytes)
258 267
259 if cret == 0 {268 if cret == 0 {
260 return nil269 return nil
@@ -347,6 +356,7 @@ var xAlertDialogChooseFinish func(uintptr, uintptr) string
347 func (x *AlertDialog) ChooseFinish(ResultVar gio.AsyncResult) string {356 func (x *AlertDialog) ChooseFinish(ResultVar gio.AsyncResult) string {
348 357
349 cret := xAlertDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer())358 cret := xAlertDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer())
359+
350 return cret360 return cret
351 }361 }
352 362
@@ -412,6 +422,7 @@ var xAlertDialogGetBody func(uintptr) string
412 func (x *AlertDialog) GetBody() string {422 func (x *AlertDialog) GetBody() string {
413 423
414 cret := xAlertDialogGetBody(x.GoPointer())424 cret := xAlertDialogGetBody(x.GoPointer())
425+
415 return cret426 return cret
416 }427 }
417 428
@@ -421,6 +432,7 @@ var xAlertDialogGetBodyUseMarkup func(uintptr) bool
421 func (x *AlertDialog) GetBodyUseMarkup() bool {432 func (x *AlertDialog) GetBodyUseMarkup() bool {
422 433
423 cret := xAlertDialogGetBodyUseMarkup(x.GoPointer())434 cret := xAlertDialogGetBodyUseMarkup(x.GoPointer())
435+
424 return cret436 return cret
425 }437 }
426 438
@@ -430,6 +442,7 @@ var xAlertDialogGetCloseResponse func(uintptr) string
430 func (x *AlertDialog) GetCloseResponse() string {442 func (x *AlertDialog) GetCloseResponse() string {
431 443
432 cret := xAlertDialogGetCloseResponse(x.GoPointer())444 cret := xAlertDialogGetCloseResponse(x.GoPointer())
445+
433 return cret446 return cret
434 }447 }
435 448
@@ -439,6 +452,7 @@ var xAlertDialogGetDefaultResponse func(uintptr) string
439 func (x *AlertDialog) GetDefaultResponse() string {452 func (x *AlertDialog) GetDefaultResponse() string {
440 453
441 cret := xAlertDialogGetDefaultResponse(x.GoPointer())454 cret := xAlertDialogGetDefaultResponse(x.GoPointer())
455+
442 return cret456 return cret
443 }457 }
444 458
@@ -465,6 +479,7 @@ var xAlertDialogGetHeading func(uintptr) string
465 func (x *AlertDialog) GetHeading() string {479 func (x *AlertDialog) GetHeading() string {
466 480
467 cret := xAlertDialogGetHeading(x.GoPointer())481 cret := xAlertDialogGetHeading(x.GoPointer())
482+
468 return cret483 return cret
469 }484 }
470 485
@@ -474,6 +489,7 @@ var xAlertDialogGetHeadingUseMarkup func(uintptr) bool
474 func (x *AlertDialog) GetHeadingUseMarkup() bool {489 func (x *AlertDialog) GetHeadingUseMarkup() bool {
475 490
476 cret := xAlertDialogGetHeadingUseMarkup(x.GoPointer())491 cret := xAlertDialogGetHeadingUseMarkup(x.GoPointer())
492+
477 return cret493 return cret
478 }494 }
479 495
@@ -483,6 +499,7 @@ var xAlertDialogGetPreferWideLayout func(uintptr) bool
483 func (x *AlertDialog) GetPreferWideLayout() bool {499 func (x *AlertDialog) GetPreferWideLayout() bool {
484 500
485 cret := xAlertDialogGetPreferWideLayout(x.GoPointer())501 cret := xAlertDialogGetPreferWideLayout(x.GoPointer())
502+
486 return cret503 return cret
487 }504 }
488 505
@@ -494,6 +511,7 @@ var xAlertDialogGetResponseAppearance func(uintptr, string) ResponseAppearance
494 func (x *AlertDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance {511 func (x *AlertDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance {
495 512
496 cret := xAlertDialogGetResponseAppearance(x.GoPointer(), ResponseVar)513 cret := xAlertDialogGetResponseAppearance(x.GoPointer(), ResponseVar)
514+
497 return cret515 return cret
498 }516 }
499 517
@@ -505,6 +523,7 @@ var xAlertDialogGetResponseEnabled func(uintptr, string) bool
505 func (x *AlertDialog) GetResponseEnabled(ResponseVar string) bool {523 func (x *AlertDialog) GetResponseEnabled(ResponseVar string) bool {
506 524
507 cret := xAlertDialogGetResponseEnabled(x.GoPointer(), ResponseVar)525 cret := xAlertDialogGetResponseEnabled(x.GoPointer(), ResponseVar)
526+
508 return cret527 return cret
509 }528 }
510 529
@@ -516,6 +535,7 @@ var xAlertDialogGetResponseLabel func(uintptr, string) string
516 func (x *AlertDialog) GetResponseLabel(ResponseVar string) string {535 func (x *AlertDialog) GetResponseLabel(ResponseVar string) string {
517 536
518 cret := xAlertDialogGetResponseLabel(x.GoPointer(), ResponseVar)537 cret := xAlertDialogGetResponseLabel(x.GoPointer(), ResponseVar)
538+
519 return cret539 return cret
520 }540 }
521 541
@@ -525,6 +545,7 @@ var xAlertDialogHasResponse func(uintptr, string) bool
525 func (x *AlertDialog) HasResponse(ResponseVar string) bool {545 func (x *AlertDialog) HasResponse(ResponseVar string) bool {
526 546
527 cret := xAlertDialogHasResponse(x.GoPointer(), ResponseVar)547 cret := xAlertDialogHasResponse(x.GoPointer(), ResponseVar)
548+
528 return cret549 return cret
529 }550 }
530 551
@@ -586,7 +607,11 @@ var xAlertDialogSetDefaultResponse func(uintptr, uintptr)
586 // See [property@Dialog:default-widget].607 // See [property@Dialog:default-widget].
587 func (x *AlertDialog) SetDefaultResponse(ResponseVar *string) {608 func (x *AlertDialog) SetDefaultResponse(ResponseVar *string) {
588 609
589- xAlertDialogSetDefaultResponse(x.GoPointer(), core.NullableStringToPtr(ResponseVar))610+ ResponseVarPtr, ResponseVarBytes := core.NullableStringToPtr(ResponseVar)
611+
612+ xAlertDialogSetDefaultResponse(x.GoPointer(), ResponseVarPtr)
613+
614+ runtime.KeepAlive(ResponseVarBytes)
590 615
591 }616 }
592 617
@@ -606,7 +631,11 @@ var xAlertDialogSetHeading func(uintptr, uintptr)
606 // Sets the heading of @self.631 // Sets the heading of @self.
607 func (x *AlertDialog) SetHeading(HeadingVar *string) {632 func (x *AlertDialog) SetHeading(HeadingVar *string) {
608 633
609- xAlertDialogSetHeading(x.GoPointer(), core.NullableStringToPtr(HeadingVar))634+ HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar)
635+
636+ xAlertDialogSetHeading(x.GoPointer(), HeadingVarPtr)
637+
638+ runtime.KeepAlive(HeadingVarBytes)
610 639
611 }640 }
612 641
@@ -948,6 +977,7 @@ func (x *AlertDialog) GetAccessibleParent() *gtk.AccessibleBase {
948 func (x *AlertDialog) GetAccessibleRole() gtk.AccessibleRole {977 func (x *AlertDialog) GetAccessibleRole() gtk.AccessibleRole {
949 978
950 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())979 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
980+
951 return cret981 return cret
952 }982 }
953 983
@@ -973,6 +1003,7 @@ func (x *AlertDialog) GetAtContext() *gtk.ATContext {
973 func (x *AlertDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {1003 func (x *AlertDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
974 1004
975 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)1005 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1006+
976 return cret1007 return cret
977 }1008 }
978 1009
@@ -1012,6 +1043,7 @@ func (x *AlertDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
1012 func (x *AlertDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1043 func (x *AlertDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1013 1044
1014 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1045 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1046+
1015 return cret1047 return cret
1016 }1048 }
1017 1049
@@ -1188,6 +1220,7 @@ func (x *AlertDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
1188 func (x *AlertDialog) GetBuildableId() string {1220 func (x *AlertDialog) GetBuildableId() string {
1189 1221
1190 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1222 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1223+
1191 return cret1224 return cret
1192 }1225 }
1193 1226
M v4/adw/adw-animation-util.go +2 -0
@@ -16,6 +16,7 @@ var xGetEnableAnimations func(uintptr) bool
16 func GetEnableAnimations(WidgetVar *gtk.Widget) bool {16 func GetEnableAnimations(WidgetVar *gtk.Widget) bool {
17 17
18 cret := xGetEnableAnimations(WidgetVar.GoPointer())18 cret := xGetEnableAnimations(WidgetVar.GoPointer())
19+
19 return cret20 return cret
20 }21 }
21 22
@@ -25,6 +26,7 @@ var xLerp func(float64, float64, float64) float64
25 func Lerp(AVar float64, BVar float64, TVar float64) float64 {26 func Lerp(AVar float64, BVar float64, TVar float64) float64 {
26 27
27 cret := xLerp(AVar, BVar, TVar)28 cret := xLerp(AVar, BVar, TVar)
29+
28 return cret30 return cret
29 }31 }
30 32
M v4/adw/adw-animation.go +3 -0
@@ -124,6 +124,7 @@ var xAnimationGetFollowEnableAnimationsSetting func(uintptr) bool
124 func (x *Animation) GetFollowEnableAnimationsSetting() bool {124 func (x *Animation) GetFollowEnableAnimationsSetting() bool {
125 125
126 cret := xAnimationGetFollowEnableAnimationsSetting(x.GoPointer())126 cret := xAnimationGetFollowEnableAnimationsSetting(x.GoPointer())
127+
127 return cret128 return cret
128 }129 }
129 130
@@ -136,6 +137,7 @@ var xAnimationGetState func(uintptr) AnimationState
136 func (x *Animation) GetState() AnimationState {137 func (x *Animation) GetState() AnimationState {
137 138
138 cret := xAnimationGetState(x.GoPointer())139 cret := xAnimationGetState(x.GoPointer())
140+
139 return cret141 return cret
140 }142 }
141 143
@@ -162,6 +164,7 @@ var xAnimationGetValue func(uintptr) float64
162 func (x *Animation) GetValue() float64 {164 func (x *Animation) GetValue() float64 {
163 165
164 cret := xAnimationGetValue(x.GoPointer())166 cret := xAnimationGetValue(x.GoPointer())
167+
165 return cret168 return cret
166 }169 }
167 170
M v4/adw/adw-application-window.go +13 -0
@@ -111,6 +111,7 @@ var xApplicationWindowGetAdaptivePreview func(uintptr) bool
111 func (x *ApplicationWindow) GetAdaptivePreview() bool {111 func (x *ApplicationWindow) GetAdaptivePreview() bool {
112 112
113 cret := xApplicationWindowGetAdaptivePreview(x.GoPointer())113 cret := xApplicationWindowGetAdaptivePreview(x.GoPointer())
114+
114 return cret115 return cret
115 }116 }
116 117
@@ -356,6 +357,7 @@ func (x *ApplicationWindow) ChangeActionState(ActionNameVar string, ValueVar *gl
356 func (x *ApplicationWindow) GetActionEnabled(ActionNameVar string) bool {357 func (x *ApplicationWindow) GetActionEnabled(ActionNameVar string) bool {
357 358
358 cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)359 cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
360+
359 return cret361 return cret
360 }362 }
361 363
@@ -375,6 +377,7 @@ func (x *ApplicationWindow) GetActionEnabled(ActionNameVar string) bool {
375 func (x *ApplicationWindow) GetActionParameterType(ActionNameVar string) *glib.VariantType {377 func (x *ApplicationWindow) GetActionParameterType(ActionNameVar string) *glib.VariantType {
376 378
377 cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)379 cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
380+
378 return cret381 return cret
379 }382 }
380 383
@@ -389,6 +392,7 @@ func (x *ApplicationWindow) GetActionParameterType(ActionNameVar string) *glib.V
389 func (x *ApplicationWindow) GetActionState(ActionNameVar string) *glib.Variant {392 func (x *ApplicationWindow) GetActionState(ActionNameVar string) *glib.Variant {
390 393
391 cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)394 cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
395+
392 return cret396 return cret
393 }397 }
394 398
@@ -413,6 +417,7 @@ func (x *ApplicationWindow) GetActionState(ActionNameVar string) *glib.Variant {
413 func (x *ApplicationWindow) GetActionStateHint(ActionNameVar string) *glib.Variant {417 func (x *ApplicationWindow) GetActionStateHint(ActionNameVar string) *glib.Variant {
414 418
415 cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)419 cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
420+
416 return cret421 return cret
417 }422 }
418 423
@@ -435,6 +440,7 @@ func (x *ApplicationWindow) GetActionStateHint(ActionNameVar string) *glib.Varia
435 func (x *ApplicationWindow) GetActionStateType(ActionNameVar string) *glib.VariantType {440 func (x *ApplicationWindow) GetActionStateType(ActionNameVar string) *glib.VariantType {
436 441
437 cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)442 cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
443+
438 return cret444 return cret
439 }445 }
440 446
@@ -442,6 +448,7 @@ func (x *ApplicationWindow) GetActionStateType(ActionNameVar string) *glib.Varia
442 func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {448 func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {
443 449
444 cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar)450 cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
451+
445 return cret452 return cret
446 }453 }
447 454
@@ -452,6 +459,7 @@ func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {
452 func (x *ApplicationWindow) ListActions() []string {459 func (x *ApplicationWindow) ListActions() []string {
453 460
454 cret := gio.XGActionGroupListActions(x.GoPointer())461 cret := gio.XGActionGroupListActions(x.GoPointer())
462+
455 return cret463 return cret
456 }464 }
457 465
@@ -485,6 +493,7 @@ func (x *ApplicationWindow) ListActions() []string {
485 func (x *ApplicationWindow) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {493 func (x *ApplicationWindow) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
486 494
487 cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)495 cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
496+
488 return cret497 return cret
489 }498 }
490 499
@@ -641,6 +650,7 @@ func (x *ApplicationWindow) GetAccessibleParent() *gtk.AccessibleBase {
641 func (x *ApplicationWindow) GetAccessibleRole() gtk.AccessibleRole {650 func (x *ApplicationWindow) GetAccessibleRole() gtk.AccessibleRole {
642 651
643 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())652 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
653+
644 return cret654 return cret
645 }655 }
646 656
@@ -666,6 +676,7 @@ func (x *ApplicationWindow) GetAtContext() *gtk.ATContext {
666 func (x *ApplicationWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {676 func (x *ApplicationWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
667 677
668 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)678 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
679+
669 return cret680 return cret
670 }681 }
671 682
@@ -705,6 +716,7 @@ func (x *ApplicationWindow) GetNextAccessibleSibling() *gtk.AccessibleBase {
705 func (x *ApplicationWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {716 func (x *ApplicationWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
706 717
707 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)718 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
719+
708 return cret720 return cret
709 }721 }
710 722
@@ -881,6 +893,7 @@ func (x *ApplicationWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc
881 func (x *ApplicationWindow) GetBuildableId() string {893 func (x *ApplicationWindow) GetBuildableId() string {
882 894
883 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())895 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
896+
884 return cret897 return cret
885 }898 }
886 899
M v4/adw/adw-application.go +14 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -98,7 +99,11 @@ var xNewApplication func(uintptr, gio.ApplicationFlags) uintptr
98 func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application {99 func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application {
99 var cls *Application100 var cls *Application
100 101
101- cret := xNewApplication(core.NullableStringToPtr(ApplicationIdVar), FlagsVar)102+ ApplicationIdVarPtr, ApplicationIdVarBytes := core.NullableStringToPtr(ApplicationIdVar)
103+
104+ cret := xNewApplication(ApplicationIdVarPtr, FlagsVar)
105+
106+ runtime.KeepAlive(ApplicationIdVarBytes)
102 107
103 if cret == 0 {108 if cret == 0 {
104 return nil109 return nil
@@ -238,6 +243,7 @@ func (x *Application) ChangeActionState(ActionNameVar string, ValueVar *glib.Var
238 func (x *Application) GetActionEnabled(ActionNameVar string) bool {243 func (x *Application) GetActionEnabled(ActionNameVar string) bool {
239 244
240 cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)245 cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
246+
241 return cret247 return cret
242 }248 }
243 249
@@ -257,6 +263,7 @@ func (x *Application) GetActionEnabled(ActionNameVar string) bool {
257 func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType {263 func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType {
258 264
259 cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)265 cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
266+
260 return cret267 return cret
261 }268 }
262 269
@@ -271,6 +278,7 @@ func (x *Application) GetActionParameterType(ActionNameVar string) *glib.Variant
271 func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {278 func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {
272 279
273 cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)280 cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
281+
274 return cret282 return cret
275 }283 }
276 284
@@ -295,6 +303,7 @@ func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {
295 func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {303 func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {
296 304
297 cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)305 cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
306+
298 return cret307 return cret
299 }308 }
300 309
@@ -317,6 +326,7 @@ func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {
317 func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType {326 func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType {
318 327
319 cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)328 cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
329+
320 return cret330 return cret
321 }331 }
322 332
@@ -324,6 +334,7 @@ func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType
324 func (x *Application) HasAction(ActionNameVar string) bool {334 func (x *Application) HasAction(ActionNameVar string) bool {
325 335
326 cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar)336 cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
337+
327 return cret338 return cret
328 }339 }
329 340
@@ -334,6 +345,7 @@ func (x *Application) HasAction(ActionNameVar string) bool {
334 func (x *Application) ListActions() []string {345 func (x *Application) ListActions() []string {
335 346
336 cret := gio.XGActionGroupListActions(x.GoPointer())347 cret := gio.XGActionGroupListActions(x.GoPointer())
348+
337 return cret349 return cret
338 }350 }
339 351
@@ -367,6 +379,7 @@ func (x *Application) ListActions() []string {
367 func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {379 func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
368 380
369 cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)381 cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
382+
370 return cret383 return cret
371 }384 }
372 385
M v4/adw/adw-avatar.go +24 -3
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -74,7 +75,11 @@ var xNewAvatar func(int, uintptr, bool) uintptr
74 func NewAvatar(SizeVar int, TextVar *string, ShowInitialsVar bool) *Avatar {75 func NewAvatar(SizeVar int, TextVar *string, ShowInitialsVar bool) *Avatar {
75 var cls *Avatar76 var cls *Avatar
76 77
77- cret := xNewAvatar(SizeVar, core.NullableStringToPtr(TextVar), ShowInitialsVar)78+ TextVarPtr, TextVarBytes := core.NullableStringToPtr(TextVar)
79+
80+ cret := xNewAvatar(SizeVar, TextVarPtr, ShowInitialsVar)
81+
82+ runtime.KeepAlive(TextVarBytes)
78 83
79 if cret == 0 {84 if cret == 0 {
80 return nil85 return nil
@@ -126,6 +131,7 @@ var xAvatarGetIconName func(uintptr) string
126 func (x *Avatar) GetIconName() string {131 func (x *Avatar) GetIconName() string {
127 132
128 cret := xAvatarGetIconName(x.GoPointer())133 cret := xAvatarGetIconName(x.GoPointer())
134+
129 return cret135 return cret
130 }136 }
131 137
@@ -135,6 +141,7 @@ var xAvatarGetShowInitials func(uintptr) bool
135 func (x *Avatar) GetShowInitials() bool {141 func (x *Avatar) GetShowInitials() bool {
136 142
137 cret := xAvatarGetShowInitials(x.GoPointer())143 cret := xAvatarGetShowInitials(x.GoPointer())
144+
138 return cret145 return cret
139 }146 }
140 147
@@ -144,6 +151,7 @@ var xAvatarGetSize func(uintptr) int
144 func (x *Avatar) GetSize() int {151 func (x *Avatar) GetSize() int {
145 152
146 cret := xAvatarGetSize(x.GoPointer())153 cret := xAvatarGetSize(x.GoPointer())
154+
147 return cret155 return cret
148 }156 }
149 157
@@ -153,6 +161,7 @@ var xAvatarGetText func(uintptr) string
153 func (x *Avatar) GetText() string {161 func (x *Avatar) GetText() string {
154 162
155 cret := xAvatarGetText(x.GoPointer())163 cret := xAvatarGetText(x.GoPointer())
164+
156 return cret165 return cret
157 }166 }
158 167
@@ -174,7 +183,11 @@ var xAvatarSetIconName func(uintptr, uintptr)
174 // If no name is set, `avatar-default-symbolic` will be used.183 // If no name is set, `avatar-default-symbolic` will be used.
175 func (x *Avatar) SetIconName(IconNameVar *string) {184 func (x *Avatar) SetIconName(IconNameVar *string) {
176 185
177- xAvatarSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))186+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
187+
188+ xAvatarSetIconName(x.GoPointer(), IconNameVarPtr)
189+
190+ runtime.KeepAlive(IconNameVarBytes)
178 191
179 }192 }
180 193
@@ -206,7 +219,11 @@ var xAvatarSetText func(uintptr, uintptr)
206 // `FALSE`.219 // `FALSE`.
207 func (x *Avatar) SetText(TextVar *string) {220 func (x *Avatar) SetText(TextVar *string) {
208 221
209- xAvatarSetText(x.GoPointer(), core.NullableStringToPtr(TextVar))222+ TextVarPtr, TextVarBytes := core.NullableStringToPtr(TextVar)
223+
224+ xAvatarSetText(x.GoPointer(), TextVarPtr)
225+
226+ runtime.KeepAlive(TextVarBytes)
210 227
211 }228 }
212 229
@@ -338,6 +355,7 @@ func (x *Avatar) GetAccessibleParent() *gtk.AccessibleBase {
338 func (x *Avatar) GetAccessibleRole() gtk.AccessibleRole {355 func (x *Avatar) GetAccessibleRole() gtk.AccessibleRole {
339 356
340 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())357 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
358+
341 return cret359 return cret
342 }360 }
343 361
@@ -363,6 +381,7 @@ func (x *Avatar) GetAtContext() *gtk.ATContext {
363 func (x *Avatar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {381 func (x *Avatar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
364 382
365 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)383 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
384+
366 return cret385 return cret
367 }386 }
368 387
@@ -402,6 +421,7 @@ func (x *Avatar) GetNextAccessibleSibling() *gtk.AccessibleBase {
402 func (x *Avatar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {421 func (x *Avatar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
403 422
404 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)423 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
424+
405 return cret425 return cret
406 }426 }
407 427
@@ -578,6 +598,7 @@ func (x *Avatar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
578 func (x *Avatar) GetBuildableId() string {598 func (x *Avatar) GetBuildableId() string {
579 599
580 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())600 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
601+
581 return cret602 return cret
582 }603 }
583 604
M v4/adw/adw-banner.go +22 -2
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -115,6 +116,7 @@ var xBannerGetButtonLabel func(uintptr) string
115 func (x *Banner) GetButtonLabel() string {116 func (x *Banner) GetButtonLabel() string {
116 117
117 cret := xBannerGetButtonLabel(x.GoPointer())118 cret := xBannerGetButtonLabel(x.GoPointer())
119+
118 return cret120 return cret
119 }121 }
120 122
@@ -124,6 +126,7 @@ var xBannerGetButtonStyle func(uintptr) BannerButtonStyle
124 func (x *Banner) GetButtonStyle() BannerButtonStyle {126 func (x *Banner) GetButtonStyle() BannerButtonStyle {
125 127
126 cret := xBannerGetButtonStyle(x.GoPointer())128 cret := xBannerGetButtonStyle(x.GoPointer())
129+
127 return cret130 return cret
128 }131 }
129 132
@@ -133,6 +136,7 @@ var xBannerGetRevealed func(uintptr) bool
133 func (x *Banner) GetRevealed() bool {136 func (x *Banner) GetRevealed() bool {
134 137
135 cret := xBannerGetRevealed(x.GoPointer())138 cret := xBannerGetRevealed(x.GoPointer())
139+
136 return cret140 return cret
137 }141 }
138 142
@@ -142,6 +146,7 @@ var xBannerGetTitle func(uintptr) string
142 func (x *Banner) GetTitle() string {146 func (x *Banner) GetTitle() string {
143 147
144 cret := xBannerGetTitle(x.GoPointer())148 cret := xBannerGetTitle(x.GoPointer())
149+
145 return cret150 return cret
146 }151 }
147 152
@@ -151,6 +156,7 @@ var xBannerGetUseMarkup func(uintptr) bool
151 func (x *Banner) GetUseMarkup() bool {156 func (x *Banner) GetUseMarkup() bool {
152 157
153 cret := xBannerGetUseMarkup(x.GoPointer())158 cret := xBannerGetUseMarkup(x.GoPointer())
159+
154 return cret160 return cret
155 }161 }
156 162
@@ -164,7 +170,11 @@ var xBannerSetButtonLabel func(uintptr, uintptr)
164 // [signal@Banner::button-clicked] signal.170 // [signal@Banner::button-clicked] signal.
165 func (x *Banner) SetButtonLabel(LabelVar *string) {171 func (x *Banner) SetButtonLabel(LabelVar *string) {
166 172
167- xBannerSetButtonLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))173+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
174+
175+ xBannerSetButtonLabel(x.GoPointer(), LabelVarPtr)
176+
177+ runtime.KeepAlive(LabelVarBytes)
168 178
169 }179 }
170 180
@@ -372,6 +382,7 @@ func (x *Banner) GetAccessibleParent() *gtk.AccessibleBase {
372 func (x *Banner) GetAccessibleRole() gtk.AccessibleRole {382 func (x *Banner) GetAccessibleRole() gtk.AccessibleRole {
373 383
374 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())384 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
385+
375 return cret386 return cret
376 }387 }
377 388
@@ -397,6 +408,7 @@ func (x *Banner) GetAtContext() *gtk.ATContext {
397 func (x *Banner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {408 func (x *Banner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
398 409
399 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)410 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
411+
400 return cret412 return cret
401 }413 }
402 414
@@ -436,6 +448,7 @@ func (x *Banner) GetNextAccessibleSibling() *gtk.AccessibleBase {
436 func (x *Banner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {448 func (x *Banner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
437 449
438 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)450 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
451+
439 return cret452 return cret
440 }453 }
441 454
@@ -609,6 +622,7 @@ func (x *Banner) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
609 func (x *Banner) GetActionName() string {622 func (x *Banner) GetActionName() string {
610 623
611 cret := gtk.XGtkActionableGetActionName(x.GoPointer())624 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
625+
612 return cret626 return cret
613 }627 }
614 628
@@ -616,6 +630,7 @@ func (x *Banner) GetActionName() string {
616 func (x *Banner) GetActionTargetValue() *glib.Variant {630 func (x *Banner) GetActionTargetValue() *glib.Variant {
617 631
618 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())632 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
633+
619 return cret634 return cret
620 }635 }
621 636
@@ -634,7 +649,11 @@ func (x *Banner) GetActionTargetValue() *glib.Variant {
634 // associated with the window.649 // associated with the window.
635 func (x *Banner) SetActionName(ActionNameVar *string) {650 func (x *Banner) SetActionName(ActionNameVar *string) {
636 651
637- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))652+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
653+
654+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
655+
656+ runtime.KeepAlive(ActionNameVarBytes)
638 657
639 }658 }
640 659
@@ -695,6 +714,7 @@ func (x *Banner) SetDetailedActionName(DetailedActionNameVar string) {
695 func (x *Banner) GetBuildableId() string {714 func (x *Banner) GetBuildableId() string {
696 715
697 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())716 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
717+
698 return cret718 return cret
699 }719 }
700 720
M v4/adw/adw-bin.go +4 -0
@@ -141,6 +141,7 @@ func (x *Bin) GetAccessibleParent() *gtk.AccessibleBase {
141 func (x *Bin) GetAccessibleRole() gtk.AccessibleRole {141 func (x *Bin) GetAccessibleRole() gtk.AccessibleRole {
142 142
143 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())143 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
144+
144 return cret145 return cret
145 }146 }
146 147
@@ -166,6 +167,7 @@ func (x *Bin) GetAtContext() *gtk.ATContext {
166 func (x *Bin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {167 func (x *Bin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
167 168
168 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)169 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
170+
169 return cret171 return cret
170 }172 }
171 173
@@ -205,6 +207,7 @@ func (x *Bin) GetNextAccessibleSibling() *gtk.AccessibleBase {
205 func (x *Bin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {207 func (x *Bin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
206 208
207 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)209 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
210+
208 return cret211 return cret
209 }212 }
210 213
@@ -381,6 +384,7 @@ func (x *Bin) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState,
381 func (x *Bin) GetBuildableId() string {384 func (x *Bin) GetBuildableId() string {
382 385
383 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())386 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
387+
384 return cret388 return cret
385 }389 }
386 390
M v4/adw/adw-bottom-sheet.go +18 -0
@@ -137,6 +137,7 @@ var xBottomSheetGetAlign func(uintptr) float32
137 func (x *BottomSheet) GetAlign() float32 {137 func (x *BottomSheet) GetAlign() float32 {
138 138
139 cret := xBottomSheetGetAlign(x.GoPointer())139 cret := xBottomSheetGetAlign(x.GoPointer())
140+
140 return cret141 return cret
141 }142 }
142 143
@@ -166,6 +167,7 @@ var xBottomSheetGetBottomBarHeight func(uintptr) int
166 func (x *BottomSheet) GetBottomBarHeight() int {167 func (x *BottomSheet) GetBottomBarHeight() int {
167 168
168 cret := xBottomSheetGetBottomBarHeight(x.GoPointer())169 cret := xBottomSheetGetBottomBarHeight(x.GoPointer())
170+
169 return cret171 return cret
170 }172 }
171 173
@@ -175,6 +177,7 @@ var xBottomSheetGetCanClose func(uintptr) bool
175 func (x *BottomSheet) GetCanClose() bool {177 func (x *BottomSheet) GetCanClose() bool {
176 178
177 cret := xBottomSheetGetCanClose(x.GoPointer())179 cret := xBottomSheetGetCanClose(x.GoPointer())
180+
178 return cret181 return cret
179 }182 }
180 183
@@ -184,6 +187,7 @@ var xBottomSheetGetCanOpen func(uintptr) bool
184 func (x *BottomSheet) GetCanOpen() bool {187 func (x *BottomSheet) GetCanOpen() bool {
185 188
186 cret := xBottomSheetGetCanOpen(x.GoPointer())189 cret := xBottomSheetGetCanOpen(x.GoPointer())
190+
187 return cret191 return cret
188 }192 }
189 193
@@ -210,6 +214,7 @@ var xBottomSheetGetFullWidth func(uintptr) bool
210 func (x *BottomSheet) GetFullWidth() bool {214 func (x *BottomSheet) GetFullWidth() bool {
211 215
212 cret := xBottomSheetGetFullWidth(x.GoPointer())216 cret := xBottomSheetGetFullWidth(x.GoPointer())
217+
213 return cret218 return cret
214 }219 }
215 220
@@ -219,6 +224,7 @@ var xBottomSheetGetModal func(uintptr) bool
219 func (x *BottomSheet) GetModal() bool {224 func (x *BottomSheet) GetModal() bool {
220 225
221 cret := xBottomSheetGetModal(x.GoPointer())226 cret := xBottomSheetGetModal(x.GoPointer())
227+
222 return cret228 return cret
223 }229 }
224 230
@@ -228,6 +234,7 @@ var xBottomSheetGetOpen func(uintptr) bool
228 func (x *BottomSheet) GetOpen() bool {234 func (x *BottomSheet) GetOpen() bool {
229 235
230 cret := xBottomSheetGetOpen(x.GoPointer())236 cret := xBottomSheetGetOpen(x.GoPointer())
237+
231 return cret238 return cret
232 }239 }
233 240
@@ -237,6 +244,7 @@ var xBottomSheetGetRevealBottomBar func(uintptr) bool
237 func (x *BottomSheet) GetRevealBottomBar() bool {244 func (x *BottomSheet) GetRevealBottomBar() bool {
238 245
239 cret := xBottomSheetGetRevealBottomBar(x.GoPointer())246 cret := xBottomSheetGetRevealBottomBar(x.GoPointer())
247+
240 return cret248 return cret
241 }249 }
242 250
@@ -265,6 +273,7 @@ var xBottomSheetGetSheetHeight func(uintptr) int
265 func (x *BottomSheet) GetSheetHeight() int {273 func (x *BottomSheet) GetSheetHeight() int {
266 274
267 cret := xBottomSheetGetSheetHeight(x.GoPointer())275 cret := xBottomSheetGetSheetHeight(x.GoPointer())
276+
268 return cret277 return cret
269 }278 }
270 279
@@ -274,6 +283,7 @@ var xBottomSheetGetShowDragHandle func(uintptr) bool
274 func (x *BottomSheet) GetShowDragHandle() bool {283 func (x *BottomSheet) GetShowDragHandle() bool {
275 284
276 cret := xBottomSheetGetShowDragHandle(x.GoPointer())285 cret := xBottomSheetGetShowDragHandle(x.GoPointer())
286+
277 return cret287 return cret
278 }288 }
279 289
@@ -690,6 +700,7 @@ func (x *BottomSheet) ConnectCloseAttempt(cb *func(BottomSheet)) uint32 {
690 func (x *BottomSheet) GetCancelProgress() float64 {700 func (x *BottomSheet) GetCancelProgress() float64 {
691 701
692 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())702 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
703+
693 return cret704 return cret
694 }705 }
695 706
@@ -699,6 +710,7 @@ func (x *BottomSheet) GetCancelProgress() float64 {
699 func (x *BottomSheet) GetDistance() float64 {710 func (x *BottomSheet) GetDistance() float64 {
700 711
701 cret := XAdwSwipeableGetDistance(x.GoPointer())712 cret := XAdwSwipeableGetDistance(x.GoPointer())
713+
702 return cret714 return cret
703 }715 }
704 716
@@ -706,6 +718,7 @@ func (x *BottomSheet) GetDistance() float64 {
706 func (x *BottomSheet) GetProgress() float64 {718 func (x *BottomSheet) GetProgress() float64 {
707 719
708 cret := XAdwSwipeableGetProgress(x.GoPointer())720 cret := XAdwSwipeableGetProgress(x.GoPointer())
721+
709 return cret722 return cret
710 }723 }
711 724
@@ -716,6 +729,7 @@ func (x *BottomSheet) GetProgress() float64 {
716 func (x *BottomSheet) GetSnapPoints(NSnapPointsVar *int) uintptr {729 func (x *BottomSheet) GetSnapPoints(NSnapPointsVar *int) uintptr {
717 730
718 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)731 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
732+
719 return cret733 return cret
720 }734 }
721 735
@@ -769,6 +783,7 @@ func (x *BottomSheet) GetAccessibleParent() *gtk.AccessibleBase {
769 func (x *BottomSheet) GetAccessibleRole() gtk.AccessibleRole {783 func (x *BottomSheet) GetAccessibleRole() gtk.AccessibleRole {
770 784
771 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())785 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
786+
772 return cret787 return cret
773 }788 }
774 789
@@ -794,6 +809,7 @@ func (x *BottomSheet) GetAtContext() *gtk.ATContext {
794 func (x *BottomSheet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {809 func (x *BottomSheet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
795 810
796 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)811 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
812+
797 return cret813 return cret
798 }814 }
799 815
@@ -833,6 +849,7 @@ func (x *BottomSheet) GetNextAccessibleSibling() *gtk.AccessibleBase {
833 func (x *BottomSheet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {849 func (x *BottomSheet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
834 850
835 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)851 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
852+
836 return cret853 return cret
837 }854 }
838 855
@@ -1009,6 +1026,7 @@ func (x *BottomSheet) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
1009 func (x *BottomSheet) GetBuildableId() string {1026 func (x *BottomSheet) GetBuildableId() string {
1010 1027
1011 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1028 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1029+
1012 return cret1030 return cret
1013 }1031 }
1014 1032
M v4/adw/adw-breakpoint-bin.go +4 -0
@@ -281,6 +281,7 @@ func (x *BreakpointBin) GetAccessibleParent() *gtk.AccessibleBase {
281 func (x *BreakpointBin) GetAccessibleRole() gtk.AccessibleRole {281 func (x *BreakpointBin) GetAccessibleRole() gtk.AccessibleRole {
282 282
283 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())283 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
284+
284 return cret285 return cret
285 }286 }
286 287
@@ -306,6 +307,7 @@ func (x *BreakpointBin) GetAtContext() *gtk.ATContext {
306 func (x *BreakpointBin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {307 func (x *BreakpointBin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
307 308
308 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)309 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
310+
309 return cret311 return cret
310 }312 }
311 313
@@ -345,6 +347,7 @@ func (x *BreakpointBin) GetNextAccessibleSibling() *gtk.AccessibleBase {
345 func (x *BreakpointBin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {347 func (x *BreakpointBin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
346 348
347 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)349 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
350+
348 return cret351 return cret
349 }352 }
350 353
@@ -521,6 +524,7 @@ func (x *BreakpointBin) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi
521 func (x *BreakpointBin) GetBuildableId() string {524 func (x *BreakpointBin) GetBuildableId() string {
522 525
523 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())526 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
527+
524 return cret528 return cret
525 }529 }
526 530
M v4/adw/adw-breakpoint.go +9 -0
@@ -45,6 +45,7 @@ var xNewBreakpointConditionAnd func(*BreakpointCondition, *BreakpointCondition)
45 func NewBreakpointConditionAnd(Condition1Var *BreakpointCondition, Condition2Var *BreakpointCondition) *BreakpointCondition {45 func NewBreakpointConditionAnd(Condition1Var *BreakpointCondition, Condition2Var *BreakpointCondition) *BreakpointCondition {
46 46
47 cret := xNewBreakpointConditionAnd(Condition1Var, Condition2Var)47 cret := xNewBreakpointConditionAnd(Condition1Var, Condition2Var)
48+
48 return cret49 return cret
49 }50 }
50 51
@@ -54,6 +55,7 @@ var xNewBreakpointConditionLength func(BreakpointConditionLengthType, float64, L
54 func NewBreakpointConditionLength(TypeVar BreakpointConditionLengthType, ValueVar float64, UnitVar LengthUnit) *BreakpointCondition {55 func NewBreakpointConditionLength(TypeVar BreakpointConditionLengthType, ValueVar float64, UnitVar LengthUnit) *BreakpointCondition {
55 56
56 cret := xNewBreakpointConditionLength(TypeVar, ValueVar, UnitVar)57 cret := xNewBreakpointConditionLength(TypeVar, ValueVar, UnitVar)
58+
57 return cret59 return cret
58 }60 }
59 61
@@ -64,6 +66,7 @@ var xNewBreakpointConditionOr func(*BreakpointCondition, *BreakpointCondition) *
64 func NewBreakpointConditionOr(Condition1Var *BreakpointCondition, Condition2Var *BreakpointCondition) *BreakpointCondition {66 func NewBreakpointConditionOr(Condition1Var *BreakpointCondition, Condition2Var *BreakpointCondition) *BreakpointCondition {
65 67
66 cret := xNewBreakpointConditionOr(Condition1Var, Condition2Var)68 cret := xNewBreakpointConditionOr(Condition1Var, Condition2Var)
69+
67 return cret70 return cret
68 }71 }
69 72
@@ -75,6 +78,7 @@ var xNewBreakpointConditionRatio func(BreakpointConditionRatioType, int, int) *B
75 func NewBreakpointConditionRatio(TypeVar BreakpointConditionRatioType, WidthVar int, HeightVar int) *BreakpointCondition {78 func NewBreakpointConditionRatio(TypeVar BreakpointConditionRatioType, WidthVar int, HeightVar int) *BreakpointCondition {
76 79
77 cret := xNewBreakpointConditionRatio(TypeVar, WidthVar, HeightVar)80 cret := xNewBreakpointConditionRatio(TypeVar, WidthVar, HeightVar)
81+
78 return cret82 return cret
79 }83 }
80 84
@@ -84,6 +88,7 @@ var xBreakpointConditionCopy func(uintptr) *BreakpointCondition
84 func (x *BreakpointCondition) Copy() *BreakpointCondition {88 func (x *BreakpointCondition) Copy() *BreakpointCondition {
85 89
86 cret := xBreakpointConditionCopy(x.GoPointer())90 cret := xBreakpointConditionCopy(x.GoPointer())
91+
87 return cret92 return cret
88 }93 }
89 94
@@ -104,6 +109,7 @@ var xBreakpointConditionToString func(uintptr) string
104 func (x *BreakpointCondition) ToString() string {109 func (x *BreakpointCondition) ToString() string {
105 110
106 cret := xBreakpointConditionToString(x.GoPointer())111 cret := xBreakpointConditionToString(x.GoPointer())
112+
107 return cret113 return cret
108 }114 }
109 115
@@ -219,6 +225,7 @@ var xBreakpointConditionParse func(string) *BreakpointCondition
219 func BreakpointConditionParse(StrVar string) *BreakpointCondition {225 func BreakpointConditionParse(StrVar string) *BreakpointCondition {
220 226
221 cret := xBreakpointConditionParse(StrVar)227 cret := xBreakpointConditionParse(StrVar)
228+
222 return cret229 return cret
223 }230 }
224 231
@@ -408,6 +415,7 @@ var xBreakpointGetCondition func(uintptr) *BreakpointCondition
408 func (x *Breakpoint) GetCondition() *BreakpointCondition {415 func (x *Breakpoint) GetCondition() *BreakpointCondition {
409 416
410 cret := xBreakpointGetCondition(x.GoPointer())417 cret := xBreakpointGetCondition(x.GoPointer())
418+
411 return cret419 return cret
412 }420 }
413 421
@@ -499,6 +507,7 @@ func (x *Breakpoint) ConnectUnapply(cb *func(Breakpoint)) uint32 {
499 func (x *Breakpoint) GetBuildableId() string {507 func (x *Breakpoint) GetBuildableId() string {
500 508
501 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())509 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
510+
502 return cret511 return cret
503 }512 }
504 513
M v4/adw/adw-button-content.go +8 -0
@@ -114,6 +114,7 @@ var xButtonContentGetCanShrink func(uintptr) bool
114 func (x *ButtonContent) GetCanShrink() bool {114 func (x *ButtonContent) GetCanShrink() bool {
115 115
116 cret := xButtonContentGetCanShrink(x.GoPointer())116 cret := xButtonContentGetCanShrink(x.GoPointer())
117+
117 return cret118 return cret
118 }119 }
119 120
@@ -123,6 +124,7 @@ var xButtonContentGetIconName func(uintptr) string
123 func (x *ButtonContent) GetIconName() string {124 func (x *ButtonContent) GetIconName() string {
124 125
125 cret := xButtonContentGetIconName(x.GoPointer())126 cret := xButtonContentGetIconName(x.GoPointer())
127+
126 return cret128 return cret
127 }129 }
128 130
@@ -132,6 +134,7 @@ var xButtonContentGetLabel func(uintptr) string
132 func (x *ButtonContent) GetLabel() string {134 func (x *ButtonContent) GetLabel() string {
133 135
134 cret := xButtonContentGetLabel(x.GoPointer())136 cret := xButtonContentGetLabel(x.GoPointer())
137+
135 return cret138 return cret
136 }139 }
137 140
@@ -141,6 +144,7 @@ var xButtonContentGetUseUnderline func(uintptr) bool
141 func (x *ButtonContent) GetUseUnderline() bool {144 func (x *ButtonContent) GetUseUnderline() bool {
142 145
143 cret := xButtonContentGetUseUnderline(x.GoPointer())146 cret := xButtonContentGetUseUnderline(x.GoPointer())
147+
144 return cret148 return cret
145 }149 }
146 150
@@ -324,6 +328,7 @@ func (x *ButtonContent) GetAccessibleParent() *gtk.AccessibleBase {
324 func (x *ButtonContent) GetAccessibleRole() gtk.AccessibleRole {328 func (x *ButtonContent) GetAccessibleRole() gtk.AccessibleRole {
325 329
326 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())330 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
331+
327 return cret332 return cret
328 }333 }
329 334
@@ -349,6 +354,7 @@ func (x *ButtonContent) GetAtContext() *gtk.ATContext {
349 func (x *ButtonContent) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {354 func (x *ButtonContent) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
350 355
351 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)356 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
357+
352 return cret358 return cret
353 }359 }
354 360
@@ -388,6 +394,7 @@ func (x *ButtonContent) GetNextAccessibleSibling() *gtk.AccessibleBase {
388 func (x *ButtonContent) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {394 func (x *ButtonContent) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
389 395
390 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)396 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
397+
391 return cret398 return cret
392 }399 }
393 400
@@ -564,6 +571,7 @@ func (x *ButtonContent) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi
564 func (x *ButtonContent) GetBuildableId() string {571 func (x *ButtonContent) GetBuildableId() string {
565 572
566 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())573 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
574+
567 return cret575 return cret
568 }576 }
569 577
M v4/adw/adw-button-row.go +24 -3
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -112,6 +113,7 @@ var xButtonRowGetEndIconName func(uintptr) string
112 func (x *ButtonRow) GetEndIconName() string {113 func (x *ButtonRow) GetEndIconName() string {
113 114
114 cret := xButtonRowGetEndIconName(x.GoPointer())115 cret := xButtonRowGetEndIconName(x.GoPointer())
116+
115 return cret117 return cret
116 }118 }
117 119
@@ -121,6 +123,7 @@ var xButtonRowGetStartIconName func(uintptr) string
121 func (x *ButtonRow) GetStartIconName() string {123 func (x *ButtonRow) GetStartIconName() string {
122 124
123 cret := xButtonRowGetStartIconName(x.GoPointer())125 cret := xButtonRowGetStartIconName(x.GoPointer())
126+
124 return cret127 return cret
125 }128 }
126 129
@@ -129,7 +132,11 @@ var xButtonRowSetEndIconName func(uintptr, uintptr)
129 // Sets the end icon name for @self.132 // Sets the end icon name for @self.
130 func (x *ButtonRow) SetEndIconName(IconNameVar *string) {133 func (x *ButtonRow) SetEndIconName(IconNameVar *string) {
131 134
132- xButtonRowSetEndIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))135+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
136+
137+ xButtonRowSetEndIconName(x.GoPointer(), IconNameVarPtr)
138+
139+ runtime.KeepAlive(IconNameVarBytes)
133 140
134 }141 }
135 142
@@ -138,7 +145,11 @@ var xButtonRowSetStartIconName func(uintptr, uintptr)
138 // Sets the start icon name for @self.145 // Sets the start icon name for @self.
139 func (x *ButtonRow) SetStartIconName(IconNameVar *string) {146 func (x *ButtonRow) SetStartIconName(IconNameVar *string) {
140 147
141- xButtonRowSetStartIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))148+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
149+
150+ xButtonRowSetStartIconName(x.GoPointer(), IconNameVarPtr)
151+
152+ runtime.KeepAlive(IconNameVarBytes)
142 153
143 }154 }
144 155
@@ -242,6 +253,7 @@ func (x *ButtonRow) GetAccessibleParent() *gtk.AccessibleBase {
242 func (x *ButtonRow) GetAccessibleRole() gtk.AccessibleRole {253 func (x *ButtonRow) GetAccessibleRole() gtk.AccessibleRole {
243 254
244 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())255 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
256+
245 return cret257 return cret
246 }258 }
247 259
@@ -267,6 +279,7 @@ func (x *ButtonRow) GetAtContext() *gtk.ATContext {
267 func (x *ButtonRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {279 func (x *ButtonRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
268 280
269 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)281 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
282+
270 return cret283 return cret
271 }284 }
272 285
@@ -306,6 +319,7 @@ func (x *ButtonRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
306 func (x *ButtonRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {319 func (x *ButtonRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
307 320
308 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)321 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
322+
309 return cret323 return cret
310 }324 }
311 325
@@ -479,6 +493,7 @@ func (x *ButtonRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
479 func (x *ButtonRow) GetActionName() string {493 func (x *ButtonRow) GetActionName() string {
480 494
481 cret := gtk.XGtkActionableGetActionName(x.GoPointer())495 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
496+
482 return cret497 return cret
483 }498 }
484 499
@@ -486,6 +501,7 @@ func (x *ButtonRow) GetActionName() string {
486 func (x *ButtonRow) GetActionTargetValue() *glib.Variant {501 func (x *ButtonRow) GetActionTargetValue() *glib.Variant {
487 502
488 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())503 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
504+
489 return cret505 return cret
490 }506 }
491 507
@@ -504,7 +520,11 @@ func (x *ButtonRow) GetActionTargetValue() *glib.Variant {
504 // associated with the window.520 // associated with the window.
505 func (x *ButtonRow) SetActionName(ActionNameVar *string) {521 func (x *ButtonRow) SetActionName(ActionNameVar *string) {
506 522
507- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))523+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
524+
525+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
526+
527+ runtime.KeepAlive(ActionNameVarBytes)
508 528
509 }529 }
510 530
@@ -565,6 +585,7 @@ func (x *ButtonRow) SetDetailedActionName(DetailedActionNameVar string) {
565 func (x *ButtonRow) GetBuildableId() string {585 func (x *ButtonRow) GetBuildableId() string {
566 586
567 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())587 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
588+
568 return cret589 return cret
569 }590 }
570 591
M v4/adw/adw-carousel-indicator-dots.go +5 -0
@@ -147,6 +147,7 @@ func (x *CarouselIndicatorDots) GetAccessibleParent() *gtk.AccessibleBase {
147 func (x *CarouselIndicatorDots) GetAccessibleRole() gtk.AccessibleRole {147 func (x *CarouselIndicatorDots) GetAccessibleRole() gtk.AccessibleRole {
148 148
149 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())149 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
150+
150 return cret151 return cret
151 }152 }
152 153
@@ -172,6 +173,7 @@ func (x *CarouselIndicatorDots) GetAtContext() *gtk.ATContext {
172 func (x *CarouselIndicatorDots) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {173 func (x *CarouselIndicatorDots) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
173 174
174 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)175 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
176+
175 return cret177 return cret
176 }178 }
177 179
@@ -211,6 +213,7 @@ func (x *CarouselIndicatorDots) GetNextAccessibleSibling() *gtk.AccessibleBase {
211 func (x *CarouselIndicatorDots) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {213 func (x *CarouselIndicatorDots) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
212 214
213 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)215 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
216+
214 return cret217 return cret
215 }218 }
216 219
@@ -387,6 +390,7 @@ func (x *CarouselIndicatorDots) UpdateStateValue(NStatesVar int, StatesVar []gtk
387 func (x *CarouselIndicatorDots) GetBuildableId() string {390 func (x *CarouselIndicatorDots) GetBuildableId() string {
388 391
389 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())392 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
393+
390 return cret394 return cret
391 }395 }
392 396
@@ -394,6 +398,7 @@ func (x *CarouselIndicatorDots) GetBuildableId() string {
394 func (x *CarouselIndicatorDots) GetOrientation() gtk.Orientation {398 func (x *CarouselIndicatorDots) GetOrientation() gtk.Orientation {
395 399
396 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())400 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
401+
397 return cret402 return cret
398 }403 }
399 404
M v4/adw/adw-carousel-indicator-lines.go +5 -0
@@ -146,6 +146,7 @@ func (x *CarouselIndicatorLines) GetAccessibleParent() *gtk.AccessibleBase {
146 func (x *CarouselIndicatorLines) GetAccessibleRole() gtk.AccessibleRole {146 func (x *CarouselIndicatorLines) GetAccessibleRole() gtk.AccessibleRole {
147 147
148 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())148 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
149+
149 return cret150 return cret
150 }151 }
151 152
@@ -171,6 +172,7 @@ func (x *CarouselIndicatorLines) GetAtContext() *gtk.ATContext {
171 func (x *CarouselIndicatorLines) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {172 func (x *CarouselIndicatorLines) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
172 173
173 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)174 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
175+
174 return cret176 return cret
175 }177 }
176 178
@@ -210,6 +212,7 @@ func (x *CarouselIndicatorLines) GetNextAccessibleSibling() *gtk.AccessibleBase
210 func (x *CarouselIndicatorLines) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {212 func (x *CarouselIndicatorLines) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
211 213
212 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)214 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
215+
213 return cret216 return cret
214 }217 }
215 218
@@ -386,6 +389,7 @@ func (x *CarouselIndicatorLines) UpdateStateValue(NStatesVar int, StatesVar []gt
386 func (x *CarouselIndicatorLines) GetBuildableId() string {389 func (x *CarouselIndicatorLines) GetBuildableId() string {
387 390
388 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())391 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
392+
389 return cret393 return cret
390 }394 }
391 395
@@ -393,6 +397,7 @@ func (x *CarouselIndicatorLines) GetBuildableId() string {
393 func (x *CarouselIndicatorLines) GetOrientation() gtk.Orientation {397 func (x *CarouselIndicatorLines) GetOrientation() gtk.Orientation {
394 398
395 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())399 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
400+
396 return cret401 return cret
397 }402 }
398 403
M v4/adw/adw-carousel.go +18 -0
@@ -90,6 +90,7 @@ var xCarouselGetAllowLongSwipes func(uintptr) bool
90 func (x *Carousel) GetAllowLongSwipes() bool {90 func (x *Carousel) GetAllowLongSwipes() bool {
91 91
92 cret := xCarouselGetAllowLongSwipes(x.GoPointer())92 cret := xCarouselGetAllowLongSwipes(x.GoPointer())
93+
93 return cret94 return cret
94 }95 }
95 96
@@ -99,6 +100,7 @@ var xCarouselGetAllowMouseDrag func(uintptr) bool
99 func (x *Carousel) GetAllowMouseDrag() bool {100 func (x *Carousel) GetAllowMouseDrag() bool {
100 101
101 cret := xCarouselGetAllowMouseDrag(x.GoPointer())102 cret := xCarouselGetAllowMouseDrag(x.GoPointer())
103+
102 return cret104 return cret
103 }105 }
104 106
@@ -108,6 +110,7 @@ var xCarouselGetAllowScrollWheel func(uintptr) bool
108 func (x *Carousel) GetAllowScrollWheel() bool {110 func (x *Carousel) GetAllowScrollWheel() bool {
109 111
110 cret := xCarouselGetAllowScrollWheel(x.GoPointer())112 cret := xCarouselGetAllowScrollWheel(x.GoPointer())
113+
111 return cret114 return cret
112 }115 }
113 116
@@ -117,6 +120,7 @@ var xCarouselGetInteractive func(uintptr) bool
117 func (x *Carousel) GetInteractive() bool {120 func (x *Carousel) GetInteractive() bool {
118 121
119 cret := xCarouselGetInteractive(x.GoPointer())122 cret := xCarouselGetInteractive(x.GoPointer())
123+
120 return cret124 return cret
121 }125 }
122 126
@@ -126,6 +130,7 @@ var xCarouselGetNPages func(uintptr) uint
126 func (x *Carousel) GetNPages() uint {130 func (x *Carousel) GetNPages() uint {
127 131
128 cret := xCarouselGetNPages(x.GoPointer())132 cret := xCarouselGetNPages(x.GoPointer())
133+
129 return cret134 return cret
130 }135 }
131 136
@@ -154,6 +159,7 @@ var xCarouselGetPosition func(uintptr) float64
154 func (x *Carousel) GetPosition() float64 {159 func (x *Carousel) GetPosition() float64 {
155 160
156 cret := xCarouselGetPosition(x.GoPointer())161 cret := xCarouselGetPosition(x.GoPointer())
162+
157 return cret163 return cret
158 }164 }
159 165
@@ -163,6 +169,7 @@ var xCarouselGetRevealDuration func(uintptr) uint
163 func (x *Carousel) GetRevealDuration() uint {169 func (x *Carousel) GetRevealDuration() uint {
164 170
165 cret := xCarouselGetRevealDuration(x.GoPointer())171 cret := xCarouselGetRevealDuration(x.GoPointer())
172+
166 return cret173 return cret
167 }174 }
168 175
@@ -172,6 +179,7 @@ var xCarouselGetScrollParams func(uintptr) *SpringParams
172 func (x *Carousel) GetScrollParams() *SpringParams {179 func (x *Carousel) GetScrollParams() *SpringParams {
173 180
174 cret := xCarouselGetScrollParams(x.GoPointer())181 cret := xCarouselGetScrollParams(x.GoPointer())
182+
175 return cret183 return cret
176 }184 }
177 185
@@ -181,6 +189,7 @@ var xCarouselGetSpacing func(uintptr) uint
181 func (x *Carousel) GetSpacing() uint {189 func (x *Carousel) GetSpacing() uint {
182 190
183 cret := xCarouselGetSpacing(x.GoPointer())191 cret := xCarouselGetSpacing(x.GoPointer())
192+
184 return cret193 return cret
185 }194 }
186 195
@@ -531,6 +540,7 @@ func (x *Carousel) ConnectPageChanged(cb *func(Carousel, uint)) uint32 {
531 func (x *Carousel) GetCancelProgress() float64 {540 func (x *Carousel) GetCancelProgress() float64 {
532 541
533 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())542 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
543+
534 return cret544 return cret
535 }545 }
536 546
@@ -540,6 +550,7 @@ func (x *Carousel) GetCancelProgress() float64 {
540 func (x *Carousel) GetDistance() float64 {550 func (x *Carousel) GetDistance() float64 {
541 551
542 cret := XAdwSwipeableGetDistance(x.GoPointer())552 cret := XAdwSwipeableGetDistance(x.GoPointer())
553+
543 return cret554 return cret
544 }555 }
545 556
@@ -547,6 +558,7 @@ func (x *Carousel) GetDistance() float64 {
547 func (x *Carousel) GetProgress() float64 {558 func (x *Carousel) GetProgress() float64 {
548 559
549 cret := XAdwSwipeableGetProgress(x.GoPointer())560 cret := XAdwSwipeableGetProgress(x.GoPointer())
561+
550 return cret562 return cret
551 }563 }
552 564
@@ -557,6 +569,7 @@ func (x *Carousel) GetProgress() float64 {
557 func (x *Carousel) GetSnapPoints(NSnapPointsVar *int) uintptr {569 func (x *Carousel) GetSnapPoints(NSnapPointsVar *int) uintptr {
558 570
559 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)571 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
572+
560 return cret573 return cret
561 }574 }
562 575
@@ -610,6 +623,7 @@ func (x *Carousel) GetAccessibleParent() *gtk.AccessibleBase {
610 func (x *Carousel) GetAccessibleRole() gtk.AccessibleRole {623 func (x *Carousel) GetAccessibleRole() gtk.AccessibleRole {
611 624
612 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())625 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
626+
613 return cret627 return cret
614 }628 }
615 629
@@ -635,6 +649,7 @@ func (x *Carousel) GetAtContext() *gtk.ATContext {
635 func (x *Carousel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {649 func (x *Carousel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
636 650
637 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)651 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
652+
638 return cret653 return cret
639 }654 }
640 655
@@ -674,6 +689,7 @@ func (x *Carousel) GetNextAccessibleSibling() *gtk.AccessibleBase {
674 func (x *Carousel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {689 func (x *Carousel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
675 690
676 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)691 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
692+
677 return cret693 return cret
678 }694 }
679 695
@@ -850,6 +866,7 @@ func (x *Carousel) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt
850 func (x *Carousel) GetBuildableId() string {866 func (x *Carousel) GetBuildableId() string {
851 867
852 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())868 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
869+
853 return cret870 return cret
854 }871 }
855 872
@@ -857,6 +874,7 @@ func (x *Carousel) GetBuildableId() string {
857 func (x *Carousel) GetOrientation() gtk.Orientation {874 func (x *Carousel) GetOrientation() gtk.Orientation {
858 875
859 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())876 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
877+
860 return cret878 return cret
861 }879 }
862 880
M v4/adw/adw-clamp-layout.go +4 -0
@@ -87,6 +87,7 @@ var xClampLayoutGetMaximumSize func(uintptr) int
87 func (x *ClampLayout) GetMaximumSize() int {87 func (x *ClampLayout) GetMaximumSize() int {
88 88
89 cret := xClampLayoutGetMaximumSize(x.GoPointer())89 cret := xClampLayoutGetMaximumSize(x.GoPointer())
90+
90 return cret91 return cret
91 }92 }
92 93
@@ -96,6 +97,7 @@ var xClampLayoutGetTighteningThreshold func(uintptr) int
96 func (x *ClampLayout) GetTighteningThreshold() int {97 func (x *ClampLayout) GetTighteningThreshold() int {
97 98
98 cret := xClampLayoutGetTighteningThreshold(x.GoPointer())99 cret := xClampLayoutGetTighteningThreshold(x.GoPointer())
100+
99 return cret101 return cret
100 }102 }
101 103
@@ -105,6 +107,7 @@ var xClampLayoutGetUnit func(uintptr) LengthUnit
105 func (x *ClampLayout) GetUnit() LengthUnit {107 func (x *ClampLayout) GetUnit() LengthUnit {
106 108
107 cret := xClampLayoutGetUnit(x.GoPointer())109 cret := xClampLayoutGetUnit(x.GoPointer())
110+
108 return cret111 return cret
109 }112 }
110 113
@@ -233,6 +236,7 @@ func (x *ClampLayout) GetPropertyTighteningThreshold() int {
233 func (x *ClampLayout) GetOrientation() gtk.Orientation {236 func (x *ClampLayout) GetOrientation() gtk.Orientation {
234 237
235 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())238 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
239+
236 return cret240 return cret
237 }241 }
238 242
M v4/adw/adw-clamp-scrollable.go +11 -0
@@ -87,6 +87,7 @@ var xClampScrollableGetMaximumSize func(uintptr) int
87 func (x *ClampScrollable) GetMaximumSize() int {87 func (x *ClampScrollable) GetMaximumSize() int {
88 88
89 cret := xClampScrollableGetMaximumSize(x.GoPointer())89 cret := xClampScrollableGetMaximumSize(x.GoPointer())
90+
90 return cret91 return cret
91 }92 }
92 93
@@ -96,6 +97,7 @@ var xClampScrollableGetTighteningThreshold func(uintptr) int
96 func (x *ClampScrollable) GetTighteningThreshold() int {97 func (x *ClampScrollable) GetTighteningThreshold() int {
97 98
98 cret := xClampScrollableGetTighteningThreshold(x.GoPointer())99 cret := xClampScrollableGetTighteningThreshold(x.GoPointer())
100+
99 return cret101 return cret
100 }102 }
101 103
@@ -105,6 +107,7 @@ var xClampScrollableGetUnit func(uintptr) LengthUnit
105 func (x *ClampScrollable) GetUnit() LengthUnit {107 func (x *ClampScrollable) GetUnit() LengthUnit {
106 108
107 cret := xClampScrollableGetUnit(x.GoPointer())109 cret := xClampScrollableGetUnit(x.GoPointer())
110+
108 return cret111 return cret
109 }112 }
110 113
@@ -271,6 +274,7 @@ func (x *ClampScrollable) GetAccessibleParent() *gtk.AccessibleBase {
271 func (x *ClampScrollable) GetAccessibleRole() gtk.AccessibleRole {274 func (x *ClampScrollable) GetAccessibleRole() gtk.AccessibleRole {
272 275
273 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())276 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
277+
274 return cret278 return cret
275 }279 }
276 280
@@ -296,6 +300,7 @@ func (x *ClampScrollable) GetAtContext() *gtk.ATContext {
296 func (x *ClampScrollable) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {300 func (x *ClampScrollable) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
297 301
298 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)302 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
303+
299 return cret304 return cret
300 }305 }
301 306
@@ -335,6 +340,7 @@ func (x *ClampScrollable) GetNextAccessibleSibling() *gtk.AccessibleBase {
335 func (x *ClampScrollable) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {340 func (x *ClampScrollable) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
336 341
337 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)342 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
343+
338 return cret344 return cret
339 }345 }
340 346
@@ -511,6 +517,7 @@ func (x *ClampScrollable) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
511 func (x *ClampScrollable) GetBuildableId() string {517 func (x *ClampScrollable) GetBuildableId() string {
512 518
513 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())519 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
520+
514 return cret521 return cret
515 }522 }
516 523
@@ -518,6 +525,7 @@ func (x *ClampScrollable) GetBuildableId() string {
518 func (x *ClampScrollable) GetOrientation() gtk.Orientation {525 func (x *ClampScrollable) GetOrientation() gtk.Orientation {
519 526
520 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())527 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
528+
521 return cret529 return cret
522 }530 }
523 531
@@ -537,6 +545,7 @@ func (x *ClampScrollable) SetOrientation(OrientationVar gtk.Orientation) {
537 func (x *ClampScrollable) GetBorder(BorderVar *gtk.Border) bool {545 func (x *ClampScrollable) GetBorder(BorderVar *gtk.Border) bool {
538 546
539 cret := gtk.XGtkScrollableGetBorder(x.GoPointer(), BorderVar)547 cret := gtk.XGtkScrollableGetBorder(x.GoPointer(), BorderVar)
548+
540 return cret549 return cret
541 }550 }
542 551
@@ -559,6 +568,7 @@ func (x *ClampScrollable) GetHadjustment() *gtk.Adjustment {
559 func (x *ClampScrollable) GetHscrollPolicy() gtk.ScrollablePolicy {568 func (x *ClampScrollable) GetHscrollPolicy() gtk.ScrollablePolicy {
560 569
561 cret := gtk.XGtkScrollableGetHscrollPolicy(x.GoPointer())570 cret := gtk.XGtkScrollableGetHscrollPolicy(x.GoPointer())
571+
562 return cret572 return cret
563 }573 }
564 574
@@ -581,6 +591,7 @@ func (x *ClampScrollable) GetVadjustment() *gtk.Adjustment {
581 func (x *ClampScrollable) GetVscrollPolicy() gtk.ScrollablePolicy {591 func (x *ClampScrollable) GetVscrollPolicy() gtk.ScrollablePolicy {
582 592
583 cret := gtk.XGtkScrollableGetVscrollPolicy(x.GoPointer())593 cret := gtk.XGtkScrollableGetVscrollPolicy(x.GoPointer())
594+
584 return cret595 return cret
585 }596 }
586 597
M v4/adw/adw-clamp.go +8 -0
@@ -109,6 +109,7 @@ var xClampGetMaximumSize func(uintptr) int
109 func (x *Clamp) GetMaximumSize() int {109 func (x *Clamp) GetMaximumSize() int {
110 110
111 cret := xClampGetMaximumSize(x.GoPointer())111 cret := xClampGetMaximumSize(x.GoPointer())
112+
112 return cret113 return cret
113 }114 }
114 115
@@ -118,6 +119,7 @@ var xClampGetTighteningThreshold func(uintptr) int
118 func (x *Clamp) GetTighteningThreshold() int {119 func (x *Clamp) GetTighteningThreshold() int {
119 120
120 cret := xClampGetTighteningThreshold(x.GoPointer())121 cret := xClampGetTighteningThreshold(x.GoPointer())
122+
121 return cret123 return cret
122 }124 }
123 125
@@ -127,6 +129,7 @@ var xClampGetUnit func(uintptr) LengthUnit
127 func (x *Clamp) GetUnit() LengthUnit {129 func (x *Clamp) GetUnit() LengthUnit {
128 130
129 cret := xClampGetUnit(x.GoPointer())131 cret := xClampGetUnit(x.GoPointer())
132+
130 return cret133 return cret
131 }134 }
132 135
@@ -293,6 +296,7 @@ func (x *Clamp) GetAccessibleParent() *gtk.AccessibleBase {
293 func (x *Clamp) GetAccessibleRole() gtk.AccessibleRole {296 func (x *Clamp) GetAccessibleRole() gtk.AccessibleRole {
294 297
295 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())298 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
299+
296 return cret300 return cret
297 }301 }
298 302
@@ -318,6 +322,7 @@ func (x *Clamp) GetAtContext() *gtk.ATContext {
318 func (x *Clamp) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {322 func (x *Clamp) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
319 323
320 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)324 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
325+
321 return cret326 return cret
322 }327 }
323 328
@@ -357,6 +362,7 @@ func (x *Clamp) GetNextAccessibleSibling() *gtk.AccessibleBase {
357 func (x *Clamp) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {362 func (x *Clamp) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
358 363
359 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)364 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
365+
360 return cret366 return cret
361 }367 }
362 368
@@ -533,6 +539,7 @@ func (x *Clamp) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState
533 func (x *Clamp) GetBuildableId() string {539 func (x *Clamp) GetBuildableId() string {
534 540
535 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())541 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
542+
536 return cret543 return cret
537 }544 }
538 545
@@ -540,6 +547,7 @@ func (x *Clamp) GetBuildableId() string {
540 func (x *Clamp) GetOrientation() gtk.Orientation {547 func (x *Clamp) GetOrientation() gtk.Orientation {
541 548
542 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())549 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
550+
543 return cret551 return cret
544 }552 }
545 553
M v4/adw/adw-combo-row.go +16 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -121,6 +122,7 @@ var xComboRowGetEnableSearch func(uintptr) bool
121 func (x *ComboRow) GetEnableSearch() bool {122 func (x *ComboRow) GetEnableSearch() bool {
122 123
123 cret := xComboRowGetEnableSearch(x.GoPointer())124 cret := xComboRowGetEnableSearch(x.GoPointer())
125+
124 return cret126 return cret
125 }127 }
126 128
@@ -215,6 +217,7 @@ var xComboRowGetSearchMatchMode func(uintptr) gtk.StringFilterMatchMode
215 func (x *ComboRow) GetSearchMatchMode() gtk.StringFilterMatchMode {217 func (x *ComboRow) GetSearchMatchMode() gtk.StringFilterMatchMode {
216 218
217 cret := xComboRowGetSearchMatchMode(x.GoPointer())219 cret := xComboRowGetSearchMatchMode(x.GoPointer())
220+
218 return cret221 return cret
219 }222 }
220 223
@@ -224,6 +227,7 @@ var xComboRowGetSelected func(uintptr) uint
224 func (x *ComboRow) GetSelected() uint {227 func (x *ComboRow) GetSelected() uint {
225 228
226 cret := xComboRowGetSelected(x.GoPointer())229 cret := xComboRowGetSelected(x.GoPointer())
230+
227 return cret231 return cret
228 }232 }
229 233
@@ -250,6 +254,7 @@ var xComboRowGetUseSubtitle func(uintptr) bool
250 func (x *ComboRow) GetUseSubtitle() bool {254 func (x *ComboRow) GetUseSubtitle() bool {
251 255
252 cret := xComboRowGetUseSubtitle(x.GoPointer())256 cret := xComboRowGetUseSubtitle(x.GoPointer())
257+
253 return cret258 return cret
254 }259 }
255 260
@@ -487,6 +492,7 @@ func (x *ComboRow) GetAccessibleParent() *gtk.AccessibleBase {
487 func (x *ComboRow) GetAccessibleRole() gtk.AccessibleRole {492 func (x *ComboRow) GetAccessibleRole() gtk.AccessibleRole {
488 493
489 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())494 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
495+
490 return cret496 return cret
491 }497 }
492 498
@@ -512,6 +518,7 @@ func (x *ComboRow) GetAtContext() *gtk.ATContext {
512 func (x *ComboRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {518 func (x *ComboRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
513 519
514 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)520 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
521+
515 return cret522 return cret
516 }523 }
517 524
@@ -551,6 +558,7 @@ func (x *ComboRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
551 func (x *ComboRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {558 func (x *ComboRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
552 559
553 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)560 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
561+
554 return cret562 return cret
555 }563 }
556 564
@@ -724,6 +732,7 @@ func (x *ComboRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt
724 func (x *ComboRow) GetActionName() string {732 func (x *ComboRow) GetActionName() string {
725 733
726 cret := gtk.XGtkActionableGetActionName(x.GoPointer())734 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
735+
727 return cret736 return cret
728 }737 }
729 738
@@ -731,6 +740,7 @@ func (x *ComboRow) GetActionName() string {
731 func (x *ComboRow) GetActionTargetValue() *glib.Variant {740 func (x *ComboRow) GetActionTargetValue() *glib.Variant {
732 741
733 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())742 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
743+
734 return cret744 return cret
735 }745 }
736 746
@@ -749,7 +759,11 @@ func (x *ComboRow) GetActionTargetValue() *glib.Variant {
749 // associated with the window.759 // associated with the window.
750 func (x *ComboRow) SetActionName(ActionNameVar *string) {760 func (x *ComboRow) SetActionName(ActionNameVar *string) {
751 761
752- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))762+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
763+
764+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
765+
766+ runtime.KeepAlive(ActionNameVarBytes)
753 767
754 }768 }
755 769
@@ -810,6 +824,7 @@ func (x *ComboRow) SetDetailedActionName(DetailedActionNameVar string) {
810 func (x *ComboRow) GetBuildableId() string {824 func (x *ComboRow) GetBuildableId() string {
811 825
812 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())826 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
827+
813 return cret828 return cret
814 }829 }
815 830
M v4/adw/adw-dialog.go +11 -0
@@ -213,6 +213,7 @@ var xDialogClose func(uintptr) bool
213 func (x *Dialog) Close() bool {213 func (x *Dialog) Close() bool {
214 214
215 cret := xDialogClose(x.GoPointer())215 cret := xDialogClose(x.GoPointer())
216+
216 return cret217 return cret
217 }218 }
218 219
@@ -234,6 +235,7 @@ var xDialogGetCanClose func(uintptr) bool
234 func (x *Dialog) GetCanClose() bool {235 func (x *Dialog) GetCanClose() bool {
235 236
236 cret := xDialogGetCanClose(x.GoPointer())237 cret := xDialogGetCanClose(x.GoPointer())
238+
237 return cret239 return cret
238 }240 }
239 241
@@ -260,6 +262,7 @@ var xDialogGetContentHeight func(uintptr) int
260 func (x *Dialog) GetContentHeight() int {262 func (x *Dialog) GetContentHeight() int {
261 263
262 cret := xDialogGetContentHeight(x.GoPointer())264 cret := xDialogGetContentHeight(x.GoPointer())
265+
263 return cret266 return cret
264 }267 }
265 268
@@ -269,6 +272,7 @@ var xDialogGetContentWidth func(uintptr) int
269 func (x *Dialog) GetContentWidth() int {272 func (x *Dialog) GetContentWidth() int {
270 273
271 cret := xDialogGetContentWidth(x.GoPointer())274 cret := xDialogGetContentWidth(x.GoPointer())
275+
272 return cret276 return cret
273 }277 }
274 278
@@ -329,6 +333,7 @@ var xDialogGetFollowsContentSize func(uintptr) bool
329 func (x *Dialog) GetFollowsContentSize() bool {333 func (x *Dialog) GetFollowsContentSize() bool {
330 334
331 cret := xDialogGetFollowsContentSize(x.GoPointer())335 cret := xDialogGetFollowsContentSize(x.GoPointer())
336+
332 return cret337 return cret
333 }338 }
334 339
@@ -338,6 +343,7 @@ var xDialogGetPresentationMode func(uintptr) DialogPresentationMode
338 func (x *Dialog) GetPresentationMode() DialogPresentationMode {343 func (x *Dialog) GetPresentationMode() DialogPresentationMode {
339 344
340 cret := xDialogGetPresentationMode(x.GoPointer())345 cret := xDialogGetPresentationMode(x.GoPointer())
346+
341 return cret347 return cret
342 }348 }
343 349
@@ -347,6 +353,7 @@ var xDialogGetTitle func(uintptr) string
347 func (x *Dialog) GetTitle() string {353 func (x *Dialog) GetTitle() string {
348 354
349 cret := xDialogGetTitle(x.GoPointer())355 cret := xDialogGetTitle(x.GoPointer())
356+
350 return cret357 return cret
351 }358 }
352 359
@@ -694,6 +701,7 @@ func (x *Dialog) GetAccessibleParent() *gtk.AccessibleBase {
694 func (x *Dialog) GetAccessibleRole() gtk.AccessibleRole {701 func (x *Dialog) GetAccessibleRole() gtk.AccessibleRole {
695 702
696 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())703 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
704+
697 return cret705 return cret
698 }706 }
699 707
@@ -719,6 +727,7 @@ func (x *Dialog) GetAtContext() *gtk.ATContext {
719 func (x *Dialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {727 func (x *Dialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
720 728
721 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)729 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
730+
722 return cret731 return cret
723 }732 }
724 733
@@ -758,6 +767,7 @@ func (x *Dialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
758 func (x *Dialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {767 func (x *Dialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
759 768
760 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)769 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
770+
761 return cret771 return cret
762 }772 }
763 773
@@ -934,6 +944,7 @@ func (x *Dialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
934 func (x *Dialog) GetBuildableId() string {944 func (x *Dialog) GetBuildableId() string {
935 945
936 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())946 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
947+
937 return cret948 return cret
938 }949 }
939 950
M v4/adw/adw-easing.go +1 -0
@@ -125,6 +125,7 @@ var xEasingEase func(Easing, float64) float64
125 func EasingEase(SelfVar Easing, ValueVar float64) float64 {125 func EasingEase(SelfVar Easing, ValueVar float64) float64 {
126 126
127 cret := xEasingEase(SelfVar, ValueVar)127 cret := xEasingEase(SelfVar, ValueVar)
128+
128 return cret129 return cret
129 }130 }
130 131
M v4/adw/adw-entry-row.go +31 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -117,6 +118,7 @@ var xEntryRowGetActivatesDefault func(uintptr) bool
117 func (x *EntryRow) GetActivatesDefault() bool {118 func (x *EntryRow) GetActivatesDefault() bool {
118 119
119 cret := xEntryRowGetActivatesDefault(x.GoPointer())120 cret := xEntryRowGetActivatesDefault(x.GoPointer())
121+
120 return cret122 return cret
121 }123 }
122 124
@@ -126,6 +128,7 @@ var xEntryRowGetAttributes func(uintptr) *pango.AttrList
126 func (x *EntryRow) GetAttributes() *pango.AttrList {128 func (x *EntryRow) GetAttributes() *pango.AttrList {
127 129
128 cret := xEntryRowGetAttributes(x.GoPointer())130 cret := xEntryRowGetAttributes(x.GoPointer())
131+
129 return cret132 return cret
130 }133 }
131 134
@@ -135,6 +138,7 @@ var xEntryRowGetEnableEmojiCompletion func(uintptr) bool
135 func (x *EntryRow) GetEnableEmojiCompletion() bool {138 func (x *EntryRow) GetEnableEmojiCompletion() bool {
136 139
137 cret := xEntryRowGetEnableEmojiCompletion(x.GoPointer())140 cret := xEntryRowGetEnableEmojiCompletion(x.GoPointer())
141+
138 return cret142 return cret
139 }143 }
140 144
@@ -144,6 +148,7 @@ var xEntryRowGetInputHints func(uintptr) gtk.InputHints
144 func (x *EntryRow) GetInputHints() gtk.InputHints {148 func (x *EntryRow) GetInputHints() gtk.InputHints {
145 149
146 cret := xEntryRowGetInputHints(x.GoPointer())150 cret := xEntryRowGetInputHints(x.GoPointer())
151+
147 return cret152 return cret
148 }153 }
149 154
@@ -153,6 +158,7 @@ var xEntryRowGetInputPurpose func(uintptr) gtk.InputPurpose
153 func (x *EntryRow) GetInputPurpose() gtk.InputPurpose {158 func (x *EntryRow) GetInputPurpose() gtk.InputPurpose {
154 159
155 cret := xEntryRowGetInputPurpose(x.GoPointer())160 cret := xEntryRowGetInputPurpose(x.GoPointer())
161+
156 return cret162 return cret
157 }163 }
158 164
@@ -162,6 +168,7 @@ var xEntryRowGetMaxLength func(uintptr) int
162 func (x *EntryRow) GetMaxLength() int {168 func (x *EntryRow) GetMaxLength() int {
163 169
164 cret := xEntryRowGetMaxLength(x.GoPointer())170 cret := xEntryRowGetMaxLength(x.GoPointer())
171+
165 return cret172 return cret
166 }173 }
167 174
@@ -171,6 +178,7 @@ var xEntryRowGetShowApplyButton func(uintptr) bool
171 func (x *EntryRow) GetShowApplyButton() bool {178 func (x *EntryRow) GetShowApplyButton() bool {
172 179
173 cret := xEntryRowGetShowApplyButton(x.GoPointer())180 cret := xEntryRowGetShowApplyButton(x.GoPointer())
181+
174 return cret182 return cret
175 }183 }
176 184
@@ -180,6 +188,7 @@ var xEntryRowGetTextLength func(uintptr) uint
180 func (x *EntryRow) GetTextLength() uint {188 func (x *EntryRow) GetTextLength() uint {
181 189
182 cret := xEntryRowGetTextLength(x.GoPointer())190 cret := xEntryRowGetTextLength(x.GoPointer())
191+
183 return cret192 return cret
184 }193 }
185 194
@@ -191,6 +200,7 @@ var xEntryRowGrabFocusWithoutSelecting func(uintptr) bool
191 func (x *EntryRow) GrabFocusWithoutSelecting() bool {200 func (x *EntryRow) GrabFocusWithoutSelecting() bool {
192 201
193 cret := xEntryRowGrabFocusWithoutSelecting(x.GoPointer())202 cret := xEntryRowGrabFocusWithoutSelecting(x.GoPointer())
203+
194 return cret204 return cret
195 }205 }
196 206
@@ -492,6 +502,7 @@ func (x *EntryRow) GetAccessibleParent() *gtk.AccessibleBase {
492 func (x *EntryRow) GetAccessibleRole() gtk.AccessibleRole {502 func (x *EntryRow) GetAccessibleRole() gtk.AccessibleRole {
493 503
494 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())504 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
505+
495 return cret506 return cret
496 }507 }
497 508
@@ -517,6 +528,7 @@ func (x *EntryRow) GetAtContext() *gtk.ATContext {
517 func (x *EntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {528 func (x *EntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
518 529
519 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)530 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
531+
520 return cret532 return cret
521 }533 }
522 534
@@ -556,6 +568,7 @@ func (x *EntryRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
556 func (x *EntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {568 func (x *EntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
557 569
558 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)570 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
571+
559 return cret572 return cret
560 }573 }
561 574
@@ -729,6 +742,7 @@ func (x *EntryRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt
729 func (x *EntryRow) GetActionName() string {742 func (x *EntryRow) GetActionName() string {
730 743
731 cret := gtk.XGtkActionableGetActionName(x.GoPointer())744 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
745+
732 return cret746 return cret
733 }747 }
734 748
@@ -736,6 +750,7 @@ func (x *EntryRow) GetActionName() string {
736 func (x *EntryRow) GetActionTargetValue() *glib.Variant {750 func (x *EntryRow) GetActionTargetValue() *glib.Variant {
737 751
738 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())752 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
753+
739 return cret754 return cret
740 }755 }
741 756
@@ -754,7 +769,11 @@ func (x *EntryRow) GetActionTargetValue() *glib.Variant {
754 // associated with the window.769 // associated with the window.
755 func (x *EntryRow) SetActionName(ActionNameVar *string) {770 func (x *EntryRow) SetActionName(ActionNameVar *string) {
756 771
757- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))772+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
773+
774+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
775+
776+ runtime.KeepAlive(ActionNameVarBytes)
758 777
759 }778 }
760 779
@@ -815,6 +834,7 @@ func (x *EntryRow) SetDetailedActionName(DetailedActionNameVar string) {
815 func (x *EntryRow) GetBuildableId() string {834 func (x *EntryRow) GetBuildableId() string {
816 835
817 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())836 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
837+
818 return cret838 return cret
819 }839 }
820 840
@@ -857,6 +877,7 @@ func (x *EntryRow) GetBuildableId() string {
857 func (x *EntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {877 func (x *EntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {
858 878
859 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)879 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)
880+
860 return cret881 return cret
861 }882 }
862 883
@@ -897,6 +918,7 @@ func (x *EntryRow) FinishDelegate() {
897 func (x *EntryRow) GetAlignment() float32 {918 func (x *EntryRow) GetAlignment() float32 {
898 919
899 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())920 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())
921+
900 return cret922 return cret
901 }923 }
902 924
@@ -911,6 +933,7 @@ func (x *EntryRow) GetAlignment() float32 {
911 func (x *EntryRow) GetChars(StartPosVar int, EndPosVar int) string {933 func (x *EntryRow) GetChars(StartPosVar int, EndPosVar int) string {
912 934
913 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)935 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)
936+
914 return cret937 return cret
915 }938 }
916 939
@@ -936,6 +959,7 @@ func (x *EntryRow) GetDelegate() *gtk.EditableBase {
936 func (x *EntryRow) GetEditable() bool {959 func (x *EntryRow) GetEditable() bool {
937 960
938 cret := gtk.XGtkEditableGetEditable(x.GoPointer())961 cret := gtk.XGtkEditableGetEditable(x.GoPointer())
962+
939 return cret963 return cret
940 }964 }
941 965
@@ -943,6 +967,7 @@ func (x *EntryRow) GetEditable() bool {
943 func (x *EntryRow) GetEnableUndo() bool {967 func (x *EntryRow) GetEnableUndo() bool {
944 968
945 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())969 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())
970+
946 return cret971 return cret
947 }972 }
948 973
@@ -950,6 +975,7 @@ func (x *EntryRow) GetEnableUndo() bool {
950 func (x *EntryRow) GetMaxWidthChars() int {975 func (x *EntryRow) GetMaxWidthChars() int {
951 976
952 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())977 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())
978+
953 return cret979 return cret
954 }980 }
955 981
@@ -960,6 +986,7 @@ func (x *EntryRow) GetMaxWidthChars() int {
960 func (x *EntryRow) GetPosition() int {986 func (x *EntryRow) GetPosition() int {
961 987
962 cret := gtk.XGtkEditableGetPosition(x.GoPointer())988 cret := gtk.XGtkEditableGetPosition(x.GoPointer())
989+
963 return cret990 return cret
964 }991 }
965 992
@@ -973,6 +1000,7 @@ func (x *EntryRow) GetPosition() int {
973 func (x *EntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {1000 func (x *EntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
974 1001
975 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)1002 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)
1003+
976 return cret1004 return cret
977 }1005 }
978 1006
@@ -982,6 +1010,7 @@ func (x *EntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
982 func (x *EntryRow) GetText() string {1010 func (x *EntryRow) GetText() string {
983 1011
984 cret := gtk.XGtkEditableGetText(x.GoPointer())1012 cret := gtk.XGtkEditableGetText(x.GoPointer())
1013+
985 return cret1014 return cret
986 }1015 }
987 1016
@@ -990,6 +1019,7 @@ func (x *EntryRow) GetText() string {
990 func (x *EntryRow) GetWidthChars() int {1019 func (x *EntryRow) GetWidthChars() int {
991 1020
992 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())1021 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())
1022+
993 return cret1023 return cret
994 }1024 }
995 1025
M v4/adw/adw-enum-list-model.go +8 -0
@@ -55,6 +55,7 @@ var xEnumListItemGetName func(uintptr) string
55 func (x *EnumListItem) GetName() string {55 func (x *EnumListItem) GetName() string {
56 56
57 cret := xEnumListItemGetName(x.GoPointer())57 cret := xEnumListItemGetName(x.GoPointer())
58+
58 return cret59 return cret
59 }60 }
60 61
@@ -64,6 +65,7 @@ var xEnumListItemGetNick func(uintptr) string
64 func (x *EnumListItem) GetNick() string {65 func (x *EnumListItem) GetNick() string {
65 66
66 cret := xEnumListItemGetNick(x.GoPointer())67 cret := xEnumListItemGetNick(x.GoPointer())
68+
67 return cret69 return cret
68 }70 }
69 71
@@ -73,6 +75,7 @@ var xEnumListItemGetValue func(uintptr) int
73 func (x *EnumListItem) GetValue() int {75 func (x *EnumListItem) GetValue() int {
74 76
75 cret := xEnumListItemGetValue(x.GoPointer())77 cret := xEnumListItemGetValue(x.GoPointer())
78+
76 return cret79 return cret
77 }80 }
78 81
@@ -154,6 +157,7 @@ var xEnumListModelFindPosition func(uintptr, int) uint
154 func (x *EnumListModel) FindPosition(ValueVar int) uint {157 func (x *EnumListModel) FindPosition(ValueVar int) uint {
155 158
156 cret := xEnumListModelFindPosition(x.GoPointer(), ValueVar)159 cret := xEnumListModelFindPosition(x.GoPointer(), ValueVar)
160+
157 return cret161 return cret
158 }162 }
159 163
@@ -163,6 +167,7 @@ var xEnumListModelGetEnumType func(uintptr) types.GType
163 func (x *EnumListModel) GetEnumType() types.GType {167 func (x *EnumListModel) GetEnumType() types.GType {
164 168
165 cret := xEnumListModelGetEnumType(x.GoPointer())169 cret := xEnumListModelGetEnumType(x.GoPointer())
170+
166 return cret171 return cret
167 }172 }
168 173
@@ -189,6 +194,7 @@ func (c *EnumListModel) SetGoPointer(ptr uintptr) {
189 func (x *EnumListModel) GetItem(PositionVar uint) uintptr {194 func (x *EnumListModel) GetItem(PositionVar uint) uintptr {
190 195
191 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)196 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)
197+
192 return cret198 return cret
193 }199 }
194 200
@@ -203,6 +209,7 @@ func (x *EnumListModel) GetItem(PositionVar uint) uintptr {
203 func (x *EnumListModel) GetItemType() types.GType {209 func (x *EnumListModel) GetItemType() types.GType {
204 210
205 cret := gio.XGListModelGetItemType(x.GoPointer())211 cret := gio.XGListModelGetItemType(x.GoPointer())
212+
206 return cret213 return cret
207 }214 }
208 215
@@ -214,6 +221,7 @@ func (x *EnumListModel) GetItemType() types.GType {
214 func (x *EnumListModel) GetNItems() uint {221 func (x *EnumListModel) GetNItems() uint {
215 222
216 cret := gio.XGListModelGetNItems(x.GoPointer())223 cret := gio.XGListModelGetNItems(x.GoPointer())
224+
217 return cret225 return cret
218 }226 }
219 227
M v4/adw/adw-expander-row.go +24 -2
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -141,6 +142,7 @@ var xExpanderRowGetEnableExpansion func(uintptr) bool
141 func (x *ExpanderRow) GetEnableExpansion() bool {142 func (x *ExpanderRow) GetEnableExpansion() bool {
142 143
143 cret := xExpanderRowGetEnableExpansion(x.GoPointer())144 cret := xExpanderRowGetEnableExpansion(x.GoPointer())
145+
144 return cret146 return cret
145 }147 }
146 148
@@ -150,6 +152,7 @@ var xExpanderRowGetExpanded func(uintptr) bool
150 func (x *ExpanderRow) GetExpanded() bool {152 func (x *ExpanderRow) GetExpanded() bool {
151 153
152 cret := xExpanderRowGetExpanded(x.GoPointer())154 cret := xExpanderRowGetExpanded(x.GoPointer())
155+
153 return cret156 return cret
154 }157 }
155 158
@@ -159,6 +162,7 @@ var xExpanderRowGetIconName func(uintptr) string
159 func (x *ExpanderRow) GetIconName() string {162 func (x *ExpanderRow) GetIconName() string {
160 163
161 cret := xExpanderRowGetIconName(x.GoPointer())164 cret := xExpanderRowGetIconName(x.GoPointer())
165+
162 return cret166 return cret
163 }167 }
164 168
@@ -168,6 +172,7 @@ var xExpanderRowGetShowEnableSwitch func(uintptr) bool
168 func (x *ExpanderRow) GetShowEnableSwitch() bool {172 func (x *ExpanderRow) GetShowEnableSwitch() bool {
169 173
170 cret := xExpanderRowGetShowEnableSwitch(x.GoPointer())174 cret := xExpanderRowGetShowEnableSwitch(x.GoPointer())
175+
171 return cret176 return cret
172 }177 }
173 178
@@ -177,6 +182,7 @@ var xExpanderRowGetSubtitle func(uintptr) string
177 func (x *ExpanderRow) GetSubtitle() string {182 func (x *ExpanderRow) GetSubtitle() string {
178 183
179 cret := xExpanderRowGetSubtitle(x.GoPointer())184 cret := xExpanderRowGetSubtitle(x.GoPointer())
185+
180 return cret186 return cret
181 }187 }
182 188
@@ -187,6 +193,7 @@ var xExpanderRowGetSubtitleLines func(uintptr) int
187 func (x *ExpanderRow) GetSubtitleLines() int {193 func (x *ExpanderRow) GetSubtitleLines() int {
188 194
189 cret := xExpanderRowGetSubtitleLines(x.GoPointer())195 cret := xExpanderRowGetSubtitleLines(x.GoPointer())
196+
190 return cret197 return cret
191 }198 }
192 199
@@ -197,6 +204,7 @@ var xExpanderRowGetTitleLines func(uintptr) int
197 func (x *ExpanderRow) GetTitleLines() int {204 func (x *ExpanderRow) GetTitleLines() int {
198 205
199 cret := xExpanderRowGetTitleLines(x.GoPointer())206 cret := xExpanderRowGetTitleLines(x.GoPointer())
207+
200 return cret208 return cret
201 }209 }
202 210
@@ -232,7 +240,11 @@ var xExpanderRowSetIconName func(uintptr, uintptr)
232 // Sets the icon name for @self.240 // Sets the icon name for @self.
233 func (x *ExpanderRow) SetIconName(IconNameVar *string) {241 func (x *ExpanderRow) SetIconName(IconNameVar *string) {
234 242
235- xExpanderRowSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))243+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
244+
245+ xExpanderRowSetIconName(x.GoPointer(), IconNameVarPtr)
246+
247+ runtime.KeepAlive(IconNameVarBytes)
236 248
237 }249 }
238 250
@@ -462,6 +474,7 @@ func (x *ExpanderRow) GetAccessibleParent() *gtk.AccessibleBase {
462 func (x *ExpanderRow) GetAccessibleRole() gtk.AccessibleRole {474 func (x *ExpanderRow) GetAccessibleRole() gtk.AccessibleRole {
463 475
464 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())476 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
477+
465 return cret478 return cret
466 }479 }
467 480
@@ -487,6 +500,7 @@ func (x *ExpanderRow) GetAtContext() *gtk.ATContext {
487 func (x *ExpanderRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {500 func (x *ExpanderRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
488 501
489 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)502 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
503+
490 return cret504 return cret
491 }505 }
492 506
@@ -526,6 +540,7 @@ func (x *ExpanderRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
526 func (x *ExpanderRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {540 func (x *ExpanderRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
527 541
528 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)542 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
543+
529 return cret544 return cret
530 }545 }
531 546
@@ -699,6 +714,7 @@ func (x *ExpanderRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
699 func (x *ExpanderRow) GetActionName() string {714 func (x *ExpanderRow) GetActionName() string {
700 715
701 cret := gtk.XGtkActionableGetActionName(x.GoPointer())716 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
717+
702 return cret718 return cret
703 }719 }
704 720
@@ -706,6 +722,7 @@ func (x *ExpanderRow) GetActionName() string {
706 func (x *ExpanderRow) GetActionTargetValue() *glib.Variant {722 func (x *ExpanderRow) GetActionTargetValue() *glib.Variant {
707 723
708 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())724 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
725+
709 return cret726 return cret
710 }727 }
711 728
@@ -724,7 +741,11 @@ func (x *ExpanderRow) GetActionTargetValue() *glib.Variant {
724 // associated with the window.741 // associated with the window.
725 func (x *ExpanderRow) SetActionName(ActionNameVar *string) {742 func (x *ExpanderRow) SetActionName(ActionNameVar *string) {
726 743
727- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))744+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
745+
746+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
747+
748+ runtime.KeepAlive(ActionNameVarBytes)
728 749
729 }750 }
730 751
@@ -785,6 +806,7 @@ func (x *ExpanderRow) SetDetailedActionName(DetailedActionNameVar string) {
785 func (x *ExpanderRow) GetBuildableId() string {806 func (x *ExpanderRow) GetBuildableId() string {
786 807
787 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())808 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
809+
788 return cret810 return cret
789 }811 }
790 812
M v4/adw/adw-flap.go +22 -0
@@ -205,6 +205,7 @@ var xFlapGetFlapPosition func(uintptr) gtk.PackType
205 func (x *Flap) GetFlapPosition() gtk.PackType {205 func (x *Flap) GetFlapPosition() gtk.PackType {
206 206
207 cret := xFlapGetFlapPosition(x.GoPointer())207 cret := xFlapGetFlapPosition(x.GoPointer())
208+
208 return cret209 return cret
209 }210 }
210 211
@@ -214,6 +215,7 @@ var xFlapGetFoldDuration func(uintptr) uint
214 func (x *Flap) GetFoldDuration() uint {215 func (x *Flap) GetFoldDuration() uint {
215 216
216 cret := xFlapGetFoldDuration(x.GoPointer())217 cret := xFlapGetFoldDuration(x.GoPointer())
218+
217 return cret219 return cret
218 }220 }
219 221
@@ -223,6 +225,7 @@ var xFlapGetFoldPolicy func(uintptr) FlapFoldPolicy
223 func (x *Flap) GetFoldPolicy() FlapFoldPolicy {225 func (x *Flap) GetFoldPolicy() FlapFoldPolicy {
224 226
225 cret := xFlapGetFoldPolicy(x.GoPointer())227 cret := xFlapGetFoldPolicy(x.GoPointer())
228+
226 return cret229 return cret
227 }230 }
228 231
@@ -232,6 +235,7 @@ var xFlapGetFoldThresholdPolicy func(uintptr) FoldThresholdPolicy
232 func (x *Flap) GetFoldThresholdPolicy() FoldThresholdPolicy {235 func (x *Flap) GetFoldThresholdPolicy() FoldThresholdPolicy {
233 236
234 cret := xFlapGetFoldThresholdPolicy(x.GoPointer())237 cret := xFlapGetFoldThresholdPolicy(x.GoPointer())
238+
235 return cret239 return cret
236 }240 }
237 241
@@ -243,6 +247,7 @@ var xFlapGetFolded func(uintptr) bool
243 func (x *Flap) GetFolded() bool {247 func (x *Flap) GetFolded() bool {
244 248
245 cret := xFlapGetFolded(x.GoPointer())249 cret := xFlapGetFolded(x.GoPointer())
250+
246 return cret251 return cret
247 }252 }
248 253
@@ -252,6 +257,7 @@ var xFlapGetLocked func(uintptr) bool
252 func (x *Flap) GetLocked() bool {257 func (x *Flap) GetLocked() bool {
253 258
254 cret := xFlapGetLocked(x.GoPointer())259 cret := xFlapGetLocked(x.GoPointer())
260+
255 return cret261 return cret
256 }262 }
257 263
@@ -261,6 +267,7 @@ var xFlapGetModal func(uintptr) bool
261 func (x *Flap) GetModal() bool {267 func (x *Flap) GetModal() bool {
262 268
263 cret := xFlapGetModal(x.GoPointer())269 cret := xFlapGetModal(x.GoPointer())
270+
264 return cret271 return cret
265 }272 }
266 273
@@ -270,6 +277,7 @@ var xFlapGetRevealFlap func(uintptr) bool
270 func (x *Flap) GetRevealFlap() bool {277 func (x *Flap) GetRevealFlap() bool {
271 278
272 cret := xFlapGetRevealFlap(x.GoPointer())279 cret := xFlapGetRevealFlap(x.GoPointer())
280+
273 return cret281 return cret
274 }282 }
275 283
@@ -279,6 +287,7 @@ var xFlapGetRevealParams func(uintptr) *SpringParams
279 func (x *Flap) GetRevealParams() *SpringParams {287 func (x *Flap) GetRevealParams() *SpringParams {
280 288
281 cret := xFlapGetRevealParams(x.GoPointer())289 cret := xFlapGetRevealParams(x.GoPointer())
290+
282 return cret291 return cret
283 }292 }
284 293
@@ -292,6 +301,7 @@ var xFlapGetRevealProgress func(uintptr) float64
292 func (x *Flap) GetRevealProgress() float64 {301 func (x *Flap) GetRevealProgress() float64 {
293 302
294 cret := xFlapGetRevealProgress(x.GoPointer())303 cret := xFlapGetRevealProgress(x.GoPointer())
304+
295 return cret305 return cret
296 }306 }
297 307
@@ -318,6 +328,7 @@ var xFlapGetSwipeToClose func(uintptr) bool
318 func (x *Flap) GetSwipeToClose() bool {328 func (x *Flap) GetSwipeToClose() bool {
319 329
320 cret := xFlapGetSwipeToClose(x.GoPointer())330 cret := xFlapGetSwipeToClose(x.GoPointer())
331+
321 return cret332 return cret
322 }333 }
323 334
@@ -327,6 +338,7 @@ var xFlapGetSwipeToOpen func(uintptr) bool
327 func (x *Flap) GetSwipeToOpen() bool {338 func (x *Flap) GetSwipeToOpen() bool {
328 339
329 cret := xFlapGetSwipeToOpen(x.GoPointer())340 cret := xFlapGetSwipeToOpen(x.GoPointer())
341+
330 return cret342 return cret
331 }343 }
332 344
@@ -336,6 +348,7 @@ var xFlapGetTransitionType func(uintptr) FlapTransitionType
336 func (x *Flap) GetTransitionType() FlapTransitionType {348 func (x *Flap) GetTransitionType() FlapTransitionType {
337 349
338 cret := xFlapGetTransitionType(x.GoPointer())350 cret := xFlapGetTransitionType(x.GoPointer())
351+
339 return cret352 return cret
340 }353 }
341 354
@@ -704,6 +717,7 @@ func (x *Flap) GetPropertySwipeToOpen() bool {
704 func (x *Flap) GetCancelProgress() float64 {717 func (x *Flap) GetCancelProgress() float64 {
705 718
706 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())719 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
720+
707 return cret721 return cret
708 }722 }
709 723
@@ -713,6 +727,7 @@ func (x *Flap) GetCancelProgress() float64 {
713 func (x *Flap) GetDistance() float64 {727 func (x *Flap) GetDistance() float64 {
714 728
715 cret := XAdwSwipeableGetDistance(x.GoPointer())729 cret := XAdwSwipeableGetDistance(x.GoPointer())
730+
716 return cret731 return cret
717 }732 }
718 733
@@ -720,6 +735,7 @@ func (x *Flap) GetDistance() float64 {
720 func (x *Flap) GetProgress() float64 {735 func (x *Flap) GetProgress() float64 {
721 736
722 cret := XAdwSwipeableGetProgress(x.GoPointer())737 cret := XAdwSwipeableGetProgress(x.GoPointer())
738+
723 return cret739 return cret
724 }740 }
725 741
@@ -730,6 +746,7 @@ func (x *Flap) GetProgress() float64 {
730 func (x *Flap) GetSnapPoints(NSnapPointsVar *int) uintptr {746 func (x *Flap) GetSnapPoints(NSnapPointsVar *int) uintptr {
731 747
732 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)748 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
749+
733 return cret750 return cret
734 }751 }
735 752
@@ -783,6 +800,7 @@ func (x *Flap) GetAccessibleParent() *gtk.AccessibleBase {
783 func (x *Flap) GetAccessibleRole() gtk.AccessibleRole {800 func (x *Flap) GetAccessibleRole() gtk.AccessibleRole {
784 801
785 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())802 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
803+
786 return cret804 return cret
787 }805 }
788 806
@@ -808,6 +826,7 @@ func (x *Flap) GetAtContext() *gtk.ATContext {
808 func (x *Flap) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {826 func (x *Flap) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
809 827
810 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)828 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
829+
811 return cret830 return cret
812 }831 }
813 832
@@ -847,6 +866,7 @@ func (x *Flap) GetNextAccessibleSibling() *gtk.AccessibleBase {
847 func (x *Flap) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {866 func (x *Flap) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
848 867
849 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)868 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
869+
850 return cret870 return cret
851 }871 }
852 872
@@ -1023,6 +1043,7 @@ func (x *Flap) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState,
1023 func (x *Flap) GetBuildableId() string {1043 func (x *Flap) GetBuildableId() string {
1024 1044
1025 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1045 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1046+
1026 return cret1047 return cret
1027 }1048 }
1028 1049
@@ -1030,6 +1051,7 @@ func (x *Flap) GetBuildableId() string {
1030 func (x *Flap) GetOrientation() gtk.Orientation {1051 func (x *Flap) GetOrientation() gtk.Orientation {
1031 1052
1032 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())1053 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
1054+
1033 return cret1055 return cret
1034 }1056 }
1035 1057
M v4/adw/adw-header-bar.go +16 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -176,6 +177,7 @@ var xHeaderBarGetCenteringPolicy func(uintptr) CenteringPolicy
176 func (x *HeaderBar) GetCenteringPolicy() CenteringPolicy {177 func (x *HeaderBar) GetCenteringPolicy() CenteringPolicy {
177 178
178 cret := xHeaderBarGetCenteringPolicy(x.GoPointer())179 cret := xHeaderBarGetCenteringPolicy(x.GoPointer())
180+
179 return cret181 return cret
180 }182 }
181 183
@@ -185,6 +187,7 @@ var xHeaderBarGetDecorationLayout func(uintptr) string
185 func (x *HeaderBar) GetDecorationLayout() string {187 func (x *HeaderBar) GetDecorationLayout() string {
186 188
187 cret := xHeaderBarGetDecorationLayout(x.GoPointer())189 cret := xHeaderBarGetDecorationLayout(x.GoPointer())
190+
188 return cret191 return cret
189 }192 }
190 193
@@ -194,6 +197,7 @@ var xHeaderBarGetShowBackButton func(uintptr) bool
194 func (x *HeaderBar) GetShowBackButton() bool {197 func (x *HeaderBar) GetShowBackButton() bool {
195 198
196 cret := xHeaderBarGetShowBackButton(x.GoPointer())199 cret := xHeaderBarGetShowBackButton(x.GoPointer())
200+
197 return cret201 return cret
198 }202 }
199 203
@@ -203,6 +207,7 @@ var xHeaderBarGetShowEndTitleButtons func(uintptr) bool
203 func (x *HeaderBar) GetShowEndTitleButtons() bool {207 func (x *HeaderBar) GetShowEndTitleButtons() bool {
204 208
205 cret := xHeaderBarGetShowEndTitleButtons(x.GoPointer())209 cret := xHeaderBarGetShowEndTitleButtons(x.GoPointer())
210+
206 return cret211 return cret
207 }212 }
208 213
@@ -212,6 +217,7 @@ var xHeaderBarGetShowStartTitleButtons func(uintptr) bool
212 func (x *HeaderBar) GetShowStartTitleButtons() bool {217 func (x *HeaderBar) GetShowStartTitleButtons() bool {
213 218
214 cret := xHeaderBarGetShowStartTitleButtons(x.GoPointer())219 cret := xHeaderBarGetShowStartTitleButtons(x.GoPointer())
220+
215 return cret221 return cret
216 }222 }
217 223
@@ -221,6 +227,7 @@ var xHeaderBarGetShowTitle func(uintptr) bool
221 func (x *HeaderBar) GetShowTitle() bool {227 func (x *HeaderBar) GetShowTitle() bool {
222 228
223 cret := xHeaderBarGetShowTitle(x.GoPointer())229 cret := xHeaderBarGetShowTitle(x.GoPointer())
230+
224 return cret231 return cret
225 }232 }
226 233
@@ -296,7 +303,11 @@ var xHeaderBarSetDecorationLayout func(uintptr, uintptr)
296 // and minimize, maximize and close buttons at the end.303 // and minimize, maximize and close buttons at the end.
297 func (x *HeaderBar) SetDecorationLayout(LayoutVar *string) {304 func (x *HeaderBar) SetDecorationLayout(LayoutVar *string) {
298 305
299- xHeaderBarSetDecorationLayout(x.GoPointer(), core.NullableStringToPtr(LayoutVar))306+ LayoutVarPtr, LayoutVarBytes := core.NullableStringToPtr(LayoutVar)
307+
308+ xHeaderBarSetDecorationLayout(x.GoPointer(), LayoutVarPtr)
309+
310+ runtime.KeepAlive(LayoutVarBytes)
300 311
301 }312 }
302 313
@@ -564,6 +575,7 @@ func (x *HeaderBar) GetAccessibleParent() *gtk.AccessibleBase {
564 func (x *HeaderBar) GetAccessibleRole() gtk.AccessibleRole {575 func (x *HeaderBar) GetAccessibleRole() gtk.AccessibleRole {
565 576
566 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())577 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
578+
567 return cret579 return cret
568 }580 }
569 581
@@ -589,6 +601,7 @@ func (x *HeaderBar) GetAtContext() *gtk.ATContext {
589 func (x *HeaderBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {601 func (x *HeaderBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
590 602
591 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)603 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
604+
592 return cret605 return cret
593 }606 }
594 607
@@ -628,6 +641,7 @@ func (x *HeaderBar) GetNextAccessibleSibling() *gtk.AccessibleBase {
628 func (x *HeaderBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {641 func (x *HeaderBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
629 642
630 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)643 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
644+
631 return cret645 return cret
632 }646 }
633 647
@@ -804,6 +818,7 @@ func (x *HeaderBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
804 func (x *HeaderBar) GetBuildableId() string {818 func (x *HeaderBar) GetBuildableId() string {
805 819
806 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())820 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
821+
807 return cret822 return cret
808 }823 }
809 824
M v4/adw/adw-inline-view-switcher.go +8 -0
@@ -131,6 +131,7 @@ var xInlineViewSwitcherGetCanShrink func(uintptr) bool
131 func (x *InlineViewSwitcher) GetCanShrink() bool {131 func (x *InlineViewSwitcher) GetCanShrink() bool {
132 132
133 cret := xInlineViewSwitcherGetCanShrink(x.GoPointer())133 cret := xInlineViewSwitcherGetCanShrink(x.GoPointer())
134+
134 return cret135 return cret
135 }136 }
136 137
@@ -140,6 +141,7 @@ var xInlineViewSwitcherGetDisplayMode func(uintptr) InlineViewSwitcherDisplayMod
140 func (x *InlineViewSwitcher) GetDisplayMode() InlineViewSwitcherDisplayMode {141 func (x *InlineViewSwitcher) GetDisplayMode() InlineViewSwitcherDisplayMode {
141 142
142 cret := xInlineViewSwitcherGetDisplayMode(x.GoPointer())143 cret := xInlineViewSwitcherGetDisplayMode(x.GoPointer())
144+
143 return cret145 return cret
144 }146 }
145 147
@@ -149,6 +151,7 @@ var xInlineViewSwitcherGetHomogeneous func(uintptr) bool
149 func (x *InlineViewSwitcher) GetHomogeneous() bool {151 func (x *InlineViewSwitcher) GetHomogeneous() bool {
150 152
151 cret := xInlineViewSwitcherGetHomogeneous(x.GoPointer())153 cret := xInlineViewSwitcherGetHomogeneous(x.GoPointer())
154+
152 return cret155 return cret
153 }156 }
154 157
@@ -307,6 +310,7 @@ func (x *InlineViewSwitcher) GetAccessibleParent() *gtk.AccessibleBase {
307 func (x *InlineViewSwitcher) GetAccessibleRole() gtk.AccessibleRole {310 func (x *InlineViewSwitcher) GetAccessibleRole() gtk.AccessibleRole {
308 311
309 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())312 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
313+
310 return cret314 return cret
311 }315 }
312 316
@@ -332,6 +336,7 @@ func (x *InlineViewSwitcher) GetAtContext() *gtk.ATContext {
332 func (x *InlineViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {336 func (x *InlineViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
333 337
334 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)338 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
339+
335 return cret340 return cret
336 }341 }
337 342
@@ -371,6 +376,7 @@ func (x *InlineViewSwitcher) GetNextAccessibleSibling() *gtk.AccessibleBase {
371 func (x *InlineViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {376 func (x *InlineViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
372 377
373 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)378 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
379+
374 return cret380 return cret
375 }381 }
376 382
@@ -547,6 +553,7 @@ func (x *InlineViewSwitcher) UpdateStateValue(NStatesVar int, StatesVar []gtk.Ac
547 func (x *InlineViewSwitcher) GetBuildableId() string {553 func (x *InlineViewSwitcher) GetBuildableId() string {
548 554
549 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())555 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
556+
550 return cret557 return cret
551 }558 }
552 559
@@ -554,6 +561,7 @@ func (x *InlineViewSwitcher) GetBuildableId() string {
554 func (x *InlineViewSwitcher) GetOrientation() gtk.Orientation {561 func (x *InlineViewSwitcher) GetOrientation() gtk.Orientation {
555 562
556 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())563 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
564+
557 return cret565 return cret
558 }566 }
559 567
M v4/adw/adw-layout-slot.go +5 -0
@@ -67,6 +67,7 @@ var xLayoutSlotGetSlotId func(uintptr) string
67 func (x *LayoutSlot) GetSlotId() string {67 func (x *LayoutSlot) GetSlotId() string {
68 68
69 cret := xLayoutSlotGetSlotId(x.GoPointer())69 cret := xLayoutSlotGetSlotId(x.GoPointer())
70+
70 return cret71 return cret
71 }72 }
72 73
@@ -137,6 +138,7 @@ func (x *LayoutSlot) GetAccessibleParent() *gtk.AccessibleBase {
137 func (x *LayoutSlot) GetAccessibleRole() gtk.AccessibleRole {138 func (x *LayoutSlot) GetAccessibleRole() gtk.AccessibleRole {
138 139
139 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())140 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
141+
140 return cret142 return cret
141 }143 }
142 144
@@ -162,6 +164,7 @@ func (x *LayoutSlot) GetAtContext() *gtk.ATContext {
162 func (x *LayoutSlot) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {164 func (x *LayoutSlot) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
163 165
164 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)166 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
167+
165 return cret168 return cret
166 }169 }
167 170
@@ -201,6 +204,7 @@ func (x *LayoutSlot) GetNextAccessibleSibling() *gtk.AccessibleBase {
201 func (x *LayoutSlot) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {204 func (x *LayoutSlot) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
202 205
203 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)206 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
207+
204 return cret208 return cret
205 }209 }
206 210
@@ -377,6 +381,7 @@ func (x *LayoutSlot) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessible
377 func (x *LayoutSlot) GetBuildableId() string {381 func (x *LayoutSlot) GetBuildableId() string {
378 382
379 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())383 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
384+
380 return cret385 return cret
381 }386 }
382 387
M v4/adw/adw-layout.go +8 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -78,6 +79,7 @@ var xLayoutGetName func(uintptr) string
78 func (x *Layout) GetName() string {79 func (x *Layout) GetName() string {
79 80
80 cret := xLayoutGetName(x.GoPointer())81 cret := xLayoutGetName(x.GoPointer())
82+
81 return cret83 return cret
82 }84 }
83 85
@@ -86,7 +88,11 @@ var xLayoutSetName func(uintptr, uintptr)
86 // Sets the name of the layout.88 // Sets the name of the layout.
87 func (x *Layout) SetName(NameVar *string) {89 func (x *Layout) SetName(NameVar *string) {
88 90
89- xLayoutSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))91+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
92+
93+ xLayoutSetName(x.GoPointer(), NameVarPtr)
94+
95+ runtime.KeepAlive(NameVarBytes)
90 96
91 }97 }
92 98
@@ -125,6 +131,7 @@ func (x *Layout) GetPropertyName() string {
125 func (x *Layout) GetBuildableId() string {131 func (x *Layout) GetBuildableId() string {
126 132
127 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())133 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
134+
128 return cret135 return cret
129 }136 }
130 137
M v4/adw/adw-leaflet.go +29 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -169,6 +170,7 @@ var xLeafletGetCanNavigateBack func(uintptr) bool
169 func (x *Leaflet) GetCanNavigateBack() bool {170 func (x *Leaflet) GetCanNavigateBack() bool {
170 171
171 cret := xLeafletGetCanNavigateBack(x.GoPointer())172 cret := xLeafletGetCanNavigateBack(x.GoPointer())
173+
172 return cret174 return cret
173 }175 }
174 176
@@ -178,6 +180,7 @@ var xLeafletGetCanNavigateForward func(uintptr) bool
178 func (x *Leaflet) GetCanNavigateForward() bool {180 func (x *Leaflet) GetCanNavigateForward() bool {
179 181
180 cret := xLeafletGetCanNavigateForward(x.GoPointer())182 cret := xLeafletGetCanNavigateForward(x.GoPointer())
183+
181 return cret184 return cret
182 }185 }
183 186
@@ -187,6 +190,7 @@ var xLeafletGetCanUnfold func(uintptr) bool
187 func (x *Leaflet) GetCanUnfold() bool {190 func (x *Leaflet) GetCanUnfold() bool {
188 191
189 cret := xLeafletGetCanUnfold(x.GoPointer())192 cret := xLeafletGetCanUnfold(x.GoPointer())
193+
190 return cret194 return cret
191 }195 }
192 196
@@ -217,6 +221,7 @@ var xLeafletGetChildTransitionParams func(uintptr) *SpringParams
217 func (x *Leaflet) GetChildTransitionParams() *SpringParams {221 func (x *Leaflet) GetChildTransitionParams() *SpringParams {
218 222
219 cret := xLeafletGetChildTransitionParams(x.GoPointer())223 cret := xLeafletGetChildTransitionParams(x.GoPointer())
224+
220 return cret225 return cret
221 }226 }
222 227
@@ -226,6 +231,7 @@ var xLeafletGetChildTransitionRunning func(uintptr) bool
226 func (x *Leaflet) GetChildTransitionRunning() bool {231 func (x *Leaflet) GetChildTransitionRunning() bool {
227 232
228 cret := xLeafletGetChildTransitionRunning(x.GoPointer())233 cret := xLeafletGetChildTransitionRunning(x.GoPointer())
234+
229 return cret235 return cret
230 }236 }
231 237
@@ -235,6 +241,7 @@ var xLeafletGetFoldThresholdPolicy func(uintptr) FoldThresholdPolicy
235 func (x *Leaflet) GetFoldThresholdPolicy() FoldThresholdPolicy {241 func (x *Leaflet) GetFoldThresholdPolicy() FoldThresholdPolicy {
236 242
237 cret := xLeafletGetFoldThresholdPolicy(x.GoPointer())243 cret := xLeafletGetFoldThresholdPolicy(x.GoPointer())
244+
238 return cret245 return cret
239 }246 }
240 247
@@ -248,6 +255,7 @@ var xLeafletGetFolded func(uintptr) bool
248 func (x *Leaflet) GetFolded() bool {255 func (x *Leaflet) GetFolded() bool {
249 256
250 cret := xLeafletGetFolded(x.GoPointer())257 cret := xLeafletGetFolded(x.GoPointer())
258+
251 return cret259 return cret
252 }260 }
253 261
@@ -257,6 +265,7 @@ var xLeafletGetHomogeneous func(uintptr) bool
257 func (x *Leaflet) GetHomogeneous() bool {265 func (x *Leaflet) GetHomogeneous() bool {
258 266
259 cret := xLeafletGetHomogeneous(x.GoPointer())267 cret := xLeafletGetHomogeneous(x.GoPointer())
268+
260 return cret269 return cret
261 }270 }
262 271
@@ -266,6 +275,7 @@ var xLeafletGetModeTransitionDuration func(uintptr) uint
266 func (x *Leaflet) GetModeTransitionDuration() uint {275 func (x *Leaflet) GetModeTransitionDuration() uint {
267 276
268 cret := xLeafletGetModeTransitionDuration(x.GoPointer())277 cret := xLeafletGetModeTransitionDuration(x.GoPointer())
278+
269 return cret279 return cret
270 }280 }
271 281
@@ -312,6 +322,7 @@ var xLeafletGetTransitionType func(uintptr) LeafletTransitionType
312 func (x *Leaflet) GetTransitionType() LeafletTransitionType {322 func (x *Leaflet) GetTransitionType() LeafletTransitionType {
313 323
314 cret := xLeafletGetTransitionType(x.GoPointer())324 cret := xLeafletGetTransitionType(x.GoPointer())
325+
315 return cret326 return cret
316 }327 }
317 328
@@ -338,6 +349,7 @@ var xLeafletGetVisibleChildName func(uintptr) string
338 func (x *Leaflet) GetVisibleChildName() string {349 func (x *Leaflet) GetVisibleChildName() string {
339 350
340 cret := xLeafletGetVisibleChildName(x.GoPointer())351 cret := xLeafletGetVisibleChildName(x.GoPointer())
352+
341 return cret353 return cret
342 }354 }
343 355
@@ -372,6 +384,7 @@ var xLeafletNavigate func(uintptr, NavigationDirection) bool
372 func (x *Leaflet) Navigate(DirectionVar NavigationDirection) bool {384 func (x *Leaflet) Navigate(DirectionVar NavigationDirection) bool {
373 385
374 cret := xLeafletNavigate(x.GoPointer(), DirectionVar)386 cret := xLeafletNavigate(x.GoPointer(), DirectionVar)
387+
375 return cret388 return cret
376 }389 }
377 390
@@ -801,6 +814,7 @@ func (x *Leaflet) GetPropertyVisibleChildName() string {
801 func (x *Leaflet) GetCancelProgress() float64 {814 func (x *Leaflet) GetCancelProgress() float64 {
802 815
803 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())816 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
817+
804 return cret818 return cret
805 }819 }
806 820
@@ -810,6 +824,7 @@ func (x *Leaflet) GetCancelProgress() float64 {
810 func (x *Leaflet) GetDistance() float64 {824 func (x *Leaflet) GetDistance() float64 {
811 825
812 cret := XAdwSwipeableGetDistance(x.GoPointer())826 cret := XAdwSwipeableGetDistance(x.GoPointer())
827+
813 return cret828 return cret
814 }829 }
815 830
@@ -817,6 +832,7 @@ func (x *Leaflet) GetDistance() float64 {
817 func (x *Leaflet) GetProgress() float64 {832 func (x *Leaflet) GetProgress() float64 {
818 833
819 cret := XAdwSwipeableGetProgress(x.GoPointer())834 cret := XAdwSwipeableGetProgress(x.GoPointer())
835+
820 return cret836 return cret
821 }837 }
822 838
@@ -827,6 +843,7 @@ func (x *Leaflet) GetProgress() float64 {
827 func (x *Leaflet) GetSnapPoints(NSnapPointsVar *int) uintptr {843 func (x *Leaflet) GetSnapPoints(NSnapPointsVar *int) uintptr {
828 844
829 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)845 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
846+
830 return cret847 return cret
831 }848 }
832 849
@@ -880,6 +897,7 @@ func (x *Leaflet) GetAccessibleParent() *gtk.AccessibleBase {
880 func (x *Leaflet) GetAccessibleRole() gtk.AccessibleRole {897 func (x *Leaflet) GetAccessibleRole() gtk.AccessibleRole {
881 898
882 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())899 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
900+
883 return cret901 return cret
884 }902 }
885 903
@@ -905,6 +923,7 @@ func (x *Leaflet) GetAtContext() *gtk.ATContext {
905 func (x *Leaflet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {923 func (x *Leaflet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
906 924
907 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)925 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
926+
908 return cret927 return cret
909 }928 }
910 929
@@ -944,6 +963,7 @@ func (x *Leaflet) GetNextAccessibleSibling() *gtk.AccessibleBase {
944 func (x *Leaflet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {963 func (x *Leaflet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
945 964
946 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)965 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
966+
947 return cret967 return cret
948 }968 }
949 969
@@ -1120,6 +1140,7 @@ func (x *Leaflet) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
1120 func (x *Leaflet) GetBuildableId() string {1140 func (x *Leaflet) GetBuildableId() string {
1121 1141
1122 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1142 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1143+
1123 return cret1144 return cret
1124 }1145 }
1125 1146
@@ -1127,6 +1148,7 @@ func (x *Leaflet) GetBuildableId() string {
1127 func (x *Leaflet) GetOrientation() gtk.Orientation {1148 func (x *Leaflet) GetOrientation() gtk.Orientation {
1128 1149
1129 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())1150 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
1151+
1130 return cret1152 return cret
1131 }1153 }
1132 1154
@@ -1177,6 +1199,7 @@ var xLeafletPageGetName func(uintptr) string
1177 func (x *LeafletPage) GetName() string {1199 func (x *LeafletPage) GetName() string {
1178 1200
1179 cret := xLeafletPageGetName(x.GoPointer())1201 cret := xLeafletPageGetName(x.GoPointer())
1202+
1180 return cret1203 return cret
1181 }1204 }
1182 1205
@@ -1186,6 +1209,7 @@ var xLeafletPageGetNavigatable func(uintptr) bool
1186 func (x *LeafletPage) GetNavigatable() bool {1209 func (x *LeafletPage) GetNavigatable() bool {
1187 1210
1188 cret := xLeafletPageGetNavigatable(x.GoPointer())1211 cret := xLeafletPageGetNavigatable(x.GoPointer())
1212+
1189 return cret1213 return cret
1190 }1214 }
1191 1215
@@ -1194,7 +1218,11 @@ var xLeafletPageSetName func(uintptr, uintptr)
1194 // Sets the name of the @self.1218 // Sets the name of the @self.
1195 func (x *LeafletPage) SetName(NameVar *string) {1219 func (x *LeafletPage) SetName(NameVar *string) {
1196 1220
1197- xLeafletPageSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))1221+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
1222+
1223+ xLeafletPageSetName(x.GoPointer(), NameVarPtr)
1224+
1225+ runtime.KeepAlive(NameVarBytes)
1198 1226
1199 }1227 }
1200 1228
M v4/adw/adw-length-unit.go +2 -0
@@ -41,6 +41,7 @@ var xLengthUnitFromPx func(LengthUnit, float64, uintptr) float64
41 func LengthUnitFromPx(UnitVar LengthUnit, ValueVar float64, SettingsVar *gtk.Settings) float64 {41 func LengthUnitFromPx(UnitVar LengthUnit, ValueVar float64, SettingsVar *gtk.Settings) float64 {
42 42
43 cret := xLengthUnitFromPx(UnitVar, ValueVar, SettingsVar.GoPointer())43 cret := xLengthUnitFromPx(UnitVar, ValueVar, SettingsVar.GoPointer())
44+
44 return cret45 return cret
45 }46 }
46 47
@@ -50,6 +51,7 @@ var xLengthUnitToPx func(LengthUnit, float64, uintptr) float64
50 func LengthUnitToPx(UnitVar LengthUnit, ValueVar float64, SettingsVar *gtk.Settings) float64 {51 func LengthUnitToPx(UnitVar LengthUnit, ValueVar float64, SettingsVar *gtk.Settings) float64 {
51 52
52 cret := xLengthUnitToPx(UnitVar, ValueVar, SettingsVar.GoPointer())53 cret := xLengthUnitToPx(UnitVar, ValueVar, SettingsVar.GoPointer())
54+
53 return cret55 return cret
54 }56 }
55 57
M v4/adw/adw-main.go +1 -0
@@ -32,6 +32,7 @@ var xIsInitialized func() bool
32 func IsInitialized() bool {32 func IsInitialized() bool {
33 33
34 cret := xIsInitialized()34 cret := xIsInitialized()
35+
35 return cret36 return cret
36 }37 }
37 38
M v4/adw/adw-message-dialog.go +35 -3
@@ -3,6 +3,7 @@ package adw
3 3
4 import (4 import (
5 "fmt"5 "fmt"
6+ "runtime"
6 "structs"7 "structs"
7 "unsafe"8 "unsafe"
8 9
@@ -230,7 +231,15 @@ var xNewMessageDialog func(uintptr, uintptr, uintptr) uintptr
230 func NewMessageDialog(ParentVar *gtk.Window, HeadingVar *string, BodyVar *string) *MessageDialog {231 func NewMessageDialog(ParentVar *gtk.Window, HeadingVar *string, BodyVar *string) *MessageDialog {
231 var cls *MessageDialog232 var cls *MessageDialog
232 233
233- cret := xNewMessageDialog(ParentVar.GoPointer(), core.NullableStringToPtr(HeadingVar), core.NullableStringToPtr(BodyVar))234+ HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar)
235+
236+ BodyVarPtr, BodyVarBytes := core.NullableStringToPtr(BodyVar)
237+
238+ cret := xNewMessageDialog(ParentVar.GoPointer(), HeadingVarPtr, BodyVarPtr)
239+
240+ runtime.KeepAlive(HeadingVarBytes)
241+
242+ runtime.KeepAlive(BodyVarBytes)
234 243
235 if cret == 0 {244 if cret == 0 {
236 return nil245 return nil
@@ -320,6 +329,7 @@ var xMessageDialogChooseFinish func(uintptr, uintptr) string
320 func (x *MessageDialog) ChooseFinish(ResultVar gio.AsyncResult) string {329 func (x *MessageDialog) ChooseFinish(ResultVar gio.AsyncResult) string {
321 330
322 cret := xMessageDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer())331 cret := xMessageDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer())
332+
323 return cret333 return cret
324 }334 }
325 335
@@ -385,6 +395,7 @@ var xMessageDialogGetBody func(uintptr) string
385 func (x *MessageDialog) GetBody() string {395 func (x *MessageDialog) GetBody() string {
386 396
387 cret := xMessageDialogGetBody(x.GoPointer())397 cret := xMessageDialogGetBody(x.GoPointer())
398+
388 return cret399 return cret
389 }400 }
390 401
@@ -394,6 +405,7 @@ var xMessageDialogGetBodyUseMarkup func(uintptr) bool
394 func (x *MessageDialog) GetBodyUseMarkup() bool {405 func (x *MessageDialog) GetBodyUseMarkup() bool {
395 406
396 cret := xMessageDialogGetBodyUseMarkup(x.GoPointer())407 cret := xMessageDialogGetBodyUseMarkup(x.GoPointer())
408+
397 return cret409 return cret
398 }410 }
399 411
@@ -403,6 +415,7 @@ var xMessageDialogGetCloseResponse func(uintptr) string
403 func (x *MessageDialog) GetCloseResponse() string {415 func (x *MessageDialog) GetCloseResponse() string {
404 416
405 cret := xMessageDialogGetCloseResponse(x.GoPointer())417 cret := xMessageDialogGetCloseResponse(x.GoPointer())
418+
406 return cret419 return cret
407 }420 }
408 421
@@ -412,6 +425,7 @@ var xMessageDialogGetDefaultResponse func(uintptr) string
412 func (x *MessageDialog) GetDefaultResponse() string {425 func (x *MessageDialog) GetDefaultResponse() string {
413 426
414 cret := xMessageDialogGetDefaultResponse(x.GoPointer())427 cret := xMessageDialogGetDefaultResponse(x.GoPointer())
428+
415 return cret429 return cret
416 }430 }
417 431
@@ -438,6 +452,7 @@ var xMessageDialogGetHeading func(uintptr) string
438 func (x *MessageDialog) GetHeading() string {452 func (x *MessageDialog) GetHeading() string {
439 453
440 cret := xMessageDialogGetHeading(x.GoPointer())454 cret := xMessageDialogGetHeading(x.GoPointer())
455+
441 return cret456 return cret
442 }457 }
443 458
@@ -447,6 +462,7 @@ var xMessageDialogGetHeadingUseMarkup func(uintptr) bool
447 func (x *MessageDialog) GetHeadingUseMarkup() bool {462 func (x *MessageDialog) GetHeadingUseMarkup() bool {
448 463
449 cret := xMessageDialogGetHeadingUseMarkup(x.GoPointer())464 cret := xMessageDialogGetHeadingUseMarkup(x.GoPointer())
465+
450 return cret466 return cret
451 }467 }
452 468
@@ -458,6 +474,7 @@ var xMessageDialogGetResponseAppearance func(uintptr, string) ResponseAppearance
458 func (x *MessageDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance {474 func (x *MessageDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance {
459 475
460 cret := xMessageDialogGetResponseAppearance(x.GoPointer(), ResponseVar)476 cret := xMessageDialogGetResponseAppearance(x.GoPointer(), ResponseVar)
477+
461 return cret478 return cret
462 }479 }
463 480
@@ -469,6 +486,7 @@ var xMessageDialogGetResponseEnabled func(uintptr, string) bool
469 func (x *MessageDialog) GetResponseEnabled(ResponseVar string) bool {486 func (x *MessageDialog) GetResponseEnabled(ResponseVar string) bool {
470 487
471 cret := xMessageDialogGetResponseEnabled(x.GoPointer(), ResponseVar)488 cret := xMessageDialogGetResponseEnabled(x.GoPointer(), ResponseVar)
489+
472 return cret490 return cret
473 }491 }
474 492
@@ -480,6 +498,7 @@ var xMessageDialogGetResponseLabel func(uintptr, string) string
480 func (x *MessageDialog) GetResponseLabel(ResponseVar string) string {498 func (x *MessageDialog) GetResponseLabel(ResponseVar string) string {
481 499
482 cret := xMessageDialogGetResponseLabel(x.GoPointer(), ResponseVar)500 cret := xMessageDialogGetResponseLabel(x.GoPointer(), ResponseVar)
501+
483 return cret502 return cret
484 }503 }
485 504
@@ -489,6 +508,7 @@ var xMessageDialogHasResponse func(uintptr, string) bool
489 func (x *MessageDialog) HasResponse(ResponseVar string) bool {508 func (x *MessageDialog) HasResponse(ResponseVar string) bool {
490 509
491 cret := xMessageDialogHasResponse(x.GoPointer(), ResponseVar)510 cret := xMessageDialogHasResponse(x.GoPointer(), ResponseVar)
511+
492 return cret512 return cret
493 }513 }
494 514
@@ -561,7 +581,11 @@ var xMessageDialogSetDefaultResponse func(uintptr, uintptr)
561 // See [property@Gtk.Window:default-widget].581 // See [property@Gtk.Window:default-widget].
562 func (x *MessageDialog) SetDefaultResponse(ResponseVar *string) {582 func (x *MessageDialog) SetDefaultResponse(ResponseVar *string) {
563 583
564- xMessageDialogSetDefaultResponse(x.GoPointer(), core.NullableStringToPtr(ResponseVar))584+ ResponseVarPtr, ResponseVarBytes := core.NullableStringToPtr(ResponseVar)
585+
586+ xMessageDialogSetDefaultResponse(x.GoPointer(), ResponseVarPtr)
587+
588+ runtime.KeepAlive(ResponseVarBytes)
565 589
566 }590 }
567 591
@@ -581,7 +605,11 @@ var xMessageDialogSetHeading func(uintptr, uintptr)
581 // Sets the heading of @self.605 // Sets the heading of @self.
582 func (x *MessageDialog) SetHeading(HeadingVar *string) {606 func (x *MessageDialog) SetHeading(HeadingVar *string) {
583 607
584- xMessageDialogSetHeading(x.GoPointer(), core.NullableStringToPtr(HeadingVar))608+ HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar)
609+
610+ xMessageDialogSetHeading(x.GoPointer(), HeadingVarPtr)
611+
612+ runtime.KeepAlive(HeadingVarBytes)
585 613
586 }614 }
587 615
@@ -888,6 +916,7 @@ func (x *MessageDialog) GetAccessibleParent() *gtk.AccessibleBase {
888 func (x *MessageDialog) GetAccessibleRole() gtk.AccessibleRole {916 func (x *MessageDialog) GetAccessibleRole() gtk.AccessibleRole {
889 917
890 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())918 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
919+
891 return cret920 return cret
892 }921 }
893 922
@@ -913,6 +942,7 @@ func (x *MessageDialog) GetAtContext() *gtk.ATContext {
913 func (x *MessageDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {942 func (x *MessageDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
914 943
915 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)944 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
945+
916 return cret946 return cret
917 }947 }
918 948
@@ -952,6 +982,7 @@ func (x *MessageDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
952 func (x *MessageDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {982 func (x *MessageDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
953 983
954 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)984 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
985+
955 return cret986 return cret
956 }987 }
957 988
@@ -1128,6 +1159,7 @@ func (x *MessageDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi
1128 func (x *MessageDialog) GetBuildableId() string {1159 func (x *MessageDialog) GetBuildableId() string {
1129 1160
1130 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1161 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1162+
1131 return cret1163 return cret
1132 }1164 }
1133 1165
M v4/adw/adw-multi-layout-view.go +5 -0
@@ -205,6 +205,7 @@ var xMultiLayoutViewGetLayoutName func(uintptr) string
205 func (x *MultiLayoutView) GetLayoutName() string {205 func (x *MultiLayoutView) GetLayoutName() string {
206 206
207 cret := xMultiLayoutViewGetLayoutName(x.GoPointer())207 cret := xMultiLayoutViewGetLayoutName(x.GoPointer())
208+
208 return cret209 return cret
209 }210 }
210 211
@@ -315,6 +316,7 @@ func (x *MultiLayoutView) GetAccessibleParent() *gtk.AccessibleBase {
315 func (x *MultiLayoutView) GetAccessibleRole() gtk.AccessibleRole {316 func (x *MultiLayoutView) GetAccessibleRole() gtk.AccessibleRole {
316 317
317 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())318 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
319+
318 return cret320 return cret
319 }321 }
320 322
@@ -340,6 +342,7 @@ func (x *MultiLayoutView) GetAtContext() *gtk.ATContext {
340 func (x *MultiLayoutView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {342 func (x *MultiLayoutView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
341 343
342 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)344 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
345+
343 return cret346 return cret
344 }347 }
345 348
@@ -379,6 +382,7 @@ func (x *MultiLayoutView) GetNextAccessibleSibling() *gtk.AccessibleBase {
379 func (x *MultiLayoutView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {382 func (x *MultiLayoutView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
380 383
381 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)384 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
385+
382 return cret386 return cret
383 }387 }
384 388
@@ -555,6 +559,7 @@ func (x *MultiLayoutView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
555 func (x *MultiLayoutView) GetBuildableId() string {559 func (x *MultiLayoutView) GetBuildableId() string {
556 560
557 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())561 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
562+
558 return cret563 return cret
559 }564 }
560 565
M v4/adw/adw-navigation-split-view.go +11 -0
@@ -205,6 +205,7 @@ var xNavigationSplitViewGetCollapsed func(uintptr) bool
205 func (x *NavigationSplitView) GetCollapsed() bool {205 func (x *NavigationSplitView) GetCollapsed() bool {
206 206
207 cret := xNavigationSplitViewGetCollapsed(x.GoPointer())207 cret := xNavigationSplitViewGetCollapsed(x.GoPointer())
208+
208 return cret209 return cret
209 }210 }
210 211
@@ -231,6 +232,7 @@ var xNavigationSplitViewGetMaxSidebarWidth func(uintptr) float64
231 func (x *NavigationSplitView) GetMaxSidebarWidth() float64 {232 func (x *NavigationSplitView) GetMaxSidebarWidth() float64 {
232 233
233 cret := xNavigationSplitViewGetMaxSidebarWidth(x.GoPointer())234 cret := xNavigationSplitViewGetMaxSidebarWidth(x.GoPointer())
235+
234 return cret236 return cret
235 }237 }
236 238
@@ -240,6 +242,7 @@ var xNavigationSplitViewGetMinSidebarWidth func(uintptr) float64
240 func (x *NavigationSplitView) GetMinSidebarWidth() float64 {242 func (x *NavigationSplitView) GetMinSidebarWidth() float64 {
241 243
242 cret := xNavigationSplitViewGetMinSidebarWidth(x.GoPointer())244 cret := xNavigationSplitViewGetMinSidebarWidth(x.GoPointer())
245+
243 return cret246 return cret
244 }247 }
245 248
@@ -249,6 +252,7 @@ var xNavigationSplitViewGetShowContent func(uintptr) bool
249 func (x *NavigationSplitView) GetShowContent() bool {252 func (x *NavigationSplitView) GetShowContent() bool {
250 253
251 cret := xNavigationSplitViewGetShowContent(x.GoPointer())254 cret := xNavigationSplitViewGetShowContent(x.GoPointer())
255+
252 return cret256 return cret
253 }257 }
254 258
@@ -275,6 +279,7 @@ var xNavigationSplitViewGetSidebarPosition func(uintptr) gtk.PackType
275 func (x *NavigationSplitView) GetSidebarPosition() gtk.PackType {279 func (x *NavigationSplitView) GetSidebarPosition() gtk.PackType {
276 280
277 cret := xNavigationSplitViewGetSidebarPosition(x.GoPointer())281 cret := xNavigationSplitViewGetSidebarPosition(x.GoPointer())
282+
278 return cret283 return cret
279 }284 }
280 285
@@ -284,6 +289,7 @@ var xNavigationSplitViewGetSidebarWidthFraction func(uintptr) float64
284 func (x *NavigationSplitView) GetSidebarWidthFraction() float64 {289 func (x *NavigationSplitView) GetSidebarWidthFraction() float64 {
285 290
286 cret := xNavigationSplitViewGetSidebarWidthFraction(x.GoPointer())291 cret := xNavigationSplitViewGetSidebarWidthFraction(x.GoPointer())
292+
287 return cret293 return cret
288 }294 }
289 295
@@ -293,6 +299,7 @@ var xNavigationSplitViewGetSidebarWidthUnit func(uintptr) LengthUnit
293 func (x *NavigationSplitView) GetSidebarWidthUnit() LengthUnit {299 func (x *NavigationSplitView) GetSidebarWidthUnit() LengthUnit {
294 300
295 cret := xNavigationSplitViewGetSidebarWidthUnit(x.GoPointer())301 cret := xNavigationSplitViewGetSidebarWidthUnit(x.GoPointer())
302+
296 return cret303 return cret
297 }304 }
298 305
@@ -612,6 +619,7 @@ func (x *NavigationSplitView) GetAccessibleParent() *gtk.AccessibleBase {
612 func (x *NavigationSplitView) GetAccessibleRole() gtk.AccessibleRole {619 func (x *NavigationSplitView) GetAccessibleRole() gtk.AccessibleRole {
613 620
614 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())621 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
622+
615 return cret623 return cret
616 }624 }
617 625
@@ -637,6 +645,7 @@ func (x *NavigationSplitView) GetAtContext() *gtk.ATContext {
637 func (x *NavigationSplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {645 func (x *NavigationSplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
638 646
639 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)647 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
648+
640 return cret649 return cret
641 }650 }
642 651
@@ -676,6 +685,7 @@ func (x *NavigationSplitView) GetNextAccessibleSibling() *gtk.AccessibleBase {
676 func (x *NavigationSplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {685 func (x *NavigationSplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
677 686
678 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)687 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
688+
679 return cret689 return cret
680 }690 }
681 691
@@ -852,6 +862,7 @@ func (x *NavigationSplitView) UpdateStateValue(NStatesVar int, StatesVar []gtk.A
852 func (x *NavigationSplitView) GetBuildableId() string {862 func (x *NavigationSplitView) GetBuildableId() string {
853 863
854 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())864 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
865+
855 return cret866 return cret
856 }867 }
857 868
M v4/adw/adw-navigation-view.go +29 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -219,6 +220,7 @@ var xNavigationPageGetCanPop func(uintptr) bool
219 func (x *NavigationPage) GetCanPop() bool {220 func (x *NavigationPage) GetCanPop() bool {
220 221
221 cret := xNavigationPageGetCanPop(x.GoPointer())222 cret := xNavigationPageGetCanPop(x.GoPointer())
223+
222 return cret224 return cret
223 }225 }
224 226
@@ -245,6 +247,7 @@ var xNavigationPageGetTag func(uintptr) string
245 func (x *NavigationPage) GetTag() string {247 func (x *NavigationPage) GetTag() string {
246 248
247 cret := xNavigationPageGetTag(x.GoPointer())249 cret := xNavigationPageGetTag(x.GoPointer())
250+
248 return cret251 return cret
249 }252 }
250 253
@@ -254,6 +257,7 @@ var xNavigationPageGetTitle func(uintptr) string
254 func (x *NavigationPage) GetTitle() string {257 func (x *NavigationPage) GetTitle() string {
255 258
256 cret := xNavigationPageGetTitle(x.GoPointer())259 cret := xNavigationPageGetTitle(x.GoPointer())
260+
257 return cret261 return cret
258 }262 }
259 263
@@ -298,7 +302,11 @@ var xNavigationPageSetTag func(uintptr, uintptr)
298 // The tag also must be set to use the `navigation.push` action.302 // The tag also must be set to use the `navigation.push` action.
299 func (x *NavigationPage) SetTag(TagVar *string) {303 func (x *NavigationPage) SetTag(TagVar *string) {
300 304
301- xNavigationPageSetTag(x.GoPointer(), core.NullableStringToPtr(TagVar))305+ TagVarPtr, TagVarBytes := core.NullableStringToPtr(TagVar)
306+
307+ xNavigationPageSetTag(x.GoPointer(), TagVarPtr)
308+
309+ runtime.KeepAlive(TagVarBytes)
302 310
303 }311 }
304 312
@@ -549,6 +557,7 @@ func (x *NavigationPage) GetAccessibleParent() *gtk.AccessibleBase {
549 func (x *NavigationPage) GetAccessibleRole() gtk.AccessibleRole {557 func (x *NavigationPage) GetAccessibleRole() gtk.AccessibleRole {
550 558
551 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())559 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
560+
552 return cret561 return cret
553 }562 }
554 563
@@ -574,6 +583,7 @@ func (x *NavigationPage) GetAtContext() *gtk.ATContext {
574 func (x *NavigationPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {583 func (x *NavigationPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
575 584
576 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)585 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
586+
577 return cret587 return cret
578 }588 }
579 589
@@ -613,6 +623,7 @@ func (x *NavigationPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
613 func (x *NavigationPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {623 func (x *NavigationPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
614 624
615 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)625 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
626+
616 return cret627 return cret
617 }628 }
618 629
@@ -789,6 +800,7 @@ func (x *NavigationPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.Access
789 func (x *NavigationPage) GetBuildableId() string {800 func (x *NavigationPage) GetBuildableId() string {
790 801
791 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())802 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
803+
792 return cret804 return cret
793 }805 }
794 806
@@ -1030,6 +1042,7 @@ var xNavigationViewGetAnimateTransitions func(uintptr) bool
1030 func (x *NavigationView) GetAnimateTransitions() bool {1042 func (x *NavigationView) GetAnimateTransitions() bool {
1031 1043
1032 cret := xNavigationViewGetAnimateTransitions(x.GoPointer())1044 cret := xNavigationViewGetAnimateTransitions(x.GoPointer())
1045+
1033 return cret1046 return cret
1034 }1047 }
1035 1048
@@ -1039,6 +1052,7 @@ var xNavigationViewGetHhomogeneous func(uintptr) bool
1039 func (x *NavigationView) GetHhomogeneous() bool {1052 func (x *NavigationView) GetHhomogeneous() bool {
1040 1053
1041 cret := xNavigationViewGetHhomogeneous(x.GoPointer())1054 cret := xNavigationViewGetHhomogeneous(x.GoPointer())
1055+
1042 return cret1056 return cret
1043 }1057 }
1044 1058
@@ -1068,6 +1082,7 @@ var xNavigationViewGetPopOnEscape func(uintptr) bool
1068 func (x *NavigationView) GetPopOnEscape() bool {1082 func (x *NavigationView) GetPopOnEscape() bool {
1069 1083
1070 cret := xNavigationViewGetPopOnEscape(x.GoPointer())1084 cret := xNavigationViewGetPopOnEscape(x.GoPointer())
1085+
1071 return cret1086 return cret
1072 }1087 }
1073 1088
@@ -1099,6 +1114,7 @@ var xNavigationViewGetVhomogeneous func(uintptr) bool
1099 func (x *NavigationView) GetVhomogeneous() bool {1114 func (x *NavigationView) GetVhomogeneous() bool {
1100 1115
1101 cret := xNavigationViewGetVhomogeneous(x.GoPointer())1116 cret := xNavigationViewGetVhomogeneous(x.GoPointer())
1117+
1102 return cret1118 return cret
1103 }1119 }
1104 1120
@@ -1125,6 +1141,7 @@ var xNavigationViewGetVisiblePageTag func(uintptr) string
1125 func (x *NavigationView) GetVisiblePageTag() string {1141 func (x *NavigationView) GetVisiblePageTag() string {
1126 1142
1127 cret := xNavigationViewGetVisiblePageTag(x.GoPointer())1143 cret := xNavigationViewGetVisiblePageTag(x.GoPointer())
1144+
1128 return cret1145 return cret
1129 }1146 }
1130 1147
@@ -1144,6 +1161,7 @@ var xNavigationViewPop func(uintptr) bool
1144 func (x *NavigationView) Pop() bool {1161 func (x *NavigationView) Pop() bool {
1145 1162
1146 cret := xNavigationViewPop(x.GoPointer())1163 cret := xNavigationViewPop(x.GoPointer())
1164+
1147 return cret1165 return cret
1148 }1166 }
1149 1167
@@ -1163,6 +1181,7 @@ var xNavigationViewPopToPage func(uintptr, uintptr) bool
1163 func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool {1181 func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool {
1164 1182
1165 cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer())1183 cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer())
1184+
1166 return cret1185 return cret
1167 }1186 }
1168 1187
@@ -1181,6 +1200,7 @@ var xNavigationViewPopToTag func(uintptr, string) bool
1181 func (x *NavigationView) PopToTag(TagVar string) bool {1200 func (x *NavigationView) PopToTag(TagVar string) bool {
1182 1201
1183 cret := xNavigationViewPopToTag(x.GoPointer(), TagVar)1202 cret := xNavigationViewPopToTag(x.GoPointer(), TagVar)
1203+
1184 return cret1204 return cret
1185 }1205 }
1186 1206
@@ -1554,6 +1574,7 @@ func (x *NavigationView) ConnectReplaced(cb *func(NavigationView)) uint32 {
1554 func (x *NavigationView) GetCancelProgress() float64 {1574 func (x *NavigationView) GetCancelProgress() float64 {
1555 1575
1556 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())1576 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
1577+
1557 return cret1578 return cret
1558 }1579 }
1559 1580
@@ -1563,6 +1584,7 @@ func (x *NavigationView) GetCancelProgress() float64 {
1563 func (x *NavigationView) GetDistance() float64 {1584 func (x *NavigationView) GetDistance() float64 {
1564 1585
1565 cret := XAdwSwipeableGetDistance(x.GoPointer())1586 cret := XAdwSwipeableGetDistance(x.GoPointer())
1587+
1566 return cret1588 return cret
1567 }1589 }
1568 1590
@@ -1570,6 +1592,7 @@ func (x *NavigationView) GetDistance() float64 {
1570 func (x *NavigationView) GetProgress() float64 {1592 func (x *NavigationView) GetProgress() float64 {
1571 1593
1572 cret := XAdwSwipeableGetProgress(x.GoPointer())1594 cret := XAdwSwipeableGetProgress(x.GoPointer())
1595+
1573 return cret1596 return cret
1574 }1597 }
1575 1598
@@ -1580,6 +1603,7 @@ func (x *NavigationView) GetProgress() float64 {
1580 func (x *NavigationView) GetSnapPoints(NSnapPointsVar *int) uintptr {1603 func (x *NavigationView) GetSnapPoints(NSnapPointsVar *int) uintptr {
1581 1604
1582 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)1605 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
1606+
1583 return cret1607 return cret
1584 }1608 }
1585 1609
@@ -1633,6 +1657,7 @@ func (x *NavigationView) GetAccessibleParent() *gtk.AccessibleBase {
1633 func (x *NavigationView) GetAccessibleRole() gtk.AccessibleRole {1657 func (x *NavigationView) GetAccessibleRole() gtk.AccessibleRole {
1634 1658
1635 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())1659 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
1660+
1636 return cret1661 return cret
1637 }1662 }
1638 1663
@@ -1658,6 +1683,7 @@ func (x *NavigationView) GetAtContext() *gtk.ATContext {
1658 func (x *NavigationView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {1683 func (x *NavigationView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1659 1684
1660 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)1685 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1686+
1661 return cret1687 return cret
1662 }1688 }
1663 1689
@@ -1697,6 +1723,7 @@ func (x *NavigationView) GetNextAccessibleSibling() *gtk.AccessibleBase {
1697 func (x *NavigationView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1723 func (x *NavigationView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1698 1724
1699 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1725 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1726+
1700 return cret1727 return cret
1701 }1728 }
1702 1729
@@ -1873,6 +1900,7 @@ func (x *NavigationView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Access
1873 func (x *NavigationView) GetBuildableId() string {1900 func (x *NavigationView) GetBuildableId() string {
1874 1901
1875 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1902 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1903+
1876 return cret1904 return cret
1877 }1905 }
1878 1906
M v4/adw/adw-overlay-split-view.go +18 -0
@@ -203,6 +203,7 @@ var xOverlaySplitViewGetCollapsed func(uintptr) bool
203 func (x *OverlaySplitView) GetCollapsed() bool {203 func (x *OverlaySplitView) GetCollapsed() bool {
204 204
205 cret := xOverlaySplitViewGetCollapsed(x.GoPointer())205 cret := xOverlaySplitViewGetCollapsed(x.GoPointer())
206+
206 return cret207 return cret
207 }208 }
208 209
@@ -229,6 +230,7 @@ var xOverlaySplitViewGetEnableHideGesture func(uintptr) bool
229 func (x *OverlaySplitView) GetEnableHideGesture() bool {230 func (x *OverlaySplitView) GetEnableHideGesture() bool {
230 231
231 cret := xOverlaySplitViewGetEnableHideGesture(x.GoPointer())232 cret := xOverlaySplitViewGetEnableHideGesture(x.GoPointer())
233+
232 return cret234 return cret
233 }235 }
234 236
@@ -238,6 +240,7 @@ var xOverlaySplitViewGetEnableShowGesture func(uintptr) bool
238 func (x *OverlaySplitView) GetEnableShowGesture() bool {240 func (x *OverlaySplitView) GetEnableShowGesture() bool {
239 241
240 cret := xOverlaySplitViewGetEnableShowGesture(x.GoPointer())242 cret := xOverlaySplitViewGetEnableShowGesture(x.GoPointer())
243+
241 return cret244 return cret
242 }245 }
243 246
@@ -247,6 +250,7 @@ var xOverlaySplitViewGetMaxSidebarWidth func(uintptr) float64
247 func (x *OverlaySplitView) GetMaxSidebarWidth() float64 {250 func (x *OverlaySplitView) GetMaxSidebarWidth() float64 {
248 251
249 cret := xOverlaySplitViewGetMaxSidebarWidth(x.GoPointer())252 cret := xOverlaySplitViewGetMaxSidebarWidth(x.GoPointer())
253+
250 return cret254 return cret
251 }255 }
252 256
@@ -256,6 +260,7 @@ var xOverlaySplitViewGetMinSidebarWidth func(uintptr) float64
256 func (x *OverlaySplitView) GetMinSidebarWidth() float64 {260 func (x *OverlaySplitView) GetMinSidebarWidth() float64 {
257 261
258 cret := xOverlaySplitViewGetMinSidebarWidth(x.GoPointer())262 cret := xOverlaySplitViewGetMinSidebarWidth(x.GoPointer())
263+
259 return cret264 return cret
260 }265 }
261 266
@@ -265,6 +270,7 @@ var xOverlaySplitViewGetPinSidebar func(uintptr) bool
265 func (x *OverlaySplitView) GetPinSidebar() bool {270 func (x *OverlaySplitView) GetPinSidebar() bool {
266 271
267 cret := xOverlaySplitViewGetPinSidebar(x.GoPointer())272 cret := xOverlaySplitViewGetPinSidebar(x.GoPointer())
273+
268 return cret274 return cret
269 }275 }
270 276
@@ -274,6 +280,7 @@ var xOverlaySplitViewGetShowSidebar func(uintptr) bool
274 func (x *OverlaySplitView) GetShowSidebar() bool {280 func (x *OverlaySplitView) GetShowSidebar() bool {
275 281
276 cret := xOverlaySplitViewGetShowSidebar(x.GoPointer())282 cret := xOverlaySplitViewGetShowSidebar(x.GoPointer())
283+
277 return cret284 return cret
278 }285 }
279 286
@@ -300,6 +307,7 @@ var xOverlaySplitViewGetSidebarPosition func(uintptr) gtk.PackType
300 func (x *OverlaySplitView) GetSidebarPosition() gtk.PackType {307 func (x *OverlaySplitView) GetSidebarPosition() gtk.PackType {
301 308
302 cret := xOverlaySplitViewGetSidebarPosition(x.GoPointer())309 cret := xOverlaySplitViewGetSidebarPosition(x.GoPointer())
310+
303 return cret311 return cret
304 }312 }
305 313
@@ -309,6 +317,7 @@ var xOverlaySplitViewGetSidebarWidthFraction func(uintptr) float64
309 func (x *OverlaySplitView) GetSidebarWidthFraction() float64 {317 func (x *OverlaySplitView) GetSidebarWidthFraction() float64 {
310 318
311 cret := xOverlaySplitViewGetSidebarWidthFraction(x.GoPointer())319 cret := xOverlaySplitViewGetSidebarWidthFraction(x.GoPointer())
320+
312 return cret321 return cret
313 }322 }
314 323
@@ -318,6 +327,7 @@ var xOverlaySplitViewGetSidebarWidthUnit func(uintptr) LengthUnit
318 func (x *OverlaySplitView) GetSidebarWidthUnit() LengthUnit {327 func (x *OverlaySplitView) GetSidebarWidthUnit() LengthUnit {
319 328
320 cret := xOverlaySplitViewGetSidebarWidthUnit(x.GoPointer())329 cret := xOverlaySplitViewGetSidebarWidthUnit(x.GoPointer())
330+
321 return cret331 return cret
322 }332 }
323 333
@@ -674,6 +684,7 @@ func (x *OverlaySplitView) GetPropertySidebarWidthFraction() float64 {
674 func (x *OverlaySplitView) GetCancelProgress() float64 {684 func (x *OverlaySplitView) GetCancelProgress() float64 {
675 685
676 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())686 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
687+
677 return cret688 return cret
678 }689 }
679 690
@@ -683,6 +694,7 @@ func (x *OverlaySplitView) GetCancelProgress() float64 {
683 func (x *OverlaySplitView) GetDistance() float64 {694 func (x *OverlaySplitView) GetDistance() float64 {
684 695
685 cret := XAdwSwipeableGetDistance(x.GoPointer())696 cret := XAdwSwipeableGetDistance(x.GoPointer())
697+
686 return cret698 return cret
687 }699 }
688 700
@@ -690,6 +702,7 @@ func (x *OverlaySplitView) GetDistance() float64 {
690 func (x *OverlaySplitView) GetProgress() float64 {702 func (x *OverlaySplitView) GetProgress() float64 {
691 703
692 cret := XAdwSwipeableGetProgress(x.GoPointer())704 cret := XAdwSwipeableGetProgress(x.GoPointer())
705+
693 return cret706 return cret
694 }707 }
695 708
@@ -700,6 +713,7 @@ func (x *OverlaySplitView) GetProgress() float64 {
700 func (x *OverlaySplitView) GetSnapPoints(NSnapPointsVar *int) uintptr {713 func (x *OverlaySplitView) GetSnapPoints(NSnapPointsVar *int) uintptr {
701 714
702 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)715 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
716+
703 return cret717 return cret
704 }718 }
705 719
@@ -753,6 +767,7 @@ func (x *OverlaySplitView) GetAccessibleParent() *gtk.AccessibleBase {
753 func (x *OverlaySplitView) GetAccessibleRole() gtk.AccessibleRole {767 func (x *OverlaySplitView) GetAccessibleRole() gtk.AccessibleRole {
754 768
755 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())769 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
770+
756 return cret771 return cret
757 }772 }
758 773
@@ -778,6 +793,7 @@ func (x *OverlaySplitView) GetAtContext() *gtk.ATContext {
778 func (x *OverlaySplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {793 func (x *OverlaySplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
779 794
780 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)795 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
796+
781 return cret797 return cret
782 }798 }
783 799
@@ -817,6 +833,7 @@ func (x *OverlaySplitView) GetNextAccessibleSibling() *gtk.AccessibleBase {
817 func (x *OverlaySplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {833 func (x *OverlaySplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
818 834
819 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)835 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
836+
820 return cret837 return cret
821 }838 }
822 839
@@ -993,6 +1010,7 @@ func (x *OverlaySplitView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acce
993 func (x *OverlaySplitView) GetBuildableId() string {1010 func (x *OverlaySplitView) GetBuildableId() string {
994 1011
995 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1012 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1013+
996 return cret1014 return cret
997 }1015 }
998 1016
M v4/adw/adw-password-entry-row.go +22 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -123,6 +124,7 @@ func (x *PasswordEntryRow) GetAccessibleParent() *gtk.AccessibleBase {
123 func (x *PasswordEntryRow) GetAccessibleRole() gtk.AccessibleRole {124 func (x *PasswordEntryRow) GetAccessibleRole() gtk.AccessibleRole {
124 125
125 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())126 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
127+
126 return cret128 return cret
127 }129 }
128 130
@@ -148,6 +150,7 @@ func (x *PasswordEntryRow) GetAtContext() *gtk.ATContext {
148 func (x *PasswordEntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {150 func (x *PasswordEntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
149 151
150 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)152 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
153+
151 return cret154 return cret
152 }155 }
153 156
@@ -187,6 +190,7 @@ func (x *PasswordEntryRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
187 func (x *PasswordEntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {190 func (x *PasswordEntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
188 191
189 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)192 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
193+
190 return cret194 return cret
191 }195 }
192 196
@@ -360,6 +364,7 @@ func (x *PasswordEntryRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acce
360 func (x *PasswordEntryRow) GetActionName() string {364 func (x *PasswordEntryRow) GetActionName() string {
361 365
362 cret := gtk.XGtkActionableGetActionName(x.GoPointer())366 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
367+
363 return cret368 return cret
364 }369 }
365 370
@@ -367,6 +372,7 @@ func (x *PasswordEntryRow) GetActionName() string {
367 func (x *PasswordEntryRow) GetActionTargetValue() *glib.Variant {372 func (x *PasswordEntryRow) GetActionTargetValue() *glib.Variant {
368 373
369 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())374 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
375+
370 return cret376 return cret
371 }377 }
372 378
@@ -385,7 +391,11 @@ func (x *PasswordEntryRow) GetActionTargetValue() *glib.Variant {
385 // associated with the window.391 // associated with the window.
386 func (x *PasswordEntryRow) SetActionName(ActionNameVar *string) {392 func (x *PasswordEntryRow) SetActionName(ActionNameVar *string) {
387 393
388- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))394+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
395+
396+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
397+
398+ runtime.KeepAlive(ActionNameVarBytes)
389 399
390 }400 }
391 401
@@ -446,6 +456,7 @@ func (x *PasswordEntryRow) SetDetailedActionName(DetailedActionNameVar string) {
446 func (x *PasswordEntryRow) GetBuildableId() string {456 func (x *PasswordEntryRow) GetBuildableId() string {
447 457
448 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())458 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
459+
449 return cret460 return cret
450 }461 }
451 462
@@ -488,6 +499,7 @@ func (x *PasswordEntryRow) GetBuildableId() string {
488 func (x *PasswordEntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {499 func (x *PasswordEntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {
489 500
490 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)501 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)
502+
491 return cret503 return cret
492 }504 }
493 505
@@ -528,6 +540,7 @@ func (x *PasswordEntryRow) FinishDelegate() {
528 func (x *PasswordEntryRow) GetAlignment() float32 {540 func (x *PasswordEntryRow) GetAlignment() float32 {
529 541
530 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())542 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())
543+
531 return cret544 return cret
532 }545 }
533 546
@@ -542,6 +555,7 @@ func (x *PasswordEntryRow) GetAlignment() float32 {
542 func (x *PasswordEntryRow) GetChars(StartPosVar int, EndPosVar int) string {555 func (x *PasswordEntryRow) GetChars(StartPosVar int, EndPosVar int) string {
543 556
544 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)557 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)
558+
545 return cret559 return cret
546 }560 }
547 561
@@ -567,6 +581,7 @@ func (x *PasswordEntryRow) GetDelegate() *gtk.EditableBase {
567 func (x *PasswordEntryRow) GetEditable() bool {581 func (x *PasswordEntryRow) GetEditable() bool {
568 582
569 cret := gtk.XGtkEditableGetEditable(x.GoPointer())583 cret := gtk.XGtkEditableGetEditable(x.GoPointer())
584+
570 return cret585 return cret
571 }586 }
572 587
@@ -574,6 +589,7 @@ func (x *PasswordEntryRow) GetEditable() bool {
574 func (x *PasswordEntryRow) GetEnableUndo() bool {589 func (x *PasswordEntryRow) GetEnableUndo() bool {
575 590
576 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())591 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())
592+
577 return cret593 return cret
578 }594 }
579 595
@@ -581,6 +597,7 @@ func (x *PasswordEntryRow) GetEnableUndo() bool {
581 func (x *PasswordEntryRow) GetMaxWidthChars() int {597 func (x *PasswordEntryRow) GetMaxWidthChars() int {
582 598
583 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())599 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())
600+
584 return cret601 return cret
585 }602 }
586 603
@@ -591,6 +608,7 @@ func (x *PasswordEntryRow) GetMaxWidthChars() int {
591 func (x *PasswordEntryRow) GetPosition() int {608 func (x *PasswordEntryRow) GetPosition() int {
592 609
593 cret := gtk.XGtkEditableGetPosition(x.GoPointer())610 cret := gtk.XGtkEditableGetPosition(x.GoPointer())
611+
594 return cret612 return cret
595 }613 }
596 614
@@ -604,6 +622,7 @@ func (x *PasswordEntryRow) GetPosition() int {
604 func (x *PasswordEntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {622 func (x *PasswordEntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
605 623
606 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)624 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)
625+
607 return cret626 return cret
608 }627 }
609 628
@@ -613,6 +632,7 @@ func (x *PasswordEntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int)
613 func (x *PasswordEntryRow) GetText() string {632 func (x *PasswordEntryRow) GetText() string {
614 633
615 cret := gtk.XGtkEditableGetText(x.GoPointer())634 cret := gtk.XGtkEditableGetText(x.GoPointer())
635+
616 return cret636 return cret
617 }637 }
618 638
@@ -621,6 +641,7 @@ func (x *PasswordEntryRow) GetText() string {
621 func (x *PasswordEntryRow) GetWidthChars() int {641 func (x *PasswordEntryRow) GetWidthChars() int {
622 642
623 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())643 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())
644+
624 return cret645 return cret
625 }646 }
626 647
M v4/adw/adw-preferences-dialog.go +7 -0
@@ -105,6 +105,7 @@ var xPreferencesDialogGetSearchEnabled func(uintptr) bool
105 func (x *PreferencesDialog) GetSearchEnabled() bool {105 func (x *PreferencesDialog) GetSearchEnabled() bool {
106 106
107 cret := xPreferencesDialogGetSearchEnabled(x.GoPointer())107 cret := xPreferencesDialogGetSearchEnabled(x.GoPointer())
108+
108 return cret109 return cret
109 }110 }
110 111
@@ -131,6 +132,7 @@ var xPreferencesDialogGetVisiblePageName func(uintptr) string
131 func (x *PreferencesDialog) GetVisiblePageName() string {132 func (x *PreferencesDialog) GetVisiblePageName() string {
132 133
133 cret := xPreferencesDialogGetVisiblePageName(x.GoPointer())134 cret := xPreferencesDialogGetVisiblePageName(x.GoPointer())
135+
134 return cret136 return cret
135 }137 }
136 138
@@ -140,6 +142,7 @@ var xPreferencesDialogPopSubpage func(uintptr) bool
140 func (x *PreferencesDialog) PopSubpage() bool {142 func (x *PreferencesDialog) PopSubpage() bool {
141 143
142 cret := xPreferencesDialogPopSubpage(x.GoPointer())144 cret := xPreferencesDialogPopSubpage(x.GoPointer())
145+
143 return cret146 return cret
144 }147 }
145 148
@@ -276,6 +279,7 @@ func (x *PreferencesDialog) GetAccessibleParent() *gtk.AccessibleBase {
276 func (x *PreferencesDialog) GetAccessibleRole() gtk.AccessibleRole {279 func (x *PreferencesDialog) GetAccessibleRole() gtk.AccessibleRole {
277 280
278 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())281 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
282+
279 return cret283 return cret
280 }284 }
281 285
@@ -301,6 +305,7 @@ func (x *PreferencesDialog) GetAtContext() *gtk.ATContext {
301 func (x *PreferencesDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {305 func (x *PreferencesDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
302 306
303 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)307 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
308+
304 return cret309 return cret
305 }310 }
306 311
@@ -340,6 +345,7 @@ func (x *PreferencesDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
340 func (x *PreferencesDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {345 func (x *PreferencesDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
341 346
342 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)347 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
348+
343 return cret349 return cret
344 }350 }
345 351
@@ -516,6 +522,7 @@ func (x *PreferencesDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc
516 func (x *PreferencesDialog) GetBuildableId() string {522 func (x *PreferencesDialog) GetBuildableId() string {
517 523
518 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())524 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
525+
519 return cret526 return cret
520 }527 }
521 528
M v4/adw/adw-preferences-group.go +13 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -153,6 +154,7 @@ var xPreferencesGroupGetDescription func(uintptr) string
153 func (x *PreferencesGroup) GetDescription() string {154 func (x *PreferencesGroup) GetDescription() string {
154 155
155 cret := xPreferencesGroupGetDescription(x.GoPointer())156 cret := xPreferencesGroupGetDescription(x.GoPointer())
157+
156 return cret158 return cret
157 }159 }
158 160
@@ -198,6 +200,7 @@ var xPreferencesGroupGetSeparateRows func(uintptr) bool
198 func (x *PreferencesGroup) GetSeparateRows() bool {200 func (x *PreferencesGroup) GetSeparateRows() bool {
199 201
200 cret := xPreferencesGroupGetSeparateRows(x.GoPointer())202 cret := xPreferencesGroupGetSeparateRows(x.GoPointer())
203+
201 return cret204 return cret
202 }205 }
203 206
@@ -207,6 +210,7 @@ var xPreferencesGroupGetTitle func(uintptr) string
207 func (x *PreferencesGroup) GetTitle() string {210 func (x *PreferencesGroup) GetTitle() string {
208 211
209 cret := xPreferencesGroupGetTitle(x.GoPointer())212 cret := xPreferencesGroupGetTitle(x.GoPointer())
213+
210 return cret214 return cret
211 }215 }
212 216
@@ -224,7 +228,11 @@ var xPreferencesGroupSetDescription func(uintptr, uintptr)
224 // Sets the description for @self.228 // Sets the description for @self.
225 func (x *PreferencesGroup) SetDescription(DescriptionVar *string) {229 func (x *PreferencesGroup) SetDescription(DescriptionVar *string) {
226 230
227- xPreferencesGroupSetDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar))231+ DescriptionVarPtr, DescriptionVarBytes := core.NullableStringToPtr(DescriptionVar)
232+
233+ xPreferencesGroupSetDescription(x.GoPointer(), DescriptionVarPtr)
234+
235+ runtime.KeepAlive(DescriptionVarBytes)
228 236
229 }237 }
230 238
@@ -368,6 +376,7 @@ func (x *PreferencesGroup) GetAccessibleParent() *gtk.AccessibleBase {
368 func (x *PreferencesGroup) GetAccessibleRole() gtk.AccessibleRole {376 func (x *PreferencesGroup) GetAccessibleRole() gtk.AccessibleRole {
369 377
370 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())378 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
379+
371 return cret380 return cret
372 }381 }
373 382
@@ -393,6 +402,7 @@ func (x *PreferencesGroup) GetAtContext() *gtk.ATContext {
393 func (x *PreferencesGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {402 func (x *PreferencesGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
394 403
395 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)404 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
405+
396 return cret406 return cret
397 }407 }
398 408
@@ -432,6 +442,7 @@ func (x *PreferencesGroup) GetNextAccessibleSibling() *gtk.AccessibleBase {
432 func (x *PreferencesGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {442 func (x *PreferencesGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
433 443
434 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)444 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
445+
435 return cret446 return cret
436 }447 }
437 448
@@ -608,6 +619,7 @@ func (x *PreferencesGroup) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acce
608 func (x *PreferencesGroup) GetBuildableId() string {619 func (x *PreferencesGroup) GetBuildableId() string {
609 620
610 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())621 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
622+
611 return cret623 return cret
612 }624 }
613 625
M v4/adw/adw-preferences-page.go +21 -2
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -108,6 +109,7 @@ var xPreferencesPageGetDescription func(uintptr) string
108 func (x *PreferencesPage) GetDescription() string {109 func (x *PreferencesPage) GetDescription() string {
109 110
110 cret := xPreferencesPageGetDescription(x.GoPointer())111 cret := xPreferencesPageGetDescription(x.GoPointer())
112+
111 return cret113 return cret
112 }114 }
113 115
@@ -117,6 +119,7 @@ var xPreferencesPageGetDescriptionCentered func(uintptr) bool
117 func (x *PreferencesPage) GetDescriptionCentered() bool {119 func (x *PreferencesPage) GetDescriptionCentered() bool {
118 120
119 cret := xPreferencesPageGetDescriptionCentered(x.GoPointer())121 cret := xPreferencesPageGetDescriptionCentered(x.GoPointer())
122+
120 return cret123 return cret
121 }124 }
122 125
@@ -145,6 +148,7 @@ var xPreferencesPageGetIconName func(uintptr) string
145 func (x *PreferencesPage) GetIconName() string {148 func (x *PreferencesPage) GetIconName() string {
146 149
147 cret := xPreferencesPageGetIconName(x.GoPointer())150 cret := xPreferencesPageGetIconName(x.GoPointer())
151+
148 return cret152 return cret
149 }153 }
150 154
@@ -154,6 +158,7 @@ var xPreferencesPageGetName func(uintptr) string
154 func (x *PreferencesPage) GetName() string {158 func (x *PreferencesPage) GetName() string {
155 159
156 cret := xPreferencesPageGetName(x.GoPointer())160 cret := xPreferencesPageGetName(x.GoPointer())
161+
157 return cret162 return cret
158 }163 }
159 164
@@ -163,6 +168,7 @@ var xPreferencesPageGetTitle func(uintptr) string
163 func (x *PreferencesPage) GetTitle() string {168 func (x *PreferencesPage) GetTitle() string {
164 169
165 cret := xPreferencesPageGetTitle(x.GoPointer())170 cret := xPreferencesPageGetTitle(x.GoPointer())
171+
166 return cret172 return cret
167 }173 }
168 174
@@ -172,6 +178,7 @@ var xPreferencesPageGetUseUnderline func(uintptr) bool
172 func (x *PreferencesPage) GetUseUnderline() bool {178 func (x *PreferencesPage) GetUseUnderline() bool {
173 179
174 cret := xPreferencesPageGetUseUnderline(x.GoPointer())180 cret := xPreferencesPageGetUseUnderline(x.GoPointer())
181+
175 return cret182 return cret
176 }183 }
177 184
@@ -239,7 +246,11 @@ var xPreferencesPageSetIconName func(uintptr, uintptr)
239 // Sets the icon name for @self.246 // Sets the icon name for @self.
240 func (x *PreferencesPage) SetIconName(IconNameVar *string) {247 func (x *PreferencesPage) SetIconName(IconNameVar *string) {
241 248
242- xPreferencesPageSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))249+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
250+
251+ xPreferencesPageSetIconName(x.GoPointer(), IconNameVarPtr)
252+
253+ runtime.KeepAlive(IconNameVarBytes)
243 254
244 }255 }
245 256
@@ -248,7 +259,11 @@ var xPreferencesPageSetName func(uintptr, uintptr)
248 // Sets the name of @self.259 // Sets the name of @self.
249 func (x *PreferencesPage) SetName(NameVar *string) {260 func (x *PreferencesPage) SetName(NameVar *string) {
250 261
251- xPreferencesPageSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))262+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
263+
264+ xPreferencesPageSetName(x.GoPointer(), NameVarPtr)
265+
266+ runtime.KeepAlive(NameVarBytes)
252 267
253 }268 }
254 269
@@ -418,6 +433,7 @@ func (x *PreferencesPage) GetAccessibleParent() *gtk.AccessibleBase {
418 func (x *PreferencesPage) GetAccessibleRole() gtk.AccessibleRole {433 func (x *PreferencesPage) GetAccessibleRole() gtk.AccessibleRole {
419 434
420 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())435 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
436+
421 return cret437 return cret
422 }438 }
423 439
@@ -443,6 +459,7 @@ func (x *PreferencesPage) GetAtContext() *gtk.ATContext {
443 func (x *PreferencesPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {459 func (x *PreferencesPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
444 460
445 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)461 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
462+
446 return cret463 return cret
447 }464 }
448 465
@@ -482,6 +499,7 @@ func (x *PreferencesPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
482 func (x *PreferencesPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {499 func (x *PreferencesPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
483 500
484 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)501 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
502+
485 return cret503 return cret
486 }504 }
487 505
@@ -658,6 +676,7 @@ func (x *PreferencesPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
658 func (x *PreferencesPage) GetBuildableId() string {676 func (x *PreferencesPage) GetBuildableId() string {
659 677
660 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())678 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
679+
661 return cret680 return cret
662 }681 }
663 682
M v4/adw/adw-preferences-row.go +16 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -73,6 +74,7 @@ var xPreferencesRowGetTitle func(uintptr) string
73 func (x *PreferencesRow) GetTitle() string {74 func (x *PreferencesRow) GetTitle() string {
74 75
75 cret := xPreferencesRowGetTitle(x.GoPointer())76 cret := xPreferencesRowGetTitle(x.GoPointer())
77+
76 return cret78 return cret
77 }79 }
78 80
@@ -82,6 +84,7 @@ var xPreferencesRowGetTitleSelectable func(uintptr) bool
82 func (x *PreferencesRow) GetTitleSelectable() bool {84 func (x *PreferencesRow) GetTitleSelectable() bool {
83 85
84 cret := xPreferencesRowGetTitleSelectable(x.GoPointer())86 cret := xPreferencesRowGetTitleSelectable(x.GoPointer())
87+
85 return cret88 return cret
86 }89 }
87 90
@@ -91,6 +94,7 @@ var xPreferencesRowGetUseMarkup func(uintptr) bool
91 func (x *PreferencesRow) GetUseMarkup() bool {94 func (x *PreferencesRow) GetUseMarkup() bool {
92 95
93 cret := xPreferencesRowGetUseMarkup(x.GoPointer())96 cret := xPreferencesRowGetUseMarkup(x.GoPointer())
97+
94 return cret98 return cret
95 }99 }
96 100
@@ -100,6 +104,7 @@ var xPreferencesRowGetUseUnderline func(uintptr) bool
100 func (x *PreferencesRow) GetUseUnderline() bool {104 func (x *PreferencesRow) GetUseUnderline() bool {
101 105
102 cret := xPreferencesRowGetUseUnderline(x.GoPointer())106 cret := xPreferencesRowGetUseUnderline(x.GoPointer())
107+
103 return cret108 return cret
104 }109 }
105 110
@@ -280,6 +285,7 @@ func (x *PreferencesRow) GetAccessibleParent() *gtk.AccessibleBase {
280 func (x *PreferencesRow) GetAccessibleRole() gtk.AccessibleRole {285 func (x *PreferencesRow) GetAccessibleRole() gtk.AccessibleRole {
281 286
282 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())287 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
288+
283 return cret289 return cret
284 }290 }
285 291
@@ -305,6 +311,7 @@ func (x *PreferencesRow) GetAtContext() *gtk.ATContext {
305 func (x *PreferencesRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {311 func (x *PreferencesRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
306 312
307 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)313 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
314+
308 return cret315 return cret
309 }316 }
310 317
@@ -344,6 +351,7 @@ func (x *PreferencesRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
344 func (x *PreferencesRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {351 func (x *PreferencesRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
345 352
346 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)353 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
354+
347 return cret355 return cret
348 }356 }
349 357
@@ -517,6 +525,7 @@ func (x *PreferencesRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Access
517 func (x *PreferencesRow) GetActionName() string {525 func (x *PreferencesRow) GetActionName() string {
518 526
519 cret := gtk.XGtkActionableGetActionName(x.GoPointer())527 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
528+
520 return cret529 return cret
521 }530 }
522 531
@@ -524,6 +533,7 @@ func (x *PreferencesRow) GetActionName() string {
524 func (x *PreferencesRow) GetActionTargetValue() *glib.Variant {533 func (x *PreferencesRow) GetActionTargetValue() *glib.Variant {
525 534
526 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())535 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
536+
527 return cret537 return cret
528 }538 }
529 539
@@ -542,7 +552,11 @@ func (x *PreferencesRow) GetActionTargetValue() *glib.Variant {
542 // associated with the window.552 // associated with the window.
543 func (x *PreferencesRow) SetActionName(ActionNameVar *string) {553 func (x *PreferencesRow) SetActionName(ActionNameVar *string) {
544 554
545- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))555+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
556+
557+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
558+
559+ runtime.KeepAlive(ActionNameVarBytes)
546 560
547 }561 }
548 562
@@ -603,6 +617,7 @@ func (x *PreferencesRow) SetDetailedActionName(DetailedActionNameVar string) {
603 func (x *PreferencesRow) GetBuildableId() string {617 func (x *PreferencesRow) GetBuildableId() string {
604 618
605 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())619 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
620+
606 return cret621 return cret
607 }622 }
608 623
M v4/adw/adw-preferences-window.go +8 -0
@@ -112,6 +112,7 @@ var xPreferencesWindowGetCanNavigateBack func(uintptr) bool
112 func (x *PreferencesWindow) GetCanNavigateBack() bool {112 func (x *PreferencesWindow) GetCanNavigateBack() bool {
113 113
114 cret := xPreferencesWindowGetCanNavigateBack(x.GoPointer())114 cret := xPreferencesWindowGetCanNavigateBack(x.GoPointer())
115+
115 return cret116 return cret
116 }117 }
117 118
@@ -121,6 +122,7 @@ var xPreferencesWindowGetSearchEnabled func(uintptr) bool
121 func (x *PreferencesWindow) GetSearchEnabled() bool {122 func (x *PreferencesWindow) GetSearchEnabled() bool {
122 123
123 cret := xPreferencesWindowGetSearchEnabled(x.GoPointer())124 cret := xPreferencesWindowGetSearchEnabled(x.GoPointer())
125+
124 return cret126 return cret
125 }127 }
126 128
@@ -147,6 +149,7 @@ var xPreferencesWindowGetVisiblePageName func(uintptr) string
147 func (x *PreferencesWindow) GetVisiblePageName() string {149 func (x *PreferencesWindow) GetVisiblePageName() string {
148 150
149 cret := xPreferencesWindowGetVisiblePageName(x.GoPointer())151 cret := xPreferencesWindowGetVisiblePageName(x.GoPointer())
152+
150 return cret153 return cret
151 }154 }
152 155
@@ -156,6 +159,7 @@ var xPreferencesWindowPopSubpage func(uintptr) bool
156 func (x *PreferencesWindow) PopSubpage() bool {159 func (x *PreferencesWindow) PopSubpage() bool {
157 160
158 cret := xPreferencesWindowPopSubpage(x.GoPointer())161 cret := xPreferencesWindowPopSubpage(x.GoPointer())
162+
159 return cret163 return cret
160 }164 }
161 165
@@ -371,6 +375,7 @@ func (x *PreferencesWindow) GetAccessibleParent() *gtk.AccessibleBase {
371 func (x *PreferencesWindow) GetAccessibleRole() gtk.AccessibleRole {375 func (x *PreferencesWindow) GetAccessibleRole() gtk.AccessibleRole {
372 376
373 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())377 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
378+
374 return cret379 return cret
375 }380 }
376 381
@@ -396,6 +401,7 @@ func (x *PreferencesWindow) GetAtContext() *gtk.ATContext {
396 func (x *PreferencesWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {401 func (x *PreferencesWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
397 402
398 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)403 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
404+
399 return cret405 return cret
400 }406 }
401 407
@@ -435,6 +441,7 @@ func (x *PreferencesWindow) GetNextAccessibleSibling() *gtk.AccessibleBase {
435 func (x *PreferencesWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {441 func (x *PreferencesWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
436 442
437 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)443 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
444+
438 return cret445 return cret
439 }446 }
440 447
@@ -611,6 +618,7 @@ func (x *PreferencesWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc
611 func (x *PreferencesWindow) GetBuildableId() string {618 func (x *PreferencesWindow) GetBuildableId() string {
612 619
613 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())620 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
621+
614 return cret622 return cret
615 }623 }
616 624
M v4/adw/adw-shortcut-label.go +6 -0
@@ -128,6 +128,7 @@ var xShortcutLabelGetAccelerator func(uintptr) string
128 func (x *ShortcutLabel) GetAccelerator() string {128 func (x *ShortcutLabel) GetAccelerator() string {
129 129
130 cret := xShortcutLabelGetAccelerator(x.GoPointer())130 cret := xShortcutLabelGetAccelerator(x.GoPointer())
131+
131 return cret132 return cret
132 }133 }
133 134
@@ -137,6 +138,7 @@ var xShortcutLabelGetDisabledText func(uintptr) string
137 func (x *ShortcutLabel) GetDisabledText() string {138 func (x *ShortcutLabel) GetDisabledText() string {
138 139
139 cret := xShortcutLabelGetDisabledText(x.GoPointer())140 cret := xShortcutLabelGetDisabledText(x.GoPointer())
141+
140 return cret142 return cret
141 }143 }
142 144
@@ -238,6 +240,7 @@ func (x *ShortcutLabel) GetAccessibleParent() *gtk.AccessibleBase {
238 func (x *ShortcutLabel) GetAccessibleRole() gtk.AccessibleRole {240 func (x *ShortcutLabel) GetAccessibleRole() gtk.AccessibleRole {
239 241
240 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())242 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
243+
241 return cret244 return cret
242 }245 }
243 246
@@ -263,6 +266,7 @@ func (x *ShortcutLabel) GetAtContext() *gtk.ATContext {
263 func (x *ShortcutLabel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {266 func (x *ShortcutLabel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
264 267
265 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)268 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
269+
266 return cret270 return cret
267 }271 }
268 272
@@ -302,6 +306,7 @@ func (x *ShortcutLabel) GetNextAccessibleSibling() *gtk.AccessibleBase {
302 func (x *ShortcutLabel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {306 func (x *ShortcutLabel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
303 307
304 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)308 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
309+
305 return cret310 return cret
306 }311 }
307 312
@@ -478,6 +483,7 @@ func (x *ShortcutLabel) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi
478 func (x *ShortcutLabel) GetBuildableId() string {483 func (x *ShortcutLabel) GetBuildableId() string {
479 484
480 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())485 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
486+
481 return cret487 return cret
482 }488 }
483 489
M v4/adw/adw-shortcuts-dialog.go +4 -0
@@ -201,6 +201,7 @@ func (x *ShortcutsDialog) GetAccessibleParent() *gtk.AccessibleBase {
201 func (x *ShortcutsDialog) GetAccessibleRole() gtk.AccessibleRole {201 func (x *ShortcutsDialog) GetAccessibleRole() gtk.AccessibleRole {
202 202
203 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())203 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
204+
204 return cret205 return cret
205 }206 }
206 207
@@ -226,6 +227,7 @@ func (x *ShortcutsDialog) GetAtContext() *gtk.ATContext {
226 func (x *ShortcutsDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {227 func (x *ShortcutsDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
227 228
228 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)229 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
230+
229 return cret231 return cret
230 }232 }
231 233
@@ -265,6 +267,7 @@ func (x *ShortcutsDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
265 func (x *ShortcutsDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {267 func (x *ShortcutsDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
266 268
267 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)269 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
270+
268 return cret271 return cret
269 }272 }
270 273
@@ -441,6 +444,7 @@ func (x *ShortcutsDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
441 func (x *ShortcutsDialog) GetBuildableId() string {444 func (x *ShortcutsDialog) GetBuildableId() string {
442 445
443 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())446 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
447+
444 return cret448 return cret
445 }449 }
446 450
M v4/adw/adw-shortcuts-item.go +5 -0
@@ -92,6 +92,7 @@ var xShortcutsItemGetAccelerator func(uintptr) string
92 func (x *ShortcutsItem) GetAccelerator() string {92 func (x *ShortcutsItem) GetAccelerator() string {
93 93
94 cret := xShortcutsItemGetAccelerator(x.GoPointer())94 cret := xShortcutsItemGetAccelerator(x.GoPointer())
95+
95 return cret96 return cret
96 }97 }
97 98
@@ -101,6 +102,7 @@ var xShortcutsItemGetActionName func(uintptr) string
101 func (x *ShortcutsItem) GetActionName() string {102 func (x *ShortcutsItem) GetActionName() string {
102 103
103 cret := xShortcutsItemGetActionName(x.GoPointer())104 cret := xShortcutsItemGetActionName(x.GoPointer())
105+
104 return cret106 return cret
105 }107 }
106 108
@@ -110,6 +112,7 @@ var xShortcutsItemGetDirection func(uintptr) gtk.TextDirection
110 func (x *ShortcutsItem) GetDirection() gtk.TextDirection {112 func (x *ShortcutsItem) GetDirection() gtk.TextDirection {
111 113
112 cret := xShortcutsItemGetDirection(x.GoPointer())114 cret := xShortcutsItemGetDirection(x.GoPointer())
115+
113 return cret116 return cret
114 }117 }
115 118
@@ -119,6 +122,7 @@ var xShortcutsItemGetSubtitle func(uintptr) string
119 func (x *ShortcutsItem) GetSubtitle() string {122 func (x *ShortcutsItem) GetSubtitle() string {
120 123
121 cret := xShortcutsItemGetSubtitle(x.GoPointer())124 cret := xShortcutsItemGetSubtitle(x.GoPointer())
125+
122 return cret126 return cret
123 }127 }
124 128
@@ -128,6 +132,7 @@ var xShortcutsItemGetTitle func(uintptr) string
128 func (x *ShortcutsItem) GetTitle() string {132 func (x *ShortcutsItem) GetTitle() string {
129 133
130 cret := xShortcutsItemGetTitle(x.GoPointer())134 cret := xShortcutsItemGetTitle(x.GoPointer())
135+
131 return cret136 return cret
132 }137 }
133 138
M v4/adw/adw-shortcuts-section.go +16 -2
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -56,7 +57,11 @@ var xNewShortcutsSection func(uintptr) uintptr
56 func NewShortcutsSection(TitleVar *string) *ShortcutsSection {57 func NewShortcutsSection(TitleVar *string) *ShortcutsSection {
57 var cls *ShortcutsSection58 var cls *ShortcutsSection
58 59
59- cret := xNewShortcutsSection(core.NullableStringToPtr(TitleVar))60+ TitleVarPtr, TitleVarBytes := core.NullableStringToPtr(TitleVar)
61+
62+ cret := xNewShortcutsSection(TitleVarPtr)
63+
64+ runtime.KeepAlive(TitleVarBytes)
60 65
61 if cret == 0 {66 if cret == 0 {
62 return nil67 return nil
@@ -81,6 +86,7 @@ var xShortcutsSectionGetTitle func(uintptr) string
81 func (x *ShortcutsSection) GetTitle() string {86 func (x *ShortcutsSection) GetTitle() string {
82 87
83 cret := xShortcutsSectionGetTitle(x.GoPointer())88 cret := xShortcutsSectionGetTitle(x.GoPointer())
89+
84 return cret90 return cret
85 }91 }
86 92
@@ -89,7 +95,11 @@ var xShortcutsSectionSetTitle func(uintptr, uintptr)
89 // Sets the title of @self.95 // Sets the title of @self.
90 func (x *ShortcutsSection) SetTitle(TitleVar *string) {96 func (x *ShortcutsSection) SetTitle(TitleVar *string) {
91 97
92- xShortcutsSectionSetTitle(x.GoPointer(), core.NullableStringToPtr(TitleVar))98+ TitleVarPtr, TitleVarBytes := core.NullableStringToPtr(TitleVar)
99+
100+ xShortcutsSectionSetTitle(x.GoPointer(), TitleVarPtr)
101+
102+ runtime.KeepAlive(TitleVarBytes)
93 103
94 }104 }
95 105
@@ -133,6 +143,7 @@ func (x *ShortcutsSection) GetPropertyTitle() string {
133 func (x *ShortcutsSection) GetItem(PositionVar uint) uintptr {143 func (x *ShortcutsSection) GetItem(PositionVar uint) uintptr {
134 144
135 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)145 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)
146+
136 return cret147 return cret
137 }148 }
138 149
@@ -147,6 +158,7 @@ func (x *ShortcutsSection) GetItem(PositionVar uint) uintptr {
147 func (x *ShortcutsSection) GetItemType() types.GType {158 func (x *ShortcutsSection) GetItemType() types.GType {
148 159
149 cret := gio.XGListModelGetItemType(x.GoPointer())160 cret := gio.XGListModelGetItemType(x.GoPointer())
161+
150 return cret162 return cret
151 }163 }
152 164
@@ -158,6 +170,7 @@ func (x *ShortcutsSection) GetItemType() types.GType {
158 func (x *ShortcutsSection) GetNItems() uint {170 func (x *ShortcutsSection) GetNItems() uint {
159 171
160 cret := gio.XGListModelGetNItems(x.GoPointer())172 cret := gio.XGListModelGetNItems(x.GoPointer())
173+
161 return cret174 return cret
162 }175 }
163 176
@@ -219,6 +232,7 @@ func (x *ShortcutsSection) ItemsChanged(PositionVar uint, RemovedVar uint, Added
219 func (x *ShortcutsSection) GetBuildableId() string {232 func (x *ShortcutsSection) GetBuildableId() string {
220 233
221 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())234 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
235+
222 return cret236 return cret
223 }237 }
224 238
M v4/adw/adw-spin-row.go +29 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -158,6 +159,7 @@ var xSpinRowGetClimbRate func(uintptr) float64
158 func (x *SpinRow) GetClimbRate() float64 {159 func (x *SpinRow) GetClimbRate() float64 {
159 160
160 cret := xSpinRowGetClimbRate(x.GoPointer())161 cret := xSpinRowGetClimbRate(x.GoPointer())
162+
161 return cret163 return cret
162 }164 }
163 165
@@ -167,6 +169,7 @@ var xSpinRowGetDigits func(uintptr) uint
167 func (x *SpinRow) GetDigits() uint {169 func (x *SpinRow) GetDigits() uint {
168 170
169 cret := xSpinRowGetDigits(x.GoPointer())171 cret := xSpinRowGetDigits(x.GoPointer())
172+
170 return cret173 return cret
171 }174 }
172 175
@@ -176,6 +179,7 @@ var xSpinRowGetNumeric func(uintptr) bool
176 func (x *SpinRow) GetNumeric() bool {179 func (x *SpinRow) GetNumeric() bool {
177 180
178 cret := xSpinRowGetNumeric(x.GoPointer())181 cret := xSpinRowGetNumeric(x.GoPointer())
182+
179 return cret183 return cret
180 }184 }
181 185
@@ -185,6 +189,7 @@ var xSpinRowGetSnapToTicks func(uintptr) bool
185 func (x *SpinRow) GetSnapToTicks() bool {189 func (x *SpinRow) GetSnapToTicks() bool {
186 190
187 cret := xSpinRowGetSnapToTicks(x.GoPointer())191 cret := xSpinRowGetSnapToTicks(x.GoPointer())
192+
188 return cret193 return cret
189 }194 }
190 195
@@ -194,6 +199,7 @@ var xSpinRowGetUpdatePolicy func(uintptr) gtk.SpinButtonUpdatePolicy
194 func (x *SpinRow) GetUpdatePolicy() gtk.SpinButtonUpdatePolicy {199 func (x *SpinRow) GetUpdatePolicy() gtk.SpinButtonUpdatePolicy {
195 200
196 cret := xSpinRowGetUpdatePolicy(x.GoPointer())201 cret := xSpinRowGetUpdatePolicy(x.GoPointer())
202+
197 return cret203 return cret
198 }204 }
199 205
@@ -203,6 +209,7 @@ var xSpinRowGetValue func(uintptr) float64
203 func (x *SpinRow) GetValue() float64 {209 func (x *SpinRow) GetValue() float64 {
204 210
205 cret := xSpinRowGetValue(x.GoPointer())211 cret := xSpinRowGetValue(x.GoPointer())
212+
206 return cret213 return cret
207 }214 }
208 215
@@ -212,6 +219,7 @@ var xSpinRowGetWrap func(uintptr) bool
212 func (x *SpinRow) GetWrap() bool {219 func (x *SpinRow) GetWrap() bool {
213 220
214 cret := xSpinRowGetWrap(x.GoPointer())221 cret := xSpinRowGetWrap(x.GoPointer())
222+
215 return cret223 return cret
216 }224 }
217 225
@@ -529,6 +537,7 @@ func (x *SpinRow) GetAccessibleParent() *gtk.AccessibleBase {
529 func (x *SpinRow) GetAccessibleRole() gtk.AccessibleRole {537 func (x *SpinRow) GetAccessibleRole() gtk.AccessibleRole {
530 538
531 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())539 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
540+
532 return cret541 return cret
533 }542 }
534 543
@@ -554,6 +563,7 @@ func (x *SpinRow) GetAtContext() *gtk.ATContext {
554 func (x *SpinRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {563 func (x *SpinRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
555 564
556 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)565 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
566+
557 return cret567 return cret
558 }568 }
559 569
@@ -593,6 +603,7 @@ func (x *SpinRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
593 func (x *SpinRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {603 func (x *SpinRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
594 604
595 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)605 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
606+
596 return cret607 return cret
597 }608 }
598 609
@@ -766,6 +777,7 @@ func (x *SpinRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
766 func (x *SpinRow) GetActionName() string {777 func (x *SpinRow) GetActionName() string {
767 778
768 cret := gtk.XGtkActionableGetActionName(x.GoPointer())779 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
780+
769 return cret781 return cret
770 }782 }
771 783
@@ -773,6 +785,7 @@ func (x *SpinRow) GetActionName() string {
773 func (x *SpinRow) GetActionTargetValue() *glib.Variant {785 func (x *SpinRow) GetActionTargetValue() *glib.Variant {
774 786
775 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())787 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
788+
776 return cret789 return cret
777 }790 }
778 791
@@ -791,7 +804,11 @@ func (x *SpinRow) GetActionTargetValue() *glib.Variant {
791 // associated with the window.804 // associated with the window.
792 func (x *SpinRow) SetActionName(ActionNameVar *string) {805 func (x *SpinRow) SetActionName(ActionNameVar *string) {
793 806
794- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))807+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
808+
809+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
810+
811+ runtime.KeepAlive(ActionNameVarBytes)
795 812
796 }813 }
797 814
@@ -852,6 +869,7 @@ func (x *SpinRow) SetDetailedActionName(DetailedActionNameVar string) {
852 func (x *SpinRow) GetBuildableId() string {869 func (x *SpinRow) GetBuildableId() string {
853 870
854 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())871 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
872+
855 return cret873 return cret
856 }874 }
857 875
@@ -894,6 +912,7 @@ func (x *SpinRow) GetBuildableId() string {
894 func (x *SpinRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {912 func (x *SpinRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {
895 913
896 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)914 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)
915+
897 return cret916 return cret
898 }917 }
899 918
@@ -934,6 +953,7 @@ func (x *SpinRow) FinishDelegate() {
934 func (x *SpinRow) GetAlignment() float32 {953 func (x *SpinRow) GetAlignment() float32 {
935 954
936 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())955 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())
956+
937 return cret957 return cret
938 }958 }
939 959
@@ -948,6 +968,7 @@ func (x *SpinRow) GetAlignment() float32 {
948 func (x *SpinRow) GetChars(StartPosVar int, EndPosVar int) string {968 func (x *SpinRow) GetChars(StartPosVar int, EndPosVar int) string {
949 969
950 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)970 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)
971+
951 return cret972 return cret
952 }973 }
953 974
@@ -973,6 +994,7 @@ func (x *SpinRow) GetDelegate() *gtk.EditableBase {
973 func (x *SpinRow) GetEditable() bool {994 func (x *SpinRow) GetEditable() bool {
974 995
975 cret := gtk.XGtkEditableGetEditable(x.GoPointer())996 cret := gtk.XGtkEditableGetEditable(x.GoPointer())
997+
976 return cret998 return cret
977 }999 }
978 1000
@@ -980,6 +1002,7 @@ func (x *SpinRow) GetEditable() bool {
980 func (x *SpinRow) GetEnableUndo() bool {1002 func (x *SpinRow) GetEnableUndo() bool {
981 1003
982 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())1004 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())
1005+
983 return cret1006 return cret
984 }1007 }
985 1008
@@ -987,6 +1010,7 @@ func (x *SpinRow) GetEnableUndo() bool {
987 func (x *SpinRow) GetMaxWidthChars() int {1010 func (x *SpinRow) GetMaxWidthChars() int {
988 1011
989 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())1012 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())
1013+
990 return cret1014 return cret
991 }1015 }
992 1016
@@ -997,6 +1021,7 @@ func (x *SpinRow) GetMaxWidthChars() int {
997 func (x *SpinRow) GetPosition() int {1021 func (x *SpinRow) GetPosition() int {
998 1022
999 cret := gtk.XGtkEditableGetPosition(x.GoPointer())1023 cret := gtk.XGtkEditableGetPosition(x.GoPointer())
1024+
1000 return cret1025 return cret
1001 }1026 }
1002 1027
@@ -1010,6 +1035,7 @@ func (x *SpinRow) GetPosition() int {
1010 func (x *SpinRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {1035 func (x *SpinRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
1011 1036
1012 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)1037 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)
1038+
1013 return cret1039 return cret
1014 }1040 }
1015 1041
@@ -1019,6 +1045,7 @@ func (x *SpinRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
1019 func (x *SpinRow) GetText() string {1045 func (x *SpinRow) GetText() string {
1020 1046
1021 cret := gtk.XGtkEditableGetText(x.GoPointer())1047 cret := gtk.XGtkEditableGetText(x.GoPointer())
1048+
1022 return cret1049 return cret
1023 }1050 }
1024 1051
@@ -1027,6 +1054,7 @@ func (x *SpinRow) GetText() string {
1027 func (x *SpinRow) GetWidthChars() int {1054 func (x *SpinRow) GetWidthChars() int {
1028 1055
1029 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())1056 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())
1057+
1030 return cret1058 return cret
1031 }1059 }
1032 1060
M v4/adw/adw-spinner-paintable.go +4 -0
@@ -168,6 +168,7 @@ func (x *SpinnerPaintable) GetCurrentImage() *gdk.PaintableBase {
168 func (x *SpinnerPaintable) GetFlags() gdk.PaintableFlags {168 func (x *SpinnerPaintable) GetFlags() gdk.PaintableFlags {
169 169
170 cret := gdk.XGdkPaintableGetFlags(x.GoPointer())170 cret := gdk.XGdkPaintableGetFlags(x.GoPointer())
171+
171 return cret172 return cret
172 }173 }
173 174
@@ -191,6 +192,7 @@ func (x *SpinnerPaintable) GetFlags() gdk.PaintableFlags {
191 func (x *SpinnerPaintable) GetIntrinsicAspectRatio() float64 {192 func (x *SpinnerPaintable) GetIntrinsicAspectRatio() float64 {
192 193
193 cret := gdk.XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())194 cret := gdk.XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
195+
194 return cret196 return cret
195 }197 }
196 198
@@ -207,6 +209,7 @@ func (x *SpinnerPaintable) GetIntrinsicAspectRatio() float64 {
207 func (x *SpinnerPaintable) GetIntrinsicHeight() int {209 func (x *SpinnerPaintable) GetIntrinsicHeight() int {
208 210
209 cret := gdk.XGdkPaintableGetIntrinsicHeight(x.GoPointer())211 cret := gdk.XGdkPaintableGetIntrinsicHeight(x.GoPointer())
212+
210 return cret213 return cret
211 }214 }
212 215
@@ -223,6 +226,7 @@ func (x *SpinnerPaintable) GetIntrinsicHeight() int {
223 func (x *SpinnerPaintable) GetIntrinsicWidth() int {226 func (x *SpinnerPaintable) GetIntrinsicWidth() int {
224 227
225 cret := gdk.XGdkPaintableGetIntrinsicWidth(x.GoPointer())228 cret := gdk.XGdkPaintableGetIntrinsicWidth(x.GoPointer())
229+
226 return cret230 return cret
227 }231 }
228 232
M v4/adw/adw-spinner.go +4 -0
@@ -141,6 +141,7 @@ func (x *Spinner) GetAccessibleParent() *gtk.AccessibleBase {
141 func (x *Spinner) GetAccessibleRole() gtk.AccessibleRole {141 func (x *Spinner) GetAccessibleRole() gtk.AccessibleRole {
142 142
143 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())143 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
144+
144 return cret145 return cret
145 }146 }
146 147
@@ -166,6 +167,7 @@ func (x *Spinner) GetAtContext() *gtk.ATContext {
166 func (x *Spinner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {167 func (x *Spinner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
167 168
168 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)169 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
170+
169 return cret171 return cret
170 }172 }
171 173
@@ -205,6 +207,7 @@ func (x *Spinner) GetNextAccessibleSibling() *gtk.AccessibleBase {
205 func (x *Spinner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {207 func (x *Spinner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
206 208
207 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)209 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
210+
208 return cret211 return cret
209 }212 }
210 213
@@ -381,6 +384,7 @@ func (x *Spinner) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
381 func (x *Spinner) GetBuildableId() string {384 func (x *Spinner) GetBuildableId() string {
382 385
383 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())386 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
387+
384 return cret388 return cret
385 }389 }
386 390
M v4/adw/adw-split-button.go +18 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -114,6 +115,7 @@ var xSplitButtonGetCanShrink func(uintptr) bool
114 func (x *SplitButton) GetCanShrink() bool {115 func (x *SplitButton) GetCanShrink() bool {
115 116
116 cret := xSplitButtonGetCanShrink(x.GoPointer())117 cret := xSplitButtonGetCanShrink(x.GoPointer())
118+
117 return cret119 return cret
118 }120 }
119 121
@@ -140,6 +142,7 @@ var xSplitButtonGetDirection func(uintptr) gtk.ArrowType
140 func (x *SplitButton) GetDirection() gtk.ArrowType {142 func (x *SplitButton) GetDirection() gtk.ArrowType {
141 143
142 cret := xSplitButtonGetDirection(x.GoPointer())144 cret := xSplitButtonGetDirection(x.GoPointer())
145+
143 return cret146 return cret
144 }147 }
145 148
@@ -149,6 +152,7 @@ var xSplitButtonGetDropdownTooltip func(uintptr) string
149 func (x *SplitButton) GetDropdownTooltip() string {152 func (x *SplitButton) GetDropdownTooltip() string {
150 153
151 cret := xSplitButtonGetDropdownTooltip(x.GoPointer())154 cret := xSplitButtonGetDropdownTooltip(x.GoPointer())
155+
152 return cret156 return cret
153 }157 }
154 158
@@ -158,6 +162,7 @@ var xSplitButtonGetIconName func(uintptr) string
158 func (x *SplitButton) GetIconName() string {162 func (x *SplitButton) GetIconName() string {
159 163
160 cret := xSplitButtonGetIconName(x.GoPointer())164 cret := xSplitButtonGetIconName(x.GoPointer())
165+
161 return cret166 return cret
162 }167 }
163 168
@@ -167,6 +172,7 @@ var xSplitButtonGetLabel func(uintptr) string
167 func (x *SplitButton) GetLabel() string {172 func (x *SplitButton) GetLabel() string {
168 173
169 cret := xSplitButtonGetLabel(x.GoPointer())174 cret := xSplitButtonGetLabel(x.GoPointer())
175+
170 return cret176 return cret
171 }177 }
172 178
@@ -210,6 +216,7 @@ var xSplitButtonGetUseUnderline func(uintptr) bool
210 func (x *SplitButton) GetUseUnderline() bool {216 func (x *SplitButton) GetUseUnderline() bool {
211 217
212 cret := xSplitButtonGetUseUnderline(x.GoPointer())218 cret := xSplitButtonGetUseUnderline(x.GoPointer())
219+
213 return cret220 return cret
214 }221 }
215 222
@@ -555,6 +562,7 @@ func (x *SplitButton) GetAccessibleParent() *gtk.AccessibleBase {
555 func (x *SplitButton) GetAccessibleRole() gtk.AccessibleRole {562 func (x *SplitButton) GetAccessibleRole() gtk.AccessibleRole {
556 563
557 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())564 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
565+
558 return cret566 return cret
559 }567 }
560 568
@@ -580,6 +588,7 @@ func (x *SplitButton) GetAtContext() *gtk.ATContext {
580 func (x *SplitButton) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {588 func (x *SplitButton) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
581 589
582 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)590 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
591+
583 return cret592 return cret
584 }593 }
585 594
@@ -619,6 +628,7 @@ func (x *SplitButton) GetNextAccessibleSibling() *gtk.AccessibleBase {
619 func (x *SplitButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {628 func (x *SplitButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
620 629
621 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)630 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
631+
622 return cret632 return cret
623 }633 }
624 634
@@ -792,6 +802,7 @@ func (x *SplitButton) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
792 func (x *SplitButton) GetActionName() string {802 func (x *SplitButton) GetActionName() string {
793 803
794 cret := gtk.XGtkActionableGetActionName(x.GoPointer())804 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
805+
795 return cret806 return cret
796 }807 }
797 808
@@ -799,6 +810,7 @@ func (x *SplitButton) GetActionName() string {
799 func (x *SplitButton) GetActionTargetValue() *glib.Variant {810 func (x *SplitButton) GetActionTargetValue() *glib.Variant {
800 811
801 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())812 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
813+
802 return cret814 return cret
803 }815 }
804 816
@@ -817,7 +829,11 @@ func (x *SplitButton) GetActionTargetValue() *glib.Variant {
817 // associated with the window.829 // associated with the window.
818 func (x *SplitButton) SetActionName(ActionNameVar *string) {830 func (x *SplitButton) SetActionName(ActionNameVar *string) {
819 831
820- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))832+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
833+
834+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
835+
836+ runtime.KeepAlive(ActionNameVarBytes)
821 837
822 }838 }
823 839
@@ -878,6 +894,7 @@ func (x *SplitButton) SetDetailedActionName(DetailedActionNameVar string) {
878 func (x *SplitButton) GetBuildableId() string {894 func (x *SplitButton) GetBuildableId() string {
879 895
880 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())896 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
897+
881 return cret898 return cret
882 }899 }
883 900
M v4/adw/adw-spring-animation.go +10 -0
@@ -98,6 +98,7 @@ var xSpringAnimationCalculateValue func(uintptr, uint) float64
98 func (x *SpringAnimation) CalculateValue(TimeVar uint) float64 {98 func (x *SpringAnimation) CalculateValue(TimeVar uint) float64 {
99 99
100 cret := xSpringAnimationCalculateValue(x.GoPointer(), TimeVar)100 cret := xSpringAnimationCalculateValue(x.GoPointer(), TimeVar)
101+
101 return cret102 return cret
102 }103 }
103 104
@@ -112,6 +113,7 @@ var xSpringAnimationCalculateVelocity func(uintptr, uint) float64
112 func (x *SpringAnimation) CalculateVelocity(TimeVar uint) float64 {113 func (x *SpringAnimation) CalculateVelocity(TimeVar uint) float64 {
113 114
114 cret := xSpringAnimationCalculateVelocity(x.GoPointer(), TimeVar)115 cret := xSpringAnimationCalculateVelocity(x.GoPointer(), TimeVar)
116+
115 return cret117 return cret
116 }118 }
117 119
@@ -121,6 +123,7 @@ var xSpringAnimationGetClamp func(uintptr) bool
121 func (x *SpringAnimation) GetClamp() bool {123 func (x *SpringAnimation) GetClamp() bool {
122 124
123 cret := xSpringAnimationGetClamp(x.GoPointer())125 cret := xSpringAnimationGetClamp(x.GoPointer())
126+
124 return cret127 return cret
125 }128 }
126 129
@@ -130,6 +133,7 @@ var xSpringAnimationGetEpsilon func(uintptr) float64
130 func (x *SpringAnimation) GetEpsilon() float64 {133 func (x *SpringAnimation) GetEpsilon() float64 {
131 134
132 cret := xSpringAnimationGetEpsilon(x.GoPointer())135 cret := xSpringAnimationGetEpsilon(x.GoPointer())
136+
133 return cret137 return cret
134 }138 }
135 139
@@ -141,6 +145,7 @@ var xSpringAnimationGetEstimatedDuration func(uintptr) uint
141 func (x *SpringAnimation) GetEstimatedDuration() uint {145 func (x *SpringAnimation) GetEstimatedDuration() uint {
142 146
143 cret := xSpringAnimationGetEstimatedDuration(x.GoPointer())147 cret := xSpringAnimationGetEstimatedDuration(x.GoPointer())
148+
144 return cret149 return cret
145 }150 }
146 151
@@ -150,6 +155,7 @@ var xSpringAnimationGetInitialVelocity func(uintptr) float64
150 func (x *SpringAnimation) GetInitialVelocity() float64 {155 func (x *SpringAnimation) GetInitialVelocity() float64 {
151 156
152 cret := xSpringAnimationGetInitialVelocity(x.GoPointer())157 cret := xSpringAnimationGetInitialVelocity(x.GoPointer())
158+
153 return cret159 return cret
154 }160 }
155 161
@@ -159,6 +165,7 @@ var xSpringAnimationGetSpringParams func(uintptr) *SpringParams
159 func (x *SpringAnimation) GetSpringParams() *SpringParams {165 func (x *SpringAnimation) GetSpringParams() *SpringParams {
160 166
161 cret := xSpringAnimationGetSpringParams(x.GoPointer())167 cret := xSpringAnimationGetSpringParams(x.GoPointer())
168+
162 return cret169 return cret
163 }170 }
164 171
@@ -168,6 +175,7 @@ var xSpringAnimationGetValueFrom func(uintptr) float64
168 func (x *SpringAnimation) GetValueFrom() float64 {175 func (x *SpringAnimation) GetValueFrom() float64 {
169 176
170 cret := xSpringAnimationGetValueFrom(x.GoPointer())177 cret := xSpringAnimationGetValueFrom(x.GoPointer())
178+
171 return cret179 return cret
172 }180 }
173 181
@@ -177,6 +185,7 @@ var xSpringAnimationGetValueTo func(uintptr) float64
177 func (x *SpringAnimation) GetValueTo() float64 {185 func (x *SpringAnimation) GetValueTo() float64 {
178 186
179 cret := xSpringAnimationGetValueTo(x.GoPointer())187 cret := xSpringAnimationGetValueTo(x.GoPointer())
188+
180 return cret189 return cret
181 }190 }
182 191
@@ -186,6 +195,7 @@ var xSpringAnimationGetVelocity func(uintptr) float64
186 func (x *SpringAnimation) GetVelocity() float64 {195 func (x *SpringAnimation) GetVelocity() float64 {
187 196
188 cret := xSpringAnimationGetVelocity(x.GoPointer())197 cret := xSpringAnimationGetVelocity(x.GoPointer())
198+
189 return cret199 return cret
190 }200 }
191 201
M v4/adw/adw-spring-params.go +7 -0
@@ -74,6 +74,7 @@ var xNewSpringParams func(float64, float64, float64) *SpringParams
74 func NewSpringParams(DampingRatioVar float64, MassVar float64, StiffnessVar float64) *SpringParams {74 func NewSpringParams(DampingRatioVar float64, MassVar float64, StiffnessVar float64) *SpringParams {
75 75
76 cret := xNewSpringParams(DampingRatioVar, MassVar, StiffnessVar)76 cret := xNewSpringParams(DampingRatioVar, MassVar, StiffnessVar)
77+
77 return cret78 return cret
78 }79 }
79 80
@@ -86,6 +87,7 @@ var xNewSpringParamsFull func(float64, float64, float64) *SpringParams
86 func NewSpringParamsFull(DampingVar float64, MassVar float64, StiffnessVar float64) *SpringParams {87 func NewSpringParamsFull(DampingVar float64, MassVar float64, StiffnessVar float64) *SpringParams {
87 88
88 cret := xNewSpringParamsFull(DampingVar, MassVar, StiffnessVar)89 cret := xNewSpringParamsFull(DampingVar, MassVar, StiffnessVar)
90+
89 return cret91 return cret
90 }92 }
91 93
@@ -95,6 +97,7 @@ var xSpringParamsGetDamping func(uintptr) float64
95 func (x *SpringParams) GetDamping() float64 {97 func (x *SpringParams) GetDamping() float64 {
96 98
97 cret := xSpringParamsGetDamping(x.GoPointer())99 cret := xSpringParamsGetDamping(x.GoPointer())
100+
98 return cret101 return cret
99 }102 }
100 103
@@ -104,6 +107,7 @@ var xSpringParamsGetDampingRatio func(uintptr) float64
104 func (x *SpringParams) GetDampingRatio() float64 {107 func (x *SpringParams) GetDampingRatio() float64 {
105 108
106 cret := xSpringParamsGetDampingRatio(x.GoPointer())109 cret := xSpringParamsGetDampingRatio(x.GoPointer())
110+
107 return cret111 return cret
108 }112 }
109 113
@@ -113,6 +117,7 @@ var xSpringParamsGetMass func(uintptr) float64
113 func (x *SpringParams) GetMass() float64 {117 func (x *SpringParams) GetMass() float64 {
114 118
115 cret := xSpringParamsGetMass(x.GoPointer())119 cret := xSpringParamsGetMass(x.GoPointer())
120+
116 return cret121 return cret
117 }122 }
118 123
@@ -122,6 +127,7 @@ var xSpringParamsGetStiffness func(uintptr) float64
122 func (x *SpringParams) GetStiffness() float64 {127 func (x *SpringParams) GetStiffness() float64 {
123 128
124 cret := xSpringParamsGetStiffness(x.GoPointer())129 cret := xSpringParamsGetStiffness(x.GoPointer())
130+
125 return cret131 return cret
126 }132 }
127 133
@@ -131,6 +137,7 @@ var xSpringParamsRef func(uintptr) *SpringParams
131 func (x *SpringParams) Ref() *SpringParams {137 func (x *SpringParams) Ref() *SpringParams {
132 138
133 cret := xSpringParamsRef(x.GoPointer())139 cret := xSpringParamsRef(x.GoPointer())
140+
134 return cret141 return cret
135 }142 }
136 143
M v4/adw/adw-squeezer.go +15 -0
@@ -131,6 +131,7 @@ var xSqueezerGetAllowNone func(uintptr) bool
131 func (x *Squeezer) GetAllowNone() bool {131 func (x *Squeezer) GetAllowNone() bool {
132 132
133 cret := xSqueezerGetAllowNone(x.GoPointer())133 cret := xSqueezerGetAllowNone(x.GoPointer())
134+
134 return cret135 return cret
135 }136 }
136 137
@@ -140,6 +141,7 @@ var xSqueezerGetHomogeneous func(uintptr) bool
140 func (x *Squeezer) GetHomogeneous() bool {141 func (x *Squeezer) GetHomogeneous() bool {
141 142
142 cret := xSqueezerGetHomogeneous(x.GoPointer())143 cret := xSqueezerGetHomogeneous(x.GoPointer())
144+
143 return cret145 return cret
144 }146 }
145 147
@@ -149,6 +151,7 @@ var xSqueezerGetInterpolateSize func(uintptr) bool
149 func (x *Squeezer) GetInterpolateSize() bool {151 func (x *Squeezer) GetInterpolateSize() bool {
150 152
151 cret := xSqueezerGetInterpolateSize(x.GoPointer())153 cret := xSqueezerGetInterpolateSize(x.GoPointer())
154+
152 return cret155 return cret
153 }156 }
154 157
@@ -194,6 +197,7 @@ var xSqueezerGetSwitchThresholdPolicy func(uintptr) FoldThresholdPolicy
194 func (x *Squeezer) GetSwitchThresholdPolicy() FoldThresholdPolicy {197 func (x *Squeezer) GetSwitchThresholdPolicy() FoldThresholdPolicy {
195 198
196 cret := xSqueezerGetSwitchThresholdPolicy(x.GoPointer())199 cret := xSqueezerGetSwitchThresholdPolicy(x.GoPointer())
200+
197 return cret201 return cret
198 }202 }
199 203
@@ -203,6 +207,7 @@ var xSqueezerGetTransitionDuration func(uintptr) uint
203 func (x *Squeezer) GetTransitionDuration() uint {207 func (x *Squeezer) GetTransitionDuration() uint {
204 208
205 cret := xSqueezerGetTransitionDuration(x.GoPointer())209 cret := xSqueezerGetTransitionDuration(x.GoPointer())
210+
206 return cret211 return cret
207 }212 }
208 213
@@ -216,6 +221,7 @@ var xSqueezerGetTransitionRunning func(uintptr) bool
216 func (x *Squeezer) GetTransitionRunning() bool {221 func (x *Squeezer) GetTransitionRunning() bool {
217 222
218 cret := xSqueezerGetTransitionRunning(x.GoPointer())223 cret := xSqueezerGetTransitionRunning(x.GoPointer())
224+
219 return cret225 return cret
220 }226 }
221 227
@@ -225,6 +231,7 @@ var xSqueezerGetTransitionType func(uintptr) SqueezerTransitionType
225 func (x *Squeezer) GetTransitionType() SqueezerTransitionType {231 func (x *Squeezer) GetTransitionType() SqueezerTransitionType {
226 232
227 cret := xSqueezerGetTransitionType(x.GoPointer())233 cret := xSqueezerGetTransitionType(x.GoPointer())
234+
228 return cret235 return cret
229 }236 }
230 237
@@ -251,6 +258,7 @@ var xSqueezerGetXalign func(uintptr) float32
251 func (x *Squeezer) GetXalign() float32 {258 func (x *Squeezer) GetXalign() float32 {
252 259
253 cret := xSqueezerGetXalign(x.GoPointer())260 cret := xSqueezerGetXalign(x.GoPointer())
261+
254 return cret262 return cret
255 }263 }
256 264
@@ -260,6 +268,7 @@ var xSqueezerGetYalign func(uintptr) float32
260 func (x *Squeezer) GetYalign() float32 {268 func (x *Squeezer) GetYalign() float32 {
261 269
262 cret := xSqueezerGetYalign(x.GoPointer())270 cret := xSqueezerGetYalign(x.GoPointer())
271+
263 return cret272 return cret
264 }273 }
265 274
@@ -588,6 +597,7 @@ func (x *Squeezer) GetAccessibleParent() *gtk.AccessibleBase {
588 func (x *Squeezer) GetAccessibleRole() gtk.AccessibleRole {597 func (x *Squeezer) GetAccessibleRole() gtk.AccessibleRole {
589 598
590 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())599 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
600+
591 return cret601 return cret
592 }602 }
593 603
@@ -613,6 +623,7 @@ func (x *Squeezer) GetAtContext() *gtk.ATContext {
613 func (x *Squeezer) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {623 func (x *Squeezer) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
614 624
615 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)625 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
626+
616 return cret627 return cret
617 }628 }
618 629
@@ -652,6 +663,7 @@ func (x *Squeezer) GetNextAccessibleSibling() *gtk.AccessibleBase {
652 func (x *Squeezer) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {663 func (x *Squeezer) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
653 664
654 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)665 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
666+
655 return cret667 return cret
656 }668 }
657 669
@@ -828,6 +840,7 @@ func (x *Squeezer) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt
828 func (x *Squeezer) GetBuildableId() string {840 func (x *Squeezer) GetBuildableId() string {
829 841
830 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())842 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
843+
831 return cret844 return cret
832 }845 }
833 846
@@ -835,6 +848,7 @@ func (x *Squeezer) GetBuildableId() string {
835 func (x *Squeezer) GetOrientation() gtk.Orientation {848 func (x *Squeezer) GetOrientation() gtk.Orientation {
836 849
837 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())850 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
851+
838 return cret852 return cret
839 }853 }
840 854
@@ -885,6 +899,7 @@ var xSqueezerPageGetEnabled func(uintptr) bool
885 func (x *SqueezerPage) GetEnabled() bool {899 func (x *SqueezerPage) GetEnabled() bool {
886 900
887 cret := xSqueezerPageGetEnabled(x.GoPointer())901 cret := xSqueezerPageGetEnabled(x.GoPointer())
902+
888 return cret903 return cret
889 }904 }
890 905
M v4/adw/adw-status-page.go +18 -2
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -112,6 +113,7 @@ var xStatusPageGetDescription func(uintptr) string
112 func (x *StatusPage) GetDescription() string {113 func (x *StatusPage) GetDescription() string {
113 114
114 cret := xStatusPageGetDescription(x.GoPointer())115 cret := xStatusPageGetDescription(x.GoPointer())
116+
115 return cret117 return cret
116 }118 }
117 119
@@ -121,6 +123,7 @@ var xStatusPageGetIconName func(uintptr) string
121 func (x *StatusPage) GetIconName() string {123 func (x *StatusPage) GetIconName() string {
122 124
123 cret := xStatusPageGetIconName(x.GoPointer())125 cret := xStatusPageGetIconName(x.GoPointer())
126+
124 return cret127 return cret
125 }128 }
126 129
@@ -147,6 +150,7 @@ var xStatusPageGetTitle func(uintptr) string
147 func (x *StatusPage) GetTitle() string {150 func (x *StatusPage) GetTitle() string {
148 151
149 cret := xStatusPageGetTitle(x.GoPointer())152 cret := xStatusPageGetTitle(x.GoPointer())
153+
150 return cret154 return cret
151 }155 }
152 156
@@ -166,7 +170,11 @@ var xStatusPageSetDescription func(uintptr, uintptr)
166 // The description is displayed below the title. It is parsed as Pango markup.170 // The description is displayed below the title. It is parsed as Pango markup.
167 func (x *StatusPage) SetDescription(DescriptionVar *string) {171 func (x *StatusPage) SetDescription(DescriptionVar *string) {
168 172
169- xStatusPageSetDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar))173+ DescriptionVarPtr, DescriptionVarBytes := core.NullableStringToPtr(DescriptionVar)
174+
175+ xStatusPageSetDescription(x.GoPointer(), DescriptionVarPtr)
176+
177+ runtime.KeepAlive(DescriptionVarBytes)
170 178
171 }179 }
172 180
@@ -177,7 +185,11 @@ var xStatusPageSetIconName func(uintptr, uintptr)
177 // Changing this will set [property@StatusPage:paintable] to `NULL`.185 // Changing this will set [property@StatusPage:paintable] to `NULL`.
178 func (x *StatusPage) SetIconName(IconNameVar *string) {186 func (x *StatusPage) SetIconName(IconNameVar *string) {
179 187
180- xStatusPageSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))188+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
189+
190+ xStatusPageSetIconName(x.GoPointer(), IconNameVarPtr)
191+
192+ runtime.KeepAlive(IconNameVarBytes)
181 193
182 }194 }
183 195
@@ -308,6 +320,7 @@ func (x *StatusPage) GetAccessibleParent() *gtk.AccessibleBase {
308 func (x *StatusPage) GetAccessibleRole() gtk.AccessibleRole {320 func (x *StatusPage) GetAccessibleRole() gtk.AccessibleRole {
309 321
310 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())322 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
323+
311 return cret324 return cret
312 }325 }
313 326
@@ -333,6 +346,7 @@ func (x *StatusPage) GetAtContext() *gtk.ATContext {
333 func (x *StatusPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {346 func (x *StatusPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
334 347
335 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)348 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
349+
336 return cret350 return cret
337 }351 }
338 352
@@ -372,6 +386,7 @@ func (x *StatusPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
372 func (x *StatusPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {386 func (x *StatusPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
373 387
374 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)388 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
389+
375 return cret390 return cret
376 }391 }
377 392
@@ -548,6 +563,7 @@ func (x *StatusPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessible
548 func (x *StatusPage) GetBuildableId() string {563 func (x *StatusPage) GetBuildableId() string {
549 564
550 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())565 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
566+
551 return cret567 return cret
552 }568 }
553 569
M v4/adw/adw-style-manager.go +9 -0
@@ -83,6 +83,7 @@ var xStyleManagerGetAccentColor func(uintptr) AccentColor
83 func (x *StyleManager) GetAccentColor() AccentColor {83 func (x *StyleManager) GetAccentColor() AccentColor {
84 84
85 cret := xStyleManagerGetAccentColor(x.GoPointer())85 cret := xStyleManagerGetAccentColor(x.GoPointer())
86+
86 return cret87 return cret
87 }88 }
88 89
@@ -97,6 +98,7 @@ var xStyleManagerGetAccentColorRgba func(uintptr) *gdk.RGBA
97 func (x *StyleManager) GetAccentColorRgba() *gdk.RGBA {98 func (x *StyleManager) GetAccentColorRgba() *gdk.RGBA {
98 99
99 cret := xStyleManagerGetAccentColorRgba(x.GoPointer())100 cret := xStyleManagerGetAccentColorRgba(x.GoPointer())
101+
100 return cret102 return cret
101 }103 }
102 104
@@ -106,6 +108,7 @@ var xStyleManagerGetColorScheme func(uintptr) ColorScheme
106 func (x *StyleManager) GetColorScheme() ColorScheme {108 func (x *StyleManager) GetColorScheme() ColorScheme {
107 109
108 cret := xStyleManagerGetColorScheme(x.GoPointer())110 cret := xStyleManagerGetColorScheme(x.GoPointer())
111+
109 return cret112 return cret
110 }113 }
111 114
@@ -118,6 +121,7 @@ var xStyleManagerGetDark func(uintptr) bool
118 func (x *StyleManager) GetDark() bool {121 func (x *StyleManager) GetDark() bool {
119 122
120 cret := xStyleManagerGetDark(x.GoPointer())123 cret := xStyleManagerGetDark(x.GoPointer())
124+
121 return cret125 return cret
122 }126 }
123 127
@@ -152,6 +156,7 @@ var xStyleManagerGetDocumentFontName func(uintptr) string
152 func (x *StyleManager) GetDocumentFontName() string {156 func (x *StyleManager) GetDocumentFontName() string {
153 157
154 cret := xStyleManagerGetDocumentFontName(x.GoPointer())158 cret := xStyleManagerGetDocumentFontName(x.GoPointer())
159+
155 return cret160 return cret
156 }161 }
157 162
@@ -163,6 +168,7 @@ var xStyleManagerGetHighContrast func(uintptr) bool
163 func (x *StyleManager) GetHighContrast() bool {168 func (x *StyleManager) GetHighContrast() bool {
164 169
165 cret := xStyleManagerGetHighContrast(x.GoPointer())170 cret := xStyleManagerGetHighContrast(x.GoPointer())
171+
166 return cret172 return cret
167 }173 }
168 174
@@ -177,6 +183,7 @@ var xStyleManagerGetMonospaceFontName func(uintptr) string
177 func (x *StyleManager) GetMonospaceFontName() string {183 func (x *StyleManager) GetMonospaceFontName() string {
178 184
179 cret := xStyleManagerGetMonospaceFontName(x.GoPointer())185 cret := xStyleManagerGetMonospaceFontName(x.GoPointer())
186+
180 return cret187 return cret
181 }188 }
182 189
@@ -192,6 +199,7 @@ var xStyleManagerGetSystemSupportsAccentColors func(uintptr) bool
192 func (x *StyleManager) GetSystemSupportsAccentColors() bool {199 func (x *StyleManager) GetSystemSupportsAccentColors() bool {
193 200
194 cret := xStyleManagerGetSystemSupportsAccentColors(x.GoPointer())201 cret := xStyleManagerGetSystemSupportsAccentColors(x.GoPointer())
202+
195 return cret203 return cret
196 }204 }
197 205
@@ -205,6 +213,7 @@ var xStyleManagerGetSystemSupportsColorSchemes func(uintptr) bool
205 func (x *StyleManager) GetSystemSupportsColorSchemes() bool {213 func (x *StyleManager) GetSystemSupportsColorSchemes() bool {
206 214
207 cret := xStyleManagerGetSystemSupportsColorSchemes(x.GoPointer())215 cret := xStyleManagerGetSystemSupportsColorSchemes(x.GoPointer())
216+
208 return cret217 return cret
209 }218 }
210 219
M v4/adw/adw-swipe-tracker.go +8 -0
@@ -72,6 +72,7 @@ var xSwipeTrackerGetAllowLongSwipes func(uintptr) bool
72 func (x *SwipeTracker) GetAllowLongSwipes() bool {72 func (x *SwipeTracker) GetAllowLongSwipes() bool {
73 73
74 cret := xSwipeTrackerGetAllowLongSwipes(x.GoPointer())74 cret := xSwipeTrackerGetAllowLongSwipes(x.GoPointer())
75+
75 return cret76 return cret
76 }77 }
77 78
@@ -81,6 +82,7 @@ var xSwipeTrackerGetAllowMouseDrag func(uintptr) bool
81 func (x *SwipeTracker) GetAllowMouseDrag() bool {82 func (x *SwipeTracker) GetAllowMouseDrag() bool {
82 83
83 cret := xSwipeTrackerGetAllowMouseDrag(x.GoPointer())84 cret := xSwipeTrackerGetAllowMouseDrag(x.GoPointer())
85+
84 return cret86 return cret
85 }87 }
86 88
@@ -90,6 +92,7 @@ var xSwipeTrackerGetAllowWindowHandle func(uintptr) bool
90 func (x *SwipeTracker) GetAllowWindowHandle() bool {92 func (x *SwipeTracker) GetAllowWindowHandle() bool {
91 93
92 cret := xSwipeTrackerGetAllowWindowHandle(x.GoPointer())94 cret := xSwipeTrackerGetAllowWindowHandle(x.GoPointer())
95+
93 return cret96 return cret
94 }97 }
95 98
@@ -99,6 +102,7 @@ var xSwipeTrackerGetEnabled func(uintptr) bool
99 func (x *SwipeTracker) GetEnabled() bool {102 func (x *SwipeTracker) GetEnabled() bool {
100 103
101 cret := xSwipeTrackerGetEnabled(x.GoPointer())104 cret := xSwipeTrackerGetEnabled(x.GoPointer())
105+
102 return cret106 return cret
103 }107 }
104 108
@@ -108,6 +112,7 @@ var xSwipeTrackerGetLowerOvershoot func(uintptr) bool
108 func (x *SwipeTracker) GetLowerOvershoot() bool {112 func (x *SwipeTracker) GetLowerOvershoot() bool {
109 113
110 cret := xSwipeTrackerGetLowerOvershoot(x.GoPointer())114 cret := xSwipeTrackerGetLowerOvershoot(x.GoPointer())
115+
111 return cret116 return cret
112 }117 }
113 118
@@ -117,6 +122,7 @@ var xSwipeTrackerGetReversed func(uintptr) bool
117 func (x *SwipeTracker) GetReversed() bool {122 func (x *SwipeTracker) GetReversed() bool {
118 123
119 cret := xSwipeTrackerGetReversed(x.GoPointer())124 cret := xSwipeTrackerGetReversed(x.GoPointer())
125+
120 return cret126 return cret
121 }127 }
122 128
@@ -143,6 +149,7 @@ var xSwipeTrackerGetUpperOvershoot func(uintptr) bool
143 func (x *SwipeTracker) GetUpperOvershoot() bool {149 func (x *SwipeTracker) GetUpperOvershoot() bool {
144 150
145 cret := xSwipeTrackerGetUpperOvershoot(x.GoPointer())151 cret := xSwipeTrackerGetUpperOvershoot(x.GoPointer())
152+
146 return cret153 return cret
147 }154 }
148 155
@@ -477,6 +484,7 @@ func (x *SwipeTracker) ConnectUpdateSwipe(cb *func(SwipeTracker, float64)) uint3
477 func (x *SwipeTracker) GetOrientation() gtk.Orientation {484 func (x *SwipeTracker) GetOrientation() gtk.Orientation {
478 485
479 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())486 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
487+
480 return cret488 return cret
481 }489 }
482 490
M v4/adw/adw-swipeable.go +4 -0
@@ -199,6 +199,7 @@ func (x *SwipeableBase) SetGoPointer(ptr uintptr) {
199 func (x *SwipeableBase) GetCancelProgress() float64 {199 func (x *SwipeableBase) GetCancelProgress() float64 {
200 200
201 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())201 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
202+
202 return cret203 return cret
203 }204 }
204 205
@@ -208,6 +209,7 @@ func (x *SwipeableBase) GetCancelProgress() float64 {
208 func (x *SwipeableBase) GetDistance() float64 {209 func (x *SwipeableBase) GetDistance() float64 {
209 210
210 cret := XAdwSwipeableGetDistance(x.GoPointer())211 cret := XAdwSwipeableGetDistance(x.GoPointer())
212+
211 return cret213 return cret
212 }214 }
213 215
@@ -215,6 +217,7 @@ func (x *SwipeableBase) GetDistance() float64 {
215 func (x *SwipeableBase) GetProgress() float64 {217 func (x *SwipeableBase) GetProgress() float64 {
216 218
217 cret := XAdwSwipeableGetProgress(x.GoPointer())219 cret := XAdwSwipeableGetProgress(x.GoPointer())
220+
218 return cret221 return cret
219 }222 }
220 223
@@ -225,6 +228,7 @@ func (x *SwipeableBase) GetProgress() float64 {
225 func (x *SwipeableBase) GetSnapPoints(NSnapPointsVar *int) uintptr {228 func (x *SwipeableBase) GetSnapPoints(NSnapPointsVar *int) uintptr {
226 229
227 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)230 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
231+
228 return cret232 return cret
229 }233 }
230 234
M v4/adw/adw-switch-row.go +13 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -96,6 +97,7 @@ var xSwitchRowGetActive func(uintptr) bool
96 func (x *SwitchRow) GetActive() bool {97 func (x *SwitchRow) GetActive() bool {
97 98
98 cret := xSwitchRowGetActive(x.GoPointer())99 cret := xSwitchRowGetActive(x.GoPointer())
100+
99 return cret101 return cret
100 }102 }
101 103
@@ -171,6 +173,7 @@ func (x *SwitchRow) GetAccessibleParent() *gtk.AccessibleBase {
171 func (x *SwitchRow) GetAccessibleRole() gtk.AccessibleRole {173 func (x *SwitchRow) GetAccessibleRole() gtk.AccessibleRole {
172 174
173 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())175 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
176+
174 return cret177 return cret
175 }178 }
176 179
@@ -196,6 +199,7 @@ func (x *SwitchRow) GetAtContext() *gtk.ATContext {
196 func (x *SwitchRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {199 func (x *SwitchRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
197 200
198 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)201 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
202+
199 return cret203 return cret
200 }204 }
201 205
@@ -235,6 +239,7 @@ func (x *SwitchRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
235 func (x *SwitchRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {239 func (x *SwitchRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
236 240
237 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)241 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
242+
238 return cret243 return cret
239 }244 }
240 245
@@ -408,6 +413,7 @@ func (x *SwitchRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
408 func (x *SwitchRow) GetActionName() string {413 func (x *SwitchRow) GetActionName() string {
409 414
410 cret := gtk.XGtkActionableGetActionName(x.GoPointer())415 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
416+
411 return cret417 return cret
412 }418 }
413 419
@@ -415,6 +421,7 @@ func (x *SwitchRow) GetActionName() string {
415 func (x *SwitchRow) GetActionTargetValue() *glib.Variant {421 func (x *SwitchRow) GetActionTargetValue() *glib.Variant {
416 422
417 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())423 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
424+
418 return cret425 return cret
419 }426 }
420 427
@@ -433,7 +440,11 @@ func (x *SwitchRow) GetActionTargetValue() *glib.Variant {
433 // associated with the window.440 // associated with the window.
434 func (x *SwitchRow) SetActionName(ActionNameVar *string) {441 func (x *SwitchRow) SetActionName(ActionNameVar *string) {
435 442
436- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))443+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
444+
445+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
446+
447+ runtime.KeepAlive(ActionNameVarBytes)
437 448
438 }449 }
439 450
@@ -494,6 +505,7 @@ func (x *SwitchRow) SetDetailedActionName(DetailedActionNameVar string) {
494 func (x *SwitchRow) GetBuildableId() string {505 func (x *SwitchRow) GetBuildableId() string {
495 506
496 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())507 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
508+
497 return cret509 return cret
498 }510 }
499 511
M v4/adw/adw-tab-bar.go +11 -0
@@ -99,6 +99,7 @@ var xTabBarGetAutohide func(uintptr) bool
99 func (x *TabBar) GetAutohide() bool {99 func (x *TabBar) GetAutohide() bool {
100 100
101 cret := xTabBarGetAutohide(x.GoPointer())101 cret := xTabBarGetAutohide(x.GoPointer())
102+
102 return cret103 return cret
103 }104 }
104 105
@@ -125,6 +126,7 @@ var xTabBarGetExpandTabs func(uintptr) bool
125 func (x *TabBar) GetExpandTabs() bool {126 func (x *TabBar) GetExpandTabs() bool {
126 127
127 cret := xTabBarGetExpandTabs(x.GoPointer())128 cret := xTabBarGetExpandTabs(x.GoPointer())
129+
128 return cret130 return cret
129 }131 }
130 132
@@ -134,6 +136,7 @@ var xTabBarGetExtraDragPreferredAction func(uintptr) gdk.DragAction
134 func (x *TabBar) GetExtraDragPreferredAction() gdk.DragAction {136 func (x *TabBar) GetExtraDragPreferredAction() gdk.DragAction {
135 137
136 cret := xTabBarGetExtraDragPreferredAction(x.GoPointer())138 cret := xTabBarGetExtraDragPreferredAction(x.GoPointer())
139+
137 return cret140 return cret
138 }141 }
139 142
@@ -143,6 +146,7 @@ var xTabBarGetExtraDragPreload func(uintptr) bool
143 func (x *TabBar) GetExtraDragPreload() bool {146 func (x *TabBar) GetExtraDragPreload() bool {
144 147
145 cret := xTabBarGetExtraDragPreload(x.GoPointer())148 cret := xTabBarGetExtraDragPreload(x.GoPointer())
149+
146 return cret150 return cret
147 }151 }
148 152
@@ -152,6 +156,7 @@ var xTabBarGetInverted func(uintptr) bool
152 func (x *TabBar) GetInverted() bool {156 func (x *TabBar) GetInverted() bool {
153 157
154 cret := xTabBarGetInverted(x.GoPointer())158 cret := xTabBarGetInverted(x.GoPointer())
159+
155 return cret160 return cret
156 }161 }
157 162
@@ -163,6 +168,7 @@ var xTabBarGetIsOverflowing func(uintptr) bool
163 func (x *TabBar) GetIsOverflowing() bool {168 func (x *TabBar) GetIsOverflowing() bool {
164 169
165 cret := xTabBarGetIsOverflowing(x.GoPointer())170 cret := xTabBarGetIsOverflowing(x.GoPointer())
171+
166 return cret172 return cret
167 }173 }
168 174
@@ -191,6 +197,7 @@ var xTabBarGetTabsRevealed func(uintptr) bool
191 func (x *TabBar) GetTabsRevealed() bool {197 func (x *TabBar) GetTabsRevealed() bool {
192 198
193 cret := xTabBarGetTabsRevealed(x.GoPointer())199 cret := xTabBarGetTabsRevealed(x.GoPointer())
200+
194 return cret201 return cret
195 }202 }
196 203
@@ -519,6 +526,7 @@ func (x *TabBar) GetAccessibleParent() *gtk.AccessibleBase {
519 func (x *TabBar) GetAccessibleRole() gtk.AccessibleRole {526 func (x *TabBar) GetAccessibleRole() gtk.AccessibleRole {
520 527
521 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())528 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
529+
522 return cret530 return cret
523 }531 }
524 532
@@ -544,6 +552,7 @@ func (x *TabBar) GetAtContext() *gtk.ATContext {
544 func (x *TabBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {552 func (x *TabBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
545 553
546 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)554 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
555+
547 return cret556 return cret
548 }557 }
549 558
@@ -583,6 +592,7 @@ func (x *TabBar) GetNextAccessibleSibling() *gtk.AccessibleBase {
583 func (x *TabBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {592 func (x *TabBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
584 593
585 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)594 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
595+
586 return cret596 return cret
587 }597 }
588 598
@@ -759,6 +769,7 @@ func (x *TabBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
759 func (x *TabBar) GetBuildableId() string {769 func (x *TabBar) GetBuildableId() string {
760 770
761 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())771 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
772+
762 return cret773 return cret
763 }774 }
764 775
M v4/adw/adw-tab-button.go +12 -1
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -203,6 +204,7 @@ func (x *TabButton) GetAccessibleParent() *gtk.AccessibleBase {
203 func (x *TabButton) GetAccessibleRole() gtk.AccessibleRole {204 func (x *TabButton) GetAccessibleRole() gtk.AccessibleRole {
204 205
205 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())206 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
207+
206 return cret208 return cret
207 }209 }
208 210
@@ -228,6 +230,7 @@ func (x *TabButton) GetAtContext() *gtk.ATContext {
228 func (x *TabButton) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {230 func (x *TabButton) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
229 231
230 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)232 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
233+
231 return cret234 return cret
232 }235 }
233 236
@@ -267,6 +270,7 @@ func (x *TabButton) GetNextAccessibleSibling() *gtk.AccessibleBase {
267 func (x *TabButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {270 func (x *TabButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
268 271
269 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)272 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
273+
270 return cret274 return cret
271 }275 }
272 276
@@ -440,6 +444,7 @@ func (x *TabButton) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
440 func (x *TabButton) GetActionName() string {444 func (x *TabButton) GetActionName() string {
441 445
442 cret := gtk.XGtkActionableGetActionName(x.GoPointer())446 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
447+
443 return cret448 return cret
444 }449 }
445 450
@@ -447,6 +452,7 @@ func (x *TabButton) GetActionName() string {
447 func (x *TabButton) GetActionTargetValue() *glib.Variant {452 func (x *TabButton) GetActionTargetValue() *glib.Variant {
448 453
449 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())454 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
455+
450 return cret456 return cret
451 }457 }
452 458
@@ -465,7 +471,11 @@ func (x *TabButton) GetActionTargetValue() *glib.Variant {
465 // associated with the window.471 // associated with the window.
466 func (x *TabButton) SetActionName(ActionNameVar *string) {472 func (x *TabButton) SetActionName(ActionNameVar *string) {
467 473
468- gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))474+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
475+
476+ gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
477+
478+ runtime.KeepAlive(ActionNameVarBytes)
469 479
470 }480 }
471 481
@@ -526,6 +536,7 @@ func (x *TabButton) SetDetailedActionName(DetailedActionNameVar string) {
526 func (x *TabButton) GetBuildableId() string {536 func (x *TabButton) GetBuildableId() string {
527 537
528 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())538 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
539+
529 return cret540 return cret
530 }541 }
531 542
M v4/adw/adw-tab-overview.go +13 -0
@@ -139,6 +139,7 @@ var xTabOverviewGetEnableNewTab func(uintptr) bool
139 func (x *TabOverview) GetEnableNewTab() bool {139 func (x *TabOverview) GetEnableNewTab() bool {
140 140
141 cret := xTabOverviewGetEnableNewTab(x.GoPointer())141 cret := xTabOverviewGetEnableNewTab(x.GoPointer())
142+
142 return cret143 return cret
143 }144 }
144 145
@@ -148,6 +149,7 @@ var xTabOverviewGetEnableSearch func(uintptr) bool
148 func (x *TabOverview) GetEnableSearch() bool {149 func (x *TabOverview) GetEnableSearch() bool {
149 150
150 cret := xTabOverviewGetEnableSearch(x.GoPointer())151 cret := xTabOverviewGetEnableSearch(x.GoPointer())
152+
151 return cret153 return cret
152 }154 }
153 155
@@ -157,6 +159,7 @@ var xTabOverviewGetExtraDragPreferredAction func(uintptr) gdk.DragAction
157 func (x *TabOverview) GetExtraDragPreferredAction() gdk.DragAction {159 func (x *TabOverview) GetExtraDragPreferredAction() gdk.DragAction {
158 160
159 cret := xTabOverviewGetExtraDragPreferredAction(x.GoPointer())161 cret := xTabOverviewGetExtraDragPreferredAction(x.GoPointer())
162+
160 return cret163 return cret
161 }164 }
162 165
@@ -166,6 +169,7 @@ var xTabOverviewGetExtraDragPreload func(uintptr) bool
166 func (x *TabOverview) GetExtraDragPreload() bool {169 func (x *TabOverview) GetExtraDragPreload() bool {
167 170
168 cret := xTabOverviewGetExtraDragPreload(x.GoPointer())171 cret := xTabOverviewGetExtraDragPreload(x.GoPointer())
172+
169 return cret173 return cret
170 }174 }
171 175
@@ -175,6 +179,7 @@ var xTabOverviewGetInverted func(uintptr) bool
175 func (x *TabOverview) GetInverted() bool {179 func (x *TabOverview) GetInverted() bool {
176 180
177 cret := xTabOverviewGetInverted(x.GoPointer())181 cret := xTabOverviewGetInverted(x.GoPointer())
182+
178 return cret183 return cret
179 }184 }
180 185
@@ -184,6 +189,7 @@ var xTabOverviewGetOpen func(uintptr) bool
184 func (x *TabOverview) GetOpen() bool {189 func (x *TabOverview) GetOpen() bool {
185 190
186 cret := xTabOverviewGetOpen(x.GoPointer())191 cret := xTabOverviewGetOpen(x.GoPointer())
192+
187 return cret193 return cret
188 }194 }
189 195
@@ -195,6 +201,7 @@ var xTabOverviewGetSearchActive func(uintptr) bool
195 func (x *TabOverview) GetSearchActive() bool {201 func (x *TabOverview) GetSearchActive() bool {
196 202
197 cret := xTabOverviewGetSearchActive(x.GoPointer())203 cret := xTabOverviewGetSearchActive(x.GoPointer())
204+
198 return cret205 return cret
199 }206 }
200 207
@@ -221,6 +228,7 @@ var xTabOverviewGetShowEndTitleButtons func(uintptr) bool
221 func (x *TabOverview) GetShowEndTitleButtons() bool {228 func (x *TabOverview) GetShowEndTitleButtons() bool {
222 229
223 cret := xTabOverviewGetShowEndTitleButtons(x.GoPointer())230 cret := xTabOverviewGetShowEndTitleButtons(x.GoPointer())
231+
224 return cret232 return cret
225 }233 }
226 234
@@ -230,6 +238,7 @@ var xTabOverviewGetShowStartTitleButtons func(uintptr) bool
230 func (x *TabOverview) GetShowStartTitleButtons() bool {238 func (x *TabOverview) GetShowStartTitleButtons() bool {
231 239
232 cret := xTabOverviewGetShowStartTitleButtons(x.GoPointer())240 cret := xTabOverviewGetShowStartTitleButtons(x.GoPointer())
241+
233 return cret242 return cret
234 }243 }
235 244
@@ -679,6 +688,7 @@ func (x *TabOverview) GetAccessibleParent() *gtk.AccessibleBase {
679 func (x *TabOverview) GetAccessibleRole() gtk.AccessibleRole {688 func (x *TabOverview) GetAccessibleRole() gtk.AccessibleRole {
680 689
681 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())690 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
691+
682 return cret692 return cret
683 }693 }
684 694
@@ -704,6 +714,7 @@ func (x *TabOverview) GetAtContext() *gtk.ATContext {
704 func (x *TabOverview) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {714 func (x *TabOverview) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
705 715
706 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)716 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
717+
707 return cret718 return cret
708 }719 }
709 720
@@ -743,6 +754,7 @@ func (x *TabOverview) GetNextAccessibleSibling() *gtk.AccessibleBase {
743 func (x *TabOverview) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {754 func (x *TabOverview) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
744 755
745 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)756 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
757+
746 return cret758 return cret
747 }759 }
748 760
@@ -919,6 +931,7 @@ func (x *TabOverview) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
919 func (x *TabOverview) GetBuildableId() string {931 func (x *TabOverview) GetBuildableId() string {
920 932
921 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())933 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
934+
922 return cret935 return cret
923 }936 }
924 937
M v4/adw/adw-tab-view.go +31 -0
@@ -143,6 +143,7 @@ var xTabPageGetIndicatorActivatable func(uintptr) bool
143 func (x *TabPage) GetIndicatorActivatable() bool {143 func (x *TabPage) GetIndicatorActivatable() bool {
144 144
145 cret := xTabPageGetIndicatorActivatable(x.GoPointer())145 cret := xTabPageGetIndicatorActivatable(x.GoPointer())
146+
146 return cret147 return cret
147 }148 }
148 149
@@ -169,6 +170,7 @@ var xTabPageGetIndicatorTooltip func(uintptr) string
169 func (x *TabPage) GetIndicatorTooltip() string {170 func (x *TabPage) GetIndicatorTooltip() string {
170 171
171 cret := xTabPageGetIndicatorTooltip(x.GoPointer())172 cret := xTabPageGetIndicatorTooltip(x.GoPointer())
173+
172 return cret174 return cret
173 }175 }
174 176
@@ -178,6 +180,7 @@ var xTabPageGetKeyword func(uintptr) string
178 func (x *TabPage) GetKeyword() string {180 func (x *TabPage) GetKeyword() string {
179 181
180 cret := xTabPageGetKeyword(x.GoPointer())182 cret := xTabPageGetKeyword(x.GoPointer())
183+
181 return cret184 return cret
182 }185 }
183 186
@@ -187,6 +190,7 @@ var xTabPageGetLiveThumbnail func(uintptr) bool
187 func (x *TabPage) GetLiveThumbnail() bool {190 func (x *TabPage) GetLiveThumbnail() bool {
188 191
189 cret := xTabPageGetLiveThumbnail(x.GoPointer())192 cret := xTabPageGetLiveThumbnail(x.GoPointer())
193+
190 return cret194 return cret
191 }195 }
192 196
@@ -196,6 +200,7 @@ var xTabPageGetLoading func(uintptr) bool
196 func (x *TabPage) GetLoading() bool {200 func (x *TabPage) GetLoading() bool {
197 201
198 cret := xTabPageGetLoading(x.GoPointer())202 cret := xTabPageGetLoading(x.GoPointer())
203+
199 return cret204 return cret
200 }205 }
201 206
@@ -205,6 +210,7 @@ var xTabPageGetNeedsAttention func(uintptr) bool
205 func (x *TabPage) GetNeedsAttention() bool {210 func (x *TabPage) GetNeedsAttention() bool {
206 211
207 cret := xTabPageGetNeedsAttention(x.GoPointer())212 cret := xTabPageGetNeedsAttention(x.GoPointer())
213+
208 return cret214 return cret
209 }215 }
210 216
@@ -235,6 +241,7 @@ var xTabPageGetPinned func(uintptr) bool
235 func (x *TabPage) GetPinned() bool {241 func (x *TabPage) GetPinned() bool {
236 242
237 cret := xTabPageGetPinned(x.GoPointer())243 cret := xTabPageGetPinned(x.GoPointer())
244+
238 return cret245 return cret
239 }246 }
240 247
@@ -244,6 +251,7 @@ var xTabPageGetSelected func(uintptr) bool
244 func (x *TabPage) GetSelected() bool {251 func (x *TabPage) GetSelected() bool {
245 252
246 cret := xTabPageGetSelected(x.GoPointer())253 cret := xTabPageGetSelected(x.GoPointer())
254+
247 return cret255 return cret
248 }256 }
249 257
@@ -253,6 +261,7 @@ var xTabPageGetThumbnailXalign func(uintptr) float32
253 func (x *TabPage) GetThumbnailXalign() float32 {261 func (x *TabPage) GetThumbnailXalign() float32 {
254 262
255 cret := xTabPageGetThumbnailXalign(x.GoPointer())263 cret := xTabPageGetThumbnailXalign(x.GoPointer())
264+
256 return cret265 return cret
257 }266 }
258 267
@@ -262,6 +271,7 @@ var xTabPageGetThumbnailYalign func(uintptr) float32
262 func (x *TabPage) GetThumbnailYalign() float32 {271 func (x *TabPage) GetThumbnailYalign() float32 {
263 272
264 cret := xTabPageGetThumbnailYalign(x.GoPointer())273 cret := xTabPageGetThumbnailYalign(x.GoPointer())
274+
265 return cret275 return cret
266 }276 }
267 277
@@ -271,6 +281,7 @@ var xTabPageGetTitle func(uintptr) string
271 func (x *TabPage) GetTitle() string {281 func (x *TabPage) GetTitle() string {
272 282
273 cret := xTabPageGetTitle(x.GoPointer())283 cret := xTabPageGetTitle(x.GoPointer())
284+
274 return cret285 return cret
275 }286 }
276 287
@@ -280,6 +291,7 @@ var xTabPageGetTooltip func(uintptr) string
280 func (x *TabPage) GetTooltip() string {291 func (x *TabPage) GetTooltip() string {
281 292
282 cret := xTabPageGetTooltip(x.GoPointer())293 cret := xTabPageGetTooltip(x.GoPointer())
294+
283 return cret295 return cret
284 }296 }
285 297
@@ -867,6 +879,7 @@ func (x *TabPage) GetAccessibleParent() *gtk.AccessibleBase {
867 func (x *TabPage) GetAccessibleRole() gtk.AccessibleRole {879 func (x *TabPage) GetAccessibleRole() gtk.AccessibleRole {
868 880
869 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())881 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
882+
870 return cret883 return cret
871 }884 }
872 885
@@ -892,6 +905,7 @@ func (x *TabPage) GetAtContext() *gtk.ATContext {
892 func (x *TabPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {905 func (x *TabPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
893 906
894 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)907 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
908+
895 return cret909 return cret
896 }910 }
897 911
@@ -931,6 +945,7 @@ func (x *TabPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
931 func (x *TabPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {945 func (x *TabPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
932 946
933 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)947 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
948+
934 return cret949 return cret
935 }950 }
936 951
@@ -1346,6 +1361,7 @@ var xTabViewGetIsTransferringPage func(uintptr) bool
1346 func (x *TabView) GetIsTransferringPage() bool {1361 func (x *TabView) GetIsTransferringPage() bool {
1347 1362
1348 cret := xTabViewGetIsTransferringPage(x.GoPointer())1363 cret := xTabViewGetIsTransferringPage(x.GoPointer())
1364+
1349 return cret1365 return cret
1350 }1366 }
1351 1367
@@ -1372,6 +1388,7 @@ var xTabViewGetNPages func(uintptr) int
1372 func (x *TabView) GetNPages() int {1388 func (x *TabView) GetNPages() int {
1373 1389
1374 cret := xTabViewGetNPages(x.GoPointer())1390 cret := xTabViewGetNPages(x.GoPointer())
1391+
1375 return cret1392 return cret
1376 }1393 }
1377 1394
@@ -1383,6 +1400,7 @@ var xTabViewGetNPinnedPages func(uintptr) int
1383 func (x *TabView) GetNPinnedPages() int {1400 func (x *TabView) GetNPinnedPages() int {
1384 1401
1385 cret := xTabViewGetNPinnedPages(x.GoPointer())1402 cret := xTabViewGetNPinnedPages(x.GoPointer())
1403+
1386 return cret1404 return cret
1387 }1405 }
1388 1406
@@ -1426,6 +1444,7 @@ var xTabViewGetPagePosition func(uintptr, uintptr) int
1426 func (x *TabView) GetPagePosition(PageVar *TabPage) int {1444 func (x *TabView) GetPagePosition(PageVar *TabPage) int {
1427 1445
1428 cret := xTabViewGetPagePosition(x.GoPointer(), PageVar.GoPointer())1446 cret := xTabViewGetPagePosition(x.GoPointer(), PageVar.GoPointer())
1447+
1429 return cret1448 return cret
1430 }1449 }
1431 1450
@@ -1472,6 +1491,7 @@ var xTabViewGetShortcuts func(uintptr) TabViewShortcuts
1472 func (x *TabView) GetShortcuts() TabViewShortcuts {1491 func (x *TabView) GetShortcuts() TabViewShortcuts {
1473 1492
1474 cret := xTabViewGetShortcuts(x.GoPointer())1493 cret := xTabViewGetShortcuts(x.GoPointer())
1494+
1475 return cret1495 return cret
1476 }1496 }
1477 1497
@@ -1578,6 +1598,7 @@ var xTabViewReorderBackward func(uintptr, uintptr) bool
1578 func (x *TabView) ReorderBackward(PageVar *TabPage) bool {1598 func (x *TabView) ReorderBackward(PageVar *TabPage) bool {
1579 1599
1580 cret := xTabViewReorderBackward(x.GoPointer(), PageVar.GoPointer())1600 cret := xTabViewReorderBackward(x.GoPointer(), PageVar.GoPointer())
1601+
1581 return cret1602 return cret
1582 }1603 }
1583 1604
@@ -1587,6 +1608,7 @@ var xTabViewReorderFirst func(uintptr, uintptr) bool
1587 func (x *TabView) ReorderFirst(PageVar *TabPage) bool {1608 func (x *TabView) ReorderFirst(PageVar *TabPage) bool {
1588 1609
1589 cret := xTabViewReorderFirst(x.GoPointer(), PageVar.GoPointer())1610 cret := xTabViewReorderFirst(x.GoPointer(), PageVar.GoPointer())
1611+
1590 return cret1612 return cret
1591 }1613 }
1592 1614
@@ -1596,6 +1618,7 @@ var xTabViewReorderForward func(uintptr, uintptr) bool
1596 func (x *TabView) ReorderForward(PageVar *TabPage) bool {1618 func (x *TabView) ReorderForward(PageVar *TabPage) bool {
1597 1619
1598 cret := xTabViewReorderForward(x.GoPointer(), PageVar.GoPointer())1620 cret := xTabViewReorderForward(x.GoPointer(), PageVar.GoPointer())
1621+
1599 return cret1622 return cret
1600 }1623 }
1601 1624
@@ -1605,6 +1628,7 @@ var xTabViewReorderLast func(uintptr, uintptr) bool
1605 func (x *TabView) ReorderLast(PageVar *TabPage) bool {1628 func (x *TabView) ReorderLast(PageVar *TabPage) bool {
1606 1629
1607 cret := xTabViewReorderLast(x.GoPointer(), PageVar.GoPointer())1630 cret := xTabViewReorderLast(x.GoPointer(), PageVar.GoPointer())
1631+
1608 return cret1632 return cret
1609 }1633 }
1610 1634
@@ -1617,6 +1641,7 @@ var xTabViewReorderPage func(uintptr, uintptr, int) bool
1617 func (x *TabView) ReorderPage(PageVar *TabPage, PositionVar int) bool {1641 func (x *TabView) ReorderPage(PageVar *TabPage, PositionVar int) bool {
1618 1642
1619 cret := xTabViewReorderPage(x.GoPointer(), PageVar.GoPointer(), PositionVar)1643 cret := xTabViewReorderPage(x.GoPointer(), PageVar.GoPointer(), PositionVar)
1644+
1620 return cret1645 return cret
1621 }1646 }
1622 1647
@@ -1628,6 +1653,7 @@ var xTabViewSelectNextPage func(uintptr) bool
1628 func (x *TabView) SelectNextPage() bool {1653 func (x *TabView) SelectNextPage() bool {
1629 1654
1630 cret := xTabViewSelectNextPage(x.GoPointer())1655 cret := xTabViewSelectNextPage(x.GoPointer())
1656+
1631 return cret1657 return cret
1632 }1658 }
1633 1659
@@ -1639,6 +1665,7 @@ var xTabViewSelectPreviousPage func(uintptr) bool
1639 func (x *TabView) SelectPreviousPage() bool {1665 func (x *TabView) SelectPreviousPage() bool {
1640 1666
1641 cret := xTabViewSelectPreviousPage(x.GoPointer())1667 cret := xTabViewSelectPreviousPage(x.GoPointer())
1668+
1642 return cret1669 return cret
1643 }1670 }
1644 1671
@@ -2024,6 +2051,7 @@ func (x *TabView) GetAccessibleParent() *gtk.AccessibleBase {
2024 func (x *TabView) GetAccessibleRole() gtk.AccessibleRole {2051 func (x *TabView) GetAccessibleRole() gtk.AccessibleRole {
2025 2052
2026 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())2053 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
2054+
2027 return cret2055 return cret
2028 }2056 }
2029 2057
@@ -2049,6 +2077,7 @@ func (x *TabView) GetAtContext() *gtk.ATContext {
2049 func (x *TabView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {2077 func (x *TabView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
2050 2078
2051 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)2079 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
2080+
2052 return cret2081 return cret
2053 }2082 }
2054 2083
@@ -2088,6 +2117,7 @@ func (x *TabView) GetNextAccessibleSibling() *gtk.AccessibleBase {
2088 func (x *TabView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {2117 func (x *TabView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
2089 2118
2090 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)2119 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
2120+
2091 return cret2121 return cret
2092 }2122 }
2093 2123
@@ -2264,6 +2294,7 @@ func (x *TabView) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
2264 func (x *TabView) GetBuildableId() string {2294 func (x *TabView) GetBuildableId() string {
2265 2295
2266 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())2296 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
2297+
2267 return cret2298 return cret
2268 }2299 }
2269 2300
M v4/adw/adw-timed-animation.go +7 -0
@@ -76,6 +76,7 @@ var xTimedAnimationGetAlternate func(uintptr) bool
76 func (x *TimedAnimation) GetAlternate() bool {76 func (x *TimedAnimation) GetAlternate() bool {
77 77
78 cret := xTimedAnimationGetAlternate(x.GoPointer())78 cret := xTimedAnimationGetAlternate(x.GoPointer())
79+
79 return cret80 return cret
80 }81 }
81 82
@@ -85,6 +86,7 @@ var xTimedAnimationGetDuration func(uintptr) uint
85 func (x *TimedAnimation) GetDuration() uint {86 func (x *TimedAnimation) GetDuration() uint {
86 87
87 cret := xTimedAnimationGetDuration(x.GoPointer())88 cret := xTimedAnimationGetDuration(x.GoPointer())
89+
88 return cret90 return cret
89 }91 }
90 92
@@ -94,6 +96,7 @@ var xTimedAnimationGetEasing func(uintptr) Easing
94 func (x *TimedAnimation) GetEasing() Easing {96 func (x *TimedAnimation) GetEasing() Easing {
95 97
96 cret := xTimedAnimationGetEasing(x.GoPointer())98 cret := xTimedAnimationGetEasing(x.GoPointer())
99+
97 return cret100 return cret
98 }101 }
99 102
@@ -103,6 +106,7 @@ var xTimedAnimationGetRepeatCount func(uintptr) uint
103 func (x *TimedAnimation) GetRepeatCount() uint {106 func (x *TimedAnimation) GetRepeatCount() uint {
104 107
105 cret := xTimedAnimationGetRepeatCount(x.GoPointer())108 cret := xTimedAnimationGetRepeatCount(x.GoPointer())
109+
106 return cret110 return cret
107 }111 }
108 112
@@ -112,6 +116,7 @@ var xTimedAnimationGetReverse func(uintptr) bool
112 func (x *TimedAnimation) GetReverse() bool {116 func (x *TimedAnimation) GetReverse() bool {
113 117
114 cret := xTimedAnimationGetReverse(x.GoPointer())118 cret := xTimedAnimationGetReverse(x.GoPointer())
119+
115 return cret120 return cret
116 }121 }
117 122
@@ -121,6 +126,7 @@ var xTimedAnimationGetValueFrom func(uintptr) float64
121 func (x *TimedAnimation) GetValueFrom() float64 {126 func (x *TimedAnimation) GetValueFrom() float64 {
122 127
123 cret := xTimedAnimationGetValueFrom(x.GoPointer())128 cret := xTimedAnimationGetValueFrom(x.GoPointer())
129+
124 return cret130 return cret
125 }131 }
126 132
@@ -130,6 +136,7 @@ var xTimedAnimationGetValueTo func(uintptr) float64
130 func (x *TimedAnimation) GetValueTo() float64 {136 func (x *TimedAnimation) GetValueTo() float64 {
131 137
132 cret := xTimedAnimationGetValueTo(x.GoPointer())138 cret := xTimedAnimationGetValueTo(x.GoPointer())
139+
133 return cret140 return cret
134 }141 }
135 142
M v4/adw/adw-toast-overlay.go +4 -0
@@ -202,6 +202,7 @@ func (x *ToastOverlay) GetAccessibleParent() *gtk.AccessibleBase {
202 func (x *ToastOverlay) GetAccessibleRole() gtk.AccessibleRole {202 func (x *ToastOverlay) GetAccessibleRole() gtk.AccessibleRole {
203 203
204 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())204 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
205+
205 return cret206 return cret
206 }207 }
207 208
@@ -227,6 +228,7 @@ func (x *ToastOverlay) GetAtContext() *gtk.ATContext {
227 func (x *ToastOverlay) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {228 func (x *ToastOverlay) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
228 229
229 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)230 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
231+
230 return cret232 return cret
231 }233 }
232 234
@@ -266,6 +268,7 @@ func (x *ToastOverlay) GetNextAccessibleSibling() *gtk.AccessibleBase {
266 func (x *ToastOverlay) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {268 func (x *ToastOverlay) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
267 269
268 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)270 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
271+
269 return cret272 return cret
270 }273 }
271 274
@@ -442,6 +445,7 @@ func (x *ToastOverlay) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessib
442 func (x *ToastOverlay) GetBuildableId() string {445 func (x *ToastOverlay) GetBuildableId() string {
443 446
444 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())447 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
448+
445 return cret449 return cret
446 }450 }
447 451
M v4/adw/adw-toast.go +28 -4
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -250,6 +251,7 @@ var xToastGetActionName func(uintptr) string
250 func (x *Toast) GetActionName() string {251 func (x *Toast) GetActionName() string {
251 252
252 cret := xToastGetActionName(x.GoPointer())253 cret := xToastGetActionName(x.GoPointer())
254+
253 return cret255 return cret
254 }256 }
255 257
@@ -259,6 +261,7 @@ var xToastGetActionTargetValue func(uintptr) *glib.Variant
259 func (x *Toast) GetActionTargetValue() *glib.Variant {261 func (x *Toast) GetActionTargetValue() *glib.Variant {
260 262
261 cret := xToastGetActionTargetValue(x.GoPointer())263 cret := xToastGetActionTargetValue(x.GoPointer())
264+
262 return cret265 return cret
263 }266 }
264 267
@@ -268,6 +271,7 @@ var xToastGetButtonLabel func(uintptr) string
268 func (x *Toast) GetButtonLabel() string {271 func (x *Toast) GetButtonLabel() string {
269 272
270 cret := xToastGetButtonLabel(x.GoPointer())273 cret := xToastGetButtonLabel(x.GoPointer())
274+
271 return cret275 return cret
272 }276 }
273 277
@@ -294,6 +298,7 @@ var xToastGetPriority func(uintptr) ToastPriority
294 func (x *Toast) GetPriority() ToastPriority {298 func (x *Toast) GetPriority() ToastPriority {
295 299
296 cret := xToastGetPriority(x.GoPointer())300 cret := xToastGetPriority(x.GoPointer())
301+
297 return cret302 return cret
298 }303 }
299 304
@@ -303,6 +308,7 @@ var xToastGetTimeout func(uintptr) uint
303 func (x *Toast) GetTimeout() uint {308 func (x *Toast) GetTimeout() uint {
304 309
305 cret := xToastGetTimeout(x.GoPointer())310 cret := xToastGetTimeout(x.GoPointer())
311+
306 return cret312 return cret
307 }313 }
308 314
@@ -315,6 +321,7 @@ var xToastGetTitle func(uintptr) string
315 func (x *Toast) GetTitle() string {321 func (x *Toast) GetTitle() string {
316 322
317 cret := xToastGetTitle(x.GoPointer())323 cret := xToastGetTitle(x.GoPointer())
324+
318 return cret325 return cret
319 }326 }
320 327
@@ -324,6 +331,7 @@ var xToastGetUseMarkup func(uintptr) bool
324 func (x *Toast) GetUseMarkup() bool {331 func (x *Toast) GetUseMarkup() bool {
325 332
326 cret := xToastGetUseMarkup(x.GoPointer())333 cret := xToastGetUseMarkup(x.GoPointer())
334+
327 return cret335 return cret
328 }336 }
329 337
@@ -336,7 +344,11 @@ var xToastSetActionName func(uintptr, uintptr)
336 // See [property@Toast:action-target].344 // See [property@Toast:action-target].
337 func (x *Toast) SetActionName(ActionNameVar *string) {345 func (x *Toast) SetActionName(ActionNameVar *string) {
338 346
339- xToastSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))347+ ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)
348+
349+ xToastSetActionName(x.GoPointer(), ActionNameVarPtr)
350+
351+ runtime.KeepAlive(ActionNameVarBytes)
340 352
341 }353 }
342 354
@@ -353,7 +365,11 @@ var xToastSetActionTarget func(uintptr, uintptr, ...interface{})
353 // [method@Toast.set_detailed_action_name].365 // [method@Toast.set_detailed_action_name].
354 func (x *Toast) SetActionTarget(FormatStringVar *string, varArgs ...interface{}) {366 func (x *Toast) SetActionTarget(FormatStringVar *string, varArgs ...interface{}) {
355 367
356- xToastSetActionTarget(x.GoPointer(), core.NullableStringToPtr(FormatStringVar), varArgs...)368+ FormatStringVarPtr, FormatStringVarBytes := core.NullableStringToPtr(FormatStringVar)
369+
370+ xToastSetActionTarget(x.GoPointer(), FormatStringVarPtr, varArgs...)
371+
372+ runtime.KeepAlive(FormatStringVarBytes)
357 373
358 }374 }
359 375
@@ -380,7 +396,11 @@ var xToastSetButtonLabel func(uintptr, uintptr)
380 // See [property@Toast:action-name].396 // See [property@Toast:action-name].
381 func (x *Toast) SetButtonLabel(ButtonLabelVar *string) {397 func (x *Toast) SetButtonLabel(ButtonLabelVar *string) {
382 398
383- xToastSetButtonLabel(x.GoPointer(), core.NullableStringToPtr(ButtonLabelVar))399+ ButtonLabelVarPtr, ButtonLabelVarBytes := core.NullableStringToPtr(ButtonLabelVar)
400+
401+ xToastSetButtonLabel(x.GoPointer(), ButtonLabelVarPtr)
402+
403+ runtime.KeepAlive(ButtonLabelVarBytes)
384 404
385 }405 }
386 406
@@ -406,7 +426,11 @@ var xToastSetDetailedActionName func(uintptr, uintptr)
406 // [func@Gio.Action.parse_detailed_name].426 // [func@Gio.Action.parse_detailed_name].
407 func (x *Toast) SetDetailedActionName(DetailedActionNameVar *string) {427 func (x *Toast) SetDetailedActionName(DetailedActionNameVar *string) {
408 428
409- xToastSetDetailedActionName(x.GoPointer(), core.NullableStringToPtr(DetailedActionNameVar))429+ DetailedActionNameVarPtr, DetailedActionNameVarBytes := core.NullableStringToPtr(DetailedActionNameVar)
430+
431+ xToastSetDetailedActionName(x.GoPointer(), DetailedActionNameVarPtr)
432+
433+ runtime.KeepAlive(DetailedActionNameVarBytes)
410 434
411 }435 }
412 436
M v4/adw/adw-toggle-group.go +38 -4
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -92,6 +93,7 @@ var xToggleGetEnabled func(uintptr) bool
92 func (x *Toggle) GetEnabled() bool {93 func (x *Toggle) GetEnabled() bool {
93 94
94 cret := xToggleGetEnabled(x.GoPointer())95 cret := xToggleGetEnabled(x.GoPointer())
96+
95 return cret97 return cret
96 }98 }
97 99
@@ -101,6 +103,7 @@ var xToggleGetIconName func(uintptr) string
101 func (x *Toggle) GetIconName() string {103 func (x *Toggle) GetIconName() string {
102 104
103 cret := xToggleGetIconName(x.GoPointer())105 cret := xToggleGetIconName(x.GoPointer())
106+
104 return cret107 return cret
105 }108 }
106 109
@@ -110,6 +113,7 @@ var xToggleGetIndex func(uintptr) uint
110 func (x *Toggle) GetIndex() uint {113 func (x *Toggle) GetIndex() uint {
111 114
112 cret := xToggleGetIndex(x.GoPointer())115 cret := xToggleGetIndex(x.GoPointer())
116+
113 return cret117 return cret
114 }118 }
115 119
@@ -119,6 +123,7 @@ var xToggleGetLabel func(uintptr) string
119 func (x *Toggle) GetLabel() string {123 func (x *Toggle) GetLabel() string {
120 124
121 cret := xToggleGetLabel(x.GoPointer())125 cret := xToggleGetLabel(x.GoPointer())
126+
122 return cret127 return cret
123 }128 }
124 129
@@ -128,6 +133,7 @@ var xToggleGetName func(uintptr) string
128 func (x *Toggle) GetName() string {133 func (x *Toggle) GetName() string {
129 134
130 cret := xToggleGetName(x.GoPointer())135 cret := xToggleGetName(x.GoPointer())
136+
131 return cret137 return cret
132 }138 }
133 139
@@ -137,6 +143,7 @@ var xToggleGetTooltip func(uintptr) string
137 func (x *Toggle) GetTooltip() string {143 func (x *Toggle) GetTooltip() string {
138 144
139 cret := xToggleGetTooltip(x.GoPointer())145 cret := xToggleGetTooltip(x.GoPointer())
146+
140 return cret147 return cret
141 }148 }
142 149
@@ -146,6 +153,7 @@ var xToggleGetUseUnderline func(uintptr) bool
146 func (x *Toggle) GetUseUnderline() bool {153 func (x *Toggle) GetUseUnderline() bool {
147 154
148 cret := xToggleGetUseUnderline(x.GoPointer())155 cret := xToggleGetUseUnderline(x.GoPointer())
156+
149 return cret157 return cret
150 }158 }
151 159
@@ -180,7 +188,11 @@ var xToggleSetIconName func(uintptr, uintptr)
180 // [property@Toggle:child] is set.188 // [property@Toggle:child] is set.
181 func (x *Toggle) SetIconName(IconNameVar *string) {189 func (x *Toggle) SetIconName(IconNameVar *string) {
182 190
183- xToggleSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))191+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
192+
193+ xToggleSetIconName(x.GoPointer(), IconNameVarPtr)
194+
195+ runtime.KeepAlive(IconNameVarBytes)
184 196
185 }197 }
186 198
@@ -193,7 +205,11 @@ var xToggleSetLabel func(uintptr, uintptr)
193 // reader.205 // reader.
194 func (x *Toggle) SetLabel(LabelVar *string) {206 func (x *Toggle) SetLabel(LabelVar *string) {
195 207
196- xToggleSetLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))208+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
209+
210+ xToggleSetLabel(x.GoPointer(), LabelVarPtr)
211+
212+ runtime.KeepAlive(LabelVarBytes)
197 213
198 }214 }
199 215
@@ -206,7 +222,11 @@ var xToggleSetName func(uintptr, uintptr)
206 // See [property@ToggleGroup:active-name].222 // See [property@ToggleGroup:active-name].
207 func (x *Toggle) SetName(NameVar *string) {223 func (x *Toggle) SetName(NameVar *string) {
208 224
209- xToggleSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))225+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
226+
227+ xToggleSetName(x.GoPointer(), NameVarPtr)
228+
229+ runtime.KeepAlive(NameVarBytes)
210 230
211 }231 }
212 232
@@ -531,6 +551,7 @@ var xToggleGroupGetActive func(uintptr) uint
531 func (x *ToggleGroup) GetActive() uint {551 func (x *ToggleGroup) GetActive() uint {
532 552
533 cret := xToggleGroupGetActive(x.GoPointer())553 cret := xToggleGroupGetActive(x.GoPointer())
554+
534 return cret555 return cret
535 }556 }
536 557
@@ -544,6 +565,7 @@ var xToggleGroupGetActiveName func(uintptr) string
544 func (x *ToggleGroup) GetActiveName() string {565 func (x *ToggleGroup) GetActiveName() string {
545 566
546 cret := xToggleGroupGetActiveName(x.GoPointer())567 cret := xToggleGroupGetActiveName(x.GoPointer())
568+
547 return cret569 return cret
548 }570 }
549 571
@@ -554,6 +576,7 @@ var xToggleGroupGetCanShrink func(uintptr) bool
554 func (x *ToggleGroup) GetCanShrink() bool {576 func (x *ToggleGroup) GetCanShrink() bool {
555 577
556 cret := xToggleGroupGetCanShrink(x.GoPointer())578 cret := xToggleGroupGetCanShrink(x.GoPointer())
579+
557 return cret580 return cret
558 }581 }
559 582
@@ -563,6 +586,7 @@ var xToggleGroupGetHomogeneous func(uintptr) bool
563 func (x *ToggleGroup) GetHomogeneous() bool {586 func (x *ToggleGroup) GetHomogeneous() bool {
564 587
565 cret := xToggleGroupGetHomogeneous(x.GoPointer())588 cret := xToggleGroupGetHomogeneous(x.GoPointer())
589+
566 return cret590 return cret
567 }591 }
568 592
@@ -572,6 +596,7 @@ var xToggleGroupGetNToggles func(uintptr) uint
572 func (x *ToggleGroup) GetNToggles() uint {596 func (x *ToggleGroup) GetNToggles() uint {
573 597
574 cret := xToggleGroupGetNToggles(x.GoPointer())598 cret := xToggleGroupGetNToggles(x.GoPointer())
599+
575 return cret600 return cret
576 }601 }
577 602
@@ -668,7 +693,11 @@ var xToggleGroupSetActiveName func(uintptr, uintptr)
668 // If @name is `NULL`, unset the current active toggle instead.693 // If @name is `NULL`, unset the current active toggle instead.
669 func (x *ToggleGroup) SetActiveName(NameVar *string) {694 func (x *ToggleGroup) SetActiveName(NameVar *string) {
670 695
671- xToggleGroupSetActiveName(x.GoPointer(), core.NullableStringToPtr(NameVar))696+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
697+
698+ xToggleGroupSetActiveName(x.GoPointer(), NameVarPtr)
699+
700+ runtime.KeepAlive(NameVarBytes)
672 701
673 }702 }
674 703
@@ -847,6 +876,7 @@ func (x *ToggleGroup) GetAccessibleParent() *gtk.AccessibleBase {
847 func (x *ToggleGroup) GetAccessibleRole() gtk.AccessibleRole {876 func (x *ToggleGroup) GetAccessibleRole() gtk.AccessibleRole {
848 877
849 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())878 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
879+
850 return cret880 return cret
851 }881 }
852 882
@@ -872,6 +902,7 @@ func (x *ToggleGroup) GetAtContext() *gtk.ATContext {
872 func (x *ToggleGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {902 func (x *ToggleGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
873 903
874 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)904 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
905+
875 return cret906 return cret
876 }907 }
877 908
@@ -911,6 +942,7 @@ func (x *ToggleGroup) GetNextAccessibleSibling() *gtk.AccessibleBase {
911 func (x *ToggleGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {942 func (x *ToggleGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
912 943
913 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)944 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
945+
914 return cret946 return cret
915 }947 }
916 948
@@ -1087,6 +1119,7 @@ func (x *ToggleGroup) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
1087 func (x *ToggleGroup) GetBuildableId() string {1119 func (x *ToggleGroup) GetBuildableId() string {
1088 1120
1089 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1121 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1122+
1090 return cret1123 return cret
1091 }1124 }
1092 1125
@@ -1094,6 +1127,7 @@ func (x *ToggleGroup) GetBuildableId() string {
1094 func (x *ToggleGroup) GetOrientation() gtk.Orientation {1127 func (x *ToggleGroup) GetOrientation() gtk.Orientation {
1095 1128
1096 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())1129 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
1130+
1097 return cret1131 return cret
1098 }1132 }
1099 1133
M v4/adw/adw-toolbar-view.go +12 -0
@@ -262,6 +262,7 @@ var xToolbarViewGetBottomBarHeight func(uintptr) int
262 func (x *ToolbarView) GetBottomBarHeight() int {262 func (x *ToolbarView) GetBottomBarHeight() int {
263 263
264 cret := xToolbarViewGetBottomBarHeight(x.GoPointer())264 cret := xToolbarViewGetBottomBarHeight(x.GoPointer())
265+
265 return cret266 return cret
266 }267 }
267 268
@@ -271,6 +272,7 @@ var xToolbarViewGetBottomBarStyle func(uintptr) ToolbarStyle
271 func (x *ToolbarView) GetBottomBarStyle() ToolbarStyle {272 func (x *ToolbarView) GetBottomBarStyle() ToolbarStyle {
272 273
273 cret := xToolbarViewGetBottomBarStyle(x.GoPointer())274 cret := xToolbarViewGetBottomBarStyle(x.GoPointer())
275+
274 return cret276 return cret
275 }277 }
276 278
@@ -297,6 +299,7 @@ var xToolbarViewGetExtendContentToBottomEdge func(uintptr) bool
297 func (x *ToolbarView) GetExtendContentToBottomEdge() bool {299 func (x *ToolbarView) GetExtendContentToBottomEdge() bool {
298 300
299 cret := xToolbarViewGetExtendContentToBottomEdge(x.GoPointer())301 cret := xToolbarViewGetExtendContentToBottomEdge(x.GoPointer())
302+
300 return cret303 return cret
301 }304 }
302 305
@@ -306,6 +309,7 @@ var xToolbarViewGetExtendContentToTopEdge func(uintptr) bool
306 func (x *ToolbarView) GetExtendContentToTopEdge() bool {309 func (x *ToolbarView) GetExtendContentToTopEdge() bool {
307 310
308 cret := xToolbarViewGetExtendContentToTopEdge(x.GoPointer())311 cret := xToolbarViewGetExtendContentToTopEdge(x.GoPointer())
312+
309 return cret313 return cret
310 }314 }
311 315
@@ -315,6 +319,7 @@ var xToolbarViewGetRevealBottomBars func(uintptr) bool
315 func (x *ToolbarView) GetRevealBottomBars() bool {319 func (x *ToolbarView) GetRevealBottomBars() bool {
316 320
317 cret := xToolbarViewGetRevealBottomBars(x.GoPointer())321 cret := xToolbarViewGetRevealBottomBars(x.GoPointer())
322+
318 return cret323 return cret
319 }324 }
320 325
@@ -324,6 +329,7 @@ var xToolbarViewGetRevealTopBars func(uintptr) bool
324 func (x *ToolbarView) GetRevealTopBars() bool {329 func (x *ToolbarView) GetRevealTopBars() bool {
325 330
326 cret := xToolbarViewGetRevealTopBars(x.GoPointer())331 cret := xToolbarViewGetRevealTopBars(x.GoPointer())
332+
327 return cret333 return cret
328 }334 }
329 335
@@ -338,6 +344,7 @@ var xToolbarViewGetTopBarHeight func(uintptr) int
338 func (x *ToolbarView) GetTopBarHeight() int {344 func (x *ToolbarView) GetTopBarHeight() int {
339 345
340 cret := xToolbarViewGetTopBarHeight(x.GoPointer())346 cret := xToolbarViewGetTopBarHeight(x.GoPointer())
347+
341 return cret348 return cret
342 }349 }
343 350
@@ -347,6 +354,7 @@ var xToolbarViewGetTopBarStyle func(uintptr) ToolbarStyle
347 func (x *ToolbarView) GetTopBarStyle() ToolbarStyle {354 func (x *ToolbarView) GetTopBarStyle() ToolbarStyle {
348 355
349 cret := xToolbarViewGetTopBarStyle(x.GoPointer())356 cret := xToolbarViewGetTopBarStyle(x.GoPointer())
357+
350 return cret358 return cret
351 }359 }
352 360
@@ -688,6 +696,7 @@ func (x *ToolbarView) GetAccessibleParent() *gtk.AccessibleBase {
688 func (x *ToolbarView) GetAccessibleRole() gtk.AccessibleRole {696 func (x *ToolbarView) GetAccessibleRole() gtk.AccessibleRole {
689 697
690 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())698 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
699+
691 return cret700 return cret
692 }701 }
693 702
@@ -713,6 +722,7 @@ func (x *ToolbarView) GetAtContext() *gtk.ATContext {
713 func (x *ToolbarView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {722 func (x *ToolbarView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
714 723
715 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)724 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
725+
716 return cret726 return cret
717 }727 }
718 728
@@ -752,6 +762,7 @@ func (x *ToolbarView) GetNextAccessibleSibling() *gtk.AccessibleBase {
752 func (x *ToolbarView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {762 func (x *ToolbarView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
753 763
754 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)764 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
765+
755 return cret766 return cret
756 }767 }
757 768
@@ -928,6 +939,7 @@ func (x *ToolbarView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
928 func (x *ToolbarView) GetBuildableId() string {939 func (x *ToolbarView) GetBuildableId() string {
929 940
930 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())941 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
942+
931 return cret943 return cret
932 }944 }
933 945
M v4/adw/adw-version.go +3 -0
@@ -31,6 +31,7 @@ var xGetMajorVersion func() uint
31 func GetMajorVersion() uint {31 func GetMajorVersion() uint {
32 32
33 cret := xGetMajorVersion()33 cret := xGetMajorVersion()
34+
34 return cret35 return cret
35 }36 }
36 37
@@ -47,6 +48,7 @@ var xGetMicroVersion func() uint
47 func GetMicroVersion() uint {48 func GetMicroVersion() uint {
48 49
49 cret := xGetMicroVersion()50 cret := xGetMicroVersion()
51+
50 return cret52 return cret
51 }53 }
52 54
@@ -63,6 +65,7 @@ var xGetMinorVersion func() uint
63 func GetMinorVersion() uint {65 func GetMinorVersion() uint {
64 66
65 cret := xGetMinorVersion()67 cret := xGetMinorVersion()
68+
66 return cret69 return cret
67 }70 }
68 71
M v4/adw/adw-view-stack.go +64 -6
@@ -2,6 +2,7 @@
2 package adw2 package adw
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -159,7 +160,11 @@ var xViewStackAddNamed func(uintptr, uintptr, uintptr) uintptr
159 func (x *ViewStack) AddNamed(ChildVar *gtk.Widget, NameVar *string) *ViewStackPage {160 func (x *ViewStack) AddNamed(ChildVar *gtk.Widget, NameVar *string) *ViewStackPage {
160 var cls *ViewStackPage161 var cls *ViewStackPage
161 162
162- cret := xViewStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar))163+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
164+
165+ cret := xViewStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr)
166+
167+ runtime.KeepAlive(NameVarBytes)
163 168
164 if cret == 0 {169 if cret == 0 {
165 return nil170 return nil
@@ -179,7 +184,11 @@ var xViewStackAddTitled func(uintptr, uintptr, uintptr, string) uintptr
179 func (x *ViewStack) AddTitled(ChildVar *gtk.Widget, NameVar *string, TitleVar string) *ViewStackPage {184 func (x *ViewStack) AddTitled(ChildVar *gtk.Widget, NameVar *string, TitleVar string) *ViewStackPage {
180 var cls *ViewStackPage185 var cls *ViewStackPage
181 186
182- cret := xViewStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar), TitleVar)187+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
188+
189+ cret := xViewStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr, TitleVar)
190+
191+ runtime.KeepAlive(NameVarBytes)
183 192
184 if cret == 0 {193 if cret == 0 {
185 return nil194 return nil
@@ -199,7 +208,11 @@ var xViewStackAddTitledWithIcon func(uintptr, uintptr, uintptr, string, string)
199 func (x *ViewStack) AddTitledWithIcon(ChildVar *gtk.Widget, NameVar *string, TitleVar string, IconNameVar string) *ViewStackPage {208 func (x *ViewStack) AddTitledWithIcon(ChildVar *gtk.Widget, NameVar *string, TitleVar string, IconNameVar string) *ViewStackPage {
200 var cls *ViewStackPage209 var cls *ViewStackPage
201 210
202- cret := xViewStackAddTitledWithIcon(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar), TitleVar, IconNameVar)211+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
212+
213+ cret := xViewStackAddTitledWithIcon(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr, TitleVar, IconNameVar)
214+
215+ runtime.KeepAlive(NameVarBytes)
203 216
204 if cret == 0 {217 if cret == 0 {
205 return nil218 return nil
@@ -237,6 +250,7 @@ var xViewStackGetEnableTransitions func(uintptr) bool
237 func (x *ViewStack) GetEnableTransitions() bool {250 func (x *ViewStack) GetEnableTransitions() bool {
238 251
239 cret := xViewStackGetEnableTransitions(x.GoPointer())252 cret := xViewStackGetEnableTransitions(x.GoPointer())
253+
240 return cret254 return cret
241 }255 }
242 256
@@ -246,6 +260,7 @@ var xViewStackGetHhomogeneous func(uintptr) bool
246 func (x *ViewStack) GetHhomogeneous() bool {260 func (x *ViewStack) GetHhomogeneous() bool {
247 261
248 cret := xViewStackGetHhomogeneous(x.GoPointer())262 cret := xViewStackGetHhomogeneous(x.GoPointer())
263+
249 return cret264 return cret
250 }265 }
251 266
@@ -292,6 +307,7 @@ var xViewStackGetTransitionDuration func(uintptr) uint
292 func (x *ViewStack) GetTransitionDuration() uint {307 func (x *ViewStack) GetTransitionDuration() uint {
293 308
294 cret := xViewStackGetTransitionDuration(x.GoPointer())309 cret := xViewStackGetTransitionDuration(x.GoPointer())
310+
295 return cret311 return cret
296 }312 }
297 313
@@ -305,6 +321,7 @@ var xViewStackGetTransitionRunning func(uintptr) bool
305 func (x *ViewStack) GetTransitionRunning() bool {321 func (x *ViewStack) GetTransitionRunning() bool {
306 322
307 cret := xViewStackGetTransitionRunning(x.GoPointer())323 cret := xViewStackGetTransitionRunning(x.GoPointer())
324+
308 return cret325 return cret
309 }326 }
310 327
@@ -314,6 +331,7 @@ var xViewStackGetVhomogeneous func(uintptr) bool
314 func (x *ViewStack) GetVhomogeneous() bool {331 func (x *ViewStack) GetVhomogeneous() bool {
315 332
316 cret := xViewStackGetVhomogeneous(x.GoPointer())333 cret := xViewStackGetVhomogeneous(x.GoPointer())
334+
317 return cret335 return cret
318 }336 }
319 337
@@ -340,6 +358,7 @@ var xViewStackGetVisibleChildName func(uintptr) string
340 func (x *ViewStack) GetVisibleChildName() string {358 func (x *ViewStack) GetVisibleChildName() string {
341 359
342 cret := xViewStackGetVisibleChildName(x.GoPointer())360 cret := xViewStackGetVisibleChildName(x.GoPointer())
361+
343 return cret362 return cret
344 }363 }
345 364
@@ -605,6 +624,7 @@ func (x *ViewStack) GetAccessibleParent() *gtk.AccessibleBase {
605 func (x *ViewStack) GetAccessibleRole() gtk.AccessibleRole {624 func (x *ViewStack) GetAccessibleRole() gtk.AccessibleRole {
606 625
607 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())626 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
627+
608 return cret628 return cret
609 }629 }
610 630
@@ -630,6 +650,7 @@ func (x *ViewStack) GetAtContext() *gtk.ATContext {
630 func (x *ViewStack) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {650 func (x *ViewStack) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
631 651
632 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)652 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
653+
633 return cret654 return cret
634 }655 }
635 656
@@ -669,6 +690,7 @@ func (x *ViewStack) GetNextAccessibleSibling() *gtk.AccessibleBase {
669 func (x *ViewStack) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {690 func (x *ViewStack) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
670 691
671 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)692 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
693+
672 return cret694 return cret
673 }695 }
674 696
@@ -845,6 +867,7 @@ func (x *ViewStack) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
845 func (x *ViewStack) GetBuildableId() string {867 func (x *ViewStack) GetBuildableId() string {
846 868
847 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())869 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
870+
848 return cret871 return cret
849 }872 }
850 873
@@ -871,6 +894,7 @@ var xViewStackPageGetBadgeNumber func(uintptr) uint
871 func (x *ViewStackPage) GetBadgeNumber() uint {894 func (x *ViewStackPage) GetBadgeNumber() uint {
872 895
873 cret := xViewStackPageGetBadgeNumber(x.GoPointer())896 cret := xViewStackPageGetBadgeNumber(x.GoPointer())
897+
874 return cret898 return cret
875 }899 }
876 900
@@ -897,6 +921,7 @@ var xViewStackPageGetIconName func(uintptr) string
897 func (x *ViewStackPage) GetIconName() string {921 func (x *ViewStackPage) GetIconName() string {
898 922
899 cret := xViewStackPageGetIconName(x.GoPointer())923 cret := xViewStackPageGetIconName(x.GoPointer())
924+
900 return cret925 return cret
901 }926 }
902 927
@@ -906,6 +931,7 @@ var xViewStackPageGetName func(uintptr) string
906 func (x *ViewStackPage) GetName() string {931 func (x *ViewStackPage) GetName() string {
907 932
908 cret := xViewStackPageGetName(x.GoPointer())933 cret := xViewStackPageGetName(x.GoPointer())
934+
909 return cret935 return cret
910 }936 }
911 937
@@ -915,6 +941,7 @@ var xViewStackPageGetNeedsAttention func(uintptr) bool
915 func (x *ViewStackPage) GetNeedsAttention() bool {941 func (x *ViewStackPage) GetNeedsAttention() bool {
916 942
917 cret := xViewStackPageGetNeedsAttention(x.GoPointer())943 cret := xViewStackPageGetNeedsAttention(x.GoPointer())
944+
918 return cret945 return cret
919 }946 }
920 947
@@ -924,6 +951,7 @@ var xViewStackPageGetTitle func(uintptr) string
924 func (x *ViewStackPage) GetTitle() string {951 func (x *ViewStackPage) GetTitle() string {
925 952
926 cret := xViewStackPageGetTitle(x.GoPointer())953 cret := xViewStackPageGetTitle(x.GoPointer())
954+
927 return cret955 return cret
928 }956 }
929 957
@@ -933,6 +961,7 @@ var xViewStackPageGetUseUnderline func(uintptr) bool
933 func (x *ViewStackPage) GetUseUnderline() bool {961 func (x *ViewStackPage) GetUseUnderline() bool {
934 962
935 cret := xViewStackPageGetUseUnderline(x.GoPointer())963 cret := xViewStackPageGetUseUnderline(x.GoPointer())
964+
936 return cret965 return cret
937 }966 }
938 967
@@ -945,6 +974,7 @@ var xViewStackPageGetVisible func(uintptr) bool
945 func (x *ViewStackPage) GetVisible() bool {974 func (x *ViewStackPage) GetVisible() bool {
946 975
947 cret := xViewStackPageGetVisible(x.GoPointer())976 cret := xViewStackPageGetVisible(x.GoPointer())
977+
948 return cret978 return cret
949 }979 }
950 980
@@ -967,7 +997,11 @@ var xViewStackPageSetIconName func(uintptr, uintptr)
967 // Sets the icon name of the page.997 // Sets the icon name of the page.
968 func (x *ViewStackPage) SetIconName(IconNameVar *string) {998 func (x *ViewStackPage) SetIconName(IconNameVar *string) {
969 999
970- xViewStackPageSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))1000+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
1001+
1002+ xViewStackPageSetIconName(x.GoPointer(), IconNameVarPtr)
1003+
1004+ runtime.KeepAlive(IconNameVarBytes)
971 1005
972 }1006 }
973 1007
@@ -976,7 +1010,11 @@ var xViewStackPageSetName func(uintptr, uintptr)
976 // Sets the name of the page.1010 // Sets the name of the page.
977 func (x *ViewStackPage) SetName(NameVar *string) {1011 func (x *ViewStackPage) SetName(NameVar *string) {
978 1012
979- xViewStackPageSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))1013+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
1014+
1015+ xViewStackPageSetName(x.GoPointer(), NameVarPtr)
1016+
1017+ runtime.KeepAlive(NameVarBytes)
980 1018
981 }1019 }
982 1020
@@ -996,7 +1034,11 @@ var xViewStackPageSetTitle func(uintptr, uintptr)
996 // Sets the page title.1034 // Sets the page title.
997 func (x *ViewStackPage) SetTitle(TitleVar *string) {1035 func (x *ViewStackPage) SetTitle(TitleVar *string) {
998 1036
999- xViewStackPageSetTitle(x.GoPointer(), core.NullableStringToPtr(TitleVar))1037+ TitleVarPtr, TitleVarBytes := core.NullableStringToPtr(TitleVar)
1038+
1039+ xViewStackPageSetTitle(x.GoPointer(), TitleVarPtr)
1040+
1041+ runtime.KeepAlive(TitleVarBytes)
1000 1042
1001 }1043 }
1002 1044
@@ -1206,6 +1248,7 @@ func (x *ViewStackPage) GetAccessibleParent() *gtk.AccessibleBase {
1206 func (x *ViewStackPage) GetAccessibleRole() gtk.AccessibleRole {1248 func (x *ViewStackPage) GetAccessibleRole() gtk.AccessibleRole {
1207 1249
1208 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())1250 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
1251+
1209 return cret1252 return cret
1210 }1253 }
1211 1254
@@ -1231,6 +1274,7 @@ func (x *ViewStackPage) GetAtContext() *gtk.ATContext {
1231 func (x *ViewStackPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {1274 func (x *ViewStackPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1232 1275
1233 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)1276 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1277+
1234 return cret1278 return cret
1235 }1279 }
1236 1280
@@ -1270,6 +1314,7 @@ func (x *ViewStackPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
1270 func (x *ViewStackPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1314 func (x *ViewStackPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1271 1315
1272 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1316 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1317+
1273 return cret1318 return cret
1274 }1319 }
1275 1320
@@ -1513,6 +1558,7 @@ func (c *ViewStackPages) SetGoPointer(ptr uintptr) {
1513 func (x *ViewStackPages) GetItem(PositionVar uint) uintptr {1558 func (x *ViewStackPages) GetItem(PositionVar uint) uintptr {
1514 1559
1515 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)1560 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)
1561+
1516 return cret1562 return cret
1517 }1563 }
1518 1564
@@ -1527,6 +1573,7 @@ func (x *ViewStackPages) GetItem(PositionVar uint) uintptr {
1527 func (x *ViewStackPages) GetItemType() types.GType {1573 func (x *ViewStackPages) GetItemType() types.GType {
1528 1574
1529 cret := gio.XGListModelGetItemType(x.GoPointer())1575 cret := gio.XGListModelGetItemType(x.GoPointer())
1576+
1530 return cret1577 return cret
1531 }1578 }
1532 1579
@@ -1538,6 +1585,7 @@ func (x *ViewStackPages) GetItemType() types.GType {
1538 func (x *ViewStackPages) GetNItems() uint {1585 func (x *ViewStackPages) GetNItems() uint {
1539 1586
1540 cret := gio.XGListModelGetNItems(x.GoPointer())1587 cret := gio.XGListModelGetNItems(x.GoPointer())
1588+
1541 return cret1589 return cret
1542 }1590 }
1543 1591
@@ -1600,6 +1648,7 @@ func (x *ViewStackPages) ItemsChanged(PositionVar uint, RemovedVar uint, AddedVa
1600 func (x *ViewStackPages) GetSelection() *gtk.Bitset {1648 func (x *ViewStackPages) GetSelection() *gtk.Bitset {
1601 1649
1602 cret := gtk.XGtkSelectionModelGetSelection(x.GoPointer())1650 cret := gtk.XGtkSelectionModelGetSelection(x.GoPointer())
1651+
1603 return cret1652 return cret
1604 }1653 }
1605 1654
@@ -1613,6 +1662,7 @@ func (x *ViewStackPages) GetSelection() *gtk.Bitset {
1613 func (x *ViewStackPages) GetSelectionInRange(PositionVar uint, NItemsVar uint) *gtk.Bitset {1662 func (x *ViewStackPages) GetSelectionInRange(PositionVar uint, NItemsVar uint) *gtk.Bitset {
1614 1663
1615 cret := gtk.XGtkSelectionModelGetSelectionInRange(x.GoPointer(), PositionVar, NItemsVar)1664 cret := gtk.XGtkSelectionModelGetSelectionInRange(x.GoPointer(), PositionVar, NItemsVar)
1665+
1616 return cret1666 return cret
1617 }1667 }
1618 1668
@@ -1620,6 +1670,7 @@ func (x *ViewStackPages) GetSelectionInRange(PositionVar uint, NItemsVar uint) *
1620 func (x *ViewStackPages) IsSelected(PositionVar uint) bool {1670 func (x *ViewStackPages) IsSelected(PositionVar uint) bool {
1621 1671
1622 cret := gtk.XGtkSelectionModelIsSelected(x.GoPointer(), PositionVar)1672 cret := gtk.XGtkSelectionModelIsSelected(x.GoPointer(), PositionVar)
1673+
1623 return cret1674 return cret
1624 }1675 }
1625 1676
@@ -1627,6 +1678,7 @@ func (x *ViewStackPages) IsSelected(PositionVar uint) bool {
1627 func (x *ViewStackPages) SelectAll() bool {1678 func (x *ViewStackPages) SelectAll() bool {
1628 1679
1629 cret := gtk.XGtkSelectionModelSelectAll(x.GoPointer())1680 cret := gtk.XGtkSelectionModelSelectAll(x.GoPointer())
1681+
1630 return cret1682 return cret
1631 }1683 }
1632 1684
@@ -1634,6 +1686,7 @@ func (x *ViewStackPages) SelectAll() bool {
1634 func (x *ViewStackPages) SelectItem(PositionVar uint, UnselectRestVar bool) bool {1686 func (x *ViewStackPages) SelectItem(PositionVar uint, UnselectRestVar bool) bool {
1635 1687
1636 cret := gtk.XGtkSelectionModelSelectItem(x.GoPointer(), PositionVar, UnselectRestVar)1688 cret := gtk.XGtkSelectionModelSelectItem(x.GoPointer(), PositionVar, UnselectRestVar)
1689+
1637 return cret1690 return cret
1638 }1691 }
1639 1692
@@ -1641,6 +1694,7 @@ func (x *ViewStackPages) SelectItem(PositionVar uint, UnselectRestVar bool) bool
1641 func (x *ViewStackPages) SelectRange(PositionVar uint, NItemsVar uint, UnselectRestVar bool) bool {1694 func (x *ViewStackPages) SelectRange(PositionVar uint, NItemsVar uint, UnselectRestVar bool) bool {
1642 1695
1643 cret := gtk.XGtkSelectionModelSelectRange(x.GoPointer(), PositionVar, NItemsVar, UnselectRestVar)1696 cret := gtk.XGtkSelectionModelSelectRange(x.GoPointer(), PositionVar, NItemsVar, UnselectRestVar)
1697+
1644 return cret1698 return cret
1645 }1699 }
1646 1700
@@ -1693,6 +1747,7 @@ func (x *ViewStackPages) SelectionChanged(PositionVar uint, NItemsVar uint) {
1693 func (x *ViewStackPages) SetSelection(SelectedVar *gtk.Bitset, MaskVar *gtk.Bitset) bool {1747 func (x *ViewStackPages) SetSelection(SelectedVar *gtk.Bitset, MaskVar *gtk.Bitset) bool {
1694 1748
1695 cret := gtk.XGtkSelectionModelSetSelection(x.GoPointer(), SelectedVar, MaskVar)1749 cret := gtk.XGtkSelectionModelSetSelection(x.GoPointer(), SelectedVar, MaskVar)
1750+
1696 return cret1751 return cret
1697 }1752 }
1698 1753
@@ -1700,6 +1755,7 @@ func (x *ViewStackPages) SetSelection(SelectedVar *gtk.Bitset, MaskVar *gtk.Bits
1700 func (x *ViewStackPages) UnselectAll() bool {1755 func (x *ViewStackPages) UnselectAll() bool {
1701 1756
1702 cret := gtk.XGtkSelectionModelUnselectAll(x.GoPointer())1757 cret := gtk.XGtkSelectionModelUnselectAll(x.GoPointer())
1758+
1703 return cret1759 return cret
1704 }1760 }
1705 1761
@@ -1707,6 +1763,7 @@ func (x *ViewStackPages) UnselectAll() bool {
1707 func (x *ViewStackPages) UnselectItem(PositionVar uint) bool {1763 func (x *ViewStackPages) UnselectItem(PositionVar uint) bool {
1708 1764
1709 cret := gtk.XGtkSelectionModelUnselectItem(x.GoPointer(), PositionVar)1765 cret := gtk.XGtkSelectionModelUnselectItem(x.GoPointer(), PositionVar)
1766+
1710 return cret1767 return cret
1711 }1768 }
1712 1769
@@ -1714,6 +1771,7 @@ func (x *ViewStackPages) UnselectItem(PositionVar uint) bool {
1714 func (x *ViewStackPages) UnselectRange(PositionVar uint, NItemsVar uint) bool {1771 func (x *ViewStackPages) UnselectRange(PositionVar uint, NItemsVar uint) bool {
1715 1772
1716 cret := gtk.XGtkSelectionModelUnselectRange(x.GoPointer(), PositionVar, NItemsVar)1773 cret := gtk.XGtkSelectionModelUnselectRange(x.GoPointer(), PositionVar, NItemsVar)
1774+
1717 return cret1775 return cret
1718 }1776 }
1719 1777
M v4/adw/adw-view-switcher-bar.go +5 -0
@@ -124,6 +124,7 @@ var xViewSwitcherBarGetReveal func(uintptr) bool
124 func (x *ViewSwitcherBar) GetReveal() bool {124 func (x *ViewSwitcherBar) GetReveal() bool {
125 125
126 cret := xViewSwitcherBarGetReveal(x.GoPointer())126 cret := xViewSwitcherBarGetReveal(x.GoPointer())
127+
127 return cret128 return cret
128 }129 }
129 130
@@ -225,6 +226,7 @@ func (x *ViewSwitcherBar) GetAccessibleParent() *gtk.AccessibleBase {
225 func (x *ViewSwitcherBar) GetAccessibleRole() gtk.AccessibleRole {226 func (x *ViewSwitcherBar) GetAccessibleRole() gtk.AccessibleRole {
226 227
227 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())228 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
229+
228 return cret230 return cret
229 }231 }
230 232
@@ -250,6 +252,7 @@ func (x *ViewSwitcherBar) GetAtContext() *gtk.ATContext {
250 func (x *ViewSwitcherBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {252 func (x *ViewSwitcherBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
251 253
252 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)254 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
255+
253 return cret256 return cret
254 }257 }
255 258
@@ -289,6 +292,7 @@ func (x *ViewSwitcherBar) GetNextAccessibleSibling() *gtk.AccessibleBase {
289 func (x *ViewSwitcherBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {292 func (x *ViewSwitcherBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
290 293
291 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)294 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
295+
292 return cret296 return cret
293 }297 }
294 298
@@ -465,6 +469,7 @@ func (x *ViewSwitcherBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
465 func (x *ViewSwitcherBar) GetBuildableId() string {469 func (x *ViewSwitcherBar) GetBuildableId() string {
466 470
467 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())471 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
472+
468 return cret473 return cret
469 }474 }
470 475
M v4/adw/adw-view-switcher-title.go +8 -0
@@ -141,6 +141,7 @@ var xViewSwitcherTitleGetSubtitle func(uintptr) string
141 func (x *ViewSwitcherTitle) GetSubtitle() string {141 func (x *ViewSwitcherTitle) GetSubtitle() string {
142 142
143 cret := xViewSwitcherTitleGetSubtitle(x.GoPointer())143 cret := xViewSwitcherTitleGetSubtitle(x.GoPointer())
144+
144 return cret145 return cret
145 }146 }
146 147
@@ -150,6 +151,7 @@ var xViewSwitcherTitleGetTitle func(uintptr) string
150 func (x *ViewSwitcherTitle) GetTitle() string {151 func (x *ViewSwitcherTitle) GetTitle() string {
151 152
152 cret := xViewSwitcherTitleGetTitle(x.GoPointer())153 cret := xViewSwitcherTitleGetTitle(x.GoPointer())
154+
153 return cret155 return cret
154 }156 }
155 157
@@ -162,6 +164,7 @@ var xViewSwitcherTitleGetTitleVisible func(uintptr) bool
162 func (x *ViewSwitcherTitle) GetTitleVisible() bool {164 func (x *ViewSwitcherTitle) GetTitleVisible() bool {
163 165
164 cret := xViewSwitcherTitleGetTitleVisible(x.GoPointer())166 cret := xViewSwitcherTitleGetTitleVisible(x.GoPointer())
167+
165 return cret168 return cret
166 }169 }
167 170
@@ -171,6 +174,7 @@ var xViewSwitcherTitleGetViewSwitcherEnabled func(uintptr) bool
171 func (x *ViewSwitcherTitle) GetViewSwitcherEnabled() bool {174 func (x *ViewSwitcherTitle) GetViewSwitcherEnabled() bool {
172 175
173 cret := xViewSwitcherTitleGetViewSwitcherEnabled(x.GoPointer())176 cret := xViewSwitcherTitleGetViewSwitcherEnabled(x.GoPointer())
177+
174 return cret178 return cret
175 }179 }
176 180
@@ -354,6 +358,7 @@ func (x *ViewSwitcherTitle) GetAccessibleParent() *gtk.AccessibleBase {
354 func (x *ViewSwitcherTitle) GetAccessibleRole() gtk.AccessibleRole {358 func (x *ViewSwitcherTitle) GetAccessibleRole() gtk.AccessibleRole {
355 359
356 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())360 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
361+
357 return cret362 return cret
358 }363 }
359 364
@@ -379,6 +384,7 @@ func (x *ViewSwitcherTitle) GetAtContext() *gtk.ATContext {
379 func (x *ViewSwitcherTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {384 func (x *ViewSwitcherTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
380 385
381 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)386 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
387+
382 return cret388 return cret
383 }389 }
384 390
@@ -418,6 +424,7 @@ func (x *ViewSwitcherTitle) GetNextAccessibleSibling() *gtk.AccessibleBase {
418 func (x *ViewSwitcherTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {424 func (x *ViewSwitcherTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
419 425
420 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)426 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
427+
421 return cret428 return cret
422 }429 }
423 430
@@ -594,6 +601,7 @@ func (x *ViewSwitcherTitle) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc
594 func (x *ViewSwitcherTitle) GetBuildableId() string {601 func (x *ViewSwitcherTitle) GetBuildableId() string {
595 602
596 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())603 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
604+
597 return cret605 return cret
598 }606 }
599 607
M v4/adw/adw-view-switcher.go +5 -0
@@ -150,6 +150,7 @@ var xViewSwitcherGetPolicy func(uintptr) ViewSwitcherPolicy
150 func (x *ViewSwitcher) GetPolicy() ViewSwitcherPolicy {150 func (x *ViewSwitcher) GetPolicy() ViewSwitcherPolicy {
151 151
152 cret := xViewSwitcherGetPolicy(x.GoPointer())152 cret := xViewSwitcherGetPolicy(x.GoPointer())
153+
153 return cret154 return cret
154 }155 }
155 156
@@ -234,6 +235,7 @@ func (x *ViewSwitcher) GetAccessibleParent() *gtk.AccessibleBase {
234 func (x *ViewSwitcher) GetAccessibleRole() gtk.AccessibleRole {235 func (x *ViewSwitcher) GetAccessibleRole() gtk.AccessibleRole {
235 236
236 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())237 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
238+
237 return cret239 return cret
238 }240 }
239 241
@@ -259,6 +261,7 @@ func (x *ViewSwitcher) GetAtContext() *gtk.ATContext {
259 func (x *ViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {261 func (x *ViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
260 262
261 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)263 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
264+
262 return cret265 return cret
263 }266 }
264 267
@@ -298,6 +301,7 @@ func (x *ViewSwitcher) GetNextAccessibleSibling() *gtk.AccessibleBase {
298 func (x *ViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {301 func (x *ViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
299 302
300 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)303 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
304+
301 return cret305 return cret
302 }306 }
303 307
@@ -474,6 +478,7 @@ func (x *ViewSwitcher) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessib
474 func (x *ViewSwitcher) GetBuildableId() string {478 func (x *ViewSwitcher) GetBuildableId() string {
475 479
476 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())480 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
481+
477 return cret482 return cret
478 }483 }
479 484
M v4/adw/adw-window-title.go +6 -0
@@ -76,6 +76,7 @@ var xWindowTitleGetSubtitle func(uintptr) string
76 func (x *WindowTitle) GetSubtitle() string {76 func (x *WindowTitle) GetSubtitle() string {
77 77
78 cret := xWindowTitleGetSubtitle(x.GoPointer())78 cret := xWindowTitleGetSubtitle(x.GoPointer())
79+
79 return cret80 return cret
80 }81 }
81 82
@@ -85,6 +86,7 @@ var xWindowTitleGetTitle func(uintptr) string
85 func (x *WindowTitle) GetTitle() string {86 func (x *WindowTitle) GetTitle() string {
86 87
87 cret := xWindowTitleGetTitle(x.GoPointer())88 cret := xWindowTitleGetTitle(x.GoPointer())
89+
88 return cret90 return cret
89 }91 }
90 92
@@ -201,6 +203,7 @@ func (x *WindowTitle) GetAccessibleParent() *gtk.AccessibleBase {
201 func (x *WindowTitle) GetAccessibleRole() gtk.AccessibleRole {203 func (x *WindowTitle) GetAccessibleRole() gtk.AccessibleRole {
202 204
203 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())205 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
206+
204 return cret207 return cret
205 }208 }
206 209
@@ -226,6 +229,7 @@ func (x *WindowTitle) GetAtContext() *gtk.ATContext {
226 func (x *WindowTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {229 func (x *WindowTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
227 230
228 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)231 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
232+
229 return cret233 return cret
230 }234 }
231 235
@@ -265,6 +269,7 @@ func (x *WindowTitle) GetNextAccessibleSibling() *gtk.AccessibleBase {
265 func (x *WindowTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {269 func (x *WindowTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
266 270
267 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)271 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
272+
268 return cret273 return cret
269 }274 }
270 275
@@ -441,6 +446,7 @@ func (x *WindowTitle) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
441 func (x *WindowTitle) GetBuildableId() string {446 func (x *WindowTitle) GetBuildableId() string {
442 447
443 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())448 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
449+
444 return cret450 return cret
445 }451 }
446 452
M v4/adw/adw-window.go +5 -0
@@ -160,6 +160,7 @@ var xWindowGetAdaptivePreview func(uintptr) bool
160 func (x *Window) GetAdaptivePreview() bool {160 func (x *Window) GetAdaptivePreview() bool {
161 161
162 cret := xWindowGetAdaptivePreview(x.GoPointer())162 cret := xWindowGetAdaptivePreview(x.GoPointer())
163+
163 return cret164 return cret
164 }165 }
165 166
@@ -341,6 +342,7 @@ func (x *Window) GetAccessibleParent() *gtk.AccessibleBase {
341 func (x *Window) GetAccessibleRole() gtk.AccessibleRole {342 func (x *Window) GetAccessibleRole() gtk.AccessibleRole {
342 343
343 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())344 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
345+
344 return cret346 return cret
345 }347 }
346 348
@@ -366,6 +368,7 @@ func (x *Window) GetAtContext() *gtk.ATContext {
366 func (x *Window) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {368 func (x *Window) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
367 369
368 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)370 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
371+
369 return cret372 return cret
370 }373 }
371 374
@@ -405,6 +408,7 @@ func (x *Window) GetNextAccessibleSibling() *gtk.AccessibleBase {
405 func (x *Window) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {408 func (x *Window) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
406 409
407 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)410 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
411+
408 return cret412 return cret
409 }413 }
410 414
@@ -581,6 +585,7 @@ func (x *Window) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
581 func (x *Window) GetBuildableId() string {585 func (x *Window) GetBuildableId() string {
582 586
583 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())587 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
588+
584 return cret589 return cret
585 }590 }
586 591
M v4/adw/adw-wrap-box.go +18 -0
@@ -130,6 +130,7 @@ var xWrapBoxGetAlign func(uintptr) float32
130 func (x *WrapBox) GetAlign() float32 {130 func (x *WrapBox) GetAlign() float32 {
131 131
132 cret := xWrapBoxGetAlign(x.GoPointer())132 cret := xWrapBoxGetAlign(x.GoPointer())
133+
133 return cret134 return cret
134 }135 }
135 136
@@ -139,6 +140,7 @@ var xWrapBoxGetChildSpacing func(uintptr) int
139 func (x *WrapBox) GetChildSpacing() int {140 func (x *WrapBox) GetChildSpacing() int {
140 141
141 cret := xWrapBoxGetChildSpacing(x.GoPointer())142 cret := xWrapBoxGetChildSpacing(x.GoPointer())
143+
142 return cret144 return cret
143 }145 }
144 146
@@ -148,6 +150,7 @@ var xWrapBoxGetChildSpacingUnit func(uintptr) LengthUnit
148 func (x *WrapBox) GetChildSpacingUnit() LengthUnit {150 func (x *WrapBox) GetChildSpacingUnit() LengthUnit {
149 151
150 cret := xWrapBoxGetChildSpacingUnit(x.GoPointer())152 cret := xWrapBoxGetChildSpacingUnit(x.GoPointer())
153+
151 return cret154 return cret
152 }155 }
153 156
@@ -157,6 +160,7 @@ var xWrapBoxGetJustify func(uintptr) JustifyMode
157 func (x *WrapBox) GetJustify() JustifyMode {160 func (x *WrapBox) GetJustify() JustifyMode {
158 161
159 cret := xWrapBoxGetJustify(x.GoPointer())162 cret := xWrapBoxGetJustify(x.GoPointer())
163+
160 return cret164 return cret
161 }165 }
162 166
@@ -166,6 +170,7 @@ var xWrapBoxGetJustifyLastLine func(uintptr) bool
166 func (x *WrapBox) GetJustifyLastLine() bool {170 func (x *WrapBox) GetJustifyLastLine() bool {
167 171
168 cret := xWrapBoxGetJustifyLastLine(x.GoPointer())172 cret := xWrapBoxGetJustifyLastLine(x.GoPointer())
173+
169 return cret174 return cret
170 }175 }
171 176
@@ -175,6 +180,7 @@ var xWrapBoxGetLineHomogeneous func(uintptr) bool
175 func (x *WrapBox) GetLineHomogeneous() bool {180 func (x *WrapBox) GetLineHomogeneous() bool {
176 181
177 cret := xWrapBoxGetLineHomogeneous(x.GoPointer())182 cret := xWrapBoxGetLineHomogeneous(x.GoPointer())
183+
178 return cret184 return cret
179 }185 }
180 186
@@ -186,6 +192,7 @@ var xWrapBoxGetLineSpacing func(uintptr) int
186 func (x *WrapBox) GetLineSpacing() int {192 func (x *WrapBox) GetLineSpacing() int {
187 193
188 cret := xWrapBoxGetLineSpacing(x.GoPointer())194 cret := xWrapBoxGetLineSpacing(x.GoPointer())
195+
189 return cret196 return cret
190 }197 }
191 198
@@ -195,6 +202,7 @@ var xWrapBoxGetLineSpacingUnit func(uintptr) LengthUnit
195 func (x *WrapBox) GetLineSpacingUnit() LengthUnit {202 func (x *WrapBox) GetLineSpacingUnit() LengthUnit {
196 203
197 cret := xWrapBoxGetLineSpacingUnit(x.GoPointer())204 cret := xWrapBoxGetLineSpacingUnit(x.GoPointer())
205+
198 return cret206 return cret
199 }207 }
200 208
@@ -204,6 +212,7 @@ var xWrapBoxGetNaturalLineLength func(uintptr) int
204 func (x *WrapBox) GetNaturalLineLength() int {212 func (x *WrapBox) GetNaturalLineLength() int {
205 213
206 cret := xWrapBoxGetNaturalLineLength(x.GoPointer())214 cret := xWrapBoxGetNaturalLineLength(x.GoPointer())
215+
207 return cret216 return cret
208 }217 }
209 218
@@ -213,6 +222,7 @@ var xWrapBoxGetNaturalLineLengthUnit func(uintptr) LengthUnit
213 func (x *WrapBox) GetNaturalLineLengthUnit() LengthUnit {222 func (x *WrapBox) GetNaturalLineLengthUnit() LengthUnit {
214 223
215 cret := xWrapBoxGetNaturalLineLengthUnit(x.GoPointer())224 cret := xWrapBoxGetNaturalLineLengthUnit(x.GoPointer())
225+
216 return cret226 return cret
217 }227 }
218 228
@@ -222,6 +232,7 @@ var xWrapBoxGetPackDirection func(uintptr) PackDirection
222 func (x *WrapBox) GetPackDirection() PackDirection {232 func (x *WrapBox) GetPackDirection() PackDirection {
223 233
224 cret := xWrapBoxGetPackDirection(x.GoPointer())234 cret := xWrapBoxGetPackDirection(x.GoPointer())
235+
225 return cret236 return cret
226 }237 }
227 238
@@ -231,6 +242,7 @@ var xWrapBoxGetWrapPolicy func(uintptr) WrapPolicy
231 func (x *WrapBox) GetWrapPolicy() WrapPolicy {242 func (x *WrapBox) GetWrapPolicy() WrapPolicy {
232 243
233 cret := xWrapBoxGetWrapPolicy(x.GoPointer())244 cret := xWrapBoxGetWrapPolicy(x.GoPointer())
245+
234 return cret246 return cret
235 }247 }
236 248
@@ -240,6 +252,7 @@ var xWrapBoxGetWrapReverse func(uintptr) bool
240 func (x *WrapBox) GetWrapReverse() bool {252 func (x *WrapBox) GetWrapReverse() bool {
241 253
242 cret := xWrapBoxGetWrapReverse(x.GoPointer())254 cret := xWrapBoxGetWrapReverse(x.GoPointer())
255+
243 return cret256 return cret
244 }257 }
245 258
@@ -680,6 +693,7 @@ func (x *WrapBox) GetAccessibleParent() *gtk.AccessibleBase {
680 func (x *WrapBox) GetAccessibleRole() gtk.AccessibleRole {693 func (x *WrapBox) GetAccessibleRole() gtk.AccessibleRole {
681 694
682 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())695 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
696+
683 return cret697 return cret
684 }698 }
685 699
@@ -705,6 +719,7 @@ func (x *WrapBox) GetAtContext() *gtk.ATContext {
705 func (x *WrapBox) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {719 func (x *WrapBox) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
706 720
707 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)721 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
722+
708 return cret723 return cret
709 }724 }
710 725
@@ -744,6 +759,7 @@ func (x *WrapBox) GetNextAccessibleSibling() *gtk.AccessibleBase {
744 func (x *WrapBox) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {759 func (x *WrapBox) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
745 760
746 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)761 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
762+
747 return cret763 return cret
748 }764 }
749 765
@@ -920,6 +936,7 @@ func (x *WrapBox) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
920 func (x *WrapBox) GetBuildableId() string {936 func (x *WrapBox) GetBuildableId() string {
921 937
922 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())938 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
939+
923 return cret940 return cret
924 }941 }
925 942
@@ -927,6 +944,7 @@ func (x *WrapBox) GetBuildableId() string {
927 func (x *WrapBox) GetOrientation() gtk.Orientation {944 func (x *WrapBox) GetOrientation() gtk.Orientation {
928 945
929 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())946 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
947+
930 return cret948 return cret
931 }949 }
932 950
M v4/adw/adw-wrap-layout.go +14 -0
@@ -181,6 +181,7 @@ var xWrapLayoutGetAlign func(uintptr) float32
181 func (x *WrapLayout) GetAlign() float32 {181 func (x *WrapLayout) GetAlign() float32 {
182 182
183 cret := xWrapLayoutGetAlign(x.GoPointer())183 cret := xWrapLayoutGetAlign(x.GoPointer())
184+
184 return cret185 return cret
185 }186 }
186 187
@@ -190,6 +191,7 @@ var xWrapLayoutGetChildSpacing func(uintptr) int
190 func (x *WrapLayout) GetChildSpacing() int {191 func (x *WrapLayout) GetChildSpacing() int {
191 192
192 cret := xWrapLayoutGetChildSpacing(x.GoPointer())193 cret := xWrapLayoutGetChildSpacing(x.GoPointer())
194+
193 return cret195 return cret
194 }196 }
195 197
@@ -199,6 +201,7 @@ var xWrapLayoutGetChildSpacingUnit func(uintptr) LengthUnit
199 func (x *WrapLayout) GetChildSpacingUnit() LengthUnit {201 func (x *WrapLayout) GetChildSpacingUnit() LengthUnit {
200 202
201 cret := xWrapLayoutGetChildSpacingUnit(x.GoPointer())203 cret := xWrapLayoutGetChildSpacingUnit(x.GoPointer())
204+
202 return cret205 return cret
203 }206 }
204 207
@@ -208,6 +211,7 @@ var xWrapLayoutGetJustify func(uintptr) JustifyMode
208 func (x *WrapLayout) GetJustify() JustifyMode {211 func (x *WrapLayout) GetJustify() JustifyMode {
209 212
210 cret := xWrapLayoutGetJustify(x.GoPointer())213 cret := xWrapLayoutGetJustify(x.GoPointer())
214+
211 return cret215 return cret
212 }216 }
213 217
@@ -217,6 +221,7 @@ var xWrapLayoutGetJustifyLastLine func(uintptr) bool
217 func (x *WrapLayout) GetJustifyLastLine() bool {221 func (x *WrapLayout) GetJustifyLastLine() bool {
218 222
219 cret := xWrapLayoutGetJustifyLastLine(x.GoPointer())223 cret := xWrapLayoutGetJustifyLastLine(x.GoPointer())
224+
220 return cret225 return cret
221 }226 }
222 227
@@ -226,6 +231,7 @@ var xWrapLayoutGetLineHomogeneous func(uintptr) bool
226 func (x *WrapLayout) GetLineHomogeneous() bool {231 func (x *WrapLayout) GetLineHomogeneous() bool {
227 232
228 cret := xWrapLayoutGetLineHomogeneous(x.GoPointer())233 cret := xWrapLayoutGetLineHomogeneous(x.GoPointer())
234+
229 return cret235 return cret
230 }236 }
231 237
@@ -235,6 +241,7 @@ var xWrapLayoutGetLineSpacing func(uintptr) int
235 func (x *WrapLayout) GetLineSpacing() int {241 func (x *WrapLayout) GetLineSpacing() int {
236 242
237 cret := xWrapLayoutGetLineSpacing(x.GoPointer())243 cret := xWrapLayoutGetLineSpacing(x.GoPointer())
244+
238 return cret245 return cret
239 }246 }
240 247
@@ -244,6 +251,7 @@ var xWrapLayoutGetLineSpacingUnit func(uintptr) LengthUnit
244 func (x *WrapLayout) GetLineSpacingUnit() LengthUnit {251 func (x *WrapLayout) GetLineSpacingUnit() LengthUnit {
245 252
246 cret := xWrapLayoutGetLineSpacingUnit(x.GoPointer())253 cret := xWrapLayoutGetLineSpacingUnit(x.GoPointer())
254+
247 return cret255 return cret
248 }256 }
249 257
@@ -253,6 +261,7 @@ var xWrapLayoutGetNaturalLineLength func(uintptr) int
253 func (x *WrapLayout) GetNaturalLineLength() int {261 func (x *WrapLayout) GetNaturalLineLength() int {
254 262
255 cret := xWrapLayoutGetNaturalLineLength(x.GoPointer())263 cret := xWrapLayoutGetNaturalLineLength(x.GoPointer())
264+
256 return cret265 return cret
257 }266 }
258 267
@@ -262,6 +271,7 @@ var xWrapLayoutGetNaturalLineLengthUnit func(uintptr) LengthUnit
262 func (x *WrapLayout) GetNaturalLineLengthUnit() LengthUnit {271 func (x *WrapLayout) GetNaturalLineLengthUnit() LengthUnit {
263 272
264 cret := xWrapLayoutGetNaturalLineLengthUnit(x.GoPointer())273 cret := xWrapLayoutGetNaturalLineLengthUnit(x.GoPointer())
274+
265 return cret275 return cret
266 }276 }
267 277
@@ -271,6 +281,7 @@ var xWrapLayoutGetPackDirection func(uintptr) PackDirection
271 func (x *WrapLayout) GetPackDirection() PackDirection {281 func (x *WrapLayout) GetPackDirection() PackDirection {
272 282
273 cret := xWrapLayoutGetPackDirection(x.GoPointer())283 cret := xWrapLayoutGetPackDirection(x.GoPointer())
284+
274 return cret285 return cret
275 }286 }
276 287
@@ -280,6 +291,7 @@ var xWrapLayoutGetWrapPolicy func(uintptr) WrapPolicy
280 func (x *WrapLayout) GetWrapPolicy() WrapPolicy {291 func (x *WrapLayout) GetWrapPolicy() WrapPolicy {
281 292
282 cret := xWrapLayoutGetWrapPolicy(x.GoPointer())293 cret := xWrapLayoutGetWrapPolicy(x.GoPointer())
294+
283 return cret295 return cret
284 }296 }
285 297
@@ -289,6 +301,7 @@ var xWrapLayoutGetWrapReverse func(uintptr) bool
289 func (x *WrapLayout) GetWrapReverse() bool {301 func (x *WrapLayout) GetWrapReverse() bool {
290 302
291 cret := xWrapLayoutGetWrapReverse(x.GoPointer())303 cret := xWrapLayoutGetWrapReverse(x.GoPointer())
304+
292 return cret305 return cret
293 }306 }
294 307
@@ -648,6 +661,7 @@ func (x *WrapLayout) GetPropertyWrapReverse() bool {
648 func (x *WrapLayout) GetOrientation() gtk.Orientation {661 func (x *WrapLayout) GetOrientation() gtk.Orientation {
649 662
650 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())663 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
664+
651 return cret665 return cret
652 }666 }
653 667
M v4/gdk/gdkapplaunchcontext.go +7 -1
@@ -2,6 +2,8 @@
2 package gdk2 package gdk
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 "github.com/jwijenbergh/puregotk/v4/gio"9 "github.com/jwijenbergh/puregotk/v4/gio"
@@ -111,7 +113,11 @@ var xAppLaunchContextSetIconName func(uintptr, uintptr)
111 // for the launched application itself.113 // for the launched application itself.
112 func (x *AppLaunchContext) SetIconName(IconNameVar *string) {114 func (x *AppLaunchContext) SetIconName(IconNameVar *string) {
113 115
114- xAppLaunchContextSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))116+ IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)
117+
118+ xAppLaunchContextSetIconName(x.GoPointer(), IconNameVarPtr)
119+
120+ runtime.KeepAlive(IconNameVarBytes)
115 121
116 }122 }
117 123
M v4/gdk/gdkcairo.go +1 -0
@@ -62,6 +62,7 @@ var xCairoRegionCreateFromSurface func(*cairo.Surface) *cairo.Region
62 func CairoRegionCreateFromSurface(SurfaceVar *cairo.Surface) *cairo.Region {62 func CairoRegionCreateFromSurface(SurfaceVar *cairo.Surface) *cairo.Region {
63 63
64 cret := xCairoRegionCreateFromSurface(SurfaceVar)64 cret := xCairoRegionCreateFromSurface(SurfaceVar)
65+
65 return cret66 return cret
66 }67 }
67 68
M v4/gdk/gdkcairocontext.go +1 -0
@@ -42,6 +42,7 @@ var xCairoContextCairoCreate func(uintptr) *cairo.Context
42 func (x *CairoContext) CairoCreate() *cairo.Context {42 func (x *CairoContext) CairoCreate() *cairo.Context {
43 43
44 cret := xCairoContextCairoCreate(x.GoPointer())44 cret := xCairoContextCairoCreate(x.GoPointer())
45+
45 return cret46 return cret
46 }47 }
47 48
M v4/gdk/gdkcicpparams.go +5 -0
@@ -107,6 +107,7 @@ func (x *CicpParams) BuildColorState() (*ColorState, error) {
107 var cerr *glib.Error107 var cerr *glib.Error
108 108
109 cret := xCicpParamsBuildColorState(x.GoPointer())109 cret := xCicpParamsBuildColorState(x.GoPointer())
110+
110 if cerr == nil {111 if cerr == nil {
111 return cret, nil112 return cret, nil
112 }113 }
@@ -121,6 +122,7 @@ var xCicpParamsGetColorPrimaries func(uintptr) uint
121 func (x *CicpParams) GetColorPrimaries() uint {122 func (x *CicpParams) GetColorPrimaries() uint {
122 123
123 cret := xCicpParamsGetColorPrimaries(x.GoPointer())124 cret := xCicpParamsGetColorPrimaries(x.GoPointer())
125+
124 return cret126 return cret
125 }127 }
126 128
@@ -130,6 +132,7 @@ var xCicpParamsGetMatrixCoefficients func(uintptr) uint
130 func (x *CicpParams) GetMatrixCoefficients() uint {132 func (x *CicpParams) GetMatrixCoefficients() uint {
131 133
132 cret := xCicpParamsGetMatrixCoefficients(x.GoPointer())134 cret := xCicpParamsGetMatrixCoefficients(x.GoPointer())
135+
133 return cret136 return cret
134 }137 }
135 138
@@ -139,6 +142,7 @@ var xCicpParamsGetRange func(uintptr) CicpRange
139 func (x *CicpParams) GetRange() CicpRange {142 func (x *CicpParams) GetRange() CicpRange {
140 143
141 cret := xCicpParamsGetRange(x.GoPointer())144 cret := xCicpParamsGetRange(x.GoPointer())
145+
142 return cret146 return cret
143 }147 }
144 148
@@ -148,6 +152,7 @@ var xCicpParamsGetTransferFunction func(uintptr) uint
148 func (x *CicpParams) GetTransferFunction() uint {152 func (x *CicpParams) GetTransferFunction() uint {
149 153
150 cret := xCicpParamsGetTransferFunction(x.GoPointer())154 cret := xCicpParamsGetTransferFunction(x.GoPointer())
155+
151 return cret156 return cret
152 }157 }
153 158
M v4/gdk/gdkclipboard.go +6 -0
@@ -87,6 +87,7 @@ var xClipboardGetFormats func(uintptr) *ContentFormats
87 func (x *Clipboard) GetFormats() *ContentFormats {87 func (x *Clipboard) GetFormats() *ContentFormats {
88 88
89 cret := xClipboardGetFormats(x.GoPointer())89 cret := xClipboardGetFormats(x.GoPointer())
90+
90 return cret91 return cret
91 }92 }
92 93
@@ -102,6 +103,7 @@ var xClipboardIsLocal func(uintptr) bool
102 func (x *Clipboard) IsLocal() bool {103 func (x *Clipboard) IsLocal() bool {
103 104
104 cret := xClipboardIsLocal(x.GoPointer())105 cret := xClipboardIsLocal(x.GoPointer())
106+
105 return cret107 return cret
106 }108 }
107 109
@@ -193,6 +195,7 @@ func (x *Clipboard) ReadTextFinish(ResultVar gio.AsyncResult) (string, error) {
193 var cerr *glib.Error195 var cerr *glib.Error
194 196
195 cret := xClipboardReadTextFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)197 cret := xClipboardReadTextFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
198+
196 if cerr == nil {199 if cerr == nil {
197 return cret, nil200 return cret, nil
198 }201 }
@@ -289,6 +292,7 @@ func (x *Clipboard) ReadValueFinish(ResultVar gio.AsyncResult) (*gobject.Value,
289 var cerr *glib.Error292 var cerr *glib.Error
290 293
291 cret := xClipboardReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)294 cret := xClipboardReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
295+
292 if cerr == nil {296 if cerr == nil {
293 return cret, nil297 return cret, nil
294 }298 }
@@ -332,6 +336,7 @@ var xClipboardSetContent func(uintptr, uintptr) bool
332 func (x *Clipboard) SetContent(ProviderVar *ContentProvider) bool {336 func (x *Clipboard) SetContent(ProviderVar *ContentProvider) bool {
333 337
334 cret := xClipboardSetContent(x.GoPointer(), ProviderVar.GoPointer())338 cret := xClipboardSetContent(x.GoPointer(), ProviderVar.GoPointer())
339+
335 return cret340 return cret
336 }341 }
337 342
@@ -415,6 +420,7 @@ func (x *Clipboard) StoreFinish(ResultVar gio.AsyncResult) (bool, error) {
415 var cerr *glib.Error420 var cerr *glib.Error
416 421
417 cret := xClipboardStoreFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)422 cret := xClipboardStoreFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
423+
418 if cerr == nil {424 if cerr == nil {
419 return cret, nil425 return cret, nil
420 }426 }
M v4/gdk/gdkcolorstate.go +6 -0
@@ -14,6 +14,7 @@ var xColorStateGetOklab func() *ColorState
14 func ColorStateGetOklab() *ColorState {14 func ColorStateGetOklab() *ColorState {
15 15
16 cret := xColorStateGetOklab()16 cret := xColorStateGetOklab()
17+
17 return cret18 return cret
18 }19 }
19 20
@@ -26,6 +27,7 @@ var xColorStateGetOklch func() *ColorState
26 func ColorStateGetOklch() *ColorState {27 func ColorStateGetOklch() *ColorState {
27 28
28 cret := xColorStateGetOklch()29 cret := xColorStateGetOklch()
30+
29 return cret31 return cret
30 }32 }
31 33
@@ -43,6 +45,7 @@ var xColorStateGetRec2100Linear func() *ColorState
43 func ColorStateGetRec2100Linear() *ColorState {45 func ColorStateGetRec2100Linear() *ColorState {
44 46
45 cret := xColorStateGetRec2100Linear()47 cret := xColorStateGetRec2100Linear()
48+
46 return cret49 return cret
47 }50 }
48 51
@@ -60,6 +63,7 @@ var xColorStateGetRec2100Pq func() *ColorState
60 func ColorStateGetRec2100Pq() *ColorState {63 func ColorStateGetRec2100Pq() *ColorState {
61 64
62 cret := xColorStateGetRec2100Pq()65 cret := xColorStateGetRec2100Pq()
66+
63 return cret67 return cret
64 }68 }
65 69
@@ -77,6 +81,7 @@ var xColorStateGetSrgb func() *ColorState
77 func ColorStateGetSrgb() *ColorState {81 func ColorStateGetSrgb() *ColorState {
78 82
79 cret := xColorStateGetSrgb()83 cret := xColorStateGetSrgb()
84+
80 return cret85 return cret
81 }86 }
82 87
@@ -93,6 +98,7 @@ var xColorStateGetSrgbLinear func() *ColorState
93 func ColorStateGetSrgbLinear() *ColorState {98 func ColorStateGetSrgbLinear() *ColorState {
94 99
95 cret := xColorStateGetSrgbLinear()100 cret := xColorStateGetSrgbLinear()
101+
96 return cret102 return cret
97 }103 }
98 104
M v4/gdk/gdkcontentdeserializer.go +9 -0
@@ -53,6 +53,7 @@ func ContentDeserializeFinish(ResultVar gio.AsyncResult, ValueVar *gobject.Value
53 var cerr *glib.Error53 var cerr *glib.Error
54 54
55 cret := xContentDeserializeFinish(ResultVar.GoPointer(), ValueVar, &cerr)55 cret := xContentDeserializeFinish(ResultVar.GoPointer(), ValueVar, &cerr)
56+
56 if cerr == nil {57 if cerr == nil {
57 return cret, nil58 return cret, nil
58 }59 }
@@ -154,6 +155,7 @@ var xContentDeserializerGetGtype func(uintptr) types.GType
154 func (x *ContentDeserializer) GetGtype() types.GType {155 func (x *ContentDeserializer) GetGtype() types.GType {
155 156
156 cret := xContentDeserializerGetGtype(x.GoPointer())157 cret := xContentDeserializerGetGtype(x.GoPointer())
158+
157 return cret159 return cret
158 }160 }
159 161
@@ -182,6 +184,7 @@ var xContentDeserializerGetMimeType func(uintptr) string
182 func (x *ContentDeserializer) GetMimeType() string {184 func (x *ContentDeserializer) GetMimeType() string {
183 185
184 cret := xContentDeserializerGetMimeType(x.GoPointer())186 cret := xContentDeserializerGetMimeType(x.GoPointer())
187+
185 return cret188 return cret
186 }189 }
187 190
@@ -193,6 +196,7 @@ var xContentDeserializerGetPriority func(uintptr) int
193 func (x *ContentDeserializer) GetPriority() int {196 func (x *ContentDeserializer) GetPriority() int {
194 197
195 cret := xContentDeserializerGetPriority(x.GoPointer())198 cret := xContentDeserializerGetPriority(x.GoPointer())
199+
196 return cret200 return cret
197 }201 }
198 202
@@ -204,6 +208,7 @@ var xContentDeserializerGetTaskData func(uintptr) uintptr
204 func (x *ContentDeserializer) GetTaskData() uintptr {208 func (x *ContentDeserializer) GetTaskData() uintptr {
205 209
206 cret := xContentDeserializerGetTaskData(x.GoPointer())210 cret := xContentDeserializerGetTaskData(x.GoPointer())
211+
207 return cret212 return cret
208 }213 }
209 214
@@ -213,6 +218,7 @@ var xContentDeserializerGetUserData func(uintptr) uintptr
213 func (x *ContentDeserializer) GetUserData() uintptr {218 func (x *ContentDeserializer) GetUserData() uintptr {
214 219
215 cret := xContentDeserializerGetUserData(x.GoPointer())220 cret := xContentDeserializerGetUserData(x.GoPointer())
221+
216 return cret222 return cret
217 }223 }
218 224
@@ -222,6 +228,7 @@ var xContentDeserializerGetValue func(uintptr) *gobject.Value
222 func (x *ContentDeserializer) GetValue() *gobject.Value {228 func (x *ContentDeserializer) GetValue() *gobject.Value {
223 229
224 cret := xContentDeserializerGetValue(x.GoPointer())230 cret := xContentDeserializerGetValue(x.GoPointer())
231+
225 return cret232 return cret
226 }233 }
227 234
@@ -299,6 +306,7 @@ func (x *ContentDeserializer) GetSourceObject() *gobject.Object {
299 func (x *ContentDeserializer) IsTagged(SourceTagVar uintptr) bool {306 func (x *ContentDeserializer) IsTagged(SourceTagVar uintptr) bool {
300 307
301 cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)308 cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
309+
302 return cret310 return cret
303 }311 }
304 312
@@ -316,6 +324,7 @@ func (x *ContentDeserializer) LegacyPropagateError() (bool, error) {
316 var cerr *glib.Error324 var cerr *glib.Error
317 325
318 cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer())326 cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer())
327+
319 if cerr == nil {328 if cerr == nil {
320 return cret, nil329 return cret, nil
321 }330 }
M v4/gdk/gdkcontentformats.go +9 -0
@@ -35,6 +35,7 @@ var xNewContentFormatsBuilder func() *ContentFormatsBuilder
35 func NewContentFormatsBuilder() *ContentFormatsBuilder {35 func NewContentFormatsBuilder() *ContentFormatsBuilder {
36 36
37 cret := xNewContentFormatsBuilder()37 cret := xNewContentFormatsBuilder()
38+
38 return cret39 return cret
39 }40 }
40 41
@@ -73,6 +74,7 @@ var xContentFormatsBuilderFreeToFormats func(uintptr) *ContentFormats
73 func (x *ContentFormatsBuilder) FreeToFormats() *ContentFormats {74 func (x *ContentFormatsBuilder) FreeToFormats() *ContentFormats {
74 75
75 cret := xContentFormatsBuilderFreeToFormats(x.GoPointer())76 cret := xContentFormatsBuilderFreeToFormats(x.GoPointer())
77+
76 return cret78 return cret
77 }79 }
78 80
@@ -85,6 +87,7 @@ var xContentFormatsBuilderRef func(uintptr) *ContentFormatsBuilder
85 func (x *ContentFormatsBuilder) Ref() *ContentFormatsBuilder {87 func (x *ContentFormatsBuilder) Ref() *ContentFormatsBuilder {
86 88
87 cret := xContentFormatsBuilderRef(x.GoPointer())89 cret := xContentFormatsBuilderRef(x.GoPointer())
90+
88 return cret91 return cret
89 }92 }
90 93
@@ -100,6 +103,7 @@ var xContentFormatsBuilderToFormats func(uintptr) *ContentFormats
100 func (x *ContentFormatsBuilder) ToFormats() *ContentFormats {103 func (x *ContentFormatsBuilder) ToFormats() *ContentFormats {
101 104
102 cret := xContentFormatsBuilderToFormats(x.GoPointer())105 cret := xContentFormatsBuilderToFormats(x.GoPointer())
106+
103 return cret107 return cret
104 }108 }
105 109
@@ -135,6 +139,7 @@ var xNewFileListFromArray func(uintptr, uint) *FileList
135 func NewFileListFromArray(FilesVar uintptr, NFilesVar uint) *FileList {139 func NewFileListFromArray(FilesVar uintptr, NFilesVar uint) *FileList {
136 140
137 cret := xNewFileListFromArray(FilesVar, NFilesVar)141 cret := xNewFileListFromArray(FilesVar, NFilesVar)
142+
138 return cret143 return cret
139 }144 }
140 145
@@ -147,6 +152,7 @@ var xNewFileListFromList func(*glib.SList) *FileList
147 func NewFileListFromList(FilesVar *glib.SList) *FileList {152 func NewFileListFromList(FilesVar *glib.SList) *FileList {
148 153
149 cret := xNewFileListFromList(FilesVar)154 cret := xNewFileListFromList(FilesVar)
155+
150 return cret156 return cret
151 }157 }
152 158
@@ -158,6 +164,7 @@ var xFileListGetFiles func(uintptr) *glib.SList
158 func (x *FileList) GetFiles() *glib.SList {164 func (x *FileList) GetFiles() *glib.SList {
159 165
160 cret := xFileListGetFiles(x.GoPointer())166 cret := xFileListGetFiles(x.GoPointer())
167+
161 return cret168 return cret
162 }169 }
163 170
@@ -174,6 +181,7 @@ var xContentFormatsParse func(string) *ContentFormats
174 func ContentFormatsParse(StringVar string) *ContentFormats {181 func ContentFormatsParse(StringVar string) *ContentFormats {
175 182
176 cret := xContentFormatsParse(StringVar)183 cret := xContentFormatsParse(StringVar)
184+
177 return cret185 return cret
178 }186 }
179 187
@@ -186,6 +194,7 @@ var xInternMimeType func(string) string
186 func InternMimeType(StringVar string) string {194 func InternMimeType(StringVar string) string {
187 195
188 cret := xInternMimeType(StringVar)196 cret := xInternMimeType(StringVar)
197+
189 return cret198 return cret
190 }199 }
191 200
M v4/gdk/gdkcontentprovider.go +4 -0
@@ -360,6 +360,7 @@ func (x *ContentProvider) GetValue(ValueVar *gobject.Value) (bool, error) {
360 var cerr *glib.Error360 var cerr *glib.Error
361 361
362 cret := xContentProviderGetValue(x.GoPointer(), ValueVar, &cerr)362 cret := xContentProviderGetValue(x.GoPointer(), ValueVar, &cerr)
363+
363 if cerr == nil {364 if cerr == nil {
364 return cret, nil365 return cret, nil
365 }366 }
@@ -373,6 +374,7 @@ var xContentProviderRefFormats func(uintptr) *ContentFormats
373 func (x *ContentProvider) RefFormats() *ContentFormats {374 func (x *ContentProvider) RefFormats() *ContentFormats {
374 375
375 cret := xContentProviderRefFormats(x.GoPointer())376 cret := xContentProviderRefFormats(x.GoPointer())
377+
376 return cret378 return cret
377 }379 }
378 380
@@ -387,6 +389,7 @@ var xContentProviderRefStorableFormats func(uintptr) *ContentFormats
387 func (x *ContentProvider) RefStorableFormats() *ContentFormats {389 func (x *ContentProvider) RefStorableFormats() *ContentFormats {
388 390
389 cret := xContentProviderRefStorableFormats(x.GoPointer())391 cret := xContentProviderRefStorableFormats(x.GoPointer())
392+
390 return cret393 return cret
391 }394 }
392 395
@@ -430,6 +433,7 @@ func (x *ContentProvider) WriteMimeTypeFinish(ResultVar gio.AsyncResult) (bool,
430 var cerr *glib.Error433 var cerr *glib.Error
431 434
432 cret := xContentProviderWriteMimeTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)435 cret := xContentProviderWriteMimeTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
436+
433 if cerr == nil {437 if cerr == nil {
434 return cret, nil438 return cret, nil
435 }439 }
M v4/gdk/gdkcontentserializer.go +9 -0
@@ -96,6 +96,7 @@ func ContentSerializeFinish(ResultVar gio.AsyncResult) (bool, error) {
96 var cerr *glib.Error96 var cerr *glib.Error
97 97
98 cret := xContentSerializeFinish(ResultVar.GoPointer(), &cerr)98 cret := xContentSerializeFinish(ResultVar.GoPointer(), &cerr)
99+
99 if cerr == nil {100 if cerr == nil {
100 return cret, nil101 return cret, nil
101 }102 }
@@ -155,6 +156,7 @@ var xContentSerializerGetGtype func(uintptr) types.GType
155 func (x *ContentSerializer) GetGtype() types.GType {156 func (x *ContentSerializer) GetGtype() types.GType {
156 157
157 cret := xContentSerializerGetGtype(x.GoPointer())158 cret := xContentSerializerGetGtype(x.GoPointer())
159+
158 return cret160 return cret
159 }161 }
160 162
@@ -164,6 +166,7 @@ var xContentSerializerGetMimeType func(uintptr) string
164 func (x *ContentSerializer) GetMimeType() string {166 func (x *ContentSerializer) GetMimeType() string {
165 167
166 cret := xContentSerializerGetMimeType(x.GoPointer())168 cret := xContentSerializerGetMimeType(x.GoPointer())
169+
167 return cret170 return cret
168 }171 }
169 172
@@ -194,6 +197,7 @@ var xContentSerializerGetPriority func(uintptr) int
194 func (x *ContentSerializer) GetPriority() int {197 func (x *ContentSerializer) GetPriority() int {
195 198
196 cret := xContentSerializerGetPriority(x.GoPointer())199 cret := xContentSerializerGetPriority(x.GoPointer())
200+
197 return cret201 return cret
198 }202 }
199 203
@@ -205,6 +209,7 @@ var xContentSerializerGetTaskData func(uintptr) uintptr
205 func (x *ContentSerializer) GetTaskData() uintptr {209 func (x *ContentSerializer) GetTaskData() uintptr {
206 210
207 cret := xContentSerializerGetTaskData(x.GoPointer())211 cret := xContentSerializerGetTaskData(x.GoPointer())
212+
208 return cret213 return cret
209 }214 }
210 215
@@ -214,6 +219,7 @@ var xContentSerializerGetUserData func(uintptr) uintptr
214 func (x *ContentSerializer) GetUserData() uintptr {219 func (x *ContentSerializer) GetUserData() uintptr {
215 220
216 cret := xContentSerializerGetUserData(x.GoPointer())221 cret := xContentSerializerGetUserData(x.GoPointer())
222+
217 return cret223 return cret
218 }224 }
219 225
@@ -223,6 +229,7 @@ var xContentSerializerGetValue func(uintptr) *gobject.Value
223 func (x *ContentSerializer) GetValue() *gobject.Value {229 func (x *ContentSerializer) GetValue() *gobject.Value {
224 230
225 cret := xContentSerializerGetValue(x.GoPointer())231 cret := xContentSerializerGetValue(x.GoPointer())
232+
226 return cret233 return cret
227 }234 }
228 235
@@ -300,6 +307,7 @@ func (x *ContentSerializer) GetSourceObject() *gobject.Object {
300 func (x *ContentSerializer) IsTagged(SourceTagVar uintptr) bool {307 func (x *ContentSerializer) IsTagged(SourceTagVar uintptr) bool {
301 308
302 cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)309 cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
310+
303 return cret311 return cret
304 }312 }
305 313
@@ -317,6 +325,7 @@ func (x *ContentSerializer) LegacyPropagateError() (bool, error) {
317 var cerr *glib.Error325 var cerr *glib.Error
318 326
319 cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer())327 cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer())
328+
320 if cerr == nil {329 if cerr == nil {
321 return cret, nil330 return cret, nil
322 }331 }
M v4/gdk/gdkcursor.go +3 -0
@@ -235,6 +235,7 @@ var xCursorGetHotspotX func(uintptr) int
235 func (x *Cursor) GetHotspotX() int {235 func (x *Cursor) GetHotspotX() int {
236 236
237 cret := xCursorGetHotspotX(x.GoPointer())237 cret := xCursorGetHotspotX(x.GoPointer())
238+
238 return cret239 return cret
239 }240 }
240 241
@@ -250,6 +251,7 @@ var xCursorGetHotspotY func(uintptr) int
250 func (x *Cursor) GetHotspotY() int {251 func (x *Cursor) GetHotspotY() int {
251 252
252 cret := xCursorGetHotspotY(x.GoPointer())253 cret := xCursorGetHotspotY(x.GoPointer())
254+
253 return cret255 return cret
254 }256 }
255 257
@@ -261,6 +263,7 @@ var xCursorGetName func(uintptr) string
261 func (x *Cursor) GetName() string {263 func (x *Cursor) GetName() string {
262 264
263 cret := xCursorGetName(x.GoPointer())265 cret := xCursorGetName(x.GoPointer())
266+
264 return cret267 return cret
265 }268 }
266 269
M v4/gdk/gdkdevice.go +15 -0
@@ -95,6 +95,7 @@ var xDeviceGetActiveLayoutIndex func(uintptr) int
95 func (x *Device) GetActiveLayoutIndex() int {95 func (x *Device) GetActiveLayoutIndex() int {
96 96
97 cret := xDeviceGetActiveLayoutIndex(x.GoPointer())97 cret := xDeviceGetActiveLayoutIndex(x.GoPointer())
98+
98 return cret99 return cret
99 }100 }
100 101
@@ -106,6 +107,7 @@ var xDeviceGetCapsLockState func(uintptr) bool
106 func (x *Device) GetCapsLockState() bool {107 func (x *Device) GetCapsLockState() bool {
107 108
108 cret := xDeviceGetCapsLockState(x.GoPointer())109 cret := xDeviceGetCapsLockState(x.GoPointer())
110+
109 return cret111 return cret
110 }112 }
111 113
@@ -137,6 +139,7 @@ var xDeviceGetDirection func(uintptr) pango.Direction
137 func (x *Device) GetDirection() pango.Direction {139 func (x *Device) GetDirection() pango.Direction {
138 140
139 cret := xDeviceGetDirection(x.GoPointer())141 cret := xDeviceGetDirection(x.GoPointer())
142+
140 return cret143 return cret
141 }144 }
142 145
@@ -166,6 +169,7 @@ var xDeviceGetHasCursor func(uintptr) bool
166 func (x *Device) GetHasCursor() bool {169 func (x *Device) GetHasCursor() bool {
167 170
168 cret := xDeviceGetHasCursor(x.GoPointer())171 cret := xDeviceGetHasCursor(x.GoPointer())
172+
169 return cret173 return cret
170 }174 }
171 175
@@ -177,6 +181,7 @@ var xDeviceGetLayoutNames func(uintptr) []string
177 func (x *Device) GetLayoutNames() []string {181 func (x *Device) GetLayoutNames() []string {
178 182
179 cret := xDeviceGetLayoutNames(x.GoPointer())183 cret := xDeviceGetLayoutNames(x.GoPointer())
184+
180 return cret185 return cret
181 }186 }
182 187
@@ -188,6 +193,7 @@ var xDeviceGetModifierState func(uintptr) ModifierType
188 func (x *Device) GetModifierState() ModifierType {193 func (x *Device) GetModifierState() ModifierType {
189 194
190 cret := xDeviceGetModifierState(x.GoPointer())195 cret := xDeviceGetModifierState(x.GoPointer())
196+
191 return cret197 return cret
192 }198 }
193 199
@@ -197,6 +203,7 @@ var xDeviceGetName func(uintptr) string
197 func (x *Device) GetName() string {203 func (x *Device) GetName() string {
198 204
199 cret := xDeviceGetName(x.GoPointer())205 cret := xDeviceGetName(x.GoPointer())
206+
200 return cret207 return cret
201 }208 }
202 209
@@ -208,6 +215,7 @@ var xDeviceGetNumLockState func(uintptr) bool
208 func (x *Device) GetNumLockState() bool {215 func (x *Device) GetNumLockState() bool {
209 216
210 cret := xDeviceGetNumLockState(x.GoPointer())217 cret := xDeviceGetNumLockState(x.GoPointer())
218+
211 return cret219 return cret
212 }220 }
213 221
@@ -217,6 +225,7 @@ var xDeviceGetNumTouches func(uintptr) uint
217 func (x *Device) GetNumTouches() uint {225 func (x *Device) GetNumTouches() uint {
218 226
219 cret := xDeviceGetNumTouches(x.GoPointer())227 cret := xDeviceGetNumTouches(x.GoPointer())
228+
220 return cret229 return cret
221 }230 }
222 231
@@ -229,6 +238,7 @@ var xDeviceGetProductId func(uintptr) string
229 func (x *Device) GetProductId() string {238 func (x *Device) GetProductId() string {
230 239
231 cret := xDeviceGetProductId(x.GoPointer())240 cret := xDeviceGetProductId(x.GoPointer())
241+
232 return cret242 return cret
233 }243 }
234 244
@@ -240,6 +250,7 @@ var xDeviceGetScrollLockState func(uintptr) bool
240 func (x *Device) GetScrollLockState() bool {250 func (x *Device) GetScrollLockState() bool {
241 251
242 cret := xDeviceGetScrollLockState(x.GoPointer())252 cret := xDeviceGetScrollLockState(x.GoPointer())
253+
243 return cret254 return cret
244 }255 }
245 256
@@ -266,6 +277,7 @@ var xDeviceGetSource func(uintptr) InputSource
266 func (x *Device) GetSource() InputSource {277 func (x *Device) GetSource() InputSource {
267 278
268 cret := xDeviceGetSource(x.GoPointer())279 cret := xDeviceGetSource(x.GoPointer())
280+
269 return cret281 return cret
270 }282 }
271 283
@@ -301,6 +313,7 @@ var xDeviceGetTimestamp func(uintptr) uint32
301 func (x *Device) GetTimestamp() uint32 {313 func (x *Device) GetTimestamp() uint32 {
302 314
303 cret := xDeviceGetTimestamp(x.GoPointer())315 cret := xDeviceGetTimestamp(x.GoPointer())
316+
304 return cret317 return cret
305 }318 }
306 319
@@ -338,6 +351,7 @@ var xDeviceGetVendorId func(uintptr) string
338 func (x *Device) GetVendorId() string {351 func (x *Device) GetVendorId() string {
339 352
340 cret := xDeviceGetVendorId(x.GoPointer())353 cret := xDeviceGetVendorId(x.GoPointer())
354+
341 return cret355 return cret
342 }356 }
343 357
@@ -350,6 +364,7 @@ var xDeviceHasBidiLayouts func(uintptr) bool
350 func (x *Device) HasBidiLayouts() bool {364 func (x *Device) HasBidiLayouts() bool {
351 365
352 cret := xDeviceHasBidiLayouts(x.GoPointer())366 cret := xDeviceHasBidiLayouts(x.GoPointer())
367+
353 return cret368 return cret
354 }369 }
355 370
M v4/gdk/gdkdevicepad.go +4 -0
@@ -70,6 +70,7 @@ func (x *DevicePadBase) SetGoPointer(ptr uintptr) {
70 func (x *DevicePadBase) GetFeatureGroup(FeatureVar DevicePadFeature, FeatureIdxVar int) int {70 func (x *DevicePadBase) GetFeatureGroup(FeatureVar DevicePadFeature, FeatureIdxVar int) int {
71 71
72 cret := XGdkDevicePadGetFeatureGroup(x.GoPointer(), FeatureVar, FeatureIdxVar)72 cret := XGdkDevicePadGetFeatureGroup(x.GoPointer(), FeatureVar, FeatureIdxVar)
73+
73 return cret74 return cret
74 }75 }
75 76
@@ -77,6 +78,7 @@ func (x *DevicePadBase) GetFeatureGroup(FeatureVar DevicePadFeature, FeatureIdxV
77 func (x *DevicePadBase) GetGroupNModes(GroupIdxVar int) int {78 func (x *DevicePadBase) GetGroupNModes(GroupIdxVar int) int {
78 79
79 cret := XGdkDevicePadGetGroupNModes(x.GoPointer(), GroupIdxVar)80 cret := XGdkDevicePadGetGroupNModes(x.GoPointer(), GroupIdxVar)
81+
80 return cret82 return cret
81 }83 }
82 84
@@ -84,6 +86,7 @@ func (x *DevicePadBase) GetGroupNModes(GroupIdxVar int) int {
84 func (x *DevicePadBase) GetNFeatures(FeatureVar DevicePadFeature) int {86 func (x *DevicePadBase) GetNFeatures(FeatureVar DevicePadFeature) int {
85 87
86 cret := XGdkDevicePadGetNFeatures(x.GoPointer(), FeatureVar)88 cret := XGdkDevicePadGetNFeatures(x.GoPointer(), FeatureVar)
89+
87 return cret90 return cret
88 }91 }
89 92
@@ -95,6 +98,7 @@ func (x *DevicePadBase) GetNFeatures(FeatureVar DevicePadFeature) int {
95 func (x *DevicePadBase) GetNGroups() int {98 func (x *DevicePadBase) GetNGroups() int {
96 99
97 cret := XGdkDevicePadGetNGroups(x.GoPointer())100 cret := XGdkDevicePadGetNGroups(x.GoPointer())
101+
98 return cret102 return cret
99 }103 }
100 104
M v4/gdk/gdkdevicetool.go +4 -0
@@ -61,6 +61,7 @@ var xDeviceToolGetAxes func(uintptr) AxisFlags
61 func (x *DeviceTool) GetAxes() AxisFlags {61 func (x *DeviceTool) GetAxes() AxisFlags {
62 62
63 cret := xDeviceToolGetAxes(x.GoPointer())63 cret := xDeviceToolGetAxes(x.GoPointer())
64+
64 return cret65 return cret
65 }66 }
66 67
@@ -80,6 +81,7 @@ var xDeviceToolGetHardwareId func(uintptr) uint64
80 func (x *DeviceTool) GetHardwareId() uint64 {81 func (x *DeviceTool) GetHardwareId() uint64 {
81 82
82 cret := xDeviceToolGetHardwareId(x.GoPointer())83 cret := xDeviceToolGetHardwareId(x.GoPointer())
84+
83 return cret85 return cret
84 }86 }
85 87
@@ -92,6 +94,7 @@ var xDeviceToolGetSerial func(uintptr) uint64
92 func (x *DeviceTool) GetSerial() uint64 {94 func (x *DeviceTool) GetSerial() uint64 {
93 95
94 cret := xDeviceToolGetSerial(x.GoPointer())96 cret := xDeviceToolGetSerial(x.GoPointer())
97+
95 return cret98 return cret
96 }99 }
97 100
@@ -101,6 +104,7 @@ var xDeviceToolGetToolType func(uintptr) DeviceToolType
101 func (x *DeviceTool) GetToolType() DeviceToolType {104 func (x *DeviceTool) GetToolType() DeviceToolType {
102 105
103 cret := xDeviceToolGetToolType(x.GoPointer())106 cret := xDeviceToolGetToolType(x.GoPointer())
107+
104 return cret108 return cret
105 }109 }
106 110
M v4/gdk/gdkdisplay.go +21 -1
@@ -2,6 +2,7 @@
2 package gdk2 package gdk
3 3
4 import (4 import (
5+ "runtime"
5 "unsafe"6 "unsafe"
6 7
7 "github.com/jwijenbergh/purego"8 "github.com/jwijenbergh/purego"
@@ -97,6 +98,7 @@ var xDisplayDeviceIsGrabbed func(uintptr, uintptr) bool
97 func (x *Display) DeviceIsGrabbed(DeviceVar *Device) bool {98 func (x *Display) DeviceIsGrabbed(DeviceVar *Device) bool {
98 99
99 cret := xDisplayDeviceIsGrabbed(x.GoPointer(), DeviceVar.GoPointer())100 cret := xDisplayDeviceIsGrabbed(x.GoPointer(), DeviceVar.GoPointer())
101+
100 return cret102 return cret
101 }103 }
102 104
@@ -188,6 +190,7 @@ var xDisplayGetDmabufFormats func(uintptr) *DmabufFormats
188 func (x *Display) GetDmabufFormats() *DmabufFormats {190 func (x *Display) GetDmabufFormats() *DmabufFormats {
189 191
190 cret := xDisplayGetDmabufFormats(x.GoPointer())192 cret := xDisplayGetDmabufFormats(x.GoPointer())
193+
191 return cret194 return cret
192 }195 }
193 196
@@ -238,6 +241,7 @@ var xDisplayGetName func(uintptr) string
238 func (x *Display) GetName() string {241 func (x *Display) GetName() string {
239 242
240 cret := xDisplayGetName(x.GoPointer())243 cret := xDisplayGetName(x.GoPointer())
244+
241 return cret245 return cret
242 }246 }
243 247
@@ -268,6 +272,7 @@ var xDisplayGetSetting func(uintptr, string, *gobject.Value) bool
268 func (x *Display) GetSetting(NameVar string, ValueVar *gobject.Value) bool {272 func (x *Display) GetSetting(NameVar string, ValueVar *gobject.Value) bool {
269 273
270 cret := xDisplayGetSetting(x.GoPointer(), NameVar, ValueVar)274 cret := xDisplayGetSetting(x.GoPointer(), NameVar, ValueVar)
275+
271 return cret276 return cret
272 }277 }
273 278
@@ -278,6 +283,7 @@ var xDisplayGetStartupNotificationId func(uintptr) string
278 func (x *Display) GetStartupNotificationId() string {283 func (x *Display) GetStartupNotificationId() string {
279 284
280 cret := xDisplayGetStartupNotificationId(x.GoPointer())285 cret := xDisplayGetStartupNotificationId(x.GoPointer())
286+
281 return cret287 return cret
282 }288 }
283 289
@@ -287,6 +293,7 @@ var xDisplayIsClosed func(uintptr) bool
287 func (x *Display) IsClosed() bool {293 func (x *Display) IsClosed() bool {
288 294
289 cret := xDisplayIsClosed(x.GoPointer())295 cret := xDisplayIsClosed(x.GoPointer())
296+
290 return cret297 return cret
291 }298 }
292 299
@@ -305,6 +312,7 @@ var xDisplayIsComposited func(uintptr) bool
305 func (x *Display) IsComposited() bool {312 func (x *Display) IsComposited() bool {
306 313
307 cret := xDisplayIsComposited(x.GoPointer())314 cret := xDisplayIsComposited(x.GoPointer())
315+
308 return cret316 return cret
309 }317 }
310 318
@@ -324,6 +332,7 @@ var xDisplayIsRgba func(uintptr) bool
324 func (x *Display) IsRgba() bool {332 func (x *Display) IsRgba() bool {
325 333
326 cret := xDisplayIsRgba(x.GoPointer())334 cret := xDisplayIsRgba(x.GoPointer())
335+
327 return cret336 return cret
328 }337 }
329 338
@@ -333,6 +342,7 @@ var xDisplayListSeats func(uintptr) *glib.List
333 func (x *Display) ListSeats() *glib.List {342 func (x *Display) ListSeats() *glib.List {
334 343
335 cret := xDisplayListSeats(x.GoPointer())344 cret := xDisplayListSeats(x.GoPointer())
345+
336 return cret346 return cret
337 }347 }
338 348
@@ -350,6 +360,7 @@ var xDisplayMapKeycode func(uintptr, uint, *uintptr, *[]uint, *int) bool
350 func (x *Display) MapKeycode(KeycodeVar uint, KeysVar *uintptr, KeyvalsVar *[]uint, NEntriesVar *int) bool {360 func (x *Display) MapKeycode(KeycodeVar uint, KeysVar *uintptr, KeyvalsVar *[]uint, NEntriesVar *int) bool {
351 361
352 cret := xDisplayMapKeycode(x.GoPointer(), KeycodeVar, KeysVar, KeyvalsVar, NEntriesVar)362 cret := xDisplayMapKeycode(x.GoPointer(), KeycodeVar, KeysVar, KeyvalsVar, NEntriesVar)
363+
353 return cret364 return cret
354 }365 }
355 366
@@ -373,6 +384,7 @@ var xDisplayMapKeyval func(uintptr, uint, *uintptr, *int) bool
373 func (x *Display) MapKeyval(KeyvalVar uint, KeysVar *uintptr, NKeysVar *int) bool {384 func (x *Display) MapKeyval(KeyvalVar uint, KeysVar *uintptr, NKeysVar *int) bool {
374 385
375 cret := xDisplayMapKeyval(x.GoPointer(), KeyvalVar, KeysVar, NKeysVar)386 cret := xDisplayMapKeyval(x.GoPointer(), KeyvalVar, KeysVar, NKeysVar)
387+
376 return cret388 return cret
377 }389 }
378 390
@@ -411,6 +423,7 @@ func (x *Display) PrepareGl() (bool, error) {
411 var cerr *glib.Error423 var cerr *glib.Error
412 424
413 cret := xDisplayPrepareGl(x.GoPointer())425 cret := xDisplayPrepareGl(x.GoPointer())
426+
414 if cerr == nil {427 if cerr == nil {
415 return cret, nil428 return cret, nil
416 }429 }
@@ -438,6 +451,7 @@ var xDisplaySupportsInputShapes func(uintptr) bool
438 func (x *Display) SupportsInputShapes() bool {451 func (x *Display) SupportsInputShapes() bool {
439 452
440 cret := xDisplaySupportsInputShapes(x.GoPointer())453 cret := xDisplaySupportsInputShapes(x.GoPointer())
454+
441 return cret455 return cret
442 }456 }
443 457
@@ -450,6 +464,7 @@ var xDisplaySupportsShadowWidth func(uintptr) bool
450 func (x *Display) SupportsShadowWidth() bool {464 func (x *Display) SupportsShadowWidth() bool {
451 465
452 cret := xDisplaySupportsShadowWidth(x.GoPointer())466 cret := xDisplaySupportsShadowWidth(x.GoPointer())
467+
453 return cret468 return cret
454 }469 }
455 470
@@ -495,6 +510,7 @@ var xDisplayTranslateKey func(uintptr, uint, ModifierType, int, *uint, *int, *in
495 func (x *Display) TranslateKey(KeycodeVar uint, StateVar ModifierType, GroupVar int, KeyvalVar *uint, EffectiveGroupVar *int, LevelVar *int, ConsumedVar *ModifierType) bool {510 func (x *Display) TranslateKey(KeycodeVar uint, StateVar ModifierType, GroupVar int, KeyvalVar *uint, EffectiveGroupVar *int, LevelVar *int, ConsumedVar *ModifierType) bool {
496 511
497 cret := xDisplayTranslateKey(x.GoPointer(), KeycodeVar, StateVar, GroupVar, KeyvalVar, EffectiveGroupVar, LevelVar, ConsumedVar)512 cret := xDisplayTranslateKey(x.GoPointer(), KeycodeVar, StateVar, GroupVar, KeyvalVar, EffectiveGroupVar, LevelVar, ConsumedVar)
513+
498 return cret514 return cret
499 }515 }
500 516
@@ -678,7 +694,11 @@ var xDisplayOpen func(uintptr) uintptr
678 func DisplayOpen(DisplayNameVar *string) *Display {694 func DisplayOpen(DisplayNameVar *string) *Display {
679 var cls *Display695 var cls *Display
680 696
681- cret := xDisplayOpen(core.NullableStringToPtr(DisplayNameVar))697+ DisplayNameVarPtr, DisplayNameVarBytes := core.NullableStringToPtr(DisplayNameVar)
698+
699+ cret := xDisplayOpen(DisplayNameVarPtr)
700+
701+ runtime.KeepAlive(DisplayNameVarBytes)
682 702
683 if cret == 0 {703 if cret == 0 {
684 return nil704 return nil
M v4/gdk/gdkdisplaymanager.go +7 -1
@@ -2,6 +2,7 @@
2 package gdk2 package gdk
3 3
4 import (4 import (
5+ "runtime"
5 "unsafe"6 "unsafe"
6 7
7 "github.com/jwijenbergh/purego"8 "github.com/jwijenbergh/purego"
@@ -140,6 +141,7 @@ var xDisplayManagerListDisplays func(uintptr) *glib.SList
140 func (x *DisplayManager) ListDisplays() *glib.SList {141 func (x *DisplayManager) ListDisplays() *glib.SList {
141 142
142 cret := xDisplayManagerListDisplays(x.GoPointer())143 cret := xDisplayManagerListDisplays(x.GoPointer())
144+
143 return cret145 return cret
144 }146 }
145 147
@@ -149,7 +151,11 @@ var xDisplayManagerOpenDisplay func(uintptr, uintptr) uintptr
149 func (x *DisplayManager) OpenDisplay(NameVar *string) *Display {151 func (x *DisplayManager) OpenDisplay(NameVar *string) *Display {
150 var cls *Display152 var cls *Display
151 153
152- cret := xDisplayManagerOpenDisplay(x.GoPointer(), core.NullableStringToPtr(NameVar))154+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
155+
156+ cret := xDisplayManagerOpenDisplay(x.GoPointer(), NameVarPtr)
157+
158+ runtime.KeepAlive(NameVarBytes)
153 159
154 if cret == 0 {160 if cret == 0 {
155 return nil161 return nil
M v4/gdk/gdkdmabuftexture.go +9 -0
@@ -26,6 +26,7 @@ var xDmabufErrorQuark func() glib.Quark
26 func DmabufErrorQuark() glib.Quark {26 func DmabufErrorQuark() glib.Quark {
27 27
28 cret := xDmabufErrorQuark()28 cret := xDmabufErrorQuark()
29+
29 return cret30 return cret
30 }31 }
31 32
@@ -105,6 +106,7 @@ func (x *DmabufTexture) GetCurrentImage() *PaintableBase {
105 func (x *DmabufTexture) GetFlags() PaintableFlags {106 func (x *DmabufTexture) GetFlags() PaintableFlags {
106 107
107 cret := XGdkPaintableGetFlags(x.GoPointer())108 cret := XGdkPaintableGetFlags(x.GoPointer())
109+
108 return cret110 return cret
109 }111 }
110 112
@@ -128,6 +130,7 @@ func (x *DmabufTexture) GetFlags() PaintableFlags {
128 func (x *DmabufTexture) GetIntrinsicAspectRatio() float64 {130 func (x *DmabufTexture) GetIntrinsicAspectRatio() float64 {
129 131
130 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())132 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
133+
131 return cret134 return cret
132 }135 }
133 136
@@ -144,6 +147,7 @@ func (x *DmabufTexture) GetIntrinsicAspectRatio() float64 {
144 func (x *DmabufTexture) GetIntrinsicHeight() int {147 func (x *DmabufTexture) GetIntrinsicHeight() int {
145 148
146 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())149 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
150+
147 return cret151 return cret
148 }152 }
149 153
@@ -160,6 +164,7 @@ func (x *DmabufTexture) GetIntrinsicHeight() int {
160 func (x *DmabufTexture) GetIntrinsicWidth() int {164 func (x *DmabufTexture) GetIntrinsicWidth() int {
161 165
162 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())166 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
167+
163 return cret168 return cret
164 }169 }
165 170
@@ -210,6 +215,7 @@ func (x *DmabufTexture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, Height
210 func (x *DmabufTexture) Equal(Icon2Var gio.Icon) bool {215 func (x *DmabufTexture) Equal(Icon2Var gio.Icon) bool {
211 216
212 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())217 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
218+
213 return cret219 return cret
214 }220 }
215 221
@@ -217,6 +223,7 @@ func (x *DmabufTexture) Equal(Icon2Var gio.Icon) bool {
217 func (x *DmabufTexture) Hash() uint {223 func (x *DmabufTexture) Hash() uint {
218 224
219 cret := gio.XGIconHash(x.GoPointer())225 cret := gio.XGIconHash(x.GoPointer())
226+
220 return cret227 return cret
221 }228 }
222 229
@@ -228,6 +235,7 @@ func (x *DmabufTexture) Hash() uint {
228 func (x *DmabufTexture) Serialize() *glib.Variant {235 func (x *DmabufTexture) Serialize() *glib.Variant {
229 236
230 cret := gio.XGIconSerialize(x.GoPointer())237 cret := gio.XGIconSerialize(x.GoPointer())
238+
231 return cret239 return cret
232 }240 }
233 241
@@ -250,6 +258,7 @@ func (x *DmabufTexture) Serialize() *glib.Variant {
250 func (x *DmabufTexture) ToString() string {258 func (x *DmabufTexture) ToString() string {
251 259
252 cret := gio.XGIconToString(x.GoPointer())260 cret := gio.XGIconToString(x.GoPointer())
261+
253 return cret262 return cret
254 }263 }
255 264
M v4/gdk/gdkdmabuftexturebuilder.go +11 -0
@@ -166,6 +166,7 @@ var xDmabufTextureBuilderGetColorState func(uintptr) *ColorState
166 func (x *DmabufTextureBuilder) GetColorState() *ColorState {166 func (x *DmabufTextureBuilder) GetColorState() *ColorState {
167 167
168 cret := xDmabufTextureBuilderGetColorState(x.GoPointer())168 cret := xDmabufTextureBuilderGetColorState(x.GoPointer())
169+
169 return cret170 return cret
170 }171 }
171 172
@@ -193,6 +194,7 @@ var xDmabufTextureBuilderGetFd func(uintptr, uint) int
193 func (x *DmabufTextureBuilder) GetFd(PlaneVar uint) int {194 func (x *DmabufTextureBuilder) GetFd(PlaneVar uint) int {
194 195
195 cret := xDmabufTextureBuilderGetFd(x.GoPointer(), PlaneVar)196 cret := xDmabufTextureBuilderGetFd(x.GoPointer(), PlaneVar)
197+
196 return cret198 return cret
197 }199 }
198 200
@@ -205,6 +207,7 @@ var xDmabufTextureBuilderGetFourcc func(uintptr) uint32
205 func (x *DmabufTextureBuilder) GetFourcc() uint32 {207 func (x *DmabufTextureBuilder) GetFourcc() uint32 {
206 208
207 cret := xDmabufTextureBuilderGetFourcc(x.GoPointer())209 cret := xDmabufTextureBuilderGetFourcc(x.GoPointer())
210+
208 return cret211 return cret
209 }212 }
210 213
@@ -215,6 +218,7 @@ var xDmabufTextureBuilderGetHeight func(uintptr) uint
215 func (x *DmabufTextureBuilder) GetHeight() uint {218 func (x *DmabufTextureBuilder) GetHeight() uint {
216 219
217 cret := xDmabufTextureBuilderGetHeight(x.GoPointer())220 cret := xDmabufTextureBuilderGetHeight(x.GoPointer())
221+
218 return cret222 return cret
219 }223 }
220 224
@@ -224,6 +228,7 @@ var xDmabufTextureBuilderGetModifier func(uintptr) uint64
224 func (x *DmabufTextureBuilder) GetModifier() uint64 {228 func (x *DmabufTextureBuilder) GetModifier() uint64 {
225 229
226 cret := xDmabufTextureBuilderGetModifier(x.GoPointer())230 cret := xDmabufTextureBuilderGetModifier(x.GoPointer())
231+
227 return cret232 return cret
228 }233 }
229 234
@@ -233,6 +238,7 @@ var xDmabufTextureBuilderGetNPlanes func(uintptr) uint
233 func (x *DmabufTextureBuilder) GetNPlanes() uint {238 func (x *DmabufTextureBuilder) GetNPlanes() uint {
234 239
235 cret := xDmabufTextureBuilderGetNPlanes(x.GoPointer())240 cret := xDmabufTextureBuilderGetNPlanes(x.GoPointer())
241+
236 return cret242 return cret
237 }243 }
238 244
@@ -242,6 +248,7 @@ var xDmabufTextureBuilderGetOffset func(uintptr, uint) uint
242 func (x *DmabufTextureBuilder) GetOffset(PlaneVar uint) uint {248 func (x *DmabufTextureBuilder) GetOffset(PlaneVar uint) uint {
243 249
244 cret := xDmabufTextureBuilderGetOffset(x.GoPointer(), PlaneVar)250 cret := xDmabufTextureBuilderGetOffset(x.GoPointer(), PlaneVar)
251+
245 return cret252 return cret
246 }253 }
247 254
@@ -251,6 +258,7 @@ var xDmabufTextureBuilderGetPremultiplied func(uintptr) bool
251 func (x *DmabufTextureBuilder) GetPremultiplied() bool {258 func (x *DmabufTextureBuilder) GetPremultiplied() bool {
252 259
253 cret := xDmabufTextureBuilderGetPremultiplied(x.GoPointer())260 cret := xDmabufTextureBuilderGetPremultiplied(x.GoPointer())
261+
254 return cret262 return cret
255 }263 }
256 264
@@ -260,6 +268,7 @@ var xDmabufTextureBuilderGetStride func(uintptr, uint) uint
260 func (x *DmabufTextureBuilder) GetStride(PlaneVar uint) uint {268 func (x *DmabufTextureBuilder) GetStride(PlaneVar uint) uint {
261 269
262 cret := xDmabufTextureBuilderGetStride(x.GoPointer(), PlaneVar)270 cret := xDmabufTextureBuilderGetStride(x.GoPointer(), PlaneVar)
271+
263 return cret272 return cret
264 }273 }
265 274
@@ -270,6 +279,7 @@ var xDmabufTextureBuilderGetUpdateRegion func(uintptr) *cairo.Region
270 func (x *DmabufTextureBuilder) GetUpdateRegion() *cairo.Region {279 func (x *DmabufTextureBuilder) GetUpdateRegion() *cairo.Region {
271 280
272 cret := xDmabufTextureBuilderGetUpdateRegion(x.GoPointer())281 cret := xDmabufTextureBuilderGetUpdateRegion(x.GoPointer())
282+
273 return cret283 return cret
274 }284 }
275 285
@@ -298,6 +308,7 @@ var xDmabufTextureBuilderGetWidth func(uintptr) uint
298 func (x *DmabufTextureBuilder) GetWidth() uint {308 func (x *DmabufTextureBuilder) GetWidth() uint {
299 309
300 cret := xDmabufTextureBuilderGetWidth(x.GoPointer())310 cret := xDmabufTextureBuilderGetWidth(x.GoPointer())
311+
301 return cret312 return cret
302 }313 }
303 314
M v4/gdk/gdkdrag.go +4 -0
@@ -40,6 +40,7 @@ var xDragActionIsUnique func(DragAction) bool
40 func DragActionIsUnique(ActionVar DragAction) bool {40 func DragActionIsUnique(ActionVar DragAction) bool {
41 41
42 cret := xDragActionIsUnique(ActionVar)42 cret := xDragActionIsUnique(ActionVar)
43+
43 return cret44 return cret
44 }45 }
45 46
@@ -94,6 +95,7 @@ var xDragGetActions func(uintptr) DragAction
94 func (x *Drag) GetActions() DragAction {95 func (x *Drag) GetActions() DragAction {
95 96
96 cret := xDragGetActions(x.GoPointer())97 cret := xDragGetActions(x.GoPointer())
98+
97 return cret99 return cret
98 }100 }
99 101
@@ -177,6 +179,7 @@ var xDragGetFormats func(uintptr) *ContentFormats
177 func (x *Drag) GetFormats() *ContentFormats {179 func (x *Drag) GetFormats() *ContentFormats {
178 180
179 cret := xDragGetFormats(x.GoPointer())181 cret := xDragGetFormats(x.GoPointer())
182+
180 return cret183 return cret
181 }184 }
182 185
@@ -186,6 +189,7 @@ var xDragGetSelectedAction func(uintptr) DragAction
186 func (x *Drag) GetSelectedAction() DragAction {189 func (x *Drag) GetSelectedAction() DragAction {
187 190
188 cret := xDragGetSelectedAction(x.GoPointer())191 cret := xDragGetSelectedAction(x.GoPointer())
192+
189 return cret193 return cret
190 }194 }
191 195
M v4/gdk/gdkdragsurface.go +1 -0
@@ -51,6 +51,7 @@ func (x *DragSurfaceBase) SetGoPointer(ptr uintptr) {
51 func (x *DragSurfaceBase) Present(WidthVar int, HeightVar int) bool {51 func (x *DragSurfaceBase) Present(WidthVar int, HeightVar int) bool {
52 52
53 cret := XGdkDragSurfacePresent(x.GoPointer(), WidthVar, HeightVar)53 cret := XGdkDragSurfacePresent(x.GoPointer(), WidthVar, HeightVar)
54+
54 return cret55 return cret
55 }56 }
56 57
M v4/gdk/gdkdrawcontext.go +2 -0
@@ -112,6 +112,7 @@ var xDrawContextGetFrameRegion func(uintptr) *cairo.Region
112 func (x *DrawContext) GetFrameRegion() *cairo.Region {112 func (x *DrawContext) GetFrameRegion() *cairo.Region {
113 113
114 cret := xDrawContextGetFrameRegion(x.GoPointer())114 cret := xDrawContextGetFrameRegion(x.GoPointer())
115+
115 return cret116 return cret
116 }117 }
117 118
@@ -142,6 +143,7 @@ var xDrawContextIsInFrame func(uintptr) bool
142 func (x *DrawContext) IsInFrame() bool {143 func (x *DrawContext) IsInFrame() bool {
143 144
144 cret := xDrawContextIsInFrame(x.GoPointer())145 cret := xDrawContextIsInFrame(x.GoPointer())
146+
145 return cret147 return cret
146 }148 }
147 149
M v4/gdk/gdkdrop.go +3 -0
@@ -73,6 +73,7 @@ var xDropGetActions func(uintptr) DragAction
73 func (x *Drop) GetActions() DragAction {73 func (x *Drop) GetActions() DragAction {
74 74
75 cret := xDropGetActions(x.GoPointer())75 cret := xDropGetActions(x.GoPointer())
76+
76 return cret77 return cret
77 }78 }
78 79
@@ -137,6 +138,7 @@ var xDropGetFormats func(uintptr) *ContentFormats
137 func (x *Drop) GetFormats() *ContentFormats {138 func (x *Drop) GetFormats() *ContentFormats {
138 139
139 cret := xDropGetFormats(x.GoPointer())140 cret := xDropGetFormats(x.GoPointer())
141+
140 return cret142 return cret
141 }143 }
142 144
@@ -248,6 +250,7 @@ func (x *Drop) ReadValueFinish(ResultVar gio.AsyncResult) (*gobject.Value, error
248 var cerr *glib.Error250 var cerr *glib.Error
249 251
250 cret := xDropReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)252 cret := xDropReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
253+
251 if cerr == nil {254 if cerr == nil {
252 return cret, nil255 return cret, nil
253 }256 }
M v4/gdk/gdkevents.go +40 -0
@@ -332,6 +332,7 @@ var xEventsGetAngle func(uintptr, uintptr, *float64) bool
332 func EventsGetAngle(Event1Var *Event, Event2Var *Event, AngleVar *float64) bool {332 func EventsGetAngle(Event1Var *Event, Event2Var *Event, AngleVar *float64) bool {
333 333
334 cret := xEventsGetAngle(Event1Var.GoPointer(), Event2Var.GoPointer(), AngleVar)334 cret := xEventsGetAngle(Event1Var.GoPointer(), Event2Var.GoPointer(), AngleVar)
335+
335 return cret336 return cret
336 }337 }
337 338
@@ -344,6 +345,7 @@ var xEventsGetCenter func(uintptr, uintptr, *float64, *float64) bool
344 func EventsGetCenter(Event1Var *Event, Event2Var *Event, XVar *float64, YVar *float64) bool {345 func EventsGetCenter(Event1Var *Event, Event2Var *Event, XVar *float64, YVar *float64) bool {
345 346
346 cret := xEventsGetCenter(Event1Var.GoPointer(), Event2Var.GoPointer(), XVar, YVar)347 cret := xEventsGetCenter(Event1Var.GoPointer(), Event2Var.GoPointer(), XVar, YVar)
348+
347 return cret349 return cret
348 }350 }
349 351
@@ -356,6 +358,7 @@ var xEventsGetDistance func(uintptr, uintptr, *float64) bool
356 func EventsGetDistance(Event1Var *Event, Event2Var *Event, DistanceVar *float64) bool {358 func EventsGetDistance(Event1Var *Event, Event2Var *Event, DistanceVar *float64) bool {
357 359
358 cret := xEventsGetDistance(Event1Var.GoPointer(), Event2Var.GoPointer(), DistanceVar)360 cret := xEventsGetDistance(Event1Var.GoPointer(), Event2Var.GoPointer(), DistanceVar)
361+
359 return cret362 return cret
360 }363 }
361 364
@@ -382,6 +385,7 @@ var xButtonEventGetButton func(uintptr) uint
382 func (x *ButtonEvent) GetButton() uint {385 func (x *ButtonEvent) GetButton() uint {
383 386
384 cret := xButtonEventGetButton(x.GoPointer())387 cret := xButtonEventGetButton(x.GoPointer())
388+
385 return cret389 return cret
386 }390 }
387 391
@@ -419,6 +423,7 @@ var xCrossingEventGetDetail func(uintptr) NotifyType
419 func (x *CrossingEvent) GetDetail() NotifyType {423 func (x *CrossingEvent) GetDetail() NotifyType {
420 424
421 cret := xCrossingEventGetDetail(x.GoPointer())425 cret := xCrossingEventGetDetail(x.GoPointer())
426+
422 return cret427 return cret
423 }428 }
424 429
@@ -428,6 +433,7 @@ var xCrossingEventGetFocus func(uintptr) bool
428 func (x *CrossingEvent) GetFocus() bool {433 func (x *CrossingEvent) GetFocus() bool {
429 434
430 cret := xCrossingEventGetFocus(x.GoPointer())435 cret := xCrossingEventGetFocus(x.GoPointer())
436+
431 return cret437 return cret
432 }438 }
433 439
@@ -437,6 +443,7 @@ var xCrossingEventGetMode func(uintptr) CrossingMode
437 func (x *CrossingEvent) GetMode() CrossingMode {443 func (x *CrossingEvent) GetMode() CrossingMode {
438 444
439 cret := xCrossingEventGetMode(x.GoPointer())445 cret := xCrossingEventGetMode(x.GoPointer())
446+
440 return cret447 return cret
441 }448 }
442 449
@@ -560,6 +567,7 @@ var xEventGetAngle func(uintptr, uintptr, *float64) bool
560 func (x *Event) GetAngle(Event2Var *Event, AngleVar *float64) bool {567 func (x *Event) GetAngle(Event2Var *Event, AngleVar *float64) bool {
561 568
562 cret := xEventGetAngle(x.GoPointer(), Event2Var.GoPointer(), AngleVar)569 cret := xEventGetAngle(x.GoPointer(), Event2Var.GoPointer(), AngleVar)
570+
563 return cret571 return cret
564 }572 }
565 573
@@ -572,6 +580,7 @@ var xEventGetCenter func(uintptr, uintptr, *float64, *float64) bool
572 func (x *Event) GetCenter(Event2Var *Event, XVar *float64, YVar *float64) bool {580 func (x *Event) GetCenter(Event2Var *Event, XVar *float64, YVar *float64) bool {
573 581
574 cret := xEventGetCenter(x.GoPointer(), Event2Var.GoPointer(), XVar, YVar)582 cret := xEventGetCenter(x.GoPointer(), Event2Var.GoPointer(), XVar, YVar)
583+
575 return cret584 return cret
576 }585 }
577 586
@@ -584,6 +593,7 @@ var xEventGetDistance func(uintptr, uintptr, *float64) bool
584 func (x *Event) GetDistance(Event2Var *Event, DistanceVar *float64) bool {593 func (x *Event) GetDistance(Event2Var *Event, DistanceVar *float64) bool {
585 594
586 cret := xEventGetDistance(x.GoPointer(), Event2Var.GoPointer(), DistanceVar)595 cret := xEventGetDistance(x.GoPointer(), Event2Var.GoPointer(), DistanceVar)
596+
587 return cret597 return cret
588 }598 }
589 599
@@ -596,6 +606,7 @@ var xEventGetAxes func(uintptr, *[]float64, *uint) bool
596 func (x *Event) GetAxes(AxesVar *[]float64, NAxesVar *uint) bool {606 func (x *Event) GetAxes(AxesVar *[]float64, NAxesVar *uint) bool {
597 607
598 cret := xEventGetAxes(x.GoPointer(), AxesVar, NAxesVar)608 cret := xEventGetAxes(x.GoPointer(), AxesVar, NAxesVar)
609+
599 return cret610 return cret
600 }611 }
601 612
@@ -609,6 +620,7 @@ var xEventGetAxis func(uintptr, AxisUse, *float64) bool
609 func (x *Event) GetAxis(AxisUseVar AxisUse, ValueVar *float64) bool {620 func (x *Event) GetAxis(AxisUseVar AxisUse, ValueVar *float64) bool {
610 621
611 cret := xEventGetAxis(x.GoPointer(), AxisUseVar, ValueVar)622 cret := xEventGetAxis(x.GoPointer(), AxisUseVar, ValueVar)
623+
612 return cret624 return cret
613 }625 }
614 626
@@ -681,6 +693,7 @@ var xEventGetEventSequence func(uintptr) *EventSequence
681 func (x *Event) GetEventSequence() *EventSequence {693 func (x *Event) GetEventSequence() *EventSequence {
682 694
683 cret := xEventGetEventSequence(x.GoPointer())695 cret := xEventGetEventSequence(x.GoPointer())
696+
684 return cret697 return cret
685 }698 }
686 699
@@ -690,6 +703,7 @@ var xEventGetEventType func(uintptr) EventType
690 func (x *Event) GetEventType() EventType {703 func (x *Event) GetEventType() EventType {
691 704
692 cret := xEventGetEventType(x.GoPointer())705 cret := xEventGetEventType(x.GoPointer())
706+
693 return cret707 return cret
694 }708 }
695 709
@@ -707,6 +721,7 @@ var xEventGetHistory func(uintptr, *uint) uintptr
707 func (x *Event) GetHistory(OutNCoordsVar *uint) uintptr {721 func (x *Event) GetHistory(OutNCoordsVar *uint) uintptr {
708 722
709 cret := xEventGetHistory(x.GoPointer(), OutNCoordsVar)723 cret := xEventGetHistory(x.GoPointer(), OutNCoordsVar)
724+
710 return cret725 return cret
711 }726 }
712 727
@@ -716,6 +731,7 @@ var xEventGetModifierState func(uintptr) ModifierType
716 func (x *Event) GetModifierState() ModifierType {731 func (x *Event) GetModifierState() ModifierType {
717 732
718 cret := xEventGetModifierState(x.GoPointer())733 cret := xEventGetModifierState(x.GoPointer())
734+
719 return cret735 return cret
720 }736 }
721 737
@@ -727,6 +743,7 @@ var xEventGetPointerEmulated func(uintptr) bool
727 func (x *Event) GetPointerEmulated() bool {743 func (x *Event) GetPointerEmulated() bool {
728 744
729 cret := xEventGetPointerEmulated(x.GoPointer())745 cret := xEventGetPointerEmulated(x.GoPointer())
746+
730 return cret747 return cret
731 }748 }
732 749
@@ -738,6 +755,7 @@ var xEventGetPosition func(uintptr, *float64, *float64) bool
738 func (x *Event) GetPosition(XVar *float64, YVar *float64) bool {755 func (x *Event) GetPosition(XVar *float64, YVar *float64) bool {
739 756
740 cret := xEventGetPosition(x.GoPointer(), XVar, YVar)757 cret := xEventGetPosition(x.GoPointer(), XVar, YVar)
758+
741 return cret759 return cret
742 }760 }
743 761
@@ -784,6 +802,7 @@ var xEventGetTime func(uintptr) uint32
784 func (x *Event) GetTime() uint32 {802 func (x *Event) GetTime() uint32 {
785 803
786 cret := xEventGetTime(x.GoPointer())804 cret := xEventGetTime(x.GoPointer())
805+
787 return cret806 return cret
788 }807 }
789 808
@@ -819,6 +838,7 @@ var xEventTriggersContextMenu func(uintptr) bool
819 func (x *Event) TriggersContextMenu() bool {838 func (x *Event) TriggersContextMenu() bool {
820 839
821 cret := xEventTriggersContextMenu(x.GoPointer())840 cret := xEventTriggersContextMenu(x.GoPointer())
841+
822 return cret842 return cret
823 }843 }
824 844
@@ -868,6 +888,7 @@ var xFocusEventGetIn func(uintptr) bool
868 func (x *FocusEvent) GetIn() bool {888 func (x *FocusEvent) GetIn() bool {
869 889
870 cret := xFocusEventGetIn(x.GoPointer())890 cret := xFocusEventGetIn(x.GoPointer())
891+
871 return cret892 return cret
872 }893 }
873 894
@@ -922,6 +943,7 @@ var xGrabBrokenEventGetImplicit func(uintptr) bool
922 func (x *GrabBrokenEvent) GetImplicit() bool {943 func (x *GrabBrokenEvent) GetImplicit() bool {
923 944
924 cret := xGrabBrokenEventGetImplicit(x.GoPointer())945 cret := xGrabBrokenEventGetImplicit(x.GoPointer())
946+
925 return cret947 return cret
926 }948 }
927 949
@@ -959,6 +981,7 @@ var xKeyEventGetConsumedModifiers func(uintptr) ModifierType
959 func (x *KeyEvent) GetConsumedModifiers() ModifierType {981 func (x *KeyEvent) GetConsumedModifiers() ModifierType {
960 982
961 cret := xKeyEventGetConsumedModifiers(x.GoPointer())983 cret := xKeyEventGetConsumedModifiers(x.GoPointer())
984+
962 return cret985 return cret
963 }986 }
964 987
@@ -968,6 +991,7 @@ var xKeyEventGetKeycode func(uintptr) uint
968 func (x *KeyEvent) GetKeycode() uint {991 func (x *KeyEvent) GetKeycode() uint {
969 992
970 cret := xKeyEventGetKeycode(x.GoPointer())993 cret := xKeyEventGetKeycode(x.GoPointer())
994+
971 return cret995 return cret
972 }996 }
973 997
@@ -977,6 +1001,7 @@ var xKeyEventGetKeyval func(uintptr) uint
977 func (x *KeyEvent) GetKeyval() uint {1001 func (x *KeyEvent) GetKeyval() uint {
978 1002
979 cret := xKeyEventGetKeyval(x.GoPointer())1003 cret := xKeyEventGetKeyval(x.GoPointer())
1004+
980 return cret1005 return cret
981 }1006 }
982 1007
@@ -986,6 +1011,7 @@ var xKeyEventGetLayout func(uintptr) uint
986 func (x *KeyEvent) GetLayout() uint {1011 func (x *KeyEvent) GetLayout() uint {
987 1012
988 cret := xKeyEventGetLayout(x.GoPointer())1013 cret := xKeyEventGetLayout(x.GoPointer())
1014+
989 return cret1015 return cret
990 }1016 }
991 1017
@@ -995,6 +1021,7 @@ var xKeyEventGetLevel func(uintptr) uint
995 func (x *KeyEvent) GetLevel() uint {1021 func (x *KeyEvent) GetLevel() uint {
996 1022
997 cret := xKeyEventGetLevel(x.GoPointer())1023 cret := xKeyEventGetLevel(x.GoPointer())
1024+
998 return cret1025 return cret
999 }1026 }
1000 1027
@@ -1007,6 +1034,7 @@ var xKeyEventGetMatch func(uintptr, *uint, *ModifierType) bool
1007 func (x *KeyEvent) GetMatch(KeyvalVar *uint, ModifiersVar *ModifierType) bool {1034 func (x *KeyEvent) GetMatch(KeyvalVar *uint, ModifiersVar *ModifierType) bool {
1008 1035
1009 cret := xKeyEventGetMatch(x.GoPointer(), KeyvalVar, ModifiersVar)1036 cret := xKeyEventGetMatch(x.GoPointer(), KeyvalVar, ModifiersVar)
1037+
1010 return cret1038 return cret
1011 }1039 }
1012 1040
@@ -1016,6 +1044,7 @@ var xKeyEventIsModifier func(uintptr) bool
1016 func (x *KeyEvent) IsModifier() bool {1044 func (x *KeyEvent) IsModifier() bool {
1017 1045
1018 cret := xKeyEventIsModifier(x.GoPointer())1046 cret := xKeyEventIsModifier(x.GoPointer())
1047+
1019 return cret1048 return cret
1020 }1049 }
1021 1050
@@ -1032,6 +1061,7 @@ var xKeyEventMatches func(uintptr, uint, ModifierType) KeyMatch
1032 func (x *KeyEvent) Matches(KeyvalVar uint, ModifiersVar ModifierType) KeyMatch {1061 func (x *KeyEvent) Matches(KeyvalVar uint, ModifiersVar ModifierType) KeyMatch {
1033 1062
1034 cret := xKeyEventMatches(x.GoPointer(), KeyvalVar, ModifiersVar)1063 cret := xKeyEventMatches(x.GoPointer(), KeyvalVar, ModifiersVar)
1064+
1035 return cret1065 return cret
1036 }1066 }
1037 1067
@@ -1107,6 +1137,7 @@ var xPadEventGetButton func(uintptr) uint
1107 func (x *PadEvent) GetButton() uint {1137 func (x *PadEvent) GetButton() uint {
1108 1138
1109 cret := xPadEventGetButton(x.GoPointer())1139 cret := xPadEventGetButton(x.GoPointer())
1140+
1110 return cret1141 return cret
1111 }1142 }
1112 1143
@@ -1196,6 +1227,7 @@ var xScrollEventGetDirection func(uintptr) ScrollDirection
1196 func (x *ScrollEvent) GetDirection() ScrollDirection {1227 func (x *ScrollEvent) GetDirection() ScrollDirection {
1197 1228
1198 cret := xScrollEventGetDirection(x.GoPointer())1229 cret := xScrollEventGetDirection(x.GoPointer())
1230+
1199 return cret1231 return cret
1200 }1232 }
1201 1233
@@ -1208,6 +1240,7 @@ var xScrollEventGetUnit func(uintptr) ScrollUnit
1208 func (x *ScrollEvent) GetUnit() ScrollUnit {1240 func (x *ScrollEvent) GetUnit() ScrollUnit {
1209 1241
1210 cret := xScrollEventGetUnit(x.GoPointer())1242 cret := xScrollEventGetUnit(x.GoPointer())
1243+
1211 return cret1244 return cret
1212 }1245 }
1213 1246
@@ -1225,6 +1258,7 @@ var xScrollEventIsStop func(uintptr) bool
1225 func (x *ScrollEvent) IsStop() bool {1258 func (x *ScrollEvent) IsStop() bool {
1226 1259
1227 cret := xScrollEventIsStop(x.GoPointer())1260 cret := xScrollEventIsStop(x.GoPointer())
1261+
1228 return cret1262 return cret
1229 }1263 }
1230 1264
@@ -1244,6 +1278,7 @@ var xScrollEventGetRelativeDirection func(uintptr) ScrollRelativeDirection
1244 func ScrollEventGetRelativeDirection(EventVar *Event) ScrollRelativeDirection {1278 func ScrollEventGetRelativeDirection(EventVar *Event) ScrollRelativeDirection {
1245 1279
1246 cret := xScrollEventGetRelativeDirection(EventVar.GoPointer())1280 cret := xScrollEventGetRelativeDirection(EventVar.GoPointer())
1281+
1247 return cret1282 return cret
1248 }1283 }
1249 1284
@@ -1270,6 +1305,7 @@ var xTouchEventGetEmulatingPointer func(uintptr) bool
1270 func (x *TouchEvent) GetEmulatingPointer() bool {1305 func (x *TouchEvent) GetEmulatingPointer() bool {
1271 1306
1272 cret := xTouchEventGetEmulatingPointer(x.GoPointer())1307 cret := xTouchEventGetEmulatingPointer(x.GoPointer())
1308+
1273 return cret1309 return cret
1274 }1310 }
1275 1311
@@ -1321,6 +1357,7 @@ var xTouchpadEventGetGesturePhase func(uintptr) TouchpadGesturePhase
1321 func (x *TouchpadEvent) GetGesturePhase() TouchpadGesturePhase {1357 func (x *TouchpadEvent) GetGesturePhase() TouchpadGesturePhase {
1322 1358
1323 cret := xTouchpadEventGetGesturePhase(x.GoPointer())1359 cret := xTouchpadEventGetGesturePhase(x.GoPointer())
1360+
1324 return cret1361 return cret
1325 }1362 }
1326 1363
@@ -1330,6 +1367,7 @@ var xTouchpadEventGetNFingers func(uintptr) uint
1330 func (x *TouchpadEvent) GetNFingers() uint {1367 func (x *TouchpadEvent) GetNFingers() uint {
1331 1368
1332 cret := xTouchpadEventGetNFingers(x.GoPointer())1369 cret := xTouchpadEventGetNFingers(x.GoPointer())
1370+
1333 return cret1371 return cret
1334 }1372 }
1335 1373
@@ -1339,6 +1377,7 @@ var xTouchpadEventGetPinchAngleDelta func(uintptr) float64
1339 func (x *TouchpadEvent) GetPinchAngleDelta() float64 {1377 func (x *TouchpadEvent) GetPinchAngleDelta() float64 {
1340 1378
1341 cret := xTouchpadEventGetPinchAngleDelta(x.GoPointer())1379 cret := xTouchpadEventGetPinchAngleDelta(x.GoPointer())
1380+
1342 return cret1381 return cret
1343 }1382 }
1344 1383
@@ -1348,6 +1387,7 @@ var xTouchpadEventGetPinchScale func(uintptr) float64
1348 func (x *TouchpadEvent) GetPinchScale() float64 {1387 func (x *TouchpadEvent) GetPinchScale() float64 {
1349 1388
1350 cret := xTouchpadEventGetPinchScale(x.GoPointer())1389 cret := xTouchpadEventGetPinchScale(x.GoPointer())
1390+
1351 return cret1391 return cret
1352 }1392 }
1353 1393
M v4/gdk/gdkframeclock.go +6 -0
@@ -139,6 +139,7 @@ var xFrameClockGetCurrentTimings func(uintptr) *FrameTimings
139 func (x *FrameClock) GetCurrentTimings() *FrameTimings {139 func (x *FrameClock) GetCurrentTimings() *FrameTimings {
140 140
141 cret := xFrameClockGetCurrentTimings(x.GoPointer())141 cret := xFrameClockGetCurrentTimings(x.GoPointer())
142+
142 return cret143 return cret
143 }144 }
144 145
@@ -149,6 +150,7 @@ var xFrameClockGetFps func(uintptr) float64
149 func (x *FrameClock) GetFps() float64 {150 func (x *FrameClock) GetFps() float64 {
150 151
151 cret := xFrameClockGetFps(x.GoPointer())152 cret := xFrameClockGetFps(x.GoPointer())
153+
152 return cret154 return cret
153 }155 }
154 156
@@ -159,6 +161,7 @@ var xFrameClockGetFrameCounter func(uintptr) int64
159 func (x *FrameClock) GetFrameCounter() int64 {161 func (x *FrameClock) GetFrameCounter() int64 {
160 162
161 cret := xFrameClockGetFrameCounter(x.GoPointer())163 cret := xFrameClockGetFrameCounter(x.GoPointer())
164+
162 return cret165 return cret
163 }166 }
164 167
@@ -174,6 +177,7 @@ var xFrameClockGetFrameTime func(uintptr) int64
174 func (x *FrameClock) GetFrameTime() int64 {177 func (x *FrameClock) GetFrameTime() int64 {
175 178
176 cret := xFrameClockGetFrameTime(x.GoPointer())179 cret := xFrameClockGetFrameTime(x.GoPointer())
180+
177 return cret181 return cret
178 }182 }
179 183
@@ -190,6 +194,7 @@ var xFrameClockGetHistoryStart func(uintptr) int64
190 func (x *FrameClock) GetHistoryStart() int64 {194 func (x *FrameClock) GetHistoryStart() int64 {
191 195
192 cret := xFrameClockGetHistoryStart(x.GoPointer())196 cret := xFrameClockGetHistoryStart(x.GoPointer())
197+
193 return cret198 return cret
194 }199 }
195 200
@@ -219,6 +224,7 @@ var xFrameClockGetTimings func(uintptr, int64) *FrameTimings
219 func (x *FrameClock) GetTimings(FrameCounterVar int64) *FrameTimings {224 func (x *FrameClock) GetTimings(FrameCounterVar int64) *FrameTimings {
220 225
221 cret := xFrameClockGetTimings(x.GoPointer(), FrameCounterVar)226 cret := xFrameClockGetTimings(x.GoPointer(), FrameCounterVar)
227+
222 return cret228 return cret
223 }229 }
224 230
M v4/gdk/gdkframetimings.go +7 -0
@@ -49,6 +49,7 @@ var xFrameTimingsGetComplete func(uintptr) bool
49 func (x *FrameTimings) GetComplete() bool {49 func (x *FrameTimings) GetComplete() bool {
50 50
51 cret := xFrameTimingsGetComplete(x.GoPointer())51 cret := xFrameTimingsGetComplete(x.GoPointer())
52+
52 return cret53 return cret
53 }54 }
54 55
@@ -59,6 +60,7 @@ var xFrameTimingsGetFrameCounter func(uintptr) int64
59 func (x *FrameTimings) GetFrameCounter() int64 {60 func (x *FrameTimings) GetFrameCounter() int64 {
60 61
61 cret := xFrameTimingsGetFrameCounter(x.GoPointer())62 cret := xFrameTimingsGetFrameCounter(x.GoPointer())
63+
62 return cret64 return cret
63 }65 }
64 66
@@ -71,6 +73,7 @@ var xFrameTimingsGetFrameTime func(uintptr) int64
71 func (x *FrameTimings) GetFrameTime() int64 {73 func (x *FrameTimings) GetFrameTime() int64 {
72 74
73 cret := xFrameTimingsGetFrameTime(x.GoPointer())75 cret := xFrameTimingsGetFrameTime(x.GoPointer())
76+
74 return cret77 return cret
75 }78 }
76 79
@@ -91,6 +94,7 @@ var xFrameTimingsGetPredictedPresentationTime func(uintptr) int64
91 func (x *FrameTimings) GetPredictedPresentationTime() int64 {94 func (x *FrameTimings) GetPredictedPresentationTime() int64 {
92 95
93 cret := xFrameTimingsGetPredictedPresentationTime(x.GoPointer())96 cret := xFrameTimingsGetPredictedPresentationTime(x.GoPointer())
97+
94 return cret98 return cret
95 }99 }
96 100
@@ -102,6 +106,7 @@ var xFrameTimingsGetPresentationTime func(uintptr) int64
102 func (x *FrameTimings) GetPresentationTime() int64 {106 func (x *FrameTimings) GetPresentationTime() int64 {
103 107
104 cret := xFrameTimingsGetPresentationTime(x.GoPointer())108 cret := xFrameTimingsGetPresentationTime(x.GoPointer())
109+
105 return cret110 return cret
106 }111 }
107 112
@@ -115,6 +120,7 @@ var xFrameTimingsGetRefreshInterval func(uintptr) int64
115 func (x *FrameTimings) GetRefreshInterval() int64 {120 func (x *FrameTimings) GetRefreshInterval() int64 {
116 121
117 cret := xFrameTimingsGetRefreshInterval(x.GoPointer())122 cret := xFrameTimingsGetRefreshInterval(x.GoPointer())
123+
118 return cret124 return cret
119 }125 }
120 126
@@ -124,6 +130,7 @@ var xFrameTimingsRef func(uintptr) *FrameTimings
124 func (x *FrameTimings) Ref() *FrameTimings {130 func (x *FrameTimings) Ref() *FrameTimings {
125 131
126 cret := xFrameTimingsRef(x.GoPointer())132 cret := xFrameTimingsRef(x.GoPointer())
133+
127 return cret134 return cret
128 }135 }
129 136
M v4/gdk/gdkglcontext.go +9 -0
@@ -15,6 +15,7 @@ var xGlErrorQuark func() glib.Quark
15 func GlErrorQuark() glib.Quark {15 func GlErrorQuark() glib.Quark {
16 16
17 cret := xGlErrorQuark()17 cret := xGlErrorQuark()
18+
18 return cret19 return cret
19 }20 }
20 21
@@ -88,6 +89,7 @@ var xGLContextGetAllowedApis func(uintptr) GLAPI
88 func (x *GLContext) GetAllowedApis() GLAPI {89 func (x *GLContext) GetAllowedApis() GLAPI {
89 90
90 cret := xGLContextGetAllowedApis(x.GoPointer())91 cret := xGLContextGetAllowedApis(x.GoPointer())
92+
91 return cret93 return cret
92 }94 }
93 95
@@ -99,6 +101,7 @@ var xGLContextGetApi func(uintptr) GLAPI
99 func (x *GLContext) GetApi() GLAPI {101 func (x *GLContext) GetApi() GLAPI {
100 102
101 cret := xGLContextGetApi(x.GoPointer())103 cret := xGLContextGetApi(x.GoPointer())
104+
102 return cret105 return cret
103 }106 }
104 107
@@ -110,6 +113,7 @@ var xGLContextGetDebugEnabled func(uintptr) bool
110 func (x *GLContext) GetDebugEnabled() bool {113 func (x *GLContext) GetDebugEnabled() bool {
111 114
112 cret := xGLContextGetDebugEnabled(x.GoPointer())115 cret := xGLContextGetDebugEnabled(x.GoPointer())
116+
113 return cret117 return cret
114 }118 }
115 119
@@ -138,6 +142,7 @@ var xGLContextGetForwardCompatible func(uintptr) bool
138 func (x *GLContext) GetForwardCompatible() bool {142 func (x *GLContext) GetForwardCompatible() bool {
139 143
140 cret := xGLContextGetForwardCompatible(x.GoPointer())144 cret := xGLContextGetForwardCompatible(x.GoPointer())
145+
141 return cret146 return cret
142 }147 }
143 148
@@ -198,6 +203,7 @@ var xGLContextGetUseEs func(uintptr) bool
198 func (x *GLContext) GetUseEs() bool {203 func (x *GLContext) GetUseEs() bool {
199 204
200 cret := xGLContextGetUseEs(x.GoPointer())205 cret := xGLContextGetUseEs(x.GoPointer())
206+
201 return cret207 return cret
202 }208 }
203 209
@@ -233,6 +239,7 @@ var xGLContextIsLegacy func(uintptr) bool
233 func (x *GLContext) IsLegacy() bool {239 func (x *GLContext) IsLegacy() bool {
234 240
235 cret := xGLContextIsLegacy(x.GoPointer())241 cret := xGLContextIsLegacy(x.GoPointer())
242+
236 return cret243 return cret
237 }244 }
238 245
@@ -253,6 +260,7 @@ var xGLContextIsShared func(uintptr, uintptr) bool
253 func (x *GLContext) IsShared(OtherVar *GLContext) bool {260 func (x *GLContext) IsShared(OtherVar *GLContext) bool {
254 261
255 cret := xGLContextIsShared(x.GoPointer(), OtherVar.GoPointer())262 cret := xGLContextIsShared(x.GoPointer(), OtherVar.GoPointer())
263+
256 return cret264 return cret
257 }265 }
258 266
@@ -274,6 +282,7 @@ func (x *GLContext) Realize() (bool, error) {
274 var cerr *glib.Error282 var cerr *glib.Error
275 283
276 cret := xGLContextRealize(x.GoPointer())284 cret := xGLContextRealize(x.GoPointer())
285+
277 if cerr == nil {286 if cerr == nil {
278 return cret, nil287 return cret, nil
279 }288 }
M v4/gdk/gdkgltexture.go +8 -0
@@ -139,6 +139,7 @@ func (x *GLTexture) GetCurrentImage() *PaintableBase {
139 func (x *GLTexture) GetFlags() PaintableFlags {139 func (x *GLTexture) GetFlags() PaintableFlags {
140 140
141 cret := XGdkPaintableGetFlags(x.GoPointer())141 cret := XGdkPaintableGetFlags(x.GoPointer())
142+
142 return cret143 return cret
143 }144 }
144 145
@@ -162,6 +163,7 @@ func (x *GLTexture) GetFlags() PaintableFlags {
162 func (x *GLTexture) GetIntrinsicAspectRatio() float64 {163 func (x *GLTexture) GetIntrinsicAspectRatio() float64 {
163 164
164 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())165 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
166+
165 return cret167 return cret
166 }168 }
167 169
@@ -178,6 +180,7 @@ func (x *GLTexture) GetIntrinsicAspectRatio() float64 {
178 func (x *GLTexture) GetIntrinsicHeight() int {180 func (x *GLTexture) GetIntrinsicHeight() int {
179 181
180 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())182 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
183+
181 return cret184 return cret
182 }185 }
183 186
@@ -194,6 +197,7 @@ func (x *GLTexture) GetIntrinsicHeight() int {
194 func (x *GLTexture) GetIntrinsicWidth() int {197 func (x *GLTexture) GetIntrinsicWidth() int {
195 198
196 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())199 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
200+
197 return cret201 return cret
198 }202 }
199 203
@@ -244,6 +248,7 @@ func (x *GLTexture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, HeightVar
244 func (x *GLTexture) Equal(Icon2Var gio.Icon) bool {248 func (x *GLTexture) Equal(Icon2Var gio.Icon) bool {
245 249
246 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())250 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
251+
247 return cret252 return cret
248 }253 }
249 254
@@ -251,6 +256,7 @@ func (x *GLTexture) Equal(Icon2Var gio.Icon) bool {
251 func (x *GLTexture) Hash() uint {256 func (x *GLTexture) Hash() uint {
252 257
253 cret := gio.XGIconHash(x.GoPointer())258 cret := gio.XGIconHash(x.GoPointer())
259+
254 return cret260 return cret
255 }261 }
256 262
@@ -262,6 +268,7 @@ func (x *GLTexture) Hash() uint {
262 func (x *GLTexture) Serialize() *glib.Variant {268 func (x *GLTexture) Serialize() *glib.Variant {
263 269
264 cret := gio.XGIconSerialize(x.GoPointer())270 cret := gio.XGIconSerialize(x.GoPointer())
271+
265 return cret272 return cret
266 }273 }
267 274
@@ -284,6 +291,7 @@ func (x *GLTexture) Serialize() *glib.Variant {
284 func (x *GLTexture) ToString() string {291 func (x *GLTexture) ToString() string {
285 292
286 cret := gio.XGIconToString(x.GoPointer())293 cret := gio.XGIconToString(x.GoPointer())
294+
287 return cret295 return cret
288 }296 }
289 297
M v4/gdk/gdkgltexturebuilder.go +8 -0
@@ -112,6 +112,7 @@ var xGLTextureBuilderGetColorState func(uintptr) *ColorState
112 func (x *GLTextureBuilder) GetColorState() *ColorState {112 func (x *GLTextureBuilder) GetColorState() *ColorState {
113 113
114 cret := xGLTextureBuilderGetColorState(x.GoPointer())114 cret := xGLTextureBuilderGetColorState(x.GoPointer())
115+
115 return cret116 return cret
116 }117 }
117 118
@@ -139,6 +140,7 @@ var xGLTextureBuilderGetFormat func(uintptr) MemoryFormat
139 func (x *GLTextureBuilder) GetFormat() MemoryFormat {140 func (x *GLTextureBuilder) GetFormat() MemoryFormat {
140 141
141 cret := xGLTextureBuilderGetFormat(x.GoPointer())142 cret := xGLTextureBuilderGetFormat(x.GoPointer())
143+
142 return cret144 return cret
143 }145 }
144 146
@@ -148,6 +150,7 @@ var xGLTextureBuilderGetHasMipmap func(uintptr) bool
148 func (x *GLTextureBuilder) GetHasMipmap() bool {150 func (x *GLTextureBuilder) GetHasMipmap() bool {
149 151
150 cret := xGLTextureBuilderGetHasMipmap(x.GoPointer())152 cret := xGLTextureBuilderGetHasMipmap(x.GoPointer())
153+
151 return cret154 return cret
152 }155 }
153 156
@@ -158,6 +161,7 @@ var xGLTextureBuilderGetHeight func(uintptr) int
158 func (x *GLTextureBuilder) GetHeight() int {161 func (x *GLTextureBuilder) GetHeight() int {
159 162
160 cret := xGLTextureBuilderGetHeight(x.GoPointer())163 cret := xGLTextureBuilderGetHeight(x.GoPointer())
164+
161 return cret165 return cret
162 }166 }
163 167
@@ -168,6 +172,7 @@ var xGLTextureBuilderGetId func(uintptr) uint
168 func (x *GLTextureBuilder) GetId() uint {172 func (x *GLTextureBuilder) GetId() uint {
169 173
170 cret := xGLTextureBuilderGetId(x.GoPointer())174 cret := xGLTextureBuilderGetId(x.GoPointer())
175+
171 return cret176 return cret
172 }177 }
173 178
@@ -177,6 +182,7 @@ var xGLTextureBuilderGetSync func(uintptr) uintptr
177 func (x *GLTextureBuilder) GetSync() uintptr {182 func (x *GLTextureBuilder) GetSync() uintptr {
178 183
179 cret := xGLTextureBuilderGetSync(x.GoPointer())184 cret := xGLTextureBuilderGetSync(x.GoPointer())
185+
180 return cret186 return cret
181 }187 }
182 188
@@ -187,6 +193,7 @@ var xGLTextureBuilderGetUpdateRegion func(uintptr) *cairo.Region
187 func (x *GLTextureBuilder) GetUpdateRegion() *cairo.Region {193 func (x *GLTextureBuilder) GetUpdateRegion() *cairo.Region {
188 194
189 cret := xGLTextureBuilderGetUpdateRegion(x.GoPointer())195 cret := xGLTextureBuilderGetUpdateRegion(x.GoPointer())
196+
190 return cret197 return cret
191 }198 }
192 199
@@ -215,6 +222,7 @@ var xGLTextureBuilderGetWidth func(uintptr) int
215 func (x *GLTextureBuilder) GetWidth() int {222 func (x *GLTextureBuilder) GetWidth() int {
216 223
217 cret := xGLTextureBuilderGetWidth(x.GoPointer())224 cret := xGLTextureBuilderGetWidth(x.GoPointer())
225+
218 return cret226 return cret
219 }227 }
220 228
M v4/gdk/gdkkeys.go +8 -0
@@ -27,6 +27,7 @@ var xKeyvalFromName func(string) uint
27 func KeyvalFromName(KeyvalNameVar string) uint {27 func KeyvalFromName(KeyvalNameVar string) uint {
28 28
29 cret := xKeyvalFromName(KeyvalNameVar)29 cret := xKeyvalFromName(KeyvalNameVar)
30+
30 return cret31 return cret
31 }32 }
32 33
@@ -36,6 +37,7 @@ var xKeyvalIsLower func(uint) bool
36 func KeyvalIsLower(KeyvalVar uint) bool {37 func KeyvalIsLower(KeyvalVar uint) bool {
37 38
38 cret := xKeyvalIsLower(KeyvalVar)39 cret := xKeyvalIsLower(KeyvalVar)
40+
39 return cret41 return cret
40 }42 }
41 43
@@ -45,6 +47,7 @@ var xKeyvalIsUpper func(uint) bool
45 func KeyvalIsUpper(KeyvalVar uint) bool {47 func KeyvalIsUpper(KeyvalVar uint) bool {
46 48
47 cret := xKeyvalIsUpper(KeyvalVar)49 cret := xKeyvalIsUpper(KeyvalVar)
50+
48 return cret51 return cret
49 }52 }
50 53
@@ -58,6 +61,7 @@ var xKeyvalName func(uint) string
58 func KeyvalName(KeyvalVar uint) string {61 func KeyvalName(KeyvalVar uint) string {
59 62
60 cret := xKeyvalName(KeyvalVar)63 cret := xKeyvalName(KeyvalVar)
64+
61 return cret65 return cret
62 }66 }
63 67
@@ -67,6 +71,7 @@ var xKeyvalToLower func(uint) uint
67 func KeyvalToLower(KeyvalVar uint) uint {71 func KeyvalToLower(KeyvalVar uint) uint {
68 72
69 cret := xKeyvalToLower(KeyvalVar)73 cret := xKeyvalToLower(KeyvalVar)
74+
70 return cret75 return cret
71 }76 }
72 77
@@ -81,6 +86,7 @@ var xKeyvalToUnicode func(uint) uint32
81 func KeyvalToUnicode(KeyvalVar uint) uint32 {86 func KeyvalToUnicode(KeyvalVar uint) uint32 {
82 87
83 cret := xKeyvalToUnicode(KeyvalVar)88 cret := xKeyvalToUnicode(KeyvalVar)
89+
84 return cret90 return cret
85 }91 }
86 92
@@ -90,6 +96,7 @@ var xKeyvalToUpper func(uint) uint
90 func KeyvalToUpper(KeyvalVar uint) uint {96 func KeyvalToUpper(KeyvalVar uint) uint {
91 97
92 cret := xKeyvalToUpper(KeyvalVar)98 cret := xKeyvalToUpper(KeyvalVar)
99+
93 return cret100 return cret
94 }101 }
95 102
@@ -99,6 +106,7 @@ var xUnicodeToKeyval func(uint32) uint
99 func UnicodeToKeyval(WcVar uint32) uint {106 func UnicodeToKeyval(WcVar uint32) uint {
100 107
101 cret := xUnicodeToKeyval(WcVar)108 cret := xUnicodeToKeyval(WcVar)
109+
102 return cret110 return cret
103 }111 }
104 112
M v4/gdk/gdkmemorytexture.go +8 -0
@@ -110,6 +110,7 @@ func (x *MemoryTexture) GetCurrentImage() *PaintableBase {
110 func (x *MemoryTexture) GetFlags() PaintableFlags {110 func (x *MemoryTexture) GetFlags() PaintableFlags {
111 111
112 cret := XGdkPaintableGetFlags(x.GoPointer())112 cret := XGdkPaintableGetFlags(x.GoPointer())
113+
113 return cret114 return cret
114 }115 }
115 116
@@ -133,6 +134,7 @@ func (x *MemoryTexture) GetFlags() PaintableFlags {
133 func (x *MemoryTexture) GetIntrinsicAspectRatio() float64 {134 func (x *MemoryTexture) GetIntrinsicAspectRatio() float64 {
134 135
135 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())136 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
137+
136 return cret138 return cret
137 }139 }
138 140
@@ -149,6 +151,7 @@ func (x *MemoryTexture) GetIntrinsicAspectRatio() float64 {
149 func (x *MemoryTexture) GetIntrinsicHeight() int {151 func (x *MemoryTexture) GetIntrinsicHeight() int {
150 152
151 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())153 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
154+
152 return cret155 return cret
153 }156 }
154 157
@@ -165,6 +168,7 @@ func (x *MemoryTexture) GetIntrinsicHeight() int {
165 func (x *MemoryTexture) GetIntrinsicWidth() int {168 func (x *MemoryTexture) GetIntrinsicWidth() int {
166 169
167 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())170 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
171+
168 return cret172 return cret
169 }173 }
170 174
@@ -215,6 +219,7 @@ func (x *MemoryTexture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, Height
215 func (x *MemoryTexture) Equal(Icon2Var gio.Icon) bool {219 func (x *MemoryTexture) Equal(Icon2Var gio.Icon) bool {
216 220
217 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())221 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
222+
218 return cret223 return cret
219 }224 }
220 225
@@ -222,6 +227,7 @@ func (x *MemoryTexture) Equal(Icon2Var gio.Icon) bool {
222 func (x *MemoryTexture) Hash() uint {227 func (x *MemoryTexture) Hash() uint {
223 228
224 cret := gio.XGIconHash(x.GoPointer())229 cret := gio.XGIconHash(x.GoPointer())
230+
225 return cret231 return cret
226 }232 }
227 233
@@ -233,6 +239,7 @@ func (x *MemoryTexture) Hash() uint {
233 func (x *MemoryTexture) Serialize() *glib.Variant {239 func (x *MemoryTexture) Serialize() *glib.Variant {
234 240
235 cret := gio.XGIconSerialize(x.GoPointer())241 cret := gio.XGIconSerialize(x.GoPointer())
242+
236 return cret243 return cret
237 }244 }
238 245
@@ -255,6 +262,7 @@ func (x *MemoryTexture) Serialize() *glib.Variant {
255 func (x *MemoryTexture) ToString() string {262 func (x *MemoryTexture) ToString() string {
256 263
257 cret := gio.XGIconToString(x.GoPointer())264 cret := gio.XGIconToString(x.GoPointer())
265+
258 return cret266 return cret
259 }267 }
260 268
M v4/gdk/gdkmemorytexturebuilder.go +9 -0
@@ -93,6 +93,7 @@ var xMemoryTextureBuilderGetBytes func(uintptr) *glib.Bytes
93 func (x *MemoryTextureBuilder) GetBytes() *glib.Bytes {93 func (x *MemoryTextureBuilder) GetBytes() *glib.Bytes {
94 94
95 cret := xMemoryTextureBuilderGetBytes(x.GoPointer())95 cret := xMemoryTextureBuilderGetBytes(x.GoPointer())
96+
96 return cret97 return cret
97 }98 }
98 99
@@ -102,6 +103,7 @@ var xMemoryTextureBuilderGetColorState func(uintptr) *ColorState
102 func (x *MemoryTextureBuilder) GetColorState() *ColorState {103 func (x *MemoryTextureBuilder) GetColorState() *ColorState {
103 104
104 cret := xMemoryTextureBuilderGetColorState(x.GoPointer())105 cret := xMemoryTextureBuilderGetColorState(x.GoPointer())
106+
105 return cret107 return cret
106 }108 }
107 109
@@ -111,6 +113,7 @@ var xMemoryTextureBuilderGetFormat func(uintptr) MemoryFormat
111 func (x *MemoryTextureBuilder) GetFormat() MemoryFormat {113 func (x *MemoryTextureBuilder) GetFormat() MemoryFormat {
112 114
113 cret := xMemoryTextureBuilderGetFormat(x.GoPointer())115 cret := xMemoryTextureBuilderGetFormat(x.GoPointer())
116+
114 return cret117 return cret
115 }118 }
116 119
@@ -121,6 +124,7 @@ var xMemoryTextureBuilderGetHeight func(uintptr) int
121 func (x *MemoryTextureBuilder) GetHeight() int {124 func (x *MemoryTextureBuilder) GetHeight() int {
122 125
123 cret := xMemoryTextureBuilderGetHeight(x.GoPointer())126 cret := xMemoryTextureBuilderGetHeight(x.GoPointer())
127+
124 return cret128 return cret
125 }129 }
126 130
@@ -130,6 +134,7 @@ var xMemoryTextureBuilderGetOffset func(uintptr, uint) uint
130 func (x *MemoryTextureBuilder) GetOffset(PlaneVar uint) uint {134 func (x *MemoryTextureBuilder) GetOffset(PlaneVar uint) uint {
131 135
132 cret := xMemoryTextureBuilderGetOffset(x.GoPointer(), PlaneVar)136 cret := xMemoryTextureBuilderGetOffset(x.GoPointer(), PlaneVar)
137+
133 return cret138 return cret
134 }139 }
135 140
@@ -139,6 +144,7 @@ var xMemoryTextureBuilderGetStride func(uintptr) uint
139 func (x *MemoryTextureBuilder) GetStride() uint {144 func (x *MemoryTextureBuilder) GetStride() uint {
140 145
141 cret := xMemoryTextureBuilderGetStride(x.GoPointer())146 cret := xMemoryTextureBuilderGetStride(x.GoPointer())
147+
142 return cret148 return cret
143 }149 }
144 150
@@ -148,6 +154,7 @@ var xMemoryTextureBuilderGetStrideForPlane func(uintptr, uint) uint
148 func (x *MemoryTextureBuilder) GetStrideForPlane(PlaneVar uint) uint {154 func (x *MemoryTextureBuilder) GetStrideForPlane(PlaneVar uint) uint {
149 155
150 cret := xMemoryTextureBuilderGetStrideForPlane(x.GoPointer(), PlaneVar)156 cret := xMemoryTextureBuilderGetStrideForPlane(x.GoPointer(), PlaneVar)
157+
151 return cret158 return cret
152 }159 }
153 160
@@ -158,6 +165,7 @@ var xMemoryTextureBuilderGetUpdateRegion func(uintptr) *cairo.Region
158 func (x *MemoryTextureBuilder) GetUpdateRegion() *cairo.Region {165 func (x *MemoryTextureBuilder) GetUpdateRegion() *cairo.Region {
159 166
160 cret := xMemoryTextureBuilderGetUpdateRegion(x.GoPointer())167 cret := xMemoryTextureBuilderGetUpdateRegion(x.GoPointer())
168+
161 return cret169 return cret
162 }170 }
163 171
@@ -186,6 +194,7 @@ var xMemoryTextureBuilderGetWidth func(uintptr) int
186 func (x *MemoryTextureBuilder) GetWidth() int {194 func (x *MemoryTextureBuilder) GetWidth() int {
187 195
188 cret := xMemoryTextureBuilderGetWidth(x.GoPointer())196 cret := xMemoryTextureBuilderGetWidth(x.GoPointer())
197+
189 return cret198 return cret
190 }199 }
191 200
M v4/gdk/gdkmonitor.go +11 -0
@@ -78,6 +78,7 @@ var xMonitorGetConnector func(uintptr) string
78 func (x *Monitor) GetConnector() string {78 func (x *Monitor) GetConnector() string {
79 79
80 cret := xMonitorGetConnector(x.GoPointer())80 cret := xMonitorGetConnector(x.GoPointer())
81+
81 return cret82 return cret
82 }83 }
83 84
@@ -89,6 +90,7 @@ var xMonitorGetDescription func(uintptr) string
89 func (x *Monitor) GetDescription() string {90 func (x *Monitor) GetDescription() string {
90 91
91 cret := xMonitorGetDescription(x.GoPointer())92 cret := xMonitorGetDescription(x.GoPointer())
93+
92 return cret94 return cret
93 }95 }
94 96
@@ -128,6 +130,7 @@ var xMonitorGetHeightMm func(uintptr) int
128 func (x *Monitor) GetHeightMm() int {130 func (x *Monitor) GetHeightMm() int {
129 131
130 cret := xMonitorGetHeightMm(x.GoPointer())132 cret := xMonitorGetHeightMm(x.GoPointer())
133+
131 return cret134 return cret
132 }135 }
133 136
@@ -143,6 +146,7 @@ var xMonitorGetManufacturer func(uintptr) string
143 func (x *Monitor) GetManufacturer() string {146 func (x *Monitor) GetManufacturer() string {
144 147
145 cret := xMonitorGetManufacturer(x.GoPointer())148 cret := xMonitorGetManufacturer(x.GoPointer())
149+
146 return cret150 return cret
147 }151 }
148 152
@@ -152,6 +156,7 @@ var xMonitorGetModel func(uintptr) string
152 func (x *Monitor) GetModel() string {156 func (x *Monitor) GetModel() string {
153 157
154 cret := xMonitorGetModel(x.GoPointer())158 cret := xMonitorGetModel(x.GoPointer())
159+
155 return cret160 return cret
156 }161 }
157 162
@@ -164,6 +169,7 @@ var xMonitorGetRefreshRate func(uintptr) int
164 func (x *Monitor) GetRefreshRate() int {169 func (x *Monitor) GetRefreshRate() int {
165 170
166 cret := xMonitorGetRefreshRate(x.GoPointer())171 cret := xMonitorGetRefreshRate(x.GoPointer())
172+
167 return cret173 return cret
168 }174 }
169 175
@@ -178,6 +184,7 @@ var xMonitorGetScale func(uintptr) float64
178 func (x *Monitor) GetScale() float64 {184 func (x *Monitor) GetScale() float64 {
179 185
180 cret := xMonitorGetScale(x.GoPointer())186 cret := xMonitorGetScale(x.GoPointer())
187+
181 return cret188 return cret
182 }189 }
183 190
@@ -195,6 +202,7 @@ var xMonitorGetScaleFactor func(uintptr) int
195 func (x *Monitor) GetScaleFactor() int {202 func (x *Monitor) GetScaleFactor() int {
196 203
197 cret := xMonitorGetScaleFactor(x.GoPointer())204 cret := xMonitorGetScaleFactor(x.GoPointer())
205+
198 return cret206 return cret
199 }207 }
200 208
@@ -205,6 +213,7 @@ var xMonitorGetSubpixelLayout func(uintptr) SubpixelLayout
205 func (x *Monitor) GetSubpixelLayout() SubpixelLayout {213 func (x *Monitor) GetSubpixelLayout() SubpixelLayout {
206 214
207 cret := xMonitorGetSubpixelLayout(x.GoPointer())215 cret := xMonitorGetSubpixelLayout(x.GoPointer())
216+
208 return cret217 return cret
209 }218 }
210 219
@@ -214,6 +223,7 @@ var xMonitorGetWidthMm func(uintptr) int
214 func (x *Monitor) GetWidthMm() int {223 func (x *Monitor) GetWidthMm() int {
215 224
216 cret := xMonitorGetWidthMm(x.GoPointer())225 cret := xMonitorGetWidthMm(x.GoPointer())
226+
217 return cret227 return cret
218 }228 }
219 229
@@ -227,6 +237,7 @@ var xMonitorIsValid func(uintptr) bool
227 func (x *Monitor) IsValid() bool {237 func (x *Monitor) IsValid() bool {
228 238
229 cret := xMonitorIsValid(x.GoPointer())239 cret := xMonitorIsValid(x.GoPointer())
240+
230 return cret241 return cret
231 }242 }
232 243
M v4/gdk/gdkpaintable.go +4 -0
@@ -361,6 +361,7 @@ func (x *PaintableBase) GetCurrentImage() *PaintableBase {
361 func (x *PaintableBase) GetFlags() PaintableFlags {361 func (x *PaintableBase) GetFlags() PaintableFlags {
362 362
363 cret := XGdkPaintableGetFlags(x.GoPointer())363 cret := XGdkPaintableGetFlags(x.GoPointer())
364+
364 return cret365 return cret
365 }366 }
366 367
@@ -384,6 +385,7 @@ func (x *PaintableBase) GetFlags() PaintableFlags {
384 func (x *PaintableBase) GetIntrinsicAspectRatio() float64 {385 func (x *PaintableBase) GetIntrinsicAspectRatio() float64 {
385 386
386 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())387 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
388+
387 return cret389 return cret
388 }390 }
389 391
@@ -400,6 +402,7 @@ func (x *PaintableBase) GetIntrinsicAspectRatio() float64 {
400 func (x *PaintableBase) GetIntrinsicHeight() int {402 func (x *PaintableBase) GetIntrinsicHeight() int {
401 403
402 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())404 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
405+
403 return cret406 return cret
404 }407 }
405 408
@@ -416,6 +419,7 @@ func (x *PaintableBase) GetIntrinsicHeight() int {
416 func (x *PaintableBase) GetIntrinsicWidth() int {419 func (x *PaintableBase) GetIntrinsicWidth() int {
417 420
418 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())421 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
422+
419 return cret423 return cret
420 }424 }
421 425
M v4/gdk/gdkpango.go +2 -0
@@ -23,6 +23,7 @@ var xPangoLayoutGetClipRegion func(uintptr, int, int, int, int) *cairo.Region
23 func PangoLayoutGetClipRegion(LayoutVar *pango.Layout, XOriginVar int, YOriginVar int, IndexRangesVar int, NRangesVar int) *cairo.Region {23 func PangoLayoutGetClipRegion(LayoutVar *pango.Layout, XOriginVar int, YOriginVar int, IndexRangesVar int, NRangesVar int) *cairo.Region {
24 24
25 cret := xPangoLayoutGetClipRegion(LayoutVar.GoPointer(), XOriginVar, YOriginVar, IndexRangesVar, NRangesVar)25 cret := xPangoLayoutGetClipRegion(LayoutVar.GoPointer(), XOriginVar, YOriginVar, IndexRangesVar, NRangesVar)
26+
26 return cret27 return cret
27 }28 }
28 29
@@ -46,6 +47,7 @@ var xPangoLayoutLineGetClipRegion func(*pango.LayoutLine, int, int, []int, int)
46 func PangoLayoutLineGetClipRegion(LineVar *pango.LayoutLine, XOriginVar int, YOriginVar int, IndexRangesVar []int, NRangesVar int) *cairo.Region {47 func PangoLayoutLineGetClipRegion(LineVar *pango.LayoutLine, XOriginVar int, YOriginVar int, IndexRangesVar []int, NRangesVar int) *cairo.Region {
47 48
48 cret := xPangoLayoutLineGetClipRegion(LineVar, XOriginVar, YOriginVar, IndexRangesVar, NRangesVar)49 cret := xPangoLayoutLineGetClipRegion(LineVar, XOriginVar, YOriginVar, IndexRangesVar, NRangesVar)
50+
49 return cret51 return cret
50 }52 }
51 53
M v4/gdk/gdkpopup.go +6 -0
@@ -63,6 +63,7 @@ func (x *PopupBase) SetGoPointer(ptr uintptr) {
63 func (x *PopupBase) GetAutohide() bool {63 func (x *PopupBase) GetAutohide() bool {
64 64
65 cret := XGdkPopupGetAutohide(x.GoPointer())65 cret := XGdkPopupGetAutohide(x.GoPointer())
66+
66 return cret67 return cret
67 }68 }
68 69
@@ -85,6 +86,7 @@ func (x *PopupBase) GetParent() *Surface {
85 func (x *PopupBase) GetPositionX() int {86 func (x *PopupBase) GetPositionX() int {
86 87
87 cret := XGdkPopupGetPositionX(x.GoPointer())88 cret := XGdkPopupGetPositionX(x.GoPointer())
89+
88 return cret90 return cret
89 }91 }
90 92
@@ -92,6 +94,7 @@ func (x *PopupBase) GetPositionX() int {
92 func (x *PopupBase) GetPositionY() int {94 func (x *PopupBase) GetPositionY() int {
93 95
94 cret := XGdkPopupGetPositionY(x.GoPointer())96 cret := XGdkPopupGetPositionY(x.GoPointer())
97+
95 return cret98 return cret
96 }99 }
97 100
@@ -102,6 +105,7 @@ func (x *PopupBase) GetPositionY() int {
102 func (x *PopupBase) GetRectAnchor() Gravity {105 func (x *PopupBase) GetRectAnchor() Gravity {
103 106
104 cret := XGdkPopupGetRectAnchor(x.GoPointer())107 cret := XGdkPopupGetRectAnchor(x.GoPointer())
108+
105 return cret109 return cret
106 }110 }
107 111
@@ -112,6 +116,7 @@ func (x *PopupBase) GetRectAnchor() Gravity {
112 func (x *PopupBase) GetSurfaceAnchor() Gravity {116 func (x *PopupBase) GetSurfaceAnchor() Gravity {
113 117
114 cret := XGdkPopupGetSurfaceAnchor(x.GoPointer())118 cret := XGdkPopupGetSurfaceAnchor(x.GoPointer())
119+
115 return cret120 return cret
116 }121 }
117 122
@@ -133,6 +138,7 @@ func (x *PopupBase) GetSurfaceAnchor() Gravity {
133 func (x *PopupBase) Present(WidthVar int, HeightVar int, LayoutVar *PopupLayout) bool {138 func (x *PopupBase) Present(WidthVar int, HeightVar int, LayoutVar *PopupLayout) bool {
134 139
135 cret := XGdkPopupPresent(x.GoPointer(), WidthVar, HeightVar, LayoutVar)140 cret := XGdkPopupPresent(x.GoPointer(), WidthVar, HeightVar, LayoutVar)
141+
136 return cret142 return cret
137 }143 }
138 144
M v4/gdk/gdkpopuplayout.go +8 -0
@@ -74,6 +74,7 @@ var xNewPopupLayout func(*Rectangle, Gravity, Gravity) *PopupLayout
74 func NewPopupLayout(AnchorRectVar *Rectangle, RectAnchorVar Gravity, SurfaceAnchorVar Gravity) *PopupLayout {74 func NewPopupLayout(AnchorRectVar *Rectangle, RectAnchorVar Gravity, SurfaceAnchorVar Gravity) *PopupLayout {
75 75
76 cret := xNewPopupLayout(AnchorRectVar, RectAnchorVar, SurfaceAnchorVar)76 cret := xNewPopupLayout(AnchorRectVar, RectAnchorVar, SurfaceAnchorVar)
77+
77 return cret78 return cret
78 }79 }
79 80
@@ -83,6 +84,7 @@ var xPopupLayoutCopy func(uintptr) *PopupLayout
83 func (x *PopupLayout) Copy() *PopupLayout {84 func (x *PopupLayout) Copy() *PopupLayout {
84 85
85 cret := xPopupLayoutCopy(x.GoPointer())86 cret := xPopupLayoutCopy(x.GoPointer())
87+
86 return cret88 return cret
87 }89 }
88 90
@@ -92,6 +94,7 @@ var xPopupLayoutEqual func(uintptr, *PopupLayout) bool
92 func (x *PopupLayout) Equal(OtherVar *PopupLayout) bool {94 func (x *PopupLayout) Equal(OtherVar *PopupLayout) bool {
93 95
94 cret := xPopupLayoutEqual(x.GoPointer(), OtherVar)96 cret := xPopupLayoutEqual(x.GoPointer(), OtherVar)
97+
95 return cret98 return cret
96 }99 }
97 100
@@ -101,6 +104,7 @@ var xPopupLayoutGetAnchorHints func(uintptr) AnchorHints
101 func (x *PopupLayout) GetAnchorHints() AnchorHints {104 func (x *PopupLayout) GetAnchorHints() AnchorHints {
102 105
103 cret := xPopupLayoutGetAnchorHints(x.GoPointer())106 cret := xPopupLayoutGetAnchorHints(x.GoPointer())
107+
104 return cret108 return cret
105 }109 }
106 110
@@ -110,6 +114,7 @@ var xPopupLayoutGetAnchorRect func(uintptr) *Rectangle
110 func (x *PopupLayout) GetAnchorRect() *Rectangle {114 func (x *PopupLayout) GetAnchorRect() *Rectangle {
111 115
112 cret := xPopupLayoutGetAnchorRect(x.GoPointer())116 cret := xPopupLayoutGetAnchorRect(x.GoPointer())
117+
113 return cret118 return cret
114 }119 }
115 120
@@ -128,6 +133,7 @@ var xPopupLayoutGetRectAnchor func(uintptr) Gravity
128 func (x *PopupLayout) GetRectAnchor() Gravity {133 func (x *PopupLayout) GetRectAnchor() Gravity {
129 134
130 cret := xPopupLayoutGetRectAnchor(x.GoPointer())135 cret := xPopupLayoutGetRectAnchor(x.GoPointer())
136+
131 return cret137 return cret
132 }138 }
133 139
@@ -146,6 +152,7 @@ var xPopupLayoutGetSurfaceAnchor func(uintptr) Gravity
146 func (x *PopupLayout) GetSurfaceAnchor() Gravity {152 func (x *PopupLayout) GetSurfaceAnchor() Gravity {
147 153
148 cret := xPopupLayoutGetSurfaceAnchor(x.GoPointer())154 cret := xPopupLayoutGetSurfaceAnchor(x.GoPointer())
155+
149 return cret156 return cret
150 }157 }
151 158
@@ -155,6 +162,7 @@ var xPopupLayoutRef func(uintptr) *PopupLayout
155 func (x *PopupLayout) Ref() *PopupLayout {162 func (x *PopupLayout) Ref() *PopupLayout {
156 163
157 cret := xPopupLayoutRef(x.GoPointer())164 cret := xPopupLayoutRef(x.GoPointer())
165+
158 return cret166 return cret
159 }167 }
160 168
M v4/gdk/gdkrgba.go +7 -0
@@ -48,6 +48,7 @@ var xRGBACopy func(uintptr) *RGBA
48 func (x *RGBA) Copy() *RGBA {48 func (x *RGBA) Copy() *RGBA {
49 49
50 cret := xRGBACopy(x.GoPointer())50 cret := xRGBACopy(x.GoPointer())
51+
51 return cret52 return cret
52 }53 }
53 54
@@ -57,6 +58,7 @@ var xRGBAEqual func(uintptr, uintptr) bool
57 func (x *RGBA) Equal(P2Var uintptr) bool {58 func (x *RGBA) Equal(P2Var uintptr) bool {
58 59
59 cret := xRGBAEqual(x.GoPointer(), P2Var)60 cret := xRGBAEqual(x.GoPointer(), P2Var)
61+
60 return cret62 return cret
61 }63 }
62 64
@@ -76,6 +78,7 @@ var xRGBAHash func(uintptr) uint
76 func (x *RGBA) Hash() uint {78 func (x *RGBA) Hash() uint {
77 79
78 cret := xRGBAHash(x.GoPointer())80 cret := xRGBAHash(x.GoPointer())
81+
79 return cret82 return cret
80 }83 }
81 84
@@ -87,6 +90,7 @@ var xRGBAIsClear func(uintptr) bool
87 func (x *RGBA) IsClear() bool {90 func (x *RGBA) IsClear() bool {
88 91
89 cret := xRGBAIsClear(x.GoPointer())92 cret := xRGBAIsClear(x.GoPointer())
93+
90 return cret94 return cret
91 }95 }
92 96
@@ -99,6 +103,7 @@ var xRGBAIsOpaque func(uintptr) bool
99 func (x *RGBA) IsOpaque() bool {103 func (x *RGBA) IsOpaque() bool {
100 104
101 cret := xRGBAIsOpaque(x.GoPointer())105 cret := xRGBAIsOpaque(x.GoPointer())
106+
102 return cret107 return cret
103 }108 }
104 109
@@ -127,6 +132,7 @@ var xRGBAParse func(uintptr, string) bool
127 func (x *RGBA) Parse(SpecVar string) bool {132 func (x *RGBA) Parse(SpecVar string) bool {
128 133
129 cret := xRGBAParse(x.GoPointer(), SpecVar)134 cret := xRGBAParse(x.GoPointer(), SpecVar)
135+
130 return cret136 return cret
131 }137 }
132 138
@@ -148,6 +154,7 @@ var xRGBAToString func(uintptr) string
148 func (x *RGBA) ToString() string {154 func (x *RGBA) ToString() string {
149 155
150 cret := xRGBAToString(x.GoPointer())156 cret := xRGBAToString(x.GoPointer())
157+
151 return cret158 return cret
152 }159 }
153 160
M v4/gdk/gdkseat.go +3 -0
@@ -63,6 +63,7 @@ var xSeatGetCapabilities func(uintptr) SeatCapabilities
63 func (x *Seat) GetCapabilities() SeatCapabilities {63 func (x *Seat) GetCapabilities() SeatCapabilities {
64 64
65 cret := xSeatGetCapabilities(x.GoPointer())65 cret := xSeatGetCapabilities(x.GoPointer())
66+
66 return cret67 return cret
67 }68 }
68 69
@@ -72,6 +73,7 @@ var xSeatGetDevices func(uintptr, SeatCapabilities) *glib.List
72 func (x *Seat) GetDevices(CapabilitiesVar SeatCapabilities) *glib.List {73 func (x *Seat) GetDevices(CapabilitiesVar SeatCapabilities) *glib.List {
73 74
74 cret := xSeatGetDevices(x.GoPointer(), CapabilitiesVar)75 cret := xSeatGetDevices(x.GoPointer(), CapabilitiesVar)
76+
75 return cret77 return cret
76 }78 }
77 79
@@ -132,6 +134,7 @@ var xSeatGetTools func(uintptr) *glib.List
132 func (x *Seat) GetTools() *glib.List {134 func (x *Seat) GetTools() *glib.List {
133 135
134 cret := xSeatGetTools(x.GoPointer())136 cret := xSeatGetTools(x.GoPointer())
137+
135 return cret138 return cret
136 }139 }
137 140
M v4/gdk/gdksurface.go +9 -0
@@ -155,6 +155,7 @@ var xSurfaceCreateSimilarSurface func(uintptr, cairo.Content, int, int) *cairo.S
155 func (x *Surface) CreateSimilarSurface(ContentVar cairo.Content, WidthVar int, HeightVar int) *cairo.Surface {155 func (x *Surface) CreateSimilarSurface(ContentVar cairo.Content, WidthVar int, HeightVar int) *cairo.Surface {
156 156
157 cret := xSurfaceCreateSimilarSurface(x.GoPointer(), ContentVar, WidthVar, HeightVar)157 cret := xSurfaceCreateSimilarSurface(x.GoPointer(), ContentVar, WidthVar, HeightVar)
158+
158 return cret159 return cret
159 }160 }
160 161
@@ -251,6 +252,7 @@ var xSurfaceGetDevicePosition func(uintptr, uintptr, *float64, *float64, *Modifi
251 func (x *Surface) GetDevicePosition(DeviceVar *Device, XVar *float64, YVar *float64, MaskVar *ModifierType) bool {252 func (x *Surface) GetDevicePosition(DeviceVar *Device, XVar *float64, YVar *float64, MaskVar *ModifierType) bool {
252 253
253 cret := xSurfaceGetDevicePosition(x.GoPointer(), DeviceVar.GoPointer(), XVar, YVar, MaskVar)254 cret := xSurfaceGetDevicePosition(x.GoPointer(), DeviceVar.GoPointer(), XVar, YVar, MaskVar)
255+
254 return cret256 return cret
255 }257 }
256 258
@@ -300,6 +302,7 @@ var xSurfaceGetHeight func(uintptr) int
300 func (x *Surface) GetHeight() int {302 func (x *Surface) GetHeight() int {
301 303
302 cret := xSurfaceGetHeight(x.GoPointer())304 cret := xSurfaceGetHeight(x.GoPointer())
305+
303 return cret306 return cret
304 }307 }
305 308
@@ -312,6 +315,7 @@ var xSurfaceGetMapped func(uintptr) bool
312 func (x *Surface) GetMapped() bool {315 func (x *Surface) GetMapped() bool {
313 316
314 cret := xSurfaceGetMapped(x.GoPointer())317 cret := xSurfaceGetMapped(x.GoPointer())
318+
315 return cret319 return cret
316 }320 }
317 321
@@ -331,6 +335,7 @@ var xSurfaceGetScale func(uintptr) float64
331 func (x *Surface) GetScale() float64 {335 func (x *Surface) GetScale() float64 {
332 336
333 cret := xSurfaceGetScale(x.GoPointer())337 cret := xSurfaceGetScale(x.GoPointer())
338+
334 return cret339 return cret
335 }340 }
336 341
@@ -350,6 +355,7 @@ var xSurfaceGetScaleFactor func(uintptr) int
350 func (x *Surface) GetScaleFactor() int {355 func (x *Surface) GetScaleFactor() int {
351 356
352 cret := xSurfaceGetScaleFactor(x.GoPointer())357 cret := xSurfaceGetScaleFactor(x.GoPointer())
358+
353 return cret359 return cret
354 }360 }
355 361
@@ -362,6 +368,7 @@ var xSurfaceGetWidth func(uintptr) int
362 func (x *Surface) GetWidth() int {368 func (x *Surface) GetWidth() int {
363 369
364 cret := xSurfaceGetWidth(x.GoPointer())370 cret := xSurfaceGetWidth(x.GoPointer())
371+
365 return cret372 return cret
366 }373 }
367 374
@@ -385,6 +392,7 @@ var xSurfaceIsDestroyed func(uintptr) bool
385 func (x *Surface) IsDestroyed() bool {392 func (x *Surface) IsDestroyed() bool {
386 393
387 cret := xSurfaceIsDestroyed(x.GoPointer())394 cret := xSurfaceIsDestroyed(x.GoPointer())
395+
388 return cret396 return cret
389 }397 }
390 398
@@ -497,6 +505,7 @@ var xSurfaceTranslateCoordinates func(uintptr, uintptr, float64, float64) bool
497 func (x *Surface) TranslateCoordinates(ToVar *Surface, XVar float64, YVar float64) bool {505 func (x *Surface) TranslateCoordinates(ToVar *Surface, XVar float64, YVar float64) bool {
498 506
499 cret := xSurfaceTranslateCoordinates(x.GoPointer(), ToVar.GoPointer(), XVar, YVar)507 cret := xSurfaceTranslateCoordinates(x.GoPointer(), ToVar.GoPointer(), XVar, YVar)
508+
500 return cret509 return cret
501 }510 }
502 511
M v4/gdk/gdktexture.go +17 -0
@@ -50,6 +50,7 @@ var xTextureErrorQuark func() glib.Quark
50 func TextureErrorQuark() glib.Quark {50 func TextureErrorQuark() glib.Quark {
51 51
52 cret := xTextureErrorQuark()52 cret := xTextureErrorQuark()
53+
53 return cret54 return cret
54 }55 }
55 56
@@ -291,6 +292,7 @@ var xTextureGetColorState func(uintptr) *ColorState
291 func (x *Texture) GetColorState() *ColorState {292 func (x *Texture) GetColorState() *ColorState {
292 293
293 cret := xTextureGetColorState(x.GoPointer())294 cret := xTextureGetColorState(x.GoPointer())
295+
294 return cret296 return cret
295 }297 }
296 298
@@ -308,6 +310,7 @@ var xTextureGetFormat func(uintptr) MemoryFormat
308 func (x *Texture) GetFormat() MemoryFormat {310 func (x *Texture) GetFormat() MemoryFormat {
309 311
310 cret := xTextureGetFormat(x.GoPointer())312 cret := xTextureGetFormat(x.GoPointer())
313+
311 return cret314 return cret
312 }315 }
313 316
@@ -317,6 +320,7 @@ var xTextureGetHeight func(uintptr) int
317 func (x *Texture) GetHeight() int {320 func (x *Texture) GetHeight() int {
318 321
319 cret := xTextureGetHeight(x.GoPointer())322 cret := xTextureGetHeight(x.GoPointer())
323+
320 return cret324 return cret
321 }325 }
322 326
@@ -326,6 +330,7 @@ var xTextureGetWidth func(uintptr) int
326 func (x *Texture) GetWidth() int {330 func (x *Texture) GetWidth() int {
327 331
328 cret := xTextureGetWidth(x.GoPointer())332 cret := xTextureGetWidth(x.GoPointer())
333+
329 return cret334 return cret
330 }335 }
331 336
@@ -341,6 +346,7 @@ var xTextureSaveToPng func(uintptr, string) bool
341 func (x *Texture) SaveToPng(FilenameVar string) bool {346 func (x *Texture) SaveToPng(FilenameVar string) bool {
342 347
343 cret := xTextureSaveToPng(x.GoPointer(), FilenameVar)348 cret := xTextureSaveToPng(x.GoPointer(), FilenameVar)
349+
344 return cret350 return cret
345 }351 }
346 352
@@ -363,6 +369,7 @@ var xTextureSaveToPngBytes func(uintptr) *glib.Bytes
363 func (x *Texture) SaveToPngBytes() *glib.Bytes {369 func (x *Texture) SaveToPngBytes() *glib.Bytes {
364 370
365 cret := xTextureSaveToPngBytes(x.GoPointer())371 cret := xTextureSaveToPngBytes(x.GoPointer())
372+
366 return cret373 return cret
367 }374 }
368 375
@@ -374,6 +381,7 @@ var xTextureSaveToTiff func(uintptr, string) bool
374 func (x *Texture) SaveToTiff(FilenameVar string) bool {381 func (x *Texture) SaveToTiff(FilenameVar string) bool {
375 382
376 cret := xTextureSaveToTiff(x.GoPointer(), FilenameVar)383 cret := xTextureSaveToTiff(x.GoPointer(), FilenameVar)
384+
377 return cret385 return cret
378 }386 }
379 387
@@ -394,6 +402,7 @@ var xTextureSaveToTiffBytes func(uintptr) *glib.Bytes
394 func (x *Texture) SaveToTiffBytes() *glib.Bytes {402 func (x *Texture) SaveToTiffBytes() *glib.Bytes {
395 403
396 cret := xTextureSaveToTiffBytes(x.GoPointer())404 cret := xTextureSaveToTiffBytes(x.GoPointer())
405+
397 return cret406 return cret
398 }407 }
399 408
@@ -502,6 +511,7 @@ func (x *Texture) GetCurrentImage() *PaintableBase {
502 func (x *Texture) GetFlags() PaintableFlags {511 func (x *Texture) GetFlags() PaintableFlags {
503 512
504 cret := XGdkPaintableGetFlags(x.GoPointer())513 cret := XGdkPaintableGetFlags(x.GoPointer())
514+
505 return cret515 return cret
506 }516 }
507 517
@@ -525,6 +535,7 @@ func (x *Texture) GetFlags() PaintableFlags {
525 func (x *Texture) GetIntrinsicAspectRatio() float64 {535 func (x *Texture) GetIntrinsicAspectRatio() float64 {
526 536
527 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())537 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
538+
528 return cret539 return cret
529 }540 }
530 541
@@ -541,6 +552,7 @@ func (x *Texture) GetIntrinsicAspectRatio() float64 {
541 func (x *Texture) GetIntrinsicHeight() int {552 func (x *Texture) GetIntrinsicHeight() int {
542 553
543 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())554 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
555+
544 return cret556 return cret
545 }557 }
546 558
@@ -557,6 +569,7 @@ func (x *Texture) GetIntrinsicHeight() int {
557 func (x *Texture) GetIntrinsicWidth() int {569 func (x *Texture) GetIntrinsicWidth() int {
558 570
559 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())571 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
572+
560 return cret573 return cret
561 }574 }
562 575
@@ -607,6 +620,7 @@ func (x *Texture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, HeightVar fl
607 func (x *Texture) Equal(Icon2Var gio.Icon) bool {620 func (x *Texture) Equal(Icon2Var gio.Icon) bool {
608 621
609 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())622 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
623+
610 return cret624 return cret
611 }625 }
612 626
@@ -614,6 +628,7 @@ func (x *Texture) Equal(Icon2Var gio.Icon) bool {
614 func (x *Texture) Hash() uint {628 func (x *Texture) Hash() uint {
615 629
616 cret := gio.XGIconHash(x.GoPointer())630 cret := gio.XGIconHash(x.GoPointer())
631+
617 return cret632 return cret
618 }633 }
619 634
@@ -625,6 +640,7 @@ func (x *Texture) Hash() uint {
625 func (x *Texture) Serialize() *glib.Variant {640 func (x *Texture) Serialize() *glib.Variant {
626 641
627 cret := gio.XGIconSerialize(x.GoPointer())642 cret := gio.XGIconSerialize(x.GoPointer())
643+
628 return cret644 return cret
629 }645 }
630 646
@@ -647,6 +663,7 @@ func (x *Texture) Serialize() *glib.Variant {
647 func (x *Texture) ToString() string {663 func (x *Texture) ToString() string {
648 664
649 cret := gio.XGIconToString(x.GoPointer())665 cret := gio.XGIconToString(x.GoPointer())
666+
650 return cret667 return cret
651 }668 }
652 669
M v4/gdk/gdktoplevel.go +8 -0
@@ -106,6 +106,7 @@ func (x *ToplevelBase) Focus(TimestampVar uint32) {
106 func (x *ToplevelBase) GetCapabilities() ToplevelCapabilities {106 func (x *ToplevelBase) GetCapabilities() ToplevelCapabilities {
107 107
108 cret := XGdkToplevelGetCapabilities(x.GoPointer())108 cret := XGdkToplevelGetCapabilities(x.GoPointer())
109+
109 return cret110 return cret
110 }111 }
111 112
@@ -114,6 +115,7 @@ func (x *ToplevelBase) GetCapabilities() ToplevelCapabilities {
114 func (x *ToplevelBase) GetGravity() Gravity {115 func (x *ToplevelBase) GetGravity() Gravity {
115 116
116 cret := XGdkToplevelGetGravity(x.GoPointer())117 cret := XGdkToplevelGetGravity(x.GoPointer())
118+
117 return cret119 return cret
118 }120 }
119 121
@@ -122,6 +124,7 @@ func (x *ToplevelBase) GetGravity() Gravity {
122 func (x *ToplevelBase) GetState() ToplevelState {124 func (x *ToplevelBase) GetState() ToplevelState {
123 125
124 cret := XGdkToplevelGetState(x.GoPointer())126 cret := XGdkToplevelGetState(x.GoPointer())
127+
125 return cret128 return cret
126 }129 }
127 130
@@ -158,6 +161,7 @@ func (x *ToplevelBase) InhibitSystemShortcuts(EventVar *Event) {
158 func (x *ToplevelBase) Lower() bool {161 func (x *ToplevelBase) Lower() bool {
159 162
160 cret := XGdkToplevelLower(x.GoPointer())163 cret := XGdkToplevelLower(x.GoPointer())
164+
161 return cret165 return cret
162 }166 }
163 167
@@ -167,6 +171,7 @@ func (x *ToplevelBase) Lower() bool {
167 func (x *ToplevelBase) Minimize() bool {171 func (x *ToplevelBase) Minimize() bool {
168 172
169 cret := XGdkToplevelMinimize(x.GoPointer())173 cret := XGdkToplevelMinimize(x.GoPointer())
174+
170 return cret175 return cret
171 }176 }
172 177
@@ -301,6 +306,7 @@ func (x *ToplevelBase) SetTransientFor(ParentVar *Surface) {
301 func (x *ToplevelBase) ShowWindowMenu(EventVar *Event) bool {306 func (x *ToplevelBase) ShowWindowMenu(EventVar *Event) bool {
302 307
303 cret := XGdkToplevelShowWindowMenu(x.GoPointer(), EventVar.GoPointer())308 cret := XGdkToplevelShowWindowMenu(x.GoPointer(), EventVar.GoPointer())
309+
304 return cret310 return cret
305 }311 }
306 312
@@ -309,6 +315,7 @@ func (x *ToplevelBase) ShowWindowMenu(EventVar *Event) bool {
309 func (x *ToplevelBase) SupportsEdgeConstraints() bool {315 func (x *ToplevelBase) SupportsEdgeConstraints() bool {
310 316
311 cret := XGdkToplevelSupportsEdgeConstraints(x.GoPointer())317 cret := XGdkToplevelSupportsEdgeConstraints(x.GoPointer())
318+
312 return cret319 return cret
313 }320 }
314 321
@@ -316,6 +323,7 @@ func (x *ToplevelBase) SupportsEdgeConstraints() bool {
316 func (x *ToplevelBase) TitlebarGesture(GestureVar TitlebarGesture) bool {323 func (x *ToplevelBase) TitlebarGesture(GestureVar TitlebarGesture) bool {
317 324
318 cret := XGdkToplevelTitlebarGesture(x.GoPointer(), GestureVar)325 cret := XGdkToplevelTitlebarGesture(x.GoPointer(), GestureVar)
326+
319 return cret327 return cret
320 }328 }
321 329
M v4/gdk/gdktoplevellayout.go +7 -0
@@ -46,6 +46,7 @@ var xNewToplevelLayout func() *ToplevelLayout
46 func NewToplevelLayout() *ToplevelLayout {46 func NewToplevelLayout() *ToplevelLayout {
47 47
48 cret := xNewToplevelLayout()48 cret := xNewToplevelLayout()
49+
49 return cret50 return cret
50 }51 }
51 52
@@ -55,6 +56,7 @@ var xToplevelLayoutCopy func(uintptr) *ToplevelLayout
55 func (x *ToplevelLayout) Copy() *ToplevelLayout {56 func (x *ToplevelLayout) Copy() *ToplevelLayout {
56 57
57 cret := xToplevelLayoutCopy(x.GoPointer())58 cret := xToplevelLayoutCopy(x.GoPointer())
59+
58 return cret60 return cret
59 }61 }
60 62
@@ -64,6 +66,7 @@ var xToplevelLayoutEqual func(uintptr, *ToplevelLayout) bool
64 func (x *ToplevelLayout) Equal(OtherVar *ToplevelLayout) bool {66 func (x *ToplevelLayout) Equal(OtherVar *ToplevelLayout) bool {
65 67
66 cret := xToplevelLayoutEqual(x.GoPointer(), OtherVar)68 cret := xToplevelLayoutEqual(x.GoPointer(), OtherVar)
69+
67 return cret70 return cret
68 }71 }
69 72
@@ -75,6 +78,7 @@ var xToplevelLayoutGetFullscreen func(uintptr, *bool) bool
75 func (x *ToplevelLayout) GetFullscreen(FullscreenVar *bool) bool {78 func (x *ToplevelLayout) GetFullscreen(FullscreenVar *bool) bool {
76 79
77 cret := xToplevelLayoutGetFullscreen(x.GoPointer(), FullscreenVar)80 cret := xToplevelLayoutGetFullscreen(x.GoPointer(), FullscreenVar)
81+
78 return cret82 return cret
79 }83 }
80 84
@@ -104,6 +108,7 @@ var xToplevelLayoutGetMaximized func(uintptr, *bool) bool
104 func (x *ToplevelLayout) GetMaximized(MaximizedVar *bool) bool {108 func (x *ToplevelLayout) GetMaximized(MaximizedVar *bool) bool {
105 109
106 cret := xToplevelLayoutGetMaximized(x.GoPointer(), MaximizedVar)110 cret := xToplevelLayoutGetMaximized(x.GoPointer(), MaximizedVar)
111+
107 return cret112 return cret
108 }113 }
109 114
@@ -114,6 +119,7 @@ var xToplevelLayoutGetResizable func(uintptr) bool
114 func (x *ToplevelLayout) GetResizable() bool {119 func (x *ToplevelLayout) GetResizable() bool {
115 120
116 cret := xToplevelLayoutGetResizable(x.GoPointer())121 cret := xToplevelLayoutGetResizable(x.GoPointer())
122+
117 return cret123 return cret
118 }124 }
119 125
@@ -123,6 +129,7 @@ var xToplevelLayoutRef func(uintptr) *ToplevelLayout
123 func (x *ToplevelLayout) Ref() *ToplevelLayout {129 func (x *ToplevelLayout) Ref() *ToplevelLayout {
124 130
125 cret := xToplevelLayoutRef(x.GoPointer())131 cret := xToplevelLayoutRef(x.GoPointer())
132+
126 return cret133 return cret
127 }134 }
128 135
M v4/gdk/gdktypes.go +33 -0
@@ -65,6 +65,7 @@ var xColorStateEqual func(uintptr, *ColorState) bool
65 func (x *ColorState) Equal(OtherVar *ColorState) bool {65 func (x *ColorState) Equal(OtherVar *ColorState) bool {
66 66
67 cret := xColorStateEqual(x.GoPointer(), OtherVar)67 cret := xColorStateEqual(x.GoPointer(), OtherVar)
68+
68 return cret69 return cret
69 }70 }
70 71
@@ -77,6 +78,7 @@ var xColorStateEquivalent func(uintptr, *ColorState) bool
77 func (x *ColorState) Equivalent(OtherVar *ColorState) bool {78 func (x *ColorState) Equivalent(OtherVar *ColorState) bool {
78 79
79 cret := xColorStateEquivalent(x.GoPointer(), OtherVar)80 cret := xColorStateEquivalent(x.GoPointer(), OtherVar)
81+
80 return cret82 return cret
81 }83 }
82 84
@@ -86,6 +88,7 @@ var xColorStateRef func(uintptr) *ColorState
86 func (x *ColorState) Ref() *ColorState {88 func (x *ColorState) Ref() *ColorState {
87 89
88 cret := xColorStateRef(x.GoPointer())90 cret := xColorStateRef(x.GoPointer())
91+
89 return cret92 return cret
90 }93 }
91 94
@@ -156,6 +159,7 @@ var xNewContentFormats func([]string, uint) *ContentFormats
156 func NewContentFormats(MimeTypesVar []string, NMimeTypesVar uint) *ContentFormats {159 func NewContentFormats(MimeTypesVar []string, NMimeTypesVar uint) *ContentFormats {
157 160
158 cret := xNewContentFormats(MimeTypesVar, NMimeTypesVar)161 cret := xNewContentFormats(MimeTypesVar, NMimeTypesVar)
162+
159 return cret163 return cret
160 }164 }
161 165
@@ -165,6 +169,7 @@ var xNewContentFormatsForGtype func(types.GType) *ContentFormats
165 func NewContentFormatsForGtype(TypeVar types.GType) *ContentFormats {169 func NewContentFormatsForGtype(TypeVar types.GType) *ContentFormats {
166 170
167 cret := xNewContentFormatsForGtype(TypeVar)171 cret := xNewContentFormatsForGtype(TypeVar)
172+
168 return cret173 return cret
169 }174 }
170 175
@@ -174,6 +179,7 @@ var xContentFormatsContainGtype func(uintptr, types.GType) bool
174 func (x *ContentFormats) ContainGtype(TypeVar types.GType) bool {179 func (x *ContentFormats) ContainGtype(TypeVar types.GType) bool {
175 180
176 cret := xContentFormatsContainGtype(x.GoPointer(), TypeVar)181 cret := xContentFormatsContainGtype(x.GoPointer(), TypeVar)
182+
177 return cret183 return cret
178 }184 }
179 185
@@ -183,6 +189,7 @@ var xContentFormatsContainMimeType func(uintptr, string) bool
183 func (x *ContentFormats) ContainMimeType(MimeTypeVar string) bool {189 func (x *ContentFormats) ContainMimeType(MimeTypeVar string) bool {
184 190
185 cret := xContentFormatsContainMimeType(x.GoPointer(), MimeTypeVar)191 cret := xContentFormatsContainMimeType(x.GoPointer(), MimeTypeVar)
192+
186 return cret193 return cret
187 }194 }
188 195
@@ -195,6 +202,7 @@ var xContentFormatsGetGtypes func(uintptr, *uint) uintptr
195 func (x *ContentFormats) GetGtypes(NGtypesVar *uint) uintptr {202 func (x *ContentFormats) GetGtypes(NGtypesVar *uint) uintptr {
196 203
197 cret := xContentFormatsGetGtypes(x.GoPointer(), NGtypesVar)204 cret := xContentFormatsGetGtypes(x.GoPointer(), NGtypesVar)
205+
198 return cret206 return cret
199 }207 }
200 208
@@ -207,6 +215,7 @@ var xContentFormatsGetMimeTypes func(uintptr, *uint) []string
207 func (x *ContentFormats) GetMimeTypes(NMimeTypesVar *uint) []string {215 func (x *ContentFormats) GetMimeTypes(NMimeTypesVar *uint) []string {
208 216
209 cret := xContentFormatsGetMimeTypes(x.GoPointer(), NMimeTypesVar)217 cret := xContentFormatsGetMimeTypes(x.GoPointer(), NMimeTypesVar)
218+
210 return cret219 return cret
211 }220 }
212 221
@@ -216,6 +225,7 @@ var xContentFormatsIsEmpty func(uintptr) bool
216 func (x *ContentFormats) IsEmpty() bool {225 func (x *ContentFormats) IsEmpty() bool {
217 226
218 cret := xContentFormatsIsEmpty(x.GoPointer())227 cret := xContentFormatsIsEmpty(x.GoPointer())
228+
219 return cret229 return cret
220 }230 }
221 231
@@ -225,6 +235,7 @@ var xContentFormatsMatch func(uintptr, *ContentFormats) bool
225 func (x *ContentFormats) Match(SecondVar *ContentFormats) bool {235 func (x *ContentFormats) Match(SecondVar *ContentFormats) bool {
226 236
227 cret := xContentFormatsMatch(x.GoPointer(), SecondVar)237 cret := xContentFormatsMatch(x.GoPointer(), SecondVar)
238+
228 return cret239 return cret
229 }240 }
230 241
@@ -237,6 +248,7 @@ var xContentFormatsMatchGtype func(uintptr, *ContentFormats) types.GType
237 func (x *ContentFormats) MatchGtype(SecondVar *ContentFormats) types.GType {248 func (x *ContentFormats) MatchGtype(SecondVar *ContentFormats) types.GType {
238 249
239 cret := xContentFormatsMatchGtype(x.GoPointer(), SecondVar)250 cret := xContentFormatsMatchGtype(x.GoPointer(), SecondVar)
251+
240 return cret252 return cret
241 }253 }
242 254
@@ -249,6 +261,7 @@ var xContentFormatsMatchMimeType func(uintptr, *ContentFormats) string
249 func (x *ContentFormats) MatchMimeType(SecondVar *ContentFormats) string {261 func (x *ContentFormats) MatchMimeType(SecondVar *ContentFormats) string {
250 262
251 cret := xContentFormatsMatchMimeType(x.GoPointer(), SecondVar)263 cret := xContentFormatsMatchMimeType(x.GoPointer(), SecondVar)
264+
252 return cret265 return cret
253 }266 }
254 267
@@ -270,6 +283,7 @@ var xContentFormatsRef func(uintptr) *ContentFormats
270 func (x *ContentFormats) Ref() *ContentFormats {283 func (x *ContentFormats) Ref() *ContentFormats {
271 284
272 cret := xContentFormatsRef(x.GoPointer())285 cret := xContentFormatsRef(x.GoPointer())
286+
273 return cret287 return cret
274 }288 }
275 289
@@ -284,6 +298,7 @@ var xContentFormatsToString func(uintptr) string
284 func (x *ContentFormats) ToString() string {298 func (x *ContentFormats) ToString() string {
285 299
286 cret := xContentFormatsToString(x.GoPointer())300 cret := xContentFormatsToString(x.GoPointer())
301+
287 return cret302 return cret
288 }303 }
289 304
@@ -294,6 +309,7 @@ var xContentFormatsUnion func(uintptr, *ContentFormats) *ContentFormats
294 func (x *ContentFormats) Union(SecondVar *ContentFormats) *ContentFormats {309 func (x *ContentFormats) Union(SecondVar *ContentFormats) *ContentFormats {
295 310
296 cret := xContentFormatsUnion(x.GoPointer(), SecondVar)311 cret := xContentFormatsUnion(x.GoPointer(), SecondVar)
312+
297 return cret313 return cret
298 }314 }
299 315
@@ -304,6 +320,7 @@ var xContentFormatsUnionDeserializeGtypes func(uintptr) *ContentFormats
304 func (x *ContentFormats) UnionDeserializeGtypes() *ContentFormats {320 func (x *ContentFormats) UnionDeserializeGtypes() *ContentFormats {
305 321
306 cret := xContentFormatsUnionDeserializeGtypes(x.GoPointer())322 cret := xContentFormatsUnionDeserializeGtypes(x.GoPointer())
323+
307 return cret324 return cret
308 }325 }
309 326
@@ -314,6 +331,7 @@ var xContentFormatsUnionDeserializeMimeTypes func(uintptr) *ContentFormats
314 func (x *ContentFormats) UnionDeserializeMimeTypes() *ContentFormats {331 func (x *ContentFormats) UnionDeserializeMimeTypes() *ContentFormats {
315 332
316 cret := xContentFormatsUnionDeserializeMimeTypes(x.GoPointer())333 cret := xContentFormatsUnionDeserializeMimeTypes(x.GoPointer())
334+
317 return cret335 return cret
318 }336 }
319 337
@@ -324,6 +342,7 @@ var xContentFormatsUnionSerializeGtypes func(uintptr) *ContentFormats
324 func (x *ContentFormats) UnionSerializeGtypes() *ContentFormats {342 func (x *ContentFormats) UnionSerializeGtypes() *ContentFormats {
325 343
326 cret := xContentFormatsUnionSerializeGtypes(x.GoPointer())344 cret := xContentFormatsUnionSerializeGtypes(x.GoPointer())
345+
327 return cret346 return cret
328 }347 }
329 348
@@ -334,6 +353,7 @@ var xContentFormatsUnionSerializeMimeTypes func(uintptr) *ContentFormats
334 func (x *ContentFormats) UnionSerializeMimeTypes() *ContentFormats {353 func (x *ContentFormats) UnionSerializeMimeTypes() *ContentFormats {
335 354
336 cret := xContentFormatsUnionSerializeMimeTypes(x.GoPointer())355 cret := xContentFormatsUnionSerializeMimeTypes(x.GoPointer())
356+
337 return cret357 return cret
338 }358 }
339 359
@@ -387,6 +407,7 @@ var xDmabufFormatsContains func(uintptr, uint32, uint64) bool
387 func (x *DmabufFormats) Contains(FourccVar uint32, ModifierVar uint64) bool {407 func (x *DmabufFormats) Contains(FourccVar uint32, ModifierVar uint64) bool {
388 408
389 cret := xDmabufFormatsContains(x.GoPointer(), FourccVar, ModifierVar)409 cret := xDmabufFormatsContains(x.GoPointer(), FourccVar, ModifierVar)
410+
390 return cret411 return cret
391 }412 }
392 413
@@ -397,6 +418,7 @@ var xDmabufFormatsEqual func(uintptr, *DmabufFormats) bool
397 func (x *DmabufFormats) Equal(Formats2Var *DmabufFormats) bool {418 func (x *DmabufFormats) Equal(Formats2Var *DmabufFormats) bool {
398 419
399 cret := xDmabufFormatsEqual(x.GoPointer(), Formats2Var)420 cret := xDmabufFormatsEqual(x.GoPointer(), Formats2Var)
421+
400 return cret422 return cret
401 }423 }
402 424
@@ -421,6 +443,7 @@ var xDmabufFormatsGetNFormats func(uintptr) uint
421 func (x *DmabufFormats) GetNFormats() uint {443 func (x *DmabufFormats) GetNFormats() uint {
422 444
423 cret := xDmabufFormatsGetNFormats(x.GoPointer())445 cret := xDmabufFormatsGetNFormats(x.GoPointer())
446+
424 return cret447 return cret
425 }448 }
426 449
@@ -430,6 +453,7 @@ var xDmabufFormatsRef func(uintptr) *DmabufFormats
430 func (x *DmabufFormats) Ref() *DmabufFormats {453 func (x *DmabufFormats) Ref() *DmabufFormats {
431 454
432 cret := xDmabufFormatsRef(x.GoPointer())455 cret := xDmabufFormatsRef(x.GoPointer())
456+
433 return cret457 return cret
434 }458 }
435 459
@@ -503,6 +527,7 @@ var xRectangleContainsPoint func(uintptr, int, int) bool
503 func (x *Rectangle) ContainsPoint(XVar int, YVar int) bool {527 func (x *Rectangle) ContainsPoint(XVar int, YVar int) bool {
504 528
505 cret := xRectangleContainsPoint(x.GoPointer(), XVar, YVar)529 cret := xRectangleContainsPoint(x.GoPointer(), XVar, YVar)
530+
506 return cret531 return cret
507 }532 }
508 533
@@ -512,6 +537,7 @@ var xRectangleEqual func(uintptr, *Rectangle) bool
512 func (x *Rectangle) Equal(Rect2Var *Rectangle) bool {537 func (x *Rectangle) Equal(Rect2Var *Rectangle) bool {
513 538
514 cret := xRectangleEqual(x.GoPointer(), Rect2Var)539 cret := xRectangleEqual(x.GoPointer(), Rect2Var)
540+
515 return cret541 return cret
516 }542 }
517 543
@@ -527,6 +553,7 @@ var xRectangleIntersect func(uintptr, *Rectangle, *Rectangle) bool
527 func (x *Rectangle) Intersect(Src2Var *Rectangle, DestVar *Rectangle) bool {553 func (x *Rectangle) Intersect(Src2Var *Rectangle, DestVar *Rectangle) bool {
528 554
529 cret := xRectangleIntersect(x.GoPointer(), Src2Var, DestVar)555 cret := xRectangleIntersect(x.GoPointer(), Src2Var, DestVar)
556+
530 return cret557 return cret
531 }558 }
532 559
@@ -578,6 +605,7 @@ var xNewTextureDownloader func(uintptr) *TextureDownloader
578 func NewTextureDownloader(TextureVar *Texture) *TextureDownloader {605 func NewTextureDownloader(TextureVar *Texture) *TextureDownloader {
579 606
580 cret := xNewTextureDownloader(TextureVar.GoPointer())607 cret := xNewTextureDownloader(TextureVar.GoPointer())
608+
581 return cret609 return cret
582 }610 }
583 611
@@ -589,6 +617,7 @@ var xTextureDownloaderCopy func(uintptr) *TextureDownloader
589 func (x *TextureDownloader) Copy() *TextureDownloader {617 func (x *TextureDownloader) Copy() *TextureDownloader {
590 618
591 cret := xTextureDownloaderCopy(x.GoPointer())619 cret := xTextureDownloaderCopy(x.GoPointer())
620+
592 return cret621 return cret
593 }622 }
594 623
@@ -607,6 +636,7 @@ var xTextureDownloaderDownloadBytes func(uintptr, *uint) *glib.Bytes
607 func (x *TextureDownloader) DownloadBytes(OutStrideVar *uint) *glib.Bytes {636 func (x *TextureDownloader) DownloadBytes(OutStrideVar *uint) *glib.Bytes {
608 637
609 cret := xTextureDownloaderDownloadBytes(x.GoPointer(), OutStrideVar)638 cret := xTextureDownloaderDownloadBytes(x.GoPointer(), OutStrideVar)
639+
610 return cret640 return cret
611 }641 }
612 642
@@ -620,6 +650,7 @@ var xTextureDownloaderDownloadBytesWithPlanes func(uintptr, *[4]uint, *[4]uint)
620 func (x *TextureDownloader) DownloadBytesWithPlanes(OutOffsetsVar *[4]uint, OutStridesVar *[4]uint) *glib.Bytes {650 func (x *TextureDownloader) DownloadBytesWithPlanes(OutOffsetsVar *[4]uint, OutStridesVar *[4]uint) *glib.Bytes {
621 651
622 cret := xTextureDownloaderDownloadBytesWithPlanes(x.GoPointer(), OutOffsetsVar, OutStridesVar)652 cret := xTextureDownloaderDownloadBytesWithPlanes(x.GoPointer(), OutOffsetsVar, OutStridesVar)
653+
623 return cret654 return cret
624 }655 }
625 656
@@ -649,6 +680,7 @@ var xTextureDownloaderGetColorState func(uintptr) *ColorState
649 func (x *TextureDownloader) GetColorState() *ColorState {680 func (x *TextureDownloader) GetColorState() *ColorState {
650 681
651 cret := xTextureDownloaderGetColorState(x.GoPointer())682 cret := xTextureDownloaderGetColorState(x.GoPointer())
683+
652 return cret684 return cret
653 }685 }
654 686
@@ -658,6 +690,7 @@ var xTextureDownloaderGetFormat func(uintptr) MemoryFormat
658 func (x *TextureDownloader) GetFormat() MemoryFormat {690 func (x *TextureDownloader) GetFormat() MemoryFormat {
659 691
660 cret := xTextureDownloaderGetFormat(x.GoPointer())692 cret := xTextureDownloaderGetFormat(x.GoPointer())
693+
661 return cret694 return cret
662 }695 }
663 696
M v4/gdk/gdkvulkancontext.go +1 -0
@@ -17,6 +17,7 @@ var xVulkanErrorQuark func() glib.Quark
17 func VulkanErrorQuark() glib.Quark {17 func VulkanErrorQuark() glib.Quark {
18 18
19 cret := xVulkanErrorQuark()19 cret := xVulkanErrorQuark()
20+
20 return cret21 return cret
21 }22 }
22 23
M v4/gdkpixbuf/gdk-pixbuf-animation.go +6 -0
@@ -438,6 +438,7 @@ var xPixbufAnimationGetHeight func(uintptr) int
438 func (x *PixbufAnimation) GetHeight() int {438 func (x *PixbufAnimation) GetHeight() int {
439 439
440 cret := xPixbufAnimationGetHeight(x.GoPointer())440 cret := xPixbufAnimationGetHeight(x.GoPointer())
441+
441 return cret442 return cret
442 }443 }
443 444
@@ -523,6 +524,7 @@ var xPixbufAnimationGetWidth func(uintptr) int
523 func (x *PixbufAnimation) GetWidth() int {524 func (x *PixbufAnimation) GetWidth() int {
524 525
525 cret := xPixbufAnimationGetWidth(x.GoPointer())526 cret := xPixbufAnimationGetWidth(x.GoPointer())
527+
526 return cret528 return cret
527 }529 }
528 530
@@ -537,6 +539,7 @@ var xPixbufAnimationIsStaticImage func(uintptr) bool
537 func (x *PixbufAnimation) IsStaticImage() bool {539 func (x *PixbufAnimation) IsStaticImage() bool {
538 540
539 cret := xPixbufAnimationIsStaticImage(x.GoPointer())541 cret := xPixbufAnimationIsStaticImage(x.GoPointer())
542+
540 return cret543 return cret
541 }544 }
542 545
@@ -651,6 +654,7 @@ var xPixbufAnimationIterAdvance func(uintptr, *glib.TimeVal) bool
651 func (x *PixbufAnimationIter) Advance(CurrentTimeVar *glib.TimeVal) bool {654 func (x *PixbufAnimationIter) Advance(CurrentTimeVar *glib.TimeVal) bool {
652 655
653 cret := xPixbufAnimationIterAdvance(x.GoPointer(), CurrentTimeVar)656 cret := xPixbufAnimationIterAdvance(x.GoPointer(), CurrentTimeVar)
657+
654 return cret658 return cret
655 }659 }
656 660
@@ -668,6 +672,7 @@ var xPixbufAnimationIterGetDelayTime func(uintptr) int
668 func (x *PixbufAnimationIter) GetDelayTime() int {672 func (x *PixbufAnimationIter) GetDelayTime() int {
669 673
670 cret := xPixbufAnimationIterGetDelayTime(x.GoPointer())674 cret := xPixbufAnimationIterGetDelayTime(x.GoPointer())
675+
671 return cret676 return cret
672 }677 }
673 678
@@ -713,6 +718,7 @@ var xPixbufAnimationIterOnCurrentlyLoadingFrame func(uintptr) bool
713 func (x *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool {718 func (x *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool {
714 719
715 cret := xPixbufAnimationIterOnCurrentlyLoadingFrame(x.GoPointer())720 cret := xPixbufAnimationIterOnCurrentlyLoadingFrame(x.GoPointer())
721+
716 return cret722 return cret
717 }723 }
718 724
M v4/gdkpixbuf/gdk-pixbuf-io.go +10 -0
@@ -143,6 +143,7 @@ var xPixbufFormatCopy func(uintptr) *PixbufFormat
143 func (x *PixbufFormat) Copy() *PixbufFormat {143 func (x *PixbufFormat) Copy() *PixbufFormat {
144 144
145 cret := xPixbufFormatCopy(x.GoPointer())145 cret := xPixbufFormatCopy(x.GoPointer())
146+
146 return cret147 return cret
147 }148 }
148 149
@@ -162,6 +163,7 @@ var xPixbufFormatGetDescription func(uintptr) string
162 func (x *PixbufFormat) GetDescription() string {163 func (x *PixbufFormat) GetDescription() string {
163 164
164 cret := xPixbufFormatGetDescription(x.GoPointer())165 cret := xPixbufFormatGetDescription(x.GoPointer())
166+
165 return cret167 return cret
166 }168 }
167 169
@@ -172,6 +174,7 @@ var xPixbufFormatGetExtensions func(uintptr) []string
172 func (x *PixbufFormat) GetExtensions() []string {174 func (x *PixbufFormat) GetExtensions() []string {
173 175
174 cret := xPixbufFormatGetExtensions(x.GoPointer())176 cret := xPixbufFormatGetExtensions(x.GoPointer())
177+
175 return cret178 return cret
176 }179 }
177 180
@@ -184,6 +187,7 @@ var xPixbufFormatGetLicense func(uintptr) string
184 func (x *PixbufFormat) GetLicense() string {187 func (x *PixbufFormat) GetLicense() string {
185 188
186 cret := xPixbufFormatGetLicense(x.GoPointer())189 cret := xPixbufFormatGetLicense(x.GoPointer())
190+
187 return cret191 return cret
188 }192 }
189 193
@@ -193,6 +197,7 @@ var xPixbufFormatGetMimeTypes func(uintptr) []string
193 func (x *PixbufFormat) GetMimeTypes() []string {197 func (x *PixbufFormat) GetMimeTypes() []string {
194 198
195 cret := xPixbufFormatGetMimeTypes(x.GoPointer())199 cret := xPixbufFormatGetMimeTypes(x.GoPointer())
200+
196 return cret201 return cret
197 }202 }
198 203
@@ -202,6 +207,7 @@ var xPixbufFormatGetName func(uintptr) string
202 func (x *PixbufFormat) GetName() string {207 func (x *PixbufFormat) GetName() string {
203 208
204 cret := xPixbufFormatGetName(x.GoPointer())209 cret := xPixbufFormatGetName(x.GoPointer())
210+
205 return cret211 return cret
206 }212 }
207 213
@@ -213,6 +219,7 @@ var xPixbufFormatIsDisabled func(uintptr) bool
213 func (x *PixbufFormat) IsDisabled() bool {219 func (x *PixbufFormat) IsDisabled() bool {
214 220
215 cret := xPixbufFormatIsDisabled(x.GoPointer())221 cret := xPixbufFormatIsDisabled(x.GoPointer())
222+
216 return cret223 return cret
217 }224 }
218 225
@@ -225,6 +232,7 @@ var xPixbufFormatIsSaveOptionSupported func(uintptr, string) bool
225 func (x *PixbufFormat) IsSaveOptionSupported(OptionKeyVar string) bool {232 func (x *PixbufFormat) IsSaveOptionSupported(OptionKeyVar string) bool {
226 233
227 cret := xPixbufFormatIsSaveOptionSupported(x.GoPointer(), OptionKeyVar)234 cret := xPixbufFormatIsSaveOptionSupported(x.GoPointer(), OptionKeyVar)
235+
228 return cret236 return cret
229 }237 }
230 238
@@ -238,6 +246,7 @@ var xPixbufFormatIsScalable func(uintptr) bool
238 func (x *PixbufFormat) IsScalable() bool {246 func (x *PixbufFormat) IsScalable() bool {
239 247
240 cret := xPixbufFormatIsScalable(x.GoPointer())248 cret := xPixbufFormatIsScalable(x.GoPointer())
249+
241 return cret250 return cret
242 }251 }
243 252
@@ -247,6 +256,7 @@ var xPixbufFormatIsWritable func(uintptr) bool
247 func (x *PixbufFormat) IsWritable() bool {256 func (x *PixbufFormat) IsWritable() bool {
248 257
249 cret := xPixbufFormatIsWritable(x.GoPointer())258 cret := xPixbufFormatIsWritable(x.GoPointer())
259+
250 return cret260 return cret
251 }261 }
252 262
M v4/gdkpixbuf/gdk-pixbuf-loader.go +4 -0
@@ -289,6 +289,7 @@ func (x *PixbufLoader) Close() (bool, error) {
289 var cerr *glib.Error289 var cerr *glib.Error
290 290
291 cret := xPixbufLoaderClose(x.GoPointer())291 cret := xPixbufLoaderClose(x.GoPointer())
292+
292 if cerr == nil {293 if cerr == nil {
293 return cret, nil294 return cret, nil
294 }295 }
@@ -327,6 +328,7 @@ var xPixbufLoaderGetFormat func(uintptr) *PixbufFormat
327 func (x *PixbufLoader) GetFormat() *PixbufFormat {328 func (x *PixbufLoader) GetFormat() *PixbufFormat {
328 329
329 cret := xPixbufLoaderGetFormat(x.GoPointer())330 cret := xPixbufLoaderGetFormat(x.GoPointer())
331+
330 return cret332 return cret
331 }333 }
332 334
@@ -384,6 +386,7 @@ func (x *PixbufLoader) Write(BufVar []byte, CountVar uint) (bool, error) {
384 var cerr *glib.Error386 var cerr *glib.Error
385 387
386 cret := xPixbufLoaderWrite(x.GoPointer(), BufVar, CountVar, &cerr)388 cret := xPixbufLoaderWrite(x.GoPointer(), BufVar, CountVar, &cerr)
389+
387 if cerr == nil {390 if cerr == nil {
388 return cret, nil391 return cret, nil
389 }392 }
@@ -398,6 +401,7 @@ func (x *PixbufLoader) WriteBytes(BufferVar *glib.Bytes) (bool, error) {
398 var cerr *glib.Error401 var cerr *glib.Error
399 402
400 cret := xPixbufLoaderWriteBytes(x.GoPointer(), BufferVar, &cerr)403 cret := xPixbufLoaderWriteBytes(x.GoPointer(), BufferVar, &cerr)
404+
401 if cerr == nil {405 if cerr == nil {
402 return cret, nil406 return cret, nil
403 }407 }
M v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +1 -0
@@ -69,6 +69,7 @@ var xPixbufSimpleAnimGetLoop func(uintptr) bool
69 func (x *PixbufSimpleAnim) GetLoop() bool {69 func (x *PixbufSimpleAnim) GetLoop() bool {
70 70
71 cret := xPixbufSimpleAnimGetLoop(x.GoPointer())71 cret := xPixbufSimpleAnimGetLoop(x.GoPointer())
72+
72 return cret73 return cret
73 }74 }
74 75
M v4/gdkpixbuf/gdk-pixbuf.go +35 -0
@@ -740,6 +740,7 @@ var xPixbufCopyOptions func(uintptr, uintptr) bool
740 func (x *Pixbuf) CopyOptions(DestPixbufVar *Pixbuf) bool {740 func (x *Pixbuf) CopyOptions(DestPixbufVar *Pixbuf) bool {
741 741
742 cret := xPixbufCopyOptions(x.GoPointer(), DestPixbufVar.GoPointer())742 cret := xPixbufCopyOptions(x.GoPointer(), DestPixbufVar.GoPointer())
743+
743 return cret744 return cret
744 }745 }
745 746
@@ -779,6 +780,7 @@ var xPixbufGetBitsPerSample func(uintptr) int
779 func (x *Pixbuf) GetBitsPerSample() int {780 func (x *Pixbuf) GetBitsPerSample() int {
780 781
781 cret := xPixbufGetBitsPerSample(x.GoPointer())782 cret := xPixbufGetBitsPerSample(x.GoPointer())
783+
782 return cret784 return cret
783 }785 }
784 786
@@ -788,6 +790,7 @@ var xPixbufGetByteLength func(uintptr) uint
788 func (x *Pixbuf) GetByteLength() uint {790 func (x *Pixbuf) GetByteLength() uint {
789 791
790 cret := xPixbufGetByteLength(x.GoPointer())792 cret := xPixbufGetByteLength(x.GoPointer())
793+
791 return cret794 return cret
792 }795 }
793 796
@@ -797,6 +800,7 @@ var xPixbufGetColorspace func(uintptr) Colorspace
797 func (x *Pixbuf) GetColorspace() Colorspace {800 func (x *Pixbuf) GetColorspace() Colorspace {
798 801
799 cret := xPixbufGetColorspace(x.GoPointer())802 cret := xPixbufGetColorspace(x.GoPointer())
803+
800 return cret804 return cret
801 }805 }
802 806
@@ -806,6 +810,7 @@ var xPixbufGetHasAlpha func(uintptr) bool
806 func (x *Pixbuf) GetHasAlpha() bool {810 func (x *Pixbuf) GetHasAlpha() bool {
807 811
808 cret := xPixbufGetHasAlpha(x.GoPointer())812 cret := xPixbufGetHasAlpha(x.GoPointer())
813+
809 return cret814 return cret
810 }815 }
811 816
@@ -815,6 +820,7 @@ var xPixbufGetHeight func(uintptr) int
815 func (x *Pixbuf) GetHeight() int {820 func (x *Pixbuf) GetHeight() int {
816 821
817 cret := xPixbufGetHeight(x.GoPointer())822 cret := xPixbufGetHeight(x.GoPointer())
823+
818 return cret824 return cret
819 }825 }
820 826
@@ -824,6 +830,7 @@ var xPixbufGetNChannels func(uintptr) int
824 func (x *Pixbuf) GetNChannels() int {830 func (x *Pixbuf) GetNChannels() int {
825 831
826 cret := xPixbufGetNChannels(x.GoPointer())832 cret := xPixbufGetNChannels(x.GoPointer())
833+
827 return cret834 return cret
828 }835 }
829 836
@@ -847,6 +854,7 @@ var xPixbufGetOption func(uintptr, string) string
847 func (x *Pixbuf) GetOption(KeyVar string) string {854 func (x *Pixbuf) GetOption(KeyVar string) string {
848 855
849 cret := xPixbufGetOption(x.GoPointer(), KeyVar)856 cret := xPixbufGetOption(x.GoPointer(), KeyVar)
857+
850 return cret858 return cret
851 }859 }
852 860
@@ -858,6 +866,7 @@ var xPixbufGetOptions func(uintptr) *glib.HashTable
858 func (x *Pixbuf) GetOptions() *glib.HashTable {866 func (x *Pixbuf) GetOptions() *glib.HashTable {
859 867
860 cret := xPixbufGetOptions(x.GoPointer())868 cret := xPixbufGetOptions(x.GoPointer())
869+
861 return cret870 return cret
862 }871 }
863 872
@@ -873,6 +882,7 @@ var xPixbufGetPixels func(uintptr) uintptr
873 func (x *Pixbuf) GetPixels() uintptr {882 func (x *Pixbuf) GetPixels() uintptr {
874 883
875 cret := xPixbufGetPixels(x.GoPointer())884 cret := xPixbufGetPixels(x.GoPointer())
885+
876 return cret886 return cret
877 }887 }
878 888
@@ -888,6 +898,7 @@ var xPixbufGetPixelsWithLength func(uintptr, *uint) uintptr
888 func (x *Pixbuf) GetPixelsWithLength(LengthVar *uint) uintptr {898 func (x *Pixbuf) GetPixelsWithLength(LengthVar *uint) uintptr {
889 899
890 cret := xPixbufGetPixelsWithLength(x.GoPointer(), LengthVar)900 cret := xPixbufGetPixelsWithLength(x.GoPointer(), LengthVar)
901+
891 return cret902 return cret
892 }903 }
893 904
@@ -898,6 +909,7 @@ var xPixbufGetRowstride func(uintptr) int
898 func (x *Pixbuf) GetRowstride() int {909 func (x *Pixbuf) GetRowstride() int {
899 910
900 cret := xPixbufGetRowstride(x.GoPointer())911 cret := xPixbufGetRowstride(x.GoPointer())
912+
901 return cret913 return cret
902 }914 }
903 915
@@ -907,6 +919,7 @@ var xPixbufGetWidth func(uintptr) int
907 func (x *Pixbuf) GetWidth() int {919 func (x *Pixbuf) GetWidth() int {
908 920
909 cret := xPixbufGetWidth(x.GoPointer())921 cret := xPixbufGetWidth(x.GoPointer())
922+
910 return cret923 return cret
911 }924 }
912 925
@@ -944,6 +957,7 @@ var xPixbufReadPixelBytes func(uintptr) *glib.Bytes
944 func (x *Pixbuf) ReadPixelBytes() *glib.Bytes {957 func (x *Pixbuf) ReadPixelBytes() *glib.Bytes {
945 958
946 cret := xPixbufReadPixelBytes(x.GoPointer())959 cret := xPixbufReadPixelBytes(x.GoPointer())
960+
947 return cret961 return cret
948 }962 }
949 963
@@ -956,6 +970,7 @@ var xPixbufReadPixels func(uintptr) byte
956 func (x *Pixbuf) ReadPixels() byte {970 func (x *Pixbuf) ReadPixels() byte {
957 971
958 cret := xPixbufReadPixels(x.GoPointer())972 cret := xPixbufReadPixels(x.GoPointer())
973+
959 return cret974 return cret
960 }975 }
961 976
@@ -981,6 +996,7 @@ var xPixbufRemoveOption func(uintptr, string) bool
981 func (x *Pixbuf) RemoveOption(KeyVar string) bool {996 func (x *Pixbuf) RemoveOption(KeyVar string) bool {
982 997
983 cret := xPixbufRemoveOption(x.GoPointer(), KeyVar)998 cret := xPixbufRemoveOption(x.GoPointer(), KeyVar)
999+
984 return cret1000 return cret
985 }1001 }
986 1002
@@ -1102,6 +1118,7 @@ var xPixbufSave func(uintptr, string, string, **glib.Error, ...interface{}) bool
1102 func (x *Pixbuf) Save(FilenameVar string, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {1118 func (x *Pixbuf) Save(FilenameVar string, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {
1103 1119
1104 cret := xPixbufSave(x.GoPointer(), FilenameVar, TypeVar, ErrorVar, varArgs...)1120 cret := xPixbufSave(x.GoPointer(), FilenameVar, TypeVar, ErrorVar, varArgs...)
1121+
1105 return cret1122 return cret
1106 }1123 }
1107 1124
@@ -1124,6 +1141,7 @@ var xPixbufSaveToBuffer func(uintptr, *[]byte, *uint, string, **glib.Error, ...i
1124 func (x *Pixbuf) SaveToBuffer(BufferVar *[]byte, BufferSizeVar *uint, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {1141 func (x *Pixbuf) SaveToBuffer(BufferVar *[]byte, BufferSizeVar *uint, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {
1125 1142
1126 cret := xPixbufSaveToBuffer(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, ErrorVar, varArgs...)1143 cret := xPixbufSaveToBuffer(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, ErrorVar, varArgs...)
1144+
1127 return cret1145 return cret
1128 }1146 }
1129 1147
@@ -1139,6 +1157,7 @@ func (x *Pixbuf) SaveToBufferv(BufferVar *[]byte, BufferSizeVar *uint, TypeVar s
1139 var cerr *glib.Error1157 var cerr *glib.Error
1140 1158
1141 cret := xPixbufSaveToBufferv(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)1159 cret := xPixbufSaveToBufferv(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)
1160+
1142 if cerr == nil {1161 if cerr == nil {
1143 return cret, nil1162 return cret, nil
1144 }1163 }
@@ -1177,6 +1196,7 @@ func (x *Pixbuf) SaveToCallback(SaveFuncVar *PixbufSaveFunc, UserDataVar uintptr
1177 }1196 }
1178 1197
1179 cret := xPixbufSaveToCallback(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, ErrorVar, varArgs...)1198 cret := xPixbufSaveToCallback(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, ErrorVar, varArgs...)
1199+
1180 return cret1200 return cret
1181 }1201 }
1182 1202
@@ -1209,6 +1229,7 @@ func (x *Pixbuf) SaveToCallbackv(SaveFuncVar *PixbufSaveFunc, UserDataVar uintpt
1209 }1229 }
1210 1230
1211 cret := xPixbufSaveToCallbackv(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)1231 cret := xPixbufSaveToCallbackv(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)
1232+
1212 if cerr == nil {1233 if cerr == nil {
1213 return cret, nil1234 return cret, nil
1214 }1235 }
@@ -1232,6 +1253,7 @@ var xPixbufSaveToStream func(uintptr, uintptr, string, uintptr, **glib.Error, ..
1232 func (x *Pixbuf) SaveToStream(StreamVar *gio.OutputStream, TypeVar string, CancellableVar *gio.Cancellable, ErrorVar **glib.Error, varArgs ...interface{}) bool {1253 func (x *Pixbuf) SaveToStream(StreamVar *gio.OutputStream, TypeVar string, CancellableVar *gio.Cancellable, ErrorVar **glib.Error, varArgs ...interface{}) bool {
1233 1254
1234 cret := xPixbufSaveToStream(x.GoPointer(), StreamVar.GoPointer(), TypeVar, CancellableVar.GoPointer(), ErrorVar, varArgs...)1255 cret := xPixbufSaveToStream(x.GoPointer(), StreamVar.GoPointer(), TypeVar, CancellableVar.GoPointer(), ErrorVar, varArgs...)
1256+
1235 return cret1257 return cret
1236 }1258 }
1237 1259
@@ -1279,6 +1301,7 @@ func (x *Pixbuf) SaveToStreamv(StreamVar *gio.OutputStream, TypeVar string, Opti
1279 var cerr *glib.Error1301 var cerr *glib.Error
1280 1302
1281 cret := xPixbufSaveToStreamv(x.GoPointer(), StreamVar.GoPointer(), TypeVar, OptionKeysVar, OptionValuesVar, CancellableVar.GoPointer(), &cerr)1303 cret := xPixbufSaveToStreamv(x.GoPointer(), StreamVar.GoPointer(), TypeVar, OptionKeysVar, OptionValuesVar, CancellableVar.GoPointer(), &cerr)
1304+
1282 if cerr == nil {1305 if cerr == nil {
1283 return cret, nil1306 return cret, nil
1284 }1307 }
@@ -1331,6 +1354,7 @@ func (x *Pixbuf) Savev(FilenameVar string, TypeVar string, OptionKeysVar []strin
1331 var cerr *glib.Error1354 var cerr *glib.Error
1332 1355
1333 cret := xPixbufSavev(x.GoPointer(), FilenameVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)1356 cret := xPixbufSavev(x.GoPointer(), FilenameVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)
1357+
1334 if cerr == nil {1358 if cerr == nil {
1335 return cret, nil1359 return cret, nil
1336 }1360 }
@@ -1401,6 +1425,7 @@ var xPixbufSetOption func(uintptr, string, string) bool
1401 func (x *Pixbuf) SetOption(KeyVar string, ValueVar string) bool {1425 func (x *Pixbuf) SetOption(KeyVar string, ValueVar string) bool {
1402 1426
1403 cret := xPixbufSetOption(x.GoPointer(), KeyVar, ValueVar)1427 cret := xPixbufSetOption(x.GoPointer(), KeyVar, ValueVar)
1428+
1404 return cret1429 return cret
1405 }1430 }
1406 1431
@@ -1578,6 +1603,7 @@ func (x *Pixbuf) GetPropertyWidth() int {
1578 func (x *Pixbuf) Equal(Icon2Var gio.Icon) bool {1603 func (x *Pixbuf) Equal(Icon2Var gio.Icon) bool {
1579 1604
1580 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())1605 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
1606+
1581 return cret1607 return cret
1582 }1608 }
1583 1609
@@ -1585,6 +1611,7 @@ func (x *Pixbuf) Equal(Icon2Var gio.Icon) bool {
1585 func (x *Pixbuf) Hash() uint {1611 func (x *Pixbuf) Hash() uint {
1586 1612
1587 cret := gio.XGIconHash(x.GoPointer())1613 cret := gio.XGIconHash(x.GoPointer())
1614+
1588 return cret1615 return cret
1589 }1616 }
1590 1617
@@ -1596,6 +1623,7 @@ func (x *Pixbuf) Hash() uint {
1596 func (x *Pixbuf) Serialize() *glib.Variant {1623 func (x *Pixbuf) Serialize() *glib.Variant {
1597 1624
1598 cret := gio.XGIconSerialize(x.GoPointer())1625 cret := gio.XGIconSerialize(x.GoPointer())
1626+
1599 return cret1627 return cret
1600 }1628 }
1601 1629
@@ -1618,6 +1646,7 @@ func (x *Pixbuf) Serialize() *glib.Variant {
1618 func (x *Pixbuf) ToString() string {1646 func (x *Pixbuf) ToString() string {
1619 1647
1620 cret := gio.XGIconToString(x.GoPointer())1648 cret := gio.XGIconToString(x.GoPointer())
1649+
1621 return cret1650 return cret
1622 }1651 }
1623 1652
@@ -1679,6 +1708,7 @@ var xPixbufCalculateRowstride func(Colorspace, bool, int, int, int) int
1679 func PixbufCalculateRowstride(ColorspaceVar Colorspace, HasAlphaVar bool, BitsPerSampleVar int, WidthVar int, HeightVar int) int {1708 func PixbufCalculateRowstride(ColorspaceVar Colorspace, HasAlphaVar bool, BitsPerSampleVar int, WidthVar int, HeightVar int) int {
1680 1709
1681 cret := xPixbufCalculateRowstride(ColorspaceVar, HasAlphaVar, BitsPerSampleVar, WidthVar, HeightVar)1710 cret := xPixbufCalculateRowstride(ColorspaceVar, HasAlphaVar, BitsPerSampleVar, WidthVar, HeightVar)
1711+
1682 return cret1712 return cret
1683 }1713 }
1684 1714
@@ -1688,6 +1718,7 @@ var xPixbufGetFileInfo func(string, *int, *int) *PixbufFormat
1688 func PixbufGetFileInfo(FilenameVar string, WidthVar *int, HeightVar *int) *PixbufFormat {1718 func PixbufGetFileInfo(FilenameVar string, WidthVar *int, HeightVar *int) *PixbufFormat {
1689 1719
1690 cret := xPixbufGetFileInfo(FilenameVar, WidthVar, HeightVar)1720 cret := xPixbufGetFileInfo(FilenameVar, WidthVar, HeightVar)
1721+
1691 return cret1722 return cret
1692 }1723 }
1693 1724
@@ -1731,6 +1762,7 @@ func PixbufGetFileInfoFinish(AsyncResultVar gio.AsyncResult, WidthVar *int, Heig
1731 var cerr *glib.Error1762 var cerr *glib.Error
1732 1763
1733 cret := xPixbufGetFileInfoFinish(AsyncResultVar.GoPointer(), WidthVar, HeightVar, &cerr)1764 cret := xPixbufGetFileInfoFinish(AsyncResultVar.GoPointer(), WidthVar, HeightVar, &cerr)
1765+
1734 if cerr == nil {1766 if cerr == nil {
1735 return cret, nil1767 return cret, nil
1736 }1768 }
@@ -1745,6 +1777,7 @@ var xPixbufGetFormats func() *glib.SList
1745 func PixbufGetFormats() *glib.SList {1777 func PixbufGetFormats() *glib.SList {
1746 1778
1747 cret := xPixbufGetFormats()1779 cret := xPixbufGetFormats()
1780+
1748 return cret1781 return cret
1749 }1782 }
1750 1783
@@ -1767,6 +1800,7 @@ func PixbufInitModules(PathVar string) (bool, error) {
1767 var cerr *glib.Error1800 var cerr *glib.Error
1768 1801
1769 cret := xPixbufInitModules(PathVar, &cerr)1802 cret := xPixbufInitModules(PathVar, &cerr)
1803+
1770 if cerr == nil {1804 if cerr == nil {
1771 return cret, nil1805 return cret, nil
1772 }1806 }
@@ -1843,6 +1877,7 @@ func PixbufSaveToStreamFinish(AsyncResultVar gio.AsyncResult) (bool, error) {
1843 var cerr *glib.Error1877 var cerr *glib.Error
1844 1878
1845 cret := xPixbufSaveToStreamFinish(AsyncResultVar.GoPointer(), &cerr)1879 cret := xPixbufSaveToStreamFinish(AsyncResultVar.GoPointer(), &cerr)
1880+
1846 if cerr == nil {1881 if cerr == nil {
1847 return cret, nil1882 return cret, nil
1848 }1883 }
M v4/gdkpixbuf/main.go +1 -0
@@ -13,6 +13,7 @@ var xPixbufErrorQuark func() glib.Quark
13 func PixbufErrorQuark() glib.Quark {13 func PixbufErrorQuark() glib.Quark {
14 14
15 cret := xPixbufErrorQuark()15 cret := xPixbufErrorQuark()
16+
16 return cret17 return cret
17 }18 }
18 19
M v4/gio/gaction.go +9 -0
@@ -342,6 +342,7 @@ func (x *ActionBase) ChangeState(ValueVar *glib.Variant) {
342 func (x *ActionBase) GetEnabled() bool {342 func (x *ActionBase) GetEnabled() bool {
343 343
344 cret := XGActionGetEnabled(x.GoPointer())344 cret := XGActionGetEnabled(x.GoPointer())
345+
345 return cret346 return cret
346 }347 }
347 348
@@ -349,6 +350,7 @@ func (x *ActionBase) GetEnabled() bool {
349 func (x *ActionBase) GetName() string {350 func (x *ActionBase) GetName() string {
350 351
351 cret := XGActionGetName(x.GoPointer())352 cret := XGActionGetName(x.GoPointer())
353+
352 return cret354 return cret
353 }355 }
354 356
@@ -364,6 +366,7 @@ func (x *ActionBase) GetName() string {
364 func (x *ActionBase) GetParameterType() *glib.VariantType {366 func (x *ActionBase) GetParameterType() *glib.VariantType {
365 367
366 cret := XGActionGetParameterType(x.GoPointer())368 cret := XGActionGetParameterType(x.GoPointer())
369+
367 return cret370 return cret
368 }371 }
369 372
@@ -378,6 +381,7 @@ func (x *ActionBase) GetParameterType() *glib.VariantType {
378 func (x *ActionBase) GetState() *glib.Variant {381 func (x *ActionBase) GetState() *glib.Variant {
379 382
380 cret := XGActionGetState(x.GoPointer())383 cret := XGActionGetState(x.GoPointer())
384+
381 return cret385 return cret
382 }386 }
383 387
@@ -402,6 +406,7 @@ func (x *ActionBase) GetState() *glib.Variant {
402 func (x *ActionBase) GetStateHint() *glib.Variant {406 func (x *ActionBase) GetStateHint() *glib.Variant {
403 407
404 cret := XGActionGetStateHint(x.GoPointer())408 cret := XGActionGetStateHint(x.GoPointer())
409+
405 return cret410 return cret
406 }411 }
407 412
@@ -420,6 +425,7 @@ func (x *ActionBase) GetStateHint() *glib.Variant {
420 func (x *ActionBase) GetStateType() *glib.VariantType {425 func (x *ActionBase) GetStateType() *glib.VariantType {
421 426
422 cret := XGActionGetStateType(x.GoPointer())427 cret := XGActionGetStateType(x.GoPointer())
428+
423 return cret429 return cret
424 }430 }
425 431
@@ -501,6 +507,7 @@ var xActionNameIsValid func(string) bool
501 func ActionNameIsValid(ActionNameVar string) bool {507 func ActionNameIsValid(ActionNameVar string) bool {
502 508
503 cret := xActionNameIsValid(ActionNameVar)509 cret := xActionNameIsValid(ActionNameVar)
510+
504 return cret511 return cret
505 }512 }
506 513
@@ -540,6 +547,7 @@ func ActionParseDetailedName(DetailedNameVar string, ActionNameVar *string, Targ
540 var cerr *glib.Error547 var cerr *glib.Error
541 548
542 cret := xActionParseDetailedName(DetailedNameVar, ActionNameVar, TargetValueVar, &cerr)549 cret := xActionParseDetailedName(DetailedNameVar, ActionNameVar, TargetValueVar, &cerr)
550+
543 if cerr == nil {551 if cerr == nil {
544 return cret, nil552 return cret, nil
545 }553 }
@@ -562,6 +570,7 @@ var xActionPrintDetailedName func(string, *glib.Variant) string
562 func ActionPrintDetailedName(ActionNameVar string, TargetValueVar *glib.Variant) string {570 func ActionPrintDetailedName(ActionNameVar string, TargetValueVar *glib.Variant) string {
563 571
564 cret := xActionPrintDetailedName(ActionNameVar, TargetValueVar)572 cret := xActionPrintDetailedName(ActionNameVar, TargetValueVar)
573+
565 return cret574 return cret
566 }575 }
567 576
M v4/gio/gactiongroup.go +8 -0
@@ -583,6 +583,7 @@ func (x *ActionGroupBase) ChangeActionState(ActionNameVar string, ValueVar *glib
583 func (x *ActionGroupBase) GetActionEnabled(ActionNameVar string) bool {583 func (x *ActionGroupBase) GetActionEnabled(ActionNameVar string) bool {
584 584
585 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)585 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
586+
586 return cret587 return cret
587 }588 }
588 589
@@ -602,6 +603,7 @@ func (x *ActionGroupBase) GetActionEnabled(ActionNameVar string) bool {
602 func (x *ActionGroupBase) GetActionParameterType(ActionNameVar string) *glib.VariantType {603 func (x *ActionGroupBase) GetActionParameterType(ActionNameVar string) *glib.VariantType {
603 604
604 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)605 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
606+
605 return cret607 return cret
606 }608 }
607 609
@@ -616,6 +618,7 @@ func (x *ActionGroupBase) GetActionParameterType(ActionNameVar string) *glib.Var
616 func (x *ActionGroupBase) GetActionState(ActionNameVar string) *glib.Variant {618 func (x *ActionGroupBase) GetActionState(ActionNameVar string) *glib.Variant {
617 619
618 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)620 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
621+
619 return cret622 return cret
620 }623 }
621 624
@@ -640,6 +643,7 @@ func (x *ActionGroupBase) GetActionState(ActionNameVar string) *glib.Variant {
640 func (x *ActionGroupBase) GetActionStateHint(ActionNameVar string) *glib.Variant {643 func (x *ActionGroupBase) GetActionStateHint(ActionNameVar string) *glib.Variant {
641 644
642 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)645 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
646+
643 return cret647 return cret
644 }648 }
645 649
@@ -662,6 +666,7 @@ func (x *ActionGroupBase) GetActionStateHint(ActionNameVar string) *glib.Variant
662 func (x *ActionGroupBase) GetActionStateType(ActionNameVar string) *glib.VariantType {666 func (x *ActionGroupBase) GetActionStateType(ActionNameVar string) *glib.VariantType {
663 667
664 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)668 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
669+
665 return cret670 return cret
666 }671 }
667 672
@@ -669,6 +674,7 @@ func (x *ActionGroupBase) GetActionStateType(ActionNameVar string) *glib.Variant
669 func (x *ActionGroupBase) HasAction(ActionNameVar string) bool {674 func (x *ActionGroupBase) HasAction(ActionNameVar string) bool {
670 675
671 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)676 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
677+
672 return cret678 return cret
673 }679 }
674 680
@@ -679,6 +685,7 @@ func (x *ActionGroupBase) HasAction(ActionNameVar string) bool {
679 func (x *ActionGroupBase) ListActions() []string {685 func (x *ActionGroupBase) ListActions() []string {
680 686
681 cret := XGActionGroupListActions(x.GoPointer())687 cret := XGActionGroupListActions(x.GoPointer())
688+
682 return cret689 return cret
683 }690 }
684 691
@@ -712,6 +719,7 @@ func (x *ActionGroupBase) ListActions() []string {
712 func (x *ActionGroupBase) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {719 func (x *ActionGroupBase) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
713 720
714 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)721 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
722+
715 return cret723 return cret
716 }724 }
717 725
M v4/gio/gappinfo.go +37 -1
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -1112,6 +1113,7 @@ func (x *AppInfoBase) AddSupportsType(ContentTypeVar string) (bool, error) {
1112 var cerr *glib.Error1113 var cerr *glib.Error
1113 1114
1114 cret := XGAppInfoAddSupportsType(x.GoPointer(), ContentTypeVar, &cerr)1115 cret := XGAppInfoAddSupportsType(x.GoPointer(), ContentTypeVar, &cerr)
1116+
1115 if cerr == nil {1117 if cerr == nil {
1116 return cret, nil1118 return cret, nil
1117 }1119 }
@@ -1124,6 +1126,7 @@ func (x *AppInfoBase) AddSupportsType(ContentTypeVar string) (bool, error) {
1124 func (x *AppInfoBase) CanDelete() bool {1126 func (x *AppInfoBase) CanDelete() bool {
1125 1127
1126 cret := XGAppInfoCanDelete(x.GoPointer())1128 cret := XGAppInfoCanDelete(x.GoPointer())
1129+
1127 return cret1130 return cret
1128 }1131 }
1129 1132
@@ -1131,6 +1134,7 @@ func (x *AppInfoBase) CanDelete() bool {
1131 func (x *AppInfoBase) CanRemoveSupportsType() bool {1134 func (x *AppInfoBase) CanRemoveSupportsType() bool {
1132 1135
1133 cret := XGAppInfoCanRemoveSupportsType(x.GoPointer())1136 cret := XGAppInfoCanRemoveSupportsType(x.GoPointer())
1137+
1134 return cret1138 return cret
1135 }1139 }
1136 1140
@@ -1142,6 +1146,7 @@ func (x *AppInfoBase) CanRemoveSupportsType() bool {
1142 func (x *AppInfoBase) Delete() bool {1146 func (x *AppInfoBase) Delete() bool {
1143 1147
1144 cret := XGAppInfoDelete(x.GoPointer())1148 cret := XGAppInfoDelete(x.GoPointer())
1149+
1145 return cret1150 return cret
1146 }1151 }
1147 1152
@@ -1167,6 +1172,7 @@ func (x *AppInfoBase) Dup() *AppInfoBase {
1167 func (x *AppInfoBase) Equal(Appinfo2Var AppInfo) bool {1172 func (x *AppInfoBase) Equal(Appinfo2Var AppInfo) bool {
1168 1173
1169 cret := XGAppInfoEqual(x.GoPointer(), Appinfo2Var.GoPointer())1174 cret := XGAppInfoEqual(x.GoPointer(), Appinfo2Var.GoPointer())
1175+
1170 return cret1176 return cret
1171 }1177 }
1172 1178
@@ -1175,6 +1181,7 @@ func (x *AppInfoBase) Equal(Appinfo2Var AppInfo) bool {
1175 func (x *AppInfoBase) GetCommandline() string {1181 func (x *AppInfoBase) GetCommandline() string {
1176 1182
1177 cret := XGAppInfoGetCommandline(x.GoPointer())1183 cret := XGAppInfoGetCommandline(x.GoPointer())
1184+
1178 return cret1185 return cret
1179 }1186 }
1180 1187
@@ -1182,6 +1189,7 @@ func (x *AppInfoBase) GetCommandline() string {
1182 func (x *AppInfoBase) GetDescription() string {1189 func (x *AppInfoBase) GetDescription() string {
1183 1190
1184 cret := XGAppInfoGetDescription(x.GoPointer())1191 cret := XGAppInfoGetDescription(x.GoPointer())
1192+
1185 return cret1193 return cret
1186 }1194 }
1187 1195
@@ -1190,6 +1198,7 @@ func (x *AppInfoBase) GetDescription() string {
1190 func (x *AppInfoBase) GetDisplayName() string {1198 func (x *AppInfoBase) GetDisplayName() string {
1191 1199
1192 cret := XGAppInfoGetDisplayName(x.GoPointer())1200 cret := XGAppInfoGetDisplayName(x.GoPointer())
1201+
1193 return cret1202 return cret
1194 }1203 }
1195 1204
@@ -1201,6 +1210,7 @@ func (x *AppInfoBase) GetDisplayName() string {
1201 func (x *AppInfoBase) GetExecutable() string {1210 func (x *AppInfoBase) GetExecutable() string {
1202 1211
1203 cret := XGAppInfoGetExecutable(x.GoPointer())1212 cret := XGAppInfoGetExecutable(x.GoPointer())
1213+
1204 return cret1214 return cret
1205 }1215 }
1206 1216
@@ -1228,6 +1238,7 @@ func (x *AppInfoBase) GetIcon() *IconBase {
1228 func (x *AppInfoBase) GetId() string {1238 func (x *AppInfoBase) GetId() string {
1229 1239
1230 cret := XGAppInfoGetId(x.GoPointer())1240 cret := XGAppInfoGetId(x.GoPointer())
1241+
1231 return cret1242 return cret
1232 }1243 }
1233 1244
@@ -1235,6 +1246,7 @@ func (x *AppInfoBase) GetId() string {
1235 func (x *AppInfoBase) GetName() string {1246 func (x *AppInfoBase) GetName() string {
1236 1247
1237 cret := XGAppInfoGetName(x.GoPointer())1248 cret := XGAppInfoGetName(x.GoPointer())
1249+
1238 return cret1250 return cret
1239 }1251 }
1240 1252
@@ -1248,6 +1260,7 @@ func (x *AppInfoBase) GetName() string {
1248 func (x *AppInfoBase) GetSupportedTypes() []string {1260 func (x *AppInfoBase) GetSupportedTypes() []string {
1249 1261
1250 cret := XGAppInfoGetSupportedTypes(x.GoPointer())1262 cret := XGAppInfoGetSupportedTypes(x.GoPointer())
1263+
1251 return cret1264 return cret
1252 }1265 }
1253 1266
@@ -1282,6 +1295,7 @@ func (x *AppInfoBase) Launch(FilesVar *glib.List, ContextVar *AppLaunchContext)
1282 var cerr *glib.Error1295 var cerr *glib.Error
1283 1296
1284 cret := XGAppInfoLaunch(x.GoPointer(), FilesVar, ContextVar.GoPointer(), &cerr)1297 cret := XGAppInfoLaunch(x.GoPointer(), FilesVar, ContextVar.GoPointer(), &cerr)
1298+
1285 if cerr == nil {1299 if cerr == nil {
1286 return cret, nil1300 return cret, nil
1287 }1301 }
@@ -1305,6 +1319,7 @@ func (x *AppInfoBase) LaunchUris(UrisVar *glib.List, ContextVar *AppLaunchContex
1305 var cerr *glib.Error1319 var cerr *glib.Error
1306 1320
1307 cret := XGAppInfoLaunchUris(x.GoPointer(), UrisVar, ContextVar.GoPointer(), &cerr)1321 cret := XGAppInfoLaunchUris(x.GoPointer(), UrisVar, ContextVar.GoPointer(), &cerr)
1322+
1308 if cerr == nil {1323 if cerr == nil {
1309 return cret, nil1324 return cret, nil
1310 }1325 }
@@ -1329,6 +1344,7 @@ func (x *AppInfoBase) LaunchUrisFinish(ResultVar AsyncResult) (bool, error) {
1329 var cerr *glib.Error1344 var cerr *glib.Error
1330 1345
1331 cret := XGAppInfoLaunchUrisFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1346 cret := XGAppInfoLaunchUrisFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1347+
1332 if cerr == nil {1348 if cerr == nil {
1333 return cret, nil1349 return cret, nil
1334 }1350 }
@@ -1341,6 +1357,7 @@ func (x *AppInfoBase) RemoveSupportsType(ContentTypeVar string) (bool, error) {
1341 var cerr *glib.Error1357 var cerr *glib.Error
1342 1358
1343 cret := XGAppInfoRemoveSupportsType(x.GoPointer(), ContentTypeVar, &cerr)1359 cret := XGAppInfoRemoveSupportsType(x.GoPointer(), ContentTypeVar, &cerr)
1360+
1344 if cerr == nil {1361 if cerr == nil {
1345 return cret, nil1362 return cret, nil
1346 }1363 }
@@ -1353,6 +1370,7 @@ func (x *AppInfoBase) SetAsDefaultForExtension(ExtensionVar string) (bool, error
1353 var cerr *glib.Error1370 var cerr *glib.Error
1354 1371
1355 cret := XGAppInfoSetAsDefaultForExtension(x.GoPointer(), ExtensionVar, &cerr)1372 cret := XGAppInfoSetAsDefaultForExtension(x.GoPointer(), ExtensionVar, &cerr)
1373+
1356 if cerr == nil {1374 if cerr == nil {
1357 return cret, nil1375 return cret, nil
1358 }1376 }
@@ -1365,6 +1383,7 @@ func (x *AppInfoBase) SetAsDefaultForType(ContentTypeVar string) (bool, error) {
1365 var cerr *glib.Error1383 var cerr *glib.Error
1366 1384
1367 cret := XGAppInfoSetAsDefaultForType(x.GoPointer(), ContentTypeVar, &cerr)1385 cret := XGAppInfoSetAsDefaultForType(x.GoPointer(), ContentTypeVar, &cerr)
1386+
1368 if cerr == nil {1387 if cerr == nil {
1369 return cret, nil1388 return cret, nil
1370 }1389 }
@@ -1380,6 +1399,7 @@ func (x *AppInfoBase) SetAsLastUsedForType(ContentTypeVar string) (bool, error)
1380 var cerr *glib.Error1399 var cerr *glib.Error
1381 1400
1382 cret := XGAppInfoSetAsLastUsedForType(x.GoPointer(), ContentTypeVar, &cerr)1401 cret := XGAppInfoSetAsLastUsedForType(x.GoPointer(), ContentTypeVar, &cerr)
1402+
1383 if cerr == nil {1403 if cerr == nil {
1384 return cret, nil1404 return cret, nil
1385 }1405 }
@@ -1392,6 +1412,7 @@ func (x *AppInfoBase) SetAsLastUsedForType(ContentTypeVar string) (bool, error)
1392 func (x *AppInfoBase) ShouldShow() bool {1412 func (x *AppInfoBase) ShouldShow() bool {
1393 1413
1394 cret := XGAppInfoShouldShow(x.GoPointer())1414 cret := XGAppInfoShouldShow(x.GoPointer())
1415+
1395 return cret1416 return cret
1396 }1417 }
1397 1418
@@ -1399,6 +1420,7 @@ func (x *AppInfoBase) ShouldShow() bool {
1399 func (x *AppInfoBase) SupportsFiles() bool {1420 func (x *AppInfoBase) SupportsFiles() bool {
1400 1421
1401 cret := XGAppInfoSupportsFiles(x.GoPointer())1422 cret := XGAppInfoSupportsFiles(x.GoPointer())
1423+
1402 return cret1424 return cret
1403 }1425 }
1404 1426
@@ -1406,6 +1428,7 @@ func (x *AppInfoBase) SupportsFiles() bool {
1406 func (x *AppInfoBase) SupportsUris() bool {1428 func (x *AppInfoBase) SupportsUris() bool {
1407 1429
1408 cret := XGAppInfoSupportsUris(x.GoPointer())1430 cret := XGAppInfoSupportsUris(x.GoPointer())
1431+
1409 return cret1432 return cret
1410 }1433 }
1411 1434
@@ -1450,7 +1473,11 @@ func AppInfoCreateFromCommandline(CommandlineVar string, ApplicationNameVar *str
1450 var cls *AppInfoBase1473 var cls *AppInfoBase
1451 var cerr *glib.Error1474 var cerr *glib.Error
1452 1475
1453- cret := xAppInfoCreateFromCommandline(CommandlineVar, core.NullableStringToPtr(ApplicationNameVar), FlagsVar, &cerr)1476+ ApplicationNameVarPtr, ApplicationNameVarBytes := core.NullableStringToPtr(ApplicationNameVar)
1477+
1478+ cret := xAppInfoCreateFromCommandline(CommandlineVar, ApplicationNameVarPtr, FlagsVar, &cerr)
1479+
1480+ runtime.KeepAlive(ApplicationNameVarBytes)
1454 1481
1455 if cret == 0 {1482 if cret == 0 {
1456 return nil, cerr1483 return nil, cerr
@@ -1482,6 +1509,7 @@ var xAppInfoGetAll func() *glib.List
1482 func AppInfoGetAll() *glib.List {1509 func AppInfoGetAll() *glib.List {
1483 1510
1484 cret := xAppInfoGetAll()1511 cret := xAppInfoGetAll()
1512+
1485 return cret1513 return cret
1486 }1514 }
1487 1515
@@ -1494,6 +1522,7 @@ var xAppInfoGetAllForType func(string) *glib.List
1494 func AppInfoGetAllForType(ContentTypeVar string) *glib.List {1522 func AppInfoGetAllForType(ContentTypeVar string) *glib.List {
1495 1523
1496 cret := xAppInfoGetAllForType(ContentTypeVar)1524 cret := xAppInfoGetAllForType(ContentTypeVar)
1525+
1497 return cret1526 return cret
1498 }1527 }
1499 1528
@@ -1642,6 +1671,7 @@ var xAppInfoGetFallbackForType func(string) *glib.List
1642 func AppInfoGetFallbackForType(ContentTypeVar string) *glib.List {1671 func AppInfoGetFallbackForType(ContentTypeVar string) *glib.List {
1643 1672
1644 cret := xAppInfoGetFallbackForType(ContentTypeVar)1673 cret := xAppInfoGetFallbackForType(ContentTypeVar)
1674+
1645 return cret1675 return cret
1646 }1676 }
1647 1677
@@ -1657,6 +1687,7 @@ var xAppInfoGetRecommendedForType func(string) *glib.List
1657 func AppInfoGetRecommendedForType(ContentTypeVar string) *glib.List {1687 func AppInfoGetRecommendedForType(ContentTypeVar string) *glib.List {
1658 1688
1659 cret := xAppInfoGetRecommendedForType(ContentTypeVar)1689 cret := xAppInfoGetRecommendedForType(ContentTypeVar)
1690+
1660 return cret1691 return cret
1661 }1692 }
1662 1693
@@ -1673,6 +1704,7 @@ func AppInfoLaunchDefaultForUri(UriVar string, ContextVar *AppLaunchContext) (bo
1673 var cerr *glib.Error1704 var cerr *glib.Error
1674 1705
1675 cret := xAppInfoLaunchDefaultForUri(UriVar, ContextVar.GoPointer(), &cerr)1706 cret := xAppInfoLaunchDefaultForUri(UriVar, ContextVar.GoPointer(), &cerr)
1707+
1676 if cerr == nil {1708 if cerr == nil {
1677 return cret, nil1709 return cret, nil
1678 }1710 }
@@ -1719,6 +1751,7 @@ func AppInfoLaunchDefaultForUriFinish(ResultVar AsyncResult) (bool, error) {
1719 var cerr *glib.Error1751 var cerr *glib.Error
1720 1752
1721 cret := xAppInfoLaunchDefaultForUriFinish(ResultVar.GoPointer(), &cerr)1753 cret := xAppInfoLaunchDefaultForUriFinish(ResultVar.GoPointer(), &cerr)
1754+
1722 if cerr == nil {1755 if cerr == nil {
1723 return cret, nil1756 return cret, nil
1724 }1757 }
@@ -1899,6 +1932,7 @@ var xAppLaunchContextGetDisplay func(uintptr, uintptr, *glib.List) string
1899 func (x *AppLaunchContext) GetDisplay(InfoVar AppInfo, FilesVar *glib.List) string {1932 func (x *AppLaunchContext) GetDisplay(InfoVar AppInfo, FilesVar *glib.List) string {
1900 1933
1901 cret := xAppLaunchContextGetDisplay(x.GoPointer(), InfoVar.GoPointer(), FilesVar)1934 cret := xAppLaunchContextGetDisplay(x.GoPointer(), InfoVar.GoPointer(), FilesVar)
1935+
1902 return cret1936 return cret
1903 }1937 }
1904 1938
@@ -1911,6 +1945,7 @@ var xAppLaunchContextGetEnvironment func(uintptr) []string
1911 func (x *AppLaunchContext) GetEnvironment() []string {1945 func (x *AppLaunchContext) GetEnvironment() []string {
1912 1946
1913 cret := xAppLaunchContextGetEnvironment(x.GoPointer())1947 cret := xAppLaunchContextGetEnvironment(x.GoPointer())
1948+
1914 return cret1949 return cret
1915 }1950 }
1916 1951
@@ -1934,6 +1969,7 @@ var xAppLaunchContextGetStartupNotifyId func(uintptr, uintptr, *glib.List) strin
1934 func (x *AppLaunchContext) GetStartupNotifyId(InfoVar AppInfo, FilesVar *glib.List) string {1969 func (x *AppLaunchContext) GetStartupNotifyId(InfoVar AppInfo, FilesVar *glib.List) string {
1935 1970
1936 cret := xAppLaunchContextGetStartupNotifyId(x.GoPointer(), InfoVar.GoPointer(), FilesVar)1971 cret := xAppLaunchContextGetStartupNotifyId(x.GoPointer(), InfoVar.GoPointer(), FilesVar)
1972+
1937 return cret1973 return cret
1938 }1974 }
1939 1975
M v4/gio/gapplication.go +61 -8
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -661,7 +662,11 @@ var xNewApplication func(uintptr, ApplicationFlags) uintptr
661 func NewApplication(ApplicationIdVar *string, FlagsVar ApplicationFlags) *Application {662 func NewApplication(ApplicationIdVar *string, FlagsVar ApplicationFlags) *Application {
662 var cls *Application663 var cls *Application
663 664
664- cret := xNewApplication(core.NullableStringToPtr(ApplicationIdVar), FlagsVar)665+ ApplicationIdVarPtr, ApplicationIdVarBytes := core.NullableStringToPtr(ApplicationIdVar)
666+
667+ cret := xNewApplication(ApplicationIdVarPtr, FlagsVar)
668+
669+ runtime.KeepAlive(ApplicationIdVarBytes)
665 670
666 if cret == 0 {671 if cret == 0 {
667 return nil672 return nil
@@ -702,7 +707,11 @@ var xApplicationAddMainOption func(uintptr, string, byte, glib.OptionFlags, glib
702 // See #GOptionEntry for more documentation of the arguments.707 // See #GOptionEntry for more documentation of the arguments.
703 func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar *string) {708 func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar *string) {
704 709
705- xApplicationAddMainOption(x.GoPointer(), LongNameVar, ShortNameVar, FlagsVar, ArgVar, DescriptionVar, core.NullableStringToPtr(ArgDescriptionVar))710+ ArgDescriptionVarPtr, ArgDescriptionVarBytes := core.NullableStringToPtr(ArgDescriptionVar)
711+
712+ xApplicationAddMainOption(x.GoPointer(), LongNameVar, ShortNameVar, FlagsVar, ArgVar, DescriptionVar, ArgDescriptionVarPtr)
713+
714+ runtime.KeepAlive(ArgDescriptionVarBytes)
706 715
707 }716 }
708 717
@@ -823,6 +832,7 @@ var xApplicationGetApplicationId func(uintptr) string
823 func (x *Application) GetApplicationId() string {832 func (x *Application) GetApplicationId() string {
824 833
825 cret := xApplicationGetApplicationId(x.GoPointer())834 cret := xApplicationGetApplicationId(x.GoPointer())
835+
826 return cret836 return cret
827 }837 }
828 838
@@ -874,6 +884,7 @@ var xApplicationGetDbusObjectPath func(uintptr) string
874 func (x *Application) GetDbusObjectPath() string {884 func (x *Application) GetDbusObjectPath() string {
875 885
876 cret := xApplicationGetDbusObjectPath(x.GoPointer())886 cret := xApplicationGetDbusObjectPath(x.GoPointer())
887+
877 return cret888 return cret
878 }889 }
879 890
@@ -885,6 +896,7 @@ var xApplicationGetFlags func(uintptr) ApplicationFlags
885 func (x *Application) GetFlags() ApplicationFlags {896 func (x *Application) GetFlags() ApplicationFlags {
886 897
887 cret := xApplicationGetFlags(x.GoPointer())898 cret := xApplicationGetFlags(x.GoPointer())
899+
888 return cret900 return cret
889 }901 }
890 902
@@ -897,6 +909,7 @@ var xApplicationGetInactivityTimeout func(uintptr) uint
897 func (x *Application) GetInactivityTimeout() uint {909 func (x *Application) GetInactivityTimeout() uint {
898 910
899 cret := xApplicationGetInactivityTimeout(x.GoPointer())911 cret := xApplicationGetInactivityTimeout(x.GoPointer())
912+
900 return cret913 return cret
901 }914 }
902 915
@@ -907,6 +920,7 @@ var xApplicationGetIsBusy func(uintptr) bool
907 func (x *Application) GetIsBusy() bool {920 func (x *Application) GetIsBusy() bool {
908 921
909 cret := xApplicationGetIsBusy(x.GoPointer())922 cret := xApplicationGetIsBusy(x.GoPointer())
923+
910 return cret924 return cret
911 }925 }
912 926
@@ -919,6 +933,7 @@ var xApplicationGetIsRegistered func(uintptr) bool
919 func (x *Application) GetIsRegistered() bool {933 func (x *Application) GetIsRegistered() bool {
920 934
921 cret := xApplicationGetIsRegistered(x.GoPointer())935 cret := xApplicationGetIsRegistered(x.GoPointer())
936+
922 return cret937 return cret
923 }938 }
924 939
@@ -937,6 +952,7 @@ var xApplicationGetIsRemote func(uintptr) bool
937 func (x *Application) GetIsRemote() bool {952 func (x *Application) GetIsRemote() bool {
938 953
939 cret := xApplicationGetIsRemote(x.GoPointer())954 cret := xApplicationGetIsRemote(x.GoPointer())
955+
940 return cret956 return cret
941 }957 }
942 958
@@ -948,6 +964,7 @@ var xApplicationGetResourceBasePath func(uintptr) string
948 func (x *Application) GetResourceBasePath() string {964 func (x *Application) GetResourceBasePath() string {
949 965
950 cret := xApplicationGetResourceBasePath(x.GoPointer())966 cret := xApplicationGetResourceBasePath(x.GoPointer())
967+
951 return cret968 return cret
952 }969 }
953 970
@@ -957,6 +974,7 @@ var xApplicationGetVersion func(uintptr) string
957 func (x *Application) GetVersion() string {974 func (x *Application) GetVersion() string {
958 975
959 cret := xApplicationGetVersion(x.GoPointer())976 cret := xApplicationGetVersion(x.GoPointer())
977+
960 return cret978 return cret
961 }979 }
962 980
@@ -1074,6 +1092,7 @@ func (x *Application) Register(CancellableVar *Cancellable) (bool, error) {
1074 var cerr *glib.Error1092 var cerr *glib.Error
1075 1093
1076 cret := xApplicationRegister(x.GoPointer(), CancellableVar.GoPointer(), &cerr)1094 cret := xApplicationRegister(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
1095+
1077 if cerr == nil {1096 if cerr == nil {
1078 return cret, nil1097 return cret, nil
1079 }1098 }
@@ -1175,6 +1194,7 @@ var xApplicationRun func(uintptr, int, []string) int
1175 func (x *Application) Run(ArgcVar int, ArgvVar []string) int {1194 func (x *Application) Run(ArgcVar int, ArgvVar []string) int {
1176 1195
1177 cret := xApplicationRun(x.GoPointer(), ArgcVar, ArgvVar)1196 cret := xApplicationRun(x.GoPointer(), ArgcVar, ArgvVar)
1197+
1178 return cret1198 return cret
1179 }1199 }
1180 1200
@@ -1211,7 +1231,11 @@ var xApplicationSendNotification func(uintptr, uintptr, uintptr)
1211 // application ID.1231 // application ID.
1212 func (x *Application) SendNotification(IdVar *string, NotificationVar *Notification) {1232 func (x *Application) SendNotification(IdVar *string, NotificationVar *Notification) {
1213 1233
1214- xApplicationSendNotification(x.GoPointer(), core.NullableStringToPtr(IdVar), NotificationVar.GoPointer())1234+ IdVarPtr, IdVarBytes := core.NullableStringToPtr(IdVar)
1235+
1236+ xApplicationSendNotification(x.GoPointer(), IdVarPtr, NotificationVar.GoPointer())
1237+
1238+ runtime.KeepAlive(IdVarBytes)
1215 1239
1216 }1240 }
1217 1241
@@ -1236,7 +1260,11 @@ var xApplicationSetApplicationId func(uintptr, uintptr)
1236 // g_application_id_is_valid().1260 // g_application_id_is_valid().
1237 func (x *Application) SetApplicationId(ApplicationIdVar *string) {1261 func (x *Application) SetApplicationId(ApplicationIdVar *string) {
1238 1262
1239- xApplicationSetApplicationId(x.GoPointer(), core.NullableStringToPtr(ApplicationIdVar))1263+ ApplicationIdVarPtr, ApplicationIdVarBytes := core.NullableStringToPtr(ApplicationIdVar)
1264+
1265+ xApplicationSetApplicationId(x.GoPointer(), ApplicationIdVarPtr)
1266+
1267+ runtime.KeepAlive(ApplicationIdVarBytes)
1240 1268
1241 }1269 }
1242 1270
@@ -1291,7 +1319,11 @@ var xApplicationSetOptionContextDescription func(uintptr, uintptr)
1291 // See g_option_context_set_description() for more information.1319 // See g_option_context_set_description() for more information.
1292 func (x *Application) SetOptionContextDescription(DescriptionVar *string) {1320 func (x *Application) SetOptionContextDescription(DescriptionVar *string) {
1293 1321
1294- xApplicationSetOptionContextDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar))1322+ DescriptionVarPtr, DescriptionVarBytes := core.NullableStringToPtr(DescriptionVar)
1323+
1324+ xApplicationSetOptionContextDescription(x.GoPointer(), DescriptionVarPtr)
1325+
1326+ runtime.KeepAlive(DescriptionVarBytes)
1295 1327
1296 }1328 }
1297 1329
@@ -1305,7 +1337,11 @@ var xApplicationSetOptionContextParameterString func(uintptr, uintptr)
1305 // See g_option_context_new() for more information about @parameter_string.1337 // See g_option_context_new() for more information about @parameter_string.
1306 func (x *Application) SetOptionContextParameterString(ParameterStringVar *string) {1338 func (x *Application) SetOptionContextParameterString(ParameterStringVar *string) {
1307 1339
1308- xApplicationSetOptionContextParameterString(x.GoPointer(), core.NullableStringToPtr(ParameterStringVar))1340+ ParameterStringVarPtr, ParameterStringVarBytes := core.NullableStringToPtr(ParameterStringVar)
1341+
1342+ xApplicationSetOptionContextParameterString(x.GoPointer(), ParameterStringVarPtr)
1343+
1344+ runtime.KeepAlive(ParameterStringVarBytes)
1309 1345
1310 }1346 }
1311 1347
@@ -1316,7 +1352,11 @@ var xApplicationSetOptionContextSummary func(uintptr, uintptr)
1316 // See g_option_context_set_summary() for more information.1352 // See g_option_context_set_summary() for more information.
1317 func (x *Application) SetOptionContextSummary(SummaryVar *string) {1353 func (x *Application) SetOptionContextSummary(SummaryVar *string) {
1318 1354
1319- xApplicationSetOptionContextSummary(x.GoPointer(), core.NullableStringToPtr(SummaryVar))1355+ SummaryVarPtr, SummaryVarBytes := core.NullableStringToPtr(SummaryVar)
1356+
1357+ xApplicationSetOptionContextSummary(x.GoPointer(), SummaryVarPtr)
1358+
1359+ runtime.KeepAlive(SummaryVarBytes)
1320 1360
1321 }1361 }
1322 1362
@@ -1357,7 +1397,11 @@ var xApplicationSetResourceBasePath func(uintptr, uintptr)
1357 // before chaining up to the parent implementation.1397 // before chaining up to the parent implementation.
1358 func (x *Application) SetResourceBasePath(ResourcePathVar *string) {1398 func (x *Application) SetResourceBasePath(ResourcePathVar *string) {
1359 1399
1360- xApplicationSetResourceBasePath(x.GoPointer(), core.NullableStringToPtr(ResourcePathVar))1400+ ResourcePathVarPtr, ResourcePathVarBytes := core.NullableStringToPtr(ResourcePathVar)
1401+
1402+ xApplicationSetResourceBasePath(x.GoPointer(), ResourcePathVarPtr)
1403+
1404+ runtime.KeepAlive(ResourcePathVarBytes)
1361 1405
1362 }1406 }
1363 1407
@@ -1814,6 +1858,7 @@ func (x *Application) ChangeActionState(ActionNameVar string, ValueVar *glib.Var
1814 func (x *Application) GetActionEnabled(ActionNameVar string) bool {1858 func (x *Application) GetActionEnabled(ActionNameVar string) bool {
1815 1859
1816 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)1860 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
1861+
1817 return cret1862 return cret
1818 }1863 }
1819 1864
@@ -1833,6 +1878,7 @@ func (x *Application) GetActionEnabled(ActionNameVar string) bool {
1833 func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType {1878 func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType {
1834 1879
1835 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)1880 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
1881+
1836 return cret1882 return cret
1837 }1883 }
1838 1884
@@ -1847,6 +1893,7 @@ func (x *Application) GetActionParameterType(ActionNameVar string) *glib.Variant
1847 func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {1893 func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {
1848 1894
1849 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)1895 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
1896+
1850 return cret1897 return cret
1851 }1898 }
1852 1899
@@ -1871,6 +1918,7 @@ func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {
1871 func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {1918 func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {
1872 1919
1873 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)1920 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
1921+
1874 return cret1922 return cret
1875 }1923 }
1876 1924
@@ -1893,6 +1941,7 @@ func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {
1893 func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType {1941 func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType {
1894 1942
1895 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)1943 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
1944+
1896 return cret1945 return cret
1897 }1946 }
1898 1947
@@ -1900,6 +1949,7 @@ func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType
1900 func (x *Application) HasAction(ActionNameVar string) bool {1949 func (x *Application) HasAction(ActionNameVar string) bool {
1901 1950
1902 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)1951 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
1952+
1903 return cret1953 return cret
1904 }1954 }
1905 1955
@@ -1910,6 +1960,7 @@ func (x *Application) HasAction(ActionNameVar string) bool {
1910 func (x *Application) ListActions() []string {1960 func (x *Application) ListActions() []string {
1911 1961
1912 cret := XGActionGroupListActions(x.GoPointer())1962 cret := XGActionGroupListActions(x.GoPointer())
1963+
1913 return cret1964 return cret
1914 }1965 }
1915 1966
@@ -1943,6 +1994,7 @@ func (x *Application) ListActions() []string {
1943 func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {1994 func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
1944 1995
1945 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)1996 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
1997+
1946 return cret1998 return cret
1947 }1999 }
1948 2000
@@ -2137,6 +2189,7 @@ var xApplicationIdIsValid func(string) bool
2137 func ApplicationIdIsValid(ApplicationIdVar string) bool {2189 func ApplicationIdIsValid(ApplicationIdVar string) bool {
2138 2190
2139 cret := xApplicationIdIsValid(ApplicationIdVar)2191 cret := xApplicationIdIsValid(ApplicationIdVar)
2192+
2140 return cret2193 return cret
2141 }2194 }
2142 2195
M v4/gio/gapplicationcommandline.go +8 -0
@@ -399,6 +399,7 @@ var xApplicationCommandLineGetArguments func(uintptr, *int) []string
399 func (x *ApplicationCommandLine) GetArguments(ArgcVar *int) []string {399 func (x *ApplicationCommandLine) GetArguments(ArgcVar *int) []string {
400 400
401 cret := xApplicationCommandLineGetArguments(x.GoPointer(), ArgcVar)401 cret := xApplicationCommandLineGetArguments(x.GoPointer(), ArgcVar)
402+
402 return cret403 return cret
403 }404 }
404 405
@@ -415,6 +416,7 @@ var xApplicationCommandLineGetCwd func(uintptr) string
415 func (x *ApplicationCommandLine) GetCwd() string {416 func (x *ApplicationCommandLine) GetCwd() string {
416 417
417 cret := xApplicationCommandLineGetCwd(x.GoPointer())418 cret := xApplicationCommandLineGetCwd(x.GoPointer())
419+
418 return cret420 return cret
419 }421 }
420 422
@@ -438,6 +440,7 @@ var xApplicationCommandLineGetEnviron func(uintptr) []string
438 func (x *ApplicationCommandLine) GetEnviron() []string {440 func (x *ApplicationCommandLine) GetEnviron() []string {
439 441
440 cret := xApplicationCommandLineGetEnviron(x.GoPointer())442 cret := xApplicationCommandLineGetEnviron(x.GoPointer())
443+
441 return cret444 return cret
442 }445 }
443 446
@@ -448,6 +451,7 @@ var xApplicationCommandLineGetExitStatus func(uintptr) int
448 func (x *ApplicationCommandLine) GetExitStatus() int {451 func (x *ApplicationCommandLine) GetExitStatus() int {
449 452
450 cret := xApplicationCommandLineGetExitStatus(x.GoPointer())453 cret := xApplicationCommandLineGetExitStatus(x.GoPointer())
454+
451 return cret455 return cret
452 }456 }
453 457
@@ -457,6 +461,7 @@ var xApplicationCommandLineGetIsRemote func(uintptr) bool
457 func (x *ApplicationCommandLine) GetIsRemote() bool {461 func (x *ApplicationCommandLine) GetIsRemote() bool {
458 462
459 cret := xApplicationCommandLineGetIsRemote(x.GoPointer())463 cret := xApplicationCommandLineGetIsRemote(x.GoPointer())
464+
460 return cret465 return cret
461 }466 }
462 467
@@ -477,6 +482,7 @@ var xApplicationCommandLineGetOptionsDict func(uintptr) *glib.VariantDict
477 func (x *ApplicationCommandLine) GetOptionsDict() *glib.VariantDict {482 func (x *ApplicationCommandLine) GetOptionsDict() *glib.VariantDict {
478 483
479 cret := xApplicationCommandLineGetOptionsDict(x.GoPointer())484 cret := xApplicationCommandLineGetOptionsDict(x.GoPointer())
485+
480 return cret486 return cret
481 }487 }
482 488
@@ -496,6 +502,7 @@ var xApplicationCommandLineGetPlatformData func(uintptr) *glib.Variant
496 func (x *ApplicationCommandLine) GetPlatformData() *glib.Variant {502 func (x *ApplicationCommandLine) GetPlatformData() *glib.Variant {
497 503
498 cret := xApplicationCommandLineGetPlatformData(x.GoPointer())504 cret := xApplicationCommandLineGetPlatformData(x.GoPointer())
505+
499 return cret506 return cret
500 }507 }
501 508
@@ -540,6 +547,7 @@ var xApplicationCommandLineGetenv func(uintptr, string) string
540 func (x *ApplicationCommandLine) Getenv(NameVar string) string {547 func (x *ApplicationCommandLine) Getenv(NameVar string) string {
541 548
542 cret := xApplicationCommandLineGetenv(x.GoPointer(), NameVar)549 cret := xApplicationCommandLineGetenv(x.GoPointer(), NameVar)
550+
543 return cret551 return cret
544 }552 }
545 553
M v4/gio/gasyncinitable.go +1 -0
@@ -265,6 +265,7 @@ func (x *AsyncInitableBase) InitFinish(ResVar AsyncResult) (bool, error) {
265 var cerr *glib.Error265 var cerr *glib.Error
266 266
267 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)267 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
268+
268 if cerr == nil {269 if cerr == nil {
269 return cret, nil270 return cret, nil
270 }271 }
M v4/gio/gasyncresult.go +3 -0
@@ -253,6 +253,7 @@ func (x *AsyncResultBase) GetSourceObject() *gobject.Object {
253 func (x *AsyncResultBase) GetUserData() uintptr {253 func (x *AsyncResultBase) GetUserData() uintptr {
254 254
255 cret := XGAsyncResultGetUserData(x.GoPointer())255 cret := XGAsyncResultGetUserData(x.GoPointer())
256+
256 return cret257 return cret
257 }258 }
258 259
@@ -261,6 +262,7 @@ func (x *AsyncResultBase) GetUserData() uintptr {
261 func (x *AsyncResultBase) IsTagged(SourceTagVar uintptr) bool {262 func (x *AsyncResultBase) IsTagged(SourceTagVar uintptr) bool {
262 263
263 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)264 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
265+
264 return cret266 return cret
265 }267 }
266 268
@@ -278,6 +280,7 @@ func (x *AsyncResultBase) LegacyPropagateError() (bool, error) {
278 var cerr *glib.Error280 var cerr *glib.Error
279 281
280 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())282 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())
283+
281 if cerr == nil {284 if cerr == nil {
282 return cret, nil285 return cret, nil
283 }286 }
M v4/gio/gbufferedinputstream.go +12 -0
@@ -324,6 +324,7 @@ func (x *BufferedInputStream) Fill(CountVar int, CancellableVar *Cancellable) (i
324 var cerr *glib.Error324 var cerr *glib.Error
325 325
326 cret := xBufferedInputStreamFill(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)326 cret := xBufferedInputStreamFill(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)
327+
327 if cerr == nil {328 if cerr == nil {
328 return cret, nil329 return cret, nil
329 }330 }
@@ -367,6 +368,7 @@ func (x *BufferedInputStream) FillFinish(ResultVar AsyncResult) (int, error) {
367 var cerr *glib.Error368 var cerr *glib.Error
368 369
369 cret := xBufferedInputStreamFillFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)370 cret := xBufferedInputStreamFillFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
371+
370 if cerr == nil {372 if cerr == nil {
371 return cret, nil373 return cret, nil
372 }374 }
@@ -380,6 +382,7 @@ var xBufferedInputStreamGetAvailable func(uintptr) uint
380 func (x *BufferedInputStream) GetAvailable() uint {382 func (x *BufferedInputStream) GetAvailable() uint {
381 383
382 cret := xBufferedInputStreamGetAvailable(x.GoPointer())384 cret := xBufferedInputStreamGetAvailable(x.GoPointer())
385+
383 return cret386 return cret
384 }387 }
385 388
@@ -389,6 +392,7 @@ var xBufferedInputStreamGetBufferSize func(uintptr) uint
389 func (x *BufferedInputStream) GetBufferSize() uint {392 func (x *BufferedInputStream) GetBufferSize() uint {
390 393
391 cret := xBufferedInputStreamGetBufferSize(x.GoPointer())394 cret := xBufferedInputStreamGetBufferSize(x.GoPointer())
395+
392 return cret396 return cret
393 }397 }
394 398
@@ -399,6 +403,7 @@ var xBufferedInputStreamPeek func(uintptr, []byte, uint, uint) uint
399 func (x *BufferedInputStream) Peek(BufferVar []byte, OffsetVar uint, CountVar uint) uint {403 func (x *BufferedInputStream) Peek(BufferVar []byte, OffsetVar uint, CountVar uint) uint {
400 404
401 cret := xBufferedInputStreamPeek(x.GoPointer(), BufferVar, OffsetVar, CountVar)405 cret := xBufferedInputStreamPeek(x.GoPointer(), BufferVar, OffsetVar, CountVar)
406+
402 return cret407 return cret
403 }408 }
404 409
@@ -410,6 +415,7 @@ var xBufferedInputStreamPeekBuffer func(uintptr, *uint) uintptr
410 func (x *BufferedInputStream) PeekBuffer(CountVar *uint) uintptr {415 func (x *BufferedInputStream) PeekBuffer(CountVar *uint) uintptr {
411 416
412 cret := xBufferedInputStreamPeekBuffer(x.GoPointer(), CountVar)417 cret := xBufferedInputStreamPeekBuffer(x.GoPointer(), CountVar)
418+
413 return cret419 return cret
414 }420 }
415 421
@@ -432,6 +438,7 @@ func (x *BufferedInputStream) ReadByte(CancellableVar *Cancellable) (int, error)
432 var cerr *glib.Error438 var cerr *glib.Error
433 439
434 cret := xBufferedInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr)440 cret := xBufferedInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
441+
435 if cerr == nil {442 if cerr == nil {
436 return cret, nil443 return cret, nil
437 }444 }
@@ -482,6 +489,7 @@ func (x *BufferedInputStream) GetPropertyBufferSize() uint {
482 func (x *BufferedInputStream) CanSeek() bool {489 func (x *BufferedInputStream) CanSeek() bool {
483 490
484 cret := XGSeekableCanSeek(x.GoPointer())491 cret := XGSeekableCanSeek(x.GoPointer())
492+
485 return cret493 return cret
486 }494 }
487 495
@@ -490,6 +498,7 @@ func (x *BufferedInputStream) CanSeek() bool {
490 func (x *BufferedInputStream) CanTruncate() bool {498 func (x *BufferedInputStream) CanTruncate() bool {
491 499
492 cret := XGSeekableCanTruncate(x.GoPointer())500 cret := XGSeekableCanTruncate(x.GoPointer())
501+
493 return cret502 return cret
494 }503 }
495 504
@@ -511,6 +520,7 @@ func (x *BufferedInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cance
511 var cerr *glib.Error520 var cerr *glib.Error
512 521
513 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)522 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
523+
514 if cerr == nil {524 if cerr == nil {
515 return cret, nil525 return cret, nil
516 }526 }
@@ -522,6 +532,7 @@ func (x *BufferedInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cance
522 func (x *BufferedInputStream) Tell() int64 {532 func (x *BufferedInputStream) Tell() int64 {
523 533
524 cret := XGSeekableTell(x.GoPointer())534 cret := XGSeekableTell(x.GoPointer())
535+
525 return cret536 return cret
526 }537 }
527 538
@@ -538,6 +549,7 @@ func (x *BufferedInputStream) Truncate(OffsetVar int64, CancellableVar *Cancella
538 var cerr *glib.Error549 var cerr *glib.Error
539 550
540 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)551 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
552+
541 if cerr == nil {553 if cerr == nil {
542 return cret, nil554 return cret, nil
543 }555 }
M v4/gio/gbufferedoutputstream.go +7 -0
@@ -147,6 +147,7 @@ var xBufferedOutputStreamGetAutoGrow func(uintptr) bool
147 func (x *BufferedOutputStream) GetAutoGrow() bool {147 func (x *BufferedOutputStream) GetAutoGrow() bool {
148 148
149 cret := xBufferedOutputStreamGetAutoGrow(x.GoPointer())149 cret := xBufferedOutputStreamGetAutoGrow(x.GoPointer())
150+
150 return cret151 return cret
151 }152 }
152 153
@@ -156,6 +157,7 @@ var xBufferedOutputStreamGetBufferSize func(uintptr) uint
156 func (x *BufferedOutputStream) GetBufferSize() uint {157 func (x *BufferedOutputStream) GetBufferSize() uint {
157 158
158 cret := xBufferedOutputStreamGetBufferSize(x.GoPointer())159 cret := xBufferedOutputStreamGetBufferSize(x.GoPointer())
160+
159 return cret161 return cret
160 }162 }
161 163
@@ -229,6 +231,7 @@ func (x *BufferedOutputStream) GetPropertyBufferSize() uint {
229 func (x *BufferedOutputStream) CanSeek() bool {231 func (x *BufferedOutputStream) CanSeek() bool {
230 232
231 cret := XGSeekableCanSeek(x.GoPointer())233 cret := XGSeekableCanSeek(x.GoPointer())
234+
232 return cret235 return cret
233 }236 }
234 237
@@ -237,6 +240,7 @@ func (x *BufferedOutputStream) CanSeek() bool {
237 func (x *BufferedOutputStream) CanTruncate() bool {240 func (x *BufferedOutputStream) CanTruncate() bool {
238 241
239 cret := XGSeekableCanTruncate(x.GoPointer())242 cret := XGSeekableCanTruncate(x.GoPointer())
243+
240 return cret244 return cret
241 }245 }
242 246
@@ -258,6 +262,7 @@ func (x *BufferedOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Canc
258 var cerr *glib.Error262 var cerr *glib.Error
259 263
260 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)264 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
265+
261 if cerr == nil {266 if cerr == nil {
262 return cret, nil267 return cret, nil
263 }268 }
@@ -269,6 +274,7 @@ func (x *BufferedOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Canc
269 func (x *BufferedOutputStream) Tell() int64 {274 func (x *BufferedOutputStream) Tell() int64 {
270 275
271 cret := XGSeekableTell(x.GoPointer())276 cret := XGSeekableTell(x.GoPointer())
277+
272 return cret278 return cret
273 }279 }
274 280
@@ -285,6 +291,7 @@ func (x *BufferedOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancell
285 var cerr *glib.Error291 var cerr *glib.Error
286 292
287 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)293 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
294+
288 if cerr == nil {295 if cerr == nil {
289 return cret, nil296 return cret, nil
290 }297 }
M v4/gio/gbytesicon.go +5 -0
@@ -52,6 +52,7 @@ var xBytesIconGetBytes func(uintptr) *glib.Bytes
52 func (x *BytesIcon) GetBytes() *glib.Bytes {52 func (x *BytesIcon) GetBytes() *glib.Bytes {
53 53
54 cret := xBytesIconGetBytes(x.GoPointer())54 cret := xBytesIconGetBytes(x.GoPointer())
55+
55 return cret56 return cret
56 }57 }
57 58
@@ -87,6 +88,7 @@ func (x *BytesIcon) GetPropertyBytes() uintptr {
87 func (x *BytesIcon) Equal(Icon2Var Icon) bool {88 func (x *BytesIcon) Equal(Icon2Var Icon) bool {
88 89
89 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())90 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
91+
90 return cret92 return cret
91 }93 }
92 94
@@ -94,6 +96,7 @@ func (x *BytesIcon) Equal(Icon2Var Icon) bool {
94 func (x *BytesIcon) Hash() uint {96 func (x *BytesIcon) Hash() uint {
95 97
96 cret := XGIconHash(x.GoPointer())98 cret := XGIconHash(x.GoPointer())
99+
97 return cret100 return cret
98 }101 }
99 102
@@ -105,6 +108,7 @@ func (x *BytesIcon) Hash() uint {
105 func (x *BytesIcon) Serialize() *glib.Variant {108 func (x *BytesIcon) Serialize() *glib.Variant {
106 109
107 cret := XGIconSerialize(x.GoPointer())110 cret := XGIconSerialize(x.GoPointer())
111+
108 return cret112 return cret
109 }113 }
110 114
@@ -127,6 +131,7 @@ func (x *BytesIcon) Serialize() *glib.Variant {
127 func (x *BytesIcon) ToString() string {131 func (x *BytesIcon) ToString() string {
128 132
129 cret := XGIconToString(x.GoPointer())133 cret := XGIconToString(x.GoPointer())
134+
130 return cret135 return cret
131 }136 }
132 137
M v4/gio/gcancellable.go +6 -0
@@ -321,6 +321,7 @@ func (x *Cancellable) Connect(CallbackVar *gobject.Callback, DataVar uintptr, Da
321 }321 }
322 322
323 cret := xCancellableConnect(x.GoPointer(), CallbackVarRef, DataVar, DataDestroyFuncVarRef)323 cret := xCancellableConnect(x.GoPointer(), CallbackVarRef, DataVar, DataDestroyFuncVarRef)
324+
324 return cret325 return cret
325 }326 }
326 327
@@ -364,6 +365,7 @@ var xCancellableGetFd func(uintptr) int
364 func (x *Cancellable) GetFd() int {365 func (x *Cancellable) GetFd() int {
365 366
366 cret := xCancellableGetFd(x.GoPointer())367 cret := xCancellableGetFd(x.GoPointer())
368+
367 return cret369 return cret
368 }370 }
369 371
@@ -373,6 +375,7 @@ var xCancellableIsCancelled func(uintptr) bool
373 func (x *Cancellable) IsCancelled() bool {375 func (x *Cancellable) IsCancelled() bool {
374 376
375 cret := xCancellableIsCancelled(x.GoPointer())377 cret := xCancellableIsCancelled(x.GoPointer())
378+
376 return cret379 return cret
377 }380 }
378 381
@@ -404,6 +407,7 @@ var xCancellableMakePollfd func(uintptr, *glib.PollFD) bool
404 func (x *Cancellable) MakePollfd(PollfdVar *glib.PollFD) bool {407 func (x *Cancellable) MakePollfd(PollfdVar *glib.PollFD) bool {
405 408
406 cret := xCancellableMakePollfd(x.GoPointer(), PollfdVar)409 cret := xCancellableMakePollfd(x.GoPointer(), PollfdVar)
410+
407 return cret411 return cret
408 }412 }
409 413
@@ -487,6 +491,7 @@ func (x *Cancellable) SetErrorIfCancelled() (bool, error) {
487 var cerr *glib.Error491 var cerr *glib.Error
488 492
489 cret := xCancellableSetErrorIfCancelled(x.GoPointer())493 cret := xCancellableSetErrorIfCancelled(x.GoPointer())
494+
490 if cerr == nil {495 if cerr == nil {
491 return cret, nil496 return cret, nil
492 }497 }
@@ -508,6 +513,7 @@ var xCancellableSourceNew func(uintptr) *glib.Source
508 func (x *Cancellable) SourceNew() *glib.Source {513 func (x *Cancellable) SourceNew() *glib.Source {
509 514
510 cret := xCancellableSourceNew(x.GoPointer())515 cret := xCancellableSourceNew(x.GoPointer())
516+
511 return cret517 return cret
512 }518 }
513 519
M v4/gio/gcharsetconverter.go +5 -0
@@ -67,6 +67,7 @@ var xCharsetConverterGetNumFallbacks func(uintptr) uint
67 func (x *CharsetConverter) GetNumFallbacks() uint {67 func (x *CharsetConverter) GetNumFallbacks() uint {
68 68
69 cret := xCharsetConverterGetNumFallbacks(x.GoPointer())69 cret := xCharsetConverterGetNumFallbacks(x.GoPointer())
70+
70 return cret71 return cret
71 }72 }
72 73
@@ -76,6 +77,7 @@ var xCharsetConverterGetUseFallback func(uintptr) bool
76 func (x *CharsetConverter) GetUseFallback() bool {77 func (x *CharsetConverter) GetUseFallback() bool {
77 78
78 cret := xCharsetConverterGetUseFallback(x.GoPointer())79 cret := xCharsetConverterGetUseFallback(x.GoPointer())
80+
79 return cret81 return cret
80 }82 }
81 83
@@ -236,6 +238,7 @@ func (x *CharsetConverter) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar
236 var cerr *glib.Error238 var cerr *glib.Error
237 239
238 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)240 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
241+
239 if cerr == nil {242 if cerr == nil {
240 return cret, nil243 return cret, nil
241 }244 }
@@ -248,6 +251,7 @@ func (x *CharsetConverter) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, erro
248 var cerr *glib.Error251 var cerr *glib.Error
249 252
250 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)253 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)
254+
251 if cerr == nil {255 if cerr == nil {
252 return cret, nil256 return cret, nil
253 }257 }
@@ -306,6 +310,7 @@ func (x *CharsetConverter) Init(CancellableVar *Cancellable) (bool, error) {
306 var cerr *glib.Error310 var cerr *glib.Error
307 311
308 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)312 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
313+
309 if cerr == nil {314 if cerr == nil {
310 return cret, nil315 return cret, nil
311 }316 }
M v4/gio/gcontenttype.go +20 -1
@@ -2,6 +2,8 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -14,6 +16,7 @@ var xContentTypeCanBeExecutable func(string) bool
14 func ContentTypeCanBeExecutable(TypeVar string) bool {16 func ContentTypeCanBeExecutable(TypeVar string) bool {
15 17
16 cret := xContentTypeCanBeExecutable(TypeVar)18 cret := xContentTypeCanBeExecutable(TypeVar)
19+
17 return cret20 return cret
18 }21 }
19 22
@@ -23,6 +26,7 @@ var xContentTypeEquals func(string, string) bool
23 func ContentTypeEquals(Type1Var string, Type2Var string) bool {26 func ContentTypeEquals(Type1Var string, Type2Var string) bool {
24 27
25 cret := xContentTypeEquals(Type1Var, Type2Var)28 cret := xContentTypeEquals(Type1Var, Type2Var)
29+
26 return cret30 return cret
27 }31 }
28 32
@@ -32,6 +36,7 @@ var xContentTypeFromMimeType func(string) string
32 func ContentTypeFromMimeType(MimeTypeVar string) string {36 func ContentTypeFromMimeType(MimeTypeVar string) string {
33 37
34 cret := xContentTypeFromMimeType(MimeTypeVar)38 cret := xContentTypeFromMimeType(MimeTypeVar)
39+
35 return cret40 return cret
36 }41 }
37 42
@@ -41,6 +46,7 @@ var xContentTypeGetDescription func(string) string
41 func ContentTypeGetDescription(TypeVar string) string {46 func ContentTypeGetDescription(TypeVar string) string {
42 47
43 cret := xContentTypeGetDescription(TypeVar)48 cret := xContentTypeGetDescription(TypeVar)
49+
44 return cret50 return cret
45 }51 }
46 52
@@ -54,6 +60,7 @@ var xContentTypeGetGenericIconName func(string) string
54 func ContentTypeGetGenericIconName(TypeVar string) string {60 func ContentTypeGetGenericIconName(TypeVar string) string {
55 61
56 cret := xContentTypeGetGenericIconName(TypeVar)62 cret := xContentTypeGetGenericIconName(TypeVar)
63+
57 return cret64 return cret
58 }65 }
59 66
@@ -80,6 +87,7 @@ var xContentTypeGetMimeDirs func() []string
80 func ContentTypeGetMimeDirs() []string {87 func ContentTypeGetMimeDirs() []string {
81 88
82 cret := xContentTypeGetMimeDirs()89 cret := xContentTypeGetMimeDirs()
90+
83 return cret91 return cret
84 }92 }
85 93
@@ -89,6 +97,7 @@ var xContentTypeGetMimeType func(string) string
89 func ContentTypeGetMimeType(TypeVar string) string {97 func ContentTypeGetMimeType(TypeVar string) string {
90 98
91 cret := xContentTypeGetMimeType(TypeVar)99 cret := xContentTypeGetMimeType(TypeVar)
100+
92 return cret101 return cret
93 }102 }
94 103
@@ -116,7 +125,12 @@ var xContentTypeGuess func(uintptr, []byte, uint, *bool) string
116 // on the other argument.125 // on the other argument.
117 func ContentTypeGuess(FilenameVar *string, DataVar []byte, DataSizeVar uint, ResultUncertainVar *bool) string {126 func ContentTypeGuess(FilenameVar *string, DataVar []byte, DataSizeVar uint, ResultUncertainVar *bool) string {
118 127
119- cret := xContentTypeGuess(core.NullableStringToPtr(FilenameVar), DataVar, DataSizeVar, ResultUncertainVar)128+ FilenameVarPtr, FilenameVarBytes := core.NullableStringToPtr(FilenameVar)
129+
130+ cret := xContentTypeGuess(FilenameVarPtr, DataVar, DataSizeVar, ResultUncertainVar)
131+
132+ runtime.KeepAlive(FilenameVarBytes)
133+
120 return cret134 return cret
121 }135 }
122 136
@@ -137,6 +151,7 @@ var xContentTypeGuessForTree func(uintptr) []string
137 func ContentTypeGuessForTree(RootVar File) []string {151 func ContentTypeGuessForTree(RootVar File) []string {
138 152
139 cret := xContentTypeGuessForTree(RootVar.GoPointer())153 cret := xContentTypeGuessForTree(RootVar.GoPointer())
154+
140 return cret155 return cret
141 }156 }
142 157
@@ -146,6 +161,7 @@ var xContentTypeIsA func(string, string) bool
146 func ContentTypeIsA(TypeVar string, SupertypeVar string) bool {161 func ContentTypeIsA(TypeVar string, SupertypeVar string) bool {
147 162
148 cret := xContentTypeIsA(TypeVar, SupertypeVar)163 cret := xContentTypeIsA(TypeVar, SupertypeVar)
164+
149 return cret165 return cret
150 }166 }
151 167
@@ -156,6 +172,7 @@ var xContentTypeIsMimeType func(string, string) bool
156 func ContentTypeIsMimeType(TypeVar string, MimeTypeVar string) bool {172 func ContentTypeIsMimeType(TypeVar string, MimeTypeVar string) bool {
157 173
158 cret := xContentTypeIsMimeType(TypeVar, MimeTypeVar)174 cret := xContentTypeIsMimeType(TypeVar, MimeTypeVar)
175+
159 return cret176 return cret
160 }177 }
161 178
@@ -168,6 +185,7 @@ var xContentTypeIsUnknown func(string) bool
168 func ContentTypeIsUnknown(TypeVar string) bool {185 func ContentTypeIsUnknown(TypeVar string) bool {
169 186
170 cret := xContentTypeIsUnknown(TypeVar)187 cret := xContentTypeIsUnknown(TypeVar)
188+
171 return cret189 return cret
172 }190 }
173 191
@@ -212,6 +230,7 @@ var xContentTypesGetRegistered func() *glib.List
212 func ContentTypesGetRegistered() *glib.List {230 func ContentTypesGetRegistered() *glib.List {
213 231
214 cret := xContentTypesGetRegistered()232 cret := xContentTypesGetRegistered()
233+
215 return cret234 return cret
216 }235 }
217 236
M v4/gio/gconverter.go +2 -0
@@ -202,6 +202,7 @@ func (x *ConverterBase) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar []
202 var cerr *glib.Error202 var cerr *glib.Error
203 203
204 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)204 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
205+
205 if cerr == nil {206 if cerr == nil {
206 return cret, nil207 return cret, nil
207 }208 }
@@ -214,6 +215,7 @@ func (x *ConverterBase) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, error)
214 var cerr *glib.Error215 var cerr *glib.Error
215 216
216 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)217 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)
218+
217 if cerr == nil {219 if cerr == nil {
218 return cret, nil220 return cret, nil
219 }221 }
M v4/gio/gconverterinputstream.go +4 -0
@@ -230,6 +230,7 @@ func (c *ConverterInputStream) SetGoPointer(ptr uintptr) {
230 func (x *ConverterInputStream) CanPoll() bool {230 func (x *ConverterInputStream) CanPoll() bool {
231 231
232 cret := XGPollableInputStreamCanPoll(x.GoPointer())232 cret := XGPollableInputStreamCanPoll(x.GoPointer())
233+
233 return cret234 return cret
234 }235 }
235 236
@@ -247,6 +248,7 @@ func (x *ConverterInputStream) CanPoll() bool {
247 func (x *ConverterInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {248 func (x *ConverterInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {
248 249
249 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())250 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
251+
250 return cret252 return cret
251 }253 }
252 254
@@ -264,6 +266,7 @@ func (x *ConverterInputStream) CreateSource(CancellableVar *Cancellable) *glib.S
264 func (x *ConverterInputStream) IsReadable() bool {266 func (x *ConverterInputStream) IsReadable() bool {
265 267
266 cret := XGPollableInputStreamIsReadable(x.GoPointer())268 cret := XGPollableInputStreamIsReadable(x.GoPointer())
269+
267 return cret270 return cret
268 }271 }
269 272
@@ -285,6 +288,7 @@ func (x *ConverterInputStream) ReadNonblocking(BufferVar *[]byte, CountVar uint,
285 var cerr *glib.Error288 var cerr *glib.Error
286 289
287 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)290 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
291+
288 if cerr == nil {292 if cerr == nil {
289 return cret, nil293 return cret, nil
290 }294 }
M v4/gio/gconverteroutputstream.go +5 -0
@@ -230,6 +230,7 @@ func (c *ConverterOutputStream) SetGoPointer(ptr uintptr) {
230 func (x *ConverterOutputStream) CanPoll() bool {230 func (x *ConverterOutputStream) CanPoll() bool {
231 231
232 cret := XGPollableOutputStreamCanPoll(x.GoPointer())232 cret := XGPollableOutputStreamCanPoll(x.GoPointer())
233+
233 return cret234 return cret
234 }235 }
235 236
@@ -247,6 +248,7 @@ func (x *ConverterOutputStream) CanPoll() bool {
247 func (x *ConverterOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {248 func (x *ConverterOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {
248 249
249 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())250 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
251+
250 return cret252 return cret
251 }253 }
252 254
@@ -264,6 +266,7 @@ func (x *ConverterOutputStream) CreateSource(CancellableVar *Cancellable) *glib.
264 func (x *ConverterOutputStream) IsWritable() bool {266 func (x *ConverterOutputStream) IsWritable() bool {
265 267
266 cret := XGPollableOutputStreamIsWritable(x.GoPointer())268 cret := XGPollableOutputStreamIsWritable(x.GoPointer())
269+
267 return cret270 return cret
268 }271 }
269 272
@@ -289,6 +292,7 @@ func (x *ConverterOutputStream) WriteNonblocking(BufferVar []byte, CountVar uint
289 var cerr *glib.Error292 var cerr *glib.Error
290 293
291 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)294 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
295+
292 if cerr == nil {296 if cerr == nil {
293 return cret, nil297 return cret, nil
294 }298 }
@@ -319,6 +323,7 @@ func (x *ConverterOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVe
319 var cerr *glib.Error323 var cerr *glib.Error
320 324
321 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)325 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
326+
322 if cerr == nil {327 if cerr == nil {
323 return cret, nil328 return cret, nil
324 }329 }
M v4/gio/gcredentials.go +6 -0
@@ -100,6 +100,7 @@ var xCredentialsGetNative func(uintptr, CredentialsType) uintptr
100 func (x *Credentials) GetNative(NativeTypeVar CredentialsType) uintptr {100 func (x *Credentials) GetNative(NativeTypeVar CredentialsType) uintptr {
101 101
102 cret := xCredentialsGetNative(x.GoPointer(), NativeTypeVar)102 cret := xCredentialsGetNative(x.GoPointer(), NativeTypeVar)
103+
103 return cret104 return cret
104 }105 }
105 106
@@ -115,6 +116,7 @@ func (x *Credentials) GetUnixPid() (int, error) {
115 var cerr *glib.Error116 var cerr *glib.Error
116 117
117 cret := xCredentialsGetUnixPid(x.GoPointer())118 cret := xCredentialsGetUnixPid(x.GoPointer())
119+
118 if cerr == nil {120 if cerr == nil {
119 return cret, nil121 return cret, nil
120 }122 }
@@ -134,6 +136,7 @@ func (x *Credentials) GetUnixUser() (uint, error) {
134 var cerr *glib.Error136 var cerr *glib.Error
135 137
136 cret := xCredentialsGetUnixUser(x.GoPointer())138 cret := xCredentialsGetUnixUser(x.GoPointer())
139+
137 if cerr == nil {140 if cerr == nil {
138 return cret, nil141 return cret, nil
139 }142 }
@@ -151,6 +154,7 @@ func (x *Credentials) IsSameUser(OtherCredentialsVar *Credentials) (bool, error)
151 var cerr *glib.Error154 var cerr *glib.Error
152 155
153 cret := xCredentialsIsSameUser(x.GoPointer(), OtherCredentialsVar.GoPointer(), &cerr)156 cret := xCredentialsIsSameUser(x.GoPointer(), OtherCredentialsVar.GoPointer(), &cerr)
157+
154 if cerr == nil {158 if cerr == nil {
155 return cret, nil159 return cret, nil
156 }160 }
@@ -185,6 +189,7 @@ func (x *Credentials) SetUnixUser(UidVar uint) (bool, error) {
185 var cerr *glib.Error189 var cerr *glib.Error
186 190
187 cret := xCredentialsSetUnixUser(x.GoPointer(), UidVar, &cerr)191 cret := xCredentialsSetUnixUser(x.GoPointer(), UidVar, &cerr)
192+
188 if cerr == nil {193 if cerr == nil {
189 return cret, nil194 return cret, nil
190 }195 }
@@ -200,6 +205,7 @@ var xCredentialsToString func(uintptr) string
200 func (x *Credentials) ToString() string {205 func (x *Credentials) ToString() string {
201 206
202 cret := xCredentialsToString(x.GoPointer())207 cret := xCredentialsToString(x.GoPointer())
208+
203 return cret209 return cret
204 }210 }
205 211
M v4/gio/gdatagrambased.go +5 -0
@@ -284,6 +284,7 @@ func (x *DatagramBasedBase) SetGoPointer(ptr uintptr) {
284 func (x *DatagramBasedBase) ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition {284 func (x *DatagramBasedBase) ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition {
285 285
286 cret := XGDatagramBasedConditionCheck(x.GoPointer(), ConditionVar)286 cret := XGDatagramBasedConditionCheck(x.GoPointer(), ConditionVar)
287+
287 return cret288 return cret
288 }289 }
289 290
@@ -297,6 +298,7 @@ func (x *DatagramBasedBase) ConditionWait(ConditionVar glib.IOCondition, Timeout
297 var cerr *glib.Error298 var cerr *glib.Error
298 299
299 cret := XGDatagramBasedConditionWait(x.GoPointer(), ConditionVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)300 cret := XGDatagramBasedConditionWait(x.GoPointer(), ConditionVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
301+
300 if cerr == nil {302 if cerr == nil {
301 return cret, nil303 return cret, nil
302 }304 }
@@ -321,6 +323,7 @@ func (x *DatagramBasedBase) ConditionWait(ConditionVar glib.IOCondition, Timeout
321 func (x *DatagramBasedBase) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source {323 func (x *DatagramBasedBase) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source {
322 324
323 cret := XGDatagramBasedCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer())325 cret := XGDatagramBasedCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer())
326+
324 return cret327 return cret
325 }328 }
326 329
@@ -378,6 +381,7 @@ func (x *DatagramBasedBase) ReceiveMessages(MessagesVar []InputMessage, NumMessa
378 var cerr *glib.Error381 var cerr *glib.Error
379 382
380 cret := XGDatagramBasedReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)383 cret := XGDatagramBasedReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
384+
381 if cerr == nil {385 if cerr == nil {
382 return cret, nil386 return cret, nil
383 }387 }
@@ -430,6 +434,7 @@ func (x *DatagramBasedBase) SendMessages(MessagesVar []OutputMessage, NumMessage
430 var cerr *glib.Error434 var cerr *glib.Error
431 435
432 cret := XGDatagramBasedSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)436 cret := XGDatagramBasedSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
437+
433 if cerr == nil {438 if cerr == nil {
434 return cret, nil439 return cret, nil
435 }440 }
M v4/gio/gdatainputstream.go +22 -0
@@ -194,6 +194,7 @@ var xDataInputStreamGetByteOrder func(uintptr) DataStreamByteOrder
194 func (x *DataInputStream) GetByteOrder() DataStreamByteOrder {194 func (x *DataInputStream) GetByteOrder() DataStreamByteOrder {
195 195
196 cret := xDataInputStreamGetByteOrder(x.GoPointer())196 cret := xDataInputStreamGetByteOrder(x.GoPointer())
197+
197 return cret198 return cret
198 }199 }
199 200
@@ -203,6 +204,7 @@ var xDataInputStreamGetNewlineType func(uintptr) DataStreamNewlineType
203 func (x *DataInputStream) GetNewlineType() DataStreamNewlineType {204 func (x *DataInputStream) GetNewlineType() DataStreamNewlineType {
204 205
205 cret := xDataInputStreamGetNewlineType(x.GoPointer())206 cret := xDataInputStreamGetNewlineType(x.GoPointer())
207+
206 return cret208 return cret
207 }209 }
208 210
@@ -213,6 +215,7 @@ func (x *DataInputStream) ReadByte(CancellableVar *Cancellable) (byte, error) {
213 var cerr *glib.Error215 var cerr *glib.Error
214 216
215 cret := xDataInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr)217 cret := xDataInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
218+
216 if cerr == nil {219 if cerr == nil {
217 return cret, nil220 return cret, nil
218 }221 }
@@ -230,6 +233,7 @@ func (x *DataInputStream) ReadInt16(CancellableVar *Cancellable) (int16, error)
230 var cerr *glib.Error233 var cerr *glib.Error
231 234
232 cret := xDataInputStreamReadInt16(x.GoPointer(), CancellableVar.GoPointer(), &cerr)235 cret := xDataInputStreamReadInt16(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
236+
233 if cerr == nil {237 if cerr == nil {
234 return cret, nil238 return cret, nil
235 }239 }
@@ -251,6 +255,7 @@ func (x *DataInputStream) ReadInt32(CancellableVar *Cancellable) (int32, error)
251 var cerr *glib.Error255 var cerr *glib.Error
252 256
253 cret := xDataInputStreamReadInt32(x.GoPointer(), CancellableVar.GoPointer(), &cerr)257 cret := xDataInputStreamReadInt32(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
258+
254 if cerr == nil {259 if cerr == nil {
255 return cret, nil260 return cret, nil
256 }261 }
@@ -272,6 +277,7 @@ func (x *DataInputStream) ReadInt64(CancellableVar *Cancellable) (int64, error)
272 var cerr *glib.Error277 var cerr *glib.Error
273 278
274 cret := xDataInputStreamReadInt64(x.GoPointer(), CancellableVar.GoPointer(), &cerr)279 cret := xDataInputStreamReadInt64(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
280+
275 if cerr == nil {281 if cerr == nil {
276 return cret, nil282 return cret, nil
277 }283 }
@@ -292,6 +298,7 @@ func (x *DataInputStream) ReadLine(LengthVar *uint, CancellableVar *Cancellable)
292 var cerr *glib.Error298 var cerr *glib.Error
293 299
294 cret := xDataInputStreamReadLine(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)300 cret := xDataInputStreamReadLine(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)
301+
295 if cerr == nil {302 if cerr == nil {
296 return cret, nil303 return cret, nil
297 }304 }
@@ -338,6 +345,7 @@ func (x *DataInputStream) ReadLineFinish(ResultVar AsyncResult, LengthVar *uint)
338 var cerr *glib.Error345 var cerr *glib.Error
339 346
340 cret := xDataInputStreamReadLineFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)347 cret := xDataInputStreamReadLineFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)
348+
341 if cerr == nil {349 if cerr == nil {
342 return cret, nil350 return cret, nil
343 }351 }
@@ -353,6 +361,7 @@ func (x *DataInputStream) ReadLineFinishUtf8(ResultVar AsyncResult, LengthVar *u
353 var cerr *glib.Error361 var cerr *glib.Error
354 362
355 cret := xDataInputStreamReadLineFinishUtf8(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)363 cret := xDataInputStreamReadLineFinishUtf8(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)
364+
356 if cerr == nil {365 if cerr == nil {
357 return cret, nil366 return cret, nil
358 }367 }
@@ -371,6 +380,7 @@ func (x *DataInputStream) ReadLineUtf8(LengthVar *uint, CancellableVar *Cancella
371 var cerr *glib.Error380 var cerr *glib.Error
372 381
373 cret := xDataInputStreamReadLineUtf8(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)382 cret := xDataInputStreamReadLineUtf8(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)
383+
374 if cerr == nil {384 if cerr == nil {
375 return cret, nil385 return cret, nil
376 }386 }
@@ -388,6 +398,7 @@ func (x *DataInputStream) ReadUint16(CancellableVar *Cancellable) (uint16, error
388 var cerr *glib.Error398 var cerr *glib.Error
389 399
390 cret := xDataInputStreamReadUint16(x.GoPointer(), CancellableVar.GoPointer(), &cerr)400 cret := xDataInputStreamReadUint16(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
401+
391 if cerr == nil {402 if cerr == nil {
392 return cret, nil403 return cret, nil
393 }404 }
@@ -409,6 +420,7 @@ func (x *DataInputStream) ReadUint32(CancellableVar *Cancellable) (uint32, error
409 var cerr *glib.Error420 var cerr *glib.Error
410 421
411 cret := xDataInputStreamReadUint32(x.GoPointer(), CancellableVar.GoPointer(), &cerr)422 cret := xDataInputStreamReadUint32(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
423+
412 if cerr == nil {424 if cerr == nil {
413 return cret, nil425 return cret, nil
414 }426 }
@@ -430,6 +442,7 @@ func (x *DataInputStream) ReadUint64(CancellableVar *Cancellable) (uint64, error
430 var cerr *glib.Error442 var cerr *glib.Error
431 443
432 cret := xDataInputStreamReadUint64(x.GoPointer(), CancellableVar.GoPointer(), &cerr)444 cret := xDataInputStreamReadUint64(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
445+
433 if cerr == nil {446 if cerr == nil {
434 return cret, nil447 return cret, nil
435 }448 }
@@ -454,6 +467,7 @@ func (x *DataInputStream) ReadUntil(StopCharsVar string, LengthVar *uint, Cancel
454 var cerr *glib.Error467 var cerr *glib.Error
455 468
456 cret := xDataInputStreamReadUntil(x.GoPointer(), StopCharsVar, LengthVar, CancellableVar.GoPointer(), &cerr)469 cret := xDataInputStreamReadUntil(x.GoPointer(), StopCharsVar, LengthVar, CancellableVar.GoPointer(), &cerr)
470+
457 if cerr == nil {471 if cerr == nil {
458 return cret, nil472 return cret, nil
459 }473 }
@@ -507,6 +521,7 @@ func (x *DataInputStream) ReadUntilFinish(ResultVar AsyncResult, LengthVar *uint
507 var cerr *glib.Error521 var cerr *glib.Error
508 522
509 cret := xDataInputStreamReadUntilFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)523 cret := xDataInputStreamReadUntilFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)
524+
510 if cerr == nil {525 if cerr == nil {
511 return cret, nil526 return cret, nil
512 }527 }
@@ -532,6 +547,7 @@ func (x *DataInputStream) ReadUpto(StopCharsVar string, StopCharsLenVar int, Len
532 var cerr *glib.Error547 var cerr *glib.Error
533 548
534 cret := xDataInputStreamReadUpto(x.GoPointer(), StopCharsVar, StopCharsLenVar, LengthVar, CancellableVar.GoPointer(), &cerr)549 cret := xDataInputStreamReadUpto(x.GoPointer(), StopCharsVar, StopCharsLenVar, LengthVar, CancellableVar.GoPointer(), &cerr)
550+
535 if cerr == nil {551 if cerr == nil {
536 return cret, nil552 return cret, nil
537 }553 }
@@ -590,6 +606,7 @@ func (x *DataInputStream) ReadUptoFinish(ResultVar AsyncResult, LengthVar *uint)
590 var cerr *glib.Error606 var cerr *glib.Error
591 607
592 cret := xDataInputStreamReadUptoFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)608 cret := xDataInputStreamReadUptoFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)
609+
593 if cerr == nil {610 if cerr == nil {
594 return cret, nil611 return cret, nil
595 }612 }
@@ -635,6 +652,7 @@ func (c *DataInputStream) SetGoPointer(ptr uintptr) {
635 func (x *DataInputStream) CanSeek() bool {652 func (x *DataInputStream) CanSeek() bool {
636 653
637 cret := XGSeekableCanSeek(x.GoPointer())654 cret := XGSeekableCanSeek(x.GoPointer())
655+
638 return cret656 return cret
639 }657 }
640 658
@@ -643,6 +661,7 @@ func (x *DataInputStream) CanSeek() bool {
643 func (x *DataInputStream) CanTruncate() bool {661 func (x *DataInputStream) CanTruncate() bool {
644 662
645 cret := XGSeekableCanTruncate(x.GoPointer())663 cret := XGSeekableCanTruncate(x.GoPointer())
664+
646 return cret665 return cret
647 }666 }
648 667
@@ -664,6 +683,7 @@ func (x *DataInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab
664 var cerr *glib.Error683 var cerr *glib.Error
665 684
666 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)685 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
686+
667 if cerr == nil {687 if cerr == nil {
668 return cret, nil688 return cret, nil
669 }689 }
@@ -675,6 +695,7 @@ func (x *DataInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab
675 func (x *DataInputStream) Tell() int64 {695 func (x *DataInputStream) Tell() int64 {
676 696
677 cret := XGSeekableTell(x.GoPointer())697 cret := XGSeekableTell(x.GoPointer())
698+
678 return cret699 return cret
679 }700 }
680 701
@@ -691,6 +712,7 @@ func (x *DataInputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable)
691 var cerr *glib.Error712 var cerr *glib.Error
692 713
693 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)714 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
715+
694 if cerr == nil {716 if cerr == nil {
695 return cret, nil717 return cret, nil
696 }718 }
M v4/gio/gdataoutputstream.go +14 -0
@@ -194,6 +194,7 @@ var xDataOutputStreamGetByteOrder func(uintptr) DataStreamByteOrder
194 func (x *DataOutputStream) GetByteOrder() DataStreamByteOrder {194 func (x *DataOutputStream) GetByteOrder() DataStreamByteOrder {
195 195
196 cret := xDataOutputStreamGetByteOrder(x.GoPointer())196 cret := xDataOutputStreamGetByteOrder(x.GoPointer())
197+
197 return cret198 return cret
198 }199 }
199 200
@@ -204,6 +205,7 @@ func (x *DataOutputStream) PutByte(DataVar byte, CancellableVar *Cancellable) (b
204 var cerr *glib.Error205 var cerr *glib.Error
205 206
206 cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)207 cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
208+
207 if cerr == nil {209 if cerr == nil {
208 return cret, nil210 return cret, nil
209 }211 }
@@ -218,6 +220,7 @@ func (x *DataOutputStream) PutInt16(DataVar int16, CancellableVar *Cancellable)
218 var cerr *glib.Error220 var cerr *glib.Error
219 221
220 cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)222 cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
223+
221 if cerr == nil {224 if cerr == nil {
222 return cret, nil225 return cret, nil
223 }226 }
@@ -232,6 +235,7 @@ func (x *DataOutputStream) PutInt32(DataVar int32, CancellableVar *Cancellable)
232 var cerr *glib.Error235 var cerr *glib.Error
233 236
234 cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)237 cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
238+
235 if cerr == nil {239 if cerr == nil {
236 return cret, nil240 return cret, nil
237 }241 }
@@ -246,6 +250,7 @@ func (x *DataOutputStream) PutInt64(DataVar int64, CancellableVar *Cancellable)
246 var cerr *glib.Error250 var cerr *glib.Error
247 251
248 cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)252 cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
253+
249 if cerr == nil {254 if cerr == nil {
250 return cret, nil255 return cret, nil
251 }256 }
@@ -260,6 +265,7 @@ func (x *DataOutputStream) PutString(StrVar string, CancellableVar *Cancellable)
260 var cerr *glib.Error265 var cerr *glib.Error
261 266
262 cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr)267 cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr)
268+
263 if cerr == nil {269 if cerr == nil {
264 return cret, nil270 return cret, nil
265 }271 }
@@ -274,6 +280,7 @@ func (x *DataOutputStream) PutUint16(DataVar uint16, CancellableVar *Cancellable
274 var cerr *glib.Error280 var cerr *glib.Error
275 281
276 cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)282 cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
283+
277 if cerr == nil {284 if cerr == nil {
278 return cret, nil285 return cret, nil
279 }286 }
@@ -288,6 +295,7 @@ func (x *DataOutputStream) PutUint32(DataVar uint32, CancellableVar *Cancellable
288 var cerr *glib.Error295 var cerr *glib.Error
289 296
290 cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)297 cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
298+
291 if cerr == nil {299 if cerr == nil {
292 return cret, nil300 return cret, nil
293 }301 }
@@ -302,6 +310,7 @@ func (x *DataOutputStream) PutUint64(DataVar uint64, CancellableVar *Cancellable
302 var cerr *glib.Error310 var cerr *glib.Error
303 311
304 cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)312 cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
313+
305 if cerr == nil {314 if cerr == nil {
306 return cret, nil315 return cret, nil
307 }316 }
@@ -333,6 +342,7 @@ func (c *DataOutputStream) SetGoPointer(ptr uintptr) {
333 func (x *DataOutputStream) CanSeek() bool {342 func (x *DataOutputStream) CanSeek() bool {
334 343
335 cret := XGSeekableCanSeek(x.GoPointer())344 cret := XGSeekableCanSeek(x.GoPointer())
345+
336 return cret346 return cret
337 }347 }
338 348
@@ -341,6 +351,7 @@ func (x *DataOutputStream) CanSeek() bool {
341 func (x *DataOutputStream) CanTruncate() bool {351 func (x *DataOutputStream) CanTruncate() bool {
342 352
343 cret := XGSeekableCanTruncate(x.GoPointer())353 cret := XGSeekableCanTruncate(x.GoPointer())
354+
344 return cret355 return cret
345 }356 }
346 357
@@ -362,6 +373,7 @@ func (x *DataOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella
362 var cerr *glib.Error373 var cerr *glib.Error
363 374
364 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)375 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
376+
365 if cerr == nil {377 if cerr == nil {
366 return cret, nil378 return cret, nil
367 }379 }
@@ -373,6 +385,7 @@ func (x *DataOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella
373 func (x *DataOutputStream) Tell() int64 {385 func (x *DataOutputStream) Tell() int64 {
374 386
375 cret := XGSeekableTell(x.GoPointer())387 cret := XGSeekableTell(x.GoPointer())
388+
376 return cret389 return cret
377 }390 }
378 391
@@ -389,6 +402,7 @@ func (x *DataOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable
389 var cerr *glib.Error402 var cerr *glib.Error
390 403
391 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)404 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
405+
392 if cerr == nil {406 if cerr == nil {
393 return cret, nil407 return cret, nil
394 }408 }
M v4/gio/gdbusactiongroup.go +15 -1
@@ -2,6 +2,8 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -140,6 +142,7 @@ func (x *DBusActionGroup) ChangeActionState(ActionNameVar string, ValueVar *glib
140 func (x *DBusActionGroup) GetActionEnabled(ActionNameVar string) bool {142 func (x *DBusActionGroup) GetActionEnabled(ActionNameVar string) bool {
141 143
142 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)144 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
145+
143 return cret146 return cret
144 }147 }
145 148
@@ -159,6 +162,7 @@ func (x *DBusActionGroup) GetActionEnabled(ActionNameVar string) bool {
159 func (x *DBusActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType {162 func (x *DBusActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType {
160 163
161 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)164 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
165+
162 return cret166 return cret
163 }167 }
164 168
@@ -173,6 +177,7 @@ func (x *DBusActionGroup) GetActionParameterType(ActionNameVar string) *glib.Var
173 func (x *DBusActionGroup) GetActionState(ActionNameVar string) *glib.Variant {177 func (x *DBusActionGroup) GetActionState(ActionNameVar string) *glib.Variant {
174 178
175 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)179 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
180+
176 return cret181 return cret
177 }182 }
178 183
@@ -197,6 +202,7 @@ func (x *DBusActionGroup) GetActionState(ActionNameVar string) *glib.Variant {
197 func (x *DBusActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant {202 func (x *DBusActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant {
198 203
199 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)204 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
205+
200 return cret206 return cret
201 }207 }
202 208
@@ -219,6 +225,7 @@ func (x *DBusActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant
219 func (x *DBusActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType {225 func (x *DBusActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType {
220 226
221 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)227 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
228+
222 return cret229 return cret
223 }230 }
224 231
@@ -226,6 +233,7 @@ func (x *DBusActionGroup) GetActionStateType(ActionNameVar string) *glib.Variant
226 func (x *DBusActionGroup) HasAction(ActionNameVar string) bool {233 func (x *DBusActionGroup) HasAction(ActionNameVar string) bool {
227 234
228 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)235 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
236+
229 return cret237 return cret
230 }238 }
231 239
@@ -236,6 +244,7 @@ func (x *DBusActionGroup) HasAction(ActionNameVar string) bool {
236 func (x *DBusActionGroup) ListActions() []string {244 func (x *DBusActionGroup) ListActions() []string {
237 245
238 cret := XGActionGroupListActions(x.GoPointer())246 cret := XGActionGroupListActions(x.GoPointer())
247+
239 return cret248 return cret
240 }249 }
241 250
@@ -269,6 +278,7 @@ func (x *DBusActionGroup) ListActions() []string {
269 func (x *DBusActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {278 func (x *DBusActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
270 279
271 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)280 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
281+
272 return cret282 return cret
273 }283 }
274 284
@@ -320,7 +330,11 @@ var xDBusActionGroupGet func(uintptr, uintptr, string) uintptr
320 func DBusActionGroupGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusActionGroup {330 func DBusActionGroupGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusActionGroup {
321 var cls *DBusActionGroup331 var cls *DBusActionGroup
322 332
323- cret := xDBusActionGroupGet(ConnectionVar.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar)333+ BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)
334+
335+ cret := xDBusActionGroupGet(ConnectionVar.GoPointer(), BusNameVarPtr, ObjectPathVar)
336+
337+ runtime.KeepAlive(BusNameVarBytes)
324 338
325 if cret == 0 {339 if cret == 0 {
326 return nil340 return nil
M v4/gio/gdbusaddress.go +4 -0
@@ -21,6 +21,7 @@ var xDbusAddressEscapeValue func(string) string
21 func DbusAddressEscapeValue(StringVar string) string {21 func DbusAddressEscapeValue(StringVar string) string {
22 22
23 cret := xDbusAddressEscapeValue(StringVar)23 cret := xDbusAddressEscapeValue(StringVar)
24+
24 return cret25 return cret
25 }26 }
26 27
@@ -36,6 +37,7 @@ func DbusAddressGetForBusSync(BusTypeVar BusType, CancellableVar *Cancellable) (
36 var cerr *glib.Error37 var cerr *glib.Error
37 38
38 cret := xDbusAddressGetForBusSync(BusTypeVar, CancellableVar.GoPointer(), &cerr)39 cret := xDbusAddressGetForBusSync(BusTypeVar, CancellableVar.GoPointer(), &cerr)
40+
39 if cerr == nil {41 if cerr == nil {
40 return cret, nil42 return cret, nil
41 }43 }
@@ -142,6 +144,7 @@ var xDbusIsAddress func(string) bool
142 func DbusIsAddress(StringVar string) bool {144 func DbusIsAddress(StringVar string) bool {
143 145
144 cret := xDbusIsAddress(StringVar)146 cret := xDbusIsAddress(StringVar)
147+
145 return cret148 return cret
146 }149 }
147 150
@@ -155,6 +158,7 @@ func DbusIsSupportedAddress(StringVar string) (bool, error) {
155 var cerr *glib.Error158 var cerr *glib.Error
156 159
157 cret := xDbusIsSupportedAddress(StringVar, &cerr)160 cret := xDbusIsSupportedAddress(StringVar, &cerr)
161+
158 if cerr == nil {162 if cerr == nil {
159 return cret, nil163 return cret, nil
160 }164 }
M v4/gio/gdbusauthobserver.go +2 -0
@@ -118,6 +118,7 @@ var xDBusAuthObserverAllowMechanism func(uintptr, string) bool
118 func (x *DBusAuthObserver) AllowMechanism(MechanismVar string) bool {118 func (x *DBusAuthObserver) AllowMechanism(MechanismVar string) bool {
119 119
120 cret := xDBusAuthObserverAllowMechanism(x.GoPointer(), MechanismVar)120 cret := xDBusAuthObserverAllowMechanism(x.GoPointer(), MechanismVar)
121+
121 return cret122 return cret
122 }123 }
123 124
@@ -127,6 +128,7 @@ var xDBusAuthObserverAuthorizeAuthenticatedPeer func(uintptr, uintptr, uintptr)
127 func (x *DBusAuthObserver) AuthorizeAuthenticatedPeer(StreamVar *IOStream, CredentialsVar *Credentials) bool {128 func (x *DBusAuthObserver) AuthorizeAuthenticatedPeer(StreamVar *IOStream, CredentialsVar *Credentials) bool {
128 129
129 cret := xDBusAuthObserverAuthorizeAuthenticatedPeer(x.GoPointer(), StreamVar.GoPointer(), CredentialsVar.GoPointer())130 cret := xDBusAuthObserverAuthorizeAuthenticatedPeer(x.GoPointer(), StreamVar.GoPointer(), CredentialsVar.GoPointer())
131+
130 return cret132 return cret
131 }133 }
132 134
M v4/gio/gdbusconnection.go +86 -8
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -482,7 +483,11 @@ func NewDBusConnectionSync(StreamVar *IOStream, GuidVar *string, FlagsVar DBusCo
482 var cls *DBusConnection483 var cls *DBusConnection
483 var cerr *glib.Error484 var cerr *glib.Error
484 485
485- cret := xNewDBusConnectionSync(StreamVar.GoPointer(), core.NullableStringToPtr(GuidVar), FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), &cerr)486+ GuidVarPtr, GuidVarBytes := core.NullableStringToPtr(GuidVar)
487+
488+ cret := xNewDBusConnectionSync(StreamVar.GoPointer(), GuidVarPtr, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
489+
490+ runtime.KeepAlive(GuidVarBytes)
486 491
487 if cret == 0 {492 if cret == 0 {
488 return nil, cerr493 return nil, cerr
@@ -558,6 +563,7 @@ func (x *DBusConnection) AddFilter(FilterFunctionVar *DBusMessageFilterFunction,
558 }563 }
559 564
560 cret := xDBusConnectionAddFilter(x.GoPointer(), FilterFunctionVarRef, UserDataVar, UserDataFreeFuncVarRef)565 cret := xDBusConnectionAddFilter(x.GoPointer(), FilterFunctionVarRef, UserDataVar, UserDataFreeFuncVarRef)
566+
561 return cret567 return cret
562 }568 }
563 569
@@ -627,7 +633,11 @@ func (x *DBusConnection) Call(BusNameVar *string, ObjectPathVar string, Interfac
627 }633 }
628 }634 }
629 635
630- xDBusConnectionCall(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)636+ BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)
637+
638+ xDBusConnectionCall(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
639+
640+ runtime.KeepAlive(BusNameVarBytes)
631 641
632 }642 }
633 643
@@ -638,6 +648,7 @@ func (x *DBusConnection) CallFinish(ResVar AsyncResult) (*glib.Variant, error) {
638 var cerr *glib.Error648 var cerr *glib.Error
639 649
640 cret := xDBusConnectionCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)650 cret := xDBusConnectionCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
651+
641 if cerr == nil {652 if cerr == nil {
642 return cret, nil653 return cret, nil
643 }654 }
@@ -688,7 +699,12 @@ var xDBusConnectionCallSync func(uintptr, uintptr, string, string, string, *glib
688 func (x *DBusConnection) CallSync(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable) (*glib.Variant, error) {699 func (x *DBusConnection) CallSync(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable) (*glib.Variant, error) {
689 var cerr *glib.Error700 var cerr *glib.Error
690 701
691- cret := xDBusConnectionCallSync(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)702+ BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)
703+
704+ cret := xDBusConnectionCallSync(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)
705+
706+ runtime.KeepAlive(BusNameVarBytes)
707+
692 if cerr == nil {708 if cerr == nil {
693 return cret, nil709 return cret, nil
694 }710 }
@@ -730,7 +746,11 @@ func (x *DBusConnection) CallWithUnixFdList(BusNameVar *string, ObjectPathVar st
730 }746 }
731 }747 }
732 748
733- xDBusConnectionCallWithUnixFdList(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)749+ BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)
750+
751+ xDBusConnectionCallWithUnixFdList(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
752+
753+ runtime.KeepAlive(BusNameVarBytes)
734 754
735 }755 }
736 756
@@ -752,6 +772,7 @@ func (x *DBusConnection) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, Res
752 var cerr *glib.Error772 var cerr *glib.Error
753 773
754 cret := xDBusConnectionCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr)774 cret := xDBusConnectionCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr)
775+
755 if cerr == nil {776 if cerr == nil {
756 return cret, nil777 return cret, nil
757 }778 }
@@ -769,7 +790,12 @@ var xDBusConnectionCallWithUnixFdListSync func(uintptr, uintptr, string, string,
769 func (x *DBusConnection) CallWithUnixFdListSync(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, OutFdListVar **UnixFDList, CancellableVar *Cancellable) (*glib.Variant, error) {790 func (x *DBusConnection) CallWithUnixFdListSync(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, OutFdListVar **UnixFDList, CancellableVar *Cancellable) (*glib.Variant, error) {
770 var cerr *glib.Error791 var cerr *glib.Error
771 792
772- cret := xDBusConnectionCallWithUnixFdListSync(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)793+ BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)
794+
795+ cret := xDBusConnectionCallWithUnixFdListSync(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)
796+
797+ runtime.KeepAlive(BusNameVarBytes)
798+
773 if cerr == nil {799 if cerr == nil {
774 return cret, nil800 return cret, nil
775 }801 }
@@ -831,6 +857,7 @@ func (x *DBusConnection) CloseFinish(ResVar AsyncResult) (bool, error) {
831 var cerr *glib.Error857 var cerr *glib.Error
832 858
833 cret := xDBusConnectionCloseFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)859 cret := xDBusConnectionCloseFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
860+
834 if cerr == nil {861 if cerr == nil {
835 return cret, nil862 return cret, nil
836 }863 }
@@ -848,6 +875,7 @@ func (x *DBusConnection) CloseSync(CancellableVar *Cancellable) (bool, error) {
848 var cerr *glib.Error875 var cerr *glib.Error
849 876
850 cret := xDBusConnectionCloseSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr)877 cret := xDBusConnectionCloseSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
878+
851 if cerr == nil {879 if cerr == nil {
852 return cret, nil880 return cret, nil
853 }881 }
@@ -867,7 +895,12 @@ var xDBusConnectionEmitSignal func(uintptr, uintptr, string, string, string, *gl
867 func (x *DBusConnection) EmitSignal(DestinationBusNameVar *string, ObjectPathVar string, InterfaceNameVar string, SignalNameVar string, ParametersVar *glib.Variant) (bool, error) {895 func (x *DBusConnection) EmitSignal(DestinationBusNameVar *string, ObjectPathVar string, InterfaceNameVar string, SignalNameVar string, ParametersVar *glib.Variant) (bool, error) {
868 var cerr *glib.Error896 var cerr *glib.Error
869 897
870- cret := xDBusConnectionEmitSignal(x.GoPointer(), core.NullableStringToPtr(DestinationBusNameVar), ObjectPathVar, InterfaceNameVar, SignalNameVar, ParametersVar, &cerr)898+ DestinationBusNameVarPtr, DestinationBusNameVarBytes := core.NullableStringToPtr(DestinationBusNameVar)
899+
900+ cret := xDBusConnectionEmitSignal(x.GoPointer(), DestinationBusNameVarPtr, ObjectPathVar, InterfaceNameVar, SignalNameVar, ParametersVar, &cerr)
901+
902+ runtime.KeepAlive(DestinationBusNameVarBytes)
903+
871 if cerr == nil {904 if cerr == nil {
872 return cret, nil905 return cret, nil
873 }906 }
@@ -902,6 +935,7 @@ func (x *DBusConnection) ExportActionGroup(ObjectPathVar string, ActionGroupVar
902 var cerr *glib.Error935 var cerr *glib.Error
903 936
904 cret := xDBusConnectionExportActionGroup(x.GoPointer(), ObjectPathVar, ActionGroupVar.GoPointer(), &cerr)937 cret := xDBusConnectionExportActionGroup(x.GoPointer(), ObjectPathVar, ActionGroupVar.GoPointer(), &cerr)
938+
905 if cerr == nil {939 if cerr == nil {
906 return cret, nil940 return cret, nil
907 }941 }
@@ -931,6 +965,7 @@ func (x *DBusConnection) ExportMenuModel(ObjectPathVar string, MenuVar *MenuMode
931 var cerr *glib.Error965 var cerr *glib.Error
932 966
933 cret := xDBusConnectionExportMenuModel(x.GoPointer(), ObjectPathVar, MenuVar.GoPointer(), &cerr)967 cret := xDBusConnectionExportMenuModel(x.GoPointer(), ObjectPathVar, MenuVar.GoPointer(), &cerr)
968+
934 if cerr == nil {969 if cerr == nil {
935 return cret, nil970 return cret, nil
936 }971 }
@@ -982,6 +1017,7 @@ func (x *DBusConnection) FlushFinish(ResVar AsyncResult) (bool, error) {
982 var cerr *glib.Error1017 var cerr *glib.Error
983 1018
984 cret := xDBusConnectionFlushFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)1019 cret := xDBusConnectionFlushFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
1020+
985 if cerr == nil {1021 if cerr == nil {
986 return cret, nil1022 return cret, nil
987 }1023 }
@@ -999,6 +1035,7 @@ func (x *DBusConnection) FlushSync(CancellableVar *Cancellable) (bool, error) {
999 var cerr *glib.Error1035 var cerr *glib.Error
1000 1036
1001 cret := xDBusConnectionFlushSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr)1037 cret := xDBusConnectionFlushSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
1038+
1002 if cerr == nil {1039 if cerr == nil {
1003 return cret, nil1040 return cret, nil
1004 }1041 }
@@ -1012,6 +1049,7 @@ var xDBusConnectionGetCapabilities func(uintptr) DBusCapabilityFlags
1012 func (x *DBusConnection) GetCapabilities() DBusCapabilityFlags {1049 func (x *DBusConnection) GetCapabilities() DBusCapabilityFlags {
1013 1050
1014 cret := xDBusConnectionGetCapabilities(x.GoPointer())1051 cret := xDBusConnectionGetCapabilities(x.GoPointer())
1052+
1015 return cret1053 return cret
1016 }1054 }
1017 1055
@@ -1023,6 +1061,7 @@ var xDBusConnectionGetExitOnClose func(uintptr) bool
1023 func (x *DBusConnection) GetExitOnClose() bool {1061 func (x *DBusConnection) GetExitOnClose() bool {
1024 1062
1025 cret := xDBusConnectionGetExitOnClose(x.GoPointer())1063 cret := xDBusConnectionGetExitOnClose(x.GoPointer())
1064+
1026 return cret1065 return cret
1027 }1066 }
1028 1067
@@ -1032,6 +1071,7 @@ var xDBusConnectionGetFlags func(uintptr) DBusConnectionFlags
1032 func (x *DBusConnection) GetFlags() DBusConnectionFlags {1071 func (x *DBusConnection) GetFlags() DBusConnectionFlags {
1033 1072
1034 cret := xDBusConnectionGetFlags(x.GoPointer())1073 cret := xDBusConnectionGetFlags(x.GoPointer())
1074+
1035 return cret1075 return cret
1036 }1076 }
1037 1077
@@ -1042,6 +1082,7 @@ var xDBusConnectionGetGuid func(uintptr) string
1042 func (x *DBusConnection) GetGuid() string {1082 func (x *DBusConnection) GetGuid() string {
1043 1083
1044 cret := xDBusConnectionGetGuid(x.GoPointer())1084 cret := xDBusConnectionGetGuid(x.GoPointer())
1085+
1045 return cret1086 return cret
1046 }1087 }
1047 1088
@@ -1055,6 +1096,7 @@ var xDBusConnectionGetLastSerial func(uintptr) uint32
1055 func (x *DBusConnection) GetLastSerial() uint32 {1096 func (x *DBusConnection) GetLastSerial() uint32 {
1056 1097
1057 cret := xDBusConnectionGetLastSerial(x.GoPointer())1098 cret := xDBusConnectionGetLastSerial(x.GoPointer())
1099+
1058 return cret1100 return cret
1059 }1101 }
1060 1102
@@ -1112,6 +1154,7 @@ var xDBusConnectionGetUniqueName func(uintptr) string
1112 func (x *DBusConnection) GetUniqueName() string {1154 func (x *DBusConnection) GetUniqueName() string {
1113 1155
1114 cret := xDBusConnectionGetUniqueName(x.GoPointer())1156 cret := xDBusConnectionGetUniqueName(x.GoPointer())
1157+
1115 return cret1158 return cret
1116 }1159 }
1117 1160
@@ -1121,6 +1164,7 @@ var xDBusConnectionIsClosed func(uintptr) bool
1121 func (x *DBusConnection) IsClosed() bool {1164 func (x *DBusConnection) IsClosed() bool {
1122 1165
1123 cret := xDBusConnectionIsClosed(x.GoPointer())1166 cret := xDBusConnectionIsClosed(x.GoPointer())
1167+
1124 return cret1168 return cret
1125 }1169 }
1126 1170
@@ -1184,6 +1228,7 @@ func (x *DBusConnection) RegisterObject(ObjectPathVar string, InterfaceInfoVar *
1184 }1228 }
1185 1229
1186 cret := xDBusConnectionRegisterObject(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, VtableVar, UserDataVar, UserDataFreeFuncVarRef, &cerr)1230 cret := xDBusConnectionRegisterObject(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, VtableVar, UserDataVar, UserDataFreeFuncVarRef, &cerr)
1231+
1187 if cerr == nil {1232 if cerr == nil {
1188 return cret, nil1233 return cret, nil
1189 }1234 }
@@ -1204,6 +1249,7 @@ func (x *DBusConnection) RegisterObjectWithClosures(ObjectPathVar string, Interf
1204 var cerr *glib.Error1249 var cerr *glib.Error
1205 1250
1206 cret := xDBusConnectionRegisterObjectWithClosures(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr)1251 cret := xDBusConnectionRegisterObjectWithClosures(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr)
1252+
1207 if cerr == nil {1253 if cerr == nil {
1208 return cret, nil1254 return cret, nil
1209 }1255 }
@@ -1229,6 +1275,7 @@ func (x *DBusConnection) RegisterObjectWithClosures2(ObjectPathVar string, Inter
1229 var cerr *glib.Error1275 var cerr *glib.Error
1230 1276
1231 cret := xDBusConnectionRegisterObjectWithClosures2(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr)1277 cret := xDBusConnectionRegisterObjectWithClosures2(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr)
1278+
1232 if cerr == nil {1279 if cerr == nil {
1233 return cret, nil1280 return cret, nil
1234 }1281 }
@@ -1291,6 +1338,7 @@ func (x *DBusConnection) RegisterSubtree(ObjectPathVar string, VtableVar *DBusSu
1291 }1338 }
1292 1339
1293 cret := xDBusConnectionRegisterSubtree(x.GoPointer(), ObjectPathVar, VtableVar, FlagsVar, UserDataVar, UserDataFreeFuncVarRef, &cerr)1340 cret := xDBusConnectionRegisterSubtree(x.GoPointer(), ObjectPathVar, VtableVar, FlagsVar, UserDataVar, UserDataFreeFuncVarRef, &cerr)
1341+
1294 if cerr == nil {1342 if cerr == nil {
1295 return cret, nil1343 return cret, nil
1296 }1344 }
@@ -1342,6 +1390,7 @@ func (x *DBusConnection) SendMessage(MessageVar *DBusMessage, FlagsVar DBusSendM
1342 var cerr *glib.Error1390 var cerr *glib.Error
1343 1391
1344 cret := xDBusConnectionSendMessage(x.GoPointer(), MessageVar.GoPointer(), FlagsVar, OutSerialVar, &cerr)1392 cret := xDBusConnectionSendMessage(x.GoPointer(), MessageVar.GoPointer(), FlagsVar, OutSerialVar, &cerr)
1393+
1345 if cerr == nil {1394 if cerr == nil {
1346 return cret, nil1395 return cret, nil
1347 }1396 }
@@ -1585,7 +1634,28 @@ func (x *DBusConnection) SignalSubscribe(SenderVar *string, InterfaceNameVar *st
1585 }1634 }
1586 }1635 }
1587 1636
1588- cret := xDBusConnectionSignalSubscribe(x.GoPointer(), core.NullableStringToPtr(SenderVar), core.NullableStringToPtr(InterfaceNameVar), core.NullableStringToPtr(MemberVar), core.NullableStringToPtr(ObjectPathVar), core.NullableStringToPtr(Arg0Var), FlagsVar, CallbackVarRef, UserDataVar, UserDataFreeFuncVarRef)1637+ SenderVarPtr, SenderVarBytes := core.NullableStringToPtr(SenderVar)
1638+
1639+ InterfaceNameVarPtr, InterfaceNameVarBytes := core.NullableStringToPtr(InterfaceNameVar)
1640+
1641+ MemberVarPtr, MemberVarBytes := core.NullableStringToPtr(MemberVar)
1642+
1643+ ObjectPathVarPtr, ObjectPathVarBytes := core.NullableStringToPtr(ObjectPathVar)
1644+
1645+ Arg0VarPtr, Arg0VarBytes := core.NullableStringToPtr(Arg0Var)
1646+
1647+ cret := xDBusConnectionSignalSubscribe(x.GoPointer(), SenderVarPtr, InterfaceNameVarPtr, MemberVarPtr, ObjectPathVarPtr, Arg0VarPtr, FlagsVar, CallbackVarRef, UserDataVar, UserDataFreeFuncVarRef)
1648+
1649+ runtime.KeepAlive(SenderVarBytes)
1650+
1651+ runtime.KeepAlive(InterfaceNameVarBytes)
1652+
1653+ runtime.KeepAlive(MemberVarBytes)
1654+
1655+ runtime.KeepAlive(ObjectPathVarBytes)
1656+
1657+ runtime.KeepAlive(Arg0VarBytes)
1658+
1589 return cret1659 return cret
1590 }1660 }
1591 1661
@@ -1655,6 +1725,7 @@ var xDBusConnectionUnregisterObject func(uintptr, uint) bool
1655 func (x *DBusConnection) UnregisterObject(RegistrationIdVar uint) bool {1725 func (x *DBusConnection) UnregisterObject(RegistrationIdVar uint) bool {
1656 1726
1657 cret := xDBusConnectionUnregisterObject(x.GoPointer(), RegistrationIdVar)1727 cret := xDBusConnectionUnregisterObject(x.GoPointer(), RegistrationIdVar)
1728+
1658 return cret1729 return cret
1659 }1730 }
1660 1731
@@ -1664,6 +1735,7 @@ var xDBusConnectionUnregisterSubtree func(uintptr, uint) bool
1664 func (x *DBusConnection) UnregisterSubtree(RegistrationIdVar uint) bool {1735 func (x *DBusConnection) UnregisterSubtree(RegistrationIdVar uint) bool {
1665 1736
1666 cret := xDBusConnectionUnregisterSubtree(x.GoPointer(), RegistrationIdVar)1737 cret := xDBusConnectionUnregisterSubtree(x.GoPointer(), RegistrationIdVar)
1738+
1667 return cret1739 return cret
1668 }1740 }
1669 1741
@@ -1874,6 +1946,7 @@ func (x *DBusConnection) InitFinish(ResVar AsyncResult) (bool, error) {
1874 var cerr *glib.Error1946 var cerr *glib.Error
1875 1947
1876 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)1948 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
1949+
1877 if cerr == nil {1950 if cerr == nil {
1878 return cret, nil1951 return cret, nil
1879 }1952 }
@@ -1943,6 +2016,7 @@ func (x *DBusConnection) Init(CancellableVar *Cancellable) (bool, error) {
1943 var cerr *glib.Error2016 var cerr *glib.Error
1944 2017
1945 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)2018 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
2019+
1946 if cerr == nil {2020 if cerr == nil {
1947 return cret, nil2021 return cret, nil
1948 }2022 }
@@ -1989,7 +2063,11 @@ func DBusConnectionNew(StreamVar *IOStream, GuidVar *string, FlagsVar DBusConnec
1989 }2063 }
1990 }2064 }
1991 2065
1992- xDBusConnectionNew(StreamVar.GoPointer(), core.NullableStringToPtr(GuidVar), FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)2066+ GuidVarPtr, GuidVarBytes := core.NullableStringToPtr(GuidVar)
2067+
2068+ xDBusConnectionNew(StreamVar.GoPointer(), GuidVarPtr, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
2069+
2070+ runtime.KeepAlive(GuidVarBytes)
1993 2071
1994 }2072 }
1995 2073
M v4/gio/gdbuserror.go +7 -0
@@ -42,6 +42,7 @@ var xDbusErrorEncodeGerror func(*glib.Error) string
42 func DbusErrorEncodeGerror(ErrorVar *glib.Error) string {42 func DbusErrorEncodeGerror(ErrorVar *glib.Error) string {
43 43
44 cret := xDbusErrorEncodeGerror(ErrorVar)44 cret := xDbusErrorEncodeGerror(ErrorVar)
45+
45 return cret46 return cret
46 }47 }
47 48
@@ -56,6 +57,7 @@ var xDbusErrorGetRemoteError func(*glib.Error) string
56 func DbusErrorGetRemoteError(ErrorVar *glib.Error) string {57 func DbusErrorGetRemoteError(ErrorVar *glib.Error) string {
57 58
58 cret := xDbusErrorGetRemoteError(ErrorVar)59 cret := xDbusErrorGetRemoteError(ErrorVar)
60+
59 return cret61 return cret
60 }62 }
61 63
@@ -67,6 +69,7 @@ var xDbusErrorIsRemoteError func(*glib.Error) bool
67 func DbusErrorIsRemoteError(ErrorVar *glib.Error) bool {69 func DbusErrorIsRemoteError(ErrorVar *glib.Error) bool {
68 70
69 cret := xDbusErrorIsRemoteError(ErrorVar)71 cret := xDbusErrorIsRemoteError(ErrorVar)
72+
70 return cret73 return cret
71 }74 }
72 75
@@ -104,6 +107,7 @@ var xDbusErrorNewForDbusError func(string, string) *glib.Error
104 func DbusErrorNewForDbusError(DbusErrorNameVar string, DbusErrorMessageVar string) *glib.Error {107 func DbusErrorNewForDbusError(DbusErrorNameVar string, DbusErrorMessageVar string) *glib.Error {
105 108
106 cret := xDbusErrorNewForDbusError(DbusErrorNameVar, DbusErrorMessageVar)109 cret := xDbusErrorNewForDbusError(DbusErrorNameVar, DbusErrorMessageVar)
110+
107 return cret111 return cret
108 }112 }
109 113
@@ -117,6 +121,7 @@ var xDbusErrorRegisterError func(glib.Quark, int, string) bool
117 func DbusErrorRegisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool {121 func DbusErrorRegisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool {
118 122
119 cret := xDbusErrorRegisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar)123 cret := xDbusErrorRegisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar)
124+
120 return cret125 return cret
121 }126 }
122 127
@@ -146,6 +151,7 @@ var xDbusErrorStripRemoteError func(*glib.Error) bool
146 func DbusErrorStripRemoteError(ErrorVar *glib.Error) bool {151 func DbusErrorStripRemoteError(ErrorVar *glib.Error) bool {
147 152
148 cret := xDbusErrorStripRemoteError(ErrorVar)153 cret := xDbusErrorStripRemoteError(ErrorVar)
154+
149 return cret155 return cret
150 }156 }
151 157
@@ -156,6 +162,7 @@ var xDbusErrorUnregisterError func(glib.Quark, int, string) bool
156 func DbusErrorUnregisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool {162 func DbusErrorUnregisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool {
157 163
158 cret := xDbusErrorUnregisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar)164 cret := xDbusErrorUnregisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar)
165+
159 return cret166 return cret
160 }167 }
161 168
M v4/gio/gdbusinterface.go +1 -0
@@ -204,6 +204,7 @@ func (x *DBusInterfaceBase) DupObject() *DBusObjectBase {
204 func (x *DBusInterfaceBase) GetInfo() *DBusInterfaceInfo {204 func (x *DBusInterfaceBase) GetInfo() *DBusInterfaceInfo {
205 205
206 cret := XGDbusInterfaceGetInfo(x.GoPointer())206 cret := XGDbusInterfaceGetInfo(x.GoPointer())
207+
207 return cret208 return cret
208 }209 }
209 210
M v4/gio/gdbusinterfaceskeleton.go +8 -0
@@ -200,6 +200,7 @@ func (x *DBusInterfaceSkeleton) Export(ConnectionVar *DBusConnection, ObjectPath
200 var cerr *glib.Error200 var cerr *glib.Error
201 201
202 cret := xDBusInterfaceSkeletonExport(x.GoPointer(), ConnectionVar.GoPointer(), ObjectPathVar, &cerr)202 cret := xDBusInterfaceSkeletonExport(x.GoPointer(), ConnectionVar.GoPointer(), ObjectPathVar, &cerr)
203+
203 if cerr == nil {204 if cerr == nil {
204 return cret, nil205 return cret, nil
205 }206 }
@@ -246,6 +247,7 @@ var xDBusInterfaceSkeletonGetConnections func(uintptr) *glib.List
246 func (x *DBusInterfaceSkeleton) GetConnections() *glib.List {247 func (x *DBusInterfaceSkeleton) GetConnections() *glib.List {
247 248
248 cret := xDBusInterfaceSkeletonGetConnections(x.GoPointer())249 cret := xDBusInterfaceSkeletonGetConnections(x.GoPointer())
250+
249 return cret251 return cret
250 }252 }
251 253
@@ -256,6 +258,7 @@ var xDBusInterfaceSkeletonGetFlags func(uintptr) DBusInterfaceSkeletonFlags
256 func (x *DBusInterfaceSkeleton) GetFlags() DBusInterfaceSkeletonFlags {258 func (x *DBusInterfaceSkeleton) GetFlags() DBusInterfaceSkeletonFlags {
257 259
258 cret := xDBusInterfaceSkeletonGetFlags(x.GoPointer())260 cret := xDBusInterfaceSkeletonGetFlags(x.GoPointer())
261+
259 return cret262 return cret
260 }263 }
261 264
@@ -266,6 +269,7 @@ var xDBusInterfaceSkeletonGetInfo func(uintptr) *DBusInterfaceInfo
266 func (x *DBusInterfaceSkeleton) GetInfo() *DBusInterfaceInfo {269 func (x *DBusInterfaceSkeleton) GetInfo() *DBusInterfaceInfo {
267 270
268 cret := xDBusInterfaceSkeletonGetInfo(x.GoPointer())271 cret := xDBusInterfaceSkeletonGetInfo(x.GoPointer())
272+
269 return cret273 return cret
270 }274 }
271 275
@@ -275,6 +279,7 @@ var xDBusInterfaceSkeletonGetObjectPath func(uintptr) string
275 func (x *DBusInterfaceSkeleton) GetObjectPath() string {279 func (x *DBusInterfaceSkeleton) GetObjectPath() string {
276 280
277 cret := xDBusInterfaceSkeletonGetObjectPath(x.GoPointer())281 cret := xDBusInterfaceSkeletonGetObjectPath(x.GoPointer())
282+
278 return cret283 return cret
279 }284 }
280 285
@@ -284,6 +289,7 @@ var xDBusInterfaceSkeletonGetProperties func(uintptr) *glib.Variant
284 func (x *DBusInterfaceSkeleton) GetProperties() *glib.Variant {289 func (x *DBusInterfaceSkeleton) GetProperties() *glib.Variant {
285 290
286 cret := xDBusInterfaceSkeletonGetProperties(x.GoPointer())291 cret := xDBusInterfaceSkeletonGetProperties(x.GoPointer())
292+
287 return cret293 return cret
288 }294 }
289 295
@@ -295,6 +301,7 @@ var xDBusInterfaceSkeletonGetVtable func(uintptr) *DBusInterfaceVTable
295 func (x *DBusInterfaceSkeleton) GetVtable() *DBusInterfaceVTable {301 func (x *DBusInterfaceSkeleton) GetVtable() *DBusInterfaceVTable {
296 302
297 cret := xDBusInterfaceSkeletonGetVtable(x.GoPointer())303 cret := xDBusInterfaceSkeletonGetVtable(x.GoPointer())
304+
298 return cret305 return cret
299 }306 }
300 307
@@ -304,6 +311,7 @@ var xDBusInterfaceSkeletonHasConnection func(uintptr, uintptr) bool
304 func (x *DBusInterfaceSkeleton) HasConnection(ConnectionVar *DBusConnection) bool {311 func (x *DBusInterfaceSkeleton) HasConnection(ConnectionVar *DBusConnection) bool {
305 312
306 cret := xDBusInterfaceSkeletonHasConnection(x.GoPointer(), ConnectionVar.GoPointer())313 cret := xDBusInterfaceSkeletonHasConnection(x.GoPointer(), ConnectionVar.GoPointer())
314+
307 return cret315 return cret
308 }316 }
309 317
M v4/gio/gdbusintrospection.go +13 -0
@@ -41,6 +41,7 @@ var xDBusAnnotationInfoRef func(uintptr) *DBusAnnotationInfo
41 func (x *DBusAnnotationInfo) Ref() *DBusAnnotationInfo {41 func (x *DBusAnnotationInfo) Ref() *DBusAnnotationInfo {
42 42
43 cret := xDBusAnnotationInfoRef(x.GoPointer())43 cret := xDBusAnnotationInfoRef(x.GoPointer())
44+
44 return cret45 return cret
45 }46 }
46 47
@@ -85,6 +86,7 @@ var xDBusArgInfoRef func(uintptr) *DBusArgInfo
85 func (x *DBusArgInfo) Ref() *DBusArgInfo {86 func (x *DBusArgInfo) Ref() *DBusArgInfo {
86 87
87 cret := xDBusArgInfoRef(x.GoPointer())88 cret := xDBusArgInfoRef(x.GoPointer())
89+
88 return cret90 return cret
89 }91 }
90 92
@@ -178,6 +180,7 @@ var xDBusInterfaceInfoLookupMethod func(uintptr, string) *DBusMethodInfo
178 func (x *DBusInterfaceInfo) LookupMethod(NameVar string) *DBusMethodInfo {180 func (x *DBusInterfaceInfo) LookupMethod(NameVar string) *DBusMethodInfo {
179 181
180 cret := xDBusInterfaceInfoLookupMethod(x.GoPointer(), NameVar)182 cret := xDBusInterfaceInfoLookupMethod(x.GoPointer(), NameVar)
183+
181 return cret184 return cret
182 }185 }
183 186
@@ -190,6 +193,7 @@ var xDBusInterfaceInfoLookupProperty func(uintptr, string) *DBusPropertyInfo
190 func (x *DBusInterfaceInfo) LookupProperty(NameVar string) *DBusPropertyInfo {193 func (x *DBusInterfaceInfo) LookupProperty(NameVar string) *DBusPropertyInfo {
191 194
192 cret := xDBusInterfaceInfoLookupProperty(x.GoPointer(), NameVar)195 cret := xDBusInterfaceInfoLookupProperty(x.GoPointer(), NameVar)
196+
193 return cret197 return cret
194 }198 }
195 199
@@ -202,6 +206,7 @@ var xDBusInterfaceInfoLookupSignal func(uintptr, string) *DBusSignalInfo
202 func (x *DBusInterfaceInfo) LookupSignal(NameVar string) *DBusSignalInfo {206 func (x *DBusInterfaceInfo) LookupSignal(NameVar string) *DBusSignalInfo {
203 207
204 cret := xDBusInterfaceInfoLookupSignal(x.GoPointer(), NameVar)208 cret := xDBusInterfaceInfoLookupSignal(x.GoPointer(), NameVar)
209+
205 return cret210 return cret
206 }211 }
207 212
@@ -212,6 +217,7 @@ var xDBusInterfaceInfoRef func(uintptr) *DBusInterfaceInfo
212 func (x *DBusInterfaceInfo) Ref() *DBusInterfaceInfo {217 func (x *DBusInterfaceInfo) Ref() *DBusInterfaceInfo {
213 218
214 cret := xDBusInterfaceInfoRef(x.GoPointer())219 cret := xDBusInterfaceInfoRef(x.GoPointer())
220+
215 return cret221 return cret
216 }222 }
217 223
@@ -258,6 +264,7 @@ var xDBusMethodInfoRef func(uintptr) *DBusMethodInfo
258 func (x *DBusMethodInfo) Ref() *DBusMethodInfo {264 func (x *DBusMethodInfo) Ref() *DBusMethodInfo {
259 265
260 cret := xDBusMethodInfoRef(x.GoPointer())266 cret := xDBusMethodInfoRef(x.GoPointer())
267+
261 return cret268 return cret
262 }269 }
263 270
@@ -311,6 +318,7 @@ func NewDBusNodeInfoForXml(XmlDataVar string) (*DBusNodeInfo, error) {
311 var cerr *glib.Error318 var cerr *glib.Error
312 319
313 cret := xNewDBusNodeInfoForXml(XmlDataVar, &cerr)320 cret := xNewDBusNodeInfoForXml(XmlDataVar, &cerr)
321+
314 if cerr == nil {322 if cerr == nil {
315 return cret, nil323 return cret, nil
316 }324 }
@@ -338,6 +346,7 @@ var xDBusNodeInfoLookupInterface func(uintptr, string) *DBusInterfaceInfo
338 func (x *DBusNodeInfo) LookupInterface(NameVar string) *DBusInterfaceInfo {346 func (x *DBusNodeInfo) LookupInterface(NameVar string) *DBusInterfaceInfo {
339 347
340 cret := xDBusNodeInfoLookupInterface(x.GoPointer(), NameVar)348 cret := xDBusNodeInfoLookupInterface(x.GoPointer(), NameVar)
349+
341 return cret350 return cret
342 }351 }
343 352
@@ -348,6 +357,7 @@ var xDBusNodeInfoRef func(uintptr) *DBusNodeInfo
348 func (x *DBusNodeInfo) Ref() *DBusNodeInfo {357 func (x *DBusNodeInfo) Ref() *DBusNodeInfo {
349 358
350 cret := xDBusNodeInfoRef(x.GoPointer())359 cret := xDBusNodeInfoRef(x.GoPointer())
360+
351 return cret361 return cret
352 }362 }
353 363
@@ -394,6 +404,7 @@ var xDBusPropertyInfoRef func(uintptr) *DBusPropertyInfo
394 func (x *DBusPropertyInfo) Ref() *DBusPropertyInfo {404 func (x *DBusPropertyInfo) Ref() *DBusPropertyInfo {
395 405
396 cret := xDBusPropertyInfoRef(x.GoPointer())406 cret := xDBusPropertyInfoRef(x.GoPointer())
407+
397 return cret408 return cret
398 }409 }
399 410
@@ -438,6 +449,7 @@ var xDBusSignalInfoRef func(uintptr) *DBusSignalInfo
438 func (x *DBusSignalInfo) Ref() *DBusSignalInfo {449 func (x *DBusSignalInfo) Ref() *DBusSignalInfo {
439 450
440 cret := xDBusSignalInfoRef(x.GoPointer())451 cret := xDBusSignalInfoRef(x.GoPointer())
452+
441 return cret453 return cret
442 }454 }
443 455
@@ -460,6 +472,7 @@ var xDbusAnnotationInfoLookup func(uintptr, string) string
460 func DbusAnnotationInfoLookup(AnnotationsVar uintptr, NameVar string) string {472 func DbusAnnotationInfoLookup(AnnotationsVar uintptr, NameVar string) string {
461 473
462 cret := xDbusAnnotationInfoLookup(AnnotationsVar, NameVar)474 cret := xDbusAnnotationInfoLookup(AnnotationsVar, NameVar)
475+
463 return cret476 return cret
464 }477 }
465 478
M v4/gio/gdbusmenumodel.go +7 -1
@@ -2,6 +2,8 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 "github.com/jwijenbergh/puregotk/v4/gobject/types"9 "github.com/jwijenbergh/puregotk/v4/gobject/types"
@@ -50,7 +52,11 @@ var xDBusMenuModelGet func(uintptr, uintptr, string) uintptr
50 func DBusMenuModelGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusMenuModel {52 func DBusMenuModelGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusMenuModel {
51 var cls *DBusMenuModel53 var cls *DBusMenuModel
52 54
53- cret := xDBusMenuModelGet(ConnectionVar.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar)55+ BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)
56+
57+ cret := xDBusMenuModelGet(ConnectionVar.GoPointer(), BusNameVarPtr, ObjectPathVar)
58+
59+ runtime.KeepAlive(BusNameVarBytes)
54 60
55 if cret == 0 {61 if cret == 0 {
56 return nil62 return nil
M v4/gio/gdbusmessage.go +64 -7
@@ -2,6 +2,8 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -75,7 +77,15 @@ var xNewDBusMessageMethodCall func(uintptr, string, uintptr, string) uintptr
75 func NewDBusMessageMethodCall(NameVar *string, PathVar string, InterfaceVar *string, MethodVar string) *DBusMessage {77 func NewDBusMessageMethodCall(NameVar *string, PathVar string, InterfaceVar *string, MethodVar string) *DBusMessage {
76 var cls *DBusMessage78 var cls *DBusMessage
77 79
78- cret := xNewDBusMessageMethodCall(core.NullableStringToPtr(NameVar), PathVar, core.NullableStringToPtr(InterfaceVar), MethodVar)80+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
81+
82+ InterfaceVarPtr, InterfaceVarBytes := core.NullableStringToPtr(InterfaceVar)
83+
84+ cret := xNewDBusMessageMethodCall(NameVarPtr, PathVar, InterfaceVarPtr, MethodVar)
85+
86+ runtime.KeepAlive(NameVarBytes)
87+
88+ runtime.KeepAlive(InterfaceVarBytes)
79 89
80 if cret == 0 {90 if cret == 0 {
81 return nil91 return nil
@@ -136,6 +146,7 @@ var xDBusMessageGetArg0 func(uintptr) string
136 func (x *DBusMessage) GetArg0() string {146 func (x *DBusMessage) GetArg0() string {
137 147
138 cret := xDBusMessageGetArg0(x.GoPointer())148 cret := xDBusMessageGetArg0(x.GoPointer())
149+
139 return cret150 return cret
140 }151 }
141 152
@@ -147,6 +158,7 @@ var xDBusMessageGetArg0Path func(uintptr) string
147 func (x *DBusMessage) GetArg0Path() string {158 func (x *DBusMessage) GetArg0Path() string {
148 159
149 cret := xDBusMessageGetArg0Path(x.GoPointer())160 cret := xDBusMessageGetArg0Path(x.GoPointer())
161+
150 return cret162 return cret
151 }163 }
152 164
@@ -156,6 +168,7 @@ var xDBusMessageGetBody func(uintptr) *glib.Variant
156 func (x *DBusMessage) GetBody() *glib.Variant {168 func (x *DBusMessage) GetBody() *glib.Variant {
157 169
158 cret := xDBusMessageGetBody(x.GoPointer())170 cret := xDBusMessageGetBody(x.GoPointer())
171+
159 return cret172 return cret
160 }173 }
161 174
@@ -165,6 +178,7 @@ var xDBusMessageGetByteOrder func(uintptr) DBusMessageByteOrder
165 func (x *DBusMessage) GetByteOrder() DBusMessageByteOrder {178 func (x *DBusMessage) GetByteOrder() DBusMessageByteOrder {
166 179
167 cret := xDBusMessageGetByteOrder(x.GoPointer())180 cret := xDBusMessageGetByteOrder(x.GoPointer())
181+
168 return cret182 return cret
169 }183 }
170 184
@@ -174,6 +188,7 @@ var xDBusMessageGetDestination func(uintptr) string
174 func (x *DBusMessage) GetDestination() string {188 func (x *DBusMessage) GetDestination() string {
175 189
176 cret := xDBusMessageGetDestination(x.GoPointer())190 cret := xDBusMessageGetDestination(x.GoPointer())
191+
177 return cret192 return cret
178 }193 }
179 194
@@ -183,6 +198,7 @@ var xDBusMessageGetErrorName func(uintptr) string
183 func (x *DBusMessage) GetErrorName() string {198 func (x *DBusMessage) GetErrorName() string {
184 199
185 cret := xDBusMessageGetErrorName(x.GoPointer())200 cret := xDBusMessageGetErrorName(x.GoPointer())
201+
186 return cret202 return cret
187 }203 }
188 204
@@ -192,6 +208,7 @@ var xDBusMessageGetFlags func(uintptr) DBusMessageFlags
192 func (x *DBusMessage) GetFlags() DBusMessageFlags {208 func (x *DBusMessage) GetFlags() DBusMessageFlags {
193 209
194 cret := xDBusMessageGetFlags(x.GoPointer())210 cret := xDBusMessageGetFlags(x.GoPointer())
211+
195 return cret212 return cret
196 }213 }
197 214
@@ -204,6 +221,7 @@ var xDBusMessageGetHeader func(uintptr, DBusMessageHeaderField) *glib.Variant
204 func (x *DBusMessage) GetHeader(HeaderFieldVar DBusMessageHeaderField) *glib.Variant {221 func (x *DBusMessage) GetHeader(HeaderFieldVar DBusMessageHeaderField) *glib.Variant {
205 222
206 cret := xDBusMessageGetHeader(x.GoPointer(), HeaderFieldVar)223 cret := xDBusMessageGetHeader(x.GoPointer(), HeaderFieldVar)
224+
207 return cret225 return cret
208 }226 }
209 227
@@ -213,6 +231,7 @@ var xDBusMessageGetHeaderFields func(uintptr) uintptr
213 func (x *DBusMessage) GetHeaderFields() uintptr {231 func (x *DBusMessage) GetHeaderFields() uintptr {
214 232
215 cret := xDBusMessageGetHeaderFields(x.GoPointer())233 cret := xDBusMessageGetHeaderFields(x.GoPointer())
234+
216 return cret235 return cret
217 }236 }
218 237
@@ -222,6 +241,7 @@ var xDBusMessageGetInterface func(uintptr) string
222 func (x *DBusMessage) GetInterface() string {241 func (x *DBusMessage) GetInterface() string {
223 242
224 cret := xDBusMessageGetInterface(x.GoPointer())243 cret := xDBusMessageGetInterface(x.GoPointer())
244+
225 return cret245 return cret
226 }246 }
227 247
@@ -233,6 +253,7 @@ var xDBusMessageGetLocked func(uintptr) bool
233 func (x *DBusMessage) GetLocked() bool {253 func (x *DBusMessage) GetLocked() bool {
234 254
235 cret := xDBusMessageGetLocked(x.GoPointer())255 cret := xDBusMessageGetLocked(x.GoPointer())
256+
236 return cret257 return cret
237 }258 }
238 259
@@ -242,6 +263,7 @@ var xDBusMessageGetMember func(uintptr) string
242 func (x *DBusMessage) GetMember() string {263 func (x *DBusMessage) GetMember() string {
243 264
244 cret := xDBusMessageGetMember(x.GoPointer())265 cret := xDBusMessageGetMember(x.GoPointer())
266+
245 return cret267 return cret
246 }268 }
247 269
@@ -251,6 +273,7 @@ var xDBusMessageGetMessageType func(uintptr) DBusMessageType
251 func (x *DBusMessage) GetMessageType() DBusMessageType {273 func (x *DBusMessage) GetMessageType() DBusMessageType {
252 274
253 cret := xDBusMessageGetMessageType(x.GoPointer())275 cret := xDBusMessageGetMessageType(x.GoPointer())
276+
254 return cret277 return cret
255 }278 }
256 279
@@ -260,6 +283,7 @@ var xDBusMessageGetNumUnixFds func(uintptr) uint32
260 func (x *DBusMessage) GetNumUnixFds() uint32 {283 func (x *DBusMessage) GetNumUnixFds() uint32 {
261 284
262 cret := xDBusMessageGetNumUnixFds(x.GoPointer())285 cret := xDBusMessageGetNumUnixFds(x.GoPointer())
286+
263 return cret287 return cret
264 }288 }
265 289
@@ -269,6 +293,7 @@ var xDBusMessageGetPath func(uintptr) string
269 func (x *DBusMessage) GetPath() string {293 func (x *DBusMessage) GetPath() string {
270 294
271 cret := xDBusMessageGetPath(x.GoPointer())295 cret := xDBusMessageGetPath(x.GoPointer())
296+
272 return cret297 return cret
273 }298 }
274 299
@@ -278,6 +303,7 @@ var xDBusMessageGetReplySerial func(uintptr) uint32
278 func (x *DBusMessage) GetReplySerial() uint32 {303 func (x *DBusMessage) GetReplySerial() uint32 {
279 304
280 cret := xDBusMessageGetReplySerial(x.GoPointer())305 cret := xDBusMessageGetReplySerial(x.GoPointer())
306+
281 return cret307 return cret
282 }308 }
283 309
@@ -287,6 +313,7 @@ var xDBusMessageGetSender func(uintptr) string
287 func (x *DBusMessage) GetSender() string {313 func (x *DBusMessage) GetSender() string {
288 314
289 cret := xDBusMessageGetSender(x.GoPointer())315 cret := xDBusMessageGetSender(x.GoPointer())
316+
290 return cret317 return cret
291 }318 }
292 319
@@ -296,6 +323,7 @@ var xDBusMessageGetSerial func(uintptr) uint32
296 func (x *DBusMessage) GetSerial() uint32 {323 func (x *DBusMessage) GetSerial() uint32 {
297 324
298 cret := xDBusMessageGetSerial(x.GoPointer())325 cret := xDBusMessageGetSerial(x.GoPointer())
326+
299 return cret327 return cret
300 }328 }
301 329
@@ -307,6 +335,7 @@ var xDBusMessageGetSignature func(uintptr) string
307 func (x *DBusMessage) GetSignature() string {335 func (x *DBusMessage) GetSignature() string {
308 336
309 cret := xDBusMessageGetSignature(x.GoPointer())337 cret := xDBusMessageGetSignature(x.GoPointer())
338+
310 return cret339 return cret
311 }340 }
312 341
@@ -453,6 +482,7 @@ var xDBusMessagePrint func(uintptr, uint) string
453 func (x *DBusMessage) Print(IndentVar uint) string {482 func (x *DBusMessage) Print(IndentVar uint) string {
454 483
455 cret := xDBusMessagePrint(x.GoPointer(), IndentVar)484 cret := xDBusMessagePrint(x.GoPointer(), IndentVar)
485+
456 return cret486 return cret
457 }487 }
458 488
@@ -483,7 +513,11 @@ var xDBusMessageSetDestination func(uintptr, uintptr)
483 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION header field.513 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION header field.
484 func (x *DBusMessage) SetDestination(ValueVar *string) {514 func (x *DBusMessage) SetDestination(ValueVar *string) {
485 515
486- xDBusMessageSetDestination(x.GoPointer(), core.NullableStringToPtr(ValueVar))516+ ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)
517+
518+ xDBusMessageSetDestination(x.GoPointer(), ValueVarPtr)
519+
520+ runtime.KeepAlive(ValueVarBytes)
487 521
488 }522 }
489 523
@@ -521,7 +555,11 @@ var xDBusMessageSetInterface func(uintptr, uintptr)
521 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE header field.555 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE header field.
522 func (x *DBusMessage) SetInterface(ValueVar *string) {556 func (x *DBusMessage) SetInterface(ValueVar *string) {
523 557
524- xDBusMessageSetInterface(x.GoPointer(), core.NullableStringToPtr(ValueVar))558+ ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)
559+
560+ xDBusMessageSetInterface(x.GoPointer(), ValueVarPtr)
561+
562+ runtime.KeepAlive(ValueVarBytes)
525 563
526 }564 }
527 565
@@ -530,7 +568,11 @@ var xDBusMessageSetMember func(uintptr, uintptr)
530 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_MEMBER header field.568 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_MEMBER header field.
531 func (x *DBusMessage) SetMember(ValueVar *string) {569 func (x *DBusMessage) SetMember(ValueVar *string) {
532 570
533- xDBusMessageSetMember(x.GoPointer(), core.NullableStringToPtr(ValueVar))571+ ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)
572+
573+ xDBusMessageSetMember(x.GoPointer(), ValueVarPtr)
574+
575+ runtime.KeepAlive(ValueVarBytes)
534 576
535 }577 }
536 578
@@ -557,7 +599,11 @@ var xDBusMessageSetPath func(uintptr, uintptr)
557 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_PATH header field.599 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_PATH header field.
558 func (x *DBusMessage) SetPath(ValueVar *string) {600 func (x *DBusMessage) SetPath(ValueVar *string) {
559 601
560- xDBusMessageSetPath(x.GoPointer(), core.NullableStringToPtr(ValueVar))602+ ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)
603+
604+ xDBusMessageSetPath(x.GoPointer(), ValueVarPtr)
605+
606+ runtime.KeepAlive(ValueVarBytes)
561 607
562 }608 }
563 609
@@ -575,7 +621,11 @@ var xDBusMessageSetSender func(uintptr, uintptr)
575 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SENDER header field.621 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SENDER header field.
576 func (x *DBusMessage) SetSender(ValueVar *string) {622 func (x *DBusMessage) SetSender(ValueVar *string) {
577 623
578- xDBusMessageSetSender(x.GoPointer(), core.NullableStringToPtr(ValueVar))624+ ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)
625+
626+ xDBusMessageSetSender(x.GoPointer(), ValueVarPtr)
627+
628+ runtime.KeepAlive(ValueVarBytes)
579 629
580 }630 }
581 631
@@ -596,7 +646,11 @@ var xDBusMessageSetSignature func(uintptr, uintptr)
596 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE header field.646 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE header field.
597 func (x *DBusMessage) SetSignature(ValueVar *string) {647 func (x *DBusMessage) SetSignature(ValueVar *string) {
598 648
599- xDBusMessageSetSignature(x.GoPointer(), core.NullableStringToPtr(ValueVar))649+ ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)
650+
651+ xDBusMessageSetSignature(x.GoPointer(), ValueVarPtr)
652+
653+ runtime.KeepAlive(ValueVarBytes)
600 654
601 }655 }
602 656
@@ -627,6 +681,7 @@ func (x *DBusMessage) ToBlob(OutSizeVar *uint, CapabilitiesVar DBusCapabilityFla
627 var cerr *glib.Error681 var cerr *glib.Error
628 682
629 cret := xDBusMessageToBlob(x.GoPointer(), OutSizeVar, CapabilitiesVar, &cerr)683 cret := xDBusMessageToBlob(x.GoPointer(), OutSizeVar, CapabilitiesVar, &cerr)
684+
630 if cerr == nil {685 if cerr == nil {
631 return cret, nil686 return cret, nil
632 }687 }
@@ -647,6 +702,7 @@ func (x *DBusMessage) ToGerror() (bool, error) {
647 var cerr *glib.Error702 var cerr *glib.Error
648 703
649 cret := xDBusMessageToGerror(x.GoPointer())704 cret := xDBusMessageToGerror(x.GoPointer())
705+
650 if cerr == nil {706 if cerr == nil {
651 return cret, nil707 return cret, nil
652 }708 }
@@ -680,6 +736,7 @@ func DBusMessageBytesNeeded(BlobVar []byte, BlobLenVar uint) (int, error) {
680 var cerr *glib.Error736 var cerr *glib.Error
681 737
682 cret := xDBusMessageBytesNeeded(BlobVar, BlobLenVar, &cerr)738 cret := xDBusMessageBytesNeeded(BlobVar, BlobLenVar, &cerr)
739+
683 if cerr == nil {740 if cerr == nil {
684 return cret, nil741 return cret, nil
685 }742 }
M v4/gio/gdbusmethodinvocation.go +8 -0
@@ -90,6 +90,7 @@ var xDBusMethodInvocationGetInterfaceName func(uintptr) string
90 func (x *DBusMethodInvocation) GetInterfaceName() string {90 func (x *DBusMethodInvocation) GetInterfaceName() string {
91 91
92 cret := xDBusMethodInvocationGetInterfaceName(x.GoPointer())92 cret := xDBusMethodInvocationGetInterfaceName(x.GoPointer())
93+
93 return cret94 return cret
94 }95 }
95 96
@@ -129,6 +130,7 @@ var xDBusMethodInvocationGetMethodInfo func(uintptr) *DBusMethodInfo
129 func (x *DBusMethodInvocation) GetMethodInfo() *DBusMethodInfo {130 func (x *DBusMethodInvocation) GetMethodInfo() *DBusMethodInfo {
130 131
131 cret := xDBusMethodInvocationGetMethodInfo(x.GoPointer())132 cret := xDBusMethodInvocationGetMethodInfo(x.GoPointer())
133+
132 return cret134 return cret
133 }135 }
134 136
@@ -138,6 +140,7 @@ var xDBusMethodInvocationGetMethodName func(uintptr) string
138 func (x *DBusMethodInvocation) GetMethodName() string {140 func (x *DBusMethodInvocation) GetMethodName() string {
139 141
140 cret := xDBusMethodInvocationGetMethodName(x.GoPointer())142 cret := xDBusMethodInvocationGetMethodName(x.GoPointer())
143+
141 return cret144 return cret
142 }145 }
143 146
@@ -147,6 +150,7 @@ var xDBusMethodInvocationGetObjectPath func(uintptr) string
147 func (x *DBusMethodInvocation) GetObjectPath() string {150 func (x *DBusMethodInvocation) GetObjectPath() string {
148 151
149 cret := xDBusMethodInvocationGetObjectPath(x.GoPointer())152 cret := xDBusMethodInvocationGetObjectPath(x.GoPointer())
153+
150 return cret154 return cret
151 }155 }
152 156
@@ -157,6 +161,7 @@ var xDBusMethodInvocationGetParameters func(uintptr) *glib.Variant
157 func (x *DBusMethodInvocation) GetParameters() *glib.Variant {161 func (x *DBusMethodInvocation) GetParameters() *glib.Variant {
158 162
159 cret := xDBusMethodInvocationGetParameters(x.GoPointer())163 cret := xDBusMethodInvocationGetParameters(x.GoPointer())
164+
160 return cret165 return cret
161 }166 }
162 167
@@ -176,6 +181,7 @@ var xDBusMethodInvocationGetPropertyInfo func(uintptr) *DBusPropertyInfo
176 func (x *DBusMethodInvocation) GetPropertyInfo() *DBusPropertyInfo {181 func (x *DBusMethodInvocation) GetPropertyInfo() *DBusPropertyInfo {
177 182
178 cret := xDBusMethodInvocationGetPropertyInfo(x.GoPointer())183 cret := xDBusMethodInvocationGetPropertyInfo(x.GoPointer())
184+
179 return cret185 return cret
180 }186 }
181 187
@@ -188,6 +194,7 @@ var xDBusMethodInvocationGetSender func(uintptr) string
188 func (x *DBusMethodInvocation) GetSender() string {194 func (x *DBusMethodInvocation) GetSender() string {
189 195
190 cret := xDBusMethodInvocationGetSender(x.GoPointer())196 cret := xDBusMethodInvocationGetSender(x.GoPointer())
197+
191 return cret198 return cret
192 }199 }
193 200
@@ -197,6 +204,7 @@ var xDBusMethodInvocationGetUserData func(uintptr) uintptr
197 func (x *DBusMethodInvocation) GetUserData() uintptr {204 func (x *DBusMethodInvocation) GetUserData() uintptr {
198 205
199 cret := xDBusMethodInvocationGetUserData(x.GoPointer())206 cret := xDBusMethodInvocationGetUserData(x.GoPointer())
207+
200 return cret208 return cret
201 }209 }
202 210
M v4/gio/gdbusnameowning.go +4 -0
@@ -134,6 +134,7 @@ func BusOwnName(BusTypeVar BusType, NameVar string, FlagsVar BusNameOwnerFlags,
134 }134 }
135 135
136 cret := xBusOwnName(BusTypeVar, NameVar, FlagsVar, BusAcquiredHandlerVarRef, NameAcquiredHandlerVarRef, NameLostHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)136 cret := xBusOwnName(BusTypeVar, NameVar, FlagsVar, BusAcquiredHandlerVarRef, NameAcquiredHandlerVarRef, NameLostHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)
137+
137 return cret138 return cret
138 }139 }
139 140
@@ -189,6 +190,7 @@ func BusOwnNameOnConnection(ConnectionVar *DBusConnection, NameVar string, Flags
189 }190 }
190 191
191 cret := xBusOwnNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredHandlerVarRef, NameLostHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)192 cret := xBusOwnNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredHandlerVarRef, NameLostHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)
193+
192 return cret194 return cret
193 }195 }
194 196
@@ -199,6 +201,7 @@ var xBusOwnNameOnConnectionWithClosures func(uintptr, string, BusNameOwnerFlags,
199 func BusOwnNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameOwnerFlags, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint {201 func BusOwnNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameOwnerFlags, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint {
200 202
201 cret := xBusOwnNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredClosureVar, NameLostClosureVar)203 cret := xBusOwnNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredClosureVar, NameLostClosureVar)
204+
202 return cret205 return cret
203 }206 }
204 207
@@ -209,6 +212,7 @@ var xBusOwnNameWithClosures func(BusType, string, BusNameOwnerFlags, *gobject.Cl
209 func BusOwnNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameOwnerFlags, BusAcquiredClosureVar *gobject.Closure, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint {212 func BusOwnNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameOwnerFlags, BusAcquiredClosureVar *gobject.Closure, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint {
210 213
211 cret := xBusOwnNameWithClosures(BusTypeVar, NameVar, FlagsVar, BusAcquiredClosureVar, NameAcquiredClosureVar, NameLostClosureVar)214 cret := xBusOwnNameWithClosures(BusTypeVar, NameVar, FlagsVar, BusAcquiredClosureVar, NameAcquiredClosureVar, NameLostClosureVar)
215+
212 return cret216 return cret
213 }217 }
214 218
M v4/gio/gdbusnamewatching.go +4 -0
@@ -115,6 +115,7 @@ func BusWatchName(BusTypeVar BusType, NameVar string, FlagsVar BusNameWatcherFla
115 }115 }
116 116
117 cret := xBusWatchName(BusTypeVar, NameVar, FlagsVar, NameAppearedHandlerVarRef, NameVanishedHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)117 cret := xBusWatchName(BusTypeVar, NameVar, FlagsVar, NameAppearedHandlerVarRef, NameVanishedHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)
118+
118 return cret119 return cret
119 }120 }
120 121
@@ -170,6 +171,7 @@ func BusWatchNameOnConnection(ConnectionVar *DBusConnection, NameVar string, Fla
170 }171 }
171 172
172 cret := xBusWatchNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedHandlerVarRef, NameVanishedHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)173 cret := xBusWatchNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedHandlerVarRef, NameVanishedHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)
174+
173 return cret175 return cret
174 }176 }
175 177
@@ -180,6 +182,7 @@ var xBusWatchNameOnConnectionWithClosures func(uintptr, string, BusNameWatcherFl
180 func BusWatchNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint {182 func BusWatchNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint {
181 183
182 cret := xBusWatchNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar)184 cret := xBusWatchNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar)
185+
183 return cret186 return cret
184 }187 }
185 188
@@ -190,6 +193,7 @@ var xBusWatchNameWithClosures func(BusType, string, BusNameWatcherFlags, *gobjec
190 func BusWatchNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint {193 func BusWatchNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint {
191 194
192 cret := xBusWatchNameWithClosures(BusTypeVar, NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar)195 cret := xBusWatchNameWithClosures(BusTypeVar, NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar)
196+
193 return cret197 return cret
194 }198 }
195 199
M v4/gio/gdbusobject.go +2 -0
@@ -219,6 +219,7 @@ func (x *DBusObjectBase) GetInterface(InterfaceNameVar string) *DBusInterfaceBas
219 func (x *DBusObjectBase) GetInterfaces() *glib.List {219 func (x *DBusObjectBase) GetInterfaces() *glib.List {
220 220
221 cret := XGDbusObjectGetInterfaces(x.GoPointer())221 cret := XGDbusObjectGetInterfaces(x.GoPointer())
222+
222 return cret223 return cret
223 }224 }
224 225
@@ -226,6 +227,7 @@ func (x *DBusObjectBase) GetInterfaces() *glib.List {
226 func (x *DBusObjectBase) GetObjectPath() string {227 func (x *DBusObjectBase) GetObjectPath() string {
227 228
228 cret := XGDbusObjectGetObjectPath(x.GoPointer())229 cret := XGDbusObjectGetObjectPath(x.GoPointer())
230+
229 return cret231 return cret
230 }232 }
231 233
M v4/gio/gdbusobjectmanager.go +2 -0
@@ -328,6 +328,7 @@ func (x *DBusObjectManagerBase) GetObject(ObjectPathVar string) *DBusObjectBase
328 func (x *DBusObjectManagerBase) GetObjectPath() string {328 func (x *DBusObjectManagerBase) GetObjectPath() string {
329 329
330 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())330 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())
331+
331 return cret332 return cret
332 }333 }
333 334
@@ -335,6 +336,7 @@ func (x *DBusObjectManagerBase) GetObjectPath() string {
335 func (x *DBusObjectManagerBase) GetObjects() *glib.List {336 func (x *DBusObjectManagerBase) GetObjects() *glib.List {
336 337
337 cret := XGDbusObjectManagerGetObjects(x.GoPointer())338 cret := XGDbusObjectManagerGetObjects(x.GoPointer())
339+
338 return cret340 return cret
339 }341 }
340 342
M v4/gio/gdbusobjectmanagerclient.go +13 -1
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -320,7 +321,11 @@ func NewDBusObjectManagerClientSync(ConnectionVar *DBusConnection, FlagsVar DBus
320 }321 }
321 }322 }
322 323
323- cret := xNewDBusObjectManagerClientSync(ConnectionVar.GoPointer(), FlagsVar, core.NullableStringToPtr(NameVar), ObjectPathVar, GetProxyTypeFuncVarRef, GetProxyTypeUserDataVar, GetProxyTypeDestroyNotifyVarRef, CancellableVar.GoPointer(), &cerr)324+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
325+
326+ cret := xNewDBusObjectManagerClientSync(ConnectionVar.GoPointer(), FlagsVar, NameVarPtr, ObjectPathVar, GetProxyTypeFuncVarRef, GetProxyTypeUserDataVar, GetProxyTypeDestroyNotifyVarRef, CancellableVar.GoPointer(), &cerr)
327+
328+ runtime.KeepAlive(NameVarBytes)
324 329
325 if cret == 0 {330 if cret == 0 {
326 return nil, cerr331 return nil, cerr
@@ -357,6 +362,7 @@ var xDBusObjectManagerClientGetFlags func(uintptr) DBusObjectManagerClientFlags
357 func (x *DBusObjectManagerClient) GetFlags() DBusObjectManagerClientFlags {362 func (x *DBusObjectManagerClient) GetFlags() DBusObjectManagerClientFlags {
358 363
359 cret := xDBusObjectManagerClientGetFlags(x.GoPointer())364 cret := xDBusObjectManagerClientGetFlags(x.GoPointer())
365+
360 return cret366 return cret
361 }367 }
362 368
@@ -367,6 +373,7 @@ var xDBusObjectManagerClientGetName func(uintptr) string
367 func (x *DBusObjectManagerClient) GetName() string {373 func (x *DBusObjectManagerClient) GetName() string {
368 374
369 cret := xDBusObjectManagerClientGetName(x.GoPointer())375 cret := xDBusObjectManagerClientGetName(x.GoPointer())
376+
370 return cret377 return cret
371 }378 }
372 379
@@ -379,6 +386,7 @@ var xDBusObjectManagerClientGetNameOwner func(uintptr) string
379 func (x *DBusObjectManagerClient) GetNameOwner() string {386 func (x *DBusObjectManagerClient) GetNameOwner() string {
380 387
381 cret := xDBusObjectManagerClientGetNameOwner(x.GoPointer())388 cret := xDBusObjectManagerClientGetNameOwner(x.GoPointer())
389+
382 return cret390 return cret
383 }391 }
384 392
@@ -595,6 +603,7 @@ func (x *DBusObjectManagerClient) InitFinish(ResVar AsyncResult) (bool, error) {
595 var cerr *glib.Error603 var cerr *glib.Error
596 604
597 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)605 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
606+
598 if cerr == nil {607 if cerr == nil {
599 return cret, nil608 return cret, nil
600 }609 }
@@ -655,6 +664,7 @@ func (x *DBusObjectManagerClient) GetObject(ObjectPathVar string) *DBusObjectBas
655 func (x *DBusObjectManagerClient) GetObjectPath() string {664 func (x *DBusObjectManagerClient) GetObjectPath() string {
656 665
657 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())666 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())
667+
658 return cret668 return cret
659 }669 }
660 670
@@ -662,6 +672,7 @@ func (x *DBusObjectManagerClient) GetObjectPath() string {
662 func (x *DBusObjectManagerClient) GetObjects() *glib.List {672 func (x *DBusObjectManagerClient) GetObjects() *glib.List {
663 673
664 cret := XGDbusObjectManagerGetObjects(x.GoPointer())674 cret := XGDbusObjectManagerGetObjects(x.GoPointer())
675+
665 return cret676 return cret
666 }677 }
667 678
@@ -707,6 +718,7 @@ func (x *DBusObjectManagerClient) Init(CancellableVar *Cancellable) (bool, error
707 var cerr *glib.Error718 var cerr *glib.Error
708 719
709 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)720 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
721+
710 if cerr == nil {722 if cerr == nil {
711 return cret, nil723 return cret, nil
712 }724 }
M v4/gio/gdbusobjectmanagerserver.go +4 -0
@@ -144,6 +144,7 @@ var xDBusObjectManagerServerIsExported func(uintptr, uintptr) bool
144 func (x *DBusObjectManagerServer) IsExported(ObjectVar *DBusObjectSkeleton) bool {144 func (x *DBusObjectManagerServer) IsExported(ObjectVar *DBusObjectSkeleton) bool {
145 145
146 cret := xDBusObjectManagerServerIsExported(x.GoPointer(), ObjectVar.GoPointer())146 cret := xDBusObjectManagerServerIsExported(x.GoPointer(), ObjectVar.GoPointer())
147+
147 return cret148 return cret
148 }149 }
149 150
@@ -167,6 +168,7 @@ var xDBusObjectManagerServerUnexport func(uintptr, string) bool
167 func (x *DBusObjectManagerServer) Unexport(ObjectPathVar string) bool {168 func (x *DBusObjectManagerServer) Unexport(ObjectPathVar string) bool {
168 169
169 cret := xDBusObjectManagerServerUnexport(x.GoPointer(), ObjectPathVar)170 cret := xDBusObjectManagerServerUnexport(x.GoPointer(), ObjectPathVar)
171+
170 return cret172 return cret
171 }173 }
172 174
@@ -231,6 +233,7 @@ func (x *DBusObjectManagerServer) GetObject(ObjectPathVar string) *DBusObjectBas
231 func (x *DBusObjectManagerServer) GetObjectPath() string {233 func (x *DBusObjectManagerServer) GetObjectPath() string {
232 234
233 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())235 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())
236+
234 return cret237 return cret
235 }238 }
236 239
@@ -238,6 +241,7 @@ func (x *DBusObjectManagerServer) GetObjectPath() string {
238 func (x *DBusObjectManagerServer) GetObjects() *glib.List {241 func (x *DBusObjectManagerServer) GetObjects() *glib.List {
239 242
240 cret := XGDbusObjectManagerGetObjects(x.GoPointer())243 cret := XGDbusObjectManagerGetObjects(x.GoPointer())
244+
241 return cret245 return cret
242 }246 }
243 247
M v4/gio/gdbusobjectproxy.go +2 -0
@@ -134,6 +134,7 @@ func (x *DBusObjectProxy) GetInterface(InterfaceNameVar string) *DBusInterfaceBa
134 func (x *DBusObjectProxy) GetInterfaces() *glib.List {134 func (x *DBusObjectProxy) GetInterfaces() *glib.List {
135 135
136 cret := XGDbusObjectGetInterfaces(x.GoPointer())136 cret := XGDbusObjectGetInterfaces(x.GoPointer())
137+
137 return cret138 return cret
138 }139 }
139 140
@@ -141,6 +142,7 @@ func (x *DBusObjectProxy) GetInterfaces() *glib.List {
141 func (x *DBusObjectProxy) GetObjectPath() string {142 func (x *DBusObjectProxy) GetObjectPath() string {
142 143
143 cret := XGDbusObjectGetObjectPath(x.GoPointer())144 cret := XGDbusObjectGetObjectPath(x.GoPointer())
145+
144 return cret146 return cret
145 }147 }
146 148
M v4/gio/gdbusobjectskeleton.go +2 -0
@@ -227,6 +227,7 @@ func (x *DBusObjectSkeleton) GetInterface(InterfaceNameVar string) *DBusInterfac
227 func (x *DBusObjectSkeleton) GetInterfaces() *glib.List {227 func (x *DBusObjectSkeleton) GetInterfaces() *glib.List {
228 228
229 cret := XGDbusObjectGetInterfaces(x.GoPointer())229 cret := XGDbusObjectGetInterfaces(x.GoPointer())
230+
230 return cret231 return cret
231 }232 }
232 233
@@ -234,6 +235,7 @@ func (x *DBusObjectSkeleton) GetInterfaces() *glib.List {
234 func (x *DBusObjectSkeleton) GetObjectPath() string {235 func (x *DBusObjectSkeleton) GetObjectPath() string {
235 236
236 cret := XGDbusObjectGetObjectPath(x.GoPointer())237 cret := XGDbusObjectGetObjectPath(x.GoPointer())
238+
237 return cret239 return cret
238 }240 }
239 241
M v4/gio/gdbusproxy.go +27 -2
@@ -3,6 +3,7 @@ package gio
3 3
4 import (4 import (
5 "fmt"5 "fmt"
6+ "runtime"
6 "structs"7 "structs"
7 "unsafe"8 "unsafe"
8 9
@@ -244,7 +245,11 @@ func NewDBusProxySync(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, In
244 var cls *DBusProxy245 var cls *DBusProxy
245 var cerr *glib.Error246 var cerr *glib.Error
246 247
247- cret := xNewDBusProxySync(ConnectionVar.GoPointer(), FlagsVar, InfoVar, core.NullableStringToPtr(NameVar), ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), &cerr)248+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
249+
250+ cret := xNewDBusProxySync(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVarPtr, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), &cerr)
251+
252+ runtime.KeepAlive(NameVarBytes)
248 253
249 if cret == 0 {254 if cret == 0 {
250 return nil, cerr255 return nil, cerr
@@ -332,6 +337,7 @@ func (x *DBusProxy) CallFinish(ResVar AsyncResult) (*glib.Variant, error) {
332 var cerr *glib.Error337 var cerr *glib.Error
333 338
334 cret := xDBusProxyCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)339 cret := xDBusProxyCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
340+
335 if cerr == nil {341 if cerr == nil {
336 return cret, nil342 return cret, nil
337 }343 }
@@ -381,6 +387,7 @@ func (x *DBusProxy) CallSync(MethodNameVar string, ParametersVar *glib.Variant,
381 var cerr *glib.Error387 var cerr *glib.Error
382 388
383 cret := xDBusProxyCallSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)389 cret := xDBusProxyCallSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)
390+
384 if cerr == nil {391 if cerr == nil {
385 return cret, nil392 return cret, nil
386 }393 }
@@ -421,6 +428,7 @@ func (x *DBusProxy) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, ResVar A
421 var cerr *glib.Error428 var cerr *glib.Error
422 429
423 cret := xDBusProxyCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr)430 cret := xDBusProxyCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr)
431+
424 if cerr == nil {432 if cerr == nil {
425 return cret, nil433 return cret, nil
426 }434 }
@@ -437,6 +445,7 @@ func (x *DBusProxy) CallWithUnixFdListSync(MethodNameVar string, ParametersVar *
437 var cerr *glib.Error445 var cerr *glib.Error
438 446
439 cret := xDBusProxyCallWithUnixFdListSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)447 cret := xDBusProxyCallWithUnixFdListSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)
448+
440 if cerr == nil {449 if cerr == nil {
441 return cret, nil450 return cret, nil
442 }451 }
@@ -455,6 +464,7 @@ var xDBusProxyGetCachedProperty func(uintptr, string) *glib.Variant
455 func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant {464 func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant {
456 465
457 cret := xDBusProxyGetCachedProperty(x.GoPointer(), PropertyNameVar)466 cret := xDBusProxyGetCachedProperty(x.GoPointer(), PropertyNameVar)
467+
458 return cret468 return cret
459 }469 }
460 470
@@ -464,6 +474,7 @@ var xDBusProxyGetCachedPropertyNames func(uintptr) []string
464 func (x *DBusProxy) GetCachedPropertyNames() []string {474 func (x *DBusProxy) GetCachedPropertyNames() []string {
465 475
466 cret := xDBusProxyGetCachedPropertyNames(x.GoPointer())476 cret := xDBusProxyGetCachedPropertyNames(x.GoPointer())
477+
467 return cret478 return cret
468 }479 }
469 480
@@ -494,6 +505,7 @@ var xDBusProxyGetDefaultTimeout func(uintptr) int
494 func (x *DBusProxy) GetDefaultTimeout() int {505 func (x *DBusProxy) GetDefaultTimeout() int {
495 506
496 cret := xDBusProxyGetDefaultTimeout(x.GoPointer())507 cret := xDBusProxyGetDefaultTimeout(x.GoPointer())
508+
497 return cret509 return cret
498 }510 }
499 511
@@ -503,6 +515,7 @@ var xDBusProxyGetFlags func(uintptr) DBusProxyFlags
503 func (x *DBusProxy) GetFlags() DBusProxyFlags {515 func (x *DBusProxy) GetFlags() DBusProxyFlags {
504 516
505 cret := xDBusProxyGetFlags(x.GoPointer())517 cret := xDBusProxyGetFlags(x.GoPointer())
518+
506 return cret519 return cret
507 }520 }
508 521
@@ -514,6 +527,7 @@ var xDBusProxyGetInterfaceInfo func(uintptr) *DBusInterfaceInfo
514 func (x *DBusProxy) GetInterfaceInfo() *DBusInterfaceInfo {527 func (x *DBusProxy) GetInterfaceInfo() *DBusInterfaceInfo {
515 528
516 cret := xDBusProxyGetInterfaceInfo(x.GoPointer())529 cret := xDBusProxyGetInterfaceInfo(x.GoPointer())
530+
517 return cret531 return cret
518 }532 }
519 533
@@ -523,6 +537,7 @@ var xDBusProxyGetInterfaceName func(uintptr) string
523 func (x *DBusProxy) GetInterfaceName() string {537 func (x *DBusProxy) GetInterfaceName() string {
524 538
525 cret := xDBusProxyGetInterfaceName(x.GoPointer())539 cret := xDBusProxyGetInterfaceName(x.GoPointer())
540+
526 return cret541 return cret
527 }542 }
528 543
@@ -536,6 +551,7 @@ var xDBusProxyGetName func(uintptr) string
536 func (x *DBusProxy) GetName() string {551 func (x *DBusProxy) GetName() string {
537 552
538 cret := xDBusProxyGetName(x.GoPointer())553 cret := xDBusProxyGetName(x.GoPointer())
554+
539 return cret555 return cret
540 }556 }
541 557
@@ -548,6 +564,7 @@ var xDBusProxyGetNameOwner func(uintptr) string
548 func (x *DBusProxy) GetNameOwner() string {564 func (x *DBusProxy) GetNameOwner() string {
549 565
550 cret := xDBusProxyGetNameOwner(x.GoPointer())566 cret := xDBusProxyGetNameOwner(x.GoPointer())
567+
551 return cret568 return cret
552 }569 }
553 570
@@ -557,6 +574,7 @@ var xDBusProxyGetObjectPath func(uintptr) string
557 func (x *DBusProxy) GetObjectPath() string {574 func (x *DBusProxy) GetObjectPath() string {
558 575
559 cret := xDBusProxyGetObjectPath(x.GoPointer())576 cret := xDBusProxyGetObjectPath(x.GoPointer())
577+
560 return cret578 return cret
561 }579 }
562 580
@@ -920,6 +938,7 @@ func (x *DBusProxy) InitFinish(ResVar AsyncResult) (bool, error) {
920 var cerr *glib.Error938 var cerr *glib.Error
921 939
922 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)940 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
941+
923 if cerr == nil {942 if cerr == nil {
924 return cret, nil943 return cret, nil
925 }944 }
@@ -966,6 +985,7 @@ func (x *DBusProxy) DupObject() *DBusObjectBase {
966 func (x *DBusProxy) GetInfo() *DBusInterfaceInfo {985 func (x *DBusProxy) GetInfo() *DBusInterfaceInfo {
967 986
968 cret := XGDbusInterfaceGetInfo(x.GoPointer())987 cret := XGDbusInterfaceGetInfo(x.GoPointer())
988+
969 return cret989 return cret
970 }990 }
971 991
@@ -1039,6 +1059,7 @@ func (x *DBusProxy) Init(CancellableVar *Cancellable) (bool, error) {
1039 var cerr *glib.Error1059 var cerr *glib.Error
1040 1060
1041 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)1061 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
1062+
1042 if cerr == nil {1063 if cerr == nil {
1043 return cret, nil1064 return cret, nil
1044 }1065 }
@@ -1092,7 +1113,11 @@ func DBusProxyNew(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVa
1092 }1113 }
1093 }1114 }
1094 1115
1095- xDBusProxyNew(ConnectionVar.GoPointer(), FlagsVar, InfoVar, core.NullableStringToPtr(NameVar), ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)1116+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
1117+
1118+ xDBusProxyNew(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVarPtr, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
1119+
1120+ runtime.KeepAlive(NameVarBytes)
1096 1121
1097 }1122 }
1098 1123
M v4/gio/gdbusserver.go +5 -0
@@ -97,6 +97,7 @@ var xDBusServerGetClientAddress func(uintptr) string
97 func (x *DBusServer) GetClientAddress() string {97 func (x *DBusServer) GetClientAddress() string {
98 98
99 cret := xDBusServerGetClientAddress(x.GoPointer())99 cret := xDBusServerGetClientAddress(x.GoPointer())
100+
100 return cret101 return cret
101 }102 }
102 103
@@ -106,6 +107,7 @@ var xDBusServerGetFlags func(uintptr) DBusServerFlags
106 func (x *DBusServer) GetFlags() DBusServerFlags {107 func (x *DBusServer) GetFlags() DBusServerFlags {
107 108
108 cret := xDBusServerGetFlags(x.GoPointer())109 cret := xDBusServerGetFlags(x.GoPointer())
110+
109 return cret111 return cret
110 }112 }
111 113
@@ -115,6 +117,7 @@ var xDBusServerGetGuid func(uintptr) string
115 func (x *DBusServer) GetGuid() string {117 func (x *DBusServer) GetGuid() string {
116 118
117 cret := xDBusServerGetGuid(x.GoPointer())119 cret := xDBusServerGetGuid(x.GoPointer())
120+
118 return cret121 return cret
119 }122 }
120 123
@@ -124,6 +127,7 @@ var xDBusServerIsActive func(uintptr) bool
124 func (x *DBusServer) IsActive() bool {127 func (x *DBusServer) IsActive() bool {
125 128
126 cret := xDBusServerIsActive(x.GoPointer())129 cret := xDBusServerIsActive(x.GoPointer())
130+
127 return cret131 return cret
128 }132 }
129 133
@@ -292,6 +296,7 @@ func (x *DBusServer) Init(CancellableVar *Cancellable) (bool, error) {
292 var cerr *glib.Error296 var cerr *glib.Error
293 297
294 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)298 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
299+
295 if cerr == nil {300 if cerr == nil {
296 return cret, nil301 return cret, nil
297 }302 }
M v4/gio/gdbusutils.go +11 -0
@@ -14,6 +14,7 @@ var xDbusEscapeObjectPath func(string) string
14 func DbusEscapeObjectPath(SVar string) string {14 func DbusEscapeObjectPath(SVar string) string {
15 15
16 cret := xDbusEscapeObjectPath(SVar)16 cret := xDbusEscapeObjectPath(SVar)
17+
17 return cret18 return cret
18 }19 }
19 20
@@ -38,6 +39,7 @@ var xDbusEscapeObjectPathBytestring func([]byte) string
38 func DbusEscapeObjectPathBytestring(BytesVar []byte) string {39 func DbusEscapeObjectPathBytestring(BytesVar []byte) string {
39 40
40 cret := xDbusEscapeObjectPathBytestring(BytesVar)41 cret := xDbusEscapeObjectPathBytestring(BytesVar)
42+
41 return cret43 return cret
42 }44 }
43 45
@@ -57,6 +59,7 @@ var xDbusGenerateGuid func() string
57 func DbusGenerateGuid() string {59 func DbusGenerateGuid() string {
58 60
59 cret := xDbusGenerateGuid()61 cret := xDbusGenerateGuid()
62+
60 return cret63 return cret
61 }64 }
62 65
@@ -93,6 +96,7 @@ var xDbusGvalueToGvariant func(*gobject.Value, *glib.VariantType) *glib.Variant
93 func DbusGvalueToGvariant(GvalueVar *gobject.Value, TypeVar *glib.VariantType) *glib.Variant {96 func DbusGvalueToGvariant(GvalueVar *gobject.Value, TypeVar *glib.VariantType) *glib.Variant {
94 97
95 cret := xDbusGvalueToGvariant(GvalueVar, TypeVar)98 cret := xDbusGvalueToGvariant(GvalueVar, TypeVar)
99+
96 return cret100 return cret
97 }101 }
98 102
@@ -125,6 +129,7 @@ var xDbusIsErrorName func(string) bool
125 func DbusIsErrorName(StringVar string) bool {129 func DbusIsErrorName(StringVar string) bool {
126 130
127 cret := xDbusIsErrorName(StringVar)131 cret := xDbusIsErrorName(StringVar)
132+
128 return cret133 return cret
129 }134 }
130 135
@@ -137,6 +142,7 @@ var xDbusIsGuid func(string) bool
137 func DbusIsGuid(StringVar string) bool {142 func DbusIsGuid(StringVar string) bool {
138 143
139 cret := xDbusIsGuid(StringVar)144 cret := xDbusIsGuid(StringVar)
145+
140 return cret146 return cret
141 }147 }
142 148
@@ -146,6 +152,7 @@ var xDbusIsInterfaceName func(string) bool
146 func DbusIsInterfaceName(StringVar string) bool {152 func DbusIsInterfaceName(StringVar string) bool {
147 153
148 cret := xDbusIsInterfaceName(StringVar)154 cret := xDbusIsInterfaceName(StringVar)
155+
149 return cret156 return cret
150 }157 }
151 158
@@ -155,6 +162,7 @@ var xDbusIsMemberName func(string) bool
155 func DbusIsMemberName(StringVar string) bool {162 func DbusIsMemberName(StringVar string) bool {
156 163
157 cret := xDbusIsMemberName(StringVar)164 cret := xDbusIsMemberName(StringVar)
165+
158 return cret166 return cret
159 }167 }
160 168
@@ -164,6 +172,7 @@ var xDbusIsName func(string) bool
164 func DbusIsName(StringVar string) bool {172 func DbusIsName(StringVar string) bool {
165 173
166 cret := xDbusIsName(StringVar)174 cret := xDbusIsName(StringVar)
175+
167 return cret176 return cret
168 }177 }
169 178
@@ -173,6 +182,7 @@ var xDbusIsUniqueName func(string) bool
173 func DbusIsUniqueName(StringVar string) bool {182 func DbusIsUniqueName(StringVar string) bool {
174 183
175 cret := xDbusIsUniqueName(StringVar)184 cret := xDbusIsUniqueName(StringVar)
185+
176 return cret186 return cret
177 }187 }
178 188
@@ -189,6 +199,7 @@ var xDbusUnescapeObjectPath func(string) uintptr
189 func DbusUnescapeObjectPath(SVar string) uintptr {199 func DbusUnescapeObjectPath(SVar string) uintptr {
190 200
191 cret := xDbusUnescapeObjectPath(SVar)201 cret := xDbusUnescapeObjectPath(SVar)
202+
192 return cret203 return cret
193 }204 }
194 205
M v4/gio/gdebugcontroller.go +1 -0
@@ -70,6 +70,7 @@ func (x *DebugControllerBase) SetGoPointer(ptr uintptr) {
70 func (x *DebugControllerBase) GetDebugEnabled() bool {70 func (x *DebugControllerBase) GetDebugEnabled() bool {
71 71
72 cret := XGDebugControllerGetDebugEnabled(x.GoPointer())72 cret := XGDebugControllerGetDebugEnabled(x.GoPointer())
73+
73 return cret74 return cret
74 }75 }
75 76
M v4/gio/gdebugcontrollerdbus.go +2 -0
@@ -286,6 +286,7 @@ func (x *DebugControllerDBus) ConnectAuthorize(cb *func(DebugControllerDBus, uin
286 func (x *DebugControllerDBus) GetDebugEnabled() bool {286 func (x *DebugControllerDBus) GetDebugEnabled() bool {
287 287
288 cret := XGDebugControllerGetDebugEnabled(x.GoPointer())288 cret := XGDebugControllerGetDebugEnabled(x.GoPointer())
289+
289 return cret290 return cret
290 }291 }
291 292
@@ -338,6 +339,7 @@ func (x *DebugControllerDBus) Init(CancellableVar *Cancellable) (bool, error) {
338 var cerr *glib.Error339 var cerr *glib.Error
339 340
340 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)341 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
342+
341 if cerr == nil {343 if cerr == nil {
342 return cret, nil344 return cret, nil
343 }345 }
M v4/gio/gdrive.go +21 -0
@@ -998,6 +998,7 @@ func (x *DriveBase) SetGoPointer(ptr uintptr) {
998 func (x *DriveBase) CanEject() bool {998 func (x *DriveBase) CanEject() bool {
999 999
1000 cret := XGDriveCanEject(x.GoPointer())1000 cret := XGDriveCanEject(x.GoPointer())
1001+
1001 return cret1002 return cret
1002 }1003 }
1003 1004
@@ -1005,6 +1006,7 @@ func (x *DriveBase) CanEject() bool {
1005 func (x *DriveBase) CanPollForMedia() bool {1006 func (x *DriveBase) CanPollForMedia() bool {
1006 1007
1007 cret := XGDriveCanPollForMedia(x.GoPointer())1008 cret := XGDriveCanPollForMedia(x.GoPointer())
1009+
1008 return cret1010 return cret
1009 }1011 }
1010 1012
@@ -1012,6 +1014,7 @@ func (x *DriveBase) CanPollForMedia() bool {
1012 func (x *DriveBase) CanStart() bool {1014 func (x *DriveBase) CanStart() bool {
1013 1015
1014 cret := XGDriveCanStart(x.GoPointer())1016 cret := XGDriveCanStart(x.GoPointer())
1017+
1015 return cret1018 return cret
1016 }1019 }
1017 1020
@@ -1019,6 +1022,7 @@ func (x *DriveBase) CanStart() bool {
1019 func (x *DriveBase) CanStartDegraded() bool {1022 func (x *DriveBase) CanStartDegraded() bool {
1020 1023
1021 cret := XGDriveCanStartDegraded(x.GoPointer())1024 cret := XGDriveCanStartDegraded(x.GoPointer())
1025+
1022 return cret1026 return cret
1023 }1027 }
1024 1028
@@ -1026,6 +1030,7 @@ func (x *DriveBase) CanStartDegraded() bool {
1026 func (x *DriveBase) CanStop() bool {1030 func (x *DriveBase) CanStop() bool {
1027 1031
1028 cret := XGDriveCanStop(x.GoPointer())1032 cret := XGDriveCanStop(x.GoPointer())
1033+
1029 return cret1034 return cret
1030 }1035 }
1031 1036
@@ -1045,6 +1050,7 @@ func (x *DriveBase) EjectFinish(ResultVar AsyncResult) (bool, error) {
1045 var cerr *glib.Error1050 var cerr *glib.Error
1046 1051
1047 cret := XGDriveEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1052 cret := XGDriveEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1053+
1048 if cerr == nil {1054 if cerr == nil {
1049 return cret, nil1055 return cret, nil
1050 }1056 }
@@ -1067,6 +1073,7 @@ func (x *DriveBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, error
1067 var cerr *glib.Error1073 var cerr *glib.Error
1068 1074
1069 cret := XGDriveEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1075 cret := XGDriveEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1076+
1070 if cerr == nil {1077 if cerr == nil {
1071 return cret, nil1078 return cret, nil
1072 }1079 }
@@ -1080,6 +1087,7 @@ func (x *DriveBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, error
1080 func (x *DriveBase) EnumerateIdentifiers() []string {1087 func (x *DriveBase) EnumerateIdentifiers() []string {
1081 1088
1082 cret := XGDriveEnumerateIdentifiers(x.GoPointer())1089 cret := XGDriveEnumerateIdentifiers(x.GoPointer())
1090+
1083 return cret1091 return cret
1084 }1092 }
1085 1093
@@ -1103,6 +1111,7 @@ func (x *DriveBase) GetIcon() *IconBase {
1103 func (x *DriveBase) GetIdentifier(KindVar string) string {1111 func (x *DriveBase) GetIdentifier(KindVar string) string {
1104 1112
1105 cret := XGDriveGetIdentifier(x.GoPointer(), KindVar)1113 cret := XGDriveGetIdentifier(x.GoPointer(), KindVar)
1114+
1106 return cret1115 return cret
1107 }1116 }
1108 1117
@@ -1110,6 +1119,7 @@ func (x *DriveBase) GetIdentifier(KindVar string) string {
1110 func (x *DriveBase) GetName() string {1119 func (x *DriveBase) GetName() string {
1111 1120
1112 cret := XGDriveGetName(x.GoPointer())1121 cret := XGDriveGetName(x.GoPointer())
1122+
1113 return cret1123 return cret
1114 }1124 }
1115 1125
@@ -1117,6 +1127,7 @@ func (x *DriveBase) GetName() string {
1117 func (x *DriveBase) GetSortKey() string {1127 func (x *DriveBase) GetSortKey() string {
1118 1128
1119 cret := XGDriveGetSortKey(x.GoPointer())1129 cret := XGDriveGetSortKey(x.GoPointer())
1130+
1120 return cret1131 return cret
1121 }1132 }
1122 1133
@@ -1124,6 +1135,7 @@ func (x *DriveBase) GetSortKey() string {
1124 func (x *DriveBase) GetStartStopType() DriveStartStopType {1135 func (x *DriveBase) GetStartStopType() DriveStartStopType {
1125 1136
1126 cret := XGDriveGetStartStopType(x.GoPointer())1137 cret := XGDriveGetStartStopType(x.GoPointer())
1138+
1127 return cret1139 return cret
1128 }1140 }
1129 1141
@@ -1148,6 +1160,7 @@ func (x *DriveBase) GetSymbolicIcon() *IconBase {
1148 func (x *DriveBase) GetVolumes() *glib.List {1160 func (x *DriveBase) GetVolumes() *glib.List {
1149 1161
1150 cret := XGDriveGetVolumes(x.GoPointer())1162 cret := XGDriveGetVolumes(x.GoPointer())
1163+
1151 return cret1164 return cret
1152 }1165 }
1153 1166
@@ -1157,6 +1170,7 @@ func (x *DriveBase) GetVolumes() *glib.List {
1157 func (x *DriveBase) HasMedia() bool {1170 func (x *DriveBase) HasMedia() bool {
1158 1171
1159 cret := XGDriveHasMedia(x.GoPointer())1172 cret := XGDriveHasMedia(x.GoPointer())
1173+
1160 return cret1174 return cret
1161 }1175 }
1162 1176
@@ -1164,6 +1178,7 @@ func (x *DriveBase) HasMedia() bool {
1164 func (x *DriveBase) HasVolumes() bool {1178 func (x *DriveBase) HasVolumes() bool {
1165 1179
1166 cret := XGDriveHasVolumes(x.GoPointer())1180 cret := XGDriveHasVolumes(x.GoPointer())
1181+
1167 return cret1182 return cret
1168 }1183 }
1169 1184
@@ -1171,6 +1186,7 @@ func (x *DriveBase) HasVolumes() bool {
1171 func (x *DriveBase) IsMediaCheckAutomatic() bool {1186 func (x *DriveBase) IsMediaCheckAutomatic() bool {
1172 1187
1173 cret := XGDriveIsMediaCheckAutomatic(x.GoPointer())1188 cret := XGDriveIsMediaCheckAutomatic(x.GoPointer())
1189+
1174 return cret1190 return cret
1175 }1191 }
1176 1192
@@ -1178,6 +1194,7 @@ func (x *DriveBase) IsMediaCheckAutomatic() bool {
1178 func (x *DriveBase) IsMediaRemovable() bool {1194 func (x *DriveBase) IsMediaRemovable() bool {
1179 1195
1180 cret := XGDriveIsMediaRemovable(x.GoPointer())1196 cret := XGDriveIsMediaRemovable(x.GoPointer())
1197+
1181 return cret1198 return cret
1182 }1199 }
1183 1200
@@ -1186,6 +1203,7 @@ func (x *DriveBase) IsMediaRemovable() bool {
1186 func (x *DriveBase) IsRemovable() bool {1203 func (x *DriveBase) IsRemovable() bool {
1187 1204
1188 cret := XGDriveIsRemovable(x.GoPointer())1205 cret := XGDriveIsRemovable(x.GoPointer())
1206+
1189 return cret1207 return cret
1190 }1208 }
1191 1209
@@ -1205,6 +1223,7 @@ func (x *DriveBase) PollForMediaFinish(ResultVar AsyncResult) (bool, error) {
1205 var cerr *glib.Error1223 var cerr *glib.Error
1206 1224
1207 cret := XGDrivePollForMediaFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1225 cret := XGDrivePollForMediaFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1226+
1208 if cerr == nil {1227 if cerr == nil {
1209 return cret, nil1228 return cret, nil
1210 }1229 }
@@ -1228,6 +1247,7 @@ func (x *DriveBase) StartFinish(ResultVar AsyncResult) (bool, error) {
1228 var cerr *glib.Error1247 var cerr *glib.Error
1229 1248
1230 cret := XGDriveStartFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1249 cret := XGDriveStartFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1250+
1231 if cerr == nil {1251 if cerr == nil {
1232 return cret, nil1252 return cret, nil
1233 }1253 }
@@ -1251,6 +1271,7 @@ func (x *DriveBase) StopFinish(ResultVar AsyncResult) (bool, error) {
1251 var cerr *glib.Error1271 var cerr *glib.Error
1252 1272
1253 cret := XGDriveStopFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1273 cret := XGDriveStopFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1274+
1254 if cerr == nil {1275 if cerr == nil {
1255 return cret, nil1276 return cret, nil
1256 }1277 }
M v4/gio/gdtlsclientconnection.go +2 -0
@@ -66,6 +66,7 @@ func (x *DtlsClientConnectionBase) SetGoPointer(ptr uintptr) {
66 func (x *DtlsClientConnectionBase) GetAcceptedCas() *glib.List {66 func (x *DtlsClientConnectionBase) GetAcceptedCas() *glib.List {
67 67
68 cret := XGDtlsClientConnectionGetAcceptedCas(x.GoPointer())68 cret := XGDtlsClientConnectionGetAcceptedCas(x.GoPointer())
69+
69 return cret70 return cret
70 }71 }
71 72
@@ -92,6 +93,7 @@ func (x *DtlsClientConnectionBase) GetServerIdentity() *SocketConnectableBase {
92 func (x *DtlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags {93 func (x *DtlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags {
93 94
94 cret := XGDtlsClientConnectionGetValidationFlags(x.GoPointer())95 cret := XGDtlsClientConnectionGetValidationFlags(x.GoPointer())
96+
95 return cret97 return cret
96 }98 }
97 99
M v4/gio/gdtlsconnection.go +14 -0
@@ -390,6 +390,7 @@ func (x *DtlsConnectionBase) Close(CancellableVar *Cancellable) (bool, error) {
390 var cerr *glib.Error390 var cerr *glib.Error
391 391
392 cret := XGDtlsConnectionClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)392 cret := XGDtlsConnectionClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
393+
393 if cerr == nil {394 if cerr == nil {
394 return cret, nil395 return cret, nil
395 }396 }
@@ -411,6 +412,7 @@ func (x *DtlsConnectionBase) CloseFinish(ResultVar AsyncResult) (bool, error) {
411 var cerr *glib.Error412 var cerr *glib.Error
412 413
413 cret := XGDtlsConnectionCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)414 cret := XGDtlsConnectionCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
415+
414 if cerr == nil {416 if cerr == nil {
415 return cret, nil417 return cret, nil
416 }418 }
@@ -423,6 +425,7 @@ func (x *DtlsConnectionBase) CloseFinish(ResultVar AsyncResult) (bool, error) {
423 func (x *DtlsConnectionBase) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool {425 func (x *DtlsConnectionBase) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool {
424 426
425 cret := XGDtlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar)427 cret := XGDtlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar)
428+
426 return cret429 return cret
427 }430 }
428 431
@@ -459,6 +462,7 @@ func (x *DtlsConnectionBase) GetChannelBindingData(TypeVar TlsChannelBindingType
459 var cerr *glib.Error462 var cerr *glib.Error
460 463
461 cret := XGDtlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)464 cret := XGDtlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)
465+
462 if cerr == nil {466 if cerr == nil {
463 return cret, nil467 return cret, nil
464 }468 }
@@ -477,6 +481,7 @@ func (x *DtlsConnectionBase) GetChannelBindingData(TypeVar TlsChannelBindingType
477 func (x *DtlsConnectionBase) GetCiphersuiteName() string {481 func (x *DtlsConnectionBase) GetCiphersuiteName() string {
478 482
479 cret := XGDtlsConnectionGetCiphersuiteName(x.GoPointer())483 cret := XGDtlsConnectionGetCiphersuiteName(x.GoPointer())
484+
480 return cret485 return cret
481 }486 }
482 487
@@ -523,6 +528,7 @@ func (x *DtlsConnectionBase) GetInteraction() *TlsInteraction {
523 func (x *DtlsConnectionBase) GetNegotiatedProtocol() string {528 func (x *DtlsConnectionBase) GetNegotiatedProtocol() string {
524 529
525 cret := XGDtlsConnectionGetNegotiatedProtocol(x.GoPointer())530 cret := XGDtlsConnectionGetNegotiatedProtocol(x.GoPointer())
531+
526 return cret532 return cret
527 }533 }
528 534
@@ -549,6 +555,7 @@ func (x *DtlsConnectionBase) GetPeerCertificate() *TlsCertificate {
549 func (x *DtlsConnectionBase) GetPeerCertificateErrors() TlsCertificateFlags {555 func (x *DtlsConnectionBase) GetPeerCertificateErrors() TlsCertificateFlags {
550 556
551 cret := XGDtlsConnectionGetPeerCertificateErrors(x.GoPointer())557 cret := XGDtlsConnectionGetPeerCertificateErrors(x.GoPointer())
558+
552 return cret559 return cret
553 }560 }
554 561
@@ -559,6 +566,7 @@ func (x *DtlsConnectionBase) GetPeerCertificateErrors() TlsCertificateFlags {
559 func (x *DtlsConnectionBase) GetProtocolVersion() TlsProtocolVersion {566 func (x *DtlsConnectionBase) GetProtocolVersion() TlsProtocolVersion {
560 567
561 cret := XGDtlsConnectionGetProtocolVersion(x.GoPointer())568 cret := XGDtlsConnectionGetProtocolVersion(x.GoPointer())
569+
562 return cret570 return cret
563 }571 }
564 572
@@ -567,6 +575,7 @@ func (x *DtlsConnectionBase) GetProtocolVersion() TlsProtocolVersion {
567 func (x *DtlsConnectionBase) GetRehandshakeMode() TlsRehandshakeMode {575 func (x *DtlsConnectionBase) GetRehandshakeMode() TlsRehandshakeMode {
568 576
569 cret := XGDtlsConnectionGetRehandshakeMode(x.GoPointer())577 cret := XGDtlsConnectionGetRehandshakeMode(x.GoPointer())
578+
570 return cret579 return cret
571 }580 }
572 581
@@ -576,6 +585,7 @@ func (x *DtlsConnectionBase) GetRehandshakeMode() TlsRehandshakeMode {
576 func (x *DtlsConnectionBase) GetRequireCloseNotify() bool {585 func (x *DtlsConnectionBase) GetRequireCloseNotify() bool {
577 586
578 cret := XGDtlsConnectionGetRequireCloseNotify(x.GoPointer())587 cret := XGDtlsConnectionGetRequireCloseNotify(x.GoPointer())
588+
579 return cret589 return cret
580 }590 }
581 591
@@ -609,6 +619,7 @@ func (x *DtlsConnectionBase) Handshake(CancellableVar *Cancellable) (bool, error
609 var cerr *glib.Error619 var cerr *glib.Error
610 620
611 cret := XGDtlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr)621 cret := XGDtlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
622+
612 if cerr == nil {623 if cerr == nil {
613 return cret, nil624 return cret, nil
614 }625 }
@@ -630,6 +641,7 @@ func (x *DtlsConnectionBase) HandshakeFinish(ResultVar AsyncResult) (bool, error
630 var cerr *glib.Error641 var cerr *glib.Error
631 642
632 cret := XGDtlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)643 cret := XGDtlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
644+
633 if cerr == nil {645 if cerr == nil {
634 return cret, nil646 return cret, nil
635 }647 }
@@ -767,6 +779,7 @@ func (x *DtlsConnectionBase) Shutdown(ShutdownReadVar bool, ShutdownWriteVar boo
767 var cerr *glib.Error779 var cerr *glib.Error
768 780
769 cret := XGDtlsConnectionShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer(), &cerr)781 cret := XGDtlsConnectionShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer(), &cerr)
782+
770 if cerr == nil {783 if cerr == nil {
771 return cret, nil784 return cret, nil
772 }785 }
@@ -788,6 +801,7 @@ func (x *DtlsConnectionBase) ShutdownFinish(ResultVar AsyncResult) (bool, error)
788 var cerr *glib.Error801 var cerr *glib.Error
789 802
790 cret := XGDtlsConnectionShutdownFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)803 cret := XGDtlsConnectionShutdownFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
804+
791 if cerr == nil {805 if cerr == nil {
792 return cret, nil806 return cret, nil
793 }807 }
M v4/gio/gemblem.go +5 -0
@@ -97,6 +97,7 @@ var xEmblemGetOrigin func(uintptr) EmblemOrigin
97 func (x *Emblem) GetOrigin() EmblemOrigin {97 func (x *Emblem) GetOrigin() EmblemOrigin {
98 98
99 cret := xEmblemGetOrigin(x.GoPointer())99 cret := xEmblemGetOrigin(x.GoPointer())
100+
100 return cret101 return cret
101 }102 }
102 103
@@ -115,6 +116,7 @@ func (c *Emblem) SetGoPointer(ptr uintptr) {
115 func (x *Emblem) Equal(Icon2Var Icon) bool {116 func (x *Emblem) Equal(Icon2Var Icon) bool {
116 117
117 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())118 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
119+
118 return cret120 return cret
119 }121 }
120 122
@@ -122,6 +124,7 @@ func (x *Emblem) Equal(Icon2Var Icon) bool {
122 func (x *Emblem) Hash() uint {124 func (x *Emblem) Hash() uint {
123 125
124 cret := XGIconHash(x.GoPointer())126 cret := XGIconHash(x.GoPointer())
127+
125 return cret128 return cret
126 }129 }
127 130
@@ -133,6 +136,7 @@ func (x *Emblem) Hash() uint {
133 func (x *Emblem) Serialize() *glib.Variant {136 func (x *Emblem) Serialize() *glib.Variant {
134 137
135 cret := XGIconSerialize(x.GoPointer())138 cret := XGIconSerialize(x.GoPointer())
139+
136 return cret140 return cret
137 }141 }
138 142
@@ -155,6 +159,7 @@ func (x *Emblem) Serialize() *glib.Variant {
155 func (x *Emblem) ToString() string {159 func (x *Emblem) ToString() string {
156 160
157 cret := XGIconToString(x.GoPointer())161 cret := XGIconToString(x.GoPointer())
162+
158 return cret163 return cret
159 }164 }
160 165
M v4/gio/gemblemedicon.go +5 -0
@@ -92,6 +92,7 @@ var xEmblemedIconGetEmblems func(uintptr) *glib.List
92 func (x *EmblemedIcon) GetEmblems() *glib.List {92 func (x *EmblemedIcon) GetEmblems() *glib.List {
93 93
94 cret := xEmblemedIconGetEmblems(x.GoPointer())94 cret := xEmblemedIconGetEmblems(x.GoPointer())
95+
95 return cret96 return cret
96 }97 }
97 98
@@ -127,6 +128,7 @@ func (c *EmblemedIcon) SetGoPointer(ptr uintptr) {
127 func (x *EmblemedIcon) Equal(Icon2Var Icon) bool {128 func (x *EmblemedIcon) Equal(Icon2Var Icon) bool {
128 129
129 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())130 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
131+
130 return cret132 return cret
131 }133 }
132 134
@@ -134,6 +136,7 @@ func (x *EmblemedIcon) Equal(Icon2Var Icon) bool {
134 func (x *EmblemedIcon) Hash() uint {136 func (x *EmblemedIcon) Hash() uint {
135 137
136 cret := XGIconHash(x.GoPointer())138 cret := XGIconHash(x.GoPointer())
139+
137 return cret140 return cret
138 }141 }
139 142
@@ -145,6 +148,7 @@ func (x *EmblemedIcon) Hash() uint {
145 func (x *EmblemedIcon) Serialize() *glib.Variant {148 func (x *EmblemedIcon) Serialize() *glib.Variant {
146 149
147 cret := XGIconSerialize(x.GoPointer())150 cret := XGIconSerialize(x.GoPointer())
151+
148 return cret152 return cret
149 }153 }
150 154
@@ -167,6 +171,7 @@ func (x *EmblemedIcon) Serialize() *glib.Variant {
167 func (x *EmblemedIcon) ToString() string {171 func (x *EmblemedIcon) ToString() string {
168 172
169 cret := XGIconToString(x.GoPointer())173 cret := XGIconToString(x.GoPointer())
174+
170 return cret175 return cret
171 }176 }
172 177
M v4/gio/gfile.go +110 -10
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -3456,6 +3457,7 @@ func (x *FileBase) BuildAttributeListForCopy(FlagsVar FileCopyFlags, Cancellable
3456 var cerr *glib.Error3457 var cerr *glib.Error
3457 3458
3458 cret := XGFileBuildAttributeListForCopy(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)3459 cret := XGFileBuildAttributeListForCopy(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
3460+
3459 if cerr == nil {3461 if cerr == nil {
3460 return cret, nil3462 return cret, nil
3461 }3463 }
@@ -3507,6 +3509,7 @@ func (x *FileBase) Copy(DestinationVar File, FlagsVar FileCopyFlags, Cancellable
3507 var cerr *glib.Error3509 var cerr *glib.Error
3508 3510
3509 cret := XGFileCopy(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr)3511 cret := XGFileCopy(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr)
3512+
3510 if cerr == nil {3513 if cerr == nil {
3511 return cret, nil3514 return cret, nil
3512 }3515 }
@@ -3550,6 +3553,7 @@ func (x *FileBase) CopyAttributes(DestinationVar File, FlagsVar FileCopyFlags, C
3550 var cerr *glib.Error3553 var cerr *glib.Error
3551 3554
3552 cret := XGFileCopyAttributes(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)3555 cret := XGFileCopyAttributes(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
3556+
3553 if cerr == nil {3557 if cerr == nil {
3554 return cret, nil3558 return cret, nil
3555 }3559 }
@@ -3562,6 +3566,7 @@ func (x *FileBase) CopyFinish(ResVar AsyncResult) (bool, error) {
3562 var cerr *glib.Error3566 var cerr *glib.Error
3563 3567
3564 cret := XGFileCopyFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)3568 cret := XGFileCopyFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
3569+
3565 if cerr == nil {3570 if cerr == nil {
3566 return cret, nil3571 return cret, nil
3567 }3572 }
@@ -3744,6 +3749,7 @@ func (x *FileBase) Delete(CancellableVar *Cancellable) (bool, error) {
3744 var cerr *glib.Error3749 var cerr *glib.Error
3745 3750
3746 cret := XGFileDelete(x.GoPointer(), CancellableVar.GoPointer(), &cerr)3751 cret := XGFileDelete(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
3752+
3747 if cerr == nil {3753 if cerr == nil {
3748 return cret, nil3754 return cret, nil
3749 }3755 }
@@ -3765,6 +3771,7 @@ func (x *FileBase) DeleteFinish(ResultVar AsyncResult) (bool, error) {
3765 var cerr *glib.Error3771 var cerr *glib.Error
3766 3772
3767 cret := XGFileDeleteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)3773 cret := XGFileDeleteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
3774+
3768 if cerr == nil {3775 if cerr == nil {
3769 return cret, nil3776 return cret, nil
3770 }3777 }
@@ -3815,6 +3822,7 @@ func (x *FileBase) EjectMountableFinish(ResultVar AsyncResult) (bool, error) {
3815 var cerr *glib.Error3822 var cerr *glib.Error
3816 3823
3817 cret := XGFileEjectMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)3824 cret := XGFileEjectMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
3825+
3818 if cerr == nil {3826 if cerr == nil {
3819 return cret, nil3827 return cret, nil
3820 }3828 }
@@ -3842,6 +3850,7 @@ func (x *FileBase) EjectMountableWithOperationFinish(ResultVar AsyncResult) (boo
3842 var cerr *glib.Error3850 var cerr *glib.Error
3843 3851
3844 cret := XGFileEjectMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)3852 cret := XGFileEjectMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
3853+
3845 if cerr == nil {3854 if cerr == nil {
3846 return cret, nil3855 return cret, nil
3847 }3856 }
@@ -3938,6 +3947,7 @@ func (x *FileBase) EnumerateChildrenFinish(ResVar AsyncResult) (*FileEnumerator,
3938 func (x *FileBase) Equal(File2Var File) bool {3947 func (x *FileBase) Equal(File2Var File) bool {
3939 3948
3940 cret := XGFileEqual(x.GoPointer(), File2Var.GoPointer())3949 cret := XGFileEqual(x.GoPointer(), File2Var.GoPointer())
3950+
3941 return cret3951 return cret
3942 }3952 }
3943 3953
@@ -4018,6 +4028,7 @@ func (x *FileBase) FindEnclosingMountFinish(ResVar AsyncResult) (*MountBase, err
4018 func (x *FileBase) GetBasename() string {4028 func (x *FileBase) GetBasename() string {
4019 4029
4020 cret := XGFileGetBasename(x.GoPointer())4030 cret := XGFileGetBasename(x.GoPointer())
4031+
4021 return cret4032 return cret
4022 }4033 }
4023 4034
@@ -4102,6 +4113,7 @@ func (x *FileBase) GetParent() *FileBase {
4102 func (x *FileBase) GetParseName() string {4113 func (x *FileBase) GetParseName() string {
4103 4114
4104 cret := XGFileGetParseName(x.GoPointer())4115 cret := XGFileGetParseName(x.GoPointer())
4116+
4105 return cret4117 return cret
4106 }4118 }
4107 4119
@@ -4112,6 +4124,7 @@ func (x *FileBase) GetParseName() string {
4112 func (x *FileBase) GetPath() string {4124 func (x *FileBase) GetPath() string {
4113 4125
4114 cret := XGFileGetPath(x.GoPointer())4126 cret := XGFileGetPath(x.GoPointer())
4127+
4115 return cret4128 return cret
4116 }4129 }
4117 4130
@@ -4121,6 +4134,7 @@ func (x *FileBase) GetPath() string {
4121 func (x *FileBase) GetRelativePath(DescendantVar File) string {4134 func (x *FileBase) GetRelativePath(DescendantVar File) string {
4122 4135
4123 cret := XGFileGetRelativePath(x.GoPointer(), DescendantVar.GoPointer())4136 cret := XGFileGetRelativePath(x.GoPointer(), DescendantVar.GoPointer())
4137+
4124 return cret4138 return cret
4125 }4139 }
4126 4140
@@ -4130,6 +4144,7 @@ func (x *FileBase) GetRelativePath(DescendantVar File) string {
4130 func (x *FileBase) GetUri() string {4144 func (x *FileBase) GetUri() string {
4131 4145
4132 cret := XGFileGetUri(x.GoPointer())4146 cret := XGFileGetUri(x.GoPointer())
4147+
4133 return cret4148 return cret
4134 }4149 }
4135 4150
@@ -4147,6 +4162,7 @@ func (x *FileBase) GetUri() string {
4147 func (x *FileBase) GetUriScheme() string {4162 func (x *FileBase) GetUriScheme() string {
4148 4163
4149 cret := XGFileGetUriScheme(x.GoPointer())4164 cret := XGFileGetUriScheme(x.GoPointer())
4165+
4150 return cret4166 return cret
4151 }4167 }
4152 4168
@@ -4158,6 +4174,7 @@ func (x *FileBase) GetUriScheme() string {
4158 func (x *FileBase) HasParent(ParentVar File) bool {4174 func (x *FileBase) HasParent(ParentVar File) bool {
4159 4175
4160 cret := XGFileHasParent(x.GoPointer(), ParentVar.GoPointer())4176 cret := XGFileHasParent(x.GoPointer(), ParentVar.GoPointer())
4177+
4161 return cret4178 return cret
4162 }4179 }
4163 4180
@@ -4178,6 +4195,7 @@ func (x *FileBase) HasParent(ParentVar File) bool {
4178 func (x *FileBase) HasPrefix(PrefixVar File) bool {4195 func (x *FileBase) HasPrefix(PrefixVar File) bool {
4179 4196
4180 cret := XGFileHasPrefix(x.GoPointer(), PrefixVar.GoPointer())4197 cret := XGFileHasPrefix(x.GoPointer(), PrefixVar.GoPointer())
4198+
4181 return cret4199 return cret
4182 }4200 }
4183 4201
@@ -4187,6 +4205,7 @@ func (x *FileBase) HasPrefix(PrefixVar File) bool {
4187 func (x *FileBase) HasUriScheme(UriSchemeVar string) bool {4205 func (x *FileBase) HasUriScheme(UriSchemeVar string) bool {
4188 4206
4189 cret := XGFileHasUriScheme(x.GoPointer(), UriSchemeVar)4207 cret := XGFileHasUriScheme(x.GoPointer(), UriSchemeVar)
4208+
4190 return cret4209 return cret
4191 }4210 }
4192 4211
@@ -4196,6 +4215,7 @@ func (x *FileBase) HasUriScheme(UriSchemeVar string) bool {
4196 func (x *FileBase) Hash() uint {4215 func (x *FileBase) Hash() uint {
4197 4216
4198 cret := XGFileHash(x.GoPointer())4217 cret := XGFileHash(x.GoPointer())
4218+
4199 return cret4219 return cret
4200 }4220 }
4201 4221
@@ -4213,6 +4233,7 @@ func (x *FileBase) Hash() uint {
4213 func (x *FileBase) IsNative() bool {4233 func (x *FileBase) IsNative() bool {
4214 4234
4215 cret := XGFileIsNative(x.GoPointer())4235 cret := XGFileIsNative(x.GoPointer())
4236+
4216 return cret4237 return cret
4217 }4238 }
4218 4239
@@ -4231,6 +4252,7 @@ func (x *FileBase) LoadBytes(CancellableVar *Cancellable, EtagOutVar *string) (*
4231 var cerr *glib.Error4252 var cerr *glib.Error
4232 4253
4233 cret := XGFileLoadBytes(x.GoPointer(), CancellableVar.GoPointer(), EtagOutVar, &cerr)4254 cret := XGFileLoadBytes(x.GoPointer(), CancellableVar.GoPointer(), EtagOutVar, &cerr)
4255+
4234 if cerr == nil {4256 if cerr == nil {
4235 return cret, nil4257 return cret, nil
4236 }4258 }
@@ -4267,6 +4289,7 @@ func (x *FileBase) LoadBytesFinish(ResultVar AsyncResult, EtagOutVar *string) (*
4267 var cerr *glib.Error4289 var cerr *glib.Error
4268 4290
4269 cret := XGFileLoadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), EtagOutVar, &cerr)4291 cret := XGFileLoadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), EtagOutVar, &cerr)
4292+
4270 if cerr == nil {4293 if cerr == nil {
4271 return cret, nil4294 return cret, nil
4272 }4295 }
@@ -4286,6 +4309,7 @@ func (x *FileBase) LoadContents(CancellableVar *Cancellable, ContentsVar *[]stri
4286 var cerr *glib.Error4309 var cerr *glib.Error
4287 4310
4288 cret := XGFileLoadContents(x.GoPointer(), CancellableVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)4311 cret := XGFileLoadContents(x.GoPointer(), CancellableVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)
4312+
4289 if cerr == nil {4313 if cerr == nil {
4290 return cret, nil4314 return cret, nil
4291 }4315 }
@@ -4321,6 +4345,7 @@ func (x *FileBase) LoadContentsFinish(ResVar AsyncResult, ContentsVar *[]string,
4321 var cerr *glib.Error4345 var cerr *glib.Error
4322 4346
4323 cret := XGFileLoadContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)4347 cret := XGFileLoadContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)
4348+
4324 if cerr == nil {4349 if cerr == nil {
4325 return cret, nil4350 return cret, nil
4326 }4351 }
@@ -4354,6 +4379,7 @@ func (x *FileBase) LoadPartialContentsFinish(ResVar AsyncResult, ContentsVar *[]
4354 var cerr *glib.Error4379 var cerr *glib.Error
4355 4380
4356 cret := XGFileLoadPartialContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)4381 cret := XGFileLoadPartialContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)
4382+
4357 if cerr == nil {4383 if cerr == nil {
4358 return cret, nil4384 return cret, nil
4359 }4385 }
@@ -4383,6 +4409,7 @@ func (x *FileBase) MakeDirectory(CancellableVar *Cancellable) (bool, error) {
4383 var cerr *glib.Error4409 var cerr *glib.Error
4384 4410
4385 cret := XGFileMakeDirectory(x.GoPointer(), CancellableVar.GoPointer(), &cerr)4411 cret := XGFileMakeDirectory(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
4412+
4386 if cerr == nil {4413 if cerr == nil {
4387 return cret, nil4414 return cret, nil
4388 }4415 }
@@ -4403,6 +4430,7 @@ func (x *FileBase) MakeDirectoryFinish(ResultVar AsyncResult) (bool, error) {
4403 var cerr *glib.Error4430 var cerr *glib.Error
4404 4431
4405 cret := XGFileMakeDirectoryFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4432 cret := XGFileMakeDirectoryFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4433+
4406 if cerr == nil {4434 if cerr == nil {
4407 return cret, nil4435 return cret, nil
4408 }4436 }
@@ -4427,6 +4455,7 @@ func (x *FileBase) MakeDirectoryWithParents(CancellableVar *Cancellable) (bool,
4427 var cerr *glib.Error4455 var cerr *glib.Error
4428 4456
4429 cret := XGFileMakeDirectoryWithParents(x.GoPointer(), CancellableVar.GoPointer(), &cerr)4457 cret := XGFileMakeDirectoryWithParents(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
4458+
4430 if cerr == nil {4459 if cerr == nil {
4431 return cret, nil4460 return cret, nil
4432 }4461 }
@@ -4444,6 +4473,7 @@ func (x *FileBase) MakeSymbolicLink(SymlinkValueVar string, CancellableVar *Canc
4444 var cerr *glib.Error4473 var cerr *glib.Error
4445 4474
4446 cret := XGFileMakeSymbolicLink(x.GoPointer(), SymlinkValueVar, CancellableVar.GoPointer(), &cerr)4475 cret := XGFileMakeSymbolicLink(x.GoPointer(), SymlinkValueVar, CancellableVar.GoPointer(), &cerr)
4476+
4447 if cerr == nil {4477 if cerr == nil {
4448 return cret, nil4478 return cret, nil
4449 }4479 }
@@ -4465,6 +4495,7 @@ func (x *FileBase) MakeSymbolicLinkFinish(ResultVar AsyncResult) (bool, error) {
4465 var cerr *glib.Error4495 var cerr *glib.Error
4466 4496
4467 cret := XGFileMakeSymbolicLinkFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4497 cret := XGFileMakeSymbolicLinkFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4498+
4468 if cerr == nil {4499 if cerr == nil {
4469 return cret, nil4500 return cret, nil
4470 }4501 }
@@ -4494,6 +4525,7 @@ func (x *FileBase) MeasureDiskUsage(FlagsVar FileMeasureFlags, CancellableVar *C
4494 var cerr *glib.Error4525 var cerr *glib.Error
4495 4526
4496 cret := XGFileMeasureDiskUsage(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, DiskUsageVar, NumDirsVar, NumFilesVar, &cerr)4527 cret := XGFileMeasureDiskUsage(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, DiskUsageVar, NumDirsVar, NumFilesVar, &cerr)
4528+
4497 if cerr == nil {4529 if cerr == nil {
4498 return cret, nil4530 return cret, nil
4499 }4531 }
@@ -4518,6 +4550,7 @@ func (x *FileBase) MeasureDiskUsageFinish(ResultVar AsyncResult, DiskUsageVar *u
4518 var cerr *glib.Error4550 var cerr *glib.Error
4519 4551
4520 cret := XGFileMeasureDiskUsageFinish(x.GoPointer(), ResultVar.GoPointer(), DiskUsageVar, NumDirsVar, NumFilesVar, &cerr)4552 cret := XGFileMeasureDiskUsageFinish(x.GoPointer(), ResultVar.GoPointer(), DiskUsageVar, NumDirsVar, NumFilesVar, &cerr)
4553+
4521 if cerr == nil {4554 if cerr == nil {
4522 return cret, nil4555 return cret, nil
4523 }4556 }
@@ -4632,6 +4665,7 @@ func (x *FileBase) MountEnclosingVolumeFinish(ResultVar AsyncResult) (bool, erro
4632 var cerr *glib.Error4665 var cerr *glib.Error
4633 4666
4634 cret := XGFileMountEnclosingVolumeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4667 cret := XGFileMountEnclosingVolumeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4668+
4635 if cerr == nil {4669 if cerr == nil {
4636 return cret, nil4670 return cret, nil
4637 }4671 }
@@ -4715,6 +4749,7 @@ func (x *FileBase) Move(DestinationVar File, FlagsVar FileCopyFlags, Cancellable
4715 var cerr *glib.Error4749 var cerr *glib.Error
4716 4750
4717 cret := XGFileMove(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr)4751 cret := XGFileMove(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr)
4752+
4718 if cerr == nil {4753 if cerr == nil {
4719 return cret, nil4754 return cret, nil
4720 }4755 }
@@ -4751,6 +4786,7 @@ func (x *FileBase) MoveFinish(ResultVar AsyncResult) (bool, error) {
4751 var cerr *glib.Error4786 var cerr *glib.Error
4752 4787
4753 cret := XGFileMoveFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4788 cret := XGFileMoveFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4789+
4754 if cerr == nil {4790 if cerr == nil {
4755 return cret, nil4791 return cret, nil
4756 }4792 }
@@ -4836,6 +4872,7 @@ func (x *FileBase) OpenReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error
4836 func (x *FileBase) PeekPath() string {4872 func (x *FileBase) PeekPath() string {
4837 4873
4838 cret := XGFilePeekPath(x.GoPointer())4874 cret := XGFilePeekPath(x.GoPointer())
4875+
4839 return cret4876 return cret
4840 }4877 }
4841 4878
@@ -4862,6 +4899,7 @@ func (x *FileBase) PollMountableFinish(ResultVar AsyncResult) (bool, error) {
4862 var cerr *glib.Error4899 var cerr *glib.Error
4863 4900
4864 cret := XGFilePollMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4901 cret := XGFilePollMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4902+
4865 if cerr == nil {4903 if cerr == nil {
4866 return cret, nil4904 return cret, nil
4867 }4905 }
@@ -4947,6 +4985,7 @@ func (x *FileBase) QueryDefaultHandlerFinish(ResultVar AsyncResult) (*AppInfoBas
4947 func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool {4985 func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool {
4948 4986
4949 cret := XGFileQueryExists(x.GoPointer(), CancellableVar.GoPointer())4987 cret := XGFileQueryExists(x.GoPointer(), CancellableVar.GoPointer())
4988+
4950 return cret4989 return cret
4951 }4990 }
4952 4991
@@ -4958,6 +4997,7 @@ func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool {
4958 func (x *FileBase) QueryFileType(FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) FileType {4997 func (x *FileBase) QueryFileType(FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) FileType {
4959 4998
4960 cret := XGFileQueryFileType(x.GoPointer(), FlagsVar, CancellableVar.GoPointer())4999 cret := XGFileQueryFileType(x.GoPointer(), FlagsVar, CancellableVar.GoPointer())
5000+
4961 return cret5001 return cret
4962 }5002 }
4963 5003
@@ -5151,6 +5191,7 @@ func (x *FileBase) QuerySettableAttributes(CancellableVar *Cancellable) (*FileAt
5151 var cerr *glib.Error5191 var cerr *glib.Error
5152 5192
5153 cret := XGFileQuerySettableAttributes(x.GoPointer(), CancellableVar.GoPointer(), &cerr)5193 cret := XGFileQuerySettableAttributes(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
5194+
5154 if cerr == nil {5195 if cerr == nil {
5155 return cret, nil5196 return cret, nil
5156 }5197 }
@@ -5169,6 +5210,7 @@ func (x *FileBase) QueryWritableNamespaces(CancellableVar *Cancellable) (*FileAt
5169 var cerr *glib.Error5210 var cerr *glib.Error
5170 5211
5171 cret := XGFileQueryWritableNamespaces(x.GoPointer(), CancellableVar.GoPointer(), &cerr)5212 cret := XGFileQueryWritableNamespaces(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
5213+
5172 if cerr == nil {5214 if cerr == nil {
5173 return cret, nil5215 return cret, nil
5174 }5216 }
@@ -5284,7 +5326,11 @@ func (x *FileBase) Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCre
5284 var cls *FileOutputStream5326 var cls *FileOutputStream
5285 var cerr *glib.Error5327 var cerr *glib.Error
5286 5328
5287- cret := XGFileReplace(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5329+ EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)
5330+
5331+ cret := XGFileReplace(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5332+
5333+ runtime.KeepAlive(EtagVarBytes)
5288 5334
5289 if cret == 0 {5335 if cret == 0 {
5290 return nil, cerr5336 return nil, cerr
@@ -5309,7 +5355,11 @@ func (x *FileBase) Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCre
5309 // of the operation.5355 // of the operation.
5310 func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5356 func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5311 5357
5312- XGFileReplaceAsync(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5358+ EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)
5359+
5360+ XGFileReplaceAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5361+
5362+ runtime.KeepAlive(EtagVarBytes)
5313 5363
5314 }5364 }
5315 5365
@@ -5332,7 +5382,12 @@ func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar Fi
5332 func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) {5382 func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) {
5333 var cerr *glib.Error5383 var cerr *glib.Error
5334 5384
5335- cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr)5385+ EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)
5386+
5387+ cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr)
5388+
5389+ runtime.KeepAlive(EtagVarBytes)
5390+
5336 if cerr == nil {5391 if cerr == nil {
5337 return cret, nil5392 return cret, nil
5338 }5393 }
@@ -5361,7 +5416,11 @@ func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *
5361 // contents (without copying) for the duration of the call.5416 // contents (without copying) for the duration of the call.
5362 func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5417 func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5363 5418
5364- XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5419+ EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)
5420+
5421+ XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5422+
5423+ runtime.KeepAlive(EtagVarBytes)
5365 5424
5366 }5425 }
5367 5426
@@ -5375,7 +5434,11 @@ func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, Etag
5375 // g_file_replace_contents_finish().5434 // g_file_replace_contents_finish().
5376 func (x *FileBase) ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5435 func (x *FileBase) ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5377 5436
5378- XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5437+ EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)
5438+
5439+ XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5440+
5441+ runtime.KeepAlive(EtagVarBytes)
5379 5442
5380 }5443 }
5381 5444
@@ -5386,6 +5449,7 @@ func (x *FileBase) ReplaceContentsFinish(ResVar AsyncResult, NewEtagVar *string)
5386 var cerr *glib.Error5449 var cerr *glib.Error
5387 5450
5388 cret := XGFileReplaceContentsFinish(x.GoPointer(), ResVar.GoPointer(), NewEtagVar, &cerr)5451 cret := XGFileReplaceContentsFinish(x.GoPointer(), ResVar.GoPointer(), NewEtagVar, &cerr)
5452+
5389 if cerr == nil {5453 if cerr == nil {
5390 return cret, nil5454 return cret, nil
5391 }5455 }
@@ -5427,7 +5491,11 @@ func (x *FileBase) ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVa
5427 var cls *FileIOStream5491 var cls *FileIOStream
5428 var cerr *glib.Error5492 var cerr *glib.Error
5429 5493
5430- cret := XGFileReplaceReadwrite(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5494+ EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)
5495+
5496+ cret := XGFileReplaceReadwrite(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5497+
5498+ runtime.KeepAlive(EtagVarBytes)
5431 5499
5432 if cret == 0 {5500 if cret == 0 {
5433 return nil, cerr5501 return nil, cerr
@@ -5453,7 +5521,11 @@ func (x *FileBase) ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVa
5453 // the result of the operation.5521 // the result of the operation.
5454 func (x *FileBase) ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5522 func (x *FileBase) ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5455 5523
5456- XGFileReplaceReadwriteAsync(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5524+ EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)
5525+
5526+ XGFileReplaceReadwriteAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5527+
5528+ runtime.KeepAlive(EtagVarBytes)
5457 5529
5458 }5530 }
5459 5531
@@ -5508,6 +5580,7 @@ func (x *FileBase) SetAttribute(AttributeVar string, TypeVar FileAttributeType,
5508 var cerr *glib.Error5580 var cerr *glib.Error
5509 5581
5510 cret := XGFileSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5582 cret := XGFileSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5583+
5511 if cerr == nil {5584 if cerr == nil {
5512 return cret, nil5585 return cret, nil
5513 }5586 }
@@ -5526,6 +5599,7 @@ func (x *FileBase) SetAttributeByteString(AttributeVar string, ValueVar string,
5526 var cerr *glib.Error5599 var cerr *glib.Error
5527 5600
5528 cret := XGFileSetAttributeByteString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5601 cret := XGFileSetAttributeByteString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5602+
5529 if cerr == nil {5603 if cerr == nil {
5530 return cret, nil5604 return cret, nil
5531 }5605 }
@@ -5543,6 +5617,7 @@ func (x *FileBase) SetAttributeInt32(AttributeVar string, ValueVar int32, FlagsV
5543 var cerr *glib.Error5617 var cerr *glib.Error
5544 5618
5545 cret := XGFileSetAttributeInt32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5619 cret := XGFileSetAttributeInt32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5620+
5546 if cerr == nil {5621 if cerr == nil {
5547 return cret, nil5622 return cret, nil
5548 }5623 }
@@ -5560,6 +5635,7 @@ func (x *FileBase) SetAttributeInt64(AttributeVar string, ValueVar int64, FlagsV
5560 var cerr *glib.Error5635 var cerr *glib.Error
5561 5636
5562 cret := XGFileSetAttributeInt64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5637 cret := XGFileSetAttributeInt64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5638+
5563 if cerr == nil {5639 if cerr == nil {
5564 return cret, nil5640 return cret, nil
5565 }5641 }
@@ -5577,6 +5653,7 @@ func (x *FileBase) SetAttributeString(AttributeVar string, ValueVar string, Flag
5577 var cerr *glib.Error5653 var cerr *glib.Error
5578 5654
5579 cret := XGFileSetAttributeString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5655 cret := XGFileSetAttributeString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5656+
5580 if cerr == nil {5657 if cerr == nil {
5581 return cret, nil5658 return cret, nil
5582 }5659 }
@@ -5594,6 +5671,7 @@ func (x *FileBase) SetAttributeUint32(AttributeVar string, ValueVar uint32, Flag
5594 var cerr *glib.Error5671 var cerr *glib.Error
5595 5672
5596 cret := XGFileSetAttributeUint32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5673 cret := XGFileSetAttributeUint32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5674+
5597 if cerr == nil {5675 if cerr == nil {
5598 return cret, nil5676 return cret, nil
5599 }5677 }
@@ -5611,6 +5689,7 @@ func (x *FileBase) SetAttributeUint64(AttributeVar string, ValueVar uint64, Flag
5611 var cerr *glib.Error5689 var cerr *glib.Error
5612 5690
5613 cret := XGFileSetAttributeUint64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5691 cret := XGFileSetAttributeUint64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5692+
5614 if cerr == nil {5693 if cerr == nil {
5615 return cret, nil5694 return cret, nil
5616 }5695 }
@@ -5637,6 +5716,7 @@ func (x *FileBase) SetAttributesFinish(ResultVar AsyncResult, InfoVar **FileInfo
5637 var cerr *glib.Error5716 var cerr *glib.Error
5638 5717
5639 cret := XGFileSetAttributesFinish(x.GoPointer(), ResultVar.GoPointer(), InfoVar, &cerr)5718 cret := XGFileSetAttributesFinish(x.GoPointer(), ResultVar.GoPointer(), InfoVar, &cerr)
5719+
5640 if cerr == nil {5720 if cerr == nil {
5641 return cret, nil5721 return cret, nil
5642 }5722 }
@@ -5660,6 +5740,7 @@ func (x *FileBase) SetAttributesFromInfo(InfoVar *FileInfo, FlagsVar FileQueryIn
5660 var cerr *glib.Error5740 var cerr *glib.Error
5661 5741
5662 cret := XGFileSetAttributesFromInfo(x.GoPointer(), InfoVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)5742 cret := XGFileSetAttributesFromInfo(x.GoPointer(), InfoVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
5743+
5663 if cerr == nil {5744 if cerr == nil {
5664 return cret, nil5745 return cret, nil
5665 }5746 }
@@ -5759,6 +5840,7 @@ func (x *FileBase) StartMountableFinish(ResultVar AsyncResult) (bool, error) {
5759 var cerr *glib.Error5840 var cerr *glib.Error
5760 5841
5761 cret := XGFileStartMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5842 cret := XGFileStartMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5843+
5762 if cerr == nil {5844 if cerr == nil {
5763 return cret, nil5845 return cret, nil
5764 }5846 }
@@ -5789,6 +5871,7 @@ func (x *FileBase) StopMountableFinish(ResultVar AsyncResult) (bool, error) {
5789 var cerr *glib.Error5871 var cerr *glib.Error
5790 5872
5791 cret := XGFileStopMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5873 cret := XGFileStopMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5874+
5792 if cerr == nil {5875 if cerr == nil {
5793 return cret, nil5876 return cret, nil
5794 }5877 }
@@ -5803,6 +5886,7 @@ func (x *FileBase) StopMountableFinish(ResultVar AsyncResult) (bool, error) {
5803 func (x *FileBase) SupportsThreadContexts() bool {5886 func (x *FileBase) SupportsThreadContexts() bool {
5804 5887
5805 cret := XGFileSupportsThreadContexts(x.GoPointer())5888 cret := XGFileSupportsThreadContexts(x.GoPointer())
5889+
5806 return cret5890 return cret
5807 }5891 }
5808 5892
@@ -5823,6 +5907,7 @@ func (x *FileBase) Trash(CancellableVar *Cancellable) (bool, error) {
5823 var cerr *glib.Error5907 var cerr *glib.Error
5824 5908
5825 cret := XGFileTrash(x.GoPointer(), CancellableVar.GoPointer(), &cerr)5909 cret := XGFileTrash(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
5910+
5826 if cerr == nil {5911 if cerr == nil {
5827 return cret, nil5912 return cret, nil
5828 }5913 }
@@ -5843,6 +5928,7 @@ func (x *FileBase) TrashFinish(ResultVar AsyncResult) (bool, error) {
5843 var cerr *glib.Error5928 var cerr *glib.Error
5844 5929
5845 cret := XGFileTrashFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5930 cret := XGFileTrashFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5931+
5846 if cerr == nil {5932 if cerr == nil {
5847 return cret, nil5933 return cret, nil
5848 }5934 }
@@ -5873,6 +5959,7 @@ func (x *FileBase) UnmountMountableFinish(ResultVar AsyncResult) (bool, error) {
5873 var cerr *glib.Error5959 var cerr *glib.Error
5874 5960
5875 cret := XGFileUnmountMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5961 cret := XGFileUnmountMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5962+
5876 if cerr == nil {5963 if cerr == nil {
5877 return cret, nil5964 return cret, nil
5878 }5965 }
@@ -5904,6 +5991,7 @@ func (x *FileBase) UnmountMountableWithOperationFinish(ResultVar AsyncResult) (b
5904 var cerr *glib.Error5991 var cerr *glib.Error
5905 5992
5906 cret := XGFileUnmountMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5993 cret := XGFileUnmountMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5994+
5907 if cerr == nil {5995 if cerr == nil {
5908 return cret, nil5996 return cret, nil
5909 }5997 }
@@ -6171,7 +6259,11 @@ func FileNewTmp(TmplVar *string, IostreamVar **FileIOStream) (*FileBase, error)
6171 var cls *FileBase6259 var cls *FileBase
6172 var cerr *glib.Error6260 var cerr *glib.Error
6173 6261
6174- cret := xFileNewTmp(core.NullableStringToPtr(TmplVar), IostreamVar, &cerr)6262+ TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)
6263+
6264+ cret := xFileNewTmp(TmplVarPtr, IostreamVar, &cerr)
6265+
6266+ runtime.KeepAlive(TmplVarBytes)
6175 6267
6176 if cret == 0 {6268 if cret == 0 {
6177 return nil, cerr6269 return nil, cerr
@@ -6211,7 +6303,11 @@ func FileNewTmpAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Cancell
6211 }6303 }
6212 }6304 }
6213 6305
6214- xFileNewTmpAsync(core.NullableStringToPtr(TmplVar), IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)6306+ TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)
6307+
6308+ xFileNewTmpAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
6309+
6310+ runtime.KeepAlive(TmplVarBytes)
6215 6311
6216 }6312 }
6217 6313
@@ -6240,7 +6336,11 @@ func FileNewTmpDirAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Canc
6240 }6336 }
6241 }6337 }
6242 6338
6243- xFileNewTmpDirAsync(core.NullableStringToPtr(TmplVar), IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)6339+ TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)
6340+
6341+ xFileNewTmpDirAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
6342+
6343+ runtime.KeepAlive(TmplVarBytes)
6244 6344
6245 }6345 }
6246 6346
M v4/gio/gfileattribute.go +4 -0
@@ -51,6 +51,7 @@ var xNewFileAttributeInfoList func() *FileAttributeInfoList
51 func NewFileAttributeInfoList() *FileAttributeInfoList {51 func NewFileAttributeInfoList() *FileAttributeInfoList {
52 52
53 cret := xNewFileAttributeInfoList()53 cret := xNewFileAttributeInfoList()
54+
54 return cret55 return cret
55 }56 }
56 57
@@ -70,6 +71,7 @@ var xFileAttributeInfoListDup func(uintptr) *FileAttributeInfoList
70 func (x *FileAttributeInfoList) Dup() *FileAttributeInfoList {71 func (x *FileAttributeInfoList) Dup() *FileAttributeInfoList {
71 72
72 cret := xFileAttributeInfoListDup(x.GoPointer())73 cret := xFileAttributeInfoListDup(x.GoPointer())
74+
73 return cret75 return cret
74 }76 }
75 77
@@ -79,6 +81,7 @@ var xFileAttributeInfoListLookup func(uintptr, string) *FileAttributeInfo
79 func (x *FileAttributeInfoList) Lookup(NameVar string) *FileAttributeInfo {81 func (x *FileAttributeInfoList) Lookup(NameVar string) *FileAttributeInfo {
80 82
81 cret := xFileAttributeInfoListLookup(x.GoPointer(), NameVar)83 cret := xFileAttributeInfoListLookup(x.GoPointer(), NameVar)
84+
82 return cret85 return cret
83 }86 }
84 87
@@ -88,6 +91,7 @@ var xFileAttributeInfoListRef func(uintptr) *FileAttributeInfoList
88 func (x *FileAttributeInfoList) Ref() *FileAttributeInfoList {91 func (x *FileAttributeInfoList) Ref() *FileAttributeInfoList {
89 92
90 cret := xFileAttributeInfoListRef(x.GoPointer())93 cret := xFileAttributeInfoListRef(x.GoPointer())
94+
91 return cret95 return cret
92 }96 }
93 97
M v4/gio/gfileenumerator.go +6 -0
@@ -419,6 +419,7 @@ func (x *FileEnumerator) Close(CancellableVar *Cancellable) (bool, error) {
419 var cerr *glib.Error419 var cerr *glib.Error
420 420
421 cret := xFileEnumeratorClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)421 cret := xFileEnumeratorClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
422+
422 if cerr == nil {423 if cerr == nil {
423 return cret, nil424 return cret, nil
424 }425 }
@@ -471,6 +472,7 @@ func (x *FileEnumerator) CloseFinish(ResultVar AsyncResult) (bool, error) {
471 var cerr *glib.Error472 var cerr *glib.Error
472 473
473 cret := xFileEnumeratorCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)474 cret := xFileEnumeratorCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
475+
474 if cerr == nil {476 if cerr == nil {
475 return cret, nil477 return cret, nil
476 }478 }
@@ -531,6 +533,7 @@ var xFileEnumeratorHasPending func(uintptr) bool
531 func (x *FileEnumerator) HasPending() bool {533 func (x *FileEnumerator) HasPending() bool {
532 534
533 cret := xFileEnumeratorHasPending(x.GoPointer())535 cret := xFileEnumeratorHasPending(x.GoPointer())
536+
534 return cret537 return cret
535 }538 }
536 539
@@ -540,6 +543,7 @@ var xFileEnumeratorIsClosed func(uintptr) bool
540 func (x *FileEnumerator) IsClosed() bool {543 func (x *FileEnumerator) IsClosed() bool {
541 544
542 cret := xFileEnumeratorIsClosed(x.GoPointer())545 cret := xFileEnumeratorIsClosed(x.GoPointer())
546+
543 return cret547 return cret
544 }548 }
545 549
@@ -590,6 +594,7 @@ func (x *FileEnumerator) Iterate(OutInfoVar **FileInfo, OutChildVar **File, Canc
590 var cerr *glib.Error594 var cerr *glib.Error
591 595
592 cret := xFileEnumeratorIterate(x.GoPointer(), OutInfoVar, OutChildVar, CancellableVar.GoPointer(), &cerr)596 cret := xFileEnumeratorIterate(x.GoPointer(), OutInfoVar, OutChildVar, CancellableVar.GoPointer(), &cerr)
597+
593 if cerr == nil {598 if cerr == nil {
594 return cret, nil599 return cret, nil
595 }600 }
@@ -729,6 +734,7 @@ func (x *FileEnumerator) NextFilesFinish(ResultVar AsyncResult) (*glib.List, err
729 var cerr *glib.Error734 var cerr *glib.Error
730 735
731 cret := xFileEnumeratorNextFilesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)736 cret := xFileEnumeratorNextFilesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
737+
732 if cerr == nil {738 if cerr == nil {
733 return cret, nil739 return cret, nil
734 }740 }
M v4/gio/gfileicon.go +4 -0
@@ -88,6 +88,7 @@ func (c *FileIcon) SetGoPointer(ptr uintptr) {
88 func (x *FileIcon) Equal(Icon2Var Icon) bool {88 func (x *FileIcon) Equal(Icon2Var Icon) bool {
89 89
90 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())90 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
91+
91 return cret92 return cret
92 }93 }
93 94
@@ -95,6 +96,7 @@ func (x *FileIcon) Equal(Icon2Var Icon) bool {
95 func (x *FileIcon) Hash() uint {96 func (x *FileIcon) Hash() uint {
96 97
97 cret := XGIconHash(x.GoPointer())98 cret := XGIconHash(x.GoPointer())
99+
98 return cret100 return cret
99 }101 }
100 102
@@ -106,6 +108,7 @@ func (x *FileIcon) Hash() uint {
106 func (x *FileIcon) Serialize() *glib.Variant {108 func (x *FileIcon) Serialize() *glib.Variant {
107 109
108 cret := XGIconSerialize(x.GoPointer())110 cret := XGIconSerialize(x.GoPointer())
111+
109 return cret112 return cret
110 }113 }
111 114
@@ -128,6 +131,7 @@ func (x *FileIcon) Serialize() *glib.Variant {
128 func (x *FileIcon) ToString() string {131 func (x *FileIcon) ToString() string {
129 132
130 cret := XGIconToString(x.GoPointer())133 cret := XGIconToString(x.GoPointer())
134+
131 return cret135 return cret
132 }136 }
133 137
M v4/gio/gfileinfo.go +39 -1
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -806,6 +807,7 @@ var xFileInfoGetAccessDateTime func(uintptr) *glib.DateTime
806 func (x *FileInfo) GetAccessDateTime() *glib.DateTime {807 func (x *FileInfo) GetAccessDateTime() *glib.DateTime {
807 808
808 cret := xFileInfoGetAccessDateTime(x.GoPointer())809 cret := xFileInfoGetAccessDateTime(x.GoPointer())
810+
809 return cret811 return cret
810 }812 }
811 813
@@ -834,6 +836,7 @@ var xFileInfoGetAttributeAsString func(uintptr, string) string
834 func (x *FileInfo) GetAttributeAsString(AttributeVar string) string {836 func (x *FileInfo) GetAttributeAsString(AttributeVar string) string {
835 837
836 cret := xFileInfoGetAttributeAsString(x.GoPointer(), AttributeVar)838 cret := xFileInfoGetAttributeAsString(x.GoPointer(), AttributeVar)
839+
837 return cret840 return cret
838 }841 }
839 842
@@ -844,6 +847,7 @@ var xFileInfoGetAttributeBoolean func(uintptr, string) bool
844 func (x *FileInfo) GetAttributeBoolean(AttributeVar string) bool {847 func (x *FileInfo) GetAttributeBoolean(AttributeVar string) bool {
845 848
846 cret := xFileInfoGetAttributeBoolean(x.GoPointer(), AttributeVar)849 cret := xFileInfoGetAttributeBoolean(x.GoPointer(), AttributeVar)
850+
847 return cret851 return cret
848 }852 }
849 853
@@ -854,6 +858,7 @@ var xFileInfoGetAttributeByteString func(uintptr, string) string
854 func (x *FileInfo) GetAttributeByteString(AttributeVar string) string {858 func (x *FileInfo) GetAttributeByteString(AttributeVar string) string {
855 859
856 cret := xFileInfoGetAttributeByteString(x.GoPointer(), AttributeVar)860 cret := xFileInfoGetAttributeByteString(x.GoPointer(), AttributeVar)
861+
857 return cret862 return cret
858 }863 }
859 864
@@ -863,6 +868,7 @@ var xFileInfoGetAttributeData func(uintptr, string, *FileAttributeType, *uintptr
863 func (x *FileInfo) GetAttributeData(AttributeVar string, TypeVar *FileAttributeType, ValuePpVar *uintptr, StatusVar *FileAttributeStatus) bool {868 func (x *FileInfo) GetAttributeData(AttributeVar string, TypeVar *FileAttributeType, ValuePpVar *uintptr, StatusVar *FileAttributeStatus) bool {
864 869
865 cret := xFileInfoGetAttributeData(x.GoPointer(), AttributeVar, TypeVar, ValuePpVar, StatusVar)870 cret := xFileInfoGetAttributeData(x.GoPointer(), AttributeVar, TypeVar, ValuePpVar, StatusVar)
871+
866 return cret872 return cret
867 }873 }
868 874
@@ -877,6 +883,7 @@ var xFileInfoGetAttributeFilePath func(uintptr, string) string
877 func (x *FileInfo) GetAttributeFilePath(AttributeVar string) string {883 func (x *FileInfo) GetAttributeFilePath(AttributeVar string) string {
878 884
879 cret := xFileInfoGetAttributeFilePath(x.GoPointer(), AttributeVar)885 cret := xFileInfoGetAttributeFilePath(x.GoPointer(), AttributeVar)
886+
880 return cret887 return cret
881 }888 }
882 889
@@ -888,6 +895,7 @@ var xFileInfoGetAttributeInt32 func(uintptr, string) int32
888 func (x *FileInfo) GetAttributeInt32(AttributeVar string) int32 {895 func (x *FileInfo) GetAttributeInt32(AttributeVar string) int32 {
889 896
890 cret := xFileInfoGetAttributeInt32(x.GoPointer(), AttributeVar)897 cret := xFileInfoGetAttributeInt32(x.GoPointer(), AttributeVar)
898+
891 return cret899 return cret
892 }900 }
893 901
@@ -899,6 +907,7 @@ var xFileInfoGetAttributeInt64 func(uintptr, string) int64
899 func (x *FileInfo) GetAttributeInt64(AttributeVar string) int64 {907 func (x *FileInfo) GetAttributeInt64(AttributeVar string) int64 {
900 908
901 cret := xFileInfoGetAttributeInt64(x.GoPointer(), AttributeVar)909 cret := xFileInfoGetAttributeInt64(x.GoPointer(), AttributeVar)
910+
902 return cret911 return cret
903 }912 }
904 913
@@ -926,6 +935,7 @@ var xFileInfoGetAttributeStatus func(uintptr, string) FileAttributeStatus
926 func (x *FileInfo) GetAttributeStatus(AttributeVar string) FileAttributeStatus {935 func (x *FileInfo) GetAttributeStatus(AttributeVar string) FileAttributeStatus {
927 936
928 cret := xFileInfoGetAttributeStatus(x.GoPointer(), AttributeVar)937 cret := xFileInfoGetAttributeStatus(x.GoPointer(), AttributeVar)
938+
929 return cret939 return cret
930 }940 }
931 941
@@ -936,6 +946,7 @@ var xFileInfoGetAttributeString func(uintptr, string) string
936 func (x *FileInfo) GetAttributeString(AttributeVar string) string {946 func (x *FileInfo) GetAttributeString(AttributeVar string) string {
937 947
938 cret := xFileInfoGetAttributeString(x.GoPointer(), AttributeVar)948 cret := xFileInfoGetAttributeString(x.GoPointer(), AttributeVar)
949+
939 return cret950 return cret
940 }951 }
941 952
@@ -946,6 +957,7 @@ var xFileInfoGetAttributeStringv func(uintptr, string) []string
946 func (x *FileInfo) GetAttributeStringv(AttributeVar string) []string {957 func (x *FileInfo) GetAttributeStringv(AttributeVar string) []string {
947 958
948 cret := xFileInfoGetAttributeStringv(x.GoPointer(), AttributeVar)959 cret := xFileInfoGetAttributeStringv(x.GoPointer(), AttributeVar)
960+
949 return cret961 return cret
950 }962 }
951 963
@@ -955,6 +967,7 @@ var xFileInfoGetAttributeType func(uintptr, string) FileAttributeType
955 func (x *FileInfo) GetAttributeType(AttributeVar string) FileAttributeType {967 func (x *FileInfo) GetAttributeType(AttributeVar string) FileAttributeType {
956 968
957 cret := xFileInfoGetAttributeType(x.GoPointer(), AttributeVar)969 cret := xFileInfoGetAttributeType(x.GoPointer(), AttributeVar)
970+
958 return cret971 return cret
959 }972 }
960 973
@@ -966,6 +979,7 @@ var xFileInfoGetAttributeUint32 func(uintptr, string) uint32
966 func (x *FileInfo) GetAttributeUint32(AttributeVar string) uint32 {979 func (x *FileInfo) GetAttributeUint32(AttributeVar string) uint32 {
967 980
968 cret := xFileInfoGetAttributeUint32(x.GoPointer(), AttributeVar)981 cret := xFileInfoGetAttributeUint32(x.GoPointer(), AttributeVar)
982+
969 return cret983 return cret
970 }984 }
971 985
@@ -977,6 +991,7 @@ var xFileInfoGetAttributeUint64 func(uintptr, string) uint64
977 func (x *FileInfo) GetAttributeUint64(AttributeVar string) uint64 {991 func (x *FileInfo) GetAttributeUint64(AttributeVar string) uint64 {
978 992
979 cret := xFileInfoGetAttributeUint64(x.GoPointer(), AttributeVar)993 cret := xFileInfoGetAttributeUint64(x.GoPointer(), AttributeVar)
994+
980 return cret995 return cret
981 }996 }
982 997
@@ -989,6 +1004,7 @@ var xFileInfoGetContentType func(uintptr) string
989 func (x *FileInfo) GetContentType() string {1004 func (x *FileInfo) GetContentType() string {
990 1005
991 cret := xFileInfoGetContentType(x.GoPointer())1006 cret := xFileInfoGetContentType(x.GoPointer())
1007+
992 return cret1008 return cret
993 }1009 }
994 1010
@@ -1007,6 +1023,7 @@ var xFileInfoGetCreationDateTime func(uintptr) *glib.DateTime
1007 func (x *FileInfo) GetCreationDateTime() *glib.DateTime {1023 func (x *FileInfo) GetCreationDateTime() *glib.DateTime {
1008 1024
1009 cret := xFileInfoGetCreationDateTime(x.GoPointer())1025 cret := xFileInfoGetCreationDateTime(x.GoPointer())
1026+
1010 return cret1027 return cret
1011 }1028 }
1012 1029
@@ -1018,6 +1035,7 @@ var xFileInfoGetDeletionDate func(uintptr) *glib.DateTime
1018 func (x *FileInfo) GetDeletionDate() *glib.DateTime {1035 func (x *FileInfo) GetDeletionDate() *glib.DateTime {
1019 1036
1020 cret := xFileInfoGetDeletionDate(x.GoPointer())1037 cret := xFileInfoGetDeletionDate(x.GoPointer())
1038+
1021 return cret1039 return cret
1022 }1040 }
1023 1041
@@ -1030,6 +1048,7 @@ var xFileInfoGetDisplayName func(uintptr) string
1030 func (x *FileInfo) GetDisplayName() string {1048 func (x *FileInfo) GetDisplayName() string {
1031 1049
1032 cret := xFileInfoGetDisplayName(x.GoPointer())1050 cret := xFileInfoGetDisplayName(x.GoPointer())
1051+
1033 return cret1052 return cret
1034 }1053 }
1035 1054
@@ -1042,6 +1061,7 @@ var xFileInfoGetEditName func(uintptr) string
1042 func (x *FileInfo) GetEditName() string {1061 func (x *FileInfo) GetEditName() string {
1043 1062
1044 cret := xFileInfoGetEditName(x.GoPointer())1063 cret := xFileInfoGetEditName(x.GoPointer())
1064+
1045 return cret1065 return cret
1046 }1066 }
1047 1067
@@ -1055,6 +1075,7 @@ var xFileInfoGetEtag func(uintptr) string
1055 func (x *FileInfo) GetEtag() string {1075 func (x *FileInfo) GetEtag() string {
1056 1076
1057 cret := xFileInfoGetEtag(x.GoPointer())1077 cret := xFileInfoGetEtag(x.GoPointer())
1078+
1058 return cret1079 return cret
1059 }1080 }
1060 1081
@@ -1068,6 +1089,7 @@ var xFileInfoGetFileType func(uintptr) FileType
1068 func (x *FileInfo) GetFileType() FileType {1089 func (x *FileInfo) GetFileType() FileType {
1069 1090
1070 cret := xFileInfoGetFileType(x.GoPointer())1091 cret := xFileInfoGetFileType(x.GoPointer())
1092+
1071 return cret1093 return cret
1072 }1094 }
1073 1095
@@ -1100,6 +1122,7 @@ var xFileInfoGetIsBackup func(uintptr) bool
1100 func (x *FileInfo) GetIsBackup() bool {1122 func (x *FileInfo) GetIsBackup() bool {
1101 1123
1102 cret := xFileInfoGetIsBackup(x.GoPointer())1124 cret := xFileInfoGetIsBackup(x.GoPointer())
1125+
1103 return cret1126 return cret
1104 }1127 }
1105 1128
@@ -1112,6 +1135,7 @@ var xFileInfoGetIsHidden func(uintptr) bool
1112 func (x *FileInfo) GetIsHidden() bool {1135 func (x *FileInfo) GetIsHidden() bool {
1113 1136
1114 cret := xFileInfoGetIsHidden(x.GoPointer())1137 cret := xFileInfoGetIsHidden(x.GoPointer())
1138+
1115 return cret1139 return cret
1116 }1140 }
1117 1141
@@ -1124,6 +1148,7 @@ var xFileInfoGetIsSymlink func(uintptr) bool
1124 func (x *FileInfo) GetIsSymlink() bool {1148 func (x *FileInfo) GetIsSymlink() bool {
1125 1149
1126 cret := xFileInfoGetIsSymlink(x.GoPointer())1150 cret := xFileInfoGetIsSymlink(x.GoPointer())
1151+
1127 return cret1152 return cret
1128 }1153 }
1129 1154
@@ -1142,6 +1167,7 @@ var xFileInfoGetModificationDateTime func(uintptr) *glib.DateTime
1142 func (x *FileInfo) GetModificationDateTime() *glib.DateTime {1167 func (x *FileInfo) GetModificationDateTime() *glib.DateTime {
1143 1168
1144 cret := xFileInfoGetModificationDateTime(x.GoPointer())1169 cret := xFileInfoGetModificationDateTime(x.GoPointer())
1170+
1145 return cret1171 return cret
1146 }1172 }
1147 1173
@@ -1168,6 +1194,7 @@ var xFileInfoGetName func(uintptr) string
1168 func (x *FileInfo) GetName() string {1194 func (x *FileInfo) GetName() string {
1169 1195
1170 cret := xFileInfoGetName(x.GoPointer())1196 cret := xFileInfoGetName(x.GoPointer())
1197+
1171 return cret1198 return cret
1172 }1199 }
1173 1200
@@ -1182,6 +1209,7 @@ var xFileInfoGetSize func(uintptr) int64
1182 func (x *FileInfo) GetSize() int64 {1209 func (x *FileInfo) GetSize() int64 {
1183 1210
1184 cret := xFileInfoGetSize(x.GoPointer())1211 cret := xFileInfoGetSize(x.GoPointer())
1212+
1185 return cret1213 return cret
1186 }1214 }
1187 1215
@@ -1195,6 +1223,7 @@ var xFileInfoGetSortOrder func(uintptr) int32
1195 func (x *FileInfo) GetSortOrder() int32 {1223 func (x *FileInfo) GetSortOrder() int32 {
1196 1224
1197 cret := xFileInfoGetSortOrder(x.GoPointer())1225 cret := xFileInfoGetSortOrder(x.GoPointer())
1226+
1198 return cret1227 return cret
1199 }1228 }
1200 1229
@@ -1227,6 +1256,7 @@ var xFileInfoGetSymlinkTarget func(uintptr) string
1227 func (x *FileInfo) GetSymlinkTarget() string {1256 func (x *FileInfo) GetSymlinkTarget() string {
1228 1257
1229 cret := xFileInfoGetSymlinkTarget(x.GoPointer())1258 cret := xFileInfoGetSymlinkTarget(x.GoPointer())
1259+
1230 return cret1260 return cret
1231 }1261 }
1232 1262
@@ -1236,6 +1266,7 @@ var xFileInfoHasAttribute func(uintptr, string) bool
1236 func (x *FileInfo) HasAttribute(AttributeVar string) bool {1266 func (x *FileInfo) HasAttribute(AttributeVar string) bool {
1237 1267
1238 cret := xFileInfoHasAttribute(x.GoPointer(), AttributeVar)1268 cret := xFileInfoHasAttribute(x.GoPointer(), AttributeVar)
1269+
1239 return cret1270 return cret
1240 }1271 }
1241 1272
@@ -1246,6 +1277,7 @@ var xFileInfoHasNamespace func(uintptr, string) bool
1246 func (x *FileInfo) HasNamespace(NameSpaceVar string) bool {1277 func (x *FileInfo) HasNamespace(NameSpaceVar string) bool {
1247 1278
1248 cret := xFileInfoHasNamespace(x.GoPointer(), NameSpaceVar)1279 cret := xFileInfoHasNamespace(x.GoPointer(), NameSpaceVar)
1280+
1249 return cret1281 return cret
1250 }1282 }
1251 1283
@@ -1254,7 +1286,12 @@ var xFileInfoListAttributes func(uintptr, uintptr) []string
1254 // Lists the file info structure's attributes.1286 // Lists the file info structure's attributes.
1255 func (x *FileInfo) ListAttributes(NameSpaceVar *string) []string {1287 func (x *FileInfo) ListAttributes(NameSpaceVar *string) []string {
1256 1288
1257- cret := xFileInfoListAttributes(x.GoPointer(), core.NullableStringToPtr(NameSpaceVar))1289+ NameSpaceVarPtr, NameSpaceVarBytes := core.NullableStringToPtr(NameSpaceVar)
1290+
1291+ cret := xFileInfoListAttributes(x.GoPointer(), NameSpaceVarPtr)
1292+
1293+ runtime.KeepAlive(NameSpaceVarBytes)
1294+
1258 return cret1295 return cret
1259 }1296 }
1260 1297
@@ -1373,6 +1410,7 @@ var xFileInfoSetAttributeStatus func(uintptr, string, FileAttributeStatus) bool
1373 func (x *FileInfo) SetAttributeStatus(AttributeVar string, StatusVar FileAttributeStatus) bool {1410 func (x *FileInfo) SetAttributeStatus(AttributeVar string, StatusVar FileAttributeStatus) bool {
1374 1411
1375 cret := xFileInfoSetAttributeStatus(x.GoPointer(), AttributeVar, StatusVar)1412 cret := xFileInfoSetAttributeStatus(x.GoPointer(), AttributeVar, StatusVar)
1413+
1376 return cret1414 return cret
1377 }1415 }
1378 1416
M v4/gio/gfileinputstream.go +5 -0
@@ -444,6 +444,7 @@ func (c *FileInputStream) SetGoPointer(ptr uintptr) {
444 func (x *FileInputStream) CanSeek() bool {444 func (x *FileInputStream) CanSeek() bool {
445 445
446 cret := XGSeekableCanSeek(x.GoPointer())446 cret := XGSeekableCanSeek(x.GoPointer())
447+
447 return cret448 return cret
448 }449 }
449 450
@@ -452,6 +453,7 @@ func (x *FileInputStream) CanSeek() bool {
452 func (x *FileInputStream) CanTruncate() bool {453 func (x *FileInputStream) CanTruncate() bool {
453 454
454 cret := XGSeekableCanTruncate(x.GoPointer())455 cret := XGSeekableCanTruncate(x.GoPointer())
456+
455 return cret457 return cret
456 }458 }
457 459
@@ -473,6 +475,7 @@ func (x *FileInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab
473 var cerr *glib.Error475 var cerr *glib.Error
474 476
475 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)477 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
478+
476 if cerr == nil {479 if cerr == nil {
477 return cret, nil480 return cret, nil
478 }481 }
@@ -484,6 +487,7 @@ func (x *FileInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab
484 func (x *FileInputStream) Tell() int64 {487 func (x *FileInputStream) Tell() int64 {
485 488
486 cret := XGSeekableTell(x.GoPointer())489 cret := XGSeekableTell(x.GoPointer())
490+
487 return cret491 return cret
488 }492 }
489 493
@@ -500,6 +504,7 @@ func (x *FileInputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable)
500 var cerr *glib.Error504 var cerr *glib.Error
501 505
502 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)506 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
507+
503 if cerr == nil {508 if cerr == nil {
504 return cret, nil509 return cret, nil
505 }510 }
M v4/gio/gfileiostream.go +6 -0
@@ -442,6 +442,7 @@ var xFileIOStreamGetEtag func(uintptr) string
442 func (x *FileIOStream) GetEtag() string {442 func (x *FileIOStream) GetEtag() string {
443 443
444 cret := xFileIOStreamGetEtag(x.GoPointer())444 cret := xFileIOStreamGetEtag(x.GoPointer())
445+
445 return cret446 return cret
446 }447 }
447 448
@@ -548,6 +549,7 @@ func (c *FileIOStream) SetGoPointer(ptr uintptr) {
548 func (x *FileIOStream) CanSeek() bool {549 func (x *FileIOStream) CanSeek() bool {
549 550
550 cret := XGSeekableCanSeek(x.GoPointer())551 cret := XGSeekableCanSeek(x.GoPointer())
552+
551 return cret553 return cret
552 }554 }
553 555
@@ -556,6 +558,7 @@ func (x *FileIOStream) CanSeek() bool {
556 func (x *FileIOStream) CanTruncate() bool {558 func (x *FileIOStream) CanTruncate() bool {
557 559
558 cret := XGSeekableCanTruncate(x.GoPointer())560 cret := XGSeekableCanTruncate(x.GoPointer())
561+
559 return cret562 return cret
560 }563 }
561 564
@@ -577,6 +580,7 @@ func (x *FileIOStream) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV
577 var cerr *glib.Error580 var cerr *glib.Error
578 581
579 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)582 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
583+
580 if cerr == nil {584 if cerr == nil {
581 return cret, nil585 return cret, nil
582 }586 }
@@ -588,6 +592,7 @@ func (x *FileIOStream) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV
588 func (x *FileIOStream) Tell() int64 {592 func (x *FileIOStream) Tell() int64 {
589 593
590 cret := XGSeekableTell(x.GoPointer())594 cret := XGSeekableTell(x.GoPointer())
595+
591 return cret596 return cret
592 }597 }
593 598
@@ -604,6 +609,7 @@ func (x *FileIOStream) Truncate(OffsetVar int64, CancellableVar *Cancellable) (b
604 var cerr *glib.Error609 var cerr *glib.Error
605 610
606 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)611 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
612+
607 if cerr == nil {613 if cerr == nil {
608 return cret, nil614 return cret, nil
609 }615 }
M v4/gio/gfilemonitor.go +2 -0
@@ -240,6 +240,7 @@ var xFileMonitorCancel func(uintptr) bool
240 func (x *FileMonitor) Cancel() bool {240 func (x *FileMonitor) Cancel() bool {
241 241
242 cret := xFileMonitorCancel(x.GoPointer())242 cret := xFileMonitorCancel(x.GoPointer())
243+
243 return cret244 return cret
244 }245 }
245 246
@@ -264,6 +265,7 @@ var xFileMonitorIsCancelled func(uintptr) bool
264 func (x *FileMonitor) IsCancelled() bool {265 func (x *FileMonitor) IsCancelled() bool {
265 266
266 cret := xFileMonitorIsCancelled(x.GoPointer())267 cret := xFileMonitorIsCancelled(x.GoPointer())
268+
267 return cret269 return cret
268 }270 }
269 271
M v4/gio/gfilenamecompleter.go +2 -0
@@ -166,6 +166,7 @@ var xFilenameCompleterGetCompletionSuffix func(uintptr, string) string
166 func (x *FilenameCompleter) GetCompletionSuffix(InitialTextVar string) string {166 func (x *FilenameCompleter) GetCompletionSuffix(InitialTextVar string) string {
167 167
168 cret := xFilenameCompleterGetCompletionSuffix(x.GoPointer(), InitialTextVar)168 cret := xFilenameCompleterGetCompletionSuffix(x.GoPointer(), InitialTextVar)
169+
169 return cret170 return cret
170 }171 }
171 172
@@ -175,6 +176,7 @@ var xFilenameCompleterGetCompletions func(uintptr, string) []string
175 func (x *FilenameCompleter) GetCompletions(InitialTextVar string) []string {176 func (x *FilenameCompleter) GetCompletions(InitialTextVar string) []string {
176 177
177 cret := xFilenameCompleterGetCompletions(x.GoPointer(), InitialTextVar)178 cret := xFilenameCompleterGetCompletions(x.GoPointer(), InitialTextVar)
179+
178 return cret180 return cret
179 }181 }
180 182
M v4/gio/gfileoutputstream.go +6 -0
@@ -437,6 +437,7 @@ var xFileOutputStreamGetEtag func(uintptr) string
437 func (x *FileOutputStream) GetEtag() string {437 func (x *FileOutputStream) GetEtag() string {
438 438
439 cret := xFileOutputStreamGetEtag(x.GoPointer())439 cret := xFileOutputStreamGetEtag(x.GoPointer())
440+
440 return cret441 return cret
441 }442 }
442 443
@@ -543,6 +544,7 @@ func (c *FileOutputStream) SetGoPointer(ptr uintptr) {
543 func (x *FileOutputStream) CanSeek() bool {544 func (x *FileOutputStream) CanSeek() bool {
544 545
545 cret := XGSeekableCanSeek(x.GoPointer())546 cret := XGSeekableCanSeek(x.GoPointer())
547+
546 return cret548 return cret
547 }549 }
548 550
@@ -551,6 +553,7 @@ func (x *FileOutputStream) CanSeek() bool {
551 func (x *FileOutputStream) CanTruncate() bool {553 func (x *FileOutputStream) CanTruncate() bool {
552 554
553 cret := XGSeekableCanTruncate(x.GoPointer())555 cret := XGSeekableCanTruncate(x.GoPointer())
556+
554 return cret557 return cret
555 }558 }
556 559
@@ -572,6 +575,7 @@ func (x *FileOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella
572 var cerr *glib.Error575 var cerr *glib.Error
573 576
574 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)577 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
578+
575 if cerr == nil {579 if cerr == nil {
576 return cret, nil580 return cret, nil
577 }581 }
@@ -583,6 +587,7 @@ func (x *FileOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella
583 func (x *FileOutputStream) Tell() int64 {587 func (x *FileOutputStream) Tell() int64 {
584 588
585 cret := XGSeekableTell(x.GoPointer())589 cret := XGSeekableTell(x.GoPointer())
590+
586 return cret591 return cret
587 }592 }
588 593
@@ -599,6 +604,7 @@ func (x *FileOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable
599 var cerr *glib.Error604 var cerr *glib.Error
600 605
601 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)606 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
607+
602 if cerr == nil {608 if cerr == nil {
603 return cret, nil609 return cret, nil
604 }610 }
M v4/gio/gfilterinputstream.go +1 -0
@@ -140,6 +140,7 @@ var xFilterInputStreamGetCloseBaseStream func(uintptr) bool
140 func (x *FilterInputStream) GetCloseBaseStream() bool {140 func (x *FilterInputStream) GetCloseBaseStream() bool {
141 141
142 cret := xFilterInputStreamGetCloseBaseStream(x.GoPointer())142 cret := xFilterInputStreamGetCloseBaseStream(x.GoPointer())
143+
143 return cret144 return cret
144 }145 }
145 146
M v4/gio/gfilteroutputstream.go +1 -0
@@ -140,6 +140,7 @@ var xFilterOutputStreamGetCloseBaseStream func(uintptr) bool
140 func (x *FilterOutputStream) GetCloseBaseStream() bool {140 func (x *FilterOutputStream) GetCloseBaseStream() bool {
141 141
142 cret := xFilterOutputStreamGetCloseBaseStream(x.GoPointer())142 cret := xFilterOutputStreamGetCloseBaseStream(x.GoPointer())
143+
143 return cret144 return cret
144 }145 }
145 146
M v4/gio/gicon.go +4 -0
@@ -241,6 +241,7 @@ func (x *IconBase) SetGoPointer(ptr uintptr) {
241 func (x *IconBase) Equal(Icon2Var Icon) bool {241 func (x *IconBase) Equal(Icon2Var Icon) bool {
242 242
243 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())243 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
244+
244 return cret245 return cret
245 }246 }
246 247
@@ -248,6 +249,7 @@ func (x *IconBase) Equal(Icon2Var Icon) bool {
248 func (x *IconBase) Hash() uint {249 func (x *IconBase) Hash() uint {
249 250
250 cret := XGIconHash(x.GoPointer())251 cret := XGIconHash(x.GoPointer())
252+
251 return cret253 return cret
252 }254 }
253 255
@@ -259,6 +261,7 @@ func (x *IconBase) Hash() uint {
259 func (x *IconBase) Serialize() *glib.Variant {261 func (x *IconBase) Serialize() *glib.Variant {
260 262
261 cret := XGIconSerialize(x.GoPointer())263 cret := XGIconSerialize(x.GoPointer())
264+
262 return cret265 return cret
263 }266 }
264 267
@@ -281,6 +284,7 @@ func (x *IconBase) Serialize() *glib.Variant {
281 func (x *IconBase) ToString() string {284 func (x *IconBase) ToString() string {
282 285
283 cret := XGIconToString(x.GoPointer())286 cret := XGIconToString(x.GoPointer())
287+
284 return cret288 return cret
285 }289 }
286 290
M v4/gio/ginetaddress.go +17 -0
@@ -202,6 +202,7 @@ var xInetAddressEqual func(uintptr, uintptr) bool
202 func (x *InetAddress) Equal(OtherAddressVar *InetAddress) bool {202 func (x *InetAddress) Equal(OtherAddressVar *InetAddress) bool {
203 203
204 cret := xInetAddressEqual(x.GoPointer(), OtherAddressVar.GoPointer())204 cret := xInetAddressEqual(x.GoPointer(), OtherAddressVar.GoPointer())
205+
205 return cret206 return cret
206 }207 }
207 208
@@ -211,6 +212,7 @@ var xInetAddressGetFamily func(uintptr) SocketFamily
211 func (x *InetAddress) GetFamily() SocketFamily {212 func (x *InetAddress) GetFamily() SocketFamily {
212 213
213 cret := xInetAddressGetFamily(x.GoPointer())214 cret := xInetAddressGetFamily(x.GoPointer())
215+
214 return cret216 return cret
215 }217 }
216 218
@@ -220,6 +222,7 @@ var xInetAddressGetFlowinfo func(uintptr) uint32
220 func (x *InetAddress) GetFlowinfo() uint32 {222 func (x *InetAddress) GetFlowinfo() uint32 {
221 223
222 cret := xInetAddressGetFlowinfo(x.GoPointer())224 cret := xInetAddressGetFlowinfo(x.GoPointer())
225+
223 return cret226 return cret
224 }227 }
225 228
@@ -229,6 +232,7 @@ var xInetAddressGetIsAny func(uintptr) bool
229 func (x *InetAddress) GetIsAny() bool {232 func (x *InetAddress) GetIsAny() bool {
230 233
231 cret := xInetAddressGetIsAny(x.GoPointer())234 cret := xInetAddressGetIsAny(x.GoPointer())
235+
232 return cret236 return cret
233 }237 }
234 238
@@ -240,6 +244,7 @@ var xInetAddressGetIsLinkLocal func(uintptr) bool
240 func (x *InetAddress) GetIsLinkLocal() bool {244 func (x *InetAddress) GetIsLinkLocal() bool {
241 245
242 cret := xInetAddressGetIsLinkLocal(x.GoPointer())246 cret := xInetAddressGetIsLinkLocal(x.GoPointer())
247+
243 return cret248 return cret
244 }249 }
245 250
@@ -249,6 +254,7 @@ var xInetAddressGetIsLoopback func(uintptr) bool
249 func (x *InetAddress) GetIsLoopback() bool {254 func (x *InetAddress) GetIsLoopback() bool {
250 255
251 cret := xInetAddressGetIsLoopback(x.GoPointer())256 cret := xInetAddressGetIsLoopback(x.GoPointer())
257+
252 return cret258 return cret
253 }259 }
254 260
@@ -258,6 +264,7 @@ var xInetAddressGetIsMcGlobal func(uintptr) bool
258 func (x *InetAddress) GetIsMcGlobal() bool {264 func (x *InetAddress) GetIsMcGlobal() bool {
259 265
260 cret := xInetAddressGetIsMcGlobal(x.GoPointer())266 cret := xInetAddressGetIsMcGlobal(x.GoPointer())
267+
261 return cret268 return cret
262 }269 }
263 270
@@ -267,6 +274,7 @@ var xInetAddressGetIsMcLinkLocal func(uintptr) bool
267 func (x *InetAddress) GetIsMcLinkLocal() bool {274 func (x *InetAddress) GetIsMcLinkLocal() bool {
268 275
269 cret := xInetAddressGetIsMcLinkLocal(x.GoPointer())276 cret := xInetAddressGetIsMcLinkLocal(x.GoPointer())
277+
270 return cret278 return cret
271 }279 }
272 280
@@ -276,6 +284,7 @@ var xInetAddressGetIsMcNodeLocal func(uintptr) bool
276 func (x *InetAddress) GetIsMcNodeLocal() bool {284 func (x *InetAddress) GetIsMcNodeLocal() bool {
277 285
278 cret := xInetAddressGetIsMcNodeLocal(x.GoPointer())286 cret := xInetAddressGetIsMcNodeLocal(x.GoPointer())
287+
279 return cret288 return cret
280 }289 }
281 290
@@ -285,6 +294,7 @@ var xInetAddressGetIsMcOrgLocal func(uintptr) bool
285 func (x *InetAddress) GetIsMcOrgLocal() bool {294 func (x *InetAddress) GetIsMcOrgLocal() bool {
286 295
287 cret := xInetAddressGetIsMcOrgLocal(x.GoPointer())296 cret := xInetAddressGetIsMcOrgLocal(x.GoPointer())
297+
288 return cret298 return cret
289 }299 }
290 300
@@ -294,6 +304,7 @@ var xInetAddressGetIsMcSiteLocal func(uintptr) bool
294 func (x *InetAddress) GetIsMcSiteLocal() bool {304 func (x *InetAddress) GetIsMcSiteLocal() bool {
295 305
296 cret := xInetAddressGetIsMcSiteLocal(x.GoPointer())306 cret := xInetAddressGetIsMcSiteLocal(x.GoPointer())
307+
297 return cret308 return cret
298 }309 }
299 310
@@ -303,6 +314,7 @@ var xInetAddressGetIsMulticast func(uintptr) bool
303 func (x *InetAddress) GetIsMulticast() bool {314 func (x *InetAddress) GetIsMulticast() bool {
304 315
305 cret := xInetAddressGetIsMulticast(x.GoPointer())316 cret := xInetAddressGetIsMulticast(x.GoPointer())
317+
306 return cret318 return cret
307 }319 }
308 320
@@ -315,6 +327,7 @@ var xInetAddressGetIsSiteLocal func(uintptr) bool
315 func (x *InetAddress) GetIsSiteLocal() bool {327 func (x *InetAddress) GetIsSiteLocal() bool {
316 328
317 cret := xInetAddressGetIsSiteLocal(x.GoPointer())329 cret := xInetAddressGetIsSiteLocal(x.GoPointer())
330+
318 return cret331 return cret
319 }332 }
320 333
@@ -325,6 +338,7 @@ var xInetAddressGetNativeSize func(uintptr) uint
325 func (x *InetAddress) GetNativeSize() uint {338 func (x *InetAddress) GetNativeSize() uint {
326 339
327 cret := xInetAddressGetNativeSize(x.GoPointer())340 cret := xInetAddressGetNativeSize(x.GoPointer())
341+
328 return cret342 return cret
329 }343 }
330 344
@@ -334,6 +348,7 @@ var xInetAddressGetScopeId func(uintptr) uint32
334 func (x *InetAddress) GetScopeId() uint32 {348 func (x *InetAddress) GetScopeId() uint32 {
335 349
336 cret := xInetAddressGetScopeId(x.GoPointer())350 cret := xInetAddressGetScopeId(x.GoPointer())
351+
337 return cret352 return cret
338 }353 }
339 354
@@ -343,6 +358,7 @@ var xInetAddressToBytes func(uintptr) byte
343 func (x *InetAddress) ToBytes() byte {358 func (x *InetAddress) ToBytes() byte {
344 359
345 cret := xInetAddressToBytes(x.GoPointer())360 cret := xInetAddressToBytes(x.GoPointer())
361+
346 return cret362 return cret
347 }363 }
348 364
@@ -352,6 +368,7 @@ var xInetAddressToString func(uintptr) string
352 func (x *InetAddress) ToString() string {368 func (x *InetAddress) ToString() string {
353 369
354 cret := xInetAddressToString(x.GoPointer())370 cret := xInetAddressToString(x.GoPointer())
371+
355 return cret372 return cret
356 }373 }
357 374
M v4/gio/ginetaddressmask.go +6 -0
@@ -102,6 +102,7 @@ var xInetAddressMaskEqual func(uintptr, uintptr) bool
102 func (x *InetAddressMask) Equal(Mask2Var *InetAddressMask) bool {102 func (x *InetAddressMask) Equal(Mask2Var *InetAddressMask) bool {
103 103
104 cret := xInetAddressMaskEqual(x.GoPointer(), Mask2Var.GoPointer())104 cret := xInetAddressMaskEqual(x.GoPointer(), Mask2Var.GoPointer())
105+
105 return cret106 return cret
106 }107 }
107 108
@@ -128,6 +129,7 @@ var xInetAddressMaskGetFamily func(uintptr) SocketFamily
128 func (x *InetAddressMask) GetFamily() SocketFamily {129 func (x *InetAddressMask) GetFamily() SocketFamily {
129 130
130 cret := xInetAddressMaskGetFamily(x.GoPointer())131 cret := xInetAddressMaskGetFamily(x.GoPointer())
132+
131 return cret133 return cret
132 }134 }
133 135
@@ -137,6 +139,7 @@ var xInetAddressMaskGetLength func(uintptr) uint
137 func (x *InetAddressMask) GetLength() uint {139 func (x *InetAddressMask) GetLength() uint {
138 140
139 cret := xInetAddressMaskGetLength(x.GoPointer())141 cret := xInetAddressMaskGetLength(x.GoPointer())
142+
140 return cret143 return cret
141 }144 }
142 145
@@ -146,6 +149,7 @@ var xInetAddressMaskMatches func(uintptr, uintptr) bool
146 func (x *InetAddressMask) Matches(AddressVar *InetAddress) bool {149 func (x *InetAddressMask) Matches(AddressVar *InetAddress) bool {
147 150
148 cret := xInetAddressMaskMatches(x.GoPointer(), AddressVar.GoPointer())151 cret := xInetAddressMaskMatches(x.GoPointer(), AddressVar.GoPointer())
152+
149 return cret153 return cret
150 }154 }
151 155
@@ -155,6 +159,7 @@ var xInetAddressMaskToString func(uintptr) string
155 func (x *InetAddressMask) ToString() string {159 func (x *InetAddressMask) ToString() string {
156 160
157 cret := xInetAddressMaskToString(x.GoPointer())161 cret := xInetAddressMaskToString(x.GoPointer())
162+
158 return cret163 return cret
159 }164 }
160 165
@@ -228,6 +233,7 @@ func (x *InetAddressMask) Init(CancellableVar *Cancellable) (bool, error) {
228 var cerr *glib.Error233 var cerr *glib.Error
229 234
230 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)235 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
236+
231 if cerr == nil {237 if cerr == nil {
232 return cret, nil238 return cret, nil
233 }239 }
M v4/gio/ginetsocketaddress.go +4 -0
@@ -112,6 +112,7 @@ var xInetSocketAddressGetFlowinfo func(uintptr) uint32
112 func (x *InetSocketAddress) GetFlowinfo() uint32 {112 func (x *InetSocketAddress) GetFlowinfo() uint32 {
113 113
114 cret := xInetSocketAddressGetFlowinfo(x.GoPointer())114 cret := xInetSocketAddressGetFlowinfo(x.GoPointer())
115+
115 return cret116 return cret
116 }117 }
117 118
@@ -121,6 +122,7 @@ var xInetSocketAddressGetPort func(uintptr) uint16
121 func (x *InetSocketAddress) GetPort() uint16 {122 func (x *InetSocketAddress) GetPort() uint16 {
122 123
123 cret := xInetSocketAddressGetPort(x.GoPointer())124 cret := xInetSocketAddressGetPort(x.GoPointer())
125+
124 return cret126 return cret
125 }127 }
126 128
@@ -133,6 +135,7 @@ var xInetSocketAddressGetScopeId func(uintptr) uint32
133 func (x *InetSocketAddress) GetScopeId() uint32 {135 func (x *InetSocketAddress) GetScopeId() uint32 {
134 136
135 cret := xInetSocketAddressGetScopeId(x.GoPointer())137 cret := xInetSocketAddressGetScopeId(x.GoPointer())
138+
136 return cret139 return cret
137 }140 }
138 141
@@ -250,6 +253,7 @@ func (x *InetSocketAddress) ProxyEnumerate() *SocketAddressEnumerator {
250 func (x *InetSocketAddress) ToString() string {253 func (x *InetSocketAddress) ToString() string {
251 254
252 cret := XGSocketConnectableToString(x.GoPointer())255 cret := XGSocketConnectableToString(x.GoPointer())
256+
253 return cret257 return cret
254 }258 }
255 259
M v4/gio/ginitable.go +1 -0
@@ -144,6 +144,7 @@ func (x *InitableBase) Init(CancellableVar *Cancellable) (bool, error) {
144 var cerr *glib.Error144 var cerr *glib.Error
145 145
146 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)146 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
147+
147 if cerr == nil {148 if cerr == nil {
148 return cret, nil149 return cret, nil
149 }150 }
M v4/gio/ginputstream.go +13 -0
@@ -447,6 +447,7 @@ func (x *InputStream) Close(CancellableVar *Cancellable) (bool, error) {
447 var cerr *glib.Error447 var cerr *glib.Error
448 448
449 cret := xInputStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)449 cret := xInputStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
450+
450 if cerr == nil {451 if cerr == nil {
451 return cret, nil452 return cret, nil
452 }453 }
@@ -494,6 +495,7 @@ func (x *InputStream) CloseFinish(ResultVar AsyncResult) (bool, error) {
494 var cerr *glib.Error495 var cerr *glib.Error
495 496
496 cret := xInputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)497 cret := xInputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
498+
497 if cerr == nil {499 if cerr == nil {
498 return cret, nil500 return cret, nil
499 }501 }
@@ -507,6 +509,7 @@ var xInputStreamHasPending func(uintptr) bool
507 func (x *InputStream) HasPending() bool {509 func (x *InputStream) HasPending() bool {
508 510
509 cret := xInputStreamHasPending(x.GoPointer())511 cret := xInputStreamHasPending(x.GoPointer())
512+
510 return cret513 return cret
511 }514 }
512 515
@@ -516,6 +519,7 @@ var xInputStreamIsClosed func(uintptr) bool
516 func (x *InputStream) IsClosed() bool {519 func (x *InputStream) IsClosed() bool {
517 520
518 cret := xInputStreamIsClosed(x.GoPointer())521 cret := xInputStreamIsClosed(x.GoPointer())
522+
519 return cret523 return cret
520 }524 }
521 525
@@ -546,6 +550,7 @@ func (x *InputStream) Read(BufferVar *[]byte, CountVar uint, CancellableVar *Can
546 var cerr *glib.Error550 var cerr *glib.Error
547 551
548 cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)552 cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
553+
549 if cerr == nil {554 if cerr == nil {
550 return cret, nil555 return cret, nil
551 }556 }
@@ -578,6 +583,7 @@ func (x *InputStream) ReadAll(BufferVar *[]byte, CountVar uint, BytesReadVar *ui
578 var cerr *glib.Error583 var cerr *glib.Error
579 584
580 cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr)585 cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr)
586+
581 if cerr == nil {587 if cerr == nil {
582 return cret, nil588 return cret, nil
583 }589 }
@@ -633,6 +639,7 @@ func (x *InputStream) ReadAllFinish(ResultVar AsyncResult, BytesReadVar *uint) (
633 var cerr *glib.Error639 var cerr *glib.Error
634 640
635 cret := xInputStreamReadAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesReadVar, &cerr)641 cret := xInputStreamReadAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesReadVar, &cerr)
642+
636 if cerr == nil {643 if cerr == nil {
637 return cret, nil644 return cret, nil
638 }645 }
@@ -715,6 +722,7 @@ func (x *InputStream) ReadBytes(CountVar uint, CancellableVar *Cancellable) (*gl
715 var cerr *glib.Error722 var cerr *glib.Error
716 723
717 cret := xInputStreamReadBytes(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)724 cret := xInputStreamReadBytes(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)
725+
718 if cerr == nil {726 if cerr == nil {
719 return cret, nil727 return cret, nil
720 }728 }
@@ -772,6 +780,7 @@ func (x *InputStream) ReadBytesFinish(ResultVar AsyncResult) (*glib.Bytes, error
772 var cerr *glib.Error780 var cerr *glib.Error
773 781
774 cret := xInputStreamReadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)782 cret := xInputStreamReadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
783+
775 if cerr == nil {784 if cerr == nil {
776 return cret, nil785 return cret, nil
777 }786 }
@@ -786,6 +795,7 @@ func (x *InputStream) ReadFinish(ResultVar AsyncResult) (int, error) {
786 var cerr *glib.Error795 var cerr *glib.Error
787 796
788 cret := xInputStreamReadFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)797 cret := xInputStreamReadFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
798+
789 if cerr == nil {799 if cerr == nil {
790 return cret, nil800 return cret, nil
791 }801 }
@@ -802,6 +812,7 @@ func (x *InputStream) SetPending() (bool, error) {
802 var cerr *glib.Error812 var cerr *glib.Error
803 813
804 cret := xInputStreamSetPending(x.GoPointer())814 cret := xInputStreamSetPending(x.GoPointer())
815+
805 if cerr == nil {816 if cerr == nil {
806 return cret, nil817 return cret, nil
807 }818 }
@@ -829,6 +840,7 @@ func (x *InputStream) Skip(CountVar uint, CancellableVar *Cancellable) (int, err
829 var cerr *glib.Error840 var cerr *glib.Error
830 841
831 cret := xInputStreamSkip(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)842 cret := xInputStreamSkip(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)
843+
832 if cerr == nil {844 if cerr == nil {
833 return cret, nil845 return cret, nil
834 }846 }
@@ -889,6 +901,7 @@ func (x *InputStream) SkipFinish(ResultVar AsyncResult) (int, error) {
889 var cerr *glib.Error901 var cerr *glib.Error
890 902
891 cret := xInputStreamSkipFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)903 cret := xInputStreamSkipFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
904+
892 if cerr == nil {905 if cerr == nil {
893 return cret, nil906 return cret, nil
894 }907 }
M v4/gio/gioerror.go +3 -0
@@ -32,6 +32,7 @@ var xIoErrorFromErrno func(int) IOErrorEnum
32 func IoErrorFromErrno(ErrNoVar int) IOErrorEnum {32 func IoErrorFromErrno(ErrNoVar int) IOErrorEnum {
33 33
34 cret := xIoErrorFromErrno(ErrNoVar)34 cret := xIoErrorFromErrno(ErrNoVar)
35+
35 return cret36 return cret
36 }37 }
37 38
@@ -41,6 +42,7 @@ var xIoErrorFromFileError func(glib.FileError) IOErrorEnum
41 func IoErrorFromFileError(FileErrorVar glib.FileError) IOErrorEnum {42 func IoErrorFromFileError(FileErrorVar glib.FileError) IOErrorEnum {
42 43
43 cret := xIoErrorFromFileError(FileErrorVar)44 cret := xIoErrorFromFileError(FileErrorVar)
45+
44 return cret46 return cret
45 }47 }
46 48
@@ -50,6 +52,7 @@ var xIoErrorQuark func() glib.Quark
50 func IoErrorQuark() glib.Quark {52 func IoErrorQuark() glib.Quark {
51 53
52 cret := xIoErrorQuark()54 cret := xIoErrorQuark()
55+
53 return cret56 return cret
54 }57 }
55 58
M v4/gio/giomodule.go +6 -0
@@ -63,6 +63,7 @@ var xIoExtensionPointImplement func(string, types.GType, string, int) *IOExtensi
63 func IoExtensionPointImplement(ExtensionPointNameVar string, TypeVar types.GType, ExtensionNameVar string, PriorityVar int) *IOExtension {63 func IoExtensionPointImplement(ExtensionPointNameVar string, TypeVar types.GType, ExtensionNameVar string, PriorityVar int) *IOExtension {
64 64
65 cret := xIoExtensionPointImplement(ExtensionPointNameVar, TypeVar, ExtensionNameVar, PriorityVar)65 cret := xIoExtensionPointImplement(ExtensionPointNameVar, TypeVar, ExtensionNameVar, PriorityVar)
66+
66 return cret67 return cret
67 }68 }
68 69
@@ -72,6 +73,7 @@ var xIoExtensionPointLookup func(string) *IOExtensionPoint
72 func IoExtensionPointLookup(NameVar string) *IOExtensionPoint {73 func IoExtensionPointLookup(NameVar string) *IOExtensionPoint {
73 74
74 cret := xIoExtensionPointLookup(NameVar)75 cret := xIoExtensionPointLookup(NameVar)
76+
75 return cret77 return cret
76 }78 }
77 79
@@ -81,6 +83,7 @@ var xIoExtensionPointRegister func(string) *IOExtensionPoint
81 func IoExtensionPointRegister(NameVar string) *IOExtensionPoint {83 func IoExtensionPointRegister(NameVar string) *IOExtensionPoint {
82 84
83 cret := xIoExtensionPointRegister(NameVar)85 cret := xIoExtensionPointRegister(NameVar)
86+
84 return cret87 return cret
85 }88 }
86 89
@@ -94,6 +97,7 @@ var xIoModulesLoadAllInDirectory func(string) *glib.List
94 func IoModulesLoadAllInDirectory(DirnameVar string) *glib.List {97 func IoModulesLoadAllInDirectory(DirnameVar string) *glib.List {
95 98
96 cret := xIoModulesLoadAllInDirectory(DirnameVar)99 cret := xIoModulesLoadAllInDirectory(DirnameVar)
100+
97 return cret101 return cret
98 }102 }
99 103
@@ -107,6 +111,7 @@ var xIoModulesLoadAllInDirectoryWithScope func(string, *IOModuleScope) *glib.Lis
107 func IoModulesLoadAllInDirectoryWithScope(DirnameVar string, ScopeVar *IOModuleScope) *glib.List {111 func IoModulesLoadAllInDirectoryWithScope(DirnameVar string, ScopeVar *IOModuleScope) *glib.List {
108 112
109 cret := xIoModulesLoadAllInDirectoryWithScope(DirnameVar, ScopeVar)113 cret := xIoModulesLoadAllInDirectoryWithScope(DirnameVar, ScopeVar)
114+
110 return cret115 return cret
111 }116 }
112 117
@@ -308,6 +313,7 @@ var xIOModuleQuery func() []string
308 func IOModuleQuery() []string {313 func IOModuleQuery() []string {
309 314
310 cret := xIOModuleQuery()315 cret := xIOModuleQuery()
316+
311 return cret317 return cret
312 }318 }
313 319
M v4/gio/giostream.go +6 -0
@@ -537,6 +537,7 @@ func (x *IOStream) Close(CancellableVar *Cancellable) (bool, error) {
537 var cerr *glib.Error537 var cerr *glib.Error
538 538
539 cret := xIOStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)539 cret := xIOStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
540+
540 if cerr == nil {541 if cerr == nil {
541 return cret, nil542 return cret, nil
542 }543 }
@@ -584,6 +585,7 @@ func (x *IOStream) CloseFinish(ResultVar AsyncResult) (bool, error) {
584 var cerr *glib.Error585 var cerr *glib.Error
585 586
586 cret := xIOStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)587 cret := xIOStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
588+
587 if cerr == nil {589 if cerr == nil {
588 return cret, nil590 return cret, nil
589 }591 }
@@ -633,6 +635,7 @@ var xIOStreamHasPending func(uintptr) bool
633 func (x *IOStream) HasPending() bool {635 func (x *IOStream) HasPending() bool {
634 636
635 cret := xIOStreamHasPending(x.GoPointer())637 cret := xIOStreamHasPending(x.GoPointer())
638+
636 return cret639 return cret
637 }640 }
638 641
@@ -642,6 +645,7 @@ var xIOStreamIsClosed func(uintptr) bool
642 func (x *IOStream) IsClosed() bool {645 func (x *IOStream) IsClosed() bool {
643 646
644 cret := xIOStreamIsClosed(x.GoPointer())647 cret := xIOStreamIsClosed(x.GoPointer())
648+
645 return cret649 return cret
646 }650 }
647 651
@@ -654,6 +658,7 @@ func (x *IOStream) SetPending() (bool, error) {
654 var cerr *glib.Error658 var cerr *glib.Error
655 659
656 cret := xIOStreamSetPending(x.GoPointer())660 cret := xIOStreamSetPending(x.GoPointer())
661+
657 if cerr == nil {662 if cerr == nil {
658 return cret, nil663 return cret, nil
659 }664 }
@@ -717,6 +722,7 @@ func IOStreamSpliceFinish(ResultVar AsyncResult) (bool, error) {
717 var cerr *glib.Error722 var cerr *glib.Error
718 723
719 cret := xIOStreamSpliceFinish(ResultVar.GoPointer(), &cerr)724 cret := xIOStreamSpliceFinish(ResultVar.GoPointer(), &cerr)
725+
720 if cerr == nil {726 if cerr == nil {
721 return cret, nil727 return cret, nil
722 }728 }
M v4/gio/giotypes.go +28 -0
@@ -141,6 +141,7 @@ var xNewFileAttributeMatcher func(string) *FileAttributeMatcher
141 func NewFileAttributeMatcher(AttributesVar string) *FileAttributeMatcher {141 func NewFileAttributeMatcher(AttributesVar string) *FileAttributeMatcher {
142 142
143 cret := xNewFileAttributeMatcher(AttributesVar)143 cret := xNewFileAttributeMatcher(AttributesVar)
144+
144 return cret145 return cret
145 }146 }
146 147
@@ -155,6 +156,7 @@ var xFileAttributeMatcherEnumerateNamespace func(uintptr, string) bool
155 func (x *FileAttributeMatcher) EnumerateNamespace(NsVar string) bool {156 func (x *FileAttributeMatcher) EnumerateNamespace(NsVar string) bool {
156 157
157 cret := xFileAttributeMatcherEnumerateNamespace(x.GoPointer(), NsVar)158 cret := xFileAttributeMatcherEnumerateNamespace(x.GoPointer(), NsVar)
159+
158 return cret160 return cret
159 }161 }
160 162
@@ -164,6 +166,7 @@ var xFileAttributeMatcherEnumerateNext func(uintptr) string
164 func (x *FileAttributeMatcher) EnumerateNext() string {166 func (x *FileAttributeMatcher) EnumerateNext() string {
165 167
166 cret := xFileAttributeMatcherEnumerateNext(x.GoPointer())168 cret := xFileAttributeMatcherEnumerateNext(x.GoPointer())
169+
167 return cret170 return cret
168 }171 }
169 172
@@ -175,6 +178,7 @@ var xFileAttributeMatcherMatches func(uintptr, string) bool
175 func (x *FileAttributeMatcher) Matches(AttributeVar string) bool {178 func (x *FileAttributeMatcher) Matches(AttributeVar string) bool {
176 179
177 cret := xFileAttributeMatcherMatches(x.GoPointer(), AttributeVar)180 cret := xFileAttributeMatcherMatches(x.GoPointer(), AttributeVar)
181+
178 return cret182 return cret
179 }183 }
180 184
@@ -185,6 +189,7 @@ var xFileAttributeMatcherMatchesOnly func(uintptr, string) bool
185 func (x *FileAttributeMatcher) MatchesOnly(AttributeVar string) bool {189 func (x *FileAttributeMatcher) MatchesOnly(AttributeVar string) bool {
186 190
187 cret := xFileAttributeMatcherMatchesOnly(x.GoPointer(), AttributeVar)191 cret := xFileAttributeMatcherMatchesOnly(x.GoPointer(), AttributeVar)
192+
188 return cret193 return cret
189 }194 }
190 195
@@ -194,6 +199,7 @@ var xFileAttributeMatcherRef func(uintptr) *FileAttributeMatcher
194 func (x *FileAttributeMatcher) Ref() *FileAttributeMatcher {199 func (x *FileAttributeMatcher) Ref() *FileAttributeMatcher {
195 200
196 cret := xFileAttributeMatcherRef(x.GoPointer())201 cret := xFileAttributeMatcherRef(x.GoPointer())
202+
197 return cret203 return cret
198 }204 }
199 205
@@ -210,6 +216,7 @@ var xFileAttributeMatcherSubtract func(uintptr, *FileAttributeMatcher) *FileAttr
210 func (x *FileAttributeMatcher) Subtract(SubtractVar *FileAttributeMatcher) *FileAttributeMatcher {216 func (x *FileAttributeMatcher) Subtract(SubtractVar *FileAttributeMatcher) *FileAttributeMatcher {
211 217
212 cret := xFileAttributeMatcherSubtract(x.GoPointer(), SubtractVar)218 cret := xFileAttributeMatcherSubtract(x.GoPointer(), SubtractVar)
219+
213 return cret220 return cret
214 }221 }
215 222
@@ -222,6 +229,7 @@ var xFileAttributeMatcherToString func(uintptr) string
222 func (x *FileAttributeMatcher) ToString() string {229 func (x *FileAttributeMatcher) ToString() string {
223 230
224 cret := xFileAttributeMatcherToString(x.GoPointer())231 cret := xFileAttributeMatcherToString(x.GoPointer())
232+
225 return cret233 return cret
226 }234 }
227 235
@@ -254,6 +262,7 @@ var xIOExtensionGetName func(uintptr) string
254 func (x *IOExtension) GetName() string {262 func (x *IOExtension) GetName() string {
255 263
256 cret := xIOExtensionGetName(x.GoPointer())264 cret := xIOExtensionGetName(x.GoPointer())
265+
257 return cret266 return cret
258 }267 }
259 268
@@ -263,6 +272,7 @@ var xIOExtensionGetPriority func(uintptr) int
263 func (x *IOExtension) GetPriority() int {272 func (x *IOExtension) GetPriority() int {
264 273
265 cret := xIOExtensionGetPriority(x.GoPointer())274 cret := xIOExtensionGetPriority(x.GoPointer())
275+
266 return cret276 return cret
267 }277 }
268 278
@@ -272,6 +282,7 @@ var xIOExtensionGetType func(uintptr) types.GType
272 func (x *IOExtension) GetType() types.GType {282 func (x *IOExtension) GetType() types.GType {
273 283
274 cret := xIOExtensionGetType(x.GoPointer())284 cret := xIOExtensionGetType(x.GoPointer())
285+
275 return cret286 return cret
276 }287 }
277 288
@@ -282,6 +293,7 @@ var xIOExtensionRefClass func(uintptr) *gobject.TypeClass
282 func (x *IOExtension) RefClass() *gobject.TypeClass {293 func (x *IOExtension) RefClass() *gobject.TypeClass {
283 294
284 cret := xIOExtensionRefClass(x.GoPointer())295 cret := xIOExtensionRefClass(x.GoPointer())
296+
285 return cret297 return cret
286 }298 }
287 299
@@ -352,6 +364,7 @@ var xIOExtensionPointGetExtensionByName func(uintptr, string) *IOExtension
352 func (x *IOExtensionPoint) GetExtensionByName(NameVar string) *IOExtension {364 func (x *IOExtensionPoint) GetExtensionByName(NameVar string) *IOExtension {
353 365
354 cret := xIOExtensionPointGetExtensionByName(x.GoPointer(), NameVar)366 cret := xIOExtensionPointGetExtensionByName(x.GoPointer(), NameVar)
367+
355 return cret368 return cret
356 }369 }
357 370
@@ -362,6 +375,7 @@ var xIOExtensionPointGetExtensions func(uintptr) *glib.List
362 func (x *IOExtensionPoint) GetExtensions() *glib.List {375 func (x *IOExtensionPoint) GetExtensions() *glib.List {
363 376
364 cret := xIOExtensionPointGetExtensions(x.GoPointer())377 cret := xIOExtensionPointGetExtensions(x.GoPointer())
378+
365 return cret379 return cret
366 }380 }
367 381
@@ -371,6 +385,7 @@ var xIOExtensionPointGetRequiredType func(uintptr) types.GType
371 func (x *IOExtensionPoint) GetRequiredType() types.GType {385 func (x *IOExtensionPoint) GetRequiredType() types.GType {
372 386
373 cret := xIOExtensionPointGetRequiredType(x.GoPointer())387 cret := xIOExtensionPointGetRequiredType(x.GoPointer())
388+
374 return cret389 return cret
375 }390 }
376 391
@@ -431,6 +446,7 @@ func (x *IOSchedulerJob) SendToMainloop(FuncVar *glib.SourceFunc, UserDataVar ui
431 }446 }
432 447
433 cret := xIOSchedulerJobSendToMainloop(x.GoPointer(), FuncVarRef, UserDataVar, NotifyVarRef)448 cret := xIOSchedulerJobSendToMainloop(x.GoPointer(), FuncVarRef, UserDataVar, NotifyVarRef)
449+
434 return cret450 return cret
435 }451 }
436 452
@@ -785,6 +801,7 @@ func NewResourceFromData(DataVar *glib.Bytes) (*Resource, error) {
785 var cerr *glib.Error801 var cerr *glib.Error
786 802
787 cret := xNewResourceFromData(DataVar, &cerr)803 cret := xNewResourceFromData(DataVar, &cerr)
804+
788 if cerr == nil {805 if cerr == nil {
789 return cret, nil806 return cret, nil
790 }807 }
@@ -829,6 +846,7 @@ func (x *Resource) EnumerateChildren(PathVar string, LookupFlagsVar ResourceLook
829 var cerr *glib.Error846 var cerr *glib.Error
830 847
831 cret := xResourceEnumerateChildren(x.GoPointer(), PathVar, LookupFlagsVar, &cerr)848 cret := xResourceEnumerateChildren(x.GoPointer(), PathVar, LookupFlagsVar, &cerr)
849+
832 if cerr == nil {850 if cerr == nil {
833 return cret, nil851 return cret, nil
834 }852 }
@@ -849,6 +867,7 @@ func (x *Resource) GetInfo(PathVar string, LookupFlagsVar ResourceLookupFlags, S
849 var cerr *glib.Error867 var cerr *glib.Error
850 868
851 cret := xResourceGetInfo(x.GoPointer(), PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr)869 cret := xResourceGetInfo(x.GoPointer(), PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr)
870+
852 if cerr == nil {871 if cerr == nil {
853 return cret, nil872 return cret, nil
854 }873 }
@@ -863,6 +882,7 @@ var xResourceHasChildren func(uintptr, string) bool
863 func (x *Resource) HasChildren(PathVar string) bool {882 func (x *Resource) HasChildren(PathVar string) bool {
864 883
865 cret := xResourceHasChildren(x.GoPointer(), PathVar)884 cret := xResourceHasChildren(x.GoPointer(), PathVar)
885+
866 return cret886 return cret
867 }887 }
868 888
@@ -890,6 +910,7 @@ func (x *Resource) LookupData(PathVar string, LookupFlagsVar ResourceLookupFlags
890 var cerr *glib.Error910 var cerr *glib.Error
891 911
892 cret := xResourceLookupData(x.GoPointer(), PathVar, LookupFlagsVar, &cerr)912 cret := xResourceLookupData(x.GoPointer(), PathVar, LookupFlagsVar, &cerr)
913+
893 if cerr == nil {914 if cerr == nil {
894 return cret, nil915 return cret, nil
895 }916 }
@@ -932,6 +953,7 @@ var xResourceRef func(uintptr) *Resource
932 func (x *Resource) Ref() *Resource {953 func (x *Resource) Ref() *Resource {
933 954
934 cret := xResourceRef(x.GoPointer())955 cret := xResourceRef(x.GoPointer())
956+
935 return cret957 return cret
936 }958 }
937 959
@@ -987,6 +1009,7 @@ var xNewSrvTarget func(string, uint16, uint16, uint16) *SrvTarget
987 func NewSrvTarget(HostnameVar string, PortVar uint16, PriorityVar uint16, WeightVar uint16) *SrvTarget {1009 func NewSrvTarget(HostnameVar string, PortVar uint16, PriorityVar uint16, WeightVar uint16) *SrvTarget {
988 1010
989 cret := xNewSrvTarget(HostnameVar, PortVar, PriorityVar, WeightVar)1011 cret := xNewSrvTarget(HostnameVar, PortVar, PriorityVar, WeightVar)
1012+
990 return cret1013 return cret
991 }1014 }
992 1015
@@ -996,6 +1019,7 @@ var xSrvTargetCopy func(uintptr) *SrvTarget
996 func (x *SrvTarget) Copy() *SrvTarget {1019 func (x *SrvTarget) Copy() *SrvTarget {
997 1020
998 cret := xSrvTargetCopy(x.GoPointer())1021 cret := xSrvTargetCopy(x.GoPointer())
1022+
999 return cret1023 return cret
1000 }1024 }
1001 1025
@@ -1017,6 +1041,7 @@ var xSrvTargetGetHostname func(uintptr) string
1017 func (x *SrvTarget) GetHostname() string {1041 func (x *SrvTarget) GetHostname() string {
1018 1042
1019 cret := xSrvTargetGetHostname(x.GoPointer())1043 cret := xSrvTargetGetHostname(x.GoPointer())
1044+
1020 return cret1045 return cret
1021 }1046 }
1022 1047
@@ -1026,6 +1051,7 @@ var xSrvTargetGetPort func(uintptr) uint16
1026 func (x *SrvTarget) GetPort() uint16 {1051 func (x *SrvTarget) GetPort() uint16 {
1027 1052
1028 cret := xSrvTargetGetPort(x.GoPointer())1053 cret := xSrvTargetGetPort(x.GoPointer())
1054+
1029 return cret1055 return cret
1030 }1056 }
1031 1057
@@ -1037,6 +1063,7 @@ var xSrvTargetGetPriority func(uintptr) uint16
1037 func (x *SrvTarget) GetPriority() uint16 {1063 func (x *SrvTarget) GetPriority() uint16 {
1038 1064
1039 cret := xSrvTargetGetPriority(x.GoPointer())1065 cret := xSrvTargetGetPriority(x.GoPointer())
1066+
1040 return cret1067 return cret
1041 }1068 }
1042 1069
@@ -1048,6 +1075,7 @@ var xSrvTargetGetWeight func(uintptr) uint16
1048 func (x *SrvTarget) GetWeight() uint16 {1075 func (x *SrvTarget) GetWeight() uint16 {
1049 1076
1050 cret := xSrvTargetGetWeight(x.GoPointer())1077 cret := xSrvTargetGetWeight(x.GoPointer())
1078+
1051 return cret1079 return cret
1052 }1080 }
1053 1081
M v4/gio/glistmodel.go +3 -0
@@ -224,6 +224,7 @@ func (x *ListModelBase) SetGoPointer(ptr uintptr) {
224 func (x *ListModelBase) GetItem(PositionVar uint) uintptr {224 func (x *ListModelBase) GetItem(PositionVar uint) uintptr {
225 225
226 cret := XGListModelGetItem(x.GoPointer(), PositionVar)226 cret := XGListModelGetItem(x.GoPointer(), PositionVar)
227+
227 return cret228 return cret
228 }229 }
229 230
@@ -238,6 +239,7 @@ func (x *ListModelBase) GetItem(PositionVar uint) uintptr {
238 func (x *ListModelBase) GetItemType() types.GType {239 func (x *ListModelBase) GetItemType() types.GType {
239 240
240 cret := XGListModelGetItemType(x.GoPointer())241 cret := XGListModelGetItemType(x.GoPointer())
242+
241 return cret243 return cret
242 }244 }
243 245
@@ -249,6 +251,7 @@ func (x *ListModelBase) GetItemType() types.GType {
249 func (x *ListModelBase) GetNItems() uint {251 func (x *ListModelBase) GetNItems() uint {
250 252
251 cret := XGListModelGetNItems(x.GoPointer())253 cret := XGListModelGetNItems(x.GoPointer())
254+
252 return cret255 return cret
253 }256 }
254 257
M v4/gio/gliststore.go +7 -0
@@ -85,6 +85,7 @@ var xListStoreFind func(uintptr, uintptr, *uint) bool
85 func (x *ListStore) Find(ItemVar *gobject.Object, PositionVar *uint) bool {85 func (x *ListStore) Find(ItemVar *gobject.Object, PositionVar *uint) bool {
86 86
87 cret := xListStoreFind(x.GoPointer(), ItemVar.GoPointer(), PositionVar)87 cret := xListStoreFind(x.GoPointer(), ItemVar.GoPointer(), PositionVar)
88+
88 return cret89 return cret
89 }90 }
90 91
@@ -116,6 +117,7 @@ func (x *ListStore) FindWithEqualFunc(ItemVar *gobject.Object, EqualFuncVar *gli
116 }117 }
117 118
118 cret := xListStoreFindWithEqualFunc(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, PositionVar)119 cret := xListStoreFindWithEqualFunc(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, PositionVar)
120+
119 return cret121 return cret
120 }122 }
121 123
@@ -145,6 +147,7 @@ func (x *ListStore) FindWithEqualFuncFull(ItemVar *gobject.Object, EqualFuncVar
145 }147 }
146 148
147 cret := xListStoreFindWithEqualFuncFull(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, UserDataVar, PositionVar)149 cret := xListStoreFindWithEqualFuncFull(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, UserDataVar, PositionVar)
150+
148 return cret151 return cret
149 }152 }
150 153
@@ -192,6 +195,7 @@ func (x *ListStore) InsertSorted(ItemVar *gobject.Object, CompareFuncVar *glib.C
192 }195 }
193 196
194 cret := xListStoreInsertSorted(x.GoPointer(), ItemVar.GoPointer(), CompareFuncVarRef, UserDataVar)197 cret := xListStoreInsertSorted(x.GoPointer(), ItemVar.GoPointer(), CompareFuncVarRef, UserDataVar)
198+
195 return cret199 return cret
196 }200 }
197 201
@@ -293,6 +297,7 @@ func (x *ListStore) GetPropertyNItems() uint {
293 func (x *ListStore) GetItem(PositionVar uint) uintptr {297 func (x *ListStore) GetItem(PositionVar uint) uintptr {
294 298
295 cret := XGListModelGetItem(x.GoPointer(), PositionVar)299 cret := XGListModelGetItem(x.GoPointer(), PositionVar)
300+
296 return cret301 return cret
297 }302 }
298 303
@@ -307,6 +312,7 @@ func (x *ListStore) GetItem(PositionVar uint) uintptr {
307 func (x *ListStore) GetItemType() types.GType {312 func (x *ListStore) GetItemType() types.GType {
308 313
309 cret := XGListModelGetItemType(x.GoPointer())314 cret := XGListModelGetItemType(x.GoPointer())
315+
310 return cret316 return cret
311 }317 }
312 318
@@ -318,6 +324,7 @@ func (x *ListStore) GetItemType() types.GType {
318 func (x *ListStore) GetNItems() uint {324 func (x *ListStore) GetNItems() uint {
319 325
320 cret := XGListModelGetNItems(x.GoPointer())326 cret := XGListModelGetNItems(x.GoPointer())
327+
321 return cret328 return cret
322 }329 }
323 330
M v4/gio/gmemoryinputstream.go +9 -0
@@ -292,6 +292,7 @@ func (c *MemoryInputStream) SetGoPointer(ptr uintptr) {
292 func (x *MemoryInputStream) CanPoll() bool {292 func (x *MemoryInputStream) CanPoll() bool {
293 293
294 cret := XGPollableInputStreamCanPoll(x.GoPointer())294 cret := XGPollableInputStreamCanPoll(x.GoPointer())
295+
295 return cret296 return cret
296 }297 }
297 298
@@ -309,6 +310,7 @@ func (x *MemoryInputStream) CanPoll() bool {
309 func (x *MemoryInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {310 func (x *MemoryInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {
310 311
311 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())312 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
313+
312 return cret314 return cret
313 }315 }
314 316
@@ -326,6 +328,7 @@ func (x *MemoryInputStream) CreateSource(CancellableVar *Cancellable) *glib.Sour
326 func (x *MemoryInputStream) IsReadable() bool {328 func (x *MemoryInputStream) IsReadable() bool {
327 329
328 cret := XGPollableInputStreamIsReadable(x.GoPointer())330 cret := XGPollableInputStreamIsReadable(x.GoPointer())
331+
329 return cret332 return cret
330 }333 }
331 334
@@ -347,6 +350,7 @@ func (x *MemoryInputStream) ReadNonblocking(BufferVar *[]byte, CountVar uint, Ca
347 var cerr *glib.Error350 var cerr *glib.Error
348 351
349 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)352 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
353+
350 if cerr == nil {354 if cerr == nil {
351 return cret, nil355 return cret, nil
352 }356 }
@@ -358,6 +362,7 @@ func (x *MemoryInputStream) ReadNonblocking(BufferVar *[]byte, CountVar uint, Ca
358 func (x *MemoryInputStream) CanSeek() bool {362 func (x *MemoryInputStream) CanSeek() bool {
359 363
360 cret := XGSeekableCanSeek(x.GoPointer())364 cret := XGSeekableCanSeek(x.GoPointer())
365+
361 return cret366 return cret
362 }367 }
363 368
@@ -366,6 +371,7 @@ func (x *MemoryInputStream) CanSeek() bool {
366 func (x *MemoryInputStream) CanTruncate() bool {371 func (x *MemoryInputStream) CanTruncate() bool {
367 372
368 cret := XGSeekableCanTruncate(x.GoPointer())373 cret := XGSeekableCanTruncate(x.GoPointer())
374+
369 return cret375 return cret
370 }376 }
371 377
@@ -387,6 +393,7 @@ func (x *MemoryInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancell
387 var cerr *glib.Error393 var cerr *glib.Error
388 394
389 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)395 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
396+
390 if cerr == nil {397 if cerr == nil {
391 return cret, nil398 return cret, nil
392 }399 }
@@ -398,6 +405,7 @@ func (x *MemoryInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancell
398 func (x *MemoryInputStream) Tell() int64 {405 func (x *MemoryInputStream) Tell() int64 {
399 406
400 cret := XGSeekableTell(x.GoPointer())407 cret := XGSeekableTell(x.GoPointer())
408+
401 return cret409 return cret
402 }410 }
403 411
@@ -414,6 +422,7 @@ func (x *MemoryInputStream) Truncate(OffsetVar int64, CancellableVar *Cancellabl
414 var cerr *glib.Error422 var cerr *glib.Error
415 423
416 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)424 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
425+
417 if cerr == nil {426 if cerr == nil {
418 return cret, nil427 return cret, nil
419 }428 }
M v4/gio/gmemoryoutputstream.go +15 -0
@@ -294,6 +294,7 @@ var xMemoryOutputStreamGetData func(uintptr) uintptr
294 func (x *MemoryOutputStream) GetData() uintptr {294 func (x *MemoryOutputStream) GetData() uintptr {
295 295
296 cret := xMemoryOutputStreamGetData(x.GoPointer())296 cret := xMemoryOutputStreamGetData(x.GoPointer())
297+
297 return cret298 return cret
298 }299 }
299 300
@@ -304,6 +305,7 @@ var xMemoryOutputStreamGetDataSize func(uintptr) uint
304 func (x *MemoryOutputStream) GetDataSize() uint {305 func (x *MemoryOutputStream) GetDataSize() uint {
305 306
306 cret := xMemoryOutputStreamGetDataSize(x.GoPointer())307 cret := xMemoryOutputStreamGetDataSize(x.GoPointer())
308+
307 return cret309 return cret
308 }310 }
309 311
@@ -327,6 +329,7 @@ var xMemoryOutputStreamGetSize func(uintptr) uint
327 func (x *MemoryOutputStream) GetSize() uint {329 func (x *MemoryOutputStream) GetSize() uint {
328 330
329 cret := xMemoryOutputStreamGetSize(x.GoPointer())331 cret := xMemoryOutputStreamGetSize(x.GoPointer())
332+
330 return cret333 return cret
331 }334 }
332 335
@@ -337,6 +340,7 @@ var xMemoryOutputStreamStealAsBytes func(uintptr) *glib.Bytes
337 func (x *MemoryOutputStream) StealAsBytes() *glib.Bytes {340 func (x *MemoryOutputStream) StealAsBytes() *glib.Bytes {
338 341
339 cret := xMemoryOutputStreamStealAsBytes(x.GoPointer())342 cret := xMemoryOutputStreamStealAsBytes(x.GoPointer())
343+
340 return cret344 return cret
341 }345 }
342 346
@@ -351,6 +355,7 @@ var xMemoryOutputStreamStealData func(uintptr) uintptr
351 func (x *MemoryOutputStream) StealData() uintptr {355 func (x *MemoryOutputStream) StealData() uintptr {
352 356
353 cret := xMemoryOutputStreamStealData(x.GoPointer())357 cret := xMemoryOutputStreamStealData(x.GoPointer())
358+
354 return cret359 return cret
355 }360 }
356 361
@@ -451,6 +456,7 @@ func (x *MemoryOutputStream) GetPropertySize() uint32 {
451 func (x *MemoryOutputStream) CanPoll() bool {456 func (x *MemoryOutputStream) CanPoll() bool {
452 457
453 cret := XGPollableOutputStreamCanPoll(x.GoPointer())458 cret := XGPollableOutputStreamCanPoll(x.GoPointer())
459+
454 return cret460 return cret
455 }461 }
456 462
@@ -468,6 +474,7 @@ func (x *MemoryOutputStream) CanPoll() bool {
468 func (x *MemoryOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {474 func (x *MemoryOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {
469 475
470 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())476 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
477+
471 return cret478 return cret
472 }479 }
473 480
@@ -485,6 +492,7 @@ func (x *MemoryOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Sou
485 func (x *MemoryOutputStream) IsWritable() bool {492 func (x *MemoryOutputStream) IsWritable() bool {
486 493
487 cret := XGPollableOutputStreamIsWritable(x.GoPointer())494 cret := XGPollableOutputStreamIsWritable(x.GoPointer())
495+
488 return cret496 return cret
489 }497 }
490 498
@@ -510,6 +518,7 @@ func (x *MemoryOutputStream) WriteNonblocking(BufferVar []byte, CountVar uint, C
510 var cerr *glib.Error518 var cerr *glib.Error
511 519
512 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)520 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
521+
513 if cerr == nil {522 if cerr == nil {
514 return cret, nil523 return cret, nil
515 }524 }
@@ -540,6 +549,7 @@ func (x *MemoryOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVecto
540 var cerr *glib.Error549 var cerr *glib.Error
541 550
542 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)551 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
552+
543 if cerr == nil {553 if cerr == nil {
544 return cret, nil554 return cret, nil
545 }555 }
@@ -551,6 +561,7 @@ func (x *MemoryOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVecto
551 func (x *MemoryOutputStream) CanSeek() bool {561 func (x *MemoryOutputStream) CanSeek() bool {
552 562
553 cret := XGSeekableCanSeek(x.GoPointer())563 cret := XGSeekableCanSeek(x.GoPointer())
564+
554 return cret565 return cret
555 }566 }
556 567
@@ -559,6 +570,7 @@ func (x *MemoryOutputStream) CanSeek() bool {
559 func (x *MemoryOutputStream) CanTruncate() bool {570 func (x *MemoryOutputStream) CanTruncate() bool {
560 571
561 cret := XGSeekableCanTruncate(x.GoPointer())572 cret := XGSeekableCanTruncate(x.GoPointer())
573+
562 return cret574 return cret
563 }575 }
564 576
@@ -580,6 +592,7 @@ func (x *MemoryOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancel
580 var cerr *glib.Error592 var cerr *glib.Error
581 593
582 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)594 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
595+
583 if cerr == nil {596 if cerr == nil {
584 return cret, nil597 return cret, nil
585 }598 }
@@ -591,6 +604,7 @@ func (x *MemoryOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancel
591 func (x *MemoryOutputStream) Tell() int64 {604 func (x *MemoryOutputStream) Tell() int64 {
592 605
593 cret := XGSeekableTell(x.GoPointer())606 cret := XGSeekableTell(x.GoPointer())
607+
594 return cret608 return cret
595 }609 }
596 610
@@ -607,6 +621,7 @@ func (x *MemoryOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellab
607 var cerr *glib.Error621 var cerr *glib.Error
608 622
609 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)623 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
624+
610 if cerr == nil {625 if cerr == nil {
611 return cret, nil626 return cret, nil
612 }627 }
M v4/gio/gmenu.go +104 -16
@@ -2,6 +2,8 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -58,7 +60,15 @@ var xMenuAppend func(uintptr, uintptr, uintptr)
58 // flexible alternative.60 // flexible alternative.
59 func (x *Menu) Append(LabelVar *string, DetailedActionVar *string) {61 func (x *Menu) Append(LabelVar *string, DetailedActionVar *string) {
60 62
61- xMenuAppend(x.GoPointer(), core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar))63+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
64+
65+ DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar)
66+
67+ xMenuAppend(x.GoPointer(), LabelVarPtr, DetailedActionVarPtr)
68+
69+ runtime.KeepAlive(LabelVarBytes)
70+
71+ runtime.KeepAlive(DetailedActionVarBytes)
62 72
63 }73 }
64 74
@@ -80,7 +90,11 @@ var xMenuAppendSection func(uintptr, uintptr, uintptr)
80 // more flexible alternative.90 // more flexible alternative.
81 func (x *Menu) AppendSection(LabelVar *string, SectionVar *MenuModel) {91 func (x *Menu) AppendSection(LabelVar *string, SectionVar *MenuModel) {
82 92
83- xMenuAppendSection(x.GoPointer(), core.NullableStringToPtr(LabelVar), SectionVar.GoPointer())93+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
94+
95+ xMenuAppendSection(x.GoPointer(), LabelVarPtr, SectionVar.GoPointer())
96+
97+ runtime.KeepAlive(LabelVarBytes)
84 98
85 }99 }
86 100
@@ -91,7 +105,11 @@ var xMenuAppendSubmenu func(uintptr, uintptr, uintptr)
91 // more flexible alternative.105 // more flexible alternative.
92 func (x *Menu) AppendSubmenu(LabelVar *string, SubmenuVar *MenuModel) {106 func (x *Menu) AppendSubmenu(LabelVar *string, SubmenuVar *MenuModel) {
93 107
94- xMenuAppendSubmenu(x.GoPointer(), core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer())108+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
109+
110+ xMenuAppendSubmenu(x.GoPointer(), LabelVarPtr, SubmenuVar.GoPointer())
111+
112+ runtime.KeepAlive(LabelVarBytes)
95 113
96 }114 }
97 115
@@ -118,7 +136,15 @@ var xMenuInsert func(uintptr, int, uintptr, uintptr)
118 // alternative.136 // alternative.
119 func (x *Menu) Insert(PositionVar int, LabelVar *string, DetailedActionVar *string) {137 func (x *Menu) Insert(PositionVar int, LabelVar *string, DetailedActionVar *string) {
120 138
121- xMenuInsert(x.GoPointer(), PositionVar, core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar))139+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
140+
141+ DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar)
142+
143+ xMenuInsert(x.GoPointer(), PositionVar, LabelVarPtr, DetailedActionVarPtr)
144+
145+ runtime.KeepAlive(LabelVarBytes)
146+
147+ runtime.KeepAlive(DetailedActionVarBytes)
122 148
123 }149 }
124 150
@@ -154,7 +180,11 @@ var xMenuInsertSection func(uintptr, int, uintptr, uintptr)
154 // flexible alternative.180 // flexible alternative.
155 func (x *Menu) InsertSection(PositionVar int, LabelVar *string, SectionVar *MenuModel) {181 func (x *Menu) InsertSection(PositionVar int, LabelVar *string, SectionVar *MenuModel) {
156 182
157- xMenuInsertSection(x.GoPointer(), PositionVar, core.NullableStringToPtr(LabelVar), SectionVar.GoPointer())183+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
184+
185+ xMenuInsertSection(x.GoPointer(), PositionVar, LabelVarPtr, SectionVar.GoPointer())
186+
187+ runtime.KeepAlive(LabelVarBytes)
158 188
159 }189 }
160 190
@@ -165,7 +195,11 @@ var xMenuInsertSubmenu func(uintptr, int, uintptr, uintptr)
165 // flexible alternative.195 // flexible alternative.
166 func (x *Menu) InsertSubmenu(PositionVar int, LabelVar *string, SubmenuVar *MenuModel) {196 func (x *Menu) InsertSubmenu(PositionVar int, LabelVar *string, SubmenuVar *MenuModel) {
167 197
168- xMenuInsertSubmenu(x.GoPointer(), PositionVar, core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer())198+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
199+
200+ xMenuInsertSubmenu(x.GoPointer(), PositionVar, LabelVarPtr, SubmenuVar.GoPointer())
201+
202+ runtime.KeepAlive(LabelVarBytes)
169 203
170 }204 }
171 205
@@ -176,7 +210,15 @@ var xMenuPrepend func(uintptr, uintptr, uintptr)
176 // flexible alternative.210 // flexible alternative.
177 func (x *Menu) Prepend(LabelVar *string, DetailedActionVar *string) {211 func (x *Menu) Prepend(LabelVar *string, DetailedActionVar *string) {
178 212
179- xMenuPrepend(x.GoPointer(), core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar))213+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
214+
215+ DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar)
216+
217+ xMenuPrepend(x.GoPointer(), LabelVarPtr, DetailedActionVarPtr)
218+
219+ runtime.KeepAlive(LabelVarBytes)
220+
221+ runtime.KeepAlive(DetailedActionVarBytes)
180 222
181 }223 }
182 224
@@ -198,7 +240,11 @@ var xMenuPrependSection func(uintptr, uintptr, uintptr)
198 // a more flexible alternative.240 // a more flexible alternative.
199 func (x *Menu) PrependSection(LabelVar *string, SectionVar *MenuModel) {241 func (x *Menu) PrependSection(LabelVar *string, SectionVar *MenuModel) {
200 242
201- xMenuPrependSection(x.GoPointer(), core.NullableStringToPtr(LabelVar), SectionVar.GoPointer())243+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
244+
245+ xMenuPrependSection(x.GoPointer(), LabelVarPtr, SectionVar.GoPointer())
246+
247+ runtime.KeepAlive(LabelVarBytes)
202 248
203 }249 }
204 250
@@ -209,7 +255,11 @@ var xMenuPrependSubmenu func(uintptr, uintptr, uintptr)
209 // a more flexible alternative.255 // a more flexible alternative.
210 func (x *Menu) PrependSubmenu(LabelVar *string, SubmenuVar *MenuModel) {256 func (x *Menu) PrependSubmenu(LabelVar *string, SubmenuVar *MenuModel) {
211 257
212- xMenuPrependSubmenu(x.GoPointer(), core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer())258+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
259+
260+ xMenuPrependSubmenu(x.GoPointer(), LabelVarPtr, SubmenuVar.GoPointer())
261+
262+ runtime.KeepAlive(LabelVarBytes)
213 263
214 }264 }
215 265
@@ -282,7 +332,15 @@ var xNewMenuItem func(uintptr, uintptr) uintptr
282 func NewMenuItem(LabelVar *string, DetailedActionVar *string) *MenuItem {332 func NewMenuItem(LabelVar *string, DetailedActionVar *string) *MenuItem {
283 var cls *MenuItem333 var cls *MenuItem
284 334
285- cret := xNewMenuItem(core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar))335+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
336+
337+ DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar)
338+
339+ cret := xNewMenuItem(LabelVarPtr, DetailedActionVarPtr)
340+
341+ runtime.KeepAlive(LabelVarBytes)
342+
343+ runtime.KeepAlive(DetailedActionVarBytes)
286 344
287 if cret == 0 {345 if cret == 0 {
288 return nil346 return nil
@@ -381,7 +439,11 @@ var xNewMenuItemSection func(uintptr, uintptr) uintptr
381 func NewMenuItemSection(LabelVar *string, SectionVar *MenuModel) *MenuItem {439 func NewMenuItemSection(LabelVar *string, SectionVar *MenuModel) *MenuItem {
382 var cls *MenuItem440 var cls *MenuItem
383 441
384- cret := xNewMenuItemSection(core.NullableStringToPtr(LabelVar), SectionVar.GoPointer())442+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
443+
444+ cret := xNewMenuItemSection(LabelVarPtr, SectionVar.GoPointer())
445+
446+ runtime.KeepAlive(LabelVarBytes)
385 447
386 if cret == 0 {448 if cret == 0 {
387 return nil449 return nil
@@ -400,7 +462,11 @@ var xNewMenuItemSubmenu func(uintptr, uintptr) uintptr
400 func NewMenuItemSubmenu(LabelVar *string, SubmenuVar *MenuModel) *MenuItem {462 func NewMenuItemSubmenu(LabelVar *string, SubmenuVar *MenuModel) *MenuItem {
401 var cls *MenuItem463 var cls *MenuItem
402 464
403- cret := xNewMenuItemSubmenu(core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer())465+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
466+
467+ cret := xNewMenuItemSubmenu(LabelVarPtr, SubmenuVar.GoPointer())
468+
469+ runtime.KeepAlive(LabelVarBytes)
404 470
405 if cret == 0 {471 if cret == 0 {
406 return nil472 return nil
@@ -424,6 +490,7 @@ var xMenuItemGetAttribute func(uintptr, string, string, ...interface{}) bool
424 func (x *MenuItem) GetAttribute(AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool {490 func (x *MenuItem) GetAttribute(AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool {
425 491
426 cret := xMenuItemGetAttribute(x.GoPointer(), AttributeVar, FormatStringVar, varArgs...)492 cret := xMenuItemGetAttribute(x.GoPointer(), AttributeVar, FormatStringVar, varArgs...)
493+
427 return cret494 return cret
428 }495 }
429 496
@@ -437,6 +504,7 @@ var xMenuItemGetAttributeValue func(uintptr, string, *glib.VariantType) *glib.Va
437 func (x *MenuItem) GetAttributeValue(AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant {504 func (x *MenuItem) GetAttributeValue(AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant {
438 505
439 cret := xMenuItemGetAttributeValue(x.GoPointer(), AttributeVar, ExpectedTypeVar)506 cret := xMenuItemGetAttributeValue(x.GoPointer(), AttributeVar, ExpectedTypeVar)
507+
440 return cret508 return cret
441 }509 }
442 510
@@ -479,7 +547,15 @@ var xMenuItemSetActionAndTarget func(uintptr, uintptr, uintptr, ...interface{})
479 // description of the semantics of the action and target attributes.547 // description of the semantics of the action and target attributes.
480 func (x *MenuItem) SetActionAndTarget(ActionVar *string, FormatStringVar *string, varArgs ...interface{}) {548 func (x *MenuItem) SetActionAndTarget(ActionVar *string, FormatStringVar *string, varArgs ...interface{}) {
481 549
482- xMenuItemSetActionAndTarget(x.GoPointer(), core.NullableStringToPtr(ActionVar), core.NullableStringToPtr(FormatStringVar), varArgs...)550+ ActionVarPtr, ActionVarBytes := core.NullableStringToPtr(ActionVar)
551+
552+ FormatStringVarPtr, FormatStringVarBytes := core.NullableStringToPtr(FormatStringVar)
553+
554+ xMenuItemSetActionAndTarget(x.GoPointer(), ActionVarPtr, FormatStringVarPtr, varArgs...)
555+
556+ runtime.KeepAlive(ActionVarBytes)
557+
558+ runtime.KeepAlive(FormatStringVarBytes)
483 559
484 }560 }
485 561
@@ -523,7 +599,11 @@ var xMenuItemSetActionAndTargetValue func(uintptr, uintptr, *glib.Variant)
523 // probably more convenient for most uses.599 // probably more convenient for most uses.
524 func (x *MenuItem) SetActionAndTargetValue(ActionVar *string, TargetValueVar *glib.Variant) {600 func (x *MenuItem) SetActionAndTargetValue(ActionVar *string, TargetValueVar *glib.Variant) {
525 601
526- xMenuItemSetActionAndTargetValue(x.GoPointer(), core.NullableStringToPtr(ActionVar), TargetValueVar)602+ ActionVarPtr, ActionVarBytes := core.NullableStringToPtr(ActionVar)
603+
604+ xMenuItemSetActionAndTargetValue(x.GoPointer(), ActionVarPtr, TargetValueVar)
605+
606+ runtime.KeepAlive(ActionVarBytes)
527 607
528 }608 }
529 609
@@ -548,7 +628,11 @@ var xMenuItemSetAttribute func(uintptr, string, uintptr, ...interface{})
548 // that directly accepts a #GVariant.628 // that directly accepts a #GVariant.
549 func (x *MenuItem) SetAttribute(AttributeVar string, FormatStringVar *string, varArgs ...interface{}) {629 func (x *MenuItem) SetAttribute(AttributeVar string, FormatStringVar *string, varArgs ...interface{}) {
550 630
551- xMenuItemSetAttribute(x.GoPointer(), AttributeVar, core.NullableStringToPtr(FormatStringVar), varArgs...)631+ FormatStringVarPtr, FormatStringVarBytes := core.NullableStringToPtr(FormatStringVar)
632+
633+ xMenuItemSetAttribute(x.GoPointer(), AttributeVar, FormatStringVarPtr, varArgs...)
634+
635+ runtime.KeepAlive(FormatStringVarBytes)
552 636
553 }637 }
554 638
@@ -626,7 +710,11 @@ var xMenuItemSetLabel func(uintptr, uintptr)
626 // it is %NULL then the label attribute is unset.710 // it is %NULL then the label attribute is unset.
627 func (x *MenuItem) SetLabel(LabelVar *string) {711 func (x *MenuItem) SetLabel(LabelVar *string) {
628 712
629- xMenuItemSetLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))713+ LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)
714+
715+ xMenuItemSetLabel(x.GoPointer(), LabelVarPtr)
716+
717+ runtime.KeepAlive(LabelVarBytes)
630 718
631 }719 }
632 720
M v4/gio/gmenumodel.go +11 -0
@@ -411,6 +411,7 @@ var xMenuAttributeIterGetName func(uintptr) string
411 func (x *MenuAttributeIter) GetName() string {411 func (x *MenuAttributeIter) GetName() string {
412 412
413 cret := xMenuAttributeIterGetName(x.GoPointer())413 cret := xMenuAttributeIterGetName(x.GoPointer())
414+
414 return cret415 return cret
415 }416 }
416 417
@@ -434,6 +435,7 @@ var xMenuAttributeIterGetNext func(uintptr, *string, **glib.Variant) bool
434 func (x *MenuAttributeIter) GetNext(OutNameVar *string, ValueVar **glib.Variant) bool {435 func (x *MenuAttributeIter) GetNext(OutNameVar *string, ValueVar **glib.Variant) bool {
435 436
436 cret := xMenuAttributeIterGetNext(x.GoPointer(), OutNameVar, ValueVar)437 cret := xMenuAttributeIterGetNext(x.GoPointer(), OutNameVar, ValueVar)
438+
437 return cret439 return cret
438 }440 }
439 441
@@ -445,6 +447,7 @@ var xMenuAttributeIterGetValue func(uintptr) *glib.Variant
445 func (x *MenuAttributeIter) GetValue() *glib.Variant {447 func (x *MenuAttributeIter) GetValue() *glib.Variant {
446 448
447 cret := xMenuAttributeIterGetValue(x.GoPointer())449 cret := xMenuAttributeIterGetValue(x.GoPointer())
450+
448 return cret451 return cret
449 }452 }
450 453
@@ -462,6 +465,7 @@ var xMenuAttributeIterNext func(uintptr) bool
462 func (x *MenuAttributeIter) Next() bool {465 func (x *MenuAttributeIter) Next() bool {
463 466
464 cret := xMenuAttributeIterNext(x.GoPointer())467 cret := xMenuAttributeIterNext(x.GoPointer())
468+
465 return cret469 return cret
466 }470 }
467 471
@@ -502,6 +506,7 @@ var xMenuLinkIterGetName func(uintptr) string
502 func (x *MenuLinkIter) GetName() string {506 func (x *MenuLinkIter) GetName() string {
503 507
504 cret := xMenuLinkIterGetName(x.GoPointer())508 cret := xMenuLinkIterGetName(x.GoPointer())
509+
505 return cret510 return cret
506 }511 }
507 512
@@ -524,6 +529,7 @@ var xMenuLinkIterGetNext func(uintptr, *string, **MenuModel) bool
524 func (x *MenuLinkIter) GetNext(OutLinkVar *string, ValueVar **MenuModel) bool {529 func (x *MenuLinkIter) GetNext(OutLinkVar *string, ValueVar **MenuModel) bool {
525 530
526 cret := xMenuLinkIterGetNext(x.GoPointer(), OutLinkVar, ValueVar)531 cret := xMenuLinkIterGetNext(x.GoPointer(), OutLinkVar, ValueVar)
532+
527 return cret533 return cret
528 }534 }
529 535
@@ -558,6 +564,7 @@ var xMenuLinkIterNext func(uintptr) bool
558 func (x *MenuLinkIter) Next() bool {564 func (x *MenuLinkIter) Next() bool {
559 565
560 cret := xMenuLinkIterNext(x.GoPointer())566 cret := xMenuLinkIterNext(x.GoPointer())
567+
561 return cret568 return cret
562 }569 }
563 570
@@ -730,6 +737,7 @@ var xMenuModelGetItemAttribute func(uintptr, int, string, string, ...interface{}
730 func (x *MenuModel) GetItemAttribute(ItemIndexVar int, AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool {737 func (x *MenuModel) GetItemAttribute(ItemIndexVar int, AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool {
731 738
732 cret := xMenuModelGetItemAttribute(x.GoPointer(), ItemIndexVar, AttributeVar, FormatStringVar, varArgs...)739 cret := xMenuModelGetItemAttribute(x.GoPointer(), ItemIndexVar, AttributeVar, FormatStringVar, varArgs...)
740+
733 return cret741 return cret
734 }742 }
735 743
@@ -749,6 +757,7 @@ var xMenuModelGetItemAttributeValue func(uintptr, int, string, *glib.VariantType
749 func (x *MenuModel) GetItemAttributeValue(ItemIndexVar int, AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant {757 func (x *MenuModel) GetItemAttributeValue(ItemIndexVar int, AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant {
750 758
751 cret := xMenuModelGetItemAttributeValue(x.GoPointer(), ItemIndexVar, AttributeVar, ExpectedTypeVar)759 cret := xMenuModelGetItemAttributeValue(x.GoPointer(), ItemIndexVar, AttributeVar, ExpectedTypeVar)
760+
752 return cret761 return cret
753 }762 }
754 763
@@ -778,6 +787,7 @@ var xMenuModelGetNItems func(uintptr) int
778 func (x *MenuModel) GetNItems() int {787 func (x *MenuModel) GetNItems() int {
779 788
780 cret := xMenuModelGetNItems(x.GoPointer())789 cret := xMenuModelGetNItems(x.GoPointer())
790+
781 return cret791 return cret
782 }792 }
783 793
@@ -790,6 +800,7 @@ var xMenuModelIsMutable func(uintptr) bool
790 func (x *MenuModel) IsMutable() bool {800 func (x *MenuModel) IsMutable() bool {
791 801
792 cret := xMenuModelIsMutable(x.GoPointer())802 cret := xMenuModelIsMutable(x.GoPointer())
803+
793 return cret804 return cret
794 }805 }
795 806
M v4/gio/gmount.go +13 -0
@@ -899,6 +899,7 @@ func (x *MountBase) SetGoPointer(ptr uintptr) {
899 func (x *MountBase) CanEject() bool {899 func (x *MountBase) CanEject() bool {
900 900
901 cret := XGMountCanEject(x.GoPointer())901 cret := XGMountCanEject(x.GoPointer())
902+
902 return cret903 return cret
903 }904 }
904 905
@@ -906,6 +907,7 @@ func (x *MountBase) CanEject() bool {
906 func (x *MountBase) CanUnmount() bool {907 func (x *MountBase) CanUnmount() bool {
907 908
908 cret := XGMountCanUnmount(x.GoPointer())909 cret := XGMountCanUnmount(x.GoPointer())
910+
909 return cret911 return cret
910 }912 }
911 913
@@ -924,6 +926,7 @@ func (x *MountBase) EjectFinish(ResultVar AsyncResult) (bool, error) {
924 var cerr *glib.Error926 var cerr *glib.Error
925 927
926 cret := XGMountEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)928 cret := XGMountEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
929+
927 if cerr == nil {930 if cerr == nil {
928 return cret, nil931 return cret, nil
929 }932 }
@@ -946,6 +949,7 @@ func (x *MountBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, error
946 var cerr *glib.Error949 var cerr *glib.Error
947 950
948 cret := XGMountEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)951 cret := XGMountEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
952+
949 if cerr == nil {953 if cerr == nil {
950 return cret, nil954 return cret, nil
951 }955 }
@@ -1004,6 +1008,7 @@ func (x *MountBase) GetIcon() *IconBase {
1004 func (x *MountBase) GetName() string {1008 func (x *MountBase) GetName() string {
1005 1009
1006 cret := XGMountGetName(x.GoPointer())1010 cret := XGMountGetName(x.GoPointer())
1011+
1007 return cret1012 return cret
1008 }1013 }
1009 1014
@@ -1025,6 +1030,7 @@ func (x *MountBase) GetRoot() *FileBase {
1025 func (x *MountBase) GetSortKey() string {1030 func (x *MountBase) GetSortKey() string {
1026 1031
1027 cret := XGMountGetSortKey(x.GoPointer())1032 cret := XGMountGetSortKey(x.GoPointer())
1033+
1028 return cret1034 return cret
1029 }1035 }
1030 1036
@@ -1049,6 +1055,7 @@ func (x *MountBase) GetSymbolicIcon() *IconBase {
1049 func (x *MountBase) GetUuid() string {1055 func (x *MountBase) GetUuid() string {
1050 1056
1051 cret := XGMountGetUuid(x.GoPointer())1057 cret := XGMountGetUuid(x.GoPointer())
1058+
1052 return cret1059 return cret
1053 }1060 }
1054 1061
@@ -1092,6 +1099,7 @@ func (x *MountBase) GuessContentTypeFinish(ResultVar AsyncResult) ([]string, err
1092 var cerr *glib.Error1099 var cerr *glib.Error
1093 1100
1094 cret := XGMountGuessContentTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1101 cret := XGMountGuessContentTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1102+
1095 if cerr == nil {1103 if cerr == nil {
1096 return cret, nil1104 return cret, nil
1097 }1105 }
@@ -1112,6 +1120,7 @@ func (x *MountBase) GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Ca
1112 var cerr *glib.Error1120 var cerr *glib.Error
1113 1121
1114 cret := XGMountGuessContentTypeSync(x.GoPointer(), ForceRescanVar, CancellableVar.GoPointer(), &cerr)1122 cret := XGMountGuessContentTypeSync(x.GoPointer(), ForceRescanVar, CancellableVar.GoPointer(), &cerr)
1123+
1115 if cerr == nil {1124 if cerr == nil {
1116 return cret, nil1125 return cret, nil
1117 }1126 }
@@ -1145,6 +1154,7 @@ func (x *MountBase) GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Ca
1145 func (x *MountBase) IsShadowed() bool {1154 func (x *MountBase) IsShadowed() bool {
1146 1155
1147 cret := XGMountIsShadowed(x.GoPointer())1156 cret := XGMountIsShadowed(x.GoPointer())
1157+
1148 return cret1158 return cret
1149 }1159 }
1150 1160
@@ -1169,6 +1179,7 @@ func (x *MountBase) RemountFinish(ResultVar AsyncResult) (bool, error) {
1169 var cerr *glib.Error1179 var cerr *glib.Error
1170 1180
1171 cret := XGMountRemountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1181 cret := XGMountRemountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1182+
1172 if cerr == nil {1183 if cerr == nil {
1173 return cret, nil1184 return cret, nil
1174 }1185 }
@@ -1201,6 +1212,7 @@ func (x *MountBase) UnmountFinish(ResultVar AsyncResult) (bool, error) {
1201 var cerr *glib.Error1212 var cerr *glib.Error
1202 1213
1203 cret := XGMountUnmountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1214 cret := XGMountUnmountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1215+
1204 if cerr == nil {1216 if cerr == nil {
1205 return cret, nil1217 return cret, nil
1206 }1218 }
@@ -1223,6 +1235,7 @@ func (x *MountBase) UnmountWithOperationFinish(ResultVar AsyncResult) (bool, err
1223 var cerr *glib.Error1235 var cerr *glib.Error
1224 1236
1225 cret := XGMountUnmountWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1237 cret := XGMountUnmountWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1238+
1226 if cerr == nil {1239 if cerr == nil {
1227 return cret, nil1240 return cret, nil
1228 }1241 }
M v4/gio/gmountoperation.go +25 -3
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -466,6 +467,7 @@ var xMountOperationGetAnonymous func(uintptr) bool
466 func (x *MountOperation) GetAnonymous() bool {467 func (x *MountOperation) GetAnonymous() bool {
467 468
468 cret := xMountOperationGetAnonymous(x.GoPointer())469 cret := xMountOperationGetAnonymous(x.GoPointer())
470+
469 return cret471 return cret
470 }472 }
471 473
@@ -475,6 +477,7 @@ var xMountOperationGetChoice func(uintptr) int
475 func (x *MountOperation) GetChoice() int {477 func (x *MountOperation) GetChoice() int {
476 478
477 cret := xMountOperationGetChoice(x.GoPointer())479 cret := xMountOperationGetChoice(x.GoPointer())
480+
478 return cret481 return cret
479 }482 }
480 483
@@ -484,6 +487,7 @@ var xMountOperationGetDomain func(uintptr) string
484 func (x *MountOperation) GetDomain() string {487 func (x *MountOperation) GetDomain() string {
485 488
486 cret := xMountOperationGetDomain(x.GoPointer())489 cret := xMountOperationGetDomain(x.GoPointer())
490+
487 return cret491 return cret
488 }492 }
489 493
@@ -494,6 +498,7 @@ var xMountOperationGetIsTcryptHiddenVolume func(uintptr) bool
494 func (x *MountOperation) GetIsTcryptHiddenVolume() bool {498 func (x *MountOperation) GetIsTcryptHiddenVolume() bool {
495 499
496 cret := xMountOperationGetIsTcryptHiddenVolume(x.GoPointer())500 cret := xMountOperationGetIsTcryptHiddenVolume(x.GoPointer())
501+
497 return cret502 return cret
498 }503 }
499 504
@@ -504,6 +509,7 @@ var xMountOperationGetIsTcryptSystemVolume func(uintptr) bool
504 func (x *MountOperation) GetIsTcryptSystemVolume() bool {509 func (x *MountOperation) GetIsTcryptSystemVolume() bool {
505 510
506 cret := xMountOperationGetIsTcryptSystemVolume(x.GoPointer())511 cret := xMountOperationGetIsTcryptSystemVolume(x.GoPointer())
512+
507 return cret513 return cret
508 }514 }
509 515
@@ -513,6 +519,7 @@ var xMountOperationGetPassword func(uintptr) string
513 func (x *MountOperation) GetPassword() string {519 func (x *MountOperation) GetPassword() string {
514 520
515 cret := xMountOperationGetPassword(x.GoPointer())521 cret := xMountOperationGetPassword(x.GoPointer())
522+
516 return cret523 return cret
517 }524 }
518 525
@@ -522,6 +529,7 @@ var xMountOperationGetPasswordSave func(uintptr) PasswordSave
522 func (x *MountOperation) GetPasswordSave() PasswordSave {529 func (x *MountOperation) GetPasswordSave() PasswordSave {
523 530
524 cret := xMountOperationGetPasswordSave(x.GoPointer())531 cret := xMountOperationGetPasswordSave(x.GoPointer())
532+
525 return cret533 return cret
526 }534 }
527 535
@@ -531,6 +539,7 @@ var xMountOperationGetPim func(uintptr) uint
531 func (x *MountOperation) GetPim() uint {539 func (x *MountOperation) GetPim() uint {
532 540
533 cret := xMountOperationGetPim(x.GoPointer())541 cret := xMountOperationGetPim(x.GoPointer())
542+
534 return cret543 return cret
535 }544 }
536 545
@@ -540,6 +549,7 @@ var xMountOperationGetUsername func(uintptr) string
540 func (x *MountOperation) GetUsername() string {549 func (x *MountOperation) GetUsername() string {
541 550
542 cret := xMountOperationGetUsername(x.GoPointer())551 cret := xMountOperationGetUsername(x.GoPointer())
552+
543 return cret553 return cret
544 }554 }
545 555
@@ -575,7 +585,11 @@ var xMountOperationSetDomain func(uintptr, uintptr)
575 // Sets the mount operation's domain.585 // Sets the mount operation's domain.
576 func (x *MountOperation) SetDomain(DomainVar *string) {586 func (x *MountOperation) SetDomain(DomainVar *string) {
577 587
578- xMountOperationSetDomain(x.GoPointer(), core.NullableStringToPtr(DomainVar))588+ DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)
589+
590+ xMountOperationSetDomain(x.GoPointer(), DomainVarPtr)
591+
592+ runtime.KeepAlive(DomainVarBytes)
579 593
580 }594 }
581 595
@@ -602,7 +616,11 @@ var xMountOperationSetPassword func(uintptr, uintptr)
602 // Sets the mount operation's password to @password.616 // Sets the mount operation's password to @password.
603 func (x *MountOperation) SetPassword(PasswordVar *string) {617 func (x *MountOperation) SetPassword(PasswordVar *string) {
604 618
605- xMountOperationSetPassword(x.GoPointer(), core.NullableStringToPtr(PasswordVar))619+ PasswordVarPtr, PasswordVarBytes := core.NullableStringToPtr(PasswordVar)
620+
621+ xMountOperationSetPassword(x.GoPointer(), PasswordVarPtr)
622+
623+ runtime.KeepAlive(PasswordVarBytes)
606 624
607 }625 }
608 626
@@ -629,7 +647,11 @@ var xMountOperationSetUsername func(uintptr, uintptr)
629 // Sets the user name within @op to @username.647 // Sets the user name within @op to @username.
630 func (x *MountOperation) SetUsername(UsernameVar *string) {648 func (x *MountOperation) SetUsername(UsernameVar *string) {
631 649
632- xMountOperationSetUsername(x.GoPointer(), core.NullableStringToPtr(UsernameVar))650+ UsernameVarPtr, UsernameVarBytes := core.NullableStringToPtr(UsernameVar)
651+
652+ xMountOperationSetUsername(x.GoPointer(), UsernameVarPtr)
653+
654+ runtime.KeepAlive(UsernameVarBytes)
633 655
634 }656 }
635 657
M v4/gio/gnativesocketaddress.go +1 -0
@@ -119,6 +119,7 @@ func (x *NativeSocketAddress) ProxyEnumerate() *SocketAddressEnumerator {
119 func (x *NativeSocketAddress) ToString() string {119 func (x *NativeSocketAddress) ToString() string {
120 120
121 cret := XGSocketConnectableToString(x.GoPointer())121 cret := XGSocketConnectableToString(x.GoPointer())
122+
122 return cret123 return cret
123 }124 }
124 125
M v4/gio/gnetworkaddress.go +4 -0
@@ -113,6 +113,7 @@ var xNetworkAddressGetHostname func(uintptr) string
113 func (x *NetworkAddress) GetHostname() string {113 func (x *NetworkAddress) GetHostname() string {
114 114
115 cret := xNetworkAddressGetHostname(x.GoPointer())115 cret := xNetworkAddressGetHostname(x.GoPointer())
116+
116 return cret117 return cret
117 }118 }
118 119
@@ -122,6 +123,7 @@ var xNetworkAddressGetPort func(uintptr) uint16
122 func (x *NetworkAddress) GetPort() uint16 {123 func (x *NetworkAddress) GetPort() uint16 {
123 124
124 cret := xNetworkAddressGetPort(x.GoPointer())125 cret := xNetworkAddressGetPort(x.GoPointer())
126+
125 return cret127 return cret
126 }128 }
127 129
@@ -131,6 +133,7 @@ var xNetworkAddressGetScheme func(uintptr) string
131 func (x *NetworkAddress) GetScheme() string {133 func (x *NetworkAddress) GetScheme() string {
132 134
133 cret := xNetworkAddressGetScheme(x.GoPointer())135 cret := xNetworkAddressGetScheme(x.GoPointer())
136+
134 return cret137 return cret
135 }138 }
136 139
@@ -240,6 +243,7 @@ func (x *NetworkAddress) ProxyEnumerate() *SocketAddressEnumerator {
240 func (x *NetworkAddress) ToString() string {243 func (x *NetworkAddress) ToString() string {
241 244
242 cret := XGSocketConnectableToString(x.GoPointer())245 cret := XGSocketConnectableToString(x.GoPointer())
246+
243 return cret247 return cret
244 }248 }
245 249
M v4/gio/gnetworkmonitor.go +5 -0
@@ -202,6 +202,7 @@ func (x *NetworkMonitorBase) CanReach(ConnectableVar SocketConnectable, Cancella
202 var cerr *glib.Error202 var cerr *glib.Error
203 203
204 cret := XGNetworkMonitorCanReach(x.GoPointer(), ConnectableVar.GoPointer(), CancellableVar.GoPointer(), &cerr)204 cret := XGNetworkMonitorCanReach(x.GoPointer(), ConnectableVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
205+
205 if cerr == nil {206 if cerr == nil {
206 return cret, nil207 return cret, nil
207 }208 }
@@ -230,6 +231,7 @@ func (x *NetworkMonitorBase) CanReachFinish(ResultVar AsyncResult) (bool, error)
230 var cerr *glib.Error231 var cerr *glib.Error
231 232
232 cret := XGNetworkMonitorCanReachFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)233 cret := XGNetworkMonitorCanReachFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
234+
233 if cerr == nil {235 if cerr == nil {
234 return cret, nil236 return cret, nil
235 }237 }
@@ -259,6 +261,7 @@ func (x *NetworkMonitorBase) CanReachFinish(ResultVar AsyncResult) (bool, error)
259 func (x *NetworkMonitorBase) GetConnectivity() NetworkConnectivity {261 func (x *NetworkMonitorBase) GetConnectivity() NetworkConnectivity {
260 262
261 cret := XGNetworkMonitorGetConnectivity(x.GoPointer())263 cret := XGNetworkMonitorGetConnectivity(x.GoPointer())
264+
262 return cret265 return cret
263 }266 }
264 267
@@ -269,6 +272,7 @@ func (x *NetworkMonitorBase) GetConnectivity() NetworkConnectivity {
269 func (x *NetworkMonitorBase) GetNetworkAvailable() bool {272 func (x *NetworkMonitorBase) GetNetworkAvailable() bool {
270 273
271 cret := XGNetworkMonitorGetNetworkAvailable(x.GoPointer())274 cret := XGNetworkMonitorGetNetworkAvailable(x.GoPointer())
275+
272 return cret276 return cret
273 }277 }
274 278
@@ -277,6 +281,7 @@ func (x *NetworkMonitorBase) GetNetworkAvailable() bool {
277 func (x *NetworkMonitorBase) GetNetworkMetered() bool {281 func (x *NetworkMonitorBase) GetNetworkMetered() bool {
278 282
279 cret := XGNetworkMonitorGetNetworkMetered(x.GoPointer())283 cret := XGNetworkMonitorGetNetworkMetered(x.GoPointer())
284+
280 return cret285 return cret
281 }286 }
282 287
M v4/gio/gnetworkservice.go +5 -0
@@ -79,6 +79,7 @@ var xNetworkServiceGetDomain func(uintptr) string
79 func (x *NetworkService) GetDomain() string {79 func (x *NetworkService) GetDomain() string {
80 80
81 cret := xNetworkServiceGetDomain(x.GoPointer())81 cret := xNetworkServiceGetDomain(x.GoPointer())
82+
82 return cret83 return cret
83 }84 }
84 85
@@ -88,6 +89,7 @@ var xNetworkServiceGetProtocol func(uintptr) string
88 func (x *NetworkService) GetProtocol() string {89 func (x *NetworkService) GetProtocol() string {
89 90
90 cret := xNetworkServiceGetProtocol(x.GoPointer())91 cret := xNetworkServiceGetProtocol(x.GoPointer())
92+
91 return cret93 return cret
92 }94 }
93 95
@@ -98,6 +100,7 @@ var xNetworkServiceGetScheme func(uintptr) string
98 func (x *NetworkService) GetScheme() string {100 func (x *NetworkService) GetScheme() string {
99 101
100 cret := xNetworkServiceGetScheme(x.GoPointer())102 cret := xNetworkServiceGetScheme(x.GoPointer())
103+
101 return cret104 return cret
102 }105 }
103 106
@@ -107,6 +110,7 @@ var xNetworkServiceGetService func(uintptr) string
107 func (x *NetworkService) GetService() string {110 func (x *NetworkService) GetService() string {
108 111
109 cret := xNetworkServiceGetService(x.GoPointer())112 cret := xNetworkServiceGetService(x.GoPointer())
113+
110 return cret114 return cret
111 }115 }
112 116
@@ -243,6 +247,7 @@ func (x *NetworkService) ProxyEnumerate() *SocketAddressEnumerator {
243 func (x *NetworkService) ToString() string {247 func (x *NetworkService) ToString() string {
244 248
245 cret := XGSocketConnectableToString(x.GoPointer())249 cret := XGSocketConnectableToString(x.GoPointer())
250+
246 return cret251 return cret
247 }252 }
248 253
M v4/gio/gnotification.go +22 -4
@@ -2,6 +2,8 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 "github.com/jwijenbergh/puregotk/v4/glib"9 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -118,7 +120,11 @@ var xNotificationAddButtonWithTarget func(uintptr, string, string, uintptr, ...i
118 // parameter.120 // parameter.
119 func (x *Notification) AddButtonWithTarget(LabelVar string, ActionVar string, TargetFormatVar *string, varArgs ...interface{}) {121 func (x *Notification) AddButtonWithTarget(LabelVar string, ActionVar string, TargetFormatVar *string, varArgs ...interface{}) {
120 122
121- xNotificationAddButtonWithTarget(x.GoPointer(), LabelVar, ActionVar, core.NullableStringToPtr(TargetFormatVar), varArgs...)123+ TargetFormatVarPtr, TargetFormatVarBytes := core.NullableStringToPtr(TargetFormatVar)
124+
125+ xNotificationAddButtonWithTarget(x.GoPointer(), LabelVar, ActionVar, TargetFormatVarPtr, varArgs...)
126+
127+ runtime.KeepAlive(TargetFormatVarBytes)
122 128
123 }129 }
124 130
@@ -140,7 +146,11 @@ var xNotificationSetBody func(uintptr, uintptr)
140 // Sets the body of @notification to @body.146 // Sets the body of @notification to @body.
141 func (x *Notification) SetBody(BodyVar *string) {147 func (x *Notification) SetBody(BodyVar *string) {
142 148
143- xNotificationSetBody(x.GoPointer(), core.NullableStringToPtr(BodyVar))149+ BodyVarPtr, BodyVarBytes := core.NullableStringToPtr(BodyVar)
150+
151+ xNotificationSetBody(x.GoPointer(), BodyVarPtr)
152+
153+ runtime.KeepAlive(BodyVarBytes)
144 154
145 }155 }
146 156
@@ -154,7 +164,11 @@ var xNotificationSetCategory func(uintptr, uintptr)
154 // Standard categories are [listed in the specification](https://specifications.freedesktop.org/notification-spec/latest/ar01s06.html).164 // Standard categories are [listed in the specification](https://specifications.freedesktop.org/notification-spec/latest/ar01s06.html).
155 func (x *Notification) SetCategory(CategoryVar *string) {165 func (x *Notification) SetCategory(CategoryVar *string) {
156 166
157- xNotificationSetCategory(x.GoPointer(), core.NullableStringToPtr(CategoryVar))167+ CategoryVarPtr, CategoryVarBytes := core.NullableStringToPtr(CategoryVar)
168+
169+ xNotificationSetCategory(x.GoPointer(), CategoryVarPtr)
170+
171+ runtime.KeepAlive(CategoryVarBytes)
158 172
159 }173 }
160 174
@@ -192,7 +206,11 @@ var xNotificationSetDefaultActionAndTarget func(uintptr, string, uintptr, ...int
192 // was sent on is activated.206 // was sent on is activated.
193 func (x *Notification) SetDefaultActionAndTarget(ActionVar string, TargetFormatVar *string, varArgs ...interface{}) {207 func (x *Notification) SetDefaultActionAndTarget(ActionVar string, TargetFormatVar *string, varArgs ...interface{}) {
194 208
195- xNotificationSetDefaultActionAndTarget(x.GoPointer(), ActionVar, core.NullableStringToPtr(TargetFormatVar), varArgs...)209+ TargetFormatVarPtr, TargetFormatVarBytes := core.NullableStringToPtr(TargetFormatVar)
210+
211+ xNotificationSetDefaultActionAndTarget(x.GoPointer(), ActionVar, TargetFormatVarPtr, varArgs...)
212+
213+ runtime.KeepAlive(TargetFormatVarBytes)
196 214
197 }215 }
198 216
M v4/gio/goutputstream.go +22 -0
@@ -607,6 +607,7 @@ func (x *OutputStream) Close(CancellableVar *Cancellable) (bool, error) {
607 var cerr *glib.Error607 var cerr *glib.Error
608 608
609 cret := xOutputStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)609 cret := xOutputStreamClose(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
610+
610 if cerr == nil {611 if cerr == nil {
611 return cret, nil612 return cret, nil
612 }613 }
@@ -654,6 +655,7 @@ func (x *OutputStream) CloseFinish(ResultVar AsyncResult) (bool, error) {
654 var cerr *glib.Error655 var cerr *glib.Error
655 656
656 cret := xOutputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)657 cret := xOutputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
658+
657 if cerr == nil {659 if cerr == nil {
658 return cret, nil660 return cret, nil
659 }661 }
@@ -676,6 +678,7 @@ func (x *OutputStream) Flush(CancellableVar *Cancellable) (bool, error) {
676 var cerr *glib.Error678 var cerr *glib.Error
677 679
678 cret := xOutputStreamFlush(x.GoPointer(), CancellableVar.GoPointer(), &cerr)680 cret := xOutputStreamFlush(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
681+
679 if cerr == nil {682 if cerr == nil {
680 return cret, nil683 return cret, nil
681 }684 }
@@ -720,6 +723,7 @@ func (x *OutputStream) FlushFinish(ResultVar AsyncResult) (bool, error) {
720 var cerr *glib.Error723 var cerr *glib.Error
721 724
722 cret := xOutputStreamFlushFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)725 cret := xOutputStreamFlushFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
726+
723 if cerr == nil {727 if cerr == nil {
724 return cret, nil728 return cret, nil
725 }729 }
@@ -733,6 +737,7 @@ var xOutputStreamHasPending func(uintptr) bool
733 func (x *OutputStream) HasPending() bool {737 func (x *OutputStream) HasPending() bool {
734 738
735 cret := xOutputStreamHasPending(x.GoPointer())739 cret := xOutputStreamHasPending(x.GoPointer())
740+
736 return cret741 return cret
737 }742 }
738 743
@@ -742,6 +747,7 @@ var xOutputStreamIsClosed func(uintptr) bool
742 func (x *OutputStream) IsClosed() bool {747 func (x *OutputStream) IsClosed() bool {
743 748
744 cret := xOutputStreamIsClosed(x.GoPointer())749 cret := xOutputStreamIsClosed(x.GoPointer())
750+
745 return cret751 return cret
746 }752 }
747 753
@@ -754,6 +760,7 @@ var xOutputStreamIsClosing func(uintptr) bool
754 func (x *OutputStream) IsClosing() bool {760 func (x *OutputStream) IsClosing() bool {
755 761
756 cret := xOutputStreamIsClosing(x.GoPointer())762 cret := xOutputStreamIsClosing(x.GoPointer())
763+
757 return cret764 return cret
758 }765 }
759 766
@@ -774,6 +781,7 @@ var xOutputStreamPrintf func(uintptr, *uint, uintptr, **glib.Error, string, ...i
774 func (x *OutputStream) Printf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, varArgs ...interface{}) bool {781 func (x *OutputStream) Printf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, varArgs ...interface{}) bool {
775 782
776 cret := xOutputStreamPrintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, varArgs...)783 cret := xOutputStreamPrintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, varArgs...)
784+
777 return cret785 return cret
778 }786 }
779 787
@@ -786,6 +794,7 @@ func (x *OutputStream) SetPending() (bool, error) {
786 var cerr *glib.Error794 var cerr *glib.Error
787 795
788 cret := xOutputStreamSetPending(x.GoPointer())796 cret := xOutputStreamSetPending(x.GoPointer())
797+
789 if cerr == nil {798 if cerr == nil {
790 return cret, nil799 return cret, nil
791 }800 }
@@ -800,6 +809,7 @@ func (x *OutputStream) Splice(SourceVar *InputStream, FlagsVar OutputStreamSplic
800 var cerr *glib.Error809 var cerr *glib.Error
801 810
802 cret := xOutputStreamSplice(x.GoPointer(), SourceVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)811 cret := xOutputStreamSplice(x.GoPointer(), SourceVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
812+
803 if cerr == nil {813 if cerr == nil {
804 return cret, nil814 return cret, nil
805 }815 }
@@ -844,6 +854,7 @@ func (x *OutputStream) SpliceFinish(ResultVar AsyncResult) (int, error) {
844 var cerr *glib.Error854 var cerr *glib.Error
845 855
846 cret := xOutputStreamSpliceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)856 cret := xOutputStreamSpliceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
857+
847 if cerr == nil {858 if cerr == nil {
848 return cret, nil859 return cret, nil
849 }860 }
@@ -868,6 +879,7 @@ var xOutputStreamVprintf func(uintptr, *uint, uintptr, **glib.Error, string, []i
868 func (x *OutputStream) Vprintf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, ArgsVar []interface{}) bool {879 func (x *OutputStream) Vprintf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, ArgsVar []interface{}) bool {
869 880
870 cret := xOutputStreamVprintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, ArgsVar)881 cret := xOutputStreamVprintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, ArgsVar)
882+
871 return cret883 return cret
872 }884 }
873 885
@@ -897,6 +909,7 @@ func (x *OutputStream) Write(BufferVar []byte, CountVar uint, CancellableVar *Ca
897 var cerr *glib.Error909 var cerr *glib.Error
898 910
899 cret := xOutputStreamWrite(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)911 cret := xOutputStreamWrite(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
912+
900 if cerr == nil {913 if cerr == nil {
901 return cret, nil914 return cret, nil
902 }915 }
@@ -929,6 +942,7 @@ func (x *OutputStream) WriteAll(BufferVar []byte, CountVar uint, BytesWrittenVar
929 var cerr *glib.Error942 var cerr *glib.Error
930 943
931 cret := xOutputStreamWriteAll(x.GoPointer(), BufferVar, CountVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)944 cret := xOutputStreamWriteAll(x.GoPointer(), BufferVar, CountVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
945+
932 if cerr == nil {946 if cerr == nil {
933 return cret, nil947 return cret, nil
934 }948 }
@@ -990,6 +1004,7 @@ func (x *OutputStream) WriteAllFinish(ResultVar AsyncResult, BytesWrittenVar *ui
990 var cerr *glib.Error1004 var cerr *glib.Error
991 1005
992 cret := xOutputStreamWriteAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)1006 cret := xOutputStreamWriteAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)
1007+
993 if cerr == nil {1008 if cerr == nil {
994 return cret, nil1009 return cret, nil
995 }1010 }
@@ -1072,6 +1087,7 @@ func (x *OutputStream) WriteBytes(BytesVar *glib.Bytes, CancellableVar *Cancella
1072 var cerr *glib.Error1087 var cerr *glib.Error
1073 1088
1074 cret := xOutputStreamWriteBytes(x.GoPointer(), BytesVar, CancellableVar.GoPointer(), &cerr)1089 cret := xOutputStreamWriteBytes(x.GoPointer(), BytesVar, CancellableVar.GoPointer(), &cerr)
1090+
1075 if cerr == nil {1091 if cerr == nil {
1076 return cret, nil1092 return cret, nil
1077 }1093 }
@@ -1122,6 +1138,7 @@ func (x *OutputStream) WriteBytesFinish(ResultVar AsyncResult) (int, error) {
1122 var cerr *glib.Error1138 var cerr *glib.Error
1123 1139
1124 cret := xOutputStreamWriteBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1140 cret := xOutputStreamWriteBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1141+
1125 if cerr == nil {1142 if cerr == nil {
1126 return cret, nil1143 return cret, nil
1127 }1144 }
@@ -1136,6 +1153,7 @@ func (x *OutputStream) WriteFinish(ResultVar AsyncResult) (int, error) {
1136 var cerr *glib.Error1153 var cerr *glib.Error
1137 1154
1138 cret := xOutputStreamWriteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1155 cret := xOutputStreamWriteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1156+
1139 if cerr == nil {1157 if cerr == nil {
1140 return cret, nil1158 return cret, nil
1141 }1159 }
@@ -1172,6 +1190,7 @@ func (x *OutputStream) Writev(VectorsVar []OutputVector, NVectorsVar uint, Bytes
1172 var cerr *glib.Error1190 var cerr *glib.Error
1173 1191
1174 cret := xOutputStreamWritev(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)1192 cret := xOutputStreamWritev(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
1193+
1175 if cerr == nil {1194 if cerr == nil {
1176 return cret, nil1195 return cret, nil
1177 }1196 }
@@ -1207,6 +1226,7 @@ func (x *OutputStream) WritevAll(VectorsVar []OutputVector, NVectorsVar uint, By
1207 var cerr *glib.Error1226 var cerr *glib.Error
1208 1227
1209 cret := xOutputStreamWritevAll(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)1228 cret := xOutputStreamWritevAll(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
1229+
1210 if cerr == nil {1230 if cerr == nil {
1211 return cret, nil1231 return cret, nil
1212 }1232 }
@@ -1269,6 +1289,7 @@ func (x *OutputStream) WritevAllFinish(ResultVar AsyncResult, BytesWrittenVar *u
1269 var cerr *glib.Error1289 var cerr *glib.Error
1270 1290
1271 cret := xOutputStreamWritevAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)1291 cret := xOutputStreamWritevAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)
1292+
1272 if cerr == nil {1293 if cerr == nil {
1273 return cret, nil1294 return cret, nil
1274 }1295 }
@@ -1336,6 +1357,7 @@ func (x *OutputStream) WritevFinish(ResultVar AsyncResult, BytesWrittenVar *uint
1336 var cerr *glib.Error1357 var cerr *glib.Error
1337 1358
1338 cret := xOutputStreamWritevFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)1359 cret := xOutputStreamWritevFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)
1360+
1339 if cerr == nil {1361 if cerr == nil {
1340 return cret, nil1362 return cret, nil
1341 }1363 }
M v4/gio/gpermission.go +7 -0
@@ -234,6 +234,7 @@ func (x *Permission) Acquire(CancellableVar *Cancellable) (bool, error) {
234 var cerr *glib.Error234 var cerr *glib.Error
235 235
236 cret := xPermissionAcquire(x.GoPointer(), CancellableVar.GoPointer(), &cerr)236 cret := xPermissionAcquire(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
237+
237 if cerr == nil {238 if cerr == nil {
238 return cret, nil239 return cret, nil
239 }240 }
@@ -279,6 +280,7 @@ func (x *Permission) AcquireFinish(ResultVar AsyncResult) (bool, error) {
279 var cerr *glib.Error280 var cerr *glib.Error
280 281
281 cret := xPermissionAcquireFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)282 cret := xPermissionAcquireFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
283+
282 if cerr == nil {284 if cerr == nil {
283 return cret, nil285 return cret, nil
284 }286 }
@@ -294,6 +296,7 @@ var xPermissionGetAllowed func(uintptr) bool
294 func (x *Permission) GetAllowed() bool {296 func (x *Permission) GetAllowed() bool {
295 297
296 cret := xPermissionGetAllowed(x.GoPointer())298 cret := xPermissionGetAllowed(x.GoPointer())
299+
297 return cret300 return cret
298 }301 }
299 302
@@ -305,6 +308,7 @@ var xPermissionGetCanAcquire func(uintptr) bool
305 func (x *Permission) GetCanAcquire() bool {308 func (x *Permission) GetCanAcquire() bool {
306 309
307 cret := xPermissionGetCanAcquire(x.GoPointer())310 cret := xPermissionGetCanAcquire(x.GoPointer())
311+
308 return cret312 return cret
309 }313 }
310 314
@@ -316,6 +320,7 @@ var xPermissionGetCanRelease func(uintptr) bool
316 func (x *Permission) GetCanRelease() bool {320 func (x *Permission) GetCanRelease() bool {
317 321
318 cret := xPermissionGetCanRelease(x.GoPointer())322 cret := xPermissionGetCanRelease(x.GoPointer())
323+
319 return cret324 return cret
320 }325 }
321 326
@@ -353,6 +358,7 @@ func (x *Permission) Release(CancellableVar *Cancellable) (bool, error) {
353 var cerr *glib.Error358 var cerr *glib.Error
354 359
355 cret := xPermissionRelease(x.GoPointer(), CancellableVar.GoPointer(), &cerr)360 cret := xPermissionRelease(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
361+
356 if cerr == nil {362 if cerr == nil {
357 return cret, nil363 return cret, nil
358 }364 }
@@ -398,6 +404,7 @@ func (x *Permission) ReleaseFinish(ResultVar AsyncResult) (bool, error) {
398 var cerr *glib.Error404 var cerr *glib.Error
399 405
400 cret := xPermissionReleaseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)406 cret := xPermissionReleaseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
407+
401 if cerr == nil {408 if cerr == nil {
402 return cret, nil409 return cret, nil
403 }410 }
M v4/gio/gpollableinputstream.go +4 -0
@@ -192,6 +192,7 @@ func (x *PollableInputStreamBase) SetGoPointer(ptr uintptr) {
192 func (x *PollableInputStreamBase) CanPoll() bool {192 func (x *PollableInputStreamBase) CanPoll() bool {
193 193
194 cret := XGPollableInputStreamCanPoll(x.GoPointer())194 cret := XGPollableInputStreamCanPoll(x.GoPointer())
195+
195 return cret196 return cret
196 }197 }
197 198
@@ -209,6 +210,7 @@ func (x *PollableInputStreamBase) CanPoll() bool {
209 func (x *PollableInputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source {210 func (x *PollableInputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source {
210 211
211 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())212 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
213+
212 return cret214 return cret
213 }215 }
214 216
@@ -226,6 +228,7 @@ func (x *PollableInputStreamBase) CreateSource(CancellableVar *Cancellable) *gli
226 func (x *PollableInputStreamBase) IsReadable() bool {228 func (x *PollableInputStreamBase) IsReadable() bool {
227 229
228 cret := XGPollableInputStreamIsReadable(x.GoPointer())230 cret := XGPollableInputStreamIsReadable(x.GoPointer())
231+
229 return cret232 return cret
230 }233 }
231 234
@@ -247,6 +250,7 @@ func (x *PollableInputStreamBase) ReadNonblocking(BufferVar *[]byte, CountVar ui
247 var cerr *glib.Error250 var cerr *glib.Error
248 251
249 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)252 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
253+
250 if cerr == nil {254 if cerr == nil {
251 return cret, nil255 return cret, nil
252 }256 }
M v4/gio/gpollableoutputstream.go +5 -0
@@ -230,6 +230,7 @@ func (x *PollableOutputStreamBase) SetGoPointer(ptr uintptr) {
230 func (x *PollableOutputStreamBase) CanPoll() bool {230 func (x *PollableOutputStreamBase) CanPoll() bool {
231 231
232 cret := XGPollableOutputStreamCanPoll(x.GoPointer())232 cret := XGPollableOutputStreamCanPoll(x.GoPointer())
233+
233 return cret234 return cret
234 }235 }
235 236
@@ -247,6 +248,7 @@ func (x *PollableOutputStreamBase) CanPoll() bool {
247 func (x *PollableOutputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source {248 func (x *PollableOutputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source {
248 249
249 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())250 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
251+
250 return cret252 return cret
251 }253 }
252 254
@@ -264,6 +266,7 @@ func (x *PollableOutputStreamBase) CreateSource(CancellableVar *Cancellable) *gl
264 func (x *PollableOutputStreamBase) IsWritable() bool {266 func (x *PollableOutputStreamBase) IsWritable() bool {
265 267
266 cret := XGPollableOutputStreamIsWritable(x.GoPointer())268 cret := XGPollableOutputStreamIsWritable(x.GoPointer())
269+
267 return cret270 return cret
268 }271 }
269 272
@@ -289,6 +292,7 @@ func (x *PollableOutputStreamBase) WriteNonblocking(BufferVar []byte, CountVar u
289 var cerr *glib.Error292 var cerr *glib.Error
290 293
291 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)294 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
295+
292 if cerr == nil {296 if cerr == nil {
293 return cret, nil297 return cret, nil
294 }298 }
@@ -319,6 +323,7 @@ func (x *PollableOutputStreamBase) WritevNonblocking(VectorsVar []OutputVector,
319 var cerr *glib.Error323 var cerr *glib.Error
320 324
321 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)325 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
326+
322 if cerr == nil {327 if cerr == nil {
323 return cret, nil328 return cret, nil
324 }329 }
M v4/gio/gpollableutils.go +5 -0
@@ -18,6 +18,7 @@ var xPollableSourceNew func(uintptr) *glib.Source
18 func PollableSourceNew(PollableStreamVar *gobject.Object) *glib.Source {18 func PollableSourceNew(PollableStreamVar *gobject.Object) *glib.Source {
19 19
20 cret := xPollableSourceNew(PollableStreamVar.GoPointer())20 cret := xPollableSourceNew(PollableStreamVar.GoPointer())
21+
21 return cret22 return cret
22 }23 }
23 24
@@ -30,6 +31,7 @@ var xPollableSourceNewFull func(uintptr, *glib.Source, uintptr) *glib.Source
30 func PollableSourceNewFull(PollableStreamVar *gobject.Object, ChildSourceVar *glib.Source, CancellableVar *Cancellable) *glib.Source {31 func PollableSourceNewFull(PollableStreamVar *gobject.Object, ChildSourceVar *glib.Source, CancellableVar *Cancellable) *glib.Source {
31 32
32 cret := xPollableSourceNewFull(PollableStreamVar.GoPointer(), ChildSourceVar, CancellableVar.GoPointer())33 cret := xPollableSourceNewFull(PollableStreamVar.GoPointer(), ChildSourceVar, CancellableVar.GoPointer())
34+
33 return cret35 return cret
34 }36 }
35 37
@@ -48,6 +50,7 @@ func PollableStreamRead(StreamVar *InputStream, BufferVar []byte, CountVar uint,
48 var cerr *glib.Error50 var cerr *glib.Error
49 51
50 cret := xPollableStreamRead(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)52 cret := xPollableStreamRead(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
53+
51 if cerr == nil {54 if cerr == nil {
52 return cret, nil55 return cret, nil
53 }56 }
@@ -71,6 +74,7 @@ func PollableStreamWrite(StreamVar *OutputStream, BufferVar []byte, CountVar uin
71 var cerr *glib.Error74 var cerr *glib.Error
72 75
73 cret := xPollableStreamWrite(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)76 cret := xPollableStreamWrite(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
77+
74 if cerr == nil {78 if cerr == nil {
75 return cret, nil79 return cret, nil
76 }80 }
@@ -102,6 +106,7 @@ func PollableStreamWriteAll(StreamVar *OutputStream, BufferVar []byte, CountVar
102 var cerr *glib.Error106 var cerr *glib.Error
103 107
104 cret := xPollableStreamWriteAll(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)108 cret := xPollableStreamWriteAll(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
109+
105 if cerr == nil {110 if cerr == nil {
106 return cret, nil111 return cret, nil
107 }112 }
M v4/gio/gpowerprofilemonitor.go +1 -0
@@ -81,6 +81,7 @@ func (x *PowerProfileMonitorBase) SetGoPointer(ptr uintptr) {
81 func (x *PowerProfileMonitorBase) GetPowerSaverEnabled() bool {81 func (x *PowerProfileMonitorBase) GetPowerSaverEnabled() bool {
82 82
83 cret := XGPowerProfileMonitorGetPowerSaverEnabled(x.GoPointer())83 cret := XGPowerProfileMonitorGetPowerSaverEnabled(x.GoPointer())
84+
84 return cret85 return cret
85 }86 }
86 87
M v4/gio/gpropertyaction.go +6 -0
@@ -234,6 +234,7 @@ func (x *PropertyAction) ChangeState(ValueVar *glib.Variant) {
234 func (x *PropertyAction) GetEnabled() bool {234 func (x *PropertyAction) GetEnabled() bool {
235 235
236 cret := XGActionGetEnabled(x.GoPointer())236 cret := XGActionGetEnabled(x.GoPointer())
237+
237 return cret238 return cret
238 }239 }
239 240
@@ -241,6 +242,7 @@ func (x *PropertyAction) GetEnabled() bool {
241 func (x *PropertyAction) GetName() string {242 func (x *PropertyAction) GetName() string {
242 243
243 cret := XGActionGetName(x.GoPointer())244 cret := XGActionGetName(x.GoPointer())
245+
244 return cret246 return cret
245 }247 }
246 248
@@ -256,6 +258,7 @@ func (x *PropertyAction) GetName() string {
256 func (x *PropertyAction) GetParameterType() *glib.VariantType {258 func (x *PropertyAction) GetParameterType() *glib.VariantType {
257 259
258 cret := XGActionGetParameterType(x.GoPointer())260 cret := XGActionGetParameterType(x.GoPointer())
261+
259 return cret262 return cret
260 }263 }
261 264
@@ -270,6 +273,7 @@ func (x *PropertyAction) GetParameterType() *glib.VariantType {
270 func (x *PropertyAction) GetState() *glib.Variant {273 func (x *PropertyAction) GetState() *glib.Variant {
271 274
272 cret := XGActionGetState(x.GoPointer())275 cret := XGActionGetState(x.GoPointer())
276+
273 return cret277 return cret
274 }278 }
275 279
@@ -294,6 +298,7 @@ func (x *PropertyAction) GetState() *glib.Variant {
294 func (x *PropertyAction) GetStateHint() *glib.Variant {298 func (x *PropertyAction) GetStateHint() *glib.Variant {
295 299
296 cret := XGActionGetStateHint(x.GoPointer())300 cret := XGActionGetStateHint(x.GoPointer())
301+
297 return cret302 return cret
298 }303 }
299 304
@@ -312,6 +317,7 @@ func (x *PropertyAction) GetStateHint() *glib.Variant {
312 func (x *PropertyAction) GetStateType() *glib.VariantType {317 func (x *PropertyAction) GetStateType() *glib.VariantType {
313 318
314 cret := XGActionGetStateType(x.GoPointer())319 cret := XGActionGetStateType(x.GoPointer())
320+
315 return cret321 return cret
316 }322 }
317 323
M v4/gio/gproxy.go +1 -0
@@ -248,6 +248,7 @@ func (x *ProxyBase) ConnectFinish(ResultVar AsyncResult) (*IOStream, error) {
248 func (x *ProxyBase) SupportsHostname() bool {248 func (x *ProxyBase) SupportsHostname() bool {
249 249
250 cret := XGProxySupportsHostname(x.GoPointer())250 cret := XGProxySupportsHostname(x.GoPointer())
251+
251 return cret252 return cret
252 }253 }
253 254
M v4/gio/gproxyaddress.go +18 -1
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -58,7 +59,15 @@ var xNewProxyAddress func(uintptr, uint16, string, string, uint16, uintptr, uint
58 func NewProxyAddress(InetaddrVar *InetAddress, PortVar uint16, ProtocolVar string, DestHostnameVar string, DestPortVar uint16, UsernameVar *string, PasswordVar *string) *ProxyAddress {59 func NewProxyAddress(InetaddrVar *InetAddress, PortVar uint16, ProtocolVar string, DestHostnameVar string, DestPortVar uint16, UsernameVar *string, PasswordVar *string) *ProxyAddress {
59 var cls *ProxyAddress60 var cls *ProxyAddress
60 61
61- cret := xNewProxyAddress(InetaddrVar.GoPointer(), PortVar, ProtocolVar, DestHostnameVar, DestPortVar, core.NullableStringToPtr(UsernameVar), core.NullableStringToPtr(PasswordVar))62+ UsernameVarPtr, UsernameVarBytes := core.NullableStringToPtr(UsernameVar)
63+
64+ PasswordVarPtr, PasswordVarBytes := core.NullableStringToPtr(PasswordVar)
65+
66+ cret := xNewProxyAddress(InetaddrVar.GoPointer(), PortVar, ProtocolVar, DestHostnameVar, DestPortVar, UsernameVarPtr, PasswordVarPtr)
67+
68+ runtime.KeepAlive(UsernameVarBytes)
69+
70+ runtime.KeepAlive(PasswordVarBytes)
62 71
63 if cret == 0 {72 if cret == 0 {
64 return nil73 return nil
@@ -76,6 +85,7 @@ var xProxyAddressGetDestinationHostname func(uintptr) string
76 func (x *ProxyAddress) GetDestinationHostname() string {85 func (x *ProxyAddress) GetDestinationHostname() string {
77 86
78 cret := xProxyAddressGetDestinationHostname(x.GoPointer())87 cret := xProxyAddressGetDestinationHostname(x.GoPointer())
88+
79 return cret89 return cret
80 }90 }
81 91
@@ -87,6 +97,7 @@ var xProxyAddressGetDestinationPort func(uintptr) uint16
87 func (x *ProxyAddress) GetDestinationPort() uint16 {97 func (x *ProxyAddress) GetDestinationPort() uint16 {
88 98
89 cret := xProxyAddressGetDestinationPort(x.GoPointer())99 cret := xProxyAddressGetDestinationPort(x.GoPointer())
100+
90 return cret101 return cret
91 }102 }
92 103
@@ -97,6 +108,7 @@ var xProxyAddressGetDestinationProtocol func(uintptr) string
97 func (x *ProxyAddress) GetDestinationProtocol() string {108 func (x *ProxyAddress) GetDestinationProtocol() string {
98 109
99 cret := xProxyAddressGetDestinationProtocol(x.GoPointer())110 cret := xProxyAddressGetDestinationProtocol(x.GoPointer())
111+
100 return cret112 return cret
101 }113 }
102 114
@@ -106,6 +118,7 @@ var xProxyAddressGetPassword func(uintptr) string
106 func (x *ProxyAddress) GetPassword() string {118 func (x *ProxyAddress) GetPassword() string {
107 119
108 cret := xProxyAddressGetPassword(x.GoPointer())120 cret := xProxyAddressGetPassword(x.GoPointer())
121+
109 return cret122 return cret
110 }123 }
111 124
@@ -115,6 +128,7 @@ var xProxyAddressGetProtocol func(uintptr) string
115 func (x *ProxyAddress) GetProtocol() string {128 func (x *ProxyAddress) GetProtocol() string {
116 129
117 cret := xProxyAddressGetProtocol(x.GoPointer())130 cret := xProxyAddressGetProtocol(x.GoPointer())
131+
118 return cret132 return cret
119 }133 }
120 134
@@ -124,6 +138,7 @@ var xProxyAddressGetUri func(uintptr) string
124 func (x *ProxyAddress) GetUri() string {138 func (x *ProxyAddress) GetUri() string {
125 139
126 cret := xProxyAddressGetUri(x.GoPointer())140 cret := xProxyAddressGetUri(x.GoPointer())
141+
127 return cret142 return cret
128 }143 }
129 144
@@ -133,6 +148,7 @@ var xProxyAddressGetUsername func(uintptr) string
133 func (x *ProxyAddress) GetUsername() string {148 func (x *ProxyAddress) GetUsername() string {
134 149
135 cret := xProxyAddressGetUsername(x.GoPointer())150 cret := xProxyAddressGetUsername(x.GoPointer())
151+
136 return cret152 return cret
137 }153 }
138 154
@@ -314,6 +330,7 @@ func (x *ProxyAddress) ProxyEnumerate() *SocketAddressEnumerator {
314 func (x *ProxyAddress) ToString() string {330 func (x *ProxyAddress) ToString() string {
315 331
316 cret := XGSocketConnectableToString(x.GoPointer())332 cret := XGSocketConnectableToString(x.GoPointer())
333+
317 return cret334 return cret
318 }335 }
319 336
M v4/gio/gproxyresolver.go +3 -0
@@ -183,6 +183,7 @@ func (x *ProxyResolverBase) SetGoPointer(ptr uintptr) {
183 func (x *ProxyResolverBase) IsSupported() bool {183 func (x *ProxyResolverBase) IsSupported() bool {
184 184
185 cret := XGProxyResolverIsSupported(x.GoPointer())185 cret := XGProxyResolverIsSupported(x.GoPointer())
186+
186 return cret187 return cret
187 }188 }
188 189
@@ -205,6 +206,7 @@ func (x *ProxyResolverBase) Lookup(UriVar string, CancellableVar *Cancellable) (
205 var cerr *glib.Error206 var cerr *glib.Error
206 207
207 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)208 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)
209+
208 if cerr == nil {210 if cerr == nil {
209 return cret, nil211 return cret, nil
210 }212 }
@@ -227,6 +229,7 @@ func (x *ProxyResolverBase) LookupFinish(ResultVar AsyncResult) ([]string, error
227 var cerr *glib.Error229 var cerr *glib.Error
228 230
229 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)231 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
232+
230 if cerr == nil {233 if cerr == nil {
231 return cret, nil234 return cret, nil
232 }235 }
M v4/gio/gresolver.go +12 -0
@@ -455,6 +455,7 @@ var xResolverErrorQuark func() glib.Quark
455 func ResolverErrorQuark() glib.Quark {455 func ResolverErrorQuark() glib.Quark {
456 456
457 cret := xResolverErrorQuark()457 cret := xResolverErrorQuark()
458+
458 return cret459 return cret
459 }460 }
460 461
@@ -499,6 +500,7 @@ var xResolverGetTimeout func(uintptr) uint
499 func (x *Resolver) GetTimeout() uint {500 func (x *Resolver) GetTimeout() uint {
500 501
501 cret := xResolverGetTimeout(x.GoPointer())502 cret := xResolverGetTimeout(x.GoPointer())
503+
502 return cret504 return cret
503 }505 }
504 506
@@ -517,6 +519,7 @@ func (x *Resolver) LookupByAddress(AddressVar *InetAddress, CancellableVar *Canc
517 var cerr *glib.Error519 var cerr *glib.Error
518 520
519 cret := xResolverLookupByAddress(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)521 cret := xResolverLookupByAddress(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
522+
520 if cerr == nil {523 if cerr == nil {
521 return cret, nil524 return cret, nil
522 }525 }
@@ -562,6 +565,7 @@ func (x *Resolver) LookupByAddressFinish(ResultVar AsyncResult) (string, error)
562 var cerr *glib.Error565 var cerr *glib.Error
563 566
564 cret := xResolverLookupByAddressFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)567 cret := xResolverLookupByAddressFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
568+
565 if cerr == nil {569 if cerr == nil {
566 return cret, nil570 return cret, nil
567 }571 }
@@ -598,6 +602,7 @@ func (x *Resolver) LookupByName(HostnameVar string, CancellableVar *Cancellable)
598 var cerr *glib.Error602 var cerr *glib.Error
599 603
600 cret := xResolverLookupByName(x.GoPointer(), HostnameVar, CancellableVar.GoPointer(), &cerr)604 cret := xResolverLookupByName(x.GoPointer(), HostnameVar, CancellableVar.GoPointer(), &cerr)
605+
601 if cerr == nil {606 if cerr == nil {
602 return cret, nil607 return cret, nil
603 }608 }
@@ -644,6 +649,7 @@ func (x *Resolver) LookupByNameFinish(ResultVar AsyncResult) (*glib.List, error)
644 var cerr *glib.Error649 var cerr *glib.Error
645 650
646 cret := xResolverLookupByNameFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)651 cret := xResolverLookupByNameFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
652+
647 if cerr == nil {653 if cerr == nil {
648 return cret, nil654 return cret, nil
649 }655 }
@@ -660,6 +666,7 @@ func (x *Resolver) LookupByNameWithFlags(HostnameVar string, FlagsVar ResolverNa
660 var cerr *glib.Error666 var cerr *glib.Error
661 667
662 cret := xResolverLookupByNameWithFlags(x.GoPointer(), HostnameVar, FlagsVar, CancellableVar.GoPointer(), &cerr)668 cret := xResolverLookupByNameWithFlags(x.GoPointer(), HostnameVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
669+
663 if cerr == nil {670 if cerr == nil {
664 return cret, nil671 return cret, nil
665 }672 }
@@ -706,6 +713,7 @@ func (x *Resolver) LookupByNameWithFlagsFinish(ResultVar AsyncResult) (*glib.Lis
706 var cerr *glib.Error713 var cerr *glib.Error
707 714
708 cret := xResolverLookupByNameWithFlagsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)715 cret := xResolverLookupByNameWithFlagsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
716+
709 if cerr == nil {717 if cerr == nil {
710 return cret, nil718 return cret, nil
711 }719 }
@@ -729,6 +737,7 @@ func (x *Resolver) LookupRecords(RrnameVar string, RecordTypeVar ResolverRecordT
729 var cerr *glib.Error737 var cerr *glib.Error
730 738
731 cret := xResolverLookupRecords(x.GoPointer(), RrnameVar, RecordTypeVar, CancellableVar.GoPointer(), &cerr)739 cret := xResolverLookupRecords(x.GoPointer(), RrnameVar, RecordTypeVar, CancellableVar.GoPointer(), &cerr)
740+
732 if cerr == nil {741 if cerr == nil {
733 return cret, nil742 return cret, nil
734 }743 }
@@ -777,6 +786,7 @@ func (x *Resolver) LookupRecordsFinish(ResultVar AsyncResult) (*glib.List, error
777 var cerr *glib.Error786 var cerr *glib.Error
778 787
779 cret := xResolverLookupRecordsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)788 cret := xResolverLookupRecordsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
789+
780 if cerr == nil {790 if cerr == nil {
781 return cret, nil791 return cret, nil
782 }792 }
@@ -811,6 +821,7 @@ func (x *Resolver) LookupService(ServiceVar string, ProtocolVar string, DomainVa
811 var cerr *glib.Error821 var cerr *glib.Error
812 822
813 cret := xResolverLookupService(x.GoPointer(), ServiceVar, ProtocolVar, DomainVar, CancellableVar.GoPointer(), &cerr)823 cret := xResolverLookupService(x.GoPointer(), ServiceVar, ProtocolVar, DomainVar, CancellableVar.GoPointer(), &cerr)
824+
814 if cerr == nil {825 if cerr == nil {
815 return cret, nil826 return cret, nil
816 }827 }
@@ -858,6 +869,7 @@ func (x *Resolver) LookupServiceFinish(ResultVar AsyncResult) (*glib.List, error
858 var cerr *glib.Error869 var cerr *glib.Error
859 870
860 cret := xResolverLookupServiceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)871 cret := xResolverLookupServiceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
872+
861 if cerr == nil {873 if cerr == nil {
862 return cret, nil874 return cret, nil
863 }875 }
M v4/gio/gresource.go +7 -0
@@ -55,6 +55,7 @@ var xStaticResourceGetResource func(uintptr) *Resource
55 func (x *StaticResource) GetResource() *Resource {55 func (x *StaticResource) GetResource() *Resource {
56 56
57 cret := xStaticResourceGetResource(x.GoPointer())57 cret := xStaticResourceGetResource(x.GoPointer())
58+
58 return cret59 return cret
59 }60 }
60 61
@@ -78,6 +79,7 @@ var xResourceErrorQuark func() glib.Quark
78 func ResourceErrorQuark() glib.Quark {79 func ResourceErrorQuark() glib.Quark {
79 80
80 cret := xResourceErrorQuark()81 cret := xResourceErrorQuark()
82+
81 return cret83 return cret
82 }84 }
83 85
@@ -97,6 +99,7 @@ func ResourceLoad(FilenameVar string) (*Resource, error) {
97 var cerr *glib.Error99 var cerr *glib.Error
98 100
99 cret := xResourceLoad(FilenameVar, &cerr)101 cret := xResourceLoad(FilenameVar, &cerr)
102+
100 if cerr == nil {103 if cerr == nil {
101 return cret, nil104 return cret, nil
102 }105 }
@@ -117,6 +120,7 @@ func ResourcesEnumerateChildren(PathVar string, LookupFlagsVar ResourceLookupFla
117 var cerr *glib.Error120 var cerr *glib.Error
118 121
119 cret := xResourcesEnumerateChildren(PathVar, LookupFlagsVar, &cerr)122 cret := xResourcesEnumerateChildren(PathVar, LookupFlagsVar, &cerr)
123+
120 if cerr == nil {124 if cerr == nil {
121 return cret, nil125 return cret, nil
122 }126 }
@@ -134,6 +138,7 @@ func ResourcesGetInfo(PathVar string, LookupFlagsVar ResourceLookupFlags, SizeVa
134 var cerr *glib.Error138 var cerr *glib.Error
135 139
136 cret := xResourcesGetInfo(PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr)140 cret := xResourcesGetInfo(PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr)
141+
137 if cerr == nil {142 if cerr == nil {
138 return cret, nil143 return cret, nil
139 }144 }
@@ -148,6 +153,7 @@ var xResourcesHasChildren func(string) bool
148 func ResourcesHasChildren(PathVar string) bool {153 func ResourcesHasChildren(PathVar string) bool {
149 154
150 cret := xResourcesHasChildren(PathVar)155 cret := xResourcesHasChildren(PathVar)
156+
151 return cret157 return cret
152 }158 }
153 159
@@ -171,6 +177,7 @@ func ResourcesLookupData(PathVar string, LookupFlagsVar ResourceLookupFlags) (*g
171 var cerr *glib.Error177 var cerr *glib.Error
172 178
173 cret := xResourcesLookupData(PathVar, LookupFlagsVar, &cerr)179 cret := xResourcesLookupData(PathVar, LookupFlagsVar, &cerr)
180+
174 if cerr == nil {181 if cerr == nil {
175 return cret, nil182 return cret, nil
176 }183 }
M v4/gio/gseekable.go +5 -0
@@ -206,6 +206,7 @@ func (x *SeekableBase) SetGoPointer(ptr uintptr) {
206 func (x *SeekableBase) CanSeek() bool {206 func (x *SeekableBase) CanSeek() bool {
207 207
208 cret := XGSeekableCanSeek(x.GoPointer())208 cret := XGSeekableCanSeek(x.GoPointer())
209+
209 return cret210 return cret
210 }211 }
211 212
@@ -214,6 +215,7 @@ func (x *SeekableBase) CanSeek() bool {
214 func (x *SeekableBase) CanTruncate() bool {215 func (x *SeekableBase) CanTruncate() bool {
215 216
216 cret := XGSeekableCanTruncate(x.GoPointer())217 cret := XGSeekableCanTruncate(x.GoPointer())
218+
217 return cret219 return cret
218 }220 }
219 221
@@ -235,6 +237,7 @@ func (x *SeekableBase) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV
235 var cerr *glib.Error237 var cerr *glib.Error
236 238
237 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)239 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
240+
238 if cerr == nil {241 if cerr == nil {
239 return cret, nil242 return cret, nil
240 }243 }
@@ -246,6 +249,7 @@ func (x *SeekableBase) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV
246 func (x *SeekableBase) Tell() int64 {249 func (x *SeekableBase) Tell() int64 {
247 250
248 cret := XGSeekableTell(x.GoPointer())251 cret := XGSeekableTell(x.GoPointer())
252+
249 return cret253 return cret
250 }254 }
251 255
@@ -262,6 +266,7 @@ func (x *SeekableBase) Truncate(OffsetVar int64, CancellableVar *Cancellable) (b
262 var cerr *glib.Error266 var cerr *glib.Error
263 267
264 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)268 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
269+
265 if cerr == nil {270 if cerr == nil {
266 return cret, nil271 return cret, nil
267 }272 }
M v4/gio/gsettings.go +40 -1
@@ -3,6 +3,7 @@ package gio
3 3
4 import (4 import (
5 "fmt"5 "fmt"
6+ "runtime"
6 "structs"7 "structs"
7 "unsafe"8 "unsafe"
8 9
@@ -658,7 +659,11 @@ var xNewSettingsFull func(*SettingsSchema, uintptr, uintptr) uintptr
658 func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar *string) *Settings {659 func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar *string) *Settings {
659 var cls *Settings660 var cls *Settings
660 661
661- cret := xNewSettingsFull(SchemaVar, BackendVar.GoPointer(), core.NullableStringToPtr(PathVar))662+ PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar)
663+
664+ cret := xNewSettingsFull(SchemaVar, BackendVar.GoPointer(), PathVarPtr)
665+
666+ runtime.KeepAlive(PathVarBytes)
662 667
663 if cret == 0 {668 if cret == 0 {
664 return nil669 return nil
@@ -949,6 +954,7 @@ var xSettingsGetBoolean func(uintptr, string) bool
949 func (x *Settings) GetBoolean(KeyVar string) bool {954 func (x *Settings) GetBoolean(KeyVar string) bool {
950 955
951 cret := xSettingsGetBoolean(x.GoPointer(), KeyVar)956 cret := xSettingsGetBoolean(x.GoPointer(), KeyVar)
957+
952 return cret958 return cret
953 }959 }
954 960
@@ -1002,6 +1008,7 @@ var xSettingsGetDefaultValue func(uintptr, string) *glib.Variant
1002 func (x *Settings) GetDefaultValue(KeyVar string) *glib.Variant {1008 func (x *Settings) GetDefaultValue(KeyVar string) *glib.Variant {
1003 1009
1004 cret := xSettingsGetDefaultValue(x.GoPointer(), KeyVar)1010 cret := xSettingsGetDefaultValue(x.GoPointer(), KeyVar)
1011+
1005 return cret1012 return cret
1006 }1013 }
1007 1014
@@ -1016,6 +1023,7 @@ var xSettingsGetDouble func(uintptr, string) float64
1016 func (x *Settings) GetDouble(KeyVar string) float64 {1023 func (x *Settings) GetDouble(KeyVar string) float64 {
1017 1024
1018 cret := xSettingsGetDouble(x.GoPointer(), KeyVar)1025 cret := xSettingsGetDouble(x.GoPointer(), KeyVar)
1026+
1019 return cret1027 return cret
1020 }1028 }
1021 1029
@@ -1036,6 +1044,7 @@ var xSettingsGetEnum func(uintptr, string) int
1036 func (x *Settings) GetEnum(KeyVar string) int {1044 func (x *Settings) GetEnum(KeyVar string) int {
1037 1045
1038 cret := xSettingsGetEnum(x.GoPointer(), KeyVar)1046 cret := xSettingsGetEnum(x.GoPointer(), KeyVar)
1047+
1039 return cret1048 return cret
1040 }1049 }
1041 1050
@@ -1056,6 +1065,7 @@ var xSettingsGetFlags func(uintptr, string) uint
1056 func (x *Settings) GetFlags(KeyVar string) uint {1065 func (x *Settings) GetFlags(KeyVar string) uint {
1057 1066
1058 cret := xSettingsGetFlags(x.GoPointer(), KeyVar)1067 cret := xSettingsGetFlags(x.GoPointer(), KeyVar)
1068+
1059 return cret1069 return cret
1060 }1070 }
1061 1071
@@ -1069,6 +1079,7 @@ var xSettingsGetHasUnapplied func(uintptr) bool
1069 func (x *Settings) GetHasUnapplied() bool {1079 func (x *Settings) GetHasUnapplied() bool {
1070 1080
1071 cret := xSettingsGetHasUnapplied(x.GoPointer())1081 cret := xSettingsGetHasUnapplied(x.GoPointer())
1082+
1072 return cret1083 return cret
1073 }1084 }
1074 1085
@@ -1083,6 +1094,7 @@ var xSettingsGetInt func(uintptr, string) int
1083 func (x *Settings) GetInt(KeyVar string) int {1094 func (x *Settings) GetInt(KeyVar string) int {
1084 1095
1085 cret := xSettingsGetInt(x.GoPointer(), KeyVar)1096 cret := xSettingsGetInt(x.GoPointer(), KeyVar)
1097+
1086 return cret1098 return cret
1087 }1099 }
1088 1100
@@ -1097,6 +1109,7 @@ var xSettingsGetInt64 func(uintptr, string) int64
1097 func (x *Settings) GetInt64(KeyVar string) int64 {1109 func (x *Settings) GetInt64(KeyVar string) int64 {
1098 1110
1099 cret := xSettingsGetInt64(x.GoPointer(), KeyVar)1111 cret := xSettingsGetInt64(x.GoPointer(), KeyVar)
1112+
1100 return cret1113 return cret
1101 }1114 }
1102 1115
@@ -1147,6 +1160,7 @@ func (x *Settings) GetMapped(KeyVar string, MappingVar *SettingsGetMapping, User
1147 }1160 }
1148 1161
1149 cret := xSettingsGetMapped(x.GoPointer(), KeyVar, MappingVarRef, UserDataVar)1162 cret := xSettingsGetMapped(x.GoPointer(), KeyVar, MappingVarRef, UserDataVar)
1163+
1150 return cret1164 return cret
1151 }1165 }
1152 1166
@@ -1156,6 +1170,7 @@ var xSettingsGetRange func(uintptr, string) *glib.Variant
1156 func (x *Settings) GetRange(KeyVar string) *glib.Variant {1170 func (x *Settings) GetRange(KeyVar string) *glib.Variant {
1157 1171
1158 cret := xSettingsGetRange(x.GoPointer(), KeyVar)1172 cret := xSettingsGetRange(x.GoPointer(), KeyVar)
1173+
1159 return cret1174 return cret
1160 }1175 }
1161 1176
@@ -1170,6 +1185,7 @@ var xSettingsGetString func(uintptr, string) string
1170 func (x *Settings) GetString(KeyVar string) string {1185 func (x *Settings) GetString(KeyVar string) string {
1171 1186
1172 cret := xSettingsGetString(x.GoPointer(), KeyVar)1187 cret := xSettingsGetString(x.GoPointer(), KeyVar)
1188+
1173 return cret1189 return cret
1174 }1190 }
1175 1191
@@ -1182,6 +1198,7 @@ var xSettingsGetStrv func(uintptr, string) []string
1182 func (x *Settings) GetStrv(KeyVar string) []string {1198 func (x *Settings) GetStrv(KeyVar string) []string {
1183 1199
1184 cret := xSettingsGetStrv(x.GoPointer(), KeyVar)1200 cret := xSettingsGetStrv(x.GoPointer(), KeyVar)
1201+
1185 return cret1202 return cret
1186 }1203 }
1187 1204
@@ -1197,6 +1214,7 @@ var xSettingsGetUint func(uintptr, string) uint
1197 func (x *Settings) GetUint(KeyVar string) uint {1214 func (x *Settings) GetUint(KeyVar string) uint {
1198 1215
1199 cret := xSettingsGetUint(x.GoPointer(), KeyVar)1216 cret := xSettingsGetUint(x.GoPointer(), KeyVar)
1217+
1200 return cret1218 return cret
1201 }1219 }
1202 1220
@@ -1212,6 +1230,7 @@ var xSettingsGetUint64 func(uintptr, string) uint64
1212 func (x *Settings) GetUint64(KeyVar string) uint64 {1230 func (x *Settings) GetUint64(KeyVar string) uint64 {
1213 1231
1214 cret := xSettingsGetUint64(x.GoPointer(), KeyVar)1232 cret := xSettingsGetUint64(x.GoPointer(), KeyVar)
1233+
1215 return cret1234 return cret
1216 }1235 }
1217 1236
@@ -1238,6 +1257,7 @@ var xSettingsGetUserValue func(uintptr, string) *glib.Variant
1238 func (x *Settings) GetUserValue(KeyVar string) *glib.Variant {1257 func (x *Settings) GetUserValue(KeyVar string) *glib.Variant {
1239 1258
1240 cret := xSettingsGetUserValue(x.GoPointer(), KeyVar)1259 cret := xSettingsGetUserValue(x.GoPointer(), KeyVar)
1260+
1241 return cret1261 return cret
1242 }1262 }
1243 1263
@@ -1250,6 +1270,7 @@ var xSettingsGetValue func(uintptr, string) *glib.Variant
1250 func (x *Settings) GetValue(KeyVar string) *glib.Variant {1270 func (x *Settings) GetValue(KeyVar string) *glib.Variant {
1251 1271
1252 cret := xSettingsGetValue(x.GoPointer(), KeyVar)1272 cret := xSettingsGetValue(x.GoPointer(), KeyVar)
1273+
1253 return cret1274 return cret
1254 }1275 }
1255 1276
@@ -1259,6 +1280,7 @@ var xSettingsIsWritable func(uintptr, string) bool
1259 func (x *Settings) IsWritable(NameVar string) bool {1280 func (x *Settings) IsWritable(NameVar string) bool {
1260 1281
1261 cret := xSettingsIsWritable(x.GoPointer(), NameVar)1282 cret := xSettingsIsWritable(x.GoPointer(), NameVar)
1283+
1262 return cret1284 return cret
1263 }1285 }
1264 1286
@@ -1278,6 +1300,7 @@ var xSettingsListChildren func(uintptr) []string
1278 func (x *Settings) ListChildren() []string {1300 func (x *Settings) ListChildren() []string {
1279 1301
1280 cret := xSettingsListChildren(x.GoPointer())1302 cret := xSettingsListChildren(x.GoPointer())
1303+
1281 return cret1304 return cret
1282 }1305 }
1283 1306
@@ -1294,6 +1317,7 @@ var xSettingsListKeys func(uintptr) []string
1294 func (x *Settings) ListKeys() []string {1317 func (x *Settings) ListKeys() []string {
1295 1318
1296 cret := xSettingsListKeys(x.GoPointer())1319 cret := xSettingsListKeys(x.GoPointer())
1320+
1297 return cret1321 return cret
1298 }1322 }
1299 1323
@@ -1304,6 +1328,7 @@ var xSettingsRangeCheck func(uintptr, string, *glib.Variant) bool
1304 func (x *Settings) RangeCheck(KeyVar string, ValueVar *glib.Variant) bool {1328 func (x *Settings) RangeCheck(KeyVar string, ValueVar *glib.Variant) bool {
1305 1329
1306 cret := xSettingsRangeCheck(x.GoPointer(), KeyVar, ValueVar)1330 cret := xSettingsRangeCheck(x.GoPointer(), KeyVar, ValueVar)
1331+
1307 return cret1332 return cret
1308 }1333 }
1309 1334
@@ -1348,6 +1373,7 @@ var xSettingsSet func(uintptr, string, string, ...interface{}) bool
1348 func (x *Settings) Set(KeyVar string, FormatVar string, varArgs ...interface{}) bool {1373 func (x *Settings) Set(KeyVar string, FormatVar string, varArgs ...interface{}) bool {
1349 1374
1350 cret := xSettingsSet(x.GoPointer(), KeyVar, FormatVar, varArgs...)1375 cret := xSettingsSet(x.GoPointer(), KeyVar, FormatVar, varArgs...)
1376+
1351 return cret1377 return cret
1352 }1378 }
1353 1379
@@ -1362,6 +1388,7 @@ var xSettingsSetBoolean func(uintptr, string, bool) bool
1362 func (x *Settings) SetBoolean(KeyVar string, ValueVar bool) bool {1388 func (x *Settings) SetBoolean(KeyVar string, ValueVar bool) bool {
1363 1389
1364 cret := xSettingsSetBoolean(x.GoPointer(), KeyVar, ValueVar)1390 cret := xSettingsSetBoolean(x.GoPointer(), KeyVar, ValueVar)
1391+
1365 return cret1392 return cret
1366 }1393 }
1367 1394
@@ -1376,6 +1403,7 @@ var xSettingsSetDouble func(uintptr, string, float64) bool
1376 func (x *Settings) SetDouble(KeyVar string, ValueVar float64) bool {1403 func (x *Settings) SetDouble(KeyVar string, ValueVar float64) bool {
1377 1404
1378 cret := xSettingsSetDouble(x.GoPointer(), KeyVar, ValueVar)1405 cret := xSettingsSetDouble(x.GoPointer(), KeyVar, ValueVar)
1406+
1379 return cret1407 return cret
1380 }1408 }
1381 1409
@@ -1394,6 +1422,7 @@ var xSettingsSetEnum func(uintptr, string, int) bool
1394 func (x *Settings) SetEnum(KeyVar string, ValueVar int) bool {1422 func (x *Settings) SetEnum(KeyVar string, ValueVar int) bool {
1395 1423
1396 cret := xSettingsSetEnum(x.GoPointer(), KeyVar, ValueVar)1424 cret := xSettingsSetEnum(x.GoPointer(), KeyVar, ValueVar)
1425+
1397 return cret1426 return cret
1398 }1427 }
1399 1428
@@ -1413,6 +1442,7 @@ var xSettingsSetFlags func(uintptr, string, uint) bool
1413 func (x *Settings) SetFlags(KeyVar string, ValueVar uint) bool {1442 func (x *Settings) SetFlags(KeyVar string, ValueVar uint) bool {
1414 1443
1415 cret := xSettingsSetFlags(x.GoPointer(), KeyVar, ValueVar)1444 cret := xSettingsSetFlags(x.GoPointer(), KeyVar, ValueVar)
1445+
1416 return cret1446 return cret
1417 }1447 }
1418 1448
@@ -1427,6 +1457,7 @@ var xSettingsSetInt func(uintptr, string, int) bool
1427 func (x *Settings) SetInt(KeyVar string, ValueVar int) bool {1457 func (x *Settings) SetInt(KeyVar string, ValueVar int) bool {
1428 1458
1429 cret := xSettingsSetInt(x.GoPointer(), KeyVar, ValueVar)1459 cret := xSettingsSetInt(x.GoPointer(), KeyVar, ValueVar)
1460+
1430 return cret1461 return cret
1431 }1462 }
1432 1463
@@ -1441,6 +1472,7 @@ var xSettingsSetInt64 func(uintptr, string, int64) bool
1441 func (x *Settings) SetInt64(KeyVar string, ValueVar int64) bool {1472 func (x *Settings) SetInt64(KeyVar string, ValueVar int64) bool {
1442 1473
1443 cret := xSettingsSetInt64(x.GoPointer(), KeyVar, ValueVar)1474 cret := xSettingsSetInt64(x.GoPointer(), KeyVar, ValueVar)
1475+
1444 return cret1476 return cret
1445 }1477 }
1446 1478
@@ -1455,6 +1487,7 @@ var xSettingsSetString func(uintptr, string, string) bool
1455 func (x *Settings) SetString(KeyVar string, ValueVar string) bool {1487 func (x *Settings) SetString(KeyVar string, ValueVar string) bool {
1456 1488
1457 cret := xSettingsSetString(x.GoPointer(), KeyVar, ValueVar)1489 cret := xSettingsSetString(x.GoPointer(), KeyVar, ValueVar)
1490+
1458 return cret1491 return cret
1459 }1492 }
1460 1493
@@ -1470,6 +1503,7 @@ var xSettingsSetStrv func(uintptr, string, []string) bool
1470 func (x *Settings) SetStrv(KeyVar string, ValueVar []string) bool {1503 func (x *Settings) SetStrv(KeyVar string, ValueVar []string) bool {
1471 1504
1472 cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar)1505 cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar)
1506+
1473 return cret1507 return cret
1474 }1508 }
1475 1509
@@ -1485,6 +1519,7 @@ var xSettingsSetUint func(uintptr, string, uint) bool
1485 func (x *Settings) SetUint(KeyVar string, ValueVar uint) bool {1519 func (x *Settings) SetUint(KeyVar string, ValueVar uint) bool {
1486 1520
1487 cret := xSettingsSetUint(x.GoPointer(), KeyVar, ValueVar)1521 cret := xSettingsSetUint(x.GoPointer(), KeyVar, ValueVar)
1522+
1488 return cret1523 return cret
1489 }1524 }
1490 1525
@@ -1500,6 +1535,7 @@ var xSettingsSetUint64 func(uintptr, string, uint64) bool
1500 func (x *Settings) SetUint64(KeyVar string, ValueVar uint64) bool {1535 func (x *Settings) SetUint64(KeyVar string, ValueVar uint64) bool {
1501 1536
1502 cret := xSettingsSetUint64(x.GoPointer(), KeyVar, ValueVar)1537 cret := xSettingsSetUint64(x.GoPointer(), KeyVar, ValueVar)
1538+
1503 return cret1539 return cret
1504 }1540 }
1505 1541
@@ -1515,6 +1551,7 @@ var xSettingsSetValue func(uintptr, string, *glib.Variant) bool
1515 func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool {1551 func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool {
1516 1552
1517 cret := xSettingsSetValue(x.GoPointer(), KeyVar, ValueVar)1553 cret := xSettingsSetValue(x.GoPointer(), KeyVar, ValueVar)
1554+
1518 return cret1555 return cret
1519 }1556 }
1520 1557
@@ -1828,6 +1865,7 @@ var xSettingsListRelocatableSchemas func() []string
1828 func SettingsListRelocatableSchemas() []string {1865 func SettingsListRelocatableSchemas() []string {
1829 1866
1830 cret := xSettingsListRelocatableSchemas()1867 cret := xSettingsListRelocatableSchemas()
1868+
1831 return cret1869 return cret
1832 }1870 }
1833 1871
@@ -1837,6 +1875,7 @@ var xSettingsListSchemas func() []string
1837 func SettingsListSchemas() []string {1875 func SettingsListSchemas() []string {
1838 1876
1839 cret := xSettingsListSchemas()1877 cret := xSettingsListSchemas()
1878+
1840 return cret1879 return cret
1841 }1880 }
1842 1881
M v4/gio/gsettingsbackend.go +6 -1
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -372,7 +373,11 @@ var xKeyfileSettingsBackendNew func(string, string, uintptr) uintptr
372 func KeyfileSettingsBackendNew(FilenameVar string, RootPathVar string, RootGroupVar *string) *SettingsBackend {373 func KeyfileSettingsBackendNew(FilenameVar string, RootPathVar string, RootGroupVar *string) *SettingsBackend {
373 var cls *SettingsBackend374 var cls *SettingsBackend
374 375
375- cret := xKeyfileSettingsBackendNew(FilenameVar, RootPathVar, core.NullableStringToPtr(RootGroupVar))376+ RootGroupVarPtr, RootGroupVarBytes := core.NullableStringToPtr(RootGroupVar)
377+
378+ cret := xKeyfileSettingsBackendNew(FilenameVar, RootPathVar, RootGroupVarPtr)
379+
380+ runtime.KeepAlive(RootGroupVarBytes)
376 381
377 if cret == 0 {382 if cret == 0 {
378 return nil383 return nil
M v4/gio/gsettingsschema.go +19 -0
@@ -128,6 +128,7 @@ var xSettingsSchemaGetId func(uintptr) string
128 func (x *SettingsSchema) GetId() string {128 func (x *SettingsSchema) GetId() string {
129 129
130 cret := xSettingsSchemaGetId(x.GoPointer())130 cret := xSettingsSchemaGetId(x.GoPointer())
131+
131 return cret132 return cret
132 }133 }
133 134
@@ -140,6 +141,7 @@ var xSettingsSchemaGetKey func(uintptr, string) *SettingsSchemaKey
140 func (x *SettingsSchema) GetKey(NameVar string) *SettingsSchemaKey {141 func (x *SettingsSchema) GetKey(NameVar string) *SettingsSchemaKey {
141 142
142 cret := xSettingsSchemaGetKey(x.GoPointer(), NameVar)143 cret := xSettingsSchemaGetKey(x.GoPointer(), NameVar)
144+
143 return cret145 return cret
144 }146 }
145 147
@@ -157,6 +159,7 @@ var xSettingsSchemaGetPath func(uintptr) string
157 func (x *SettingsSchema) GetPath() string {159 func (x *SettingsSchema) GetPath() string {
158 160
159 cret := xSettingsSchemaGetPath(x.GoPointer())161 cret := xSettingsSchemaGetPath(x.GoPointer())
162+
160 return cret163 return cret
161 }164 }
162 165
@@ -166,6 +169,7 @@ var xSettingsSchemaHasKey func(uintptr, string) bool
166 func (x *SettingsSchema) HasKey(NameVar string) bool {169 func (x *SettingsSchema) HasKey(NameVar string) bool {
167 170
168 cret := xSettingsSchemaHasKey(x.GoPointer(), NameVar)171 cret := xSettingsSchemaHasKey(x.GoPointer(), NameVar)
172+
169 return cret173 return cret
170 }174 }
171 175
@@ -178,6 +182,7 @@ var xSettingsSchemaListChildren func(uintptr) []string
178 func (x *SettingsSchema) ListChildren() []string {182 func (x *SettingsSchema) ListChildren() []string {
179 183
180 cret := xSettingsSchemaListChildren(x.GoPointer())184 cret := xSettingsSchemaListChildren(x.GoPointer())
185+
181 return cret186 return cret
182 }187 }
183 188
@@ -191,6 +196,7 @@ var xSettingsSchemaListKeys func(uintptr) []string
191 func (x *SettingsSchema) ListKeys() []string {196 func (x *SettingsSchema) ListKeys() []string {
192 197
193 cret := xSettingsSchemaListKeys(x.GoPointer())198 cret := xSettingsSchemaListKeys(x.GoPointer())
199+
194 return cret200 return cret
195 }201 }
196 202
@@ -200,6 +206,7 @@ var xSettingsSchemaRef func(uintptr) *SettingsSchema
200 func (x *SettingsSchema) Ref() *SettingsSchema {206 func (x *SettingsSchema) Ref() *SettingsSchema {
201 207
202 cret := xSettingsSchemaRef(x.GoPointer())208 cret := xSettingsSchemaRef(x.GoPointer())
209+
203 return cret210 return cret
204 }211 }
205 212
@@ -237,6 +244,7 @@ var xSettingsSchemaKeyGetDefaultValue func(uintptr) *glib.Variant
237 func (x *SettingsSchemaKey) GetDefaultValue() *glib.Variant {244 func (x *SettingsSchemaKey) GetDefaultValue() *glib.Variant {
238 245
239 cret := xSettingsSchemaKeyGetDefaultValue(x.GoPointer())246 cret := xSettingsSchemaKeyGetDefaultValue(x.GoPointer())
247+
240 return cret248 return cret
241 }249 }
242 250
@@ -259,6 +267,7 @@ var xSettingsSchemaKeyGetDescription func(uintptr) string
259 func (x *SettingsSchemaKey) GetDescription() string {267 func (x *SettingsSchemaKey) GetDescription() string {
260 268
261 cret := xSettingsSchemaKeyGetDescription(x.GoPointer())269 cret := xSettingsSchemaKeyGetDescription(x.GoPointer())
270+
262 return cret271 return cret
263 }272 }
264 273
@@ -268,6 +277,7 @@ var xSettingsSchemaKeyGetName func(uintptr) string
268 func (x *SettingsSchemaKey) GetName() string {277 func (x *SettingsSchemaKey) GetName() string {
269 278
270 cret := xSettingsSchemaKeyGetName(x.GoPointer())279 cret := xSettingsSchemaKeyGetName(x.GoPointer())
280+
271 return cret281 return cret
272 }282 }
273 283
@@ -312,6 +322,7 @@ var xSettingsSchemaKeyGetRange func(uintptr) *glib.Variant
312 func (x *SettingsSchemaKey) GetRange() *glib.Variant {322 func (x *SettingsSchemaKey) GetRange() *glib.Variant {
313 323
314 cret := xSettingsSchemaKeyGetRange(x.GoPointer())324 cret := xSettingsSchemaKeyGetRange(x.GoPointer())
325+
315 return cret326 return cret
316 }327 }
317 328
@@ -333,6 +344,7 @@ var xSettingsSchemaKeyGetSummary func(uintptr) string
333 func (x *SettingsSchemaKey) GetSummary() string {344 func (x *SettingsSchemaKey) GetSummary() string {
334 345
335 cret := xSettingsSchemaKeyGetSummary(x.GoPointer())346 cret := xSettingsSchemaKeyGetSummary(x.GoPointer())
347+
336 return cret348 return cret
337 }349 }
338 350
@@ -342,6 +354,7 @@ var xSettingsSchemaKeyGetValueType func(uintptr) *glib.VariantType
342 func (x *SettingsSchemaKey) GetValueType() *glib.VariantType {354 func (x *SettingsSchemaKey) GetValueType() *glib.VariantType {
343 355
344 cret := xSettingsSchemaKeyGetValueType(x.GoPointer())356 cret := xSettingsSchemaKeyGetValueType(x.GoPointer())
357+
345 return cret358 return cret
346 }359 }
347 360
@@ -355,6 +368,7 @@ var xSettingsSchemaKeyRangeCheck func(uintptr, *glib.Variant) bool
355 func (x *SettingsSchemaKey) RangeCheck(ValueVar *glib.Variant) bool {368 func (x *SettingsSchemaKey) RangeCheck(ValueVar *glib.Variant) bool {
356 369
357 cret := xSettingsSchemaKeyRangeCheck(x.GoPointer(), ValueVar)370 cret := xSettingsSchemaKeyRangeCheck(x.GoPointer(), ValueVar)
371+
358 return cret372 return cret
359 }373 }
360 374
@@ -364,6 +378,7 @@ var xSettingsSchemaKeyRef func(uintptr) *SettingsSchemaKey
364 func (x *SettingsSchemaKey) Ref() *SettingsSchemaKey {378 func (x *SettingsSchemaKey) Ref() *SettingsSchemaKey {
365 379
366 cret := xSettingsSchemaKeyRef(x.GoPointer())380 cret := xSettingsSchemaKeyRef(x.GoPointer())
381+
367 return cret382 return cret
368 }383 }
369 384
@@ -428,6 +443,7 @@ func NewSettingsSchemaSourceFromDirectory(DirectoryVar string, ParentVar *Settin
428 var cerr *glib.Error443 var cerr *glib.Error
429 444
430 cret := xNewSettingsSchemaSourceFromDirectory(DirectoryVar, ParentVar, TrustedVar, &cerr)445 cret := xNewSettingsSchemaSourceFromDirectory(DirectoryVar, ParentVar, TrustedVar, &cerr)
446+
431 if cerr == nil {447 if cerr == nil {
432 return cret, nil448 return cret, nil
433 }449 }
@@ -470,6 +486,7 @@ var xSettingsSchemaSourceLookup func(uintptr, string, bool) *SettingsSchema
470 func (x *SettingsSchemaSource) Lookup(SchemaIdVar string, RecursiveVar bool) *SettingsSchema {486 func (x *SettingsSchemaSource) Lookup(SchemaIdVar string, RecursiveVar bool) *SettingsSchema {
471 487
472 cret := xSettingsSchemaSourceLookup(x.GoPointer(), SchemaIdVar, RecursiveVar)488 cret := xSettingsSchemaSourceLookup(x.GoPointer(), SchemaIdVar, RecursiveVar)
489+
473 return cret490 return cret
474 }491 }
475 492
@@ -479,6 +496,7 @@ var xSettingsSchemaSourceRef func(uintptr) *SettingsSchemaSource
479 func (x *SettingsSchemaSource) Ref() *SettingsSchemaSource {496 func (x *SettingsSchemaSource) Ref() *SettingsSchemaSource {
480 497
481 cret := xSettingsSchemaSourceRef(x.GoPointer())498 cret := xSettingsSchemaSourceRef(x.GoPointer())
499+
482 return cret500 return cret
483 }501 }
484 502
@@ -509,6 +527,7 @@ var xSettingsSchemaSourceGetDefault func() *SettingsSchemaSource
509 func SettingsSchemaSourceGetDefault() *SettingsSchemaSource {527 func SettingsSchemaSourceGetDefault() *SettingsSchemaSource {
510 528
511 cret := xSettingsSchemaSourceGetDefault()529 cret := xSettingsSchemaSourceGetDefault()
530+
512 return cret531 return cret
513 }532 }
514 533
M v4/gio/gsimpleaction.go +6 -0
@@ -336,6 +336,7 @@ func (x *SimpleAction) ChangeState(ValueVar *glib.Variant) {
336 func (x *SimpleAction) GetEnabled() bool {336 func (x *SimpleAction) GetEnabled() bool {
337 337
338 cret := XGActionGetEnabled(x.GoPointer())338 cret := XGActionGetEnabled(x.GoPointer())
339+
339 return cret340 return cret
340 }341 }
341 342
@@ -343,6 +344,7 @@ func (x *SimpleAction) GetEnabled() bool {
343 func (x *SimpleAction) GetName() string {344 func (x *SimpleAction) GetName() string {
344 345
345 cret := XGActionGetName(x.GoPointer())346 cret := XGActionGetName(x.GoPointer())
347+
346 return cret348 return cret
347 }349 }
348 350
@@ -358,6 +360,7 @@ func (x *SimpleAction) GetName() string {
358 func (x *SimpleAction) GetParameterType() *glib.VariantType {360 func (x *SimpleAction) GetParameterType() *glib.VariantType {
359 361
360 cret := XGActionGetParameterType(x.GoPointer())362 cret := XGActionGetParameterType(x.GoPointer())
363+
361 return cret364 return cret
362 }365 }
363 366
@@ -372,6 +375,7 @@ func (x *SimpleAction) GetParameterType() *glib.VariantType {
372 func (x *SimpleAction) GetState() *glib.Variant {375 func (x *SimpleAction) GetState() *glib.Variant {
373 376
374 cret := XGActionGetState(x.GoPointer())377 cret := XGActionGetState(x.GoPointer())
378+
375 return cret379 return cret
376 }380 }
377 381
@@ -396,6 +400,7 @@ func (x *SimpleAction) GetState() *glib.Variant {
396 func (x *SimpleAction) GetStateHint() *glib.Variant {400 func (x *SimpleAction) GetStateHint() *glib.Variant {
397 401
398 cret := XGActionGetStateHint(x.GoPointer())402 cret := XGActionGetStateHint(x.GoPointer())
403+
399 return cret404 return cret
400 }405 }
401 406
@@ -414,6 +419,7 @@ func (x *SimpleAction) GetStateHint() *glib.Variant {
414 func (x *SimpleAction) GetStateType() *glib.VariantType {419 func (x *SimpleAction) GetStateType() *glib.VariantType {
415 420
416 cret := XGActionGetStateType(x.GoPointer())421 cret := XGActionGetStateType(x.GoPointer())
422+
417 return cret423 return cret
418 }424 }
419 425
M v4/gio/gsimpleactiongroup.go +8 -0
@@ -231,6 +231,7 @@ func (x *SimpleActionGroup) ChangeActionState(ActionNameVar string, ValueVar *gl
231 func (x *SimpleActionGroup) GetActionEnabled(ActionNameVar string) bool {231 func (x *SimpleActionGroup) GetActionEnabled(ActionNameVar string) bool {
232 232
233 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)233 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
234+
234 return cret235 return cret
235 }236 }
236 237
@@ -250,6 +251,7 @@ func (x *SimpleActionGroup) GetActionEnabled(ActionNameVar string) bool {
250 func (x *SimpleActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType {251 func (x *SimpleActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType {
251 252
252 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)253 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
254+
253 return cret255 return cret
254 }256 }
255 257
@@ -264,6 +266,7 @@ func (x *SimpleActionGroup) GetActionParameterType(ActionNameVar string) *glib.V
264 func (x *SimpleActionGroup) GetActionState(ActionNameVar string) *glib.Variant {266 func (x *SimpleActionGroup) GetActionState(ActionNameVar string) *glib.Variant {
265 267
266 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)268 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
269+
267 return cret270 return cret
268 }271 }
269 272
@@ -288,6 +291,7 @@ func (x *SimpleActionGroup) GetActionState(ActionNameVar string) *glib.Variant {
288 func (x *SimpleActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant {291 func (x *SimpleActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant {
289 292
290 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)293 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
294+
291 return cret295 return cret
292 }296 }
293 297
@@ -310,6 +314,7 @@ func (x *SimpleActionGroup) GetActionStateHint(ActionNameVar string) *glib.Varia
310 func (x *SimpleActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType {314 func (x *SimpleActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType {
311 315
312 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)316 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
317+
313 return cret318 return cret
314 }319 }
315 320
@@ -317,6 +322,7 @@ func (x *SimpleActionGroup) GetActionStateType(ActionNameVar string) *glib.Varia
317 func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool {322 func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool {
318 323
319 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)324 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
325+
320 return cret326 return cret
321 }327 }
322 328
@@ -327,6 +333,7 @@ func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool {
327 func (x *SimpleActionGroup) ListActions() []string {333 func (x *SimpleActionGroup) ListActions() []string {
328 334
329 cret := XGActionGroupListActions(x.GoPointer())335 cret := XGActionGroupListActions(x.GoPointer())
336+
330 return cret337 return cret
331 }338 }
332 339
@@ -360,6 +367,7 @@ func (x *SimpleActionGroup) ListActions() []string {
360 func (x *SimpleActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {367 func (x *SimpleActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
361 368
362 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)369 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
370+
363 return cret371 return cret
364 }372 }
365 373
M v4/gio/gsimpleasyncresult.go +9 -0
@@ -457,6 +457,7 @@ var xSimpleAsyncResultGetOpResGboolean func(uintptr) bool
457 func (x *SimpleAsyncResult) GetOpResGboolean() bool {457 func (x *SimpleAsyncResult) GetOpResGboolean() bool {
458 458
459 cret := xSimpleAsyncResultGetOpResGboolean(x.GoPointer())459 cret := xSimpleAsyncResultGetOpResGboolean(x.GoPointer())
460+
460 return cret461 return cret
461 }462 }
462 463
@@ -466,6 +467,7 @@ var xSimpleAsyncResultGetOpResGpointer func(uintptr) uintptr
466 func (x *SimpleAsyncResult) GetOpResGpointer() uintptr {467 func (x *SimpleAsyncResult) GetOpResGpointer() uintptr {
467 468
468 cret := xSimpleAsyncResultGetOpResGpointer(x.GoPointer())469 cret := xSimpleAsyncResultGetOpResGpointer(x.GoPointer())
470+
469 return cret471 return cret
470 }472 }
471 473
@@ -475,6 +477,7 @@ var xSimpleAsyncResultGetOpResGssize func(uintptr) int
475 func (x *SimpleAsyncResult) GetOpResGssize() int {477 func (x *SimpleAsyncResult) GetOpResGssize() int {
476 478
477 cret := xSimpleAsyncResultGetOpResGssize(x.GoPointer())479 cret := xSimpleAsyncResultGetOpResGssize(x.GoPointer())
480+
478 return cret481 return cret
479 }482 }
480 483
@@ -484,6 +487,7 @@ var xSimpleAsyncResultGetSourceTag func(uintptr) uintptr
484 func (x *SimpleAsyncResult) GetSourceTag() uintptr {487 func (x *SimpleAsyncResult) GetSourceTag() uintptr {
485 488
486 cret := xSimpleAsyncResultGetSourceTag(x.GoPointer())489 cret := xSimpleAsyncResultGetSourceTag(x.GoPointer())
490+
487 return cret491 return cret
488 }492 }
489 493
@@ -499,6 +503,7 @@ func (x *SimpleAsyncResult) PropagateError() (bool, error) {
499 var cerr *glib.Error503 var cerr *glib.Error
500 504
501 cret := xSimpleAsyncResultPropagateError(x.GoPointer())505 cret := xSimpleAsyncResultPropagateError(x.GoPointer())
506+
502 if cerr == nil {507 if cerr == nil {
503 return cret, nil508 return cret, nil
504 }509 }
@@ -681,6 +686,7 @@ func (x *SimpleAsyncResult) GetSourceObject() *gobject.Object {
681 func (x *SimpleAsyncResult) GetUserData() uintptr {686 func (x *SimpleAsyncResult) GetUserData() uintptr {
682 687
683 cret := XGAsyncResultGetUserData(x.GoPointer())688 cret := XGAsyncResultGetUserData(x.GoPointer())
689+
684 return cret690 return cret
685 }691 }
686 692
@@ -689,6 +695,7 @@ func (x *SimpleAsyncResult) GetUserData() uintptr {
689 func (x *SimpleAsyncResult) IsTagged(SourceTagVar uintptr) bool {695 func (x *SimpleAsyncResult) IsTagged(SourceTagVar uintptr) bool {
690 696
691 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)697 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
698+
692 return cret699 return cret
693 }700 }
694 701
@@ -706,6 +713,7 @@ func (x *SimpleAsyncResult) LegacyPropagateError() (bool, error) {
706 var cerr *glib.Error713 var cerr *glib.Error
707 714
708 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())715 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())
716+
709 if cerr == nil {717 if cerr == nil {
710 return cret, nil718 return cret, nil
711 }719 }
@@ -730,6 +738,7 @@ var xSimpleAsyncResultIsValid func(uintptr, uintptr, uintptr) bool
730 func SimpleAsyncResultIsValid(ResultVar AsyncResult, SourceVar *gobject.Object, SourceTagVar uintptr) bool {738 func SimpleAsyncResultIsValid(ResultVar AsyncResult, SourceVar *gobject.Object, SourceTagVar uintptr) bool {
731 739
732 cret := xSimpleAsyncResultIsValid(ResultVar.GoPointer(), SourceVar.GoPointer(), SourceTagVar)740 cret := xSimpleAsyncResultIsValid(ResultVar.GoPointer(), SourceVar.GoPointer(), SourceTagVar)
741+
733 return cret742 return cret
734 }743 }
735 744
M v4/gio/gsimpleproxyresolver.go +14 -2
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -190,7 +191,11 @@ var xSimpleProxyResolverSetDefaultProxy func(uintptr, uintptr)
190 // the socks5, socks4a, and socks4 proxy types.191 // the socks5, socks4a, and socks4 proxy types.
191 func (x *SimpleProxyResolver) SetDefaultProxy(DefaultProxyVar *string) {192 func (x *SimpleProxyResolver) SetDefaultProxy(DefaultProxyVar *string) {
192 193
193- xSimpleProxyResolverSetDefaultProxy(x.GoPointer(), core.NullableStringToPtr(DefaultProxyVar))194+ DefaultProxyVarPtr, DefaultProxyVarBytes := core.NullableStringToPtr(DefaultProxyVar)
195+
196+ xSimpleProxyResolverSetDefaultProxy(x.GoPointer(), DefaultProxyVarPtr)
197+
198+ runtime.KeepAlive(DefaultProxyVarBytes)
194 199
195 }200 }
196 201
@@ -351,6 +356,7 @@ func (x *SimpleProxyResolver) GetPropertyIgnoreHosts() []string {
351 func (x *SimpleProxyResolver) IsSupported() bool {356 func (x *SimpleProxyResolver) IsSupported() bool {
352 357
353 cret := XGProxyResolverIsSupported(x.GoPointer())358 cret := XGProxyResolverIsSupported(x.GoPointer())
359+
354 return cret360 return cret
355 }361 }
356 362
@@ -373,6 +379,7 @@ func (x *SimpleProxyResolver) Lookup(UriVar string, CancellableVar *Cancellable)
373 var cerr *glib.Error379 var cerr *glib.Error
374 380
375 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)381 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)
382+
376 if cerr == nil {383 if cerr == nil {
377 return cret, nil384 return cret, nil
378 }385 }
@@ -395,6 +402,7 @@ func (x *SimpleProxyResolver) LookupFinish(ResultVar AsyncResult) ([]string, err
395 var cerr *glib.Error402 var cerr *glib.Error
396 403
397 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)404 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
405+
398 if cerr == nil {406 if cerr == nil {
399 return cret, nil407 return cret, nil
400 }408 }
@@ -411,7 +419,11 @@ var xSimpleProxyResolverNew func(uintptr, []string) uintptr
411 func SimpleProxyResolverNew(DefaultProxyVar *string, IgnoreHostsVar []string) *ProxyResolverBase {419 func SimpleProxyResolverNew(DefaultProxyVar *string, IgnoreHostsVar []string) *ProxyResolverBase {
412 var cls *ProxyResolverBase420 var cls *ProxyResolverBase
413 421
414- cret := xSimpleProxyResolverNew(core.NullableStringToPtr(DefaultProxyVar), IgnoreHostsVar)422+ DefaultProxyVarPtr, DefaultProxyVarBytes := core.NullableStringToPtr(DefaultProxyVar)
423+
424+ cret := xSimpleProxyResolverNew(DefaultProxyVarPtr, IgnoreHostsVar)
425+
426+ runtime.KeepAlive(DefaultProxyVarBytes)
415 427
416 if cret == 0 {428 if cret == 0 {
417 return nil429 return nil
M v4/gio/gsocket.go +67 -4
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -493,6 +494,7 @@ func (x *Socket) Bind(AddressVar *SocketAddress, AllowReuseVar bool) (bool, erro
493 var cerr *glib.Error494 var cerr *glib.Error
494 495
495 cret := xSocketBind(x.GoPointer(), AddressVar.GoPointer(), AllowReuseVar, &cerr)496 cret := xSocketBind(x.GoPointer(), AddressVar.GoPointer(), AllowReuseVar, &cerr)
497+
496 if cerr == nil {498 if cerr == nil {
497 return cret, nil499 return cret, nil
498 }500 }
@@ -509,6 +511,7 @@ func (x *Socket) CheckConnectResult() (bool, error) {
509 var cerr *glib.Error511 var cerr *glib.Error
510 512
511 cret := xSocketCheckConnectResult(x.GoPointer())513 cret := xSocketCheckConnectResult(x.GoPointer())
514+
512 if cerr == nil {515 if cerr == nil {
513 return cret, nil516 return cret, nil
514 }517 }
@@ -551,6 +554,7 @@ func (x *Socket) Close() (bool, error) {
551 var cerr *glib.Error554 var cerr *glib.Error
552 555
553 cret := xSocketClose(x.GoPointer())556 cret := xSocketClose(x.GoPointer())
557+
554 if cerr == nil {558 if cerr == nil {
555 return cret, nil559 return cret, nil
556 }560 }
@@ -580,6 +584,7 @@ var xSocketConditionCheck func(uintptr, glib.IOCondition) glib.IOCondition
580 func (x *Socket) ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition {584 func (x *Socket) ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition {
581 585
582 cret := xSocketConditionCheck(x.GoPointer(), ConditionVar)586 cret := xSocketConditionCheck(x.GoPointer(), ConditionVar)
587+
583 return cret588 return cret
584 }589 }
585 590
@@ -605,6 +610,7 @@ func (x *Socket) ConditionTimedWait(ConditionVar glib.IOCondition, TimeoutUsVar
605 var cerr *glib.Error610 var cerr *glib.Error
606 611
607 cret := xSocketConditionTimedWait(x.GoPointer(), ConditionVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)612 cret := xSocketConditionTimedWait(x.GoPointer(), ConditionVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)
613+
608 if cerr == nil {614 if cerr == nil {
609 return cret, nil615 return cret, nil
610 }616 }
@@ -628,6 +634,7 @@ func (x *Socket) ConditionWait(ConditionVar glib.IOCondition, CancellableVar *Ca
628 var cerr *glib.Error634 var cerr *glib.Error
629 635
630 cret := xSocketConditionWait(x.GoPointer(), ConditionVar, CancellableVar.GoPointer(), &cerr)636 cret := xSocketConditionWait(x.GoPointer(), ConditionVar, CancellableVar.GoPointer(), &cerr)
637+
631 if cerr == nil {638 if cerr == nil {
632 return cret, nil639 return cret, nil
633 }640 }
@@ -657,6 +664,7 @@ func (x *Socket) Connect(AddressVar *SocketAddress, CancellableVar *Cancellable)
657 var cerr *glib.Error664 var cerr *glib.Error
658 665
659 cret := xSocketConnect(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)666 cret := xSocketConnect(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
667+
660 if cerr == nil {668 if cerr == nil {
661 return cret, nil669 return cret, nil
662 }670 }
@@ -706,6 +714,7 @@ var xSocketCreateSource func(uintptr, glib.IOCondition, uintptr) *glib.Source
706 func (x *Socket) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source {714 func (x *Socket) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source {
707 715
708 cret := xSocketCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer())716 cret := xSocketCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer())
717+
709 return cret718 return cret
710 }719 }
711 720
@@ -726,6 +735,7 @@ var xSocketGetAvailableBytes func(uintptr) int
726 func (x *Socket) GetAvailableBytes() int {735 func (x *Socket) GetAvailableBytes() int {
727 736
728 cret := xSocketGetAvailableBytes(x.GoPointer())737 cret := xSocketGetAvailableBytes(x.GoPointer())
738+
729 return cret739 return cret
730 }740 }
731 741
@@ -736,6 +746,7 @@ var xSocketGetBlocking func(uintptr) bool
736 func (x *Socket) GetBlocking() bool {746 func (x *Socket) GetBlocking() bool {
737 747
738 cret := xSocketGetBlocking(x.GoPointer())748 cret := xSocketGetBlocking(x.GoPointer())
749+
739 return cret750 return cret
740 }751 }
741 752
@@ -747,6 +758,7 @@ var xSocketGetBroadcast func(uintptr) bool
747 func (x *Socket) GetBroadcast() bool {758 func (x *Socket) GetBroadcast() bool {
748 759
749 cret := xSocketGetBroadcast(x.GoPointer())760 cret := xSocketGetBroadcast(x.GoPointer())
761+
750 return cret762 return cret
751 }763 }
752 764
@@ -796,6 +808,7 @@ var xSocketGetFamily func(uintptr) SocketFamily
796 func (x *Socket) GetFamily() SocketFamily {808 func (x *Socket) GetFamily() SocketFamily {
797 809
798 cret := xSocketGetFamily(x.GoPointer())810 cret := xSocketGetFamily(x.GoPointer())
811+
799 return cret812 return cret
800 }813 }
801 814
@@ -809,6 +822,7 @@ var xSocketGetFd func(uintptr) int
809 func (x *Socket) GetFd() int {822 func (x *Socket) GetFd() int {
810 823
811 cret := xSocketGetFd(x.GoPointer())824 cret := xSocketGetFd(x.GoPointer())
825+
812 return cret826 return cret
813 }827 }
814 828
@@ -819,6 +833,7 @@ var xSocketGetKeepalive func(uintptr) bool
819 func (x *Socket) GetKeepalive() bool {833 func (x *Socket) GetKeepalive() bool {
820 834
821 cret := xSocketGetKeepalive(x.GoPointer())835 cret := xSocketGetKeepalive(x.GoPointer())
836+
822 return cret837 return cret
823 }838 }
824 839
@@ -829,6 +844,7 @@ var xSocketGetListenBacklog func(uintptr) int
829 func (x *Socket) GetListenBacklog() int {844 func (x *Socket) GetListenBacklog() int {
830 845
831 cret := xSocketGetListenBacklog(x.GoPointer())846 cret := xSocketGetListenBacklog(x.GoPointer())
847+
832 return cret848 return cret
833 }849 }
834 850
@@ -863,6 +879,7 @@ var xSocketGetMulticastLoopback func(uintptr) bool
863 func (x *Socket) GetMulticastLoopback() bool {879 func (x *Socket) GetMulticastLoopback() bool {
864 880
865 cret := xSocketGetMulticastLoopback(x.GoPointer())881 cret := xSocketGetMulticastLoopback(x.GoPointer())
882+
866 return cret883 return cret
867 }884 }
868 885
@@ -873,6 +890,7 @@ var xSocketGetMulticastTtl func(uintptr) uint
873 func (x *Socket) GetMulticastTtl() uint {890 func (x *Socket) GetMulticastTtl() uint {
874 891
875 cret := xSocketGetMulticastTtl(x.GoPointer())892 cret := xSocketGetMulticastTtl(x.GoPointer())
893+
876 return cret894 return cret
877 }895 }
878 896
@@ -895,6 +913,7 @@ func (x *Socket) GetOption(LevelVar int, OptnameVar int, ValueVar *int) (bool, e
895 var cerr *glib.Error913 var cerr *glib.Error
896 914
897 cret := xSocketGetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr)915 cret := xSocketGetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr)
916+
898 if cerr == nil {917 if cerr == nil {
899 return cret, nil918 return cret, nil
900 }919 }
@@ -909,6 +928,7 @@ var xSocketGetProtocol func(uintptr) SocketProtocol
909 func (x *Socket) GetProtocol() SocketProtocol {928 func (x *Socket) GetProtocol() SocketProtocol {
910 929
911 cret := xSocketGetProtocol(x.GoPointer())930 cret := xSocketGetProtocol(x.GoPointer())
931+
912 return cret932 return cret
913 }933 }
914 934
@@ -940,6 +960,7 @@ var xSocketGetSocketType func(uintptr) SocketType
940 func (x *Socket) GetSocketType() SocketType {960 func (x *Socket) GetSocketType() SocketType {
941 961
942 cret := xSocketGetSocketType(x.GoPointer())962 cret := xSocketGetSocketType(x.GoPointer())
963+
943 return cret964 return cret
944 }965 }
945 966
@@ -950,6 +971,7 @@ var xSocketGetTimeout func(uintptr) uint
950 func (x *Socket) GetTimeout() uint {971 func (x *Socket) GetTimeout() uint {
951 972
952 cret := xSocketGetTimeout(x.GoPointer())973 cret := xSocketGetTimeout(x.GoPointer())
974+
953 return cret975 return cret
954 }976 }
955 977
@@ -960,6 +982,7 @@ var xSocketGetTtl func(uintptr) uint
960 func (x *Socket) GetTtl() uint {982 func (x *Socket) GetTtl() uint {
961 983
962 cret := xSocketGetTtl(x.GoPointer())984 cret := xSocketGetTtl(x.GoPointer())
985+
963 return cret986 return cret
964 }987 }
965 988
@@ -969,6 +992,7 @@ var xSocketIsClosed func(uintptr) bool
969 func (x *Socket) IsClosed() bool {992 func (x *Socket) IsClosed() bool {
970 993
971 cret := xSocketIsClosed(x.GoPointer())994 cret := xSocketIsClosed(x.GoPointer())
995+
972 return cret996 return cret
973 }997 }
974 998
@@ -984,6 +1008,7 @@ var xSocketIsConnected func(uintptr) bool
984 func (x *Socket) IsConnected() bool {1008 func (x *Socket) IsConnected() bool {
985 1009
986 cret := xSocketIsConnected(x.GoPointer())1010 cret := xSocketIsConnected(x.GoPointer())
1011+
987 return cret1012 return cret
988 }1013 }
989 1014
@@ -1006,7 +1031,12 @@ var xSocketJoinMulticastGroup func(uintptr, uintptr, bool, uintptr, **glib.Error
1006 func (x *Socket) JoinMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) {1031 func (x *Socket) JoinMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) {
1007 var cerr *glib.Error1032 var cerr *glib.Error
1008 1033
1009- cret := xSocketJoinMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, core.NullableStringToPtr(IfaceVar), &cerr)1034+ IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar)
1035+
1036+ cret := xSocketJoinMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVarPtr, &cerr)
1037+
1038+ runtime.KeepAlive(IfaceVarBytes)
1039+
1010 if cerr == nil {1040 if cerr == nil {
1011 return cret, nil1041 return cret, nil
1012 }1042 }
@@ -1034,7 +1064,12 @@ var xSocketJoinMulticastGroupSsm func(uintptr, uintptr, uintptr, uintptr, **glib
1034 func (x *Socket) JoinMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {1064 func (x *Socket) JoinMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {
1035 var cerr *glib.Error1065 var cerr *glib.Error
1036 1066
1037- cret := xSocketJoinMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), core.NullableStringToPtr(IfaceVar), &cerr)1067+ IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar)
1068+
1069+ cret := xSocketJoinMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVarPtr, &cerr)
1070+
1071+ runtime.KeepAlive(IfaceVarBytes)
1072+
1038 if cerr == nil {1073 if cerr == nil {
1039 return cret, nil1074 return cret, nil
1040 }1075 }
@@ -1056,7 +1091,12 @@ var xSocketLeaveMulticastGroup func(uintptr, uintptr, bool, uintptr, **glib.Erro
1056 func (x *Socket) LeaveMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) {1091 func (x *Socket) LeaveMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) {
1057 var cerr *glib.Error1092 var cerr *glib.Error
1058 1093
1059- cret := xSocketLeaveMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, core.NullableStringToPtr(IfaceVar), &cerr)1094+ IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar)
1095+
1096+ cret := xSocketLeaveMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVarPtr, &cerr)
1097+
1098+ runtime.KeepAlive(IfaceVarBytes)
1099+
1060 if cerr == nil {1100 if cerr == nil {
1061 return cret, nil1101 return cret, nil
1062 }1102 }
@@ -1075,7 +1115,12 @@ var xSocketLeaveMulticastGroupSsm func(uintptr, uintptr, uintptr, uintptr, **gli
1075 func (x *Socket) LeaveMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {1115 func (x *Socket) LeaveMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {
1076 var cerr *glib.Error1116 var cerr *glib.Error
1077 1117
1078- cret := xSocketLeaveMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), core.NullableStringToPtr(IfaceVar), &cerr)1118+ IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar)
1119+
1120+ cret := xSocketLeaveMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVarPtr, &cerr)
1121+
1122+ runtime.KeepAlive(IfaceVarBytes)
1123+
1079 if cerr == nil {1124 if cerr == nil {
1080 return cret, nil1125 return cret, nil
1081 }1126 }
@@ -1097,6 +1142,7 @@ func (x *Socket) Listen() (bool, error) {
1097 var cerr *glib.Error1142 var cerr *glib.Error
1098 1143
1099 cret := xSocketListen(x.GoPointer())1144 cret := xSocketListen(x.GoPointer())
1145+
1100 if cerr == nil {1146 if cerr == nil {
1101 return cret, nil1147 return cret, nil
1102 }1148 }
@@ -1133,6 +1179,7 @@ func (x *Socket) Receive(BufferVar *[]byte, SizeVar uint, CancellableVar *Cancel
1133 var cerr *glib.Error1179 var cerr *glib.Error
1134 1180
1135 cret := xSocketReceive(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1181 cret := xSocketReceive(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
1182+
1136 if cerr == nil {1183 if cerr == nil {
1137 return cret, nil1184 return cret, nil
1138 }1185 }
@@ -1155,6 +1202,7 @@ func (x *Socket) ReceiveBytes(SizeVar uint, TimeoutUsVar int64, CancellableVar *
1155 var cerr *glib.Error1202 var cerr *glib.Error
1156 1203
1157 cret := xSocketReceiveBytes(x.GoPointer(), SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)1204 cret := xSocketReceiveBytes(x.GoPointer(), SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)
1205+
1158 if cerr == nil {1206 if cerr == nil {
1159 return cret, nil1207 return cret, nil
1160 }1208 }
@@ -1182,6 +1230,7 @@ func (x *Socket) ReceiveBytesFrom(AddressVar **SocketAddress, SizeVar uint, Time
1182 var cerr *glib.Error1230 var cerr *glib.Error
1183 1231
1184 cret := xSocketReceiveBytesFrom(x.GoPointer(), AddressVar, SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)1232 cret := xSocketReceiveBytesFrom(x.GoPointer(), AddressVar, SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)
1233+
1185 if cerr == nil {1234 if cerr == nil {
1186 return cret, nil1235 return cret, nil
1187 }1236 }
@@ -1202,6 +1251,7 @@ func (x *Socket) ReceiveFrom(AddressVar **SocketAddress, BufferVar *[]byte, Size
1202 var cerr *glib.Error1251 var cerr *glib.Error
1203 1252
1204 cret := xSocketReceiveFrom(x.GoPointer(), AddressVar, BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1253 cret := xSocketReceiveFrom(x.GoPointer(), AddressVar, BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
1254+
1205 if cerr == nil {1255 if cerr == nil {
1206 return cret, nil1256 return cret, nil
1207 }1257 }
@@ -1274,6 +1324,7 @@ func (x *Socket) ReceiveMessage(AddressVar **SocketAddress, VectorsVar []InputVe
1274 var cerr *glib.Error1324 var cerr *glib.Error
1275 1325
1276 cret := xSocketReceiveMessage(x.GoPointer(), AddressVar, VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1326 cret := xSocketReceiveMessage(x.GoPointer(), AddressVar, VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
1327+
1277 if cerr == nil {1328 if cerr == nil {
1278 return cret, nil1329 return cret, nil
1279 }1330 }
@@ -1335,6 +1386,7 @@ func (x *Socket) ReceiveMessages(MessagesVar []InputMessage, NumMessagesVar uint
1335 var cerr *glib.Error1386 var cerr *glib.Error
1336 1387
1337 cret := xSocketReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1388 cret := xSocketReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
1389+
1338 if cerr == nil {1390 if cerr == nil {
1339 return cret, nil1391 return cret, nil
1340 }1392 }
@@ -1351,6 +1403,7 @@ func (x *Socket) ReceiveWithBlocking(BufferVar *[]byte, SizeVar uint, BlockingVa
1351 var cerr *glib.Error1403 var cerr *glib.Error
1352 1404
1353 cret := xSocketReceiveWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)1405 cret := xSocketReceiveWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
1406+
1354 if cerr == nil {1407 if cerr == nil {
1355 return cret, nil1408 return cret, nil
1356 }1409 }
@@ -1378,6 +1431,7 @@ func (x *Socket) Send(BufferVar []byte, SizeVar uint, CancellableVar *Cancellabl
1378 var cerr *glib.Error1431 var cerr *glib.Error
1379 1432
1380 cret := xSocketSend(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1433 cret := xSocketSend(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
1434+
1381 if cerr == nil {1435 if cerr == nil {
1382 return cret, nil1436 return cret, nil
1383 }1437 }
@@ -1433,6 +1487,7 @@ func (x *Socket) SendMessage(AddressVar *SocketAddress, VectorsVar []OutputVecto
1433 var cerr *glib.Error1487 var cerr *glib.Error
1434 1488
1435 cret := xSocketSendMessage(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1489 cret := xSocketSendMessage(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
1490+
1436 if cerr == nil {1491 if cerr == nil {
1437 return cret, nil1492 return cret, nil
1438 }1493 }
@@ -1453,6 +1508,7 @@ func (x *Socket) SendMessageWithTimeout(AddressVar *SocketAddress, VectorsVar []
1453 var cerr *glib.Error1508 var cerr *glib.Error
1454 1509
1455 cret := xSocketSendMessageWithTimeout(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, TimeoutUsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)1510 cret := xSocketSendMessageWithTimeout(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, TimeoutUsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
1511+
1456 if cerr == nil {1512 if cerr == nil {
1457 return cret, nil1513 return cret, nil
1458 }1514 }
@@ -1500,6 +1556,7 @@ func (x *Socket) SendMessages(MessagesVar []OutputMessage, NumMessagesVar uint,
1500 var cerr *glib.Error1556 var cerr *glib.Error
1501 1557
1502 cret := xSocketSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1558 cret := xSocketSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
1559+
1503 if cerr == nil {1560 if cerr == nil {
1504 return cret, nil1561 return cret, nil
1505 }1562 }
@@ -1518,6 +1575,7 @@ func (x *Socket) SendTo(AddressVar *SocketAddress, BufferVar []byte, SizeVar uin
1518 var cerr *glib.Error1575 var cerr *glib.Error
1519 1576
1520 cret := xSocketSendTo(x.GoPointer(), AddressVar.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1577 cret := xSocketSendTo(x.GoPointer(), AddressVar.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
1578+
1521 if cerr == nil {1579 if cerr == nil {
1522 return cret, nil1580 return cret, nil
1523 }1581 }
@@ -1534,6 +1592,7 @@ func (x *Socket) SendWithBlocking(BufferVar []byte, SizeVar uint, BlockingVar bo
1534 var cerr *glib.Error1592 var cerr *glib.Error
1535 1593
1536 cret := xSocketSendWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)1594 cret := xSocketSendWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
1595+
1537 if cerr == nil {1596 if cerr == nil {
1538 return cret, nil1597 return cret, nil
1539 }1598 }
@@ -1643,6 +1702,7 @@ func (x *Socket) SetOption(LevelVar int, OptnameVar int, ValueVar int) (bool, er
1643 var cerr *glib.Error1702 var cerr *glib.Error
1644 1703
1645 cret := xSocketSetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr)1704 cret := xSocketSetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr)
1705+
1646 if cerr == nil {1706 if cerr == nil {
1647 return cret, nil1707 return cret, nil
1648 }1708 }
@@ -1708,6 +1768,7 @@ func (x *Socket) Shutdown(ShutdownReadVar bool, ShutdownWriteVar bool) (bool, er
1708 var cerr *glib.Error1768 var cerr *glib.Error
1709 1769
1710 cret := xSocketShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, &cerr)1770 cret := xSocketShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, &cerr)
1771+
1711 if cerr == nil {1772 if cerr == nil {
1712 return cret, nil1773 return cret, nil
1713 }1774 }
@@ -1729,6 +1790,7 @@ var xSocketSpeaksIpv4 func(uintptr) bool
1729 func (x *Socket) SpeaksIpv4() bool {1790 func (x *Socket) SpeaksIpv4() bool {
1730 1791
1731 cret := xSocketSpeaksIpv4(x.GoPointer())1792 cret := xSocketSpeaksIpv4(x.GoPointer())
1793+
1732 return cret1794 return cret
1733 }1795 }
1734 1796
@@ -1938,6 +2000,7 @@ func (x *Socket) Init(CancellableVar *Cancellable) (bool, error) {
1938 var cerr *glib.Error2000 var cerr *glib.Error
1939 2001
1940 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)2002 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
2003+
1941 if cerr == nil {2004 if cerr == nil {
1942 return cret, nil2005 return cret, nil
1943 }2006 }
M v4/gio/gsocketaddress.go +4 -0
@@ -140,6 +140,7 @@ var xSocketAddressGetFamily func(uintptr) SocketFamily
140 func (x *SocketAddress) GetFamily() SocketFamily {140 func (x *SocketAddress) GetFamily() SocketFamily {
141 141
142 cret := xSocketAddressGetFamily(x.GoPointer())142 cret := xSocketAddressGetFamily(x.GoPointer())
143+
143 return cret144 return cret
144 }145 }
145 146
@@ -151,6 +152,7 @@ var xSocketAddressGetNativeSize func(uintptr) int
151 func (x *SocketAddress) GetNativeSize() int {152 func (x *SocketAddress) GetNativeSize() int {
152 153
153 cret := xSocketAddressGetNativeSize(x.GoPointer())154 cret := xSocketAddressGetNativeSize(x.GoPointer())
155+
154 return cret156 return cret
155 }157 }
156 158
@@ -166,6 +168,7 @@ func (x *SocketAddress) ToNative(DestVar uintptr, DestlenVar uint) (bool, error)
166 var cerr *glib.Error168 var cerr *glib.Error
167 169
168 cret := xSocketAddressToNative(x.GoPointer(), DestVar, DestlenVar, &cerr)170 cret := xSocketAddressToNative(x.GoPointer(), DestVar, DestlenVar, &cerr)
171+
169 if cerr == nil {172 if cerr == nil {
170 return cret, nil173 return cret, nil
171 }174 }
@@ -228,6 +231,7 @@ func (x *SocketAddress) ProxyEnumerate() *SocketAddressEnumerator {
228 func (x *SocketAddress) ToString() string {231 func (x *SocketAddress) ToString() string {
229 232
230 cret := XGSocketConnectableToString(x.GoPointer())233 cret := XGSocketConnectableToString(x.GoPointer())
234+
231 return cret235 return cret
232 }236 }
233 237
M v4/gio/gsocketclient.go +7 -0
@@ -598,6 +598,7 @@ var xSocketClientGetEnableProxy func(uintptr) bool
598 func (x *SocketClient) GetEnableProxy() bool {598 func (x *SocketClient) GetEnableProxy() bool {
599 599
600 cret := xSocketClientGetEnableProxy(x.GoPointer())600 cret := xSocketClientGetEnableProxy(x.GoPointer())
601+
601 return cret602 return cret
602 }603 }
603 604
@@ -609,6 +610,7 @@ var xSocketClientGetFamily func(uintptr) SocketFamily
609 func (x *SocketClient) GetFamily() SocketFamily {610 func (x *SocketClient) GetFamily() SocketFamily {
610 611
611 cret := xSocketClientGetFamily(x.GoPointer())612 cret := xSocketClientGetFamily(x.GoPointer())
613+
612 return cret614 return cret
613 }615 }
614 616
@@ -639,6 +641,7 @@ var xSocketClientGetProtocol func(uintptr) SocketProtocol
639 func (x *SocketClient) GetProtocol() SocketProtocol {641 func (x *SocketClient) GetProtocol() SocketProtocol {
640 642
641 cret := xSocketClientGetProtocol(x.GoPointer())643 cret := xSocketClientGetProtocol(x.GoPointer())
644+
642 return cret645 return cret
643 }646 }
644 647
@@ -669,6 +672,7 @@ var xSocketClientGetSocketType func(uintptr) SocketType
669 func (x *SocketClient) GetSocketType() SocketType {672 func (x *SocketClient) GetSocketType() SocketType {
670 673
671 cret := xSocketClientGetSocketType(x.GoPointer())674 cret := xSocketClientGetSocketType(x.GoPointer())
675+
672 return cret676 return cret
673 }677 }
674 678
@@ -680,6 +684,7 @@ var xSocketClientGetTimeout func(uintptr) uint
680 func (x *SocketClient) GetTimeout() uint {684 func (x *SocketClient) GetTimeout() uint {
681 685
682 cret := xSocketClientGetTimeout(x.GoPointer())686 cret := xSocketClientGetTimeout(x.GoPointer())
687+
683 return cret688 return cret
684 }689 }
685 690
@@ -690,6 +695,7 @@ var xSocketClientGetTls func(uintptr) bool
690 func (x *SocketClient) GetTls() bool {695 func (x *SocketClient) GetTls() bool {
691 696
692 cret := xSocketClientGetTls(x.GoPointer())697 cret := xSocketClientGetTls(x.GoPointer())
698+
693 return cret699 return cret
694 }700 }
695 701
@@ -704,6 +710,7 @@ var xSocketClientGetTlsValidationFlags func(uintptr) TlsCertificateFlags
704 func (x *SocketClient) GetTlsValidationFlags() TlsCertificateFlags {710 func (x *SocketClient) GetTlsValidationFlags() TlsCertificateFlags {
705 711
706 cret := xSocketClientGetTlsValidationFlags(x.GoPointer())712 cret := xSocketClientGetTlsValidationFlags(x.GoPointer())
713+
707 return cret714 return cret
708 }715 }
709 716
M v4/gio/gsocketconnectable.go +1 -0
@@ -260,6 +260,7 @@ func (x *SocketConnectableBase) ProxyEnumerate() *SocketAddressEnumerator {
260 func (x *SocketConnectableBase) ToString() string {260 func (x *SocketConnectableBase) ToString() string {
261 261
262 cret := XGSocketConnectableToString(x.GoPointer())262 cret := XGSocketConnectableToString(x.GoPointer())
263+
263 return cret264 return cret
264 }265 }
265 266
M v4/gio/gsocketconnection.go +4 -0
@@ -219,6 +219,7 @@ func (x *SocketConnection) Connect(AddressVar *SocketAddress, CancellableVar *Ca
219 var cerr *glib.Error219 var cerr *glib.Error
220 220
221 cret := xSocketConnectionConnect(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)221 cret := xSocketConnectionConnect(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
222+
222 if cerr == nil {223 if cerr == nil {
223 return cret, nil224 return cret, nil
224 }225 }
@@ -266,6 +267,7 @@ func (x *SocketConnection) ConnectFinish(ResultVar AsyncResult) (bool, error) {
266 var cerr *glib.Error267 var cerr *glib.Error
267 268
268 cret := xSocketConnectionConnectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)269 cret := xSocketConnectionConnectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
270+
269 if cerr == nil {271 if cerr == nil {
270 return cret, nil272 return cret, nil
271 }273 }
@@ -348,6 +350,7 @@ var xSocketConnectionIsConnected func(uintptr) bool
348 func (x *SocketConnection) IsConnected() bool {350 func (x *SocketConnection) IsConnected() bool {
349 351
350 cret := xSocketConnectionIsConnected(x.GoPointer())352 cret := xSocketConnectionIsConnected(x.GoPointer())
353+
351 return cret354 return cret
352 }355 }
353 356
@@ -371,6 +374,7 @@ var xSocketConnectionFactoryLookupType func(SocketFamily, SocketType, int) types
371 func SocketConnectionFactoryLookupType(FamilyVar SocketFamily, TypeVar SocketType, ProtocolIdVar int) types.GType {374 func SocketConnectionFactoryLookupType(FamilyVar SocketFamily, TypeVar SocketType, ProtocolIdVar int) types.GType {
372 375
373 cret := xSocketConnectionFactoryLookupType(FamilyVar, TypeVar, ProtocolIdVar)376 cret := xSocketConnectionFactoryLookupType(FamilyVar, TypeVar, ProtocolIdVar)
377+
374 return cret378 return cret
375 }379 }
376 380
M v4/gio/gsocketcontrolmessage.go +3 -0
@@ -343,6 +343,7 @@ var xSocketControlMessageGetLevel func(uintptr) int
343 func (x *SocketControlMessage) GetLevel() int {343 func (x *SocketControlMessage) GetLevel() int {
344 344
345 cret := xSocketControlMessageGetLevel(x.GoPointer())345 cret := xSocketControlMessageGetLevel(x.GoPointer())
346+
346 return cret347 return cret
347 }348 }
348 349
@@ -353,6 +354,7 @@ var xSocketControlMessageGetMsgType func(uintptr) int
353 func (x *SocketControlMessage) GetMsgType() int {354 func (x *SocketControlMessage) GetMsgType() int {
354 355
355 cret := xSocketControlMessageGetMsgType(x.GoPointer())356 cret := xSocketControlMessageGetMsgType(x.GoPointer())
357+
356 return cret358 return cret
357 }359 }
358 360
@@ -363,6 +365,7 @@ var xSocketControlMessageGetSize func(uintptr) uint
363 func (x *SocketControlMessage) GetSize() uint {365 func (x *SocketControlMessage) GetSize() uint {
364 366
365 cret := xSocketControlMessageGetSize(x.GoPointer())367 cret := xSocketControlMessageGetSize(x.GoPointer())
368+
366 return cret369 return cret
367 }370 }
368 371
M v4/gio/gsocketlistener.go +4 -0
@@ -449,6 +449,7 @@ func (x *SocketListener) AddAddress(AddressVar *SocketAddress, TypeVar SocketTyp
449 var cerr *glib.Error449 var cerr *glib.Error
450 450
451 cret := xSocketListenerAddAddress(x.GoPointer(), AddressVar.GoPointer(), TypeVar, ProtocolVar, SourceObjectVar.GoPointer(), EffectiveAddressVar, &cerr)451 cret := xSocketListenerAddAddress(x.GoPointer(), AddressVar.GoPointer(), TypeVar, ProtocolVar, SourceObjectVar.GoPointer(), EffectiveAddressVar, &cerr)
452+
452 if cerr == nil {453 if cerr == nil {
453 return cret, nil454 return cret, nil
454 }455 }
@@ -480,6 +481,7 @@ func (x *SocketListener) AddAnyInetPort(SourceObjectVar *gobject.Object) (uint16
480 var cerr *glib.Error481 var cerr *glib.Error
481 482
482 cret := xSocketListenerAddAnyInetPort(x.GoPointer(), SourceObjectVar.GoPointer(), &cerr)483 cret := xSocketListenerAddAnyInetPort(x.GoPointer(), SourceObjectVar.GoPointer(), &cerr)
484+
483 if cerr == nil {485 if cerr == nil {
484 return cret, nil486 return cret, nil
485 }487 }
@@ -513,6 +515,7 @@ func (x *SocketListener) AddInetPort(PortVar uint16, SourceObjectVar *gobject.Ob
513 var cerr *glib.Error515 var cerr *glib.Error
514 516
515 cret := xSocketListenerAddInetPort(x.GoPointer(), PortVar, SourceObjectVar.GoPointer(), &cerr)517 cret := xSocketListenerAddInetPort(x.GoPointer(), PortVar, SourceObjectVar.GoPointer(), &cerr)
518+
516 if cerr == nil {519 if cerr == nil {
517 return cret, nil520 return cret, nil
518 }521 }
@@ -542,6 +545,7 @@ func (x *SocketListener) AddSocket(SocketVar *Socket, SourceObjectVar *gobject.O
542 var cerr *glib.Error545 var cerr *glib.Error
543 546
544 cret := xSocketListenerAddSocket(x.GoPointer(), SocketVar.GoPointer(), SourceObjectVar.GoPointer(), &cerr)547 cret := xSocketListenerAddSocket(x.GoPointer(), SocketVar.GoPointer(), SourceObjectVar.GoPointer(), &cerr)
548+
545 if cerr == nil {549 if cerr == nil {
546 return cret, nil550 return cret, nil
547 }551 }
M v4/gio/gsocketservice.go +1 -0
@@ -281,6 +281,7 @@ var xSocketServiceIsActive func(uintptr) bool
281 func (x *SocketService) IsActive() bool {281 func (x *SocketService) IsActive() bool {
282 282
283 cret := xSocketServiceIsActive(x.GoPointer())283 cret := xSocketServiceIsActive(x.GoPointer())
284+
284 return cret285 return cret
285 }286 }
286 287
M v4/gio/gsrvtarget.go +1 -0
@@ -13,6 +13,7 @@ var xSrvTargetListSort func(*glib.List) *glib.List
13 func SrvTargetListSort(TargetsVar *glib.List) *glib.List {13 func SrvTargetListSort(TargetsVar *glib.List) *glib.List {
14 14
15 cret := xSrvTargetListSort(TargetsVar)15 cret := xSrvTargetListSort(TargetsVar)
16+
16 return cret17 return cret
17 }18 }
18 19
M v4/gio/gsubprocess.go +27 -2
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "unsafe"6 "unsafe"
6 7
7 "github.com/jwijenbergh/purego"8 "github.com/jwijenbergh/purego"
@@ -182,6 +183,7 @@ func (x *Subprocess) Communicate(StdinBufVar *glib.Bytes, CancellableVar *Cancel
182 var cerr *glib.Error183 var cerr *glib.Error
183 184
184 cret := xSubprocessCommunicate(x.GoPointer(), StdinBufVar, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)185 cret := xSubprocessCommunicate(x.GoPointer(), StdinBufVar, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)
186+
185 if cerr == nil {187 if cerr == nil {
186 return cret, nil188 return cret, nil
187 }189 }
@@ -221,6 +223,7 @@ func (x *Subprocess) CommunicateFinish(ResultVar AsyncResult, StdoutBufVar **gli
221 var cerr *glib.Error223 var cerr *glib.Error
222 224
223 cret := xSubprocessCommunicateFinish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)225 cret := xSubprocessCommunicateFinish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)
226+
224 if cerr == nil {227 if cerr == nil {
225 return cret, nil228 return cret, nil
226 }229 }
@@ -238,7 +241,12 @@ var xSubprocessCommunicateUtf8 func(uintptr, uintptr, uintptr, *string, *string,
238 func (x *Subprocess) CommunicateUtf8(StdinBufVar *string, CancellableVar *Cancellable, StdoutBufVar *string, StderrBufVar *string) (bool, error) {241 func (x *Subprocess) CommunicateUtf8(StdinBufVar *string, CancellableVar *Cancellable, StdoutBufVar *string, StderrBufVar *string) (bool, error) {
239 var cerr *glib.Error242 var cerr *glib.Error
240 243
241- cret := xSubprocessCommunicateUtf8(x.GoPointer(), core.NullableStringToPtr(StdinBufVar), CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)244+ StdinBufVarPtr, StdinBufVarBytes := core.NullableStringToPtr(StdinBufVar)
245+
246+ cret := xSubprocessCommunicateUtf8(x.GoPointer(), StdinBufVarPtr, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)
247+
248+ runtime.KeepAlive(StdinBufVarBytes)
249+
242 if cerr == nil {250 if cerr == nil {
243 return cret, nil251 return cret, nil
244 }252 }
@@ -267,7 +275,11 @@ func (x *Subprocess) CommunicateUtf8Async(StdinBufVar *string, CancellableVar *C
267 }275 }
268 }276 }
269 277
270- xSubprocessCommunicateUtf8Async(x.GoPointer(), core.NullableStringToPtr(StdinBufVar), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)278+ StdinBufVarPtr, StdinBufVarBytes := core.NullableStringToPtr(StdinBufVar)
279+
280+ xSubprocessCommunicateUtf8Async(x.GoPointer(), StdinBufVarPtr, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
281+
282+ runtime.KeepAlive(StdinBufVarBytes)
271 283
272 }284 }
273 285
@@ -278,6 +290,7 @@ func (x *Subprocess) CommunicateUtf8Finish(ResultVar AsyncResult, StdoutBufVar *
278 var cerr *glib.Error290 var cerr *glib.Error
279 291
280 cret := xSubprocessCommunicateUtf8Finish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)292 cret := xSubprocessCommunicateUtf8Finish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)
293+
281 if cerr == nil {294 if cerr == nil {
282 return cret, nil295 return cret, nil
283 }296 }
@@ -313,6 +326,7 @@ var xSubprocessGetExitStatus func(uintptr) int
313 func (x *Subprocess) GetExitStatus() int {326 func (x *Subprocess) GetExitStatus() int {
314 327
315 cret := xSubprocessGetExitStatus(x.GoPointer())328 cret := xSubprocessGetExitStatus(x.GoPointer())
329+
316 return cret330 return cret
317 }331 }
318 332
@@ -324,6 +338,7 @@ var xSubprocessGetIdentifier func(uintptr) string
324 func (x *Subprocess) GetIdentifier() string {338 func (x *Subprocess) GetIdentifier() string {
325 339
326 cret := xSubprocessGetIdentifier(x.GoPointer())340 cret := xSubprocessGetIdentifier(x.GoPointer())
341+
327 return cret342 return cret
328 }343 }
329 344
@@ -339,6 +354,7 @@ var xSubprocessGetIfExited func(uintptr) bool
339 func (x *Subprocess) GetIfExited() bool {354 func (x *Subprocess) GetIfExited() bool {
340 355
341 cret := xSubprocessGetIfExited(x.GoPointer())356 cret := xSubprocessGetIfExited(x.GoPointer())
357+
342 return cret358 return cret
343 }359 }
344 360
@@ -353,6 +369,7 @@ var xSubprocessGetIfSignaled func(uintptr) bool
353 func (x *Subprocess) GetIfSignaled() bool {369 func (x *Subprocess) GetIfSignaled() bool {
354 370
355 cret := xSubprocessGetIfSignaled(x.GoPointer())371 cret := xSubprocessGetIfSignaled(x.GoPointer())
372+
356 return cret373 return cret
357 }374 }
358 375
@@ -372,6 +389,7 @@ var xSubprocessGetStatus func(uintptr) int
372 func (x *Subprocess) GetStatus() int {389 func (x *Subprocess) GetStatus() int {
373 390
374 cret := xSubprocessGetStatus(x.GoPointer())391 cret := xSubprocessGetStatus(x.GoPointer())
392+
375 return cret393 return cret
376 }394 }
377 395
@@ -449,6 +467,7 @@ var xSubprocessGetSuccessful func(uintptr) bool
449 func (x *Subprocess) GetSuccessful() bool {467 func (x *Subprocess) GetSuccessful() bool {
450 468
451 cret := xSubprocessGetSuccessful(x.GoPointer())469 cret := xSubprocessGetSuccessful(x.GoPointer())
470+
452 return cret471 return cret
453 }472 }
454 473
@@ -464,6 +483,7 @@ var xSubprocessGetTermSig func(uintptr) int
464 func (x *Subprocess) GetTermSig() int {483 func (x *Subprocess) GetTermSig() int {
465 484
466 cret := xSubprocessGetTermSig(x.GoPointer())485 cret := xSubprocessGetTermSig(x.GoPointer())
486+
467 return cret487 return cret
468 }488 }
469 489
@@ -499,6 +519,7 @@ func (x *Subprocess) Wait(CancellableVar *Cancellable) (bool, error) {
499 var cerr *glib.Error519 var cerr *glib.Error
500 520
501 cret := xSubprocessWait(x.GoPointer(), CancellableVar.GoPointer(), &cerr)521 cret := xSubprocessWait(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
522+
502 if cerr == nil {523 if cerr == nil {
503 return cret, nil524 return cret, nil
504 }525 }
@@ -539,6 +560,7 @@ func (x *Subprocess) WaitCheck(CancellableVar *Cancellable) (bool, error) {
539 var cerr *glib.Error560 var cerr *glib.Error
540 561
541 cret := xSubprocessWaitCheck(x.GoPointer(), CancellableVar.GoPointer(), &cerr)562 cret := xSubprocessWaitCheck(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
563+
542 if cerr == nil {564 if cerr == nil {
543 return cret, nil565 return cret, nil
544 }566 }
@@ -580,6 +602,7 @@ func (x *Subprocess) WaitCheckFinish(ResultVar AsyncResult) (bool, error) {
580 var cerr *glib.Error602 var cerr *glib.Error
581 603
582 cret := xSubprocessWaitCheckFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)604 cret := xSubprocessWaitCheckFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
605+
583 if cerr == nil {606 if cerr == nil {
584 return cret, nil607 return cret, nil
585 }608 }
@@ -595,6 +618,7 @@ func (x *Subprocess) WaitFinish(ResultVar AsyncResult) (bool, error) {
595 var cerr *glib.Error618 var cerr *glib.Error
596 619
597 cret := xSubprocessWaitFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)620 cret := xSubprocessWaitFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
621+
598 if cerr == nil {622 if cerr == nil {
599 return cret, nil623 return cret, nil
600 }624 }
@@ -664,6 +688,7 @@ func (x *Subprocess) Init(CancellableVar *Cancellable) (bool, error) {
664 var cerr *glib.Error688 var cerr *glib.Error
665 689
666 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)690 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
691+
667 if cerr == nil {692 if cerr == nil {
668 return cret, nil693 return cret, nil
669 }694 }
M v4/gio/gsubprocesslauncher.go +17 -3
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "unsafe"6 "unsafe"
6 7
7 "github.com/jwijenbergh/purego"8 "github.com/jwijenbergh/purego"
@@ -83,6 +84,7 @@ var xSubprocessLauncherGetenv func(uintptr, string) string
83 func (x *SubprocessLauncher) Getenv(VariableVar string) string {84 func (x *SubprocessLauncher) Getenv(VariableVar string) string {
84 85
85 cret := xSubprocessLauncherGetenv(x.GoPointer(), VariableVar)86 cret := xSubprocessLauncherGetenv(x.GoPointer(), VariableVar)
87+
86 return cret88 return cret
87 }89 }
88 90
@@ -215,7 +217,11 @@ var xSubprocessLauncherSetStderrFilePath func(uintptr, uintptr)
215 // This feature is only available on UNIX.217 // This feature is only available on UNIX.
216 func (x *SubprocessLauncher) SetStderrFilePath(PathVar *string) {218 func (x *SubprocessLauncher) SetStderrFilePath(PathVar *string) {
217 219
218- xSubprocessLauncherSetStderrFilePath(x.GoPointer(), core.NullableStringToPtr(PathVar))220+ PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar)
221+
222+ xSubprocessLauncherSetStderrFilePath(x.GoPointer(), PathVarPtr)
223+
224+ runtime.KeepAlive(PathVarBytes)
219 225
220 }226 }
221 227
@@ -233,7 +239,11 @@ var xSubprocessLauncherSetStdinFilePath func(uintptr, uintptr)
233 // This feature is only available on UNIX.239 // This feature is only available on UNIX.
234 func (x *SubprocessLauncher) SetStdinFilePath(PathVar *string) {240 func (x *SubprocessLauncher) SetStdinFilePath(PathVar *string) {
235 241
236- xSubprocessLauncherSetStdinFilePath(x.GoPointer(), core.NullableStringToPtr(PathVar))242+ PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar)
243+
244+ xSubprocessLauncherSetStdinFilePath(x.GoPointer(), PathVarPtr)
245+
246+ runtime.KeepAlive(PathVarBytes)
237 247
238 }248 }
239 249
@@ -252,7 +262,11 @@ var xSubprocessLauncherSetStdoutFilePath func(uintptr, uintptr)
252 // This feature is only available on UNIX.262 // This feature is only available on UNIX.
253 func (x *SubprocessLauncher) SetStdoutFilePath(PathVar *string) {263 func (x *SubprocessLauncher) SetStdoutFilePath(PathVar *string) {
254 264
255- xSubprocessLauncherSetStdoutFilePath(x.GoPointer(), core.NullableStringToPtr(PathVar))265+ PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar)
266+
267+ xSubprocessLauncherSetStdoutFilePath(x.GoPointer(), PathVarPtr)
268+
269+ runtime.KeepAlive(PathVarBytes)
256 270
257 }271 }
258 272
M v4/gio/gtask.go +30 -2
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -716,6 +717,7 @@ var xTaskGetCheckCancellable func(uintptr) bool
716 func (x *Task) GetCheckCancellable() bool {717 func (x *Task) GetCheckCancellable() bool {
717 718
718 cret := xTaskGetCheckCancellable(x.GoPointer())719 cret := xTaskGetCheckCancellable(x.GoPointer())
720+
719 return cret721 return cret
720 }722 }
721 723
@@ -727,6 +729,7 @@ var xTaskGetCompleted func(uintptr) bool
727 func (x *Task) GetCompleted() bool {729 func (x *Task) GetCompleted() bool {
728 730
729 cret := xTaskGetCompleted(x.GoPointer())731 cret := xTaskGetCompleted(x.GoPointer())
732+
730 return cret733 return cret
731 }734 }
732 735
@@ -742,6 +745,7 @@ var xTaskGetContext func(uintptr) *glib.MainContext
742 func (x *Task) GetContext() *glib.MainContext {745 func (x *Task) GetContext() *glib.MainContext {
743 746
744 cret := xTaskGetContext(x.GoPointer())747 cret := xTaskGetContext(x.GoPointer())
748+
745 return cret749 return cret
746 }750 }
747 751
@@ -751,6 +755,7 @@ var xTaskGetName func(uintptr) string
751 func (x *Task) GetName() string {755 func (x *Task) GetName() string {
752 756
753 cret := xTaskGetName(x.GoPointer())757 cret := xTaskGetName(x.GoPointer())
758+
754 return cret759 return cret
755 }760 }
756 761
@@ -760,6 +765,7 @@ var xTaskGetPriority func(uintptr) int
760 func (x *Task) GetPriority() int {765 func (x *Task) GetPriority() int {
761 766
762 cret := xTaskGetPriority(x.GoPointer())767 cret := xTaskGetPriority(x.GoPointer())
768+
763 return cret769 return cret
764 }770 }
765 771
@@ -770,6 +776,7 @@ var xTaskGetReturnOnCancel func(uintptr) bool
770 func (x *Task) GetReturnOnCancel() bool {776 func (x *Task) GetReturnOnCancel() bool {
771 777
772 cret := xTaskGetReturnOnCancel(x.GoPointer())778 cret := xTaskGetReturnOnCancel(x.GoPointer())
779+
773 return cret780 return cret
774 }781 }
775 782
@@ -797,6 +804,7 @@ var xTaskGetSourceTag func(uintptr) uintptr
797 func (x *Task) GetSourceTag() uintptr {804 func (x *Task) GetSourceTag() uintptr {
798 805
799 cret := xTaskGetSourceTag(x.GoPointer())806 cret := xTaskGetSourceTag(x.GoPointer())
807+
800 return cret808 return cret
801 }809 }
802 810
@@ -806,6 +814,7 @@ var xTaskGetTaskData func(uintptr) uintptr
806 func (x *Task) GetTaskData() uintptr {814 func (x *Task) GetTaskData() uintptr {
807 815
808 cret := xTaskGetTaskData(x.GoPointer())816 cret := xTaskGetTaskData(x.GoPointer())
817+
809 return cret818 return cret
810 }819 }
811 820
@@ -815,6 +824,7 @@ var xTaskHadError func(uintptr) bool
815 func (x *Task) HadError() bool {824 func (x *Task) HadError() bool {
816 825
817 cret := xTaskHadError(x.GoPointer())826 cret := xTaskHadError(x.GoPointer())
827+
818 return cret828 return cret
819 }829 }
820 830
@@ -831,6 +841,7 @@ func (x *Task) PropagateBoolean() (bool, error) {
831 var cerr *glib.Error841 var cerr *glib.Error
832 842
833 cret := xTaskPropagateBoolean(x.GoPointer())843 cret := xTaskPropagateBoolean(x.GoPointer())
844+
834 if cerr == nil {845 if cerr == nil {
835 return cret, nil846 return cret, nil
836 }847 }
@@ -851,6 +862,7 @@ func (x *Task) PropagateInt() (int, error) {
851 var cerr *glib.Error862 var cerr *glib.Error
852 863
853 cret := xTaskPropagateInt(x.GoPointer())864 cret := xTaskPropagateInt(x.GoPointer())
865+
854 if cerr == nil {866 if cerr == nil {
855 return cret, nil867 return cret, nil
856 }868 }
@@ -872,6 +884,7 @@ func (x *Task) PropagatePointer() (uintptr, error) {
872 var cerr *glib.Error884 var cerr *glib.Error
873 885
874 cret := xTaskPropagatePointer(x.GoPointer())886 cret := xTaskPropagatePointer(x.GoPointer())
887+
875 if cerr == nil {888 if cerr == nil {
876 return cret, nil889 return cret, nil
877 }890 }
@@ -895,6 +908,7 @@ func (x *Task) PropagateValue(ValueVar *gobject.Value) (bool, error) {
895 var cerr *glib.Error908 var cerr *glib.Error
896 909
897 cret := xTaskPropagateValue(x.GoPointer(), ValueVar, &cerr)910 cret := xTaskPropagateValue(x.GoPointer(), ValueVar, &cerr)
911+
898 if cerr == nil {912 if cerr == nil {
899 return cret, nil913 return cret, nil
900 }914 }
@@ -942,6 +956,7 @@ var xTaskReturnErrorIfCancelled func(uintptr) bool
942 func (x *Task) ReturnErrorIfCancelled() bool {956 func (x *Task) ReturnErrorIfCancelled() bool {
943 957
944 cret := xTaskReturnErrorIfCancelled(x.GoPointer())958 cret := xTaskReturnErrorIfCancelled(x.GoPointer())
959+
945 return cret960 return cret
946 }961 }
947 962
@@ -1178,7 +1193,11 @@ var xTaskSetName func(uintptr, uintptr)
1178 // other than the one it was constructed in.1193 // other than the one it was constructed in.
1179 func (x *Task) SetName(NameVar *string) {1194 func (x *Task) SetName(NameVar *string) {
1180 1195
1181- xTaskSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))1196+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
1197+
1198+ xTaskSetName(x.GoPointer(), NameVarPtr)
1199+
1200+ runtime.KeepAlive(NameVarBytes)
1182 1201
1183 }1202 }
1184 1203
@@ -1230,6 +1249,7 @@ var xTaskSetReturnOnCancel func(uintptr, bool) bool
1230 func (x *Task) SetReturnOnCancel(ReturnOnCancelVar bool) bool {1249 func (x *Task) SetReturnOnCancel(ReturnOnCancelVar bool) bool {
1231 1250
1232 cret := xTaskSetReturnOnCancel(x.GoPointer(), ReturnOnCancelVar)1251 cret := xTaskSetReturnOnCancel(x.GoPointer(), ReturnOnCancelVar)
1252+
1233 return cret1253 return cret
1234 }1254 }
1235 1255
@@ -1263,7 +1283,11 @@ var xTaskSetStaticName func(uintptr, uintptr)
1263 // unless a name is set.1283 // unless a name is set.
1264 func (x *Task) SetStaticName(NameVar *string) {1284 func (x *Task) SetStaticName(NameVar *string) {
1265 1285
1266- xTaskSetStaticName(x.GoPointer(), core.NullableStringToPtr(NameVar))1286+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
1287+
1288+ xTaskSetStaticName(x.GoPointer(), NameVarPtr)
1289+
1290+ runtime.KeepAlive(NameVarBytes)
1267 1291
1268 }1292 }
1269 1293
@@ -1331,6 +1355,7 @@ func (x *Task) GetPropertyCompleted() bool {
1331 func (x *Task) GetUserData() uintptr {1355 func (x *Task) GetUserData() uintptr {
1332 1356
1333 cret := XGAsyncResultGetUserData(x.GoPointer())1357 cret := XGAsyncResultGetUserData(x.GoPointer())
1358+
1334 return cret1359 return cret
1335 }1360 }
1336 1361
@@ -1339,6 +1364,7 @@ func (x *Task) GetUserData() uintptr {
1339 func (x *Task) IsTagged(SourceTagVar uintptr) bool {1364 func (x *Task) IsTagged(SourceTagVar uintptr) bool {
1340 1365
1341 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)1366 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
1367+
1342 return cret1368 return cret
1343 }1369 }
1344 1370
@@ -1356,6 +1382,7 @@ func (x *Task) LegacyPropagateError() (bool, error) {
1356 var cerr *glib.Error1382 var cerr *glib.Error
1357 1383
1358 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())1384 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())
1385+
1359 if cerr == nil {1386 if cerr == nil {
1360 return cret, nil1387 return cret, nil
1361 }1388 }
@@ -1371,6 +1398,7 @@ var xTaskIsValid func(uintptr, uintptr) bool
1371 func TaskIsValid(ResultVar AsyncResult, SourceObjectVar *gobject.Object) bool {1398 func TaskIsValid(ResultVar AsyncResult, SourceObjectVar *gobject.Object) bool {
1372 1399
1373 cret := xTaskIsValid(ResultVar.GoPointer(), SourceObjectVar.GoPointer())1400 cret := xTaskIsValid(ResultVar.GoPointer(), SourceObjectVar.GoPointer())
1401+
1374 return cret1402 return cret
1375 }1403 }
1376 1404
M v4/gio/gtcpconnection.go +1 -0
@@ -54,6 +54,7 @@ var xTcpConnectionGetGracefulDisconnect func(uintptr) bool
54 func (x *TcpConnection) GetGracefulDisconnect() bool {54 func (x *TcpConnection) GetGracefulDisconnect() bool {
55 55
56 cret := xTcpConnectionGetGracefulDisconnect(x.GoPointer())56 cret := xTcpConnectionGetGracefulDisconnect(x.GoPointer())
57+
57 return cret58 return cret
58 }59 }
59 60
M v4/gio/gtestdbus.go +2 -0
@@ -152,6 +152,7 @@ var xTestDBusGetBusAddress func(uintptr) string
152 func (x *TestDBus) GetBusAddress() string {152 func (x *TestDBus) GetBusAddress() string {
153 153
154 cret := xTestDBusGetBusAddress(x.GoPointer())154 cret := xTestDBusGetBusAddress(x.GoPointer())
155+
155 return cret156 return cret
156 }157 }
157 158
@@ -161,6 +162,7 @@ var xTestDBusGetFlags func(uintptr) TestDBusFlags
161 func (x *TestDBus) GetFlags() TestDBusFlags {162 func (x *TestDBus) GetFlags() TestDBusFlags {
162 163
163 cret := xTestDBusGetFlags(x.GoPointer())164 cret := xTestDBusGetFlags(x.GoPointer())
165+
164 return cret166 return cret
165 }167 }
166 168
M v4/gio/gthemedicon.go +5 -0
@@ -126,6 +126,7 @@ var xThemedIconGetNames func(uintptr) []string
126 func (x *ThemedIcon) GetNames() []string {126 func (x *ThemedIcon) GetNames() []string {
127 127
128 cret := xThemedIconGetNames(x.GoPointer())128 cret := xThemedIconGetNames(x.GoPointer())
129+
129 return cret130 return cret
130 }131 }
131 132
@@ -231,6 +232,7 @@ func (x *ThemedIcon) GetPropertyUseDefaultFallbacks() bool {
231 func (x *ThemedIcon) Equal(Icon2Var Icon) bool {232 func (x *ThemedIcon) Equal(Icon2Var Icon) bool {
232 233
233 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())234 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
235+
234 return cret236 return cret
235 }237 }
236 238
@@ -238,6 +240,7 @@ func (x *ThemedIcon) Equal(Icon2Var Icon) bool {
238 func (x *ThemedIcon) Hash() uint {240 func (x *ThemedIcon) Hash() uint {
239 241
240 cret := XGIconHash(x.GoPointer())242 cret := XGIconHash(x.GoPointer())
243+
241 return cret244 return cret
242 }245 }
243 246
@@ -249,6 +252,7 @@ func (x *ThemedIcon) Hash() uint {
249 func (x *ThemedIcon) Serialize() *glib.Variant {252 func (x *ThemedIcon) Serialize() *glib.Variant {
250 253
251 cret := XGIconSerialize(x.GoPointer())254 cret := XGIconSerialize(x.GoPointer())
255+
252 return cret256 return cret
253 }257 }
254 258
@@ -271,6 +275,7 @@ func (x *ThemedIcon) Serialize() *glib.Variant {
271 func (x *ThemedIcon) ToString() string {275 func (x *ThemedIcon) ToString() string {
272 276
273 cret := XGIconToString(x.GoPointer())277 cret := XGIconToString(x.GoPointer())
278+
274 return cret279 return cret
275 }280 }
276 281
M v4/gio/gtlsbackend.go +8 -0
@@ -318,6 +318,7 @@ func (x *TlsBackendBase) SetGoPointer(ptr uintptr) {
318 func (x *TlsBackendBase) GetCertificateType() types.GType {318 func (x *TlsBackendBase) GetCertificateType() types.GType {
319 319
320 cret := XGTlsBackendGetCertificateType(x.GoPointer())320 cret := XGTlsBackendGetCertificateType(x.GoPointer())
321+
321 return cret322 return cret
322 }323 }
323 324
@@ -325,6 +326,7 @@ func (x *TlsBackendBase) GetCertificateType() types.GType {
325 func (x *TlsBackendBase) GetClientConnectionType() types.GType {326 func (x *TlsBackendBase) GetClientConnectionType() types.GType {
326 327
327 cret := XGTlsBackendGetClientConnectionType(x.GoPointer())328 cret := XGTlsBackendGetClientConnectionType(x.GoPointer())
329+
328 return cret330 return cret
329 }331 }
330 332
@@ -346,6 +348,7 @@ func (x *TlsBackendBase) GetDefaultDatabase() *TlsDatabase {
346 func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType {348 func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType {
347 349
348 cret := XGTlsBackendGetDtlsClientConnectionType(x.GoPointer())350 cret := XGTlsBackendGetDtlsClientConnectionType(x.GoPointer())
351+
349 return cret352 return cret
350 }353 }
351 354
@@ -353,6 +356,7 @@ func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType {
353 func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType {356 func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType {
354 357
355 cret := XGTlsBackendGetDtlsServerConnectionType(x.GoPointer())358 cret := XGTlsBackendGetDtlsServerConnectionType(x.GoPointer())
359+
356 return cret360 return cret
357 }361 }
358 362
@@ -360,6 +364,7 @@ func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType {
360 func (x *TlsBackendBase) GetFileDatabaseType() types.GType {364 func (x *TlsBackendBase) GetFileDatabaseType() types.GType {
361 365
362 cret := XGTlsBackendGetFileDatabaseType(x.GoPointer())366 cret := XGTlsBackendGetFileDatabaseType(x.GoPointer())
367+
363 return cret368 return cret
364 }369 }
365 370
@@ -367,6 +372,7 @@ func (x *TlsBackendBase) GetFileDatabaseType() types.GType {
367 func (x *TlsBackendBase) GetServerConnectionType() types.GType {372 func (x *TlsBackendBase) GetServerConnectionType() types.GType {
368 373
369 cret := XGTlsBackendGetServerConnectionType(x.GoPointer())374 cret := XGTlsBackendGetServerConnectionType(x.GoPointer())
375+
370 return cret376 return cret
371 }377 }
372 378
@@ -389,6 +395,7 @@ func (x *TlsBackendBase) SetDefaultDatabase(DatabaseVar *TlsDatabase) {
389 func (x *TlsBackendBase) SupportsDtls() bool {395 func (x *TlsBackendBase) SupportsDtls() bool {
390 396
391 cret := XGTlsBackendSupportsDtls(x.GoPointer())397 cret := XGTlsBackendSupportsDtls(x.GoPointer())
398+
392 return cret399 return cret
393 }400 }
394 401
@@ -397,6 +404,7 @@ func (x *TlsBackendBase) SupportsDtls() bool {
397 func (x *TlsBackendBase) SupportsTls() bool {404 func (x *TlsBackendBase) SupportsTls() bool {
398 405
399 cret := XGTlsBackendSupportsTls(x.GoPointer())406 cret := XGTlsBackendSupportsTls(x.GoPointer())
407+
400 return cret408 return cret
401 }409 }
402 410
M v4/gio/gtlscertificate.go +20 -2
@@ -2,6 +2,7 @@
2 package gio2 package gio
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -236,7 +237,11 @@ func NewTlsCertificateFromPkcs11Uris(Pkcs11UriVar string, PrivateKeyPkcs11UriVar
236 var cls *TlsCertificate237 var cls *TlsCertificate
237 var cerr *glib.Error238 var cerr *glib.Error
238 239
239- cret := xNewTlsCertificateFromPkcs11Uris(Pkcs11UriVar, core.NullableStringToPtr(PrivateKeyPkcs11UriVar), &cerr)240+ PrivateKeyPkcs11UriVarPtr, PrivateKeyPkcs11UriVarBytes := core.NullableStringToPtr(PrivateKeyPkcs11UriVar)
241+
242+ cret := xNewTlsCertificateFromPkcs11Uris(Pkcs11UriVar, PrivateKeyPkcs11UriVarPtr, &cerr)
243+
244+ runtime.KeepAlive(PrivateKeyPkcs11UriVarBytes)
240 245
241 if cret == 0 {246 if cret == 0 {
242 return nil, cerr247 return nil, cerr
@@ -273,7 +278,11 @@ func NewTlsCertificateFromPkcs12(DataVar []byte, LengthVar uint, PasswordVar *st
273 var cls *TlsCertificate278 var cls *TlsCertificate
274 var cerr *glib.Error279 var cerr *glib.Error
275 280
276- cret := xNewTlsCertificateFromPkcs12(DataVar, LengthVar, core.NullableStringToPtr(PasswordVar), &cerr)281+ PasswordVarPtr, PasswordVarBytes := core.NullableStringToPtr(PasswordVar)
282+
283+ cret := xNewTlsCertificateFromPkcs12(DataVar, LengthVar, PasswordVarPtr, &cerr)
284+
285+ runtime.KeepAlive(PasswordVarBytes)
277 286
278 if cret == 0 {287 if cret == 0 {
279 return nil, cerr288 return nil, cerr
@@ -293,6 +302,7 @@ var xTlsCertificateGetDnsNames func(uintptr) uintptr
293 func (x *TlsCertificate) GetDnsNames() uintptr {302 func (x *TlsCertificate) GetDnsNames() uintptr {
294 303
295 cret := xTlsCertificateGetDnsNames(x.GoPointer())304 cret := xTlsCertificateGetDnsNames(x.GoPointer())
305+
296 return cret306 return cret
297 }307 }
298 308
@@ -302,6 +312,7 @@ var xTlsCertificateGetIpAddresses func(uintptr) uintptr
302 func (x *TlsCertificate) GetIpAddresses() uintptr {312 func (x *TlsCertificate) GetIpAddresses() uintptr {
303 313
304 cret := xTlsCertificateGetIpAddresses(x.GoPointer())314 cret := xTlsCertificateGetIpAddresses(x.GoPointer())
315+
305 return cret316 return cret
306 }317 }
307 318
@@ -328,6 +339,7 @@ var xTlsCertificateGetIssuerName func(uintptr) string
328 func (x *TlsCertificate) GetIssuerName() string {339 func (x *TlsCertificate) GetIssuerName() string {
329 340
330 cret := xTlsCertificateGetIssuerName(x.GoPointer())341 cret := xTlsCertificateGetIssuerName(x.GoPointer())
342+
331 return cret343 return cret
332 }344 }
333 345
@@ -337,6 +349,7 @@ var xTlsCertificateGetNotValidAfter func(uintptr) *glib.DateTime
337 func (x *TlsCertificate) GetNotValidAfter() *glib.DateTime {349 func (x *TlsCertificate) GetNotValidAfter() *glib.DateTime {
338 350
339 cret := xTlsCertificateGetNotValidAfter(x.GoPointer())351 cret := xTlsCertificateGetNotValidAfter(x.GoPointer())
352+
340 return cret353 return cret
341 }354 }
342 355
@@ -346,6 +359,7 @@ var xTlsCertificateGetNotValidBefore func(uintptr) *glib.DateTime
346 func (x *TlsCertificate) GetNotValidBefore() *glib.DateTime {359 func (x *TlsCertificate) GetNotValidBefore() *glib.DateTime {
347 360
348 cret := xTlsCertificateGetNotValidBefore(x.GoPointer())361 cret := xTlsCertificateGetNotValidBefore(x.GoPointer())
362+
349 return cret363 return cret
350 }364 }
351 365
@@ -355,6 +369,7 @@ var xTlsCertificateGetSubjectName func(uintptr) string
355 func (x *TlsCertificate) GetSubjectName() string {369 func (x *TlsCertificate) GetSubjectName() string {
356 370
357 cret := xTlsCertificateGetSubjectName(x.GoPointer())371 cret := xTlsCertificateGetSubjectName(x.GoPointer())
372+
358 return cret373 return cret
359 }374 }
360 375
@@ -368,6 +383,7 @@ var xTlsCertificateIsSame func(uintptr, uintptr) bool
368 func (x *TlsCertificate) IsSame(CertTwoVar *TlsCertificate) bool {383 func (x *TlsCertificate) IsSame(CertTwoVar *TlsCertificate) bool {
369 384
370 cret := xTlsCertificateIsSame(x.GoPointer(), CertTwoVar.GoPointer())385 cret := xTlsCertificateIsSame(x.GoPointer(), CertTwoVar.GoPointer())
386+
371 return cret387 return cret
372 }388 }
373 389
@@ -409,6 +425,7 @@ var xTlsCertificateVerify func(uintptr, uintptr, uintptr) TlsCertificateFlags
409 func (x *TlsCertificate) Verify(IdentityVar SocketConnectable, TrustedCaVar *TlsCertificate) TlsCertificateFlags {425 func (x *TlsCertificate) Verify(IdentityVar SocketConnectable, TrustedCaVar *TlsCertificate) TlsCertificateFlags {
410 426
411 cret := xTlsCertificateVerify(x.GoPointer(), IdentityVar.GoPointer(), TrustedCaVar.GoPointer())427 cret := xTlsCertificateVerify(x.GoPointer(), IdentityVar.GoPointer(), TrustedCaVar.GoPointer())
428+
412 return cret429 return cret
413 }430 }
414 431
@@ -710,6 +727,7 @@ func TlsCertificateListNewFromFile(FileVar string) (*glib.List, error) {
710 var cerr *glib.Error727 var cerr *glib.Error
711 728
712 cret := xTlsCertificateListNewFromFile(FileVar, &cerr)729 cret := xTlsCertificateListNewFromFile(FileVar, &cerr)
730+
713 if cerr == nil {731 if cerr == nil {
714 return cret, nil732 return cret, nil
715 }733 }
M v4/gio/gtlsclientconnection.go +3 -0
@@ -130,6 +130,7 @@ func (x *TlsClientConnectionBase) CopySessionState(SourceVar TlsClientConnection
130 func (x *TlsClientConnectionBase) GetAcceptedCas() *glib.List {130 func (x *TlsClientConnectionBase) GetAcceptedCas() *glib.List {
131 131
132 cret := XGTlsClientConnectionGetAcceptedCas(x.GoPointer())132 cret := XGTlsClientConnectionGetAcceptedCas(x.GoPointer())
133+
133 return cret134 return cret
134 }135 }
135 136
@@ -153,6 +154,7 @@ func (x *TlsClientConnectionBase) GetServerIdentity() *SocketConnectableBase {
153 func (x *TlsClientConnectionBase) GetUseSsl3() bool {154 func (x *TlsClientConnectionBase) GetUseSsl3() bool {
154 155
155 cret := XGTlsClientConnectionGetUseSsl3(x.GoPointer())156 cret := XGTlsClientConnectionGetUseSsl3(x.GoPointer())
157+
156 return cret158 return cret
157 }159 }
158 160
@@ -164,6 +166,7 @@ func (x *TlsClientConnectionBase) GetUseSsl3() bool {
164 func (x *TlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags {166 func (x *TlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags {
165 167
166 cret := XGTlsClientConnectionGetValidationFlags(x.GoPointer())168 cret := XGTlsClientConnectionGetValidationFlags(x.GoPointer())
169+
167 return cret170 return cret
168 }171 }
169 172
M v4/gio/gtlsconnection.go +13 -0
@@ -201,6 +201,7 @@ var xTlsChannelBindingErrorQuark func() glib.Quark
201 func TlsChannelBindingErrorQuark() glib.Quark {201 func TlsChannelBindingErrorQuark() glib.Quark {
202 202
203 cret := xTlsChannelBindingErrorQuark()203 cret := xTlsChannelBindingErrorQuark()
204+
204 return cret205 return cret
205 }206 }
206 207
@@ -210,6 +211,7 @@ var xTlsErrorQuark func() glib.Quark
210 func TlsErrorQuark() glib.Quark {211 func TlsErrorQuark() glib.Quark {
211 212
212 cret := xTlsErrorQuark()213 cret := xTlsErrorQuark()
214+
213 return cret215 return cret
214 }216 }
215 217
@@ -243,6 +245,7 @@ var xTlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFla
243 func (x *TlsConnection) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool {245 func (x *TlsConnection) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool {
244 246
245 cret := xTlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar)247 cret := xTlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar)
248+
246 return cret249 return cret
247 }250 }
248 251
@@ -283,6 +286,7 @@ func (x *TlsConnection) GetChannelBindingData(TypeVar TlsChannelBindingType, Dat
283 var cerr *glib.Error286 var cerr *glib.Error
284 287
285 cret := xTlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)288 cret := xTlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)
289+
286 if cerr == nil {290 if cerr == nil {
287 return cret, nil291 return cret, nil
288 }292 }
@@ -303,6 +307,7 @@ var xTlsConnectionGetCiphersuiteName func(uintptr) string
303 func (x *TlsConnection) GetCiphersuiteName() string {307 func (x *TlsConnection) GetCiphersuiteName() string {
304 308
305 cret := xTlsConnectionGetCiphersuiteName(x.GoPointer())309 cret := xTlsConnectionGetCiphersuiteName(x.GoPointer())
310+
306 return cret311 return cret
307 }312 }
308 313
@@ -355,6 +360,7 @@ var xTlsConnectionGetNegotiatedProtocol func(uintptr) string
355 func (x *TlsConnection) GetNegotiatedProtocol() string {360 func (x *TlsConnection) GetNegotiatedProtocol() string {
356 361
357 cret := xTlsConnectionGetNegotiatedProtocol(x.GoPointer())362 cret := xTlsConnectionGetNegotiatedProtocol(x.GoPointer())
363+
358 return cret364 return cret
359 }365 }
360 366
@@ -387,6 +393,7 @@ var xTlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags
387 func (x *TlsConnection) GetPeerCertificateErrors() TlsCertificateFlags {393 func (x *TlsConnection) GetPeerCertificateErrors() TlsCertificateFlags {
388 394
389 cret := xTlsConnectionGetPeerCertificateErrors(x.GoPointer())395 cret := xTlsConnectionGetPeerCertificateErrors(x.GoPointer())
396+
390 return cret397 return cret
391 }398 }
392 399
@@ -399,6 +406,7 @@ var xTlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion
399 func (x *TlsConnection) GetProtocolVersion() TlsProtocolVersion {406 func (x *TlsConnection) GetProtocolVersion() TlsProtocolVersion {
400 407
401 cret := xTlsConnectionGetProtocolVersion(x.GoPointer())408 cret := xTlsConnectionGetProtocolVersion(x.GoPointer())
409+
402 return cret410 return cret
403 }411 }
404 412
@@ -409,6 +417,7 @@ var xTlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode
409 func (x *TlsConnection) GetRehandshakeMode() TlsRehandshakeMode {417 func (x *TlsConnection) GetRehandshakeMode() TlsRehandshakeMode {
410 418
411 cret := xTlsConnectionGetRehandshakeMode(x.GoPointer())419 cret := xTlsConnectionGetRehandshakeMode(x.GoPointer())
420+
412 return cret421 return cret
413 }422 }
414 423
@@ -420,6 +429,7 @@ var xTlsConnectionGetRequireCloseNotify func(uintptr) bool
420 func (x *TlsConnection) GetRequireCloseNotify() bool {429 func (x *TlsConnection) GetRequireCloseNotify() bool {
421 430
422 cret := xTlsConnectionGetRequireCloseNotify(x.GoPointer())431 cret := xTlsConnectionGetRequireCloseNotify(x.GoPointer())
432+
423 return cret433 return cret
424 }434 }
425 435
@@ -430,6 +440,7 @@ var xTlsConnectionGetUseSystemCertdb func(uintptr) bool
430 func (x *TlsConnection) GetUseSystemCertdb() bool {440 func (x *TlsConnection) GetUseSystemCertdb() bool {
431 441
432 cret := xTlsConnectionGetUseSystemCertdb(x.GoPointer())442 cret := xTlsConnectionGetUseSystemCertdb(x.GoPointer())
443+
433 return cret444 return cret
434 }445 }
435 446
@@ -470,6 +481,7 @@ func (x *TlsConnection) Handshake(CancellableVar *Cancellable) (bool, error) {
470 var cerr *glib.Error481 var cerr *glib.Error
471 482
472 cret := xTlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr)483 cret := xTlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
484+
473 if cerr == nil {485 if cerr == nil {
474 return cret, nil486 return cret, nil
475 }487 }
@@ -510,6 +522,7 @@ func (x *TlsConnection) HandshakeFinish(ResultVar AsyncResult) (bool, error) {
510 var cerr *glib.Error522 var cerr *glib.Error
511 523
512 cret := xTlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)524 cret := xTlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
525+
513 if cerr == nil {526 if cerr == nil {
514 return cret, nil527 return cret, nil
515 }528 }
M v4/gio/gtlsdatabase.go +5 -0
@@ -525,6 +525,7 @@ var xTlsDatabaseCreateCertificateHandle func(uintptr, uintptr) string
525 func (x *TlsDatabase) CreateCertificateHandle(CertificateVar *TlsCertificate) string {525 func (x *TlsDatabase) CreateCertificateHandle(CertificateVar *TlsCertificate) string {
526 526
527 cret := xTlsDatabaseCreateCertificateHandle(x.GoPointer(), CertificateVar.GoPointer())527 cret := xTlsDatabaseCreateCertificateHandle(x.GoPointer(), CertificateVar.GoPointer())
528+
528 return cret529 return cret
529 }530 }
530 531
@@ -707,6 +708,7 @@ func (x *TlsDatabase) LookupCertificatesIssuedBy(IssuerRawDnVar []byte, Interact
707 var cerr *glib.Error708 var cerr *glib.Error
708 709
709 cret := xTlsDatabaseLookupCertificatesIssuedBy(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)710 cret := xTlsDatabaseLookupCertificatesIssuedBy(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
711+
710 if cerr == nil {712 if cerr == nil {
711 return cret, nil713 return cret, nil
712 }714 }
@@ -751,6 +753,7 @@ func (x *TlsDatabase) LookupCertificatesIssuedByFinish(ResultVar AsyncResult) (*
751 var cerr *glib.Error753 var cerr *glib.Error
752 754
753 cret := xTlsDatabaseLookupCertificatesIssuedByFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)755 cret := xTlsDatabaseLookupCertificatesIssuedByFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
756+
754 if cerr == nil {757 if cerr == nil {
755 return cret, nil758 return cret, nil
756 }759 }
@@ -824,6 +827,7 @@ func (x *TlsDatabase) VerifyChain(ChainVar *TlsCertificate, PurposeVar string, I
824 var cerr *glib.Error827 var cerr *glib.Error
825 828
826 cret := xTlsDatabaseVerifyChain(x.GoPointer(), ChainVar.GoPointer(), PurposeVar, IdentityVar.GoPointer(), InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)829 cret := xTlsDatabaseVerifyChain(x.GoPointer(), ChainVar.GoPointer(), PurposeVar, IdentityVar.GoPointer(), InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
830+
827 if cerr == nil {831 if cerr == nil {
828 return cret, nil832 return cret, nil
829 }833 }
@@ -874,6 +878,7 @@ func (x *TlsDatabase) VerifyChainFinish(ResultVar AsyncResult) (TlsCertificateFl
874 var cerr *glib.Error878 var cerr *glib.Error
875 879
876 cret := xTlsDatabaseVerifyChainFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)880 cret := xTlsDatabaseVerifyChainFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
881+
877 if cerr == nil {882 if cerr == nil {
878 return cret, nil883 return cret, nil
879 }884 }
M v4/gio/gtlsinteraction.go +6 -0
@@ -295,6 +295,7 @@ func (x *TlsInteraction) AskPassword(PasswordVar *TlsPassword, CancellableVar *C
295 var cerr *glib.Error295 var cerr *glib.Error
296 296
297 cret := xTlsInteractionAskPassword(x.GoPointer(), PasswordVar.GoPointer(), CancellableVar.GoPointer(), &cerr)297 cret := xTlsInteractionAskPassword(x.GoPointer(), PasswordVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
298+
298 if cerr == nil {299 if cerr == nil {
299 return cret, nil300 return cret, nil
300 }301 }
@@ -355,6 +356,7 @@ func (x *TlsInteraction) AskPasswordFinish(ResultVar AsyncResult) (TlsInteractio
355 var cerr *glib.Error356 var cerr *glib.Error
356 357
357 cret := xTlsInteractionAskPasswordFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)358 cret := xTlsInteractionAskPasswordFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
359+
358 if cerr == nil {360 if cerr == nil {
359 return cret, nil361 return cret, nil
360 }362 }
@@ -387,6 +389,7 @@ func (x *TlsInteraction) InvokeAskPassword(PasswordVar *TlsPassword, Cancellable
387 var cerr *glib.Error389 var cerr *glib.Error
388 390
389 cret := xTlsInteractionInvokeAskPassword(x.GoPointer(), PasswordVar.GoPointer(), CancellableVar.GoPointer(), &cerr)391 cret := xTlsInteractionInvokeAskPassword(x.GoPointer(), PasswordVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
392+
390 if cerr == nil {393 if cerr == nil {
391 return cret, nil394 return cret, nil
392 }395 }
@@ -420,6 +423,7 @@ func (x *TlsInteraction) InvokeRequestCertificate(ConnectionVar *TlsConnection,
420 var cerr *glib.Error423 var cerr *glib.Error
421 424
422 cret := xTlsInteractionInvokeRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)425 cret := xTlsInteractionInvokeRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
426+
423 if cerr == nil {427 if cerr == nil {
424 return cret, nil428 return cret, nil
425 }429 }
@@ -449,6 +453,7 @@ func (x *TlsInteraction) RequestCertificate(ConnectionVar *TlsConnection, FlagsV
449 var cerr *glib.Error453 var cerr *glib.Error
450 454
451 cret := xTlsInteractionRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)455 cret := xTlsInteractionRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
456+
452 if cerr == nil {457 if cerr == nil {
453 return cret, nil458 return cret, nil
454 }459 }
@@ -503,6 +508,7 @@ func (x *TlsInteraction) RequestCertificateFinish(ResultVar AsyncResult) (TlsInt
503 var cerr *glib.Error508 var cerr *glib.Error
504 509
505 cret := xTlsInteractionRequestCertificateFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)510 cret := xTlsInteractionRequestCertificateFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
511+
506 if cerr == nil {512 if cerr == nil {
507 return cret, nil513 return cret, nil
508 }514 }
M v4/gio/gtlspassword.go +4 -0
@@ -158,6 +158,7 @@ var xTlsPasswordGetDescription func(uintptr) string
158 func (x *TlsPassword) GetDescription() string {158 func (x *TlsPassword) GetDescription() string {
159 159
160 cret := xTlsPasswordGetDescription(x.GoPointer())160 cret := xTlsPasswordGetDescription(x.GoPointer())
161+
161 return cret162 return cret
162 }163 }
163 164
@@ -167,6 +168,7 @@ var xTlsPasswordGetFlags func(uintptr) TlsPasswordFlags
167 func (x *TlsPassword) GetFlags() TlsPasswordFlags {168 func (x *TlsPassword) GetFlags() TlsPasswordFlags {
168 169
169 cret := xTlsPasswordGetFlags(x.GoPointer())170 cret := xTlsPasswordGetFlags(x.GoPointer())
171+
170 return cret172 return cret
171 }173 }
172 174
@@ -180,6 +182,7 @@ var xTlsPasswordGetValue func(uintptr, *uint) uintptr
180 func (x *TlsPassword) GetValue(LengthVar *uint) uintptr {182 func (x *TlsPassword) GetValue(LengthVar *uint) uintptr {
181 183
182 cret := xTlsPasswordGetValue(x.GoPointer(), LengthVar)184 cret := xTlsPasswordGetValue(x.GoPointer(), LengthVar)
185+
183 return cret186 return cret
184 }187 }
185 188
@@ -191,6 +194,7 @@ var xTlsPasswordGetWarning func(uintptr) string
191 func (x *TlsPassword) GetWarning() string {194 func (x *TlsPassword) GetWarning() string {
192 195
193 cret := xTlsPasswordGetWarning(x.GoPointer())196 cret := xTlsPasswordGetWarning(x.GoPointer())
197+
194 return cret198 return cret
195 }199 }
196 200
M v4/gio/gunixconnection.go +4 -0
@@ -160,6 +160,7 @@ func (x *UnixConnection) ReceiveFd(CancellableVar *Cancellable) (int, error) {
160 var cerr *glib.Error160 var cerr *glib.Error
161 161
162 cret := xUnixConnectionReceiveFd(x.GoPointer(), CancellableVar.GoPointer(), &cerr)162 cret := xUnixConnectionReceiveFd(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
163+
163 if cerr == nil {164 if cerr == nil {
164 return cret, nil165 return cret, nil
165 }166 }
@@ -192,6 +193,7 @@ func (x *UnixConnection) SendCredentials(CancellableVar *Cancellable) (bool, err
192 var cerr *glib.Error193 var cerr *glib.Error
193 194
194 cret := xUnixConnectionSendCredentials(x.GoPointer(), CancellableVar.GoPointer(), &cerr)195 cret := xUnixConnectionSendCredentials(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
196+
195 if cerr == nil {197 if cerr == nil {
196 return cret, nil198 return cret, nil
197 }199 }
@@ -237,6 +239,7 @@ func (x *UnixConnection) SendCredentialsFinish(ResultVar AsyncResult) (bool, err
237 var cerr *glib.Error239 var cerr *glib.Error
238 240
239 cret := xUnixConnectionSendCredentialsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)241 cret := xUnixConnectionSendCredentialsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
242+
240 if cerr == nil {243 if cerr == nil {
241 return cret, nil244 return cret, nil
242 }245 }
@@ -257,6 +260,7 @@ func (x *UnixConnection) SendFd(FdVar int, CancellableVar *Cancellable) (bool, e
257 var cerr *glib.Error260 var cerr *glib.Error
258 261
259 cret := xUnixConnectionSendFd(x.GoPointer(), FdVar, CancellableVar.GoPointer(), &cerr)262 cret := xUnixConnectionSendFd(x.GoPointer(), FdVar, CancellableVar.GoPointer(), &cerr)
263+
260 if cerr == nil {264 if cerr == nil {
261 return cret, nil265 return cret, nil
262 }266 }
M v4/gio/gunixcredentialsmessage.go +1 -0
@@ -181,6 +181,7 @@ var xUnixCredentialsMessageIsSupported func() bool
181 func UnixCredentialsMessageIsSupported() bool {181 func UnixCredentialsMessageIsSupported() bool {
182 182
183 cret := xUnixCredentialsMessageIsSupported()183 cret := xUnixCredentialsMessageIsSupported()
184+
184 return cret185 return cret
185 }186 }
186 187
M v4/gio/gunixfdlist.go +5 -0
@@ -242,6 +242,7 @@ func (x *UnixFDList) Append(FdVar int) (int, error) {
242 var cerr *glib.Error242 var cerr *glib.Error
243 243
244 cret := xUnixFDListAppend(x.GoPointer(), FdVar, &cerr)244 cret := xUnixFDListAppend(x.GoPointer(), FdVar, &cerr)
245+
245 if cerr == nil {246 if cerr == nil {
246 return cret, nil247 return cret, nil
247 }248 }
@@ -267,6 +268,7 @@ func (x *UnixFDList) Get(IndexVar int) (int, error) {
267 var cerr *glib.Error268 var cerr *glib.Error
268 269
269 cret := xUnixFDListGet(x.GoPointer(), IndexVar, &cerr)270 cret := xUnixFDListGet(x.GoPointer(), IndexVar, &cerr)
271+
270 if cerr == nil {272 if cerr == nil {
271 return cret, nil273 return cret, nil
272 }274 }
@@ -281,6 +283,7 @@ var xUnixFDListGetLength func(uintptr) int
281 func (x *UnixFDList) GetLength() int {283 func (x *UnixFDList) GetLength() int {
282 284
283 cret := xUnixFDListGetLength(x.GoPointer())285 cret := xUnixFDListGetLength(x.GoPointer())
286+
284 return cret287 return cret
285 }288 }
286 289
@@ -302,6 +305,7 @@ var xUnixFDListPeekFds func(uintptr, *int) uintptr
302 func (x *UnixFDList) PeekFds(LengthVar *int) uintptr {305 func (x *UnixFDList) PeekFds(LengthVar *int) uintptr {
303 306
304 cret := xUnixFDListPeekFds(x.GoPointer(), LengthVar)307 cret := xUnixFDListPeekFds(x.GoPointer(), LengthVar)
308+
305 return cret309 return cret
306 }310 }
307 311
@@ -328,6 +332,7 @@ var xUnixFDListStealFds func(uintptr, *int) uintptr
328 func (x *UnixFDList) StealFds(LengthVar *int) uintptr {332 func (x *UnixFDList) StealFds(LengthVar *int) uintptr {
329 333
330 cret := xUnixFDListStealFds(x.GoPointer(), LengthVar)334 cret := xUnixFDListStealFds(x.GoPointer(), LengthVar)
335+
331 return cret336 return cret
332 }337 }
333 338
M v4/gio/gunixsocketaddress.go +6 -0
@@ -153,6 +153,7 @@ var xUnixSocketAddressGetAddressType func(uintptr) UnixSocketAddressType
153 func (x *UnixSocketAddress) GetAddressType() UnixSocketAddressType {153 func (x *UnixSocketAddress) GetAddressType() UnixSocketAddressType {
154 154
155 cret := xUnixSocketAddressGetAddressType(x.GoPointer())155 cret := xUnixSocketAddressGetAddressType(x.GoPointer())
156+
156 return cret157 return cret
157 }158 }
158 159
@@ -162,6 +163,7 @@ var xUnixSocketAddressGetIsAbstract func(uintptr) bool
162 func (x *UnixSocketAddress) GetIsAbstract() bool {163 func (x *UnixSocketAddress) GetIsAbstract() bool {
163 164
164 cret := xUnixSocketAddressGetIsAbstract(x.GoPointer())165 cret := xUnixSocketAddressGetIsAbstract(x.GoPointer())
166+
165 return cret167 return cret
166 }168 }
167 169
@@ -176,6 +178,7 @@ var xUnixSocketAddressGetPath func(uintptr) string
176 func (x *UnixSocketAddress) GetPath() string {178 func (x *UnixSocketAddress) GetPath() string {
177 179
178 cret := xUnixSocketAddressGetPath(x.GoPointer())180 cret := xUnixSocketAddressGetPath(x.GoPointer())
181+
179 return cret182 return cret
180 }183 }
181 184
@@ -187,6 +190,7 @@ var xUnixSocketAddressGetPathLen func(uintptr) uint
187 func (x *UnixSocketAddress) GetPathLen() uint {190 func (x *UnixSocketAddress) GetPathLen() uint {
188 191
189 cret := xUnixSocketAddressGetPathLen(x.GoPointer())192 cret := xUnixSocketAddressGetPathLen(x.GoPointer())
193+
190 return cret194 return cret
191 }195 }
192 196
@@ -300,6 +304,7 @@ func (x *UnixSocketAddress) ProxyEnumerate() *SocketAddressEnumerator {
300 func (x *UnixSocketAddress) ToString() string {304 func (x *UnixSocketAddress) ToString() string {
301 305
302 cret := XGSocketConnectableToString(x.GoPointer())306 cret := XGSocketConnectableToString(x.GoPointer())
307+
303 return cret308 return cret
304 }309 }
305 310
@@ -309,6 +314,7 @@ var xUnixSocketAddressAbstractNamesSupported func() bool
309 func UnixSocketAddressAbstractNamesSupported() bool {314 func UnixSocketAddressAbstractNamesSupported() bool {
310 315
311 cret := xUnixSocketAddressAbstractNamesSupported()316 cret := xUnixSocketAddressAbstractNamesSupported()
317+
312 return cret318 return cret
313 }319 }
314 320
M v4/gio/gvfs.go +4 -0
@@ -560,6 +560,7 @@ var xVfsGetSupportedUriSchemes func(uintptr) []string
560 func (x *Vfs) GetSupportedUriSchemes() []string {560 func (x *Vfs) GetSupportedUriSchemes() []string {
561 561
562 cret := xVfsGetSupportedUriSchemes(x.GoPointer())562 cret := xVfsGetSupportedUriSchemes(x.GoPointer())
563+
563 return cret564 return cret
564 }565 }
565 566
@@ -569,6 +570,7 @@ var xVfsIsActive func(uintptr) bool
569 func (x *Vfs) IsActive() bool {570 func (x *Vfs) IsActive() bool {
570 571
571 cret := xVfsIsActive(x.GoPointer())572 cret := xVfsIsActive(x.GoPointer())
573+
572 return cret574 return cret
573 }575 }
574 576
@@ -675,6 +677,7 @@ func (x *Vfs) RegisterUriScheme(SchemeVar string, UriFuncVar *VfsFileLookupFunc,
675 }677 }
676 678
677 cret := xVfsRegisterUriScheme(x.GoPointer(), SchemeVar, UriFuncVarRef, UriDataVar, UriDestroyVarRef, ParseNameFuncVarRef, ParseNameDataVar, ParseNameDestroyVarRef)679 cret := xVfsRegisterUriScheme(x.GoPointer(), SchemeVar, UriFuncVarRef, UriDataVar, UriDestroyVarRef, ParseNameFuncVarRef, ParseNameDataVar, ParseNameDestroyVarRef)
680+
678 return cret681 return cret
679 }682 }
680 683
@@ -685,6 +688,7 @@ var xVfsUnregisterUriScheme func(uintptr, string) bool
685 func (x *Vfs) UnregisterUriScheme(SchemeVar string) bool {688 func (x *Vfs) UnregisterUriScheme(SchemeVar string) bool {
686 689
687 cret := xVfsUnregisterUriScheme(x.GoPointer(), SchemeVar)690 cret := xVfsUnregisterUriScheme(x.GoPointer(), SchemeVar)
691+
688 return cret692 return cret
689 }693 }
690 694
M v4/gio/gvolume.go +11 -0
@@ -755,6 +755,7 @@ func (x *VolumeBase) SetGoPointer(ptr uintptr) {
755 func (x *VolumeBase) CanEject() bool {755 func (x *VolumeBase) CanEject() bool {
756 756
757 cret := XGVolumeCanEject(x.GoPointer())757 cret := XGVolumeCanEject(x.GoPointer())
758+
758 return cret759 return cret
759 }760 }
760 761
@@ -762,6 +763,7 @@ func (x *VolumeBase) CanEject() bool {
762 func (x *VolumeBase) CanMount() bool {763 func (x *VolumeBase) CanMount() bool {
763 764
764 cret := XGVolumeCanMount(x.GoPointer())765 cret := XGVolumeCanMount(x.GoPointer())
766+
765 return cret767 return cret
766 }768 }
767 769
@@ -780,6 +782,7 @@ func (x *VolumeBase) EjectFinish(ResultVar AsyncResult) (bool, error) {
780 var cerr *glib.Error782 var cerr *glib.Error
781 783
782 cret := XGVolumeEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)784 cret := XGVolumeEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
785+
783 if cerr == nil {786 if cerr == nil {
784 return cret, nil787 return cret, nil
785 }788 }
@@ -802,6 +805,7 @@ func (x *VolumeBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, erro
802 var cerr *glib.Error805 var cerr *glib.Error
803 806
804 cret := XGVolumeEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)807 cret := XGVolumeEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
808+
805 if cerr == nil {809 if cerr == nil {
806 return cret, nil810 return cret, nil
807 }811 }
@@ -814,6 +818,7 @@ func (x *VolumeBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, erro
814 func (x *VolumeBase) EnumerateIdentifiers() []string {818 func (x *VolumeBase) EnumerateIdentifiers() []string {
815 819
816 cret := XGVolumeEnumerateIdentifiers(x.GoPointer())820 cret := XGVolumeEnumerateIdentifiers(x.GoPointer())
821+
817 return cret822 return cret
818 }823 }
819 824
@@ -894,6 +899,7 @@ func (x *VolumeBase) GetIcon() *IconBase {
894 func (x *VolumeBase) GetIdentifier(KindVar string) string {899 func (x *VolumeBase) GetIdentifier(KindVar string) string {
895 900
896 cret := XGVolumeGetIdentifier(x.GoPointer(), KindVar)901 cret := XGVolumeGetIdentifier(x.GoPointer(), KindVar)
902+
897 return cret903 return cret
898 }904 }
899 905
@@ -915,6 +921,7 @@ func (x *VolumeBase) GetMount() *MountBase {
915 func (x *VolumeBase) GetName() string {921 func (x *VolumeBase) GetName() string {
916 922
917 cret := XGVolumeGetName(x.GoPointer())923 cret := XGVolumeGetName(x.GoPointer())
924+
918 return cret925 return cret
919 }926 }
920 927
@@ -922,6 +929,7 @@ func (x *VolumeBase) GetName() string {
922 func (x *VolumeBase) GetSortKey() string {929 func (x *VolumeBase) GetSortKey() string {
923 930
924 cret := XGVolumeGetSortKey(x.GoPointer())931 cret := XGVolumeGetSortKey(x.GoPointer())
932+
925 return cret933 return cret
926 }934 }
927 935
@@ -946,6 +954,7 @@ func (x *VolumeBase) GetSymbolicIcon() *IconBase {
946 func (x *VolumeBase) GetUuid() string {954 func (x *VolumeBase) GetUuid() string {
947 955
948 cret := XGVolumeGetUuid(x.GoPointer())956 cret := XGVolumeGetUuid(x.GoPointer())
957+
949 return cret958 return cret
950 }959 }
951 960
@@ -969,6 +978,7 @@ func (x *VolumeBase) MountFinish(ResultVar AsyncResult) (bool, error) {
969 var cerr *glib.Error978 var cerr *glib.Error
970 979
971 cret := XGVolumeMountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)980 cret := XGVolumeMountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
981+
972 if cerr == nil {982 if cerr == nil {
973 return cret, nil983 return cret, nil
974 }984 }
@@ -980,6 +990,7 @@ func (x *VolumeBase) MountFinish(ResultVar AsyncResult) (bool, error) {
980 func (x *VolumeBase) ShouldAutomount() bool {990 func (x *VolumeBase) ShouldAutomount() bool {
981 991
982 cret := XGVolumeShouldAutomount(x.GoPointer())992 cret := XGVolumeShouldAutomount(x.GoPointer())
993+
983 return cret994 return cret
984 }995 }
985 996
M v4/gio/gvolumemonitor.go +3 -0
@@ -719,6 +719,7 @@ var xVolumeMonitorGetConnectedDrives func(uintptr) *glib.List
719 func (x *VolumeMonitor) GetConnectedDrives() *glib.List {719 func (x *VolumeMonitor) GetConnectedDrives() *glib.List {
720 720
721 cret := xVolumeMonitorGetConnectedDrives(x.GoPointer())721 cret := xVolumeMonitorGetConnectedDrives(x.GoPointer())
722+
722 return cret723 return cret
723 }724 }
724 725
@@ -747,6 +748,7 @@ var xVolumeMonitorGetMounts func(uintptr) *glib.List
747 func (x *VolumeMonitor) GetMounts() *glib.List {748 func (x *VolumeMonitor) GetMounts() *glib.List {
748 749
749 cret := xVolumeMonitorGetMounts(x.GoPointer())750 cret := xVolumeMonitorGetMounts(x.GoPointer())
751+
750 return cret752 return cret
751 }753 }
752 754
@@ -775,6 +777,7 @@ var xVolumeMonitorGetVolumes func(uintptr) *glib.List
775 func (x *VolumeMonitor) GetVolumes() *glib.List {777 func (x *VolumeMonitor) GetVolumes() *glib.List {
776 778
777 cret := xVolumeMonitorGetVolumes(x.GoPointer())779 cret := xVolumeMonitorGetVolumes(x.GoPointer())
780+
778 return cret781 return cret
779 }782 }
780 783
M v4/gio/gzlibcompressor.go +3 -0
@@ -79,6 +79,7 @@ var xZlibCompressorGetOs func(uintptr) int
79 func (x *ZlibCompressor) GetOs() int {79 func (x *ZlibCompressor) GetOs() int {
80 80
81 cret := xZlibCompressorGetOs(x.GoPointer())81 cret := xZlibCompressorGetOs(x.GoPointer())
82+
82 return cret83 return cret
83 }84 }
84 85
@@ -263,6 +264,7 @@ func (x *ZlibCompressor) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar [
263 var cerr *glib.Error264 var cerr *glib.Error
264 265
265 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)266 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
267+
266 if cerr == nil {268 if cerr == nil {
267 return cret, nil269 return cret, nil
268 }270 }
@@ -275,6 +277,7 @@ func (x *ZlibCompressor) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, error)
275 var cerr *glib.Error277 var cerr *glib.Error
276 278
277 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)279 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)
280+
278 if cerr == nil {281 if cerr == nil {
279 return cret, nil282 return cret, nil
280 }283 }
M v4/gio/gzlibdecompressor.go +2 -0
@@ -170,6 +170,7 @@ func (x *ZlibDecompressor) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar
170 var cerr *glib.Error170 var cerr *glib.Error
171 171
172 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)172 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
173+
173 if cerr == nil {174 if cerr == nil {
174 return cret, nil175 return cret, nil
175 }176 }
@@ -182,6 +183,7 @@ func (x *ZlibDecompressor) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, erro
182 var cerr *glib.Error183 var cerr *glib.Error
183 184
184 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)185 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)
186+
185 if cerr == nil {187 if cerr == nil {
186 return cret, nil188 return cret, nil
187 }189 }
M v4/gio/main.go +1 -0
@@ -12,6 +12,7 @@ var xDbusErrorQuark func() glib.Quark
12 func DbusErrorQuark() glib.Quark {12 func DbusErrorQuark() glib.Quark {
13 13
14 cret := xDbusErrorQuark()14 cret := xDbusErrorQuark()
15+
15 return cret16 return cret
16 }17 }
17 18
M v4/glib/gallocator.go +2 -0
@@ -38,6 +38,7 @@ var xMemChunkAlloc func(uintptr) uintptr
38 func (x *MemChunk) Alloc() uintptr {38 func (x *MemChunk) Alloc() uintptr {
39 39
40 cret := xMemChunkAlloc(x.GoPointer())40 cret := xMemChunkAlloc(x.GoPointer())
41+
41 return cret42 return cret
42 }43 }
43 44
@@ -46,6 +47,7 @@ var xMemChunkAlloc0 func(uintptr) uintptr
46 func (x *MemChunk) Alloc0() uintptr {47 func (x *MemChunk) Alloc0() uintptr {
47 48
48 cret := xMemChunkAlloc0(x.GoPointer())49 cret := xMemChunkAlloc0(x.GoPointer())
50+
49 return cret51 return cret
50 }52 }
51 53
M v4/glib/garray.go +35 -0
@@ -101,6 +101,7 @@ var xNewBytes func([]byte, uint) *Bytes
101 func NewBytes(DataVar []byte, SizeVar uint) *Bytes {101 func NewBytes(DataVar []byte, SizeVar uint) *Bytes {
102 102
103 cret := xNewBytes(DataVar, SizeVar)103 cret := xNewBytes(DataVar, SizeVar)
104+
104 return cret105 return cret
105 }106 }
106 107
@@ -113,6 +114,7 @@ var xNewBytesStatic func([]byte, uint) *Bytes
113 func NewBytesStatic(DataVar []byte, SizeVar uint) *Bytes {114 func NewBytesStatic(DataVar []byte, SizeVar uint) *Bytes {
114 115
115 cret := xNewBytesStatic(DataVar, SizeVar)116 cret := xNewBytesStatic(DataVar, SizeVar)
117+
116 return cret118 return cret
117 }119 }
118 120
@@ -131,6 +133,7 @@ var xNewBytesTake func(uintptr, uint) *Bytes
131 func NewBytesTake(DataVar uintptr, SizeVar uint) *Bytes {133 func NewBytesTake(DataVar uintptr, SizeVar uint) *Bytes {
132 134
133 cret := xNewBytesTake(DataVar, SizeVar)135 cret := xNewBytesTake(DataVar, SizeVar)
136+
134 return cret137 return cret
135 }138 }
136 139
@@ -163,6 +166,7 @@ func NewBytesWithFreeFunc(DataVar []byte, SizeVar uint, FreeFuncVar *DestroyNoti
163 }166 }
164 167
165 cret := xNewBytesWithFreeFunc(DataVar, SizeVar, FreeFuncVarRef, UserDataVar)168 cret := xNewBytesWithFreeFunc(DataVar, SizeVar, FreeFuncVarRef, UserDataVar)
169+
166 return cret170 return cret
167 }171 }
168 172
@@ -181,6 +185,7 @@ var xBytesCompare func(uintptr, uintptr) int
181 func (x *Bytes) Compare(Bytes2Var uintptr) int {185 func (x *Bytes) Compare(Bytes2Var uintptr) int {
182 186
183 cret := xBytesCompare(x.GoPointer(), Bytes2Var)187 cret := xBytesCompare(x.GoPointer(), Bytes2Var)
188+
184 return cret189 return cret
185 }190 }
186 191
@@ -195,6 +200,7 @@ var xBytesEqual func(uintptr, uintptr) bool
195 func (x *Bytes) Equal(Bytes2Var uintptr) bool {200 func (x *Bytes) Equal(Bytes2Var uintptr) bool {
196 201
197 cret := xBytesEqual(x.GoPointer(), Bytes2Var)202 cret := xBytesEqual(x.GoPointer(), Bytes2Var)
203+
198 return cret204 return cret
199 }205 }
200 206
@@ -212,6 +218,7 @@ var xBytesGetData func(uintptr, *uint) uintptr
212 func (x *Bytes) GetData(SizeVar *uint) uintptr {218 func (x *Bytes) GetData(SizeVar *uint) uintptr {
213 219
214 cret := xBytesGetData(x.GoPointer(), SizeVar)220 cret := xBytesGetData(x.GoPointer(), SizeVar)
221+
215 return cret222 return cret
216 }223 }
217 224
@@ -240,6 +247,7 @@ var xBytesGetRegion func(uintptr, uint, uint, uint) uintptr
240 func (x *Bytes) GetRegion(ElementSizeVar uint, OffsetVar uint, NElementsVar uint) uintptr {247 func (x *Bytes) GetRegion(ElementSizeVar uint, OffsetVar uint, NElementsVar uint) uintptr {
241 248
242 cret := xBytesGetRegion(x.GoPointer(), ElementSizeVar, OffsetVar, NElementsVar)249 cret := xBytesGetRegion(x.GoPointer(), ElementSizeVar, OffsetVar, NElementsVar)
250+
243 return cret251 return cret
244 }252 }
245 253
@@ -251,6 +259,7 @@ var xBytesGetSize func(uintptr) uint
251 func (x *Bytes) GetSize() uint {259 func (x *Bytes) GetSize() uint {
252 260
253 cret := xBytesGetSize(x.GoPointer())261 cret := xBytesGetSize(x.GoPointer())
262+
254 return cret263 return cret
255 }264 }
256 265
@@ -264,6 +273,7 @@ var xBytesHash func(uintptr) uint
264 func (x *Bytes) Hash() uint {273 func (x *Bytes) Hash() uint {
265 274
266 cret := xBytesHash(x.GoPointer())275 cret := xBytesHash(x.GoPointer())
276+
267 return cret277 return cret
268 }278 }
269 279
@@ -284,6 +294,7 @@ var xBytesNewFromBytes func(uintptr, uint, uint) *Bytes
284 func (x *Bytes) NewFromBytes(OffsetVar uint, LengthVar uint) *Bytes {294 func (x *Bytes) NewFromBytes(OffsetVar uint, LengthVar uint) *Bytes {
285 295
286 cret := xBytesNewFromBytes(x.GoPointer(), OffsetVar, LengthVar)296 cret := xBytesNewFromBytes(x.GoPointer(), OffsetVar, LengthVar)
297+
287 return cret298 return cret
288 }299 }
289 300
@@ -293,6 +304,7 @@ var xBytesRef func(uintptr) *Bytes
293 func (x *Bytes) Ref() *Bytes {304 func (x *Bytes) Ref() *Bytes {
294 305
295 cret := xBytesRef(x.GoPointer())306 cret := xBytesRef(x.GoPointer())
307+
296 return cret308 return cret
297 }309 }
298 310
@@ -326,6 +338,7 @@ var xBytesUnrefToArray func(uintptr) uintptr
326 func (x *Bytes) UnrefToArray() uintptr {338 func (x *Bytes) UnrefToArray() uintptr {
327 339
328 cret := xBytesUnrefToArray(x.GoPointer())340 cret := xBytesUnrefToArray(x.GoPointer())
341+
329 return cret342 return cret
330 }343 }
331 344
@@ -343,6 +356,7 @@ var xBytesUnrefToData func(uintptr, *uint) uintptr
343 func (x *Bytes) UnrefToData(SizeVar *uint) uintptr {356 func (x *Bytes) UnrefToData(SizeVar *uint) uintptr {
344 357
345 cret := xBytesUnrefToData(x.GoPointer(), SizeVar)358 cret := xBytesUnrefToData(x.GoPointer(), SizeVar)
359+
346 return cret360 return cret
347 }361 }
348 362
@@ -387,6 +401,7 @@ var xArrayNewTake func(uintptr, uint, bool, uint) uintptr
387 func ArrayNewTake(DataVar uintptr, LenVar uint, ClearVar bool, ElementSizeVar uint) uintptr {401 func ArrayNewTake(DataVar uintptr, LenVar uint, ClearVar bool, ElementSizeVar uint) uintptr {
388 402
389 cret := xArrayNewTake(DataVar, LenVar, ClearVar, ElementSizeVar)403 cret := xArrayNewTake(DataVar, LenVar, ClearVar, ElementSizeVar)
404+
390 return cret405 return cret
391 }406 }
392 407
@@ -414,6 +429,7 @@ var xArrayNewTakeZeroTerminated func(uintptr, bool, uint) uintptr
414 func ArrayNewTakeZeroTerminated(DataVar uintptr, ClearVar bool, ElementSizeVar uint) uintptr {429 func ArrayNewTakeZeroTerminated(DataVar uintptr, ClearVar bool, ElementSizeVar uint) uintptr {
415 430
416 cret := xArrayNewTakeZeroTerminated(DataVar, ClearVar, ElementSizeVar)431 cret := xArrayNewTakeZeroTerminated(DataVar, ClearVar, ElementSizeVar)
432+
417 return cret433 return cret
418 }434 }
419 435
@@ -424,6 +440,7 @@ var xByteArrayAppend func([]byte, []byte, uint) uintptr
424 func ByteArrayAppend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr {440 func ByteArrayAppend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr {
425 441
426 cret := xByteArrayAppend(ArrayVar, DataVar, LenVar)442 cret := xByteArrayAppend(ArrayVar, DataVar, LenVar)
443+
427 return cret444 return cret
428 }445 }
429 446
@@ -436,6 +453,7 @@ var xByteArrayFree func([]byte, bool) uintptr
436 func ByteArrayFree(ArrayVar []byte, FreeSegmentVar bool) uintptr {453 func ByteArrayFree(ArrayVar []byte, FreeSegmentVar bool) uintptr {
437 454
438 cret := xByteArrayFree(ArrayVar, FreeSegmentVar)455 cret := xByteArrayFree(ArrayVar, FreeSegmentVar)
456+
439 return cret457 return cret
440 }458 }
441 459
@@ -453,6 +471,7 @@ var xByteArrayFreeToBytes func([]byte) *Bytes
453 func ByteArrayFreeToBytes(ArrayVar []byte) *Bytes {471 func ByteArrayFreeToBytes(ArrayVar []byte) *Bytes {
454 472
455 cret := xByteArrayFreeToBytes(ArrayVar)473 cret := xByteArrayFreeToBytes(ArrayVar)
474+
456 return cret475 return cret
457 }476 }
458 477
@@ -462,6 +481,7 @@ var xByteArrayNew func() uintptr
462 func ByteArrayNew() uintptr {481 func ByteArrayNew() uintptr {
463 482
464 cret := xByteArrayNew()483 cret := xByteArrayNew()
484+
465 return cret485 return cret
466 }486 }
467 487
@@ -478,6 +498,7 @@ var xByteArrayNewTake func([]byte, uint) uintptr
478 func ByteArrayNewTake(DataVar []byte, LenVar uint) uintptr {498 func ByteArrayNewTake(DataVar []byte, LenVar uint) uintptr {
479 499
480 cret := xByteArrayNewTake(DataVar, LenVar)500 cret := xByteArrayNewTake(DataVar, LenVar)
501+
481 return cret502 return cret
482 }503 }
483 504
@@ -488,6 +509,7 @@ var xByteArrayPrepend func([]byte, []byte, uint) uintptr
488 func ByteArrayPrepend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr {509 func ByteArrayPrepend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr {
489 510
490 cret := xByteArrayPrepend(ArrayVar, DataVar, LenVar)511 cret := xByteArrayPrepend(ArrayVar, DataVar, LenVar)
512+
491 return cret513 return cret
492 }514 }
493 515
@@ -498,6 +520,7 @@ var xByteArrayRef func([]byte) uintptr
498 func ByteArrayRef(ArrayVar []byte) uintptr {520 func ByteArrayRef(ArrayVar []byte) uintptr {
499 521
500 cret := xByteArrayRef(ArrayVar)522 cret := xByteArrayRef(ArrayVar)
523+
501 return cret524 return cret
502 }525 }
503 526
@@ -508,6 +531,7 @@ var xByteArrayRemoveIndex func([]byte, uint) uintptr
508 func ByteArrayRemoveIndex(ArrayVar []byte, IndexVar uint) uintptr {531 func ByteArrayRemoveIndex(ArrayVar []byte, IndexVar uint) uintptr {
509 532
510 cret := xByteArrayRemoveIndex(ArrayVar, IndexVar)533 cret := xByteArrayRemoveIndex(ArrayVar, IndexVar)
534+
511 return cret535 return cret
512 }536 }
513 537
@@ -520,6 +544,7 @@ var xByteArrayRemoveIndexFast func([]byte, uint) uintptr
520 func ByteArrayRemoveIndexFast(ArrayVar []byte, IndexVar uint) uintptr {544 func ByteArrayRemoveIndexFast(ArrayVar []byte, IndexVar uint) uintptr {
521 545
522 cret := xByteArrayRemoveIndexFast(ArrayVar, IndexVar)546 cret := xByteArrayRemoveIndexFast(ArrayVar, IndexVar)
547+
523 return cret548 return cret
524 }549 }
525 550
@@ -530,6 +555,7 @@ var xByteArrayRemoveRange func([]byte, uint, uint) uintptr
530 func ByteArrayRemoveRange(ArrayVar []byte, IndexVar uint, LengthVar uint) uintptr {555 func ByteArrayRemoveRange(ArrayVar []byte, IndexVar uint, LengthVar uint) uintptr {
531 556
532 cret := xByteArrayRemoveRange(ArrayVar, IndexVar, LengthVar)557 cret := xByteArrayRemoveRange(ArrayVar, IndexVar, LengthVar)
558+
533 return cret559 return cret
534 }560 }
535 561
@@ -539,6 +565,7 @@ var xByteArraySetSize func([]byte, uint) uintptr
539 func ByteArraySetSize(ArrayVar []byte, LengthVar uint) uintptr {565 func ByteArraySetSize(ArrayVar []byte, LengthVar uint) uintptr {
540 566
541 cret := xByteArraySetSize(ArrayVar, LengthVar)567 cret := xByteArraySetSize(ArrayVar, LengthVar)
568+
542 return cret569 return cret
543 }570 }
544 571
@@ -551,6 +578,7 @@ var xByteArraySizedNew func(uint) uintptr
551 func ByteArraySizedNew(ReservedSizeVar uint) uintptr {578 func ByteArraySizedNew(ReservedSizeVar uint) uintptr {
552 579
553 cret := xByteArraySizedNew(ReservedSizeVar)580 cret := xByteArraySizedNew(ReservedSizeVar)
581+
554 return cret582 return cret
555 }583 }
556 584
@@ -620,6 +648,7 @@ var xByteArraySteal func([]byte, *uint) uintptr
620 func ByteArraySteal(ArrayVar []byte, LenVar *uint) uintptr {648 func ByteArraySteal(ArrayVar []byte, LenVar *uint) uintptr {
621 649
622 cret := xByteArraySteal(ArrayVar, LenVar)650 cret := xByteArraySteal(ArrayVar, LenVar)
651+
623 return cret652 return cret
624 }653 }
625 654
@@ -648,6 +677,7 @@ var xPtrArrayFind func([]uintptr, uintptr, *uint) bool
648 func PtrArrayFind(HaystackVar []uintptr, NeedleVar uintptr, IndexVar *uint) bool {677 func PtrArrayFind(HaystackVar []uintptr, NeedleVar uintptr, IndexVar *uint) bool {
649 678
650 cret := xPtrArrayFind(HaystackVar, NeedleVar, IndexVar)679 cret := xPtrArrayFind(HaystackVar, NeedleVar, IndexVar)
680+
651 return cret681 return cret
652 }682 }
653 683
@@ -680,6 +710,7 @@ func PtrArrayFindWithEqualFunc(HaystackVar []uintptr, NeedleVar uintptr, EqualFu
680 }710 }
681 711
682 cret := xPtrArrayFindWithEqualFunc(HaystackVar, NeedleVar, EqualFuncVarRef, IndexVar)712 cret := xPtrArrayFindWithEqualFunc(HaystackVar, NeedleVar, EqualFuncVarRef, IndexVar)
713+
683 return cret714 return cret
684 }715 }
685 716
@@ -735,6 +766,7 @@ func PtrArrayNewFromArray(DataVar []uintptr, LenVar uint, CopyFuncVar *CopyFunc,
735 }766 }
736 767
737 cret := xPtrArrayNewFromArray(DataVar, LenVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef)768 cret := xPtrArrayNewFromArray(DataVar, LenVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef)
769+
738 return cret770 return cret
739 }771 }
740 772
@@ -786,6 +818,7 @@ func PtrArrayNewFromNullTerminatedArray(DataVar []uintptr, CopyFuncVar *CopyFunc
786 }818 }
787 819
788 cret := xPtrArrayNewFromNullTerminatedArray(DataVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef)820 cret := xPtrArrayNewFromNullTerminatedArray(DataVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef)
821+
789 return cret822 return cret
790 }823 }
791 824
@@ -825,6 +858,7 @@ func PtrArrayNewTake(DataVar []uintptr, LenVar uint, ElementFreeFuncVar *Destroy
825 }858 }
826 859
827 cret := xPtrArrayNewTake(DataVar, LenVar, ElementFreeFuncVarRef)860 cret := xPtrArrayNewTake(DataVar, LenVar, ElementFreeFuncVarRef)
861+
828 return cret862 return cret
829 }863 }
830 864
@@ -867,6 +901,7 @@ func PtrArrayNewTakeNullTerminated(DataVar []uintptr, ElementFreeFuncVar *Destro
867 }901 }
868 902
869 cret := xPtrArrayNewTakeNullTerminated(DataVar, ElementFreeFuncVarRef)903 cret := xPtrArrayNewTakeNullTerminated(DataVar, ElementFreeFuncVarRef)
904+
870 return cret905 return cret
871 }906 }
872 907
M v4/glib/gasyncqueue.go +15 -0
@@ -33,6 +33,7 @@ var xAsyncQueueLength func(uintptr) int
33 func (x *AsyncQueue) Length() int {33 func (x *AsyncQueue) Length() int {
34 34
35 cret := xAsyncQueueLength(x.GoPointer())35 cret := xAsyncQueueLength(x.GoPointer())
36+
36 return cret37 return cret
37 }38 }
38 39
@@ -51,6 +52,7 @@ var xAsyncQueueLengthUnlocked func(uintptr) int
51 func (x *AsyncQueue) LengthUnlocked() int {52 func (x *AsyncQueue) LengthUnlocked() int {
52 53
53 cret := xAsyncQueueLengthUnlocked(x.GoPointer())54 cret := xAsyncQueueLengthUnlocked(x.GoPointer())
55+
54 return cret56 return cret
55 }57 }
56 58
@@ -78,6 +80,7 @@ var xAsyncQueuePop func(uintptr) uintptr
78 func (x *AsyncQueue) Pop() uintptr {80 func (x *AsyncQueue) Pop() uintptr {
79 81
80 cret := xAsyncQueuePop(x.GoPointer())82 cret := xAsyncQueuePop(x.GoPointer())
83+
81 return cret84 return cret
82 }85 }
83 86
@@ -90,6 +93,7 @@ var xAsyncQueuePopUnlocked func(uintptr) uintptr
90 func (x *AsyncQueue) PopUnlocked() uintptr {93 func (x *AsyncQueue) PopUnlocked() uintptr {
91 94
92 cret := xAsyncQueuePopUnlocked(x.GoPointer())95 cret := xAsyncQueuePopUnlocked(x.GoPointer())
96+
93 return cret97 return cret
94 }98 }
95 99
@@ -221,6 +225,7 @@ var xAsyncQueueRef func(uintptr) *AsyncQueue
221 func (x *AsyncQueue) Ref() *AsyncQueue {225 func (x *AsyncQueue) Ref() *AsyncQueue {
222 226
223 cret := xAsyncQueueRef(x.GoPointer())227 cret := xAsyncQueueRef(x.GoPointer())
228+
224 return cret229 return cret
225 }230 }
226 231
@@ -239,6 +244,7 @@ var xAsyncQueueRemove func(uintptr, uintptr) bool
239 func (x *AsyncQueue) Remove(ItemVar uintptr) bool {244 func (x *AsyncQueue) Remove(ItemVar uintptr) bool {
240 245
241 cret := xAsyncQueueRemove(x.GoPointer(), ItemVar)246 cret := xAsyncQueueRemove(x.GoPointer(), ItemVar)
247+
242 return cret248 return cret
243 }249 }
244 250
@@ -250,6 +256,7 @@ var xAsyncQueueRemoveUnlocked func(uintptr, uintptr) bool
250 func (x *AsyncQueue) RemoveUnlocked(ItemVar uintptr) bool {256 func (x *AsyncQueue) RemoveUnlocked(ItemVar uintptr) bool {
251 257
252 cret := xAsyncQueueRemoveUnlocked(x.GoPointer(), ItemVar)258 cret := xAsyncQueueRemoveUnlocked(x.GoPointer(), ItemVar)
259+
253 return cret260 return cret
254 }261 }
255 262
@@ -344,6 +351,7 @@ var xAsyncQueueTimedPop func(uintptr, *TimeVal) uintptr
344 func (x *AsyncQueue) TimedPop(EndTimeVar *TimeVal) uintptr {351 func (x *AsyncQueue) TimedPop(EndTimeVar *TimeVal) uintptr {
345 352
346 cret := xAsyncQueueTimedPop(x.GoPointer(), EndTimeVar)353 cret := xAsyncQueueTimedPop(x.GoPointer(), EndTimeVar)
354+
347 return cret355 return cret
348 }356 }
349 357
@@ -361,6 +369,7 @@ var xAsyncQueueTimedPopUnlocked func(uintptr, *TimeVal) uintptr
361 func (x *AsyncQueue) TimedPopUnlocked(EndTimeVar *TimeVal) uintptr {369 func (x *AsyncQueue) TimedPopUnlocked(EndTimeVar *TimeVal) uintptr {
362 370
363 cret := xAsyncQueueTimedPopUnlocked(x.GoPointer(), EndTimeVar)371 cret := xAsyncQueueTimedPopUnlocked(x.GoPointer(), EndTimeVar)
372+
364 return cret373 return cret
365 }374 }
366 375
@@ -373,6 +382,7 @@ var xAsyncQueueTimeoutPop func(uintptr, uint64) uintptr
373 func (x *AsyncQueue) TimeoutPop(TimeoutVar uint64) uintptr {382 func (x *AsyncQueue) TimeoutPop(TimeoutVar uint64) uintptr {
374 383
375 cret := xAsyncQueueTimeoutPop(x.GoPointer(), TimeoutVar)384 cret := xAsyncQueueTimeoutPop(x.GoPointer(), TimeoutVar)
385+
376 return cret386 return cret
377 }387 }
378 388
@@ -387,6 +397,7 @@ var xAsyncQueueTimeoutPopUnlocked func(uintptr, uint64) uintptr
387 func (x *AsyncQueue) TimeoutPopUnlocked(TimeoutVar uint64) uintptr {397 func (x *AsyncQueue) TimeoutPopUnlocked(TimeoutVar uint64) uintptr {
388 398
389 cret := xAsyncQueueTimeoutPopUnlocked(x.GoPointer(), TimeoutVar)399 cret := xAsyncQueueTimeoutPopUnlocked(x.GoPointer(), TimeoutVar)
400+
390 return cret401 return cret
391 }402 }
392 403
@@ -397,6 +408,7 @@ var xAsyncQueueTryPop func(uintptr) uintptr
397 func (x *AsyncQueue) TryPop() uintptr {408 func (x *AsyncQueue) TryPop() uintptr {
398 409
399 cret := xAsyncQueueTryPop(x.GoPointer())410 cret := xAsyncQueueTryPop(x.GoPointer())
411+
400 return cret412 return cret
401 }413 }
402 414
@@ -409,6 +421,7 @@ var xAsyncQueueTryPopUnlocked func(uintptr) uintptr
409 func (x *AsyncQueue) TryPopUnlocked() uintptr {421 func (x *AsyncQueue) TryPopUnlocked() uintptr {
410 422
411 cret := xAsyncQueueTryPopUnlocked(x.GoPointer())423 cret := xAsyncQueueTryPopUnlocked(x.GoPointer())
424+
412 return cret425 return cret
413 }426 }
414 427
@@ -457,6 +470,7 @@ var xAsyncQueueNew func() *AsyncQueue
457 func AsyncQueueNew() *AsyncQueue {470 func AsyncQueueNew() *AsyncQueue {
458 471
459 cret := xAsyncQueueNew()472 cret := xAsyncQueueNew()
473+
460 return cret474 return cret
461 }475 }
462 476
@@ -483,6 +497,7 @@ func AsyncQueueNewFull(ItemFreeFuncVar *DestroyNotify) *AsyncQueue {
483 }497 }
484 498
485 cret := xAsyncQueueNewFull(ItemFreeFuncVarRef)499 cret := xAsyncQueueNewFull(ItemFreeFuncVarRef)
500+
486 return cret501 return cret
487 }502 }
488 503
M v4/glib/gatomic.go +18 -0
@@ -23,6 +23,7 @@ var xAtomicIntAdd func(uintptr, int) int
23 func AtomicIntAdd(AtomicVar uintptr, ValVar int) int {23 func AtomicIntAdd(AtomicVar uintptr, ValVar int) int {
24 24
25 cret := xAtomicIntAdd(AtomicVar, ValVar)25 cret := xAtomicIntAdd(AtomicVar, ValVar)
26+
26 return cret27 return cret
27 }28 }
28 29
@@ -41,6 +42,7 @@ var xAtomicIntAnd func(uintptr, uint) uint
41 func AtomicIntAnd(AtomicVar uintptr, ValVar uint) uint {42 func AtomicIntAnd(AtomicVar uintptr, ValVar uint) uint {
42 43
43 cret := xAtomicIntAnd(AtomicVar, ValVar)44 cret := xAtomicIntAnd(AtomicVar, ValVar)
45+
44 return cret46 return cret
45 }47 }
46 48
@@ -61,6 +63,7 @@ var xAtomicIntCompareAndExchange func(uintptr, int, int) bool
61 func AtomicIntCompareAndExchange(AtomicVar uintptr, OldvalVar int, NewvalVar int) bool {63 func AtomicIntCompareAndExchange(AtomicVar uintptr, OldvalVar int, NewvalVar int) bool {
62 64
63 cret := xAtomicIntCompareAndExchange(AtomicVar, OldvalVar, NewvalVar)65 cret := xAtomicIntCompareAndExchange(AtomicVar, OldvalVar, NewvalVar)
66+
64 return cret67 return cret
65 }68 }
66 69
@@ -81,6 +84,7 @@ var xAtomicIntCompareAndExchangeFull func(uintptr, int, int, *int) bool
81 func AtomicIntCompareAndExchangeFull(AtomicVar uintptr, OldvalVar int, NewvalVar int, PrevalVar *int) bool {84 func AtomicIntCompareAndExchangeFull(AtomicVar uintptr, OldvalVar int, NewvalVar int, PrevalVar *int) bool {
82 85
83 cret := xAtomicIntCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar)86 cret := xAtomicIntCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar)
87+
84 return cret88 return cret
85 }89 }
86 90
@@ -98,6 +102,7 @@ var xAtomicIntDecAndTest func(uintptr) bool
98 func AtomicIntDecAndTest(AtomicVar uintptr) bool {102 func AtomicIntDecAndTest(AtomicVar uintptr) bool {
99 103
100 cret := xAtomicIntDecAndTest(AtomicVar)104 cret := xAtomicIntDecAndTest(AtomicVar)
105+
101 return cret106 return cret
102 }107 }
103 108
@@ -114,6 +119,7 @@ var xAtomicIntExchange func(uintptr, int) int
114 func AtomicIntExchange(AtomicVar uintptr, NewvalVar int) int {119 func AtomicIntExchange(AtomicVar uintptr, NewvalVar int) int {
115 120
116 cret := xAtomicIntExchange(AtomicVar, NewvalVar)121 cret := xAtomicIntExchange(AtomicVar, NewvalVar)
122+
117 return cret123 return cret
118 }124 }
119 125
@@ -125,6 +131,7 @@ var xAtomicIntExchangeAndAdd func(uintptr, int) int
125 func AtomicIntExchangeAndAdd(AtomicVar uintptr, ValVar int) int {131 func AtomicIntExchangeAndAdd(AtomicVar uintptr, ValVar int) int {
126 132
127 cret := xAtomicIntExchangeAndAdd(AtomicVar, ValVar)133 cret := xAtomicIntExchangeAndAdd(AtomicVar, ValVar)
134+
128 return cret135 return cret
129 }136 }
130 137
@@ -140,6 +147,7 @@ var xAtomicIntGet func(uintptr) int
140 func AtomicIntGet(AtomicVar uintptr) int {147 func AtomicIntGet(AtomicVar uintptr) int {
141 148
142 cret := xAtomicIntGet(AtomicVar)149 cret := xAtomicIntGet(AtomicVar)
150+
143 return cret151 return cret
144 }152 }
145 153
@@ -174,6 +182,7 @@ var xAtomicIntOr func(uintptr, uint) uint
174 func AtomicIntOr(AtomicVar uintptr, ValVar uint) uint {182 func AtomicIntOr(AtomicVar uintptr, ValVar uint) uint {
175 183
176 cret := xAtomicIntOr(AtomicVar, ValVar)184 cret := xAtomicIntOr(AtomicVar, ValVar)
185+
177 return cret186 return cret
178 }187 }
179 188
@@ -207,6 +216,7 @@ var xAtomicIntXor func(uintptr, uint) uint
207 func AtomicIntXor(AtomicVar uintptr, ValVar uint) uint {216 func AtomicIntXor(AtomicVar uintptr, ValVar uint) uint {
208 217
209 cret := xAtomicIntXor(AtomicVar, ValVar)218 cret := xAtomicIntXor(AtomicVar, ValVar)
219+
210 return cret220 return cret
211 }221 }
212 222
@@ -228,6 +238,7 @@ var xAtomicPointerAdd func(uintptr, int) int
228 func AtomicPointerAdd(AtomicVar uintptr, ValVar int) int {238 func AtomicPointerAdd(AtomicVar uintptr, ValVar int) int {
229 239
230 cret := xAtomicPointerAdd(AtomicVar, ValVar)240 cret := xAtomicPointerAdd(AtomicVar, ValVar)
241+
231 return cret242 return cret
232 }243 }
233 244
@@ -250,6 +261,7 @@ var xAtomicPointerAnd func(uintptr, uint) uintptr
250 func AtomicPointerAnd(AtomicVar uintptr, ValVar uint) uintptr {261 func AtomicPointerAnd(AtomicVar uintptr, ValVar uint) uintptr {
251 262
252 cret := xAtomicPointerAnd(AtomicVar, ValVar)263 cret := xAtomicPointerAnd(AtomicVar, ValVar)
264+
253 return cret265 return cret
254 }266 }
255 267
@@ -270,6 +282,7 @@ var xAtomicPointerCompareAndExchange func(uintptr, uintptr, uintptr) bool
270 func AtomicPointerCompareAndExchange(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr) bool {282 func AtomicPointerCompareAndExchange(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr) bool {
271 283
272 cret := xAtomicPointerCompareAndExchange(AtomicVar, OldvalVar, NewvalVar)284 cret := xAtomicPointerCompareAndExchange(AtomicVar, OldvalVar, NewvalVar)
285+
273 return cret286 return cret
274 }287 }
275 288
@@ -290,6 +303,7 @@ var xAtomicPointerCompareAndExchangeFull func(uintptr, uintptr, uintptr, *uintpt
290 func AtomicPointerCompareAndExchangeFull(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr, PrevalVar *uintptr) bool {303 func AtomicPointerCompareAndExchangeFull(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr, PrevalVar *uintptr) bool {
291 304
292 cret := xAtomicPointerCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar)305 cret := xAtomicPointerCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar)
306+
293 return cret307 return cret
294 }308 }
295 309
@@ -306,6 +320,7 @@ var xAtomicPointerExchange func(uintptr, uintptr) uintptr
306 func AtomicPointerExchange(AtomicVar uintptr, NewvalVar uintptr) uintptr {320 func AtomicPointerExchange(AtomicVar uintptr, NewvalVar uintptr) uintptr {
307 321
308 cret := xAtomicPointerExchange(AtomicVar, NewvalVar)322 cret := xAtomicPointerExchange(AtomicVar, NewvalVar)
323+
309 return cret324 return cret
310 }325 }
311 326
@@ -321,6 +336,7 @@ var xAtomicPointerGet func(uintptr) uintptr
321 func AtomicPointerGet(AtomicVar uintptr) uintptr {336 func AtomicPointerGet(AtomicVar uintptr) uintptr {
322 337
323 cret := xAtomicPointerGet(AtomicVar)338 cret := xAtomicPointerGet(AtomicVar)
339+
324 return cret340 return cret
325 }341 }
326 342
@@ -343,6 +359,7 @@ var xAtomicPointerOr func(uintptr, uint) uintptr
343 func AtomicPointerOr(AtomicVar uintptr, ValVar uint) uintptr {359 func AtomicPointerOr(AtomicVar uintptr, ValVar uint) uintptr {
344 360
345 cret := xAtomicPointerOr(AtomicVar, ValVar)361 cret := xAtomicPointerOr(AtomicVar, ValVar)
362+
346 return cret363 return cret
347 }364 }
348 365
@@ -380,6 +397,7 @@ var xAtomicPointerXor func(uintptr, uint) uintptr
380 func AtomicPointerXor(AtomicVar uintptr, ValVar uint) uintptr {397 func AtomicPointerXor(AtomicVar uintptr, ValVar uint) uintptr {
381 398
382 cret := xAtomicPointerXor(AtomicVar, ValVar)399 cret := xAtomicPointerXor(AtomicVar, ValVar)
400+
383 return cret401 return cret
384 }402 }
385 403
M v4/glib/gbacktrace.go +7 -1
@@ -2,6 +2,8 @@
2 package glib2 package glib
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 )9 )
@@ -81,7 +83,11 @@ var xOnErrorStackTrace func(uintptr)
81 // handle that exception (see [Running GLib Applications](running.html)).83 // handle that exception (see [Running GLib Applications](running.html)).
82 func OnErrorStackTrace(PrgNameVar *string) {84 func OnErrorStackTrace(PrgNameVar *string) {
83 85
84- xOnErrorStackTrace(core.NullableStringToPtr(PrgNameVar))86+ PrgNameVarPtr, PrgNameVarBytes := core.NullableStringToPtr(PrgNameVar)
87+
88+ xOnErrorStackTrace(PrgNameVarPtr)
89+
90+ runtime.KeepAlive(PrgNameVarBytes)
85 91
86 }92 }
87 93
M v4/glib/gbase64.go +6 -0
@@ -14,6 +14,7 @@ var xBase64Decode func(string, *uint) uintptr
14 func Base64Decode(TextVar string, OutLenVar *uint) uintptr {14 func Base64Decode(TextVar string, OutLenVar *uint) uintptr {
15 15
16 cret := xBase64Decode(TextVar, OutLenVar)16 cret := xBase64Decode(TextVar, OutLenVar)
17+
17 return cret18 return cret
18 }19 }
19 20
@@ -24,6 +25,7 @@ var xBase64DecodeInplace func([]byte, uint) byte
24 func Base64DecodeInplace(TextVar []byte, OutLenVar uint) byte {25 func Base64DecodeInplace(TextVar []byte, OutLenVar uint) byte {
25 26
26 cret := xBase64DecodeInplace(TextVar, OutLenVar)27 cret := xBase64DecodeInplace(TextVar, OutLenVar)
28+
27 return cret29 return cret
28 }30 }
29 31
@@ -40,6 +42,7 @@ var xBase64DecodeStep func([]byte, uint, *[]byte, int, uint) uint
40 func Base64DecodeStep(InVar []byte, LenVar uint, OutVar *[]byte, StateVar int, SaveVar uint) uint {42 func Base64DecodeStep(InVar []byte, LenVar uint, OutVar *[]byte, StateVar int, SaveVar uint) uint {
41 43
42 cret := xBase64DecodeStep(InVar, LenVar, OutVar, StateVar, SaveVar)44 cret := xBase64DecodeStep(InVar, LenVar, OutVar, StateVar, SaveVar)
45+
43 return cret46 return cret
44 }47 }
45 48
@@ -50,6 +53,7 @@ var xBase64Encode func([]byte, uint) string
50 func Base64Encode(DataVar []byte, LenVar uint) string {53 func Base64Encode(DataVar []byte, LenVar uint) string {
51 54
52 cret := xBase64Encode(DataVar, LenVar)55 cret := xBase64Encode(DataVar, LenVar)
56+
53 return cret57 return cret
54 }58 }
55 59
@@ -65,6 +69,7 @@ var xBase64EncodeClose func(bool, *[]byte, int, int) uint
65 func Base64EncodeClose(BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint {69 func Base64EncodeClose(BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint {
66 70
67 cret := xBase64EncodeClose(BreakLinesVar, OutVar, StateVar, SaveVar)71 cret := xBase64EncodeClose(BreakLinesVar, OutVar, StateVar, SaveVar)
72+
68 return cret73 return cret
69 }74 }
70 75
@@ -92,6 +97,7 @@ var xBase64EncodeStep func([]byte, uint, bool, *[]byte, int, int) uint
92 func Base64EncodeStep(InVar []byte, LenVar uint, BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint {97 func Base64EncodeStep(InVar []byte, LenVar uint, BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint {
93 98
94 cret := xBase64EncodeStep(InVar, LenVar, BreakLinesVar, OutVar, StateVar, SaveVar)99 cret := xBase64EncodeStep(InVar, LenVar, BreakLinesVar, OutVar, StateVar, SaveVar)
100+
95 return cret101 return cret
96 }102 }
97 103
M v4/glib/gbitlock.go +3 -0
@@ -59,6 +59,7 @@ var xBitTrylock func(uintptr, int) bool
59 func BitTrylock(AddressVar uintptr, LockBitVar int) bool {59 func BitTrylock(AddressVar uintptr, LockBitVar int) bool {
60 60
61 cret := xBitTrylock(AddressVar, LockBitVar)61 cret := xBitTrylock(AddressVar, LockBitVar)
62+
62 return cret63 return cret
63 }64 }
64 65
@@ -130,6 +131,7 @@ var xPointerBitLockMaskPtr func(uintptr, uint, bool, uintptr, uintptr) uintptr
130 func PointerBitLockMaskPtr(PtrVar uintptr, LockBitVar uint, SetVar bool, PreserveMaskVar uintptr, PreservePtrVar uintptr) uintptr {131 func PointerBitLockMaskPtr(PtrVar uintptr, LockBitVar uint, SetVar bool, PreserveMaskVar uintptr, PreservePtrVar uintptr) uintptr {
131 132
132 cret := xPointerBitLockMaskPtr(PtrVar, LockBitVar, SetVar, PreserveMaskVar, PreservePtrVar)133 cret := xPointerBitLockMaskPtr(PtrVar, LockBitVar, SetVar, PreserveMaskVar, PreservePtrVar)
134+
133 return cret135 return cret
134 }136 }
135 137
@@ -146,6 +148,7 @@ var xPointerBitTrylock func(uintptr, int) bool
146 func PointerBitTrylock(AddressVar uintptr, LockBitVar int) bool {148 func PointerBitTrylock(AddressVar uintptr, LockBitVar int) bool {
147 149
148 cret := xPointerBitTrylock(AddressVar, LockBitVar)150 cret := xPointerBitTrylock(AddressVar, LockBitVar)
151+
149 return cret152 return cret
150 }153 }
151 154
M v4/glib/gbookmarkfile.go +68 -6
@@ -2,6 +2,7 @@
2 package glib2 package glib
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -71,6 +72,7 @@ var xNewBookmarkFile func() *BookmarkFile
71 func NewBookmarkFile() *BookmarkFile {72 func NewBookmarkFile() *BookmarkFile {
72 73
73 cret := xNewBookmarkFile()74 cret := xNewBookmarkFile()
75+
74 return cret76 return cret
75 }77 }
76 78
@@ -100,7 +102,15 @@ var xBookmarkFileAddApplication func(uintptr, string, uintptr, uintptr)
100 // If no bookmark for @uri is found, one is created.102 // If no bookmark for @uri is found, one is created.
101 func (x *BookmarkFile) AddApplication(UriVar string, NameVar *string, ExecVar *string) {103 func (x *BookmarkFile) AddApplication(UriVar string, NameVar *string, ExecVar *string) {
102 104
103- xBookmarkFileAddApplication(x.GoPointer(), UriVar, core.NullableStringToPtr(NameVar), core.NullableStringToPtr(ExecVar))105+ NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)
106+
107+ ExecVarPtr, ExecVarBytes := core.NullableStringToPtr(ExecVar)
108+
109+ xBookmarkFileAddApplication(x.GoPointer(), UriVar, NameVarPtr, ExecVarPtr)
110+
111+ runtime.KeepAlive(NameVarBytes)
112+
113+ runtime.KeepAlive(ExecVarBytes)
104 114
105 }115 }
106 116
@@ -122,6 +132,7 @@ var xBookmarkFileCopy func(uintptr) *BookmarkFile
122 func (x *BookmarkFile) Copy() *BookmarkFile {132 func (x *BookmarkFile) Copy() *BookmarkFile {
123 133
124 cret := xBookmarkFileCopy(x.GoPointer())134 cret := xBookmarkFileCopy(x.GoPointer())
135+
125 return cret136 return cret
126 }137 }
127 138
@@ -144,6 +155,7 @@ func (x *BookmarkFile) GetAdded(UriVar string) (int, error) {
144 var cerr *Error155 var cerr *Error
145 156
146 cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr)157 cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr)
158+
147 if cerr == nil {159 if cerr == nil {
148 return cret, nil160 return cret, nil
149 }161 }
@@ -161,6 +173,7 @@ func (x *BookmarkFile) GetAddedDateTime(UriVar string) (*DateTime, error) {
161 var cerr *Error173 var cerr *Error
162 174
163 cret := xBookmarkFileGetAddedDateTime(x.GoPointer(), UriVar, &cerr)175 cret := xBookmarkFileGetAddedDateTime(x.GoPointer(), UriVar, &cerr)
176+
164 if cerr == nil {177 if cerr == nil {
165 return cret, nil178 return cret, nil
166 }179 }
@@ -187,6 +200,7 @@ func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar *string
187 var cerr *Error200 var cerr *Error
188 201
189 cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)202 cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)
203+
190 if cerr == nil {204 if cerr == nil {
191 return cret, nil205 return cret, nil
192 }206 }
@@ -213,6 +227,7 @@ func (x *BookmarkFile) GetApplicationInfo(UriVar string, NameVar string, ExecVar
213 var cerr *Error227 var cerr *Error
214 228
215 cret := xBookmarkFileGetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)229 cret := xBookmarkFileGetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)
230+
216 if cerr == nil {231 if cerr == nil {
217 return cret, nil232 return cret, nil
218 }233 }
@@ -231,6 +246,7 @@ func (x *BookmarkFile) GetApplications(UriVar string, LengthVar *uint) ([]string
231 var cerr *Error246 var cerr *Error
232 247
233 cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr)248 cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr)
249+
234 if cerr == nil {250 if cerr == nil {
235 return cret, nil251 return cret, nil
236 }252 }
@@ -248,6 +264,7 @@ func (x *BookmarkFile) GetDescription(UriVar string) (string, error) {
248 var cerr *Error264 var cerr *Error
249 265
250 cret := xBookmarkFileGetDescription(x.GoPointer(), UriVar, &cerr)266 cret := xBookmarkFileGetDescription(x.GoPointer(), UriVar, &cerr)
267+
251 if cerr == nil {268 if cerr == nil {
252 return cret, nil269 return cret, nil
253 }270 }
@@ -268,6 +285,7 @@ func (x *BookmarkFile) GetGroups(UriVar string, LengthVar *uint) ([]string, erro
268 var cerr *Error285 var cerr *Error
269 286
270 cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr)287 cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr)
288+
271 if cerr == nil {289 if cerr == nil {
272 return cret, nil290 return cret, nil
273 }291 }
@@ -285,6 +303,7 @@ func (x *BookmarkFile) GetIcon(UriVar string, HrefVar *string, MimeTypeVar *stri
285 var cerr *Error303 var cerr *Error
286 304
287 cret := xBookmarkFileGetIcon(x.GoPointer(), UriVar, HrefVar, MimeTypeVar, &cerr)305 cret := xBookmarkFileGetIcon(x.GoPointer(), UriVar, HrefVar, MimeTypeVar, &cerr)
306+
288 if cerr == nil {307 if cerr == nil {
289 return cret, nil308 return cret, nil
290 }309 }
@@ -304,6 +323,7 @@ func (x *BookmarkFile) GetIsPrivate(UriVar string) (bool, error) {
304 var cerr *Error323 var cerr *Error
305 324
306 cret := xBookmarkFileGetIsPrivate(x.GoPointer(), UriVar, &cerr)325 cret := xBookmarkFileGetIsPrivate(x.GoPointer(), UriVar, &cerr)
326+
307 if cerr == nil {327 if cerr == nil {
308 return cret, nil328 return cret, nil
309 }329 }
@@ -323,6 +343,7 @@ func (x *BookmarkFile) GetMimeType(UriVar string) (string, error) {
323 var cerr *Error343 var cerr *Error
324 344
325 cret := xBookmarkFileGetMimeType(x.GoPointer(), UriVar, &cerr)345 cret := xBookmarkFileGetMimeType(x.GoPointer(), UriVar, &cerr)
346+
326 if cerr == nil {347 if cerr == nil {
327 return cret, nil348 return cret, nil
328 }349 }
@@ -340,6 +361,7 @@ func (x *BookmarkFile) GetModified(UriVar string) (int, error) {
340 var cerr *Error361 var cerr *Error
341 362
342 cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr)363 cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr)
364+
343 if cerr == nil {365 if cerr == nil {
344 return cret, nil366 return cret, nil
345 }367 }
@@ -357,6 +379,7 @@ func (x *BookmarkFile) GetModifiedDateTime(UriVar string) (*DateTime, error) {
357 var cerr *Error379 var cerr *Error
358 380
359 cret := xBookmarkFileGetModifiedDateTime(x.GoPointer(), UriVar, &cerr)381 cret := xBookmarkFileGetModifiedDateTime(x.GoPointer(), UriVar, &cerr)
382+
360 if cerr == nil {383 if cerr == nil {
361 return cret, nil384 return cret, nil
362 }385 }
@@ -370,6 +393,7 @@ var xBookmarkFileGetSize func(uintptr) int
370 func (x *BookmarkFile) GetSize() int {393 func (x *BookmarkFile) GetSize() int {
371 394
372 cret := xBookmarkFileGetSize(x.GoPointer())395 cret := xBookmarkFileGetSize(x.GoPointer())
396+
373 return cret397 return cret
374 }398 }
375 399
@@ -384,7 +408,12 @@ var xBookmarkFileGetTitle func(uintptr, uintptr, **Error) string
384 func (x *BookmarkFile) GetTitle(UriVar *string) (string, error) {408 func (x *BookmarkFile) GetTitle(UriVar *string) (string, error) {
385 var cerr *Error409 var cerr *Error
386 410
387- cret := xBookmarkFileGetTitle(x.GoPointer(), core.NullableStringToPtr(UriVar), &cerr)411+ UriVarPtr, UriVarBytes := core.NullableStringToPtr(UriVar)
412+
413+ cret := xBookmarkFileGetTitle(x.GoPointer(), UriVarPtr, &cerr)
414+
415+ runtime.KeepAlive(UriVarBytes)
416+
388 if cerr == nil {417 if cerr == nil {
389 return cret, nil418 return cret, nil
390 }419 }
@@ -400,6 +429,7 @@ var xBookmarkFileGetUris func(uintptr, *uint) []string
400 func (x *BookmarkFile) GetUris(LengthVar *uint) []string {429 func (x *BookmarkFile) GetUris(LengthVar *uint) []string {
401 430
402 cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar)431 cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar)
432+
403 return cret433 return cret
404 }434 }
405 435
@@ -413,6 +443,7 @@ func (x *BookmarkFile) GetVisited(UriVar string) (int, error) {
413 var cerr *Error443 var cerr *Error
414 444
415 cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr)445 cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr)
446+
416 if cerr == nil {447 if cerr == nil {
417 return cret, nil448 return cret, nil
418 }449 }
@@ -430,6 +461,7 @@ func (x *BookmarkFile) GetVisitedDateTime(UriVar string) (*DateTime, error) {
430 var cerr *Error461 var cerr *Error
431 462
432 cret := xBookmarkFileGetVisitedDateTime(x.GoPointer(), UriVar, &cerr)463 cret := xBookmarkFileGetVisitedDateTime(x.GoPointer(), UriVar, &cerr)
464+
433 if cerr == nil {465 if cerr == nil {
434 return cret, nil466 return cret, nil
435 }467 }
@@ -448,6 +480,7 @@ func (x *BookmarkFile) HasApplication(UriVar string, NameVar string) (bool, erro
448 var cerr *Error480 var cerr *Error
449 481
450 cret := xBookmarkFileHasApplication(x.GoPointer(), UriVar, NameVar, &cerr)482 cret := xBookmarkFileHasApplication(x.GoPointer(), UriVar, NameVar, &cerr)
483+
451 if cerr == nil {484 if cerr == nil {
452 return cret, nil485 return cret, nil
453 }486 }
@@ -466,6 +499,7 @@ func (x *BookmarkFile) HasGroup(UriVar string, GroupVar string) (bool, error) {
466 var cerr *Error499 var cerr *Error
467 500
468 cret := xBookmarkFileHasGroup(x.GoPointer(), UriVar, GroupVar, &cerr)501 cret := xBookmarkFileHasGroup(x.GoPointer(), UriVar, GroupVar, &cerr)
502+
469 if cerr == nil {503 if cerr == nil {
470 return cret, nil504 return cret, nil
471 }505 }
@@ -479,6 +513,7 @@ var xBookmarkFileHasItem func(uintptr, string) bool
479 func (x *BookmarkFile) HasItem(UriVar string) bool {513 func (x *BookmarkFile) HasItem(UriVar string) bool {
480 514
481 cret := xBookmarkFileHasItem(x.GoPointer(), UriVar)515 cret := xBookmarkFileHasItem(x.GoPointer(), UriVar)
516+
482 return cret517 return cret
483 }518 }
484 519
@@ -491,6 +526,7 @@ func (x *BookmarkFile) LoadFromData(DataVar []byte, LengthVar uint) (bool, error
491 var cerr *Error526 var cerr *Error
492 527
493 cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr)528 cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr)
529+
494 if cerr == nil {530 if cerr == nil {
495 return cret, nil531 return cret, nil
496 }532 }
@@ -509,6 +545,7 @@ func (x *BookmarkFile) LoadFromDataDirs(FileVar string, FullPathVar *string) (bo
509 var cerr *Error545 var cerr *Error
510 546
511 cret := xBookmarkFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, &cerr)547 cret := xBookmarkFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, &cerr)
548+
512 if cerr == nil {549 if cerr == nil {
513 return cret, nil550 return cret, nil
514 }551 }
@@ -525,6 +562,7 @@ func (x *BookmarkFile) LoadFromFile(FilenameVar string) (bool, error) {
525 var cerr *Error562 var cerr *Error
526 563
527 cret := xBookmarkFileLoadFromFile(x.GoPointer(), FilenameVar, &cerr)564 cret := xBookmarkFileLoadFromFile(x.GoPointer(), FilenameVar, &cerr)
565+
528 if cerr == nil {566 if cerr == nil {
529 return cret, nil567 return cret, nil
530 }568 }
@@ -543,7 +581,12 @@ var xBookmarkFileMoveItem func(uintptr, string, uintptr, **Error) bool
543 func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar *string) (bool, error) {581 func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar *string) (bool, error) {
544 var cerr *Error582 var cerr *Error
545 583
546- cret := xBookmarkFileMoveItem(x.GoPointer(), OldUriVar, core.NullableStringToPtr(NewUriVar), &cerr)584+ NewUriVarPtr, NewUriVarBytes := core.NullableStringToPtr(NewUriVar)
585+
586+ cret := xBookmarkFileMoveItem(x.GoPointer(), OldUriVar, NewUriVarPtr, &cerr)
587+
588+ runtime.KeepAlive(NewUriVarBytes)
589+
547 if cerr == nil {590 if cerr == nil {
548 return cret, nil591 return cret, nil
549 }592 }
@@ -565,6 +608,7 @@ func (x *BookmarkFile) RemoveApplication(UriVar string, NameVar string) (bool, e
565 var cerr *Error608 var cerr *Error
566 609
567 cret := xBookmarkFileRemoveApplication(x.GoPointer(), UriVar, NameVar, &cerr)610 cret := xBookmarkFileRemoveApplication(x.GoPointer(), UriVar, NameVar, &cerr)
611+
568 if cerr == nil {612 if cerr == nil {
569 return cret, nil613 return cret, nil
570 }614 }
@@ -585,6 +629,7 @@ func (x *BookmarkFile) RemoveGroup(UriVar string, GroupVar string) (bool, error)
585 var cerr *Error629 var cerr *Error
586 630
587 cret := xBookmarkFileRemoveGroup(x.GoPointer(), UriVar, GroupVar, &cerr)631 cret := xBookmarkFileRemoveGroup(x.GoPointer(), UriVar, GroupVar, &cerr)
632+
588 if cerr == nil {633 if cerr == nil {
589 return cret, nil634 return cret, nil
590 }635 }
@@ -599,6 +644,7 @@ func (x *BookmarkFile) RemoveItem(UriVar string) (bool, error) {
599 var cerr *Error644 var cerr *Error
600 645
601 cret := xBookmarkFileRemoveItem(x.GoPointer(), UriVar, &cerr)646 cret := xBookmarkFileRemoveItem(x.GoPointer(), UriVar, &cerr)
647+
602 if cerr == nil {648 if cerr == nil {
603 return cret, nil649 return cret, nil
604 }650 }
@@ -662,6 +708,7 @@ func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string,
662 var cerr *Error708 var cerr *Error
663 709
664 cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)710 cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)
711+
665 if cerr == nil {712 if cerr == nil {
666 return cret, nil713 return cret, nil
667 }714 }
@@ -702,6 +749,7 @@ func (x *BookmarkFile) SetApplicationInfo(UriVar string, NameVar string, ExecVar
702 var cerr *Error749 var cerr *Error
703 750
704 cret := xBookmarkFileSetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)751 cret := xBookmarkFileSetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)
752+
705 if cerr == nil {753 if cerr == nil {
706 return cret, nil754 return cret, nil
707 }755 }
@@ -718,7 +766,11 @@ var xBookmarkFileSetDescription func(uintptr, uintptr, string)
718 // If a bookmark for @uri cannot be found then it is created.766 // If a bookmark for @uri cannot be found then it is created.
719 func (x *BookmarkFile) SetDescription(UriVar *string, DescriptionVar string) {767 func (x *BookmarkFile) SetDescription(UriVar *string, DescriptionVar string) {
720 768
721- xBookmarkFileSetDescription(x.GoPointer(), core.NullableStringToPtr(UriVar), DescriptionVar)769+ UriVarPtr, UriVarBytes := core.NullableStringToPtr(UriVar)
770+
771+ xBookmarkFileSetDescription(x.GoPointer(), UriVarPtr, DescriptionVar)
772+
773+ runtime.KeepAlive(UriVarBytes)
722 774
723 }775 }
724 776
@@ -743,7 +795,11 @@ var xBookmarkFileSetIcon func(uintptr, string, uintptr, string)
743 // If no bookmark for @uri is found one is created.795 // If no bookmark for @uri is found one is created.
744 func (x *BookmarkFile) SetIcon(UriVar string, HrefVar *string, MimeTypeVar string) {796 func (x *BookmarkFile) SetIcon(UriVar string, HrefVar *string, MimeTypeVar string) {
745 797
746- xBookmarkFileSetIcon(x.GoPointer(), UriVar, core.NullableStringToPtr(HrefVar), MimeTypeVar)798+ HrefVarPtr, HrefVarBytes := core.NullableStringToPtr(HrefVar)
799+
800+ xBookmarkFileSetIcon(x.GoPointer(), UriVar, HrefVarPtr, MimeTypeVar)
801+
802+ runtime.KeepAlive(HrefVarBytes)
747 803
748 }804 }
749 805
@@ -811,7 +867,11 @@ var xBookmarkFileSetTitle func(uintptr, uintptr, string)
811 // If a bookmark for @uri cannot be found then it is created.867 // If a bookmark for @uri cannot be found then it is created.
812 func (x *BookmarkFile) SetTitle(UriVar *string, TitleVar string) {868 func (x *BookmarkFile) SetTitle(UriVar *string, TitleVar string) {
813 869
814- xBookmarkFileSetTitle(x.GoPointer(), core.NullableStringToPtr(UriVar), TitleVar)870+ UriVarPtr, UriVarBytes := core.NullableStringToPtr(UriVar)
871+
872+ xBookmarkFileSetTitle(x.GoPointer(), UriVarPtr, TitleVar)
873+
874+ runtime.KeepAlive(UriVarBytes)
815 875
816 }876 }
817 877
@@ -856,6 +916,7 @@ func (x *BookmarkFile) ToData(LengthVar *uint) (uintptr, error) {
856 var cerr *Error916 var cerr *Error
857 917
858 cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr)918 cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr)
919+
859 if cerr == nil {920 if cerr == nil {
860 return cret, nil921 return cret, nil
861 }922 }
@@ -871,6 +932,7 @@ func (x *BookmarkFile) ToFile(FilenameVar string) (bool, error) {
871 var cerr *Error932 var cerr *Error
872 933
873 cret := xBookmarkFileToFile(x.GoPointer(), FilenameVar, &cerr)934 cret := xBookmarkFileToFile(x.GoPointer(), FilenameVar, &cerr)
935+
874 if cerr == nil {936 if cerr == nil {
875 return cret, nil937 return cret, nil
876 }938 }
M v4/glib/gcache.go +1 -0
@@ -67,6 +67,7 @@ var xCacheInsert func(uintptr, uintptr) uintptr
67 func (x *Cache) Insert(KeyVar uintptr) uintptr {67 func (x *Cache) Insert(KeyVar uintptr) uintptr {
68 68
69 cret := xCacheInsert(x.GoPointer(), KeyVar)69 cret := xCacheInsert(x.GoPointer(), KeyVar)
70+
70 return cret71 return cret
71 }72 }
72 73
M v4/glib/gcharset.go +6 -0
@@ -32,6 +32,7 @@ var xGetCharset func(*string) bool
32 func GetCharset(CharsetVar *string) bool {32 func GetCharset(CharsetVar *string) bool {
33 33
34 cret := xGetCharset(CharsetVar)34 cret := xGetCharset(CharsetVar)
35+
35 return cret36 return cret
36 }37 }
37 38
@@ -41,6 +42,7 @@ var xGetCodeset func() string
41 func GetCodeset() string {42 func GetCodeset() string {
42 43
43 cret := xGetCodeset()44 cret := xGetCodeset()
45+
44 return cret46 return cret
45 }47 }
46 48
@@ -66,6 +68,7 @@ var xGetConsoleCharset func(*string) bool
66 func GetConsoleCharset(CharsetVar *string) bool {68 func GetConsoleCharset(CharsetVar *string) bool {
67 69
68 cret := xGetConsoleCharset(CharsetVar)70 cret := xGetConsoleCharset(CharsetVar)
71+
69 return cret72 return cret
70 }73 }
71 74
@@ -85,6 +88,7 @@ var xGetLanguageNames func() []string
85 func GetLanguageNames() []string {88 func GetLanguageNames() []string {
86 89
87 cret := xGetLanguageNames()90 cret := xGetLanguageNames()
91+
88 return cret92 return cret
89 }93 }
90 94
@@ -103,6 +107,7 @@ var xGetLanguageNamesWithCategory func(string) []string
103 func GetLanguageNamesWithCategory(CategoryNameVar string) []string {107 func GetLanguageNamesWithCategory(CategoryNameVar string) []string {
104 108
105 cret := xGetLanguageNamesWithCategory(CategoryNameVar)109 cret := xGetLanguageNamesWithCategory(CategoryNameVar)
110+
106 return cret111 return cret
107 }112 }
108 113
@@ -126,6 +131,7 @@ var xGetLocaleVariants func(string) []string
126 func GetLocaleVariants(LocaleVar string) []string {131 func GetLocaleVariants(LocaleVar string) []string {
127 132
128 cret := xGetLocaleVariants(LocaleVar)133 cret := xGetLocaleVariants(LocaleVar)
134+
129 return cret135 return cret
130 }136 }
131 137
M v4/glib/gchecksum.go +7 -0
@@ -58,6 +58,7 @@ var xNewChecksum func(ChecksumType) *Checksum
58 func NewChecksum(ChecksumTypeVar ChecksumType) *Checksum {58 func NewChecksum(ChecksumTypeVar ChecksumType) *Checksum {
59 59
60 cret := xNewChecksum(ChecksumTypeVar)60 cret := xNewChecksum(ChecksumTypeVar)
61+
61 return cret62 return cret
62 }63 }
63 64
@@ -69,6 +70,7 @@ var xChecksumCopy func(uintptr) *Checksum
69 func (x *Checksum) Copy() *Checksum {70 func (x *Checksum) Copy() *Checksum {
70 71
71 cret := xChecksumCopy(x.GoPointer())72 cret := xChecksumCopy(x.GoPointer())
73+
72 return cret74 return cret
73 }75 }
74 76
@@ -105,6 +107,7 @@ var xChecksumGetString func(uintptr) string
105 func (x *Checksum) GetString() string {107 func (x *Checksum) GetString() string {
106 108
107 cret := xChecksumGetString(x.GoPointer())109 cret := xChecksumGetString(x.GoPointer())
110+
108 return cret111 return cret
109 }112 }
110 113
@@ -155,6 +158,7 @@ var xChecksumTypeGetLength func(ChecksumType) int
155 func ChecksumTypeGetLength(ChecksumTypeVar ChecksumType) int {158 func ChecksumTypeGetLength(ChecksumTypeVar ChecksumType) int {
156 159
157 cret := xChecksumTypeGetLength(ChecksumTypeVar)160 cret := xChecksumTypeGetLength(ChecksumTypeVar)
161+
158 return cret162 return cret
159 }163 }
160 164
@@ -168,6 +172,7 @@ var xComputeChecksumForBytes func(ChecksumType, *Bytes) string
168 func ComputeChecksumForBytes(ChecksumTypeVar ChecksumType, DataVar *Bytes) string {172 func ComputeChecksumForBytes(ChecksumTypeVar ChecksumType, DataVar *Bytes) string {
169 173
170 cret := xComputeChecksumForBytes(ChecksumTypeVar, DataVar)174 cret := xComputeChecksumForBytes(ChecksumTypeVar, DataVar)
175+
171 return cret176 return cret
172 }177 }
173 178
@@ -181,6 +186,7 @@ var xComputeChecksumForData func(ChecksumType, []byte, uint) string
181 func ComputeChecksumForData(ChecksumTypeVar ChecksumType, DataVar []byte, LengthVar uint) string {186 func ComputeChecksumForData(ChecksumTypeVar ChecksumType, DataVar []byte, LengthVar uint) string {
182 187
183 cret := xComputeChecksumForData(ChecksumTypeVar, DataVar, LengthVar)188 cret := xComputeChecksumForData(ChecksumTypeVar, DataVar, LengthVar)
189+
184 return cret190 return cret
185 }191 }
186 192
@@ -192,6 +198,7 @@ var xComputeChecksumForString func(ChecksumType, string, int) string
192 func ComputeChecksumForString(ChecksumTypeVar ChecksumType, StrVar string, LengthVar int) string {198 func ComputeChecksumForString(ChecksumTypeVar ChecksumType, StrVar string, LengthVar int) string {
193 199
194 cret := xComputeChecksumForString(ChecksumTypeVar, StrVar, LengthVar)200 cret := xComputeChecksumForString(ChecksumTypeVar, StrVar, LengthVar)
201+
195 return cret202 return cret
196 }203 }
197 204
M v4/glib/gcompletion.go +2 -0
@@ -85,6 +85,7 @@ var xCompletionComplete func(uintptr, string, string) *List
85 func (x *Completion) Complete(PrefixVar string, NewPrefixVar string) *List {85 func (x *Completion) Complete(PrefixVar string, NewPrefixVar string) *List {
86 86
87 cret := xCompletionComplete(x.GoPointer(), PrefixVar, NewPrefixVar)87 cret := xCompletionComplete(x.GoPointer(), PrefixVar, NewPrefixVar)
88+
88 return cret89 return cret
89 }90 }
90 91
@@ -100,6 +101,7 @@ var xCompletionCompleteUtf8 func(uintptr, string, string) *List
100 func (x *Completion) CompleteUtf8(PrefixVar string, NewPrefixVar string) *List {101 func (x *Completion) CompleteUtf8(PrefixVar string, NewPrefixVar string) *List {
101 102
102 cret := xCompletionCompleteUtf8(x.GoPointer(), PrefixVar, NewPrefixVar)103 cret := xCompletionCompleteUtf8(x.GoPointer(), PrefixVar, NewPrefixVar)
104+
103 return cret105 return cret
104 }106 }
105 107
M v4/glib/gconvert.go +23 -1
@@ -2,6 +2,7 @@
2 package glib2 package glib
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -40,6 +41,7 @@ var xIConvGIconv func(uintptr, string, uint, string, uint) uint
40 func (x *IConv) GIconv(InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint {41 func (x *IConv) GIconv(InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint {
41 42
42 cret := xIConvGIconv(x.GoPointer(), InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar)43 cret := xIConvGIconv(x.GoPointer(), InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar)
44+
43 return cret45 return cret
44 }46 }
45 47
@@ -56,6 +58,7 @@ var xIConvClose func(uintptr) int
56 func (x *IConv) Close() int {58 func (x *IConv) Close() int {
57 59
58 cret := xIConvClose(x.GoPointer())60 cret := xIConvClose(x.GoPointer())
61+
59 return cret62 return cret
60 }63 }
61 64
@@ -107,6 +110,7 @@ func Convert(StrVar []byte, LenVar int, ToCodesetVar string, FromCodesetVar stri
107 var cerr *Error110 var cerr *Error
108 111
109 cret := xConvert(StrVar, LenVar, ToCodesetVar, FromCodesetVar, BytesReadVar, BytesWrittenVar, &cerr)112 cret := xConvert(StrVar, LenVar, ToCodesetVar, FromCodesetVar, BytesReadVar, BytesWrittenVar, &cerr)
113+
110 if cerr == nil {114 if cerr == nil {
111 return cret, nil115 return cret, nil
112 }116 }
@@ -137,6 +141,7 @@ func ConvertWithFallback(StrVar []byte, LenVar int, ToCodesetVar string, FromCod
137 var cerr *Error141 var cerr *Error
138 142
139 cret := xConvertWithFallback(StrVar, LenVar, ToCodesetVar, FromCodesetVar, FallbackVar, BytesReadVar, BytesWrittenVar, &cerr)143 cret := xConvertWithFallback(StrVar, LenVar, ToCodesetVar, FromCodesetVar, FallbackVar, BytesReadVar, BytesWrittenVar, &cerr)
144+
140 if cerr == nil {145 if cerr == nil {
141 return cret, nil146 return cret, nil
142 }147 }
@@ -169,6 +174,7 @@ func ConvertWithIconv(StrVar []byte, LenVar int, ConverterVar uintptr, BytesRead
169 var cerr *Error174 var cerr *Error
170 175
171 cret := xConvertWithIconv(StrVar, LenVar, ConverterVar, BytesReadVar, BytesWrittenVar, &cerr)176 cret := xConvertWithIconv(StrVar, LenVar, ConverterVar, BytesReadVar, BytesWrittenVar, &cerr)
177+
172 if cerr == nil {178 if cerr == nil {
173 return cret, nil179 return cret, nil
174 }180 }
@@ -197,6 +203,7 @@ var xFilenameDisplayBasename func(string) string
197 func FilenameDisplayBasename(FilenameVar string) string {203 func FilenameDisplayBasename(FilenameVar string) string {
198 204
199 cret := xFilenameDisplayBasename(FilenameVar)205 cret := xFilenameDisplayBasename(FilenameVar)
206+
200 return cret207 return cret
201 }208 }
202 209
@@ -220,6 +227,7 @@ var xFilenameDisplayName func(string) string
220 func FilenameDisplayName(FilenameVar string) string {227 func FilenameDisplayName(FilenameVar string) string {
221 228
222 cret := xFilenameDisplayName(FilenameVar)229 cret := xFilenameDisplayName(FilenameVar)
230+
223 return cret231 return cret
224 }232 }
225 233
@@ -236,6 +244,7 @@ func FilenameFromUri(UriVar string, HostnameVar *string) (string, error) {
236 var cerr *Error244 var cerr *Error
237 245
238 cret := xFilenameFromUri(UriVar, HostnameVar, &cerr)246 cret := xFilenameFromUri(UriVar, HostnameVar, &cerr)
247+
239 if cerr == nil {248 if cerr == nil {
240 return cret, nil249 return cret, nil
241 }250 }
@@ -259,6 +268,7 @@ func FilenameFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar *uint, Byte
259 var cerr *Error268 var cerr *Error
260 269
261 cret := xFilenameFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)270 cret := xFilenameFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
271+
262 if cerr == nil {272 if cerr == nil {
263 return cret, nil273 return cret, nil
264 }274 }
@@ -273,7 +283,12 @@ var xFilenameToUri func(string, uintptr, **Error) string
273 func FilenameToUri(FilenameVar string, HostnameVar *string) (string, error) {283 func FilenameToUri(FilenameVar string, HostnameVar *string) (string, error) {
274 var cerr *Error284 var cerr *Error
275 285
276- cret := xFilenameToUri(FilenameVar, core.NullableStringToPtr(HostnameVar), &cerr)286+ HostnameVarPtr, HostnameVarBytes := core.NullableStringToPtr(HostnameVar)
287+
288+ cret := xFilenameToUri(FilenameVar, HostnameVarPtr, &cerr)
289+
290+ runtime.KeepAlive(HostnameVarBytes)
291+
277 if cerr == nil {292 if cerr == nil {
278 return cret, nil293 return cret, nil
279 }294 }
@@ -299,6 +314,7 @@ func FilenameToUtf8(OpsysstringVar string, LenVar int, BytesReadVar *uint, Bytes
299 var cerr *Error314 var cerr *Error
300 315
301 cret := xFilenameToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)316 cret := xFilenameToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
317+
302 if cerr == nil {318 if cerr == nil {
303 return cret, nil319 return cret, nil
304 }320 }
@@ -335,6 +351,7 @@ var xGetFilenameCharsets func(*[]string) bool
335 func GetFilenameCharsets(FilenameCharsetsVar *[]string) bool {351 func GetFilenameCharsets(FilenameCharsetsVar *[]string) bool {
336 352
337 cret := xGetFilenameCharsets(FilenameCharsetsVar)353 cret := xGetFilenameCharsets(FilenameCharsetsVar)
354+
338 return cret355 return cret
339 }356 }
340 357
@@ -359,6 +376,7 @@ var xIconv func(uintptr, string, uint, string, uint) uint
359 func Iconv(ConverterVar uintptr, InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint {376 func Iconv(ConverterVar uintptr, InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint {
360 377
361 cret := xIconv(ConverterVar, InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar)378 cret := xIconv(ConverterVar, InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar)
379+
362 return cret380 return cret
363 }381 }
364 382
@@ -373,6 +391,7 @@ var xIconvOpen func(string, string) uintptr
373 func IconvOpen(ToCodesetVar string, FromCodesetVar string) uintptr {391 func IconvOpen(ToCodesetVar string, FromCodesetVar string) uintptr {
374 392
375 cret := xIconvOpen(ToCodesetVar, FromCodesetVar)393 cret := xIconvOpen(ToCodesetVar, FromCodesetVar)
394+
376 return cret395 return cret
377 }396 }
378 397
@@ -391,6 +410,7 @@ func LocaleFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar *uint, BytesW
391 var cerr *Error410 var cerr *Error
392 411
393 cret := xLocaleFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)412 cret := xLocaleFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
413+
394 if cerr == nil {414 if cerr == nil {
395 return cret, nil415 return cret, nil
396 }416 }
@@ -415,6 +435,7 @@ func LocaleToUtf8(OpsysstringVar []byte, LenVar int, BytesReadVar *uint, BytesWr
415 var cerr *Error435 var cerr *Error
416 436
417 cret := xLocaleToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)437 cret := xLocaleToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
438+
418 if cerr == nil {439 if cerr == nil {
419 return cret, nil440 return cret, nil
420 }441 }
@@ -430,6 +451,7 @@ var xUriListExtractUris func(string) []string
430 func UriListExtractUris(UriListVar string) []string {451 func UriListExtractUris(UriListVar string) []string {
431 452
432 cret := xUriListExtractUris(UriListVar)453 cret := xUriListExtractUris(UriListVar)
454+
433 return cret455 return cret
434 }456 }
435 457
M v4/glib/gdataset.go +8 -0
@@ -89,6 +89,7 @@ var xDatalistGetData func(**Data, string) uintptr
89 func DatalistGetData(DatalistVar **Data, KeyVar string) uintptr {89 func DatalistGetData(DatalistVar **Data, KeyVar string) uintptr {
90 90
91 cret := xDatalistGetData(DatalistVar, KeyVar)91 cret := xDatalistGetData(DatalistVar, KeyVar)
92+
92 return cret93 return cret
93 }94 }
94 95
@@ -99,6 +100,7 @@ var xDatalistGetFlags func(**Data) uint
99 func DatalistGetFlags(DatalistVar **Data) uint {100 func DatalistGetFlags(DatalistVar **Data) uint {
100 101
101 cret := xDatalistGetFlags(DatalistVar)102 cret := xDatalistGetFlags(DatalistVar)
103+
102 return cret104 return cret
103 }105 }
104 106
@@ -135,6 +137,7 @@ func DatalistIdDupData(DatalistVar **Data, KeyIdVar Quark, DupFuncVar *Duplicate
135 }137 }
136 138
137 cret := xDatalistIdDupData(DatalistVar, KeyIdVar, DupFuncVarRef, UserDataVar)139 cret := xDatalistIdDupData(DatalistVar, KeyIdVar, DupFuncVarRef, UserDataVar)
140+
138 return cret141 return cret
139 }142 }
140 143
@@ -144,6 +147,7 @@ var xDatalistIdGetData func(**Data, Quark) uintptr
144 func DatalistIdGetData(DatalistVar **Data, KeyIdVar Quark) uintptr {147 func DatalistIdGetData(DatalistVar **Data, KeyIdVar Quark) uintptr {
145 148
146 cret := xDatalistIdGetData(DatalistVar, KeyIdVar)149 cret := xDatalistIdGetData(DatalistVar, KeyIdVar)
150+
147 return cret151 return cret
148 }152 }
149 153
@@ -169,6 +173,7 @@ var xDatalistIdRemoveNoNotify func(**Data, Quark) uintptr
169 func DatalistIdRemoveNoNotify(DatalistVar **Data, KeyIdVar Quark) uintptr {173 func DatalistIdRemoveNoNotify(DatalistVar **Data, KeyIdVar Quark) uintptr {
170 174
171 cret := xDatalistIdRemoveNoNotify(DatalistVar, KeyIdVar)175 cret := xDatalistIdRemoveNoNotify(DatalistVar, KeyIdVar)
176+
172 return cret177 return cret
173 }178 }
174 179
@@ -205,6 +210,7 @@ func DatalistIdReplaceData(DatalistVar **Data, KeyIdVar Quark, OldvalVar uintptr
205 }210 }
206 211
207 cret := xDatalistIdReplaceData(DatalistVar, KeyIdVar, OldvalVar, NewvalVar, DestroyVarRef, OldDestroyVar)212 cret := xDatalistIdReplaceData(DatalistVar, KeyIdVar, OldvalVar, NewvalVar, DestroyVarRef, OldDestroyVar)
213+
208 return cret214 return cret
209 }215 }
210 216
@@ -315,6 +321,7 @@ var xDatasetIdGetData func(uintptr, Quark) uintptr
315 func DatasetIdGetData(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr {321 func DatasetIdGetData(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr {
316 322
317 cret := xDatasetIdGetData(DatasetLocationVar, KeyIdVar)323 cret := xDatasetIdGetData(DatasetLocationVar, KeyIdVar)
324+
318 return cret325 return cret
319 }326 }
320 327
@@ -325,6 +332,7 @@ var xDatasetIdRemoveNoNotify func(uintptr, Quark) uintptr
325 func DatasetIdRemoveNoNotify(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr {332 func DatasetIdRemoveNoNotify(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr {
326 333
327 cret := xDatasetIdRemoveNoNotify(DatasetLocationVar, KeyIdVar)334 cret := xDatasetIdRemoveNoNotify(DatasetLocationVar, KeyIdVar)
335+
328 return cret336 return cret
329 }337 }
330 338
M v4/glib/gdate.go +31 -0
@@ -84,6 +84,7 @@ var xNewDate func() *Date
84 func NewDate() *Date {84 func NewDate() *Date {
85 85
86 cret := xNewDate()86 cret := xNewDate()
87+
87 return cret88 return cret
88 }89 }
89 90
@@ -97,6 +98,7 @@ var xNewDateDmy func(DateDay, DateMonth, DateYear) *Date
97 func NewDateDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) *Date {98 func NewDateDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) *Date {
98 99
99 cret := xNewDateDmy(DayVar, MonthVar, YearVar)100 cret := xNewDateDmy(DayVar, MonthVar, YearVar)
101+
100 return cret102 return cret
101 }103 }
102 104
@@ -110,6 +112,7 @@ var xNewDateJulian func(uint32) *Date
110 func NewDateJulian(JulianDayVar uint32) *Date {112 func NewDateJulian(JulianDayVar uint32) *Date {
111 113
112 cret := xNewDateJulian(JulianDayVar)114 cret := xNewDateJulian(JulianDayVar)
115+
113 return cret116 return cret
114 }117 }
115 118
@@ -181,6 +184,7 @@ var xDateCompare func(uintptr, *Date) int
181 func (x *Date) Compare(RhsVar *Date) int {184 func (x *Date) Compare(RhsVar *Date) int {
182 185
183 cret := xDateCompare(x.GoPointer(), RhsVar)186 cret := xDateCompare(x.GoPointer(), RhsVar)
187+
184 return cret188 return cret
185 }189 }
186 190
@@ -192,6 +196,7 @@ var xDateCopy func(uintptr) *Date
192 func (x *Date) Copy() *Date {196 func (x *Date) Copy() *Date {
193 197
194 cret := xDateCopy(x.GoPointer())198 cret := xDateCopy(x.GoPointer())
199+
195 return cret200 return cret
196 }201 }
197 202
@@ -203,6 +208,7 @@ var xDateDaysBetween func(uintptr, *Date) int
203 func (x *Date) DaysBetween(Date2Var *Date) int {208 func (x *Date) DaysBetween(Date2Var *Date) int {
204 209
205 cret := xDateDaysBetween(x.GoPointer(), Date2Var)210 cret := xDateDaysBetween(x.GoPointer(), Date2Var)
211+
206 return cret212 return cret
207 }213 }
208 214
@@ -221,6 +227,7 @@ var xDateGetDay func(uintptr) DateDay
221 func (x *Date) GetDay() DateDay {227 func (x *Date) GetDay() DateDay {
222 228
223 cret := xDateGetDay(x.GoPointer())229 cret := xDateGetDay(x.GoPointer())
230+
224 return cret231 return cret
225 }232 }
226 233
@@ -231,6 +238,7 @@ var xDateGetDayOfYear func(uintptr) uint
231 func (x *Date) GetDayOfYear() uint {238 func (x *Date) GetDayOfYear() uint {
232 239
233 cret := xDateGetDayOfYear(x.GoPointer())240 cret := xDateGetDayOfYear(x.GoPointer())
241+
234 return cret242 return cret
235 }243 }
236 244
@@ -241,6 +249,7 @@ var xDateGetIso8601WeekOfYear func(uintptr) uint
241 func (x *Date) GetIso8601WeekOfYear() uint {249 func (x *Date) GetIso8601WeekOfYear() uint {
242 250
243 cret := xDateGetIso8601WeekOfYear(x.GoPointer())251 cret := xDateGetIso8601WeekOfYear(x.GoPointer())
252+
244 return cret253 return cret
245 }254 }
246 255
@@ -253,6 +262,7 @@ var xDateGetJulian func(uintptr) uint32
253 func (x *Date) GetJulian() uint32 {262 func (x *Date) GetJulian() uint32 {
254 263
255 cret := xDateGetJulian(x.GoPointer())264 cret := xDateGetJulian(x.GoPointer())
265+
256 return cret266 return cret
257 }267 }
258 268
@@ -264,6 +274,7 @@ var xDateGetMondayWeekOfYear func(uintptr) uint
264 func (x *Date) GetMondayWeekOfYear() uint {274 func (x *Date) GetMondayWeekOfYear() uint {
265 275
266 cret := xDateGetMondayWeekOfYear(x.GoPointer())276 cret := xDateGetMondayWeekOfYear(x.GoPointer())
277+
267 return cret278 return cret
268 }279 }
269 280
@@ -273,6 +284,7 @@ var xDateGetMonth func(uintptr) DateMonth
273 func (x *Date) GetMonth() DateMonth {284 func (x *Date) GetMonth() DateMonth {
274 285
275 cret := xDateGetMonth(x.GoPointer())286 cret := xDateGetMonth(x.GoPointer())
287+
276 return cret288 return cret
277 }289 }
278 290
@@ -284,6 +296,7 @@ var xDateGetSundayWeekOfYear func(uintptr) uint
284 func (x *Date) GetSundayWeekOfYear() uint {296 func (x *Date) GetSundayWeekOfYear() uint {
285 297
286 cret := xDateGetSundayWeekOfYear(x.GoPointer())298 cret := xDateGetSundayWeekOfYear(x.GoPointer())
299+
287 return cret300 return cret
288 }301 }
289 302
@@ -300,6 +313,7 @@ var xDateGetWeekOfYear func(uintptr, DateWeekday) uint
300 func (x *Date) GetWeekOfYear(FirstDayOfWeekVar DateWeekday) uint {313 func (x *Date) GetWeekOfYear(FirstDayOfWeekVar DateWeekday) uint {
301 314
302 cret := xDateGetWeekOfYear(x.GoPointer(), FirstDayOfWeekVar)315 cret := xDateGetWeekOfYear(x.GoPointer(), FirstDayOfWeekVar)
316+
303 return cret317 return cret
304 }318 }
305 319
@@ -309,6 +323,7 @@ var xDateGetWeekday func(uintptr) DateWeekday
309 func (x *Date) GetWeekday() DateWeekday {323 func (x *Date) GetWeekday() DateWeekday {
310 324
311 cret := xDateGetWeekday(x.GoPointer())325 cret := xDateGetWeekday(x.GoPointer())
326+
312 return cret327 return cret
313 }328 }
314 329
@@ -318,6 +333,7 @@ var xDateGetYear func(uintptr) DateYear
318 func (x *Date) GetYear() DateYear {333 func (x *Date) GetYear() DateYear {
319 334
320 cret := xDateGetYear(x.GoPointer())335 cret := xDateGetYear(x.GoPointer())
336+
321 return cret337 return cret
322 }338 }
323 339
@@ -328,6 +344,7 @@ var xDateIsFirstOfMonth func(uintptr) bool
328 func (x *Date) IsFirstOfMonth() bool {344 func (x *Date) IsFirstOfMonth() bool {
329 345
330 cret := xDateIsFirstOfMonth(x.GoPointer())346 cret := xDateIsFirstOfMonth(x.GoPointer())
347+
331 return cret348 return cret
332 }349 }
333 350
@@ -338,6 +355,7 @@ var xDateIsLastOfMonth func(uintptr) bool
338 func (x *Date) IsLastOfMonth() bool {355 func (x *Date) IsLastOfMonth() bool {
339 356
340 cret := xDateIsLastOfMonth(x.GoPointer())357 cret := xDateIsLastOfMonth(x.GoPointer())
358+
341 return cret359 return cret
342 }360 }
343 361
@@ -519,6 +537,7 @@ var xDateValid func(uintptr) bool
519 func (x *Date) Valid() bool {537 func (x *Date) Valid() bool {
520 538
521 cret := xDateValid(x.GoPointer())539 cret := xDateValid(x.GoPointer())
540+
522 return cret541 return cret
523 }542 }
524 543
@@ -647,6 +666,7 @@ var xDateGetDaysInMonth func(DateMonth, DateYear) byte
647 func DateGetDaysInMonth(MonthVar DateMonth, YearVar DateYear) byte {666 func DateGetDaysInMonth(MonthVar DateMonth, YearVar DateYear) byte {
648 667
649 cret := xDateGetDaysInMonth(MonthVar, YearVar)668 cret := xDateGetDaysInMonth(MonthVar, YearVar)
669+
650 return cret670 return cret
651 }671 }
652 672
@@ -662,6 +682,7 @@ var xDateGetMondayWeeksInYear func(DateYear) byte
662 func DateGetMondayWeeksInYear(YearVar DateYear) byte {682 func DateGetMondayWeeksInYear(YearVar DateYear) byte {
663 683
664 cret := xDateGetMondayWeeksInYear(YearVar)684 cret := xDateGetMondayWeeksInYear(YearVar)
685+
665 return cret686 return cret
666 }687 }
667 688
@@ -677,6 +698,7 @@ var xDateGetSundayWeeksInYear func(DateYear) byte
677 func DateGetSundayWeeksInYear(YearVar DateYear) byte {698 func DateGetSundayWeeksInYear(YearVar DateYear) byte {
678 699
679 cret := xDateGetSundayWeeksInYear(YearVar)700 cret := xDateGetSundayWeeksInYear(YearVar)
701+
680 return cret702 return cret
681 }703 }
682 704
@@ -694,6 +716,7 @@ var xDateGetWeeksInYear func(DateYear, DateWeekday) byte
694 func DateGetWeeksInYear(YearVar DateYear, FirstDayOfWeekVar DateWeekday) byte {716 func DateGetWeeksInYear(YearVar DateYear, FirstDayOfWeekVar DateWeekday) byte {
695 717
696 cret := xDateGetWeeksInYear(YearVar, FirstDayOfWeekVar)718 cret := xDateGetWeeksInYear(YearVar, FirstDayOfWeekVar)
719+
697 return cret720 return cret
698 }721 }
699 722
@@ -708,6 +731,7 @@ var xDateIsLeapYear func(DateYear) bool
708 func DateIsLeapYear(YearVar DateYear) bool {731 func DateIsLeapYear(YearVar DateYear) bool {
709 732
710 cret := xDateIsLeapYear(YearVar)733 cret := xDateIsLeapYear(YearVar)
734+
711 return cret735 return cret
712 }736 }
713 737
@@ -729,6 +753,7 @@ var xDateStrftime func(string, uint, string, *Date) uint
729 func DateStrftime(SVar string, SlenVar uint, FormatVar string, DateVar *Date) uint {753 func DateStrftime(SVar string, SlenVar uint, FormatVar string, DateVar *Date) uint {
730 754
731 cret := xDateStrftime(SVar, SlenVar, FormatVar, DateVar)755 cret := xDateStrftime(SVar, SlenVar, FormatVar, DateVar)
756+
732 return cret757 return cret
733 }758 }
734 759
@@ -739,6 +764,7 @@ var xDateValidDay func(DateDay) bool
739 func DateValidDay(DayVar DateDay) bool {764 func DateValidDay(DayVar DateDay) bool {
740 765
741 cret := xDateValidDay(DayVar)766 cret := xDateValidDay(DayVar)
767+
742 return cret768 return cret
743 }769 }
744 770
@@ -750,6 +776,7 @@ var xDateValidDmy func(DateDay, DateMonth, DateYear) bool
750 func DateValidDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) bool {776 func DateValidDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) bool {
751 777
752 cret := xDateValidDmy(DayVar, MonthVar, YearVar)778 cret := xDateValidDmy(DayVar, MonthVar, YearVar)
779+
753 return cret780 return cret
754 }781 }
755 782
@@ -760,6 +787,7 @@ var xDateValidJulian func(uint32) bool
760 func DateValidJulian(JulianDateVar uint32) bool {787 func DateValidJulian(JulianDateVar uint32) bool {
761 788
762 cret := xDateValidJulian(JulianDateVar)789 cret := xDateValidJulian(JulianDateVar)
790+
763 return cret791 return cret
764 }792 }
765 793
@@ -770,6 +798,7 @@ var xDateValidMonth func(DateMonth) bool
770 func DateValidMonth(MonthVar DateMonth) bool {798 func DateValidMonth(MonthVar DateMonth) bool {
771 799
772 cret := xDateValidMonth(MonthVar)800 cret := xDateValidMonth(MonthVar)
801+
773 return cret802 return cret
774 }803 }
775 804
@@ -780,6 +809,7 @@ var xDateValidWeekday func(DateWeekday) bool
780 func DateValidWeekday(WeekdayVar DateWeekday) bool {809 func DateValidWeekday(WeekdayVar DateWeekday) bool {
781 810
782 cret := xDateValidWeekday(WeekdayVar)811 cret := xDateValidWeekday(WeekdayVar)
812+
783 return cret813 return cret
784 }814 }
785 815
@@ -790,6 +820,7 @@ var xDateValidYear func(DateYear) bool
790 func DateValidYear(YearVar DateYear) bool {820 func DateValidYear(YearVar DateYear) bool {
791 821
792 cret := xDateValidYear(YearVar)822 cret := xDateValidYear(YearVar)
823+
793 return cret824 return cret
794 }825 }
795 826
M v4/glib/gdatetime.go +51 -0
@@ -82,6 +82,7 @@ var xNewDateTime func(*TimeZone, int, int, int, int, int, float64) *DateTime
82 func NewDateTime(TzVar *TimeZone, YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {82 func NewDateTime(TzVar *TimeZone, YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {
83 83
84 cret := xNewDateTime(TzVar, YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)84 cret := xNewDateTime(TzVar, YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)
85+
85 return cret86 return cret
86 }87 }
87 88
@@ -133,6 +134,7 @@ var xNewDateTimeFromIso8601 func(string, *TimeZone) *DateTime
133 func NewDateTimeFromIso8601(TextVar string, DefaultTzVar *TimeZone) *DateTime {134 func NewDateTimeFromIso8601(TextVar string, DefaultTzVar *TimeZone) *DateTime {
134 135
135 cret := xNewDateTimeFromIso8601(TextVar, DefaultTzVar)136 cret := xNewDateTimeFromIso8601(TextVar, DefaultTzVar)
137+
136 return cret138 return cret
137 }139 }
138 140
@@ -153,6 +155,7 @@ var xNewDateTimeFromTimevalLocal func(*TimeVal) *DateTime
153 func NewDateTimeFromTimevalLocal(TvVar *TimeVal) *DateTime {155 func NewDateTimeFromTimevalLocal(TvVar *TimeVal) *DateTime {
154 156
155 cret := xNewDateTimeFromTimevalLocal(TvVar)157 cret := xNewDateTimeFromTimevalLocal(TvVar)
158+
156 return cret159 return cret
157 }160 }
158 161
@@ -171,6 +174,7 @@ var xNewDateTimeFromTimevalUtc func(*TimeVal) *DateTime
171 func NewDateTimeFromTimevalUtc(TvVar *TimeVal) *DateTime {174 func NewDateTimeFromTimevalUtc(TvVar *TimeVal) *DateTime {
172 175
173 cret := xNewDateTimeFromTimevalUtc(TvVar)176 cret := xNewDateTimeFromTimevalUtc(TvVar)
177+
174 return cret178 return cret
175 }179 }
176 180
@@ -190,6 +194,7 @@ var xNewDateTimeFromUnixLocal func(int64) *DateTime
190 func NewDateTimeFromUnixLocal(TVar int64) *DateTime {194 func NewDateTimeFromUnixLocal(TVar int64) *DateTime {
191 195
192 cret := xNewDateTimeFromUnixLocal(TVar)196 cret := xNewDateTimeFromUnixLocal(TVar)
197+
193 return cret198 return cret
194 }199 }
195 200
@@ -209,6 +214,7 @@ var xNewDateTimeFromUnixLocalUsec func(int64) *DateTime
209 func NewDateTimeFromUnixLocalUsec(UsecsVar int64) *DateTime {214 func NewDateTimeFromUnixLocalUsec(UsecsVar int64) *DateTime {
210 215
211 cret := xNewDateTimeFromUnixLocalUsec(UsecsVar)216 cret := xNewDateTimeFromUnixLocalUsec(UsecsVar)
217+
212 return cret218 return cret
213 }219 }
214 220
@@ -227,6 +233,7 @@ var xNewDateTimeFromUnixUtc func(int64) *DateTime
227 func NewDateTimeFromUnixUtc(TVar int64) *DateTime {233 func NewDateTimeFromUnixUtc(TVar int64) *DateTime {
228 234
229 cret := xNewDateTimeFromUnixUtc(TVar)235 cret := xNewDateTimeFromUnixUtc(TVar)
236+
230 return cret237 return cret
231 }238 }
232 239
@@ -245,6 +252,7 @@ var xNewDateTimeFromUnixUtcUsec func(int64) *DateTime
245 func NewDateTimeFromUnixUtcUsec(UsecsVar int64) *DateTime {252 func NewDateTimeFromUnixUtcUsec(UsecsVar int64) *DateTime {
246 253
247 cret := xNewDateTimeFromUnixUtcUsec(UsecsVar)254 cret := xNewDateTimeFromUnixUtcUsec(UsecsVar)
255+
248 return cret256 return cret
249 }257 }
250 258
@@ -258,6 +266,7 @@ var xNewDateTimeLocal func(int, int, int, int, int, float64) *DateTime
258 func NewDateTimeLocal(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {266 func NewDateTimeLocal(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {
259 267
260 cret := xNewDateTimeLocal(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)268 cret := xNewDateTimeLocal(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)
269+
261 return cret270 return cret
262 }271 }
263 272
@@ -275,6 +284,7 @@ var xNewDateTimeNow func(*TimeZone) *DateTime
275 func NewDateTimeNow(TzVar *TimeZone) *DateTime {284 func NewDateTimeNow(TzVar *TimeZone) *DateTime {
276 285
277 cret := xNewDateTimeNow(TzVar)286 cret := xNewDateTimeNow(TzVar)
287+
278 return cret288 return cret
279 }289 }
280 290
@@ -288,6 +298,7 @@ var xNewDateTimeNowLocal func() *DateTime
288 func NewDateTimeNowLocal() *DateTime {298 func NewDateTimeNowLocal() *DateTime {
289 299
290 cret := xNewDateTimeNowLocal()300 cret := xNewDateTimeNowLocal()
301+
291 return cret302 return cret
292 }303 }
293 304
@@ -300,6 +311,7 @@ var xNewDateTimeNowUtc func() *DateTime
300 func NewDateTimeNowUtc() *DateTime {311 func NewDateTimeNowUtc() *DateTime {
301 312
302 cret := xNewDateTimeNowUtc()313 cret := xNewDateTimeNowUtc()
314+
303 return cret315 return cret
304 }316 }
305 317
@@ -313,6 +325,7 @@ var xNewDateTimeUtc func(int, int, int, int, int, float64) *DateTime
313 func NewDateTimeUtc(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {325 func NewDateTimeUtc(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {
314 326
315 cret := xNewDateTimeUtc(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)327 cret := xNewDateTimeUtc(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)
328+
316 return cret329 return cret
317 }330 }
318 331
@@ -322,6 +335,7 @@ var xDateTimeAdd func(uintptr, TimeSpan) *DateTime
322 func (x *DateTime) Add(TimespanVar TimeSpan) *DateTime {335 func (x *DateTime) Add(TimespanVar TimeSpan) *DateTime {
323 336
324 cret := xDateTimeAdd(x.GoPointer(), TimespanVar)337 cret := xDateTimeAdd(x.GoPointer(), TimespanVar)
338+
325 return cret339 return cret
326 }340 }
327 341
@@ -332,6 +346,7 @@ var xDateTimeAddDays func(uintptr, int) *DateTime
332 func (x *DateTime) AddDays(DaysVar int) *DateTime {346 func (x *DateTime) AddDays(DaysVar int) *DateTime {
333 347
334 cret := xDateTimeAddDays(x.GoPointer(), DaysVar)348 cret := xDateTimeAddDays(x.GoPointer(), DaysVar)
349+
335 return cret350 return cret
336 }351 }
337 352
@@ -342,6 +357,7 @@ var xDateTimeAddFull func(uintptr, int, int, int, int, int, float64) *DateTime
342 func (x *DateTime) AddFull(YearsVar int, MonthsVar int, DaysVar int, HoursVar int, MinutesVar int, SecondsVar float64) *DateTime {357 func (x *DateTime) AddFull(YearsVar int, MonthsVar int, DaysVar int, HoursVar int, MinutesVar int, SecondsVar float64) *DateTime {
343 358
344 cret := xDateTimeAddFull(x.GoPointer(), YearsVar, MonthsVar, DaysVar, HoursVar, MinutesVar, SecondsVar)359 cret := xDateTimeAddFull(x.GoPointer(), YearsVar, MonthsVar, DaysVar, HoursVar, MinutesVar, SecondsVar)
360+
345 return cret361 return cret
346 }362 }
347 363
@@ -352,6 +368,7 @@ var xDateTimeAddHours func(uintptr, int) *DateTime
352 func (x *DateTime) AddHours(HoursVar int) *DateTime {368 func (x *DateTime) AddHours(HoursVar int) *DateTime {
353 369
354 cret := xDateTimeAddHours(x.GoPointer(), HoursVar)370 cret := xDateTimeAddHours(x.GoPointer(), HoursVar)
371+
355 return cret372 return cret
356 }373 }
357 374
@@ -362,6 +379,7 @@ var xDateTimeAddMinutes func(uintptr, int) *DateTime
362 func (x *DateTime) AddMinutes(MinutesVar int) *DateTime {379 func (x *DateTime) AddMinutes(MinutesVar int) *DateTime {
363 380
364 cret := xDateTimeAddMinutes(x.GoPointer(), MinutesVar)381 cret := xDateTimeAddMinutes(x.GoPointer(), MinutesVar)
382+
365 return cret383 return cret
366 }384 }
367 385
@@ -377,6 +395,7 @@ var xDateTimeAddMonths func(uintptr, int) *DateTime
377 func (x *DateTime) AddMonths(MonthsVar int) *DateTime {395 func (x *DateTime) AddMonths(MonthsVar int) *DateTime {
378 396
379 cret := xDateTimeAddMonths(x.GoPointer(), MonthsVar)397 cret := xDateTimeAddMonths(x.GoPointer(), MonthsVar)
398+
380 return cret399 return cret
381 }400 }
382 401
@@ -387,6 +406,7 @@ var xDateTimeAddSeconds func(uintptr, float64) *DateTime
387 func (x *DateTime) AddSeconds(SecondsVar float64) *DateTime {406 func (x *DateTime) AddSeconds(SecondsVar float64) *DateTime {
388 407
389 cret := xDateTimeAddSeconds(x.GoPointer(), SecondsVar)408 cret := xDateTimeAddSeconds(x.GoPointer(), SecondsVar)
409+
390 return cret410 return cret
391 }411 }
392 412
@@ -397,6 +417,7 @@ var xDateTimeAddWeeks func(uintptr, int) *DateTime
397 func (x *DateTime) AddWeeks(WeeksVar int) *DateTime {417 func (x *DateTime) AddWeeks(WeeksVar int) *DateTime {
398 418
399 cret := xDateTimeAddWeeks(x.GoPointer(), WeeksVar)419 cret := xDateTimeAddWeeks(x.GoPointer(), WeeksVar)
420+
400 return cret421 return cret
401 }422 }
402 423
@@ -410,6 +431,7 @@ var xDateTimeAddYears func(uintptr, int) *DateTime
410 func (x *DateTime) AddYears(YearsVar int) *DateTime {431 func (x *DateTime) AddYears(YearsVar int) *DateTime {
411 432
412 cret := xDateTimeAddYears(x.GoPointer(), YearsVar)433 cret := xDateTimeAddYears(x.GoPointer(), YearsVar)
434+
413 return cret435 return cret
414 }436 }
415 437
@@ -420,6 +442,7 @@ var xDateTimeCompare func(uintptr, uintptr) int
420 func (x *DateTime) Compare(Dt2Var uintptr) int {442 func (x *DateTime) Compare(Dt2Var uintptr) int {
421 443
422 cret := xDateTimeCompare(x.GoPointer(), Dt2Var)444 cret := xDateTimeCompare(x.GoPointer(), Dt2Var)
445+
423 return cret446 return cret
424 }447 }
425 448
@@ -431,6 +454,7 @@ var xDateTimeDifference func(uintptr, *DateTime) TimeSpan
431 func (x *DateTime) Difference(BeginVar *DateTime) TimeSpan {454 func (x *DateTime) Difference(BeginVar *DateTime) TimeSpan {
432 455
433 cret := xDateTimeDifference(x.GoPointer(), BeginVar)456 cret := xDateTimeDifference(x.GoPointer(), BeginVar)
457+
434 return cret458 return cret
435 }459 }
436 460
@@ -443,6 +467,7 @@ var xDateTimeEqual func(uintptr, uintptr) bool
443 func (x *DateTime) Equal(Dt2Var uintptr) bool {467 func (x *DateTime) Equal(Dt2Var uintptr) bool {
444 468
445 cret := xDateTimeEqual(x.GoPointer(), Dt2Var)469 cret := xDateTimeEqual(x.GoPointer(), Dt2Var)
470+
446 return cret471 return cret
447 }472 }
448 473
@@ -575,6 +600,7 @@ var xDateTimeFormat func(uintptr, string) string
575 func (x *DateTime) Format(FormatVar string) string {600 func (x *DateTime) Format(FormatVar string) string {
576 601
577 cret := xDateTimeFormat(x.GoPointer(), FormatVar)602 cret := xDateTimeFormat(x.GoPointer(), FormatVar)
603+
578 return cret604 return cret
579 }605 }
580 606
@@ -588,6 +614,7 @@ var xDateTimeFormatIso8601 func(uintptr) string
588 func (x *DateTime) FormatIso8601() string {614 func (x *DateTime) FormatIso8601() string {
589 615
590 cret := xDateTimeFormatIso8601(x.GoPointer())616 cret := xDateTimeFormatIso8601(x.GoPointer())
617+
591 return cret618 return cret
592 }619 }
593 620
@@ -598,6 +625,7 @@ var xDateTimeGetDayOfMonth func(uintptr) int
598 func (x *DateTime) GetDayOfMonth() int {625 func (x *DateTime) GetDayOfMonth() int {
599 626
600 cret := xDateTimeGetDayOfMonth(x.GoPointer())627 cret := xDateTimeGetDayOfMonth(x.GoPointer())
628+
601 return cret629 return cret
602 }630 }
603 631
@@ -608,6 +636,7 @@ var xDateTimeGetDayOfWeek func(uintptr) int
608 func (x *DateTime) GetDayOfWeek() int {636 func (x *DateTime) GetDayOfWeek() int {
609 637
610 cret := xDateTimeGetDayOfWeek(x.GoPointer())638 cret := xDateTimeGetDayOfWeek(x.GoPointer())
639+
611 return cret640 return cret
612 }641 }
613 642
@@ -618,6 +647,7 @@ var xDateTimeGetDayOfYear func(uintptr) int
618 func (x *DateTime) GetDayOfYear() int {647 func (x *DateTime) GetDayOfYear() int {
619 648
620 cret := xDateTimeGetDayOfYear(x.GoPointer())649 cret := xDateTimeGetDayOfYear(x.GoPointer())
650+
621 return cret651 return cret
622 }652 }
623 653
@@ -627,6 +657,7 @@ var xDateTimeGetHour func(uintptr) int
627 func (x *DateTime) GetHour() int {657 func (x *DateTime) GetHour() int {
628 658
629 cret := xDateTimeGetHour(x.GoPointer())659 cret := xDateTimeGetHour(x.GoPointer())
660+
630 return cret661 return cret
631 }662 }
632 663
@@ -636,6 +667,7 @@ var xDateTimeGetMicrosecond func(uintptr) int
636 func (x *DateTime) GetMicrosecond() int {667 func (x *DateTime) GetMicrosecond() int {
637 668
638 cret := xDateTimeGetMicrosecond(x.GoPointer())669 cret := xDateTimeGetMicrosecond(x.GoPointer())
670+
639 return cret671 return cret
640 }672 }
641 673
@@ -645,6 +677,7 @@ var xDateTimeGetMinute func(uintptr) int
645 func (x *DateTime) GetMinute() int {677 func (x *DateTime) GetMinute() int {
646 678
647 cret := xDateTimeGetMinute(x.GoPointer())679 cret := xDateTimeGetMinute(x.GoPointer())
680+
648 return cret681 return cret
649 }682 }
650 683
@@ -655,6 +688,7 @@ var xDateTimeGetMonth func(uintptr) int
655 func (x *DateTime) GetMonth() int {688 func (x *DateTime) GetMonth() int {
656 689
657 cret := xDateTimeGetMonth(x.GoPointer())690 cret := xDateTimeGetMonth(x.GoPointer())
691+
658 return cret692 return cret
659 }693 }
660 694
@@ -664,6 +698,7 @@ var xDateTimeGetSecond func(uintptr) int
664 func (x *DateTime) GetSecond() int {698 func (x *DateTime) GetSecond() int {
665 699
666 cret := xDateTimeGetSecond(x.GoPointer())700 cret := xDateTimeGetSecond(x.GoPointer())
701+
667 return cret702 return cret
668 }703 }
669 704
@@ -674,6 +709,7 @@ var xDateTimeGetSeconds func(uintptr) float64
674 func (x *DateTime) GetSeconds() float64 {709 func (x *DateTime) GetSeconds() float64 {
675 710
676 cret := xDateTimeGetSeconds(x.GoPointer())711 cret := xDateTimeGetSeconds(x.GoPointer())
712+
677 return cret713 return cret
678 }714 }
679 715
@@ -683,6 +719,7 @@ var xDateTimeGetTimezone func(uintptr) *TimeZone
683 func (x *DateTime) GetTimezone() *TimeZone {719 func (x *DateTime) GetTimezone() *TimeZone {
684 720
685 cret := xDateTimeGetTimezone(x.GoPointer())721 cret := xDateTimeGetTimezone(x.GoPointer())
722+
686 return cret723 return cret
687 }724 }
688 725
@@ -697,6 +734,7 @@ var xDateTimeGetTimezoneAbbreviation func(uintptr) string
697 func (x *DateTime) GetTimezoneAbbreviation() string {734 func (x *DateTime) GetTimezoneAbbreviation() string {
698 735
699 cret := xDateTimeGetTimezoneAbbreviation(x.GoPointer())736 cret := xDateTimeGetTimezoneAbbreviation(x.GoPointer())
737+
700 return cret738 return cret
701 }739 }
702 740
@@ -713,6 +751,7 @@ var xDateTimeGetUtcOffset func(uintptr) TimeSpan
713 func (x *DateTime) GetUtcOffset() TimeSpan {751 func (x *DateTime) GetUtcOffset() TimeSpan {
714 752
715 cret := xDateTimeGetUtcOffset(x.GoPointer())753 cret := xDateTimeGetUtcOffset(x.GoPointer())
754+
716 return cret755 return cret
717 }756 }
718 757
@@ -752,6 +791,7 @@ var xDateTimeGetWeekNumberingYear func(uintptr) int
752 func (x *DateTime) GetWeekNumberingYear() int {791 func (x *DateTime) GetWeekNumberingYear() int {
753 792
754 cret := xDateTimeGetWeekNumberingYear(x.GoPointer())793 cret := xDateTimeGetWeekNumberingYear(x.GoPointer())
794+
755 return cret795 return cret
756 }796 }
757 797
@@ -775,6 +815,7 @@ var xDateTimeGetWeekOfYear func(uintptr) int
775 func (x *DateTime) GetWeekOfYear() int {815 func (x *DateTime) GetWeekOfYear() int {
776 816
777 cret := xDateTimeGetWeekOfYear(x.GoPointer())817 cret := xDateTimeGetWeekOfYear(x.GoPointer())
818+
778 return cret819 return cret
779 }820 }
780 821
@@ -784,6 +825,7 @@ var xDateTimeGetYear func(uintptr) int
784 func (x *DateTime) GetYear() int {825 func (x *DateTime) GetYear() int {
785 826
786 cret := xDateTimeGetYear(x.GoPointer())827 cret := xDateTimeGetYear(x.GoPointer())
828+
787 return cret829 return cret
788 }830 }
789 831
@@ -802,6 +844,7 @@ var xDateTimeHash func(uintptr) uint
802 func (x *DateTime) Hash() uint {844 func (x *DateTime) Hash() uint {
803 845
804 cret := xDateTimeHash(x.GoPointer())846 cret := xDateTimeHash(x.GoPointer())
847+
805 return cret848 return cret
806 }849 }
807 850
@@ -812,6 +855,7 @@ var xDateTimeIsDaylightSavings func(uintptr) bool
812 func (x *DateTime) IsDaylightSavings() bool {855 func (x *DateTime) IsDaylightSavings() bool {
813 856
814 cret := xDateTimeIsDaylightSavings(x.GoPointer())857 cret := xDateTimeIsDaylightSavings(x.GoPointer())
858+
815 return cret859 return cret
816 }860 }
817 861
@@ -821,6 +865,7 @@ var xDateTimeRef func(uintptr) *DateTime
821 func (x *DateTime) Ref() *DateTime {865 func (x *DateTime) Ref() *DateTime {
822 866
823 cret := xDateTimeRef(x.GoPointer())867 cret := xDateTimeRef(x.GoPointer())
868+
824 return cret869 return cret
825 }870 }
826 871
@@ -834,6 +879,7 @@ var xDateTimeToLocal func(uintptr) *DateTime
834 func (x *DateTime) ToLocal() *DateTime {879 func (x *DateTime) ToLocal() *DateTime {
835 880
836 cret := xDateTimeToLocal(x.GoPointer())881 cret := xDateTimeToLocal(x.GoPointer())
882+
837 return cret883 return cret
838 }884 }
839 885
@@ -855,6 +901,7 @@ var xDateTimeToTimeval func(uintptr, *TimeVal) bool
855 func (x *DateTime) ToTimeval(TvVar *TimeVal) bool {901 func (x *DateTime) ToTimeval(TvVar *TimeVal) bool {
856 902
857 cret := xDateTimeToTimeval(x.GoPointer(), TvVar)903 cret := xDateTimeToTimeval(x.GoPointer(), TvVar)
904+
858 return cret905 return cret
859 }906 }
860 907
@@ -869,6 +916,7 @@ var xDateTimeToTimezone func(uintptr, *TimeZone) *DateTime
869 func (x *DateTime) ToTimezone(TzVar *TimeZone) *DateTime {916 func (x *DateTime) ToTimezone(TzVar *TimeZone) *DateTime {
870 917
871 cret := xDateTimeToTimezone(x.GoPointer(), TzVar)918 cret := xDateTimeToTimezone(x.GoPointer(), TzVar)
919+
872 return cret920 return cret
873 }921 }
874 922
@@ -882,6 +930,7 @@ var xDateTimeToUnix func(uintptr) int64
882 func (x *DateTime) ToUnix() int64 {930 func (x *DateTime) ToUnix() int64 {
883 931
884 cret := xDateTimeToUnix(x.GoPointer())932 cret := xDateTimeToUnix(x.GoPointer())
933+
885 return cret934 return cret
886 }935 }
887 936
@@ -894,6 +943,7 @@ var xDateTimeToUnixUsec func(uintptr) int64
894 func (x *DateTime) ToUnixUsec() int64 {943 func (x *DateTime) ToUnixUsec() int64 {
895 944
896 cret := xDateTimeToUnixUsec(x.GoPointer())945 cret := xDateTimeToUnixUsec(x.GoPointer())
946+
897 return cret947 return cret
898 }948 }
899 949
@@ -907,6 +957,7 @@ var xDateTimeToUtc func(uintptr) *DateTime
907 func (x *DateTime) ToUtc() *DateTime {957 func (x *DateTime) ToUtc() *DateTime {
908 958
909 cret := xDateTimeToUtc(x.GoPointer())959 cret := xDateTimeToUtc(x.GoPointer())
960+
910 return cret961 return cret
911 }962 }
912 963
M v4/glib/gdir.go +3 -0
@@ -34,6 +34,7 @@ func DirOpen(PathVar string, FlagsVar uint) (*Dir, error) {
34 var cerr *Error34 var cerr *Error
35 35
36 cret := xDirOpen(PathVar, FlagsVar, &cerr)36 cret := xDirOpen(PathVar, FlagsVar, &cerr)
37+
37 if cerr == nil {38 if cerr == nil {
38 return cret, nil39 return cret, nil
39 }40 }
@@ -75,6 +76,7 @@ var xDirReadName func(uintptr) string
75 func (x *Dir) ReadName() string {76 func (x *Dir) ReadName() string {
76 77
77 cret := xDirReadName(x.GoPointer())78 cret := xDirReadName(x.GoPointer())
79+
78 return cret80 return cret
79 }81 }
80 82
@@ -84,6 +86,7 @@ var xDirRef func(uintptr) *Dir
84 func (x *Dir) Ref() *Dir {86 func (x *Dir) Ref() *Dir {
85 87
86 cret := xDirRef(x.GoPointer())88 cret := xDirRef(x.GoPointer())
89+
87 return cret90 return cret
88 }91 }
89 92
M v4/glib/genviron.go +7 -0
@@ -13,6 +13,7 @@ var xEnvironGetenv func([]string, string) string
13 func EnvironGetenv(EnvpVar []string, VariableVar string) string {13 func EnvironGetenv(EnvpVar []string, VariableVar string) string {
14 14
15 cret := xEnvironGetenv(EnvpVar, VariableVar)15 cret := xEnvironGetenv(EnvpVar, VariableVar)
16+
16 return cret17 return cret
17 }18 }
18 19
@@ -23,6 +24,7 @@ var xEnvironSetenv func([]string, string, string, bool) []string
23 func EnvironSetenv(EnvpVar []string, VariableVar string, ValueVar string, OverwriteVar bool) []string {24 func EnvironSetenv(EnvpVar []string, VariableVar string, ValueVar string, OverwriteVar bool) []string {
24 25
25 cret := xEnvironSetenv(EnvpVar, VariableVar, ValueVar, OverwriteVar)26 cret := xEnvironSetenv(EnvpVar, VariableVar, ValueVar, OverwriteVar)
27+
26 return cret28 return cret
27 }29 }
28 30
@@ -33,6 +35,7 @@ var xEnvironUnsetenv func([]string, string) []string
33 func EnvironUnsetenv(EnvpVar []string, VariableVar string) []string {35 func EnvironUnsetenv(EnvpVar []string, VariableVar string) []string {
34 36
35 cret := xEnvironUnsetenv(EnvpVar, VariableVar)37 cret := xEnvironUnsetenv(EnvpVar, VariableVar)
38+
36 return cret39 return cret
37 }40 }
38 41
@@ -51,6 +54,7 @@ var xGetEnviron func() []string
51 func GetEnviron() []string {54 func GetEnviron() []string {
52 55
53 cret := xGetEnviron()56 cret := xGetEnviron()
57+
54 return cret58 return cret
55 }59 }
56 60
@@ -66,6 +70,7 @@ var xGetenv func(string) string
66 func Getenv(VariableVar string) string {70 func Getenv(VariableVar string) string {
67 71
68 cret := xGetenv(VariableVar)72 cret := xGetenv(VariableVar)
73+
69 return cret74 return cret
70 }75 }
71 76
@@ -82,6 +87,7 @@ var xListenv func() []string
82 func Listenv() []string {87 func Listenv() []string {
83 88
84 cret := xListenv()89 cret := xListenv()
90+
85 return cret91 return cret
86 }92 }
87 93
@@ -109,6 +115,7 @@ var xSetenv func(string, string, bool) bool
109 func Setenv(VariableVar string, ValueVar string, OverwriteVar bool) bool {115 func Setenv(VariableVar string, ValueVar string, OverwriteVar bool) bool {
110 116
111 cret := xSetenv(VariableVar, ValueVar, OverwriteVar)117 cret := xSetenv(VariableVar, ValueVar, OverwriteVar)
118+
112 return cret119 return cret
113 }120 }
114 121
M v4/glib/gerror.go +8 -0
@@ -66,6 +66,7 @@ var xNewError func(Quark, int, string, ...interface{}) *Error
66 func NewError(DomainVar Quark, CodeVar int, FormatVar string, varArgs ...interface{}) *Error {66 func NewError(DomainVar Quark, CodeVar int, FormatVar string, varArgs ...interface{}) *Error {
67 67
68 cret := xNewError(DomainVar, CodeVar, FormatVar, varArgs...)68 cret := xNewError(DomainVar, CodeVar, FormatVar, varArgs...)
69+
69 return cret70 return cret
70 }71 }
71 72
@@ -78,6 +79,7 @@ var xNewErrorLiteral func(Quark, int, string) *Error
78 func NewErrorLiteral(DomainVar Quark, CodeVar int, MessageVar string) *Error {79 func NewErrorLiteral(DomainVar Quark, CodeVar int, MessageVar string) *Error {
79 80
80 cret := xNewErrorLiteral(DomainVar, CodeVar, MessageVar)81 cret := xNewErrorLiteral(DomainVar, CodeVar, MessageVar)
82+
81 return cret83 return cret
82 }84 }
83 85
@@ -88,6 +90,7 @@ var xNewErrorValist func(Quark, int, string, []interface{}) *Error
88 func NewErrorValist(DomainVar Quark, CodeVar int, FormatVar string, ArgsVar []interface{}) *Error {90 func NewErrorValist(DomainVar Quark, CodeVar int, FormatVar string, ArgsVar []interface{}) *Error {
89 91
90 cret := xNewErrorValist(DomainVar, CodeVar, FormatVar, ArgsVar)92 cret := xNewErrorValist(DomainVar, CodeVar, FormatVar, ArgsVar)
93+
91 return cret94 return cret
92 }95 }
93 96
@@ -97,6 +100,7 @@ var xErrorCopy func(uintptr) *Error
97 func (x *Error) Copy() *Error {100 func (x *Error) Copy() *Error {
98 101
99 cret := xErrorCopy(x.GoPointer())102 cret := xErrorCopy(x.GoPointer())
103+
100 return cret104 return cret
101 }105 }
102 106
@@ -124,6 +128,7 @@ var xErrorMatches func(uintptr, Quark, int) bool
124 func (x *Error) Matches(DomainVar Quark, CodeVar int) bool {128 func (x *Error) Matches(DomainVar Quark, CodeVar int) bool {
125 129
126 cret := xErrorMatches(x.GoPointer(), DomainVar, CodeVar)130 cret := xErrorMatches(x.GoPointer(), DomainVar, CodeVar)
131+
127 return cret132 return cret
128 }133 }
129 134
@@ -135,6 +140,7 @@ func ClearError() error {
135 var cerr *Error140 var cerr *Error
136 141
137 xClearError()142 xClearError()
143+
138 if cerr == nil {144 if cerr == nil {
139 return nil145 return nil
140 }146 }
@@ -195,6 +201,7 @@ func ErrorDomainRegister(ErrorTypeNameVar string, ErrorTypePrivateSizeVar uint,
195 }201 }
196 202
197 cret := xErrorDomainRegister(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef)203 cret := xErrorDomainRegister(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef)
204+
198 return cret205 return cret
199 }206 }
200 207
@@ -265,6 +272,7 @@ func ErrorDomainRegisterStatic(ErrorTypeNameVar string, ErrorTypePrivateSizeVar
265 }272 }
266 273
267 cret := xErrorDomainRegisterStatic(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef)274 cret := xErrorDomainRegisterStatic(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef)
275+
268 return cret276 return cret
269 }277 }
270 278
M v4/glib/gfileutils.go +42 -3
@@ -2,6 +2,8 @@
2 package glib2 package glib
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 )9 )
@@ -172,6 +174,7 @@ var xBasename func(string) string
172 func Basename(FileNameVar string) string {174 func Basename(FileNameVar string) string {
173 175
174 cret := xBasename(FileNameVar)176 cret := xBasename(FileNameVar)
177+
175 return cret178 return cret
176 }179 }
177 180
@@ -198,6 +201,7 @@ var xBuildFilename func(string, ...interface{}) string
198 func BuildFilename(FirstElementVar string, varArgs ...interface{}) string {201 func BuildFilename(FirstElementVar string, varArgs ...interface{}) string {
199 202
200 cret := xBuildFilename(FirstElementVar, varArgs...)203 cret := xBuildFilename(FirstElementVar, varArgs...)
204+
201 return cret205 return cret
202 }206 }
203 207
@@ -214,6 +218,7 @@ var xBuildFilenameValist func(string, []interface{}) string
214 func BuildFilenameValist(FirstElementVar string, ArgsVar []interface{}) string {218 func BuildFilenameValist(FirstElementVar string, ArgsVar []interface{}) string {
215 219
216 cret := xBuildFilenameValist(FirstElementVar, ArgsVar)220 cret := xBuildFilenameValist(FirstElementVar, ArgsVar)
221+
217 return cret222 return cret
218 }223 }
219 224
@@ -231,6 +236,7 @@ var xBuildFilenamev func([]string) string
231 func BuildFilenamev(ArgsVar []string) string {236 func BuildFilenamev(ArgsVar []string) string {
232 237
233 cret := xBuildFilenamev(ArgsVar)238 cret := xBuildFilenamev(ArgsVar)
239+
234 return cret240 return cret
235 }241 }
236 242
@@ -267,6 +273,7 @@ var xBuildPath func(string, string, ...interface{}) string
267 func BuildPath(SeparatorVar string, FirstElementVar string, varArgs ...interface{}) string {273 func BuildPath(SeparatorVar string, FirstElementVar string, varArgs ...interface{}) string {
268 274
269 cret := xBuildPath(SeparatorVar, FirstElementVar, varArgs...)275 cret := xBuildPath(SeparatorVar, FirstElementVar, varArgs...)
276+
270 return cret277 return cret
271 }278 }
272 279
@@ -279,6 +286,7 @@ var xBuildPathv func(string, []string) string
279 func BuildPathv(SeparatorVar string, ArgsVar []string) string {286 func BuildPathv(SeparatorVar string, ArgsVar []string) string {
280 287
281 cret := xBuildPathv(SeparatorVar, ArgsVar)288 cret := xBuildPathv(SeparatorVar, ArgsVar)
289+
282 return cret290 return cret
283 }291 }
284 292
@@ -300,7 +308,12 @@ var xCanonicalizeFilename func(string, uintptr) string
300 // No file system I/O is done.308 // No file system I/O is done.
301 func CanonicalizeFilename(FilenameVar string, RelativeToVar *string) string {309 func CanonicalizeFilename(FilenameVar string, RelativeToVar *string) string {
302 310
303- cret := xCanonicalizeFilename(FilenameVar, core.NullableStringToPtr(RelativeToVar))311+ RelativeToVarPtr, RelativeToVarBytes := core.NullableStringToPtr(RelativeToVar)
312+
313+ cret := xCanonicalizeFilename(FilenameVar, RelativeToVarPtr)
314+
315+ runtime.KeepAlive(RelativeToVarBytes)
316+
304 return cret317 return cret
305 }318 }
306 319
@@ -320,7 +333,12 @@ var xDirMakeTmp func(uintptr, **Error) string
320 func DirMakeTmp(TmplVar *string) (string, error) {333 func DirMakeTmp(TmplVar *string) (string, error) {
321 var cerr *Error334 var cerr *Error
322 335
323- cret := xDirMakeTmp(core.NullableStringToPtr(TmplVar), &cerr)336+ TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)
337+
338+ cret := xDirMakeTmp(TmplVarPtr, &cerr)
339+
340+ runtime.KeepAlive(TmplVarBytes)
341+
324 if cerr == nil {342 if cerr == nil {
325 return cret, nil343 return cret, nil
326 }344 }
@@ -342,6 +360,7 @@ var xFileErrorFromErrno func(int) FileError
342 func FileErrorFromErrno(ErrNoVar int) FileError {360 func FileErrorFromErrno(ErrNoVar int) FileError {
343 361
344 cret := xFileErrorFromErrno(ErrNoVar)362 cret := xFileErrorFromErrno(ErrNoVar)
363+
345 return cret364 return cret
346 }365 }
347 366
@@ -361,6 +380,7 @@ func FileGetContents(FilenameVar string, ContentsVar *[]byte, LengthVar *uint) (
361 var cerr *Error380 var cerr *Error
362 381
363 cret := xFileGetContents(FilenameVar, ContentsVar, LengthVar, &cerr)382 cret := xFileGetContents(FilenameVar, ContentsVar, LengthVar, &cerr)
383+
364 if cerr == nil {384 if cerr == nil {
365 return cret, nil385 return cret, nil
366 }386 }
@@ -389,7 +409,12 @@ var xFileOpenTmp func(uintptr, *string, **Error) int
389 func FileOpenTmp(TmplVar *string, NameUsedVar *string) (int, error) {409 func FileOpenTmp(TmplVar *string, NameUsedVar *string) (int, error) {
390 var cerr *Error410 var cerr *Error
391 411
392- cret := xFileOpenTmp(core.NullableStringToPtr(TmplVar), NameUsedVar, &cerr)412+ TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)
413+
414+ cret := xFileOpenTmp(TmplVarPtr, NameUsedVar, &cerr)
415+
416+ runtime.KeepAlive(TmplVarBytes)
417+
393 if cerr == nil {418 if cerr == nil {
394 return cret, nil419 return cret, nil
395 }420 }
@@ -429,6 +454,7 @@ func FileReadLink(FilenameVar string) (string, error) {
429 var cerr *Error454 var cerr *Error
430 455
431 cret := xFileReadLink(FilenameVar, &cerr)456 cret := xFileReadLink(FilenameVar, &cerr)
457+
432 if cerr == nil {458 if cerr == nil {
433 return cret, nil459 return cret, nil
434 }460 }
@@ -446,6 +472,7 @@ func FileSetContents(FilenameVar string, ContentsVar []byte, LengthVar int) (boo
446 var cerr *Error472 var cerr *Error
447 473
448 cret := xFileSetContents(FilenameVar, ContentsVar, LengthVar, &cerr)474 cret := xFileSetContents(FilenameVar, ContentsVar, LengthVar, &cerr)
475+
449 if cerr == nil {476 if cerr == nil {
450 return cret, nil477 return cret, nil
451 }478 }
@@ -513,6 +540,7 @@ func FileSetContentsFull(FilenameVar string, ContentsVar []byte, LengthVar int,
513 var cerr *Error540 var cerr *Error
514 541
515 cret := xFileSetContentsFull(FilenameVar, ContentsVar, LengthVar, FlagsVar, ModeVar, &cerr)542 cret := xFileSetContentsFull(FilenameVar, ContentsVar, LengthVar, FlagsVar, ModeVar, &cerr)
543+
516 if cerr == nil {544 if cerr == nil {
517 return cret, nil545 return cret, nil
518 }546 }
@@ -586,6 +614,7 @@ var xNewFileTest func(string, FileTest) bool
586 func NewFileTest(FilenameVar string, TestVar FileTest) bool {614 func NewFileTest(FilenameVar string, TestVar FileTest) bool {
587 615
588 cret := xNewFileTest(FilenameVar, TestVar)616 cret := xNewFileTest(FilenameVar, TestVar)
617+
589 return cret618 return cret
590 }619 }
591 620
@@ -604,6 +633,7 @@ var xGetCurrentDir func() string
604 func GetCurrentDir() string {633 func GetCurrentDir() string {
605 634
606 cret := xGetCurrentDir()635 cret := xGetCurrentDir()
636+
607 return cret637 return cret
608 }638 }
609 639
@@ -614,6 +644,7 @@ var xMkdirWithParents func(string, int) int
614 func MkdirWithParents(PathnameVar string, ModeVar int) int {644 func MkdirWithParents(PathnameVar string, ModeVar int) int {
615 645
616 cret := xMkdirWithParents(PathnameVar, ModeVar)646 cret := xMkdirWithParents(PathnameVar, ModeVar)
647+
617 return cret648 return cret
618 }649 }
619 650
@@ -638,6 +669,7 @@ var xMkdtemp func(string) string
638 func Mkdtemp(TmplVar string) string {669 func Mkdtemp(TmplVar string) string {
639 670
640 cret := xMkdtemp(TmplVar)671 cret := xMkdtemp(TmplVar)
672+
641 return cret673 return cret
642 }674 }
643 675
@@ -662,6 +694,7 @@ var xMkdtempFull func(string, int) string
662 func MkdtempFull(TmplVar string, ModeVar int) string {694 func MkdtempFull(TmplVar string, ModeVar int) string {
663 695
664 cret := xMkdtempFull(TmplVar, ModeVar)696 cret := xMkdtempFull(TmplVar, ModeVar)
697+
665 return cret698 return cret
666 }699 }
667 700
@@ -681,6 +714,7 @@ var xMkstemp func(string) int
681 func Mkstemp(TmplVar string) int {714 func Mkstemp(TmplVar string) int {
682 715
683 cret := xMkstemp(TmplVar)716 cret := xMkstemp(TmplVar)
717+
684 return cret718 return cret
685 }719 }
686 720
@@ -701,6 +735,7 @@ var xMkstempFull func(string, int, int) int
701 func MkstempFull(TmplVar string, FlagsVar int, ModeVar int) int {735 func MkstempFull(TmplVar string, FlagsVar int, ModeVar int) int {
702 736
703 cret := xMkstempFull(TmplVar, FlagsVar, ModeVar)737 cret := xMkstempFull(TmplVar, FlagsVar, ModeVar)
738+
704 return cret739 return cret
705 }740 }
706 741
@@ -715,6 +750,7 @@ var xPathGetBasename func(string) string
715 func PathGetBasename(FileNameVar string) string {750 func PathGetBasename(FileNameVar string) string {
716 751
717 cret := xPathGetBasename(FileNameVar)752 cret := xPathGetBasename(FileNameVar)
753+
718 return cret754 return cret
719 }755 }
720 756
@@ -729,6 +765,7 @@ var xPathGetDirname func(string) string
729 func PathGetDirname(FileNameVar string) string {765 func PathGetDirname(FileNameVar string) string {
730 766
731 cret := xPathGetDirname(FileNameVar)767 cret := xPathGetDirname(FileNameVar)
768+
732 return cret769 return cret
733 }770 }
734 771
@@ -761,6 +798,7 @@ var xPathIsAbsolute func(string) bool
761 func PathIsAbsolute(FileNameVar string) bool {798 func PathIsAbsolute(FileNameVar string) bool {
762 799
763 cret := xPathIsAbsolute(FileNameVar)800 cret := xPathIsAbsolute(FileNameVar)
801+
764 return cret802 return cret
765 }803 }
766 804
@@ -772,6 +810,7 @@ var xPathSkipRoot func(string) string
772 func PathSkipRoot(FileNameVar string) string {810 func PathSkipRoot(FileNameVar string) string {
773 811
774 cret := xPathSkipRoot(FileNameVar)812 cret := xPathSkipRoot(FileNameVar)
813+
775 return cret814 return cret
776 }815 }
777 816
M v4/glib/ggettext.go +33 -5
@@ -2,6 +2,8 @@
2 package glib2 package glib
3 3
4 import (4 import (
5+ "runtime"
6+
5 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
6 "github.com/jwijenbergh/puregotk/pkg/core"8 "github.com/jwijenbergh/puregotk/pkg/core"
7 )9 )
@@ -14,7 +16,12 @@ var xDcgettext func(uintptr, string, int) string
14 // dcgettext() directly.16 // dcgettext() directly.
15 func Dcgettext(DomainVar *string, MsgidVar string, CategoryVar int) string {17 func Dcgettext(DomainVar *string, MsgidVar string, CategoryVar int) string {
16 18
17- cret := xDcgettext(core.NullableStringToPtr(DomainVar), MsgidVar, CategoryVar)19+ DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)
20+
21+ cret := xDcgettext(DomainVarPtr, MsgidVar, CategoryVar)
22+
23+ runtime.KeepAlive(DomainVarBytes)
24+
18 return cret25 return cret
19 }26 }
20 27
@@ -54,7 +61,12 @@ var xDgettext func(uintptr, string) string
54 // but use the _() macro for translations.61 // but use the _() macro for translations.
55 func Dgettext(DomainVar *string, MsgidVar string) string {62 func Dgettext(DomainVar *string, MsgidVar string) string {
56 63
57- cret := xDgettext(core.NullableStringToPtr(DomainVar), MsgidVar)64+ DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)
65+
66+ cret := xDgettext(DomainVarPtr, MsgidVar)
67+
68+ runtime.KeepAlive(DomainVarBytes)
69+
58 return cret70 return cret
59 }71 }
60 72
@@ -68,7 +80,12 @@ var xDngettext func(uintptr, string, string, uint32) string
68 // proper.80 // proper.
69 func Dngettext(DomainVar *string, MsgidVar string, MsgidPluralVar string, NVar uint32) string {81 func Dngettext(DomainVar *string, MsgidVar string, MsgidPluralVar string, NVar uint32) string {
70 82
71- cret := xDngettext(core.NullableStringToPtr(DomainVar), MsgidVar, MsgidPluralVar, NVar)83+ DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)
84+
85+ cret := xDngettext(DomainVarPtr, MsgidVar, MsgidPluralVar, NVar)
86+
87+ runtime.KeepAlive(DomainVarBytes)
88+
72 return cret89 return cret
73 }90 }
74 91
@@ -89,7 +106,12 @@ var xDpgettext func(uintptr, string, uint) string
89 // but use the C_() macro for translations with context.106 // but use the C_() macro for translations with context.
90 func Dpgettext(DomainVar *string, MsgctxtidVar string, MsgidoffsetVar uint) string {107 func Dpgettext(DomainVar *string, MsgctxtidVar string, MsgidoffsetVar uint) string {
91 108
92- cret := xDpgettext(core.NullableStringToPtr(DomainVar), MsgctxtidVar, MsgidoffsetVar)109+ DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)
110+
111+ cret := xDpgettext(DomainVarPtr, MsgctxtidVar, MsgidoffsetVar)
112+
113+ runtime.KeepAlive(DomainVarBytes)
114+
93 return cret115 return cret
94 }116 }
95 117
@@ -107,7 +129,12 @@ var xDpgettext2 func(uintptr, string, string) string
107 // thus you may use non-string-literals as context and msgid arguments.129 // thus you may use non-string-literals as context and msgid arguments.
108 func Dpgettext2(DomainVar *string, ContextVar string, MsgidVar string) string {130 func Dpgettext2(DomainVar *string, ContextVar string, MsgidVar string) string {
109 131
110- cret := xDpgettext2(core.NullableStringToPtr(DomainVar), ContextVar, MsgidVar)132+ DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)
133+
134+ cret := xDpgettext2(DomainVarPtr, ContextVar, MsgidVar)
135+
136+ runtime.KeepAlive(DomainVarBytes)
137+
111 return cret138 return cret
112 }139 }
113 140
@@ -117,6 +144,7 @@ var xStripContext func(string, string) string
117 func StripContext(MsgidVar string, MsgvalVar string) string {144 func StripContext(MsgidVar string, MsgvalVar string) string {
118 145
119 cret := xStripContext(MsgidVar, MsgvalVar)146 cret := xStripContext(MsgidVar, MsgvalVar)
147+
120 return cret148 return cret
121 }149 }
122 150
M v4/glib/ghash.go +31 -0
@@ -72,6 +72,7 @@ var xHashTableIterGetHashTable func(uintptr) *HashTable
72 func (x *HashTableIter) GetHashTable() *HashTable {72 func (x *HashTableIter) GetHashTable() *HashTable {
73 73
74 cret := xHashTableIterGetHashTable(x.GoPointer())74 cret := xHashTableIterGetHashTable(x.GoPointer())
75+
75 return cret76 return cret
76 }77 }
77 78
@@ -110,6 +111,7 @@ var xHashTableIterNext func(uintptr, *uintptr, *uintptr) bool
110 func (x *HashTableIter) Next(KeyVar *uintptr, ValueVar *uintptr) bool {111 func (x *HashTableIter) Next(KeyVar *uintptr, ValueVar *uintptr) bool {
111 112
112 cret := xHashTableIterNext(x.GoPointer(), KeyVar, ValueVar)113 cret := xHashTableIterNext(x.GoPointer(), KeyVar, ValueVar)
114+
113 return cret115 return cret
114 }116 }
115 117
@@ -180,6 +182,7 @@ var xDirectEqual func(uintptr, uintptr) bool
180 func DirectEqual(V1Var uintptr, V2Var uintptr) bool {182 func DirectEqual(V1Var uintptr, V2Var uintptr) bool {
181 183
182 cret := xDirectEqual(V1Var, V2Var)184 cret := xDirectEqual(V1Var, V2Var)
185+
183 return cret186 return cret
184 }187 }
185 188
@@ -195,6 +198,7 @@ var xDirectHash func(uintptr) uint
195 func DirectHash(VVar uintptr) uint {198 func DirectHash(VVar uintptr) uint {
196 199
197 cret := xDirectHash(VVar)200 cret := xDirectHash(VVar)
201+
198 return cret202 return cret
199 }203 }
200 204
@@ -208,6 +212,7 @@ var xDoubleEqual func(uintptr, uintptr) bool
208 func DoubleEqual(V1Var uintptr, V2Var uintptr) bool {212 func DoubleEqual(V1Var uintptr, V2Var uintptr) bool {
209 213
210 cret := xDoubleEqual(V1Var, V2Var)214 cret := xDoubleEqual(V1Var, V2Var)
215+
211 return cret216 return cret
212 }217 }
213 218
@@ -220,6 +225,7 @@ var xDoubleHash func(uintptr) uint
220 func DoubleHash(VVar uintptr) uint {225 func DoubleHash(VVar uintptr) uint {
221 226
222 cret := xDoubleHash(VVar)227 cret := xDoubleHash(VVar)
228+
223 return cret229 return cret
224 }230 }
225 231
@@ -243,6 +249,7 @@ var xHashTableAdd func(*HashTable, uintptr) bool
243 func HashTableAdd(HashTableVar *HashTable, KeyVar uintptr) bool {249 func HashTableAdd(HashTableVar *HashTable, KeyVar uintptr) bool {
244 250
245 cret := xHashTableAdd(HashTableVar, KeyVar)251 cret := xHashTableAdd(HashTableVar, KeyVar)
252+
246 return cret253 return cret
247 }254 }
248 255
@@ -252,6 +259,7 @@ var xHashTableContains func(*HashTable, uintptr) bool
252 func HashTableContains(HashTableVar *HashTable, KeyVar uintptr) bool {259 func HashTableContains(HashTableVar *HashTable, KeyVar uintptr) bool {
253 260
254 cret := xHashTableContains(HashTableVar, KeyVar)261 cret := xHashTableContains(HashTableVar, KeyVar)
262+
255 return cret263 return cret
256 }264 }
257 265
@@ -302,6 +310,7 @@ func HashTableFind(HashTableVar *HashTable, PredicateVar *HRFunc, UserDataVar ui
302 }310 }
303 311
304 cret := xHashTableFind(HashTableVar, PredicateVarRef, UserDataVar)312 cret := xHashTableFind(HashTableVar, PredicateVarRef, UserDataVar)
313+
305 return cret314 return cret
306 }315 }
307 316
@@ -368,6 +377,7 @@ func HashTableForeachRemove(HashTableVar *HashTable, FuncVar *HRFunc, UserDataVa
368 }377 }
369 378
370 cret := xHashTableForeachRemove(HashTableVar, FuncVarRef, UserDataVar)379 cret := xHashTableForeachRemove(HashTableVar, FuncVarRef, UserDataVar)
380+
371 return cret381 return cret
372 }382 }
373 383
@@ -398,6 +408,7 @@ func HashTableForeachSteal(HashTableVar *HashTable, FuncVar *HRFunc, UserDataVar
398 }408 }
399 409
400 cret := xHashTableForeachSteal(HashTableVar, FuncVarRef, UserDataVar)410 cret := xHashTableForeachSteal(HashTableVar, FuncVarRef, UserDataVar)
411+
401 return cret412 return cret
402 }413 }
403 414
@@ -414,6 +425,7 @@ var xHashTableGetKeysAsPtrArray func(*HashTable) uintptr
414 func HashTableGetKeysAsPtrArray(HashTableVar *HashTable) uintptr {425 func HashTableGetKeysAsPtrArray(HashTableVar *HashTable) uintptr {
415 426
416 cret := xHashTableGetKeysAsPtrArray(HashTableVar)427 cret := xHashTableGetKeysAsPtrArray(HashTableVar)
428+
417 return cret429 return cret
418 }430 }
419 431
@@ -430,6 +442,7 @@ var xHashTableGetValuesAsPtrArray func(*HashTable) uintptr
430 func HashTableGetValuesAsPtrArray(HashTableVar *HashTable) uintptr {442 func HashTableGetValuesAsPtrArray(HashTableVar *HashTable) uintptr {
431 443
432 cret := xHashTableGetValuesAsPtrArray(HashTableVar)444 cret := xHashTableGetValuesAsPtrArray(HashTableVar)
445+
433 return cret446 return cret
434 }447 }
435 448
@@ -450,6 +463,7 @@ var xHashTableInsert func(*HashTable, uintptr, uintptr) bool
450 func HashTableInsert(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool {463 func HashTableInsert(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool {
451 464
452 cret := xHashTableInsert(HashTableVar, KeyVar, ValueVar)465 cret := xHashTableInsert(HashTableVar, KeyVar, ValueVar)
466+
453 return cret467 return cret
454 }468 }
455 469
@@ -462,6 +476,7 @@ var xHashTableLookup func(*HashTable, uintptr) uintptr
462 func HashTableLookup(HashTableVar *HashTable, KeyVar uintptr) uintptr {476 func HashTableLookup(HashTableVar *HashTable, KeyVar uintptr) uintptr {
463 477
464 cret := xHashTableLookup(HashTableVar, KeyVar)478 cret := xHashTableLookup(HashTableVar, KeyVar)
479+
465 return cret480 return cret
466 }481 }
467 482
@@ -478,6 +493,7 @@ var xHashTableLookupExtended func(*HashTable, uintptr, *uintptr, *uintptr) bool
478 func HashTableLookupExtended(HashTableVar *HashTable, LookupKeyVar uintptr, OrigKeyVar *uintptr, ValueVar *uintptr) bool {493 func HashTableLookupExtended(HashTableVar *HashTable, LookupKeyVar uintptr, OrigKeyVar *uintptr, ValueVar *uintptr) bool {
479 494
480 cret := xHashTableLookupExtended(HashTableVar, LookupKeyVar, OrigKeyVar, ValueVar)495 cret := xHashTableLookupExtended(HashTableVar, LookupKeyVar, OrigKeyVar, ValueVar)
496+
481 return cret497 return cret
482 }498 }
483 499
@@ -494,6 +510,7 @@ var xHashTableNewSimilar func(*HashTable) *HashTable
494 func HashTableNewSimilar(OtherHashTableVar *HashTable) *HashTable {510 func HashTableNewSimilar(OtherHashTableVar *HashTable) *HashTable {
495 511
496 cret := xHashTableNewSimilar(OtherHashTableVar)512 cret := xHashTableNewSimilar(OtherHashTableVar)
513+
497 return cret514 return cret
498 }515 }
499 516
@@ -504,6 +521,7 @@ var xHashTableRef func(*HashTable) *HashTable
504 func HashTableRef(HashTableVar *HashTable) *HashTable {521 func HashTableRef(HashTableVar *HashTable) *HashTable {
505 522
506 cret := xHashTableRef(HashTableVar)523 cret := xHashTableRef(HashTableVar)
524+
507 return cret525 return cret
508 }526 }
509 527
@@ -518,6 +536,7 @@ var xHashTableRemove func(*HashTable, uintptr) bool
518 func HashTableRemove(HashTableVar *HashTable, KeyVar uintptr) bool {536 func HashTableRemove(HashTableVar *HashTable, KeyVar uintptr) bool {
519 537
520 cret := xHashTableRemove(HashTableVar, KeyVar)538 cret := xHashTableRemove(HashTableVar, KeyVar)
539+
521 return cret540 return cret
522 }541 }
523 542
@@ -551,6 +570,7 @@ var xHashTableReplace func(*HashTable, uintptr, uintptr) bool
551 func HashTableReplace(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool {570 func HashTableReplace(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool {
552 571
553 cret := xHashTableReplace(HashTableVar, KeyVar, ValueVar)572 cret := xHashTableReplace(HashTableVar, KeyVar, ValueVar)
573+
554 return cret574 return cret
555 }575 }
556 576
@@ -560,6 +580,7 @@ var xHashTableSize func(*HashTable) uint
560 func HashTableSize(HashTableVar *HashTable) uint {580 func HashTableSize(HashTableVar *HashTable) uint {
561 581
562 cret := xHashTableSize(HashTableVar)582 cret := xHashTableSize(HashTableVar)
583+
563 return cret584 return cret
564 }585 }
565 586
@@ -570,6 +591,7 @@ var xHashTableSteal func(*HashTable, uintptr) bool
570 func HashTableSteal(HashTableVar *HashTable, KeyVar uintptr) bool {591 func HashTableSteal(HashTableVar *HashTable, KeyVar uintptr) bool {
571 592
572 cret := xHashTableSteal(HashTableVar, KeyVar)593 cret := xHashTableSteal(HashTableVar, KeyVar)
594+
573 return cret595 return cret
574 }596 }
575 597
@@ -592,6 +614,7 @@ var xHashTableStealAllKeys func(*HashTable) uintptr
592 func HashTableStealAllKeys(HashTableVar *HashTable) uintptr {614 func HashTableStealAllKeys(HashTableVar *HashTable) uintptr {
593 615
594 cret := xHashTableStealAllKeys(HashTableVar)616 cret := xHashTableStealAllKeys(HashTableVar)
617+
595 return cret618 return cret
596 }619 }
597 620
@@ -604,6 +627,7 @@ var xHashTableStealAllValues func(*HashTable) uintptr
604 func HashTableStealAllValues(HashTableVar *HashTable) uintptr {627 func HashTableStealAllValues(HashTableVar *HashTable) uintptr {
605 628
606 cret := xHashTableStealAllValues(HashTableVar)629 cret := xHashTableStealAllValues(HashTableVar)
630+
607 return cret631 return cret
608 }632 }
609 633
@@ -629,6 +653,7 @@ var xHashTableStealExtended func(*HashTable, uintptr, *uintptr, *uintptr) bool
629 func HashTableStealExtended(HashTableVar *HashTable, LookupKeyVar uintptr, StolenKeyVar *uintptr, StolenValueVar *uintptr) bool {653 func HashTableStealExtended(HashTableVar *HashTable, LookupKeyVar uintptr, StolenKeyVar *uintptr, StolenValueVar *uintptr) bool {
630 654
631 cret := xHashTableStealExtended(HashTableVar, LookupKeyVar, StolenKeyVar, StolenValueVar)655 cret := xHashTableStealExtended(HashTableVar, LookupKeyVar, StolenKeyVar, StolenValueVar)
656+
632 return cret657 return cret
633 }658 }
634 659
@@ -654,6 +679,7 @@ var xInt64Equal func(uintptr, uintptr) bool
654 func Int64Equal(V1Var uintptr, V2Var uintptr) bool {679 func Int64Equal(V1Var uintptr, V2Var uintptr) bool {
655 680
656 cret := xInt64Equal(V1Var, V2Var)681 cret := xInt64Equal(V1Var, V2Var)
682+
657 return cret683 return cret
658 }684 }
659 685
@@ -667,6 +693,7 @@ var xInt64Hash func(uintptr) uint
667 func Int64Hash(VVar uintptr) uint {693 func Int64Hash(VVar uintptr) uint {
668 694
669 cret := xInt64Hash(VVar)695 cret := xInt64Hash(VVar)
696+
670 return cret697 return cret
671 }698 }
672 699
@@ -684,6 +711,7 @@ var xIntEqual func(uintptr, uintptr) bool
684 func IntEqual(V1Var uintptr, V2Var uintptr) bool {711 func IntEqual(V1Var uintptr, V2Var uintptr) bool {
685 712
686 cret := xIntEqual(V1Var, V2Var)713 cret := xIntEqual(V1Var, V2Var)
714+
687 return cret715 return cret
688 }716 }
689 717
@@ -699,6 +727,7 @@ var xIntHash func(uintptr) uint
699 func IntHash(VVar uintptr) uint {727 func IntHash(VVar uintptr) uint {
700 728
701 cret := xIntHash(VVar)729 cret := xIntHash(VVar)
730+
702 return cret731 return cret
703 }732 }
704 733
@@ -715,6 +744,7 @@ var xStrEqual func(uintptr, uintptr) bool
715 func StrEqual(V1Var uintptr, V2Var uintptr) bool {744 func StrEqual(V1Var uintptr, V2Var uintptr) bool {
716 745
717 cret := xStrEqual(V1Var, V2Var)746 cret := xStrEqual(V1Var, V2Var)
747+
718 return cret748 return cret
719 }749 }
720 750
@@ -737,6 +767,7 @@ var xStrHash func(uintptr) uint
737 func StrHash(VVar uintptr) uint {767 func StrHash(VVar uintptr) uint {
738 768
739 cret := xStrHash(VVar)769 cret := xStrHash(VVar)
770+
740 return cret771 return cret
741 }772 }
742 773
M v4/glib/ghmac.go +7 -0
@@ -60,6 +60,7 @@ var xNewHmac func(ChecksumType, []byte, uint) *Hmac
60 func NewHmac(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint) *Hmac {60 func NewHmac(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint) *Hmac {
61 61
62 cret := xNewHmac(DigestTypeVar, KeyVar, KeyLenVar)62 cret := xNewHmac(DigestTypeVar, KeyVar, KeyLenVar)
63+
63 return cret64 return cret
64 }65 }
65 66
@@ -71,6 +72,7 @@ var xHmacCopy func(uintptr) *Hmac
71 func (x *Hmac) Copy() *Hmac {72 func (x *Hmac) Copy() *Hmac {
72 73
73 cret := xHmacCopy(x.GoPointer())74 cret := xHmacCopy(x.GoPointer())
75+
74 return cret76 return cret
75 }77 }
76 78
@@ -98,6 +100,7 @@ var xHmacGetString func(uintptr) string
98 func (x *Hmac) GetString() string {100 func (x *Hmac) GetString() string {
99 101
100 cret := xHmacGetString(x.GoPointer())102 cret := xHmacGetString(x.GoPointer())
103+
101 return cret104 return cret
102 }105 }
103 106
@@ -109,6 +112,7 @@ var xHmacRef func(uintptr) *Hmac
109 func (x *Hmac) Ref() *Hmac {112 func (x *Hmac) Ref() *Hmac {
110 113
111 cret := xHmacRef(x.GoPointer())114 cret := xHmacRef(x.GoPointer())
115+
112 return cret116 return cret
113 }117 }
114 118
@@ -148,6 +152,7 @@ var xComputeHmacForBytes func(ChecksumType, *Bytes, *Bytes) string
148 func ComputeHmacForBytes(DigestTypeVar ChecksumType, KeyVar *Bytes, DataVar *Bytes) string {152 func ComputeHmacForBytes(DigestTypeVar ChecksumType, KeyVar *Bytes, DataVar *Bytes) string {
149 153
150 cret := xComputeHmacForBytes(DigestTypeVar, KeyVar, DataVar)154 cret := xComputeHmacForBytes(DigestTypeVar, KeyVar, DataVar)
155+
151 return cret156 return cret
152 }157 }
153 158
@@ -161,6 +166,7 @@ var xComputeHmacForData func(ChecksumType, []byte, uint, []byte, uint) string
161 func ComputeHmacForData(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, DataVar []byte, LengthVar uint) string {166 func ComputeHmacForData(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, DataVar []byte, LengthVar uint) string {
162 167
163 cret := xComputeHmacForData(DigestTypeVar, KeyVar, KeyLenVar, DataVar, LengthVar)168 cret := xComputeHmacForData(DigestTypeVar, KeyVar, KeyLenVar, DataVar, LengthVar)
169+
164 return cret170 return cret
165 }171 }
166 172
@@ -172,6 +178,7 @@ var xComputeHmacForString func(ChecksumType, []byte, uint, string, int) string
172 func ComputeHmacForString(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, StrVar string, LengthVar int) string {178 func ComputeHmacForString(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, StrVar string, LengthVar int) string {
173 179
174 cret := xComputeHmacForString(DigestTypeVar, KeyVar, KeyLenVar, StrVar, LengthVar)180 cret := xComputeHmacForString(DigestTypeVar, KeyVar, KeyLenVar, StrVar, LengthVar)
181+
175 return cret182 return cret
176 }183 }
177 184
M v4/glib/ghook.go +2 -0
@@ -66,6 +66,7 @@ var xHookCompareIds func(uintptr, *Hook) int
66 func (x *Hook) CompareIds(SiblingVar *Hook) int {66 func (x *Hook) CompareIds(SiblingVar *Hook) int {
67 67
68 cret := xHookCompareIds(x.GoPointer(), SiblingVar)68 cret := xHookCompareIds(x.GoPointer(), SiblingVar)
69+
69 return cret70 return cret
70 }71 }
71 72
@@ -207,6 +208,7 @@ var xHookDestroy func(*HookList, uint32) bool
207 func HookDestroy(HookListVar *HookList, HookIdVar uint32) bool {208 func HookDestroy(HookListVar *HookList, HookIdVar uint32) bool {
208 209
209 cret := xHookDestroy(HookListVar, HookIdVar)210 cret := xHookDestroy(HookListVar, HookIdVar)
211+
210 return cret212 return cret
211 }213 }
212 214
M v4/glib/ghostutils.go +5 -0
@@ -19,6 +19,7 @@ var xHostnameIsAsciiEncoded func(string) bool
19 func HostnameIsAsciiEncoded(HostnameVar string) bool {19 func HostnameIsAsciiEncoded(HostnameVar string) bool {
20 20
21 cret := xHostnameIsAsciiEncoded(HostnameVar)21 cret := xHostnameIsAsciiEncoded(HostnameVar)
22+
22 return cret23 return cret
23 }24 }
24 25
@@ -31,6 +32,7 @@ var xHostnameIsIpAddress func(string) bool
31 func HostnameIsIpAddress(HostnameVar string) bool {32 func HostnameIsIpAddress(HostnameVar string) bool {
32 33
33 cret := xHostnameIsIpAddress(HostnameVar)34 cret := xHostnameIsIpAddress(HostnameVar)
35+
34 return cret36 return cret
35 }37 }
36 38
@@ -46,6 +48,7 @@ var xHostnameIsNonAscii func(string) bool
46 func HostnameIsNonAscii(HostnameVar string) bool {48 func HostnameIsNonAscii(HostnameVar string) bool {
47 49
48 cret := xHostnameIsNonAscii(HostnameVar)50 cret := xHostnameIsNonAscii(HostnameVar)
51+
49 return cret52 return cret
50 }53 }
51 54
@@ -57,6 +60,7 @@ var xHostnameToAscii func(string) string
57 func HostnameToAscii(HostnameVar string) string {60 func HostnameToAscii(HostnameVar string) string {
58 61
59 cret := xHostnameToAscii(HostnameVar)62 cret := xHostnameToAscii(HostnameVar)
63+
60 return cret64 return cret
61 }65 }
62 66
@@ -72,6 +76,7 @@ var xHostnameToUnicode func(string) string
72 func HostnameToUnicode(HostnameVar string) string {76 func HostnameToUnicode(HostnameVar string) string {
73 77
74 cret := xHostnameToUnicode(HostnameVar)78 cret := xHostnameToUnicode(HostnameVar)
79+
75 return cret80 return cret
76 }81 }
77 82
M v4/glib/giochannel.go +41 -2
@@ -2,6 +2,7 @@
2 package glib2 package glib
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -116,6 +117,7 @@ func NewIOChannelFile(FilenameVar string, ModeVar string) (*IOChannel, error) {
116 var cerr *Error117 var cerr *Error
117 118
118 cret := xNewIOChannelFile(FilenameVar, ModeVar, &cerr)119 cret := xNewIOChannelFile(FilenameVar, ModeVar, &cerr)
120+
119 if cerr == nil {121 if cerr == nil {
120 return cret, nil122 return cret, nil
121 }123 }
@@ -150,6 +152,7 @@ var xIOChannelUnixNew func(int) *IOChannel
150 func IOChannelUnixNew(FdVar int) *IOChannel {152 func IOChannelUnixNew(FdVar int) *IOChannel {
151 153
152 cret := xIOChannelUnixNew(FdVar)154 cret := xIOChannelUnixNew(FdVar)
155+
153 return cret156 return cret
154 }157 }
155 158
@@ -171,6 +174,7 @@ func (x *IOChannel) Flush() (IOStatus, error) {
171 var cerr *Error174 var cerr *Error
172 175
173 cret := xIOChannelFlush(x.GoPointer())176 cret := xIOChannelFlush(x.GoPointer())
177+
174 if cerr == nil {178 if cerr == nil {
175 return cret, nil179 return cret, nil
176 }180 }
@@ -186,6 +190,7 @@ var xIOChannelGetBufferCondition func(uintptr) IOCondition
186 func (x *IOChannel) GetBufferCondition() IOCondition {190 func (x *IOChannel) GetBufferCondition() IOCondition {
187 191
188 cret := xIOChannelGetBufferCondition(x.GoPointer())192 cret := xIOChannelGetBufferCondition(x.GoPointer())
193+
189 return cret194 return cret
190 }195 }
191 196
@@ -195,6 +200,7 @@ var xIOChannelGetBufferSize func(uintptr) uint
195 func (x *IOChannel) GetBufferSize() uint {200 func (x *IOChannel) GetBufferSize() uint {
196 201
197 cret := xIOChannelGetBufferSize(x.GoPointer())202 cret := xIOChannelGetBufferSize(x.GoPointer())
203+
198 return cret204 return cret
199 }205 }
200 206
@@ -204,6 +210,7 @@ var xIOChannelGetBuffered func(uintptr) bool
204 func (x *IOChannel) GetBuffered() bool {210 func (x *IOChannel) GetBuffered() bool {
205 211
206 cret := xIOChannelGetBuffered(x.GoPointer())212 cret := xIOChannelGetBuffered(x.GoPointer())
213+
207 return cret214 return cret
208 }215 }
209 216
@@ -216,6 +223,7 @@ var xIOChannelGetCloseOnUnref func(uintptr) bool
216 func (x *IOChannel) GetCloseOnUnref() bool {223 func (x *IOChannel) GetCloseOnUnref() bool {
217 224
218 cret := xIOChannelGetCloseOnUnref(x.GoPointer())225 cret := xIOChannelGetCloseOnUnref(x.GoPointer())
226+
219 return cret227 return cret
220 }228 }
221 229
@@ -227,6 +235,7 @@ var xIOChannelGetEncoding func(uintptr) string
227 func (x *IOChannel) GetEncoding() string {235 func (x *IOChannel) GetEncoding() string {
228 236
229 cret := xIOChannelGetEncoding(x.GoPointer())237 cret := xIOChannelGetEncoding(x.GoPointer())
238+
230 return cret239 return cret
231 }240 }
232 241
@@ -244,6 +253,7 @@ var xIOChannelGetFlags func(uintptr) IOFlags
244 func (x *IOChannel) GetFlags() IOFlags {253 func (x *IOChannel) GetFlags() IOFlags {
245 254
246 cret := xIOChannelGetFlags(x.GoPointer())255 cret := xIOChannelGetFlags(x.GoPointer())
256+
247 return cret257 return cret
248 }258 }
249 259
@@ -256,6 +266,7 @@ var xIOChannelGetLineTerm func(uintptr, *int) string
256 func (x *IOChannel) GetLineTerm(LengthVar *int) string {266 func (x *IOChannel) GetLineTerm(LengthVar *int) string {
257 267
258 cret := xIOChannelGetLineTerm(x.GoPointer(), LengthVar)268 cret := xIOChannelGetLineTerm(x.GoPointer(), LengthVar)
269+
259 return cret270 return cret
260 }271 }
261 272
@@ -278,6 +289,7 @@ var xIOChannelRead func(uintptr, string, uint, uint) IOError
278 func (x *IOChannel) Read(BufVar string, CountVar uint, BytesReadVar uint) IOError {289 func (x *IOChannel) Read(BufVar string, CountVar uint, BytesReadVar uint) IOError {
279 290
280 cret := xIOChannelRead(x.GoPointer(), BufVar, CountVar, BytesReadVar)291 cret := xIOChannelRead(x.GoPointer(), BufVar, CountVar, BytesReadVar)
292+
281 return cret293 return cret
282 }294 }
283 295
@@ -288,6 +300,7 @@ func (x *IOChannel) ReadChars(BufVar *[]byte, CountVar uint, BytesReadVar *uint)
288 var cerr *Error300 var cerr *Error
289 301
290 cret := xIOChannelReadChars(x.GoPointer(), BufVar, CountVar, BytesReadVar, &cerr)302 cret := xIOChannelReadChars(x.GoPointer(), BufVar, CountVar, BytesReadVar, &cerr)
303+
291 if cerr == nil {304 if cerr == nil {
292 return cret, nil305 return cret, nil
293 }306 }
@@ -305,6 +318,7 @@ func (x *IOChannel) ReadLine(StrReturnVar *string, LengthVar *uint, TerminatorPo
305 var cerr *Error318 var cerr *Error
306 319
307 cret := xIOChannelReadLine(x.GoPointer(), StrReturnVar, LengthVar, TerminatorPosVar, &cerr)320 cret := xIOChannelReadLine(x.GoPointer(), StrReturnVar, LengthVar, TerminatorPosVar, &cerr)
321+
308 if cerr == nil {322 if cerr == nil {
309 return cret, nil323 return cret, nil
310 }324 }
@@ -319,6 +333,7 @@ func (x *IOChannel) ReadLineString(BufferVar *String, TerminatorPosVar uint) (IO
319 var cerr *Error333 var cerr *Error
320 334
321 cret := xIOChannelReadLineString(x.GoPointer(), BufferVar, TerminatorPosVar, &cerr)335 cret := xIOChannelReadLineString(x.GoPointer(), BufferVar, TerminatorPosVar, &cerr)
336+
322 if cerr == nil {337 if cerr == nil {
323 return cret, nil338 return cret, nil
324 }339 }
@@ -333,6 +348,7 @@ func (x *IOChannel) ReadToEnd(StrReturnVar *[]byte, LengthVar *uint) (IOStatus,
333 var cerr *Error348 var cerr *Error
334 349
335 cret := xIOChannelReadToEnd(x.GoPointer(), StrReturnVar, LengthVar, &cerr)350 cret := xIOChannelReadToEnd(x.GoPointer(), StrReturnVar, LengthVar, &cerr)
351+
336 if cerr == nil {352 if cerr == nil {
337 return cret, nil353 return cret, nil
338 }354 }
@@ -348,6 +364,7 @@ func (x *IOChannel) ReadUnichar(ThecharVar *uint32) (IOStatus, error) {
348 var cerr *Error364 var cerr *Error
349 365
350 cret := xIOChannelReadUnichar(x.GoPointer(), ThecharVar, &cerr)366 cret := xIOChannelReadUnichar(x.GoPointer(), ThecharVar, &cerr)
367+
351 if cerr == nil {368 if cerr == nil {
352 return cret, nil369 return cret, nil
353 }370 }
@@ -361,6 +378,7 @@ var xIOChannelRef func(uintptr) *IOChannel
361 func (x *IOChannel) Ref() *IOChannel {378 func (x *IOChannel) Ref() *IOChannel {
362 379
363 cret := xIOChannelRef(x.GoPointer())380 cret := xIOChannelRef(x.GoPointer())
381+
364 return cret382 return cret
365 }383 }
366 384
@@ -371,6 +389,7 @@ var xIOChannelSeek func(uintptr, int64, SeekType) IOError
371 func (x *IOChannel) Seek(OffsetVar int64, TypeVar SeekType) IOError {389 func (x *IOChannel) Seek(OffsetVar int64, TypeVar SeekType) IOError {
372 390
373 cret := xIOChannelSeek(x.GoPointer(), OffsetVar, TypeVar)391 cret := xIOChannelSeek(x.GoPointer(), OffsetVar, TypeVar)
392+
374 return cret393 return cret
375 }394 }
376 395
@@ -381,6 +400,7 @@ func (x *IOChannel) SeekPosition(OffsetVar int64, TypeVar SeekType) (IOStatus, e
381 var cerr *Error400 var cerr *Error
382 401
383 cret := xIOChannelSeekPosition(x.GoPointer(), OffsetVar, TypeVar, &cerr)402 cret := xIOChannelSeekPosition(x.GoPointer(), OffsetVar, TypeVar, &cerr)
403+
384 if cerr == nil {404 if cerr == nil {
385 return cret, nil405 return cret, nil
386 }406 }
@@ -477,7 +497,12 @@ var xIOChannelSetEncoding func(uintptr, uintptr, **Error) IOStatus
477 func (x *IOChannel) SetEncoding(EncodingVar *string) (IOStatus, error) {497 func (x *IOChannel) SetEncoding(EncodingVar *string) (IOStatus, error) {
478 var cerr *Error498 var cerr *Error
479 499
480- cret := xIOChannelSetEncoding(x.GoPointer(), core.NullableStringToPtr(EncodingVar), &cerr)500+ EncodingVarPtr, EncodingVarBytes := core.NullableStringToPtr(EncodingVar)
501+
502+ cret := xIOChannelSetEncoding(x.GoPointer(), EncodingVarPtr, &cerr)
503+
504+ runtime.KeepAlive(EncodingVarBytes)
505+
481 if cerr == nil {506 if cerr == nil {
482 return cret, nil507 return cret, nil
483 }508 }
@@ -492,6 +517,7 @@ func (x *IOChannel) SetFlags(FlagsVar IOFlags) (IOStatus, error) {
492 var cerr *Error517 var cerr *Error
493 518
494 cret := xIOChannelSetFlags(x.GoPointer(), FlagsVar, &cerr)519 cret := xIOChannelSetFlags(x.GoPointer(), FlagsVar, &cerr)
520+
495 if cerr == nil {521 if cerr == nil {
496 return cret, nil522 return cret, nil
497 }523 }
@@ -505,7 +531,11 @@ var xIOChannelSetLineTerm func(uintptr, uintptr, int)
505 // where in the file a line break occurs.531 // where in the file a line break occurs.
506 func (x *IOChannel) SetLineTerm(LineTermVar *string, LengthVar int) {532 func (x *IOChannel) SetLineTerm(LineTermVar *string, LengthVar int) {
507 533
508- xIOChannelSetLineTerm(x.GoPointer(), core.NullableStringToPtr(LineTermVar), LengthVar)534+ LineTermVarPtr, LineTermVarBytes := core.NullableStringToPtr(LineTermVar)
535+
536+ xIOChannelSetLineTerm(x.GoPointer(), LineTermVarPtr, LengthVar)
537+
538+ runtime.KeepAlive(LineTermVarBytes)
509 539
510 }540 }
511 541
@@ -518,6 +548,7 @@ func (x *IOChannel) Shutdown(FlushVar bool) (IOStatus, error) {
518 var cerr *Error548 var cerr *Error
519 549
520 cret := xIOChannelShutdown(x.GoPointer(), FlushVar, &cerr)550 cret := xIOChannelShutdown(x.GoPointer(), FlushVar, &cerr)
551+
521 if cerr == nil {552 if cerr == nil {
522 return cret, nil553 return cret, nil
523 }554 }
@@ -534,6 +565,7 @@ var xIOChannelUnixGetFd func(uintptr) int
534 func (x *IOChannel) UnixGetFd() int {565 func (x *IOChannel) UnixGetFd() int {
535 566
536 cret := xIOChannelUnixGetFd(x.GoPointer())567 cret := xIOChannelUnixGetFd(x.GoPointer())
568+
537 return cret569 return cret
538 }570 }
539 571
@@ -552,6 +584,7 @@ var xIOChannelWrite func(uintptr, string, uint, uint) IOError
552 func (x *IOChannel) Write(BufVar string, CountVar uint, BytesWrittenVar uint) IOError {584 func (x *IOChannel) Write(BufVar string, CountVar uint, BytesWrittenVar uint) IOError {
553 585
554 cret := xIOChannelWrite(x.GoPointer(), BufVar, CountVar, BytesWrittenVar)586 cret := xIOChannelWrite(x.GoPointer(), BufVar, CountVar, BytesWrittenVar)
587+
555 return cret588 return cret
556 }589 }
557 590
@@ -567,6 +600,7 @@ func (x *IOChannel) WriteChars(BufVar []byte, CountVar int, BytesWrittenVar *uin
567 var cerr *Error600 var cerr *Error
568 601
569 cret := xIOChannelWriteChars(x.GoPointer(), BufVar, CountVar, BytesWrittenVar, &cerr)602 cret := xIOChannelWriteChars(x.GoPointer(), BufVar, CountVar, BytesWrittenVar, &cerr)
603+
570 if cerr == nil {604 if cerr == nil {
571 return cret, nil605 return cret, nil
572 }606 }
@@ -582,6 +616,7 @@ func (x *IOChannel) WriteUnichar(ThecharVar uint32) (IOStatus, error) {
582 var cerr *Error616 var cerr *Error
583 617
584 cret := xIOChannelWriteUnichar(x.GoPointer(), ThecharVar, &cerr)618 cret := xIOChannelWriteUnichar(x.GoPointer(), ThecharVar, &cerr)
619+
585 if cerr == nil {620 if cerr == nil {
586 return cret, nil621 return cret, nil
587 }622 }
@@ -1034,6 +1069,7 @@ func IoAddWatch(ChannelVar *IOChannel, ConditionVar IOCondition, FuncVar *IOFunc
1034 }1069 }
1035 1070
1036 cret := xIoAddWatch(ChannelVar, ConditionVar, FuncVarRef, UserDataVar)1071 cret := xIoAddWatch(ChannelVar, ConditionVar, FuncVarRef, UserDataVar)
1072+
1037 return cret1073 return cret
1038 }1074 }
1039 1075
@@ -1078,6 +1114,7 @@ func IoAddWatchFull(ChannelVar *IOChannel, PriorityVar int, ConditionVar IOCondi
1078 }1114 }
1079 1115
1080 cret := xIoAddWatchFull(ChannelVar, PriorityVar, ConditionVar, FuncVarRef, UserDataVar, NotifyVarRef)1116 cret := xIoAddWatchFull(ChannelVar, PriorityVar, ConditionVar, FuncVarRef, UserDataVar, NotifyVarRef)
1117+
1081 return cret1118 return cret
1082 }1119 }
1083 1120
@@ -1087,6 +1124,7 @@ var xIoChannelErrorFromErrno func(int) IOChannelError
1087 func IoChannelErrorFromErrno(EnVar int) IOChannelError {1124 func IoChannelErrorFromErrno(EnVar int) IOChannelError {
1088 1125
1089 cret := xIoChannelErrorFromErrno(EnVar)1126 cret := xIoChannelErrorFromErrno(EnVar)
1127+
1090 return cret1128 return cret
1091 }1129 }
1092 1130
@@ -1109,6 +1147,7 @@ var xIoCreateWatch func(*IOChannel, IOCondition) *Source
1109 func IoCreateWatch(ChannelVar *IOChannel, ConditionVar IOCondition) *Source {1147 func IoCreateWatch(ChannelVar *IOChannel, ConditionVar IOCondition) *Source {
1110 1148
1111 cret := xIoCreateWatch(ChannelVar, ConditionVar)1149 cret := xIoCreateWatch(ChannelVar, ConditionVar)
1150+
1112 return cret1151 return cret
1113 }1152 }
1114 1153
M v4/glib/gkeyfile.go +76 -6
@@ -2,6 +2,7 @@
2 package glib2 package glib
3 3
4 import (4 import (
5+ "runtime"
5 "structs"6 "structs"
6 "unsafe"7 "unsafe"
7 8
@@ -176,6 +177,7 @@ var xNewKeyFile func() *KeyFile
176 func NewKeyFile() *KeyFile {177 func NewKeyFile() *KeyFile {
177 178
178 cret := xNewKeyFile()179 cret := xNewKeyFile()
180+
179 return cret181 return cret
180 }182 }
181 183
@@ -204,6 +206,7 @@ func (x *KeyFile) GetBoolean(GroupNameVar string, KeyVar string) (bool, error) {
204 var cerr *Error206 var cerr *Error
205 207
206 cret := xKeyFileGetBoolean(x.GoPointer(), GroupNameVar, KeyVar, &cerr)208 cret := xKeyFileGetBoolean(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
209+
207 if cerr == nil {210 if cerr == nil {
208 return cret, nil211 return cret, nil
209 }212 }
@@ -223,6 +226,7 @@ func (x *KeyFile) GetBooleanList(GroupNameVar string, KeyVar string, LengthVar *
223 var cerr *Error226 var cerr *Error
224 227
225 cret := xKeyFileGetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)228 cret := xKeyFileGetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
229+
226 if cerr == nil {230 if cerr == nil {
227 return cret, nil231 return cret, nil
228 }232 }
@@ -244,7 +248,16 @@ var xKeyFileGetComment func(uintptr, uintptr, uintptr, **Error) string
244 func (x *KeyFile) GetComment(GroupNameVar *string, KeyVar *string) (string, error) {248 func (x *KeyFile) GetComment(GroupNameVar *string, KeyVar *string) (string, error) {
245 var cerr *Error249 var cerr *Error
246 250
247- cret := xKeyFileGetComment(x.GoPointer(), core.NullableStringToPtr(GroupNameVar), core.NullableStringToPtr(KeyVar), &cerr)251+ GroupNameVarPtr, GroupNameVarBytes := core.NullableStringToPtr(GroupNameVar)
252+
253+ KeyVarPtr, KeyVarBytes := core.NullableStringToPtr(KeyVar)
254+
255+ cret := xKeyFileGetComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, &cerr)
256+
257+ runtime.KeepAlive(GroupNameVarBytes)
258+
259+ runtime.KeepAlive(KeyVarBytes)
260+
248 if cerr == nil {261 if cerr == nil {
249 return cret, nil262 return cret, nil
250 }263 }
@@ -263,6 +276,7 @@ func (x *KeyFile) GetDouble(GroupNameVar string, KeyVar string) (float64, error)
263 var cerr *Error276 var cerr *Error
264 277
265 cret := xKeyFileGetDouble(x.GoPointer(), GroupNameVar, KeyVar, &cerr)278 cret := xKeyFileGetDouble(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
279+
266 if cerr == nil {280 if cerr == nil {
267 return cret, nil281 return cret, nil
268 }282 }
@@ -282,6 +296,7 @@ func (x *KeyFile) GetDoubleList(GroupNameVar string, KeyVar string, LengthVar *u
282 var cerr *Error296 var cerr *Error
283 297
284 cret := xKeyFileGetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)298 cret := xKeyFileGetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
299+
285 if cerr == nil {300 if cerr == nil {
286 return cret, nil301 return cret, nil
287 }302 }
@@ -298,6 +313,7 @@ var xKeyFileGetGroups func(uintptr, *uint) []string
298 func (x *KeyFile) GetGroups(LengthVar *uint) []string {313 func (x *KeyFile) GetGroups(LengthVar *uint) []string {
299 314
300 cret := xKeyFileGetGroups(x.GoPointer(), LengthVar)315 cret := xKeyFileGetGroups(x.GoPointer(), LengthVar)
316+
301 return cret317 return cret
302 }318 }
303 319
@@ -312,6 +328,7 @@ func (x *KeyFile) GetInt64(GroupNameVar string, KeyVar string) (int64, error) {
312 var cerr *Error328 var cerr *Error
313 329
314 cret := xKeyFileGetInt64(x.GoPointer(), GroupNameVar, KeyVar, &cerr)330 cret := xKeyFileGetInt64(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
331+
315 if cerr == nil {332 if cerr == nil {
316 return cret, nil333 return cret, nil
317 }334 }
@@ -332,6 +349,7 @@ func (x *KeyFile) GetInteger(GroupNameVar string, KeyVar string) (int, error) {
332 var cerr *Error349 var cerr *Error
333 350
334 cret := xKeyFileGetInteger(x.GoPointer(), GroupNameVar, KeyVar, &cerr)351 cret := xKeyFileGetInteger(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
352+
335 if cerr == nil {353 if cerr == nil {
336 return cret, nil354 return cret, nil
337 }355 }
@@ -352,6 +370,7 @@ func (x *KeyFile) GetIntegerList(GroupNameVar string, KeyVar string, LengthVar *
352 var cerr *Error370 var cerr *Error
353 371
354 cret := xKeyFileGetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)372 cret := xKeyFileGetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
373+
355 if cerr == nil {374 if cerr == nil {
356 return cret, nil375 return cret, nil
357 }376 }
@@ -370,6 +389,7 @@ func (x *KeyFile) GetKeys(GroupNameVar string, LengthVar *uint) ([]string, error
370 var cerr *Error389 var cerr *Error
371 390
372 cret := xKeyFileGetKeys(x.GoPointer(), GroupNameVar, LengthVar, &cerr)391 cret := xKeyFileGetKeys(x.GoPointer(), GroupNameVar, LengthVar, &cerr)
392+
373 if cerr == nil {393 if cerr == nil {
374 return cret, nil394 return cret, nil
375 }395 }
@@ -390,7 +410,12 @@ var xKeyFileGetLocaleForKey func(uintptr, string, string, uintptr) string
390 // this function.410 // this function.
391 func (x *KeyFile) GetLocaleForKey(GroupNameVar string, KeyVar string, LocaleVar *string) string {411 func (x *KeyFile) GetLocaleForKey(GroupNameVar string, KeyVar string, LocaleVar *string) string {
392 412
393- cret := xKeyFileGetLocaleForKey(x.GoPointer(), GroupNameVar, KeyVar, core.NullableStringToPtr(LocaleVar))413+ LocaleVarPtr, LocaleVarBytes := core.NullableStringToPtr(LocaleVar)
414+
415+ cret := xKeyFileGetLocaleForKey(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr)
416+
417+ runtime.KeepAlive(LocaleVarBytes)
418+
394 return cret419 return cret
395 }420 }
396 421
@@ -415,7 +440,12 @@ var xKeyFileGetLocaleString func(uintptr, string, string, uintptr, **Error) stri
415 func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar *string) (string, error) {440 func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar *string) (string, error) {
416 var cerr *Error441 var cerr *Error
417 442
418- cret := xKeyFileGetLocaleString(x.GoPointer(), GroupNameVar, KeyVar, core.NullableStringToPtr(LocaleVar), &cerr)443+ LocaleVarPtr, LocaleVarBytes := core.NullableStringToPtr(LocaleVar)
444+
445+ cret := xKeyFileGetLocaleString(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr, &cerr)
446+
447+ runtime.KeepAlive(LocaleVarBytes)
448+
419 if cerr == nil {449 if cerr == nil {
420 return cret, nil450 return cret, nil
421 }451 }
@@ -446,7 +476,12 @@ var xKeyFileGetLocaleStringList func(uintptr, string, string, uintptr, *uint, **
446 func (x *KeyFile) GetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar *string, LengthVar *uint) ([]string, error) {476 func (x *KeyFile) GetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar *string, LengthVar *uint) ([]string, error) {
447 var cerr *Error477 var cerr *Error
448 478
449- cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, core.NullableStringToPtr(LocaleVar), LengthVar, &cerr)479+ LocaleVarPtr, LocaleVarBytes := core.NullableStringToPtr(LocaleVar)
480+
481+ cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr, LengthVar, &cerr)
482+
483+ runtime.KeepAlive(LocaleVarBytes)
484+
450 if cerr == nil {485 if cerr == nil {
451 return cret, nil486 return cret, nil
452 }487 }
@@ -460,6 +495,7 @@ var xKeyFileGetStartGroup func(uintptr) string
460 func (x *KeyFile) GetStartGroup() string {495 func (x *KeyFile) GetStartGroup() string {
461 496
462 cret := xKeyFileGetStartGroup(x.GoPointer())497 cret := xKeyFileGetStartGroup(x.GoPointer())
498+
463 return cret499 return cret
464 }500 }
465 501
@@ -477,6 +513,7 @@ func (x *KeyFile) GetString(GroupNameVar string, KeyVar string) (string, error)
477 var cerr *Error513 var cerr *Error
478 514
479 cret := xKeyFileGetString(x.GoPointer(), GroupNameVar, KeyVar, &cerr)515 cret := xKeyFileGetString(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
516+
480 if cerr == nil {517 if cerr == nil {
481 return cret, nil518 return cret, nil
482 }519 }
@@ -495,6 +532,7 @@ func (x *KeyFile) GetStringList(GroupNameVar string, KeyVar string, LengthVar *u
495 var cerr *Error532 var cerr *Error
496 533
497 cret := xKeyFileGetStringList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)534 cret := xKeyFileGetStringList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
535+
498 if cerr == nil {536 if cerr == nil {
499 return cret, nil537 return cret, nil
500 }538 }
@@ -513,6 +551,7 @@ func (x *KeyFile) GetUint64(GroupNameVar string, KeyVar string) (uint64, error)
513 var cerr *Error551 var cerr *Error
514 552
515 cret := xKeyFileGetUint64(x.GoPointer(), GroupNameVar, KeyVar, &cerr)553 cret := xKeyFileGetUint64(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
554+
516 if cerr == nil {555 if cerr == nil {
517 return cret, nil556 return cret, nil
518 }557 }
@@ -533,6 +572,7 @@ func (x *KeyFile) GetValue(GroupNameVar string, KeyVar string) (string, error) {
533 var cerr *Error572 var cerr *Error
534 573
535 cret := xKeyFileGetValue(x.GoPointer(), GroupNameVar, KeyVar, &cerr)574 cret := xKeyFileGetValue(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
575+
536 if cerr == nil {576 if cerr == nil {
537 return cret, nil577 return cret, nil
538 }578 }
@@ -546,6 +586,7 @@ var xKeyFileHasGroup func(uintptr, string) bool
546 func (x *KeyFile) HasGroup(GroupNameVar string) bool {586 func (x *KeyFile) HasGroup(GroupNameVar string) bool {
547 587
548 cret := xKeyFileHasGroup(x.GoPointer(), GroupNameVar)588 cret := xKeyFileHasGroup(x.GoPointer(), GroupNameVar)
589+
549 return cret590 return cret
550 }591 }
551 592
@@ -566,6 +607,7 @@ func (x *KeyFile) HasKey(GroupNameVar string, KeyVar string) (bool, error) {
566 var cerr *Error607 var cerr *Error
567 608
568 cret := xKeyFileHasKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr)609 cret := xKeyFileHasKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
610+
569 if cerr == nil {611 if cerr == nil {
570 return cret, nil612 return cret, nil
571 }613 }
@@ -583,6 +625,7 @@ func (x *KeyFile) LoadFromBytes(BytesVar *Bytes, FlagsVar KeyFileFlags) (bool, e
583 var cerr *Error625 var cerr *Error
584 626
585 cret := xKeyFileLoadFromBytes(x.GoPointer(), BytesVar, FlagsVar, &cerr)627 cret := xKeyFileLoadFromBytes(x.GoPointer(), BytesVar, FlagsVar, &cerr)
628+
586 if cerr == nil {629 if cerr == nil {
587 return cret, nil630 return cret, nil
588 }631 }
@@ -599,6 +642,7 @@ func (x *KeyFile) LoadFromData(DataVar string, LengthVar uint, FlagsVar KeyFileF
599 var cerr *Error642 var cerr *Error
600 643
601 cret := xKeyFileLoadFromData(x.GoPointer(), DataVar, LengthVar, FlagsVar, &cerr)644 cret := xKeyFileLoadFromData(x.GoPointer(), DataVar, LengthVar, FlagsVar, &cerr)
645+
602 if cerr == nil {646 if cerr == nil {
603 return cret, nil647 return cret, nil
604 }648 }
@@ -621,6 +665,7 @@ func (x *KeyFile) LoadFromDataDirs(FileVar string, FullPathVar *string, FlagsVar
621 var cerr *Error665 var cerr *Error
622 666
623 cret := xKeyFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, FlagsVar, &cerr)667 cret := xKeyFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, FlagsVar, &cerr)
668+
624 if cerr == nil {669 if cerr == nil {
625 return cret, nil670 return cret, nil
626 }671 }
@@ -649,6 +694,7 @@ func (x *KeyFile) LoadFromDirs(FileVar string, SearchDirsVar []string, FullPathV
649 var cerr *Error694 var cerr *Error
650 695
651 cret := xKeyFileLoadFromDirs(x.GoPointer(), FileVar, SearchDirsVar, FullPathVar, FlagsVar, &cerr)696 cret := xKeyFileLoadFromDirs(x.GoPointer(), FileVar, SearchDirsVar, FullPathVar, FlagsVar, &cerr)
697+
652 if cerr == nil {698 if cerr == nil {
653 return cret, nil699 return cret, nil
654 }700 }
@@ -670,6 +716,7 @@ func (x *KeyFile) LoadFromFile(FileVar string, FlagsVar KeyFileFlags) (bool, err
670 var cerr *Error716 var cerr *Error
671 717
672 cret := xKeyFileLoadFromFile(x.GoPointer(), FileVar, FlagsVar, &cerr)718 cret := xKeyFileLoadFromFile(x.GoPointer(), FileVar, FlagsVar, &cerr)
719+
673 if cerr == nil {720 if cerr == nil {
674 return cret, nil721 return cret, nil
675 }722 }
@@ -683,6 +730,7 @@ var xKeyFileRef func(uintptr) *KeyFile
683 func (x *KeyFile) Ref() *KeyFile {730 func (x *KeyFile) Ref() *KeyFile {
684 731
685 cret := xKeyFileRef(x.GoPointer())732 cret := xKeyFileRef(x.GoPointer())
733+
686 return cret734 return cret
687 }735 }
688 736
@@ -696,7 +744,16 @@ var xKeyFileRemoveComment func(uintptr, uintptr, uintptr, **Error) bool
696 func (x *KeyFile) RemoveComment(GroupNameVar *string, KeyVar *string) (bool, error) {744 func (x *KeyFile) RemoveComment(GroupNameVar *string, KeyVar *string) (bool, error) {
697 var cerr *Error745 var cerr *Error
698 746
699- cret := xKeyFileRemoveComment(x.GoPointer(), core.NullableStringToPtr(GroupNameVar), core.NullableStringToPtr(KeyVar), &cerr)747+ GroupNameVarPtr, GroupNameVarBytes := core.NullableStringToPtr(GroupNameVar)
748+
749+ KeyVarPtr, KeyVarBytes := core.NullableStringToPtr(KeyVar)
750+
751+ cret := xKeyFileRemoveComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, &cerr)
752+
753+ runtime.KeepAlive(GroupNameVarBytes)
754+
755+ runtime.KeepAlive(KeyVarBytes)
756+
700 if cerr == nil {757 if cerr == nil {
701 return cret, nil758 return cret, nil
702 }759 }
@@ -712,6 +769,7 @@ func (x *KeyFile) RemoveGroup(GroupNameVar string) (bool, error) {
712 var cerr *Error769 var cerr *Error
713 770
714 cret := xKeyFileRemoveGroup(x.GoPointer(), GroupNameVar, &cerr)771 cret := xKeyFileRemoveGroup(x.GoPointer(), GroupNameVar, &cerr)
772+
715 if cerr == nil {773 if cerr == nil {
716 return cret, nil774 return cret, nil
717 }775 }
@@ -726,6 +784,7 @@ func (x *KeyFile) RemoveKey(GroupNameVar string, KeyVar string) (bool, error) {
726 var cerr *Error784 var cerr *Error
727 785
728 cret := xKeyFileRemoveKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr)786 cret := xKeyFileRemoveKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
787+
729 if cerr == nil {788 if cerr == nil {
730 return cret, nil789 return cret, nil
731 }790 }
@@ -749,6 +808,7 @@ func (x *KeyFile) SaveToFile(FilenameVar string) (bool, error) {
749 var cerr *Error808 var cerr *Error
750 809
751 cret := xKeyFileSaveToFile(x.GoPointer(), FilenameVar, &cerr)810 cret := xKeyFileSaveToFile(x.GoPointer(), FilenameVar, &cerr)
811+
752 if cerr == nil {812 if cerr == nil {
753 return cret, nil813 return cret, nil
754 }814 }
@@ -796,7 +856,16 @@ var xKeyFileSetComment func(uintptr, uintptr, uintptr, string, **Error) bool
796 func (x *KeyFile) SetComment(GroupNameVar *string, KeyVar *string, CommentVar string) (bool, error) {856 func (x *KeyFile) SetComment(GroupNameVar *string, KeyVar *string, CommentVar string) (bool, error) {
797 var cerr *Error857 var cerr *Error
798 858
799- cret := xKeyFileSetComment(x.GoPointer(), core.NullableStringToPtr(GroupNameVar), core.NullableStringToPtr(KeyVar), CommentVar, &cerr)859+ GroupNameVarPtr, GroupNameVarBytes := core.NullableStringToPtr(GroupNameVar)
860+
861+ KeyVarPtr, KeyVarBytes := core.NullableStringToPtr(KeyVar)
862+
863+ cret := xKeyFileSetComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, CommentVar, &cerr)
864+
865+ runtime.KeepAlive(GroupNameVarBytes)
866+
867+ runtime.KeepAlive(KeyVarBytes)
868+
800 if cerr == nil {869 if cerr == nil {
801 return cret, nil870 return cret, nil
802 }871 }
@@ -958,6 +1027,7 @@ func (x *KeyFile) ToData(LengthVar *uint) (string, error) {
958 var cerr *Error1027 var cerr *Error
959 1028
960 cret := xKeyFileToData(x.GoPointer(), LengthVar, &cerr)1029 cret := xKeyFileToData(x.GoPointer(), LengthVar, &cerr)
1030+
961 if cerr == nil {1031 if cerr == nil {
962 return cret, nil1032 return cret, nil
963 }1033 }
M v4/glib/glib-types.go +2 -0
@@ -12,6 +12,7 @@ var xStrvGetType func() types.GType
12 func StrvGetType() types.GType {12 func StrvGetType() types.GType {
13 13
14 cret := xStrvGetType()14 cret := xStrvGetType()
15+
15 return cret16 return cret
16 }17 }
17 18
@@ -20,6 +21,7 @@ var xVariantGetGtype func() types.GType
20 func VariantGetGtype() types.GType {21 func VariantGetGtype() types.GType {
21 22
22 cret := xVariantGetGtype()23 cret := xVariantGetGtype()
24+
23 return cret25 return cret
24 }26 }
25 27
M v4/glib/glib-unix.go +11 -0
@@ -57,6 +57,7 @@ var xClosefrom func(int) int
57 func Closefrom(LowfdVar int) int {57 func Closefrom(LowfdVar int) int {
58 58
59 cret := xClosefrom(LowfdVar)59 cret := xClosefrom(LowfdVar)
60+
60 return cret61 return cret
61 }62 }
62 63
@@ -79,6 +80,7 @@ var xFdwalkSetCloexec func(int) int
79 func FdwalkSetCloexec(LowfdVar int) int {80 func FdwalkSetCloexec(LowfdVar int) int {
80 81
81 cret := xFdwalkSetCloexec(LowfdVar)82 cret := xFdwalkSetCloexec(LowfdVar)
83+
82 return cret84 return cret
83 }85 }
84 86
@@ -115,6 +117,7 @@ func UnixFdAdd(FdVar int, ConditionVar IOCondition, FunctionVar *UnixFDSourceFun
115 }117 }
116 118
117 cret := xUnixFdAdd(FdVar, ConditionVar, FunctionVarRef, UserDataVar)119 cret := xUnixFdAdd(FdVar, ConditionVar, FunctionVarRef, UserDataVar)
120+
118 return cret121 return cret
119 }122 }
120 123
@@ -159,6 +162,7 @@ func UnixFdAddFull(PriorityVar int, FdVar int, ConditionVar IOCondition, Functio
159 }162 }
160 163
161 cret := xUnixFdAddFull(PriorityVar, FdVar, ConditionVar, FunctionVarRef, UserDataVar, NotifyVarRef)164 cret := xUnixFdAddFull(PriorityVar, FdVar, ConditionVar, FunctionVarRef, UserDataVar, NotifyVarRef)
165+
162 return cret166 return cret
163 }167 }
164 168
@@ -174,6 +178,7 @@ var xUnixFdSourceNew func(int, IOCondition) *Source
174 func UnixFdSourceNew(FdVar int, ConditionVar IOCondition) *Source {178 func UnixFdSourceNew(FdVar int, ConditionVar IOCondition) *Source {
175 179
176 cret := xUnixFdSourceNew(FdVar, ConditionVar)180 cret := xUnixFdSourceNew(FdVar, ConditionVar)
181+
177 return cret182 return cret
178 }183 }
179 184
@@ -194,6 +199,7 @@ func UnixGetPasswdEntry(UserNameVar string) (uintptr, error) {
194 var cerr *Error199 var cerr *Error
195 200
196 cret := xUnixGetPasswdEntry(UserNameVar, &cerr)201 cret := xUnixGetPasswdEntry(UserNameVar, &cerr)
202+
197 if cerr == nil {203 if cerr == nil {
198 return cret, nil204 return cret, nil
199 }205 }
@@ -226,6 +232,7 @@ func UnixOpenPipe(FdsVar [2]int, FlagsVar int) (bool, error) {
226 var cerr *Error232 var cerr *Error
227 233
228 cret := xUnixOpenPipe(FdsVar, FlagsVar, &cerr)234 cret := xUnixOpenPipe(FdsVar, FlagsVar, &cerr)
235+
229 if cerr == nil {236 if cerr == nil {
230 return cret, nil237 return cret, nil
231 }238 }
@@ -242,6 +249,7 @@ func UnixSetFdNonblocking(FdVar int, NonblockVar bool) (bool, error) {
242 var cerr *Error249 var cerr *Error
243 250
244 cret := xUnixSetFdNonblocking(FdVar, NonblockVar, &cerr)251 cret := xUnixSetFdNonblocking(FdVar, NonblockVar, &cerr)
252+
245 if cerr == nil {253 if cerr == nil {
246 return cret, nil254 return cret, nil
247 }255 }
@@ -272,6 +280,7 @@ func UnixSignalAdd(SignumVar int, HandlerVar *SourceFunc, UserDataVar uintptr) u
272 }280 }
273 281
274 cret := xUnixSignalAdd(SignumVar, HandlerVarRef, UserDataVar)282 cret := xUnixSignalAdd(SignumVar, HandlerVarRef, UserDataVar)
283+
275 return cret284 return cret
276 }285 }
277 286
@@ -313,6 +322,7 @@ func UnixSignalAddFull(PriorityVar int, SignumVar int, HandlerVar *SourceFunc, U
313 }322 }
314 323
315 cret := xUnixSignalAddFull(PriorityVar, SignumVar, HandlerVarRef, UserDataVar, NotifyVarRef)324 cret := xUnixSignalAddFull(PriorityVar, SignumVar, HandlerVarRef, UserDataVar, NotifyVarRef)
325+
316 return cret326 return cret
317 }327 }
318 328
@@ -344,6 +354,7 @@ var xUnixSignalSourceNew func(int) *Source
344 func UnixSignalSourceNew(SignumVar int) *Source {354 func UnixSignalSourceNew(SignumVar int) *Source {
345 355
346 cret := xUnixSignalSourceNew(SignumVar)356 cret := xUnixSignalSourceNew(SignumVar)
357+
347 return cret358 return cret
348 }359 }
349 360
M v4/glib/gmain.go +60 -0
@@ -118,6 +118,7 @@ var xNewMainContext func() *MainContext
118 func NewMainContext() *MainContext {118 func NewMainContext() *MainContext {
119 119
120 cret := xNewMainContext()120 cret := xNewMainContext()
121+
121 return cret122 return cret
122 }123 }
123 124
@@ -127,6 +128,7 @@ var xNewMainContextWithFlags func(MainContextFlags) *MainContext
127 func NewMainContextWithFlags(FlagsVar MainContextFlags) *MainContext {128 func NewMainContextWithFlags(FlagsVar MainContextFlags) *MainContext {
128 129
129 cret := xNewMainContextWithFlags(FlagsVar)130 cret := xNewMainContextWithFlags(FlagsVar)
131+
130 return cret132 return cret
131 }133 }
132 134
@@ -150,6 +152,7 @@ var xMainContextAcquire func(uintptr) bool
150 func (x *MainContext) Acquire() bool {152 func (x *MainContext) Acquire() bool {
151 153
152 cret := xMainContextAcquire(x.GoPointer())154 cret := xMainContextAcquire(x.GoPointer())
155+
153 return cret156 return cret
154 }157 }
155 158
@@ -183,6 +186,7 @@ var xMainContextCheck func(uintptr, int, []PollFD, int) bool
183 func (x *MainContext) Check(MaxPriorityVar int, FdsVar []PollFD, NFdsVar int) bool {186 func (x *MainContext) Check(MaxPriorityVar int, FdsVar []PollFD, NFdsVar int) bool {
184 187
185 cret := xMainContextCheck(x.GoPointer(), MaxPriorityVar, FdsVar, NFdsVar)188 cret := xMainContextCheck(x.GoPointer(), MaxPriorityVar, FdsVar, NFdsVar)
189+
186 return cret190 return cret
187 }191 }
188 192
@@ -210,6 +214,7 @@ var xMainContextFindSourceByFuncsUserData func(uintptr, *SourceFuncs, uintptr) *
210 func (x *MainContext) FindSourceByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) *Source {214 func (x *MainContext) FindSourceByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) *Source {
211 215
212 cret := xMainContextFindSourceByFuncsUserData(x.GoPointer(), FuncsVar, UserDataVar)216 cret := xMainContextFindSourceByFuncsUserData(x.GoPointer(), FuncsVar, UserDataVar)
217+
213 return cret218 return cret
214 }219 }
215 220
@@ -230,6 +235,7 @@ var xMainContextFindSourceById func(uintptr, uint) *Source
230 func (x *MainContext) FindSourceById(SourceIdVar uint) *Source {235 func (x *MainContext) FindSourceById(SourceIdVar uint) *Source {
231 236
232 cret := xMainContextFindSourceById(x.GoPointer(), SourceIdVar)237 cret := xMainContextFindSourceById(x.GoPointer(), SourceIdVar)
238+
233 return cret239 return cret
234 }240 }
235 241
@@ -242,6 +248,7 @@ var xMainContextFindSourceByUserData func(uintptr, uintptr) *Source
242 func (x *MainContext) FindSourceByUserData(UserDataVar uintptr) *Source {248 func (x *MainContext) FindSourceByUserData(UserDataVar uintptr) *Source {
243 249
244 cret := xMainContextFindSourceByUserData(x.GoPointer(), UserDataVar)250 cret := xMainContextFindSourceByUserData(x.GoPointer(), UserDataVar)
251+
245 return cret252 return cret
246 }253 }
247 254
@@ -251,6 +258,7 @@ var xMainContextGetPollFunc func(uintptr) uintptr
251 func (x *MainContext) GetPollFunc() uintptr {258 func (x *MainContext) GetPollFunc() uintptr {
252 259
253 cret := xMainContextGetPollFunc(x.GoPointer())260 cret := xMainContextGetPollFunc(x.GoPointer())
261+
254 return cret262 return cret
255 }263 }
256 264
@@ -357,6 +365,7 @@ var xMainContextIsOwner func(uintptr) bool
357 func (x *MainContext) IsOwner() bool {365 func (x *MainContext) IsOwner() bool {
358 366
359 cret := xMainContextIsOwner(x.GoPointer())367 cret := xMainContextIsOwner(x.GoPointer())
368+
360 return cret369 return cret
361 }370 }
362 371
@@ -378,6 +387,7 @@ var xMainContextIteration func(uintptr, bool) bool
378 func (x *MainContext) Iteration(MayBlockVar bool) bool {387 func (x *MainContext) Iteration(MayBlockVar bool) bool {
379 388
380 cret := xMainContextIteration(x.GoPointer(), MayBlockVar)389 cret := xMainContextIteration(x.GoPointer(), MayBlockVar)
390+
381 return cret391 return cret
382 }392 }
383 393
@@ -387,6 +397,7 @@ var xMainContextPending func(uintptr) bool
387 func (x *MainContext) Pending() bool {397 func (x *MainContext) Pending() bool {
388 398
389 cret := xMainContextPending(x.GoPointer())399 cret := xMainContextPending(x.GoPointer())
400+
390 return cret401 return cret
391 }402 }
392 403
@@ -412,6 +423,7 @@ var xMainContextPrepare func(uintptr, *int) bool
412 func (x *MainContext) Prepare(PriorityVar *int) bool {423 func (x *MainContext) Prepare(PriorityVar *int) bool {
413 424
414 cret := xMainContextPrepare(x.GoPointer(), PriorityVar)425 cret := xMainContextPrepare(x.GoPointer(), PriorityVar)
426+
415 return cret427 return cret
416 }428 }
417 429
@@ -507,6 +519,7 @@ var xMainContextPusherNew func(uintptr) *MainContextPusher
507 func (x *MainContext) PusherNew() *MainContextPusher {519 func (x *MainContext) PusherNew() *MainContextPusher {
508 520
509 cret := xMainContextPusherNew(x.GoPointer())521 cret := xMainContextPusherNew(x.GoPointer())
522+
510 return cret523 return cret
511 }524 }
512 525
@@ -524,6 +537,7 @@ var xMainContextQuery func(uintptr, int, *int, *[]PollFD, int) int
524 func (x *MainContext) Query(MaxPriorityVar int, TimeoutVar *int, FdsVar *[]PollFD, NFdsVar int) int {537 func (x *MainContext) Query(MaxPriorityVar int, TimeoutVar *int, FdsVar *[]PollFD, NFdsVar int) int {
525 538
526 cret := xMainContextQuery(x.GoPointer(), MaxPriorityVar, TimeoutVar, FdsVar, NFdsVar)539 cret := xMainContextQuery(x.GoPointer(), MaxPriorityVar, TimeoutVar, FdsVar, NFdsVar)
540+
527 return cret541 return cret
528 }542 }
529 543
@@ -533,6 +547,7 @@ var xMainContextRef func(uintptr) *MainContext
533 func (x *MainContext) Ref() *MainContext {547 func (x *MainContext) Ref() *MainContext {
534 548
535 cret := xMainContextRef(x.GoPointer())549 cret := xMainContextRef(x.GoPointer())
550+
536 return cret551 return cret
537 }552 }
538 553
@@ -617,6 +632,7 @@ var xMainContextWait func(uintptr, *Cond, *Mutex) bool
617 func (x *MainContext) Wait(CondVar *Cond, MutexVar *Mutex) bool {632 func (x *MainContext) Wait(CondVar *Cond, MutexVar *Mutex) bool {
618 633
619 cret := xMainContextWait(x.GoPointer(), CondVar, MutexVar)634 cret := xMainContextWait(x.GoPointer(), CondVar, MutexVar)
635+
620 return cret636 return cret
621 }637 }
622 638
@@ -685,6 +701,7 @@ var xNewMainLoop func(*MainContext, bool) *MainLoop
685 func NewMainLoop(ContextVar *MainContext, IsRunningVar bool) *MainLoop {701 func NewMainLoop(ContextVar *MainContext, IsRunningVar bool) *MainLoop {
686 702
687 cret := xNewMainLoop(ContextVar, IsRunningVar)703 cret := xNewMainLoop(ContextVar, IsRunningVar)
704+
688 return cret705 return cret
689 }706 }
690 707
@@ -694,6 +711,7 @@ var xMainLoopGetContext func(uintptr) *MainContext
694 func (x *MainLoop) GetContext() *MainContext {711 func (x *MainLoop) GetContext() *MainContext {
695 712
696 cret := xMainLoopGetContext(x.GoPointer())713 cret := xMainLoopGetContext(x.GoPointer())
714+
697 return cret715 return cret
698 }716 }
699 717
@@ -704,6 +722,7 @@ var xMainLoopIsRunning func(uintptr) bool
704 func (x *MainLoop) IsRunning() bool {722 func (x *MainLoop) IsRunning() bool {
705 723
706 cret := xMainLoopIsRunning(x.GoPointer())724 cret := xMainLoopIsRunning(x.GoPointer())
725+
707 return cret726 return cret
708 }727 }
709 728
@@ -726,6 +745,7 @@ var xMainLoopRef func(uintptr) *MainLoop
726 func (x *MainLoop) Ref() *MainLoop {745 func (x *MainLoop) Ref() *MainLoop {
727 746
728 cret := xMainLoopRef(x.GoPointer())747 cret := xMainLoopRef(x.GoPointer())
748+
729 return cret749 return cret
730 }750 }
731 751
@@ -810,6 +830,7 @@ var xNewSource func(*SourceFuncs, uint) *Source
810 func NewSource(SourceFuncsVar *SourceFuncs, StructSizeVar uint) *Source {830 func NewSource(SourceFuncsVar *SourceFuncs, StructSizeVar uint) *Source {
811 831
812 cret := xNewSource(SourceFuncsVar, StructSizeVar)832 cret := xNewSource(SourceFuncsVar, StructSizeVar)
833+
813 return cret834 return cret
814 }835 }
815 836
@@ -880,6 +901,7 @@ var xSourceAddUnixFd func(uintptr, int, IOCondition) uintptr
880 func (x *Source) AddUnixFd(FdVar int, EventsVar IOCondition) uintptr {901 func (x *Source) AddUnixFd(FdVar int, EventsVar IOCondition) uintptr {
881 902
882 cret := xSourceAddUnixFd(x.GoPointer(), FdVar, EventsVar)903 cret := xSourceAddUnixFd(x.GoPointer(), FdVar, EventsVar)
904+
883 return cret905 return cret
884 }906 }
885 907
@@ -895,6 +917,7 @@ var xSourceAttach func(uintptr, *MainContext) uint
895 func (x *Source) Attach(ContextVar *MainContext) uint {917 func (x *Source) Attach(ContextVar *MainContext) uint {
896 918
897 cret := xSourceAttach(x.GoPointer(), ContextVar)919 cret := xSourceAttach(x.GoPointer(), ContextVar)
920+
898 return cret921 return cret
899 }922 }
900 923
@@ -934,6 +957,7 @@ var xSourceDupContext func(uintptr) *MainContext
934 func (x *Source) DupContext() *MainContext {957 func (x *Source) DupContext() *MainContext {
935 958
936 cret := xSourceDupContext(x.GoPointer())959 cret := xSourceDupContext(x.GoPointer())
960+
937 return cret961 return cret
938 }962 }
939 963
@@ -945,6 +969,7 @@ var xSourceGetCanRecurse func(uintptr) bool
945 func (x *Source) GetCanRecurse() bool {969 func (x *Source) GetCanRecurse() bool {
946 970
947 cret := xSourceGetCanRecurse(x.GoPointer())971 cret := xSourceGetCanRecurse(x.GoPointer())
972+
948 return cret973 return cret
949 }974 }
950 975
@@ -965,6 +990,7 @@ var xSourceGetContext func(uintptr) *MainContext
965 func (x *Source) GetContext() *MainContext {990 func (x *Source) GetContext() *MainContext {
966 991
967 cret := xSourceGetContext(x.GoPointer())992 cret := xSourceGetContext(x.GoPointer())
993+
968 return cret994 return cret
969 }995 }
970 996
@@ -995,6 +1021,7 @@ var xSourceGetId func(uintptr) uint
995 func (x *Source) GetId() uint {1021 func (x *Source) GetId() uint {
996 1022
997 cret := xSourceGetId(x.GoPointer())1023 cret := xSourceGetId(x.GoPointer())
1024+
998 return cret1025 return cret
999 }1026 }
1000 1027
@@ -1007,6 +1034,7 @@ var xSourceGetName func(uintptr) string
1007 func (x *Source) GetName() string {1034 func (x *Source) GetName() string {
1008 1035
1009 cret := xSourceGetName(x.GoPointer())1036 cret := xSourceGetName(x.GoPointer())
1037+
1010 return cret1038 return cret
1011 }1039 }
1012 1040
@@ -1016,6 +1044,7 @@ var xSourceGetPriority func(uintptr) int
1016 func (x *Source) GetPriority() int {1044 func (x *Source) GetPriority() int {
1017 1045
1018 cret := xSourceGetPriority(x.GoPointer())1046 cret := xSourceGetPriority(x.GoPointer())
1047+
1019 return cret1048 return cret
1020 }1049 }
1021 1050
@@ -1029,6 +1058,7 @@ var xSourceGetReadyTime func(uintptr) int64
1029 func (x *Source) GetReadyTime() int64 {1058 func (x *Source) GetReadyTime() int64 {
1030 1059
1031 cret := xSourceGetReadyTime(x.GoPointer())1060 cret := xSourceGetReadyTime(x.GoPointer())
1061+
1032 return cret1062 return cret
1033 }1063 }
1034 1064
@@ -1046,6 +1076,7 @@ var xSourceGetTime func(uintptr) int64
1046 func (x *Source) GetTime() int64 {1076 func (x *Source) GetTime() int64 {
1047 1077
1048 cret := xSourceGetTime(x.GoPointer())1078 cret := xSourceGetTime(x.GoPointer())
1079+
1049 return cret1080 return cret
1050 }1081 }
1051 1082
@@ -1139,6 +1170,7 @@ var xSourceIsDestroyed func(uintptr) bool
1139 func (x *Source) IsDestroyed() bool {1170 func (x *Source) IsDestroyed() bool {
1140 1171
1141 cret := xSourceIsDestroyed(x.GoPointer())1172 cret := xSourceIsDestroyed(x.GoPointer())
1173+
1142 return cret1174 return cret
1143 }1175 }
1144 1176
@@ -1176,6 +1208,7 @@ var xSourceQueryUnixFd func(uintptr, uintptr) IOCondition
1176 func (x *Source) QueryUnixFd(TagVar uintptr) IOCondition {1208 func (x *Source) QueryUnixFd(TagVar uintptr) IOCondition {
1177 1209
1178 cret := xSourceQueryUnixFd(x.GoPointer(), TagVar)1210 cret := xSourceQueryUnixFd(x.GoPointer(), TagVar)
1211+
1179 return cret1212 return cret
1180 }1213 }
1181 1214
@@ -1185,6 +1218,7 @@ var xSourceRef func(uintptr) *Source
1185 func (x *Source) Ref() *Source {1218 func (x *Source) Ref() *Source {
1186 1219
1187 cret := xSourceRef(x.GoPointer())1220 cret := xSourceRef(x.GoPointer())
1221+
1188 return cret1222 return cret
1189 }1223 }
1190 1224
@@ -1716,6 +1750,7 @@ func ChildWatchAdd(PidVar Pid, FunctionVar *ChildWatchFunc, DataVar uintptr) uin
1716 }1750 }
1717 1751
1718 cret := xChildWatchAdd(PidVar, FunctionVarRef, DataVar)1752 cret := xChildWatchAdd(PidVar, FunctionVarRef, DataVar)
1753+
1719 return cret1754 return cret
1720 }1755 }
1721 1756
@@ -1779,6 +1814,7 @@ func ChildWatchAddFull(PriorityVar int, PidVar Pid, FunctionVar *ChildWatchFunc,
1779 }1814 }
1780 1815
1781 cret := xChildWatchAddFull(PriorityVar, PidVar, FunctionVarRef, DataVar, NotifyVarRef)1816 cret := xChildWatchAddFull(PriorityVar, PidVar, FunctionVarRef, DataVar, NotifyVarRef)
1817+
1782 return cret1818 return cret
1783 }1819 }
1784 1820
@@ -1827,6 +1863,7 @@ var xChildWatchSourceNew func(Pid) *Source
1827 func ChildWatchSourceNew(PidVar Pid) *Source {1863 func ChildWatchSourceNew(PidVar Pid) *Source {
1828 1864
1829 cret := xChildWatchSourceNew(PidVar)1865 cret := xChildWatchSourceNew(PidVar)
1866+
1830 return cret1867 return cret
1831 }1868 }
1832 1869
@@ -1893,6 +1930,7 @@ var xGetMonotonicTime func() int64
1893 func GetMonotonicTime() int64 {1930 func GetMonotonicTime() int64 {
1894 1931
1895 cret := xGetMonotonicTime()1932 cret := xGetMonotonicTime()
1933+
1896 return cret1934 return cret
1897 }1935 }
1898 1936
@@ -1909,6 +1947,7 @@ var xGetRealTime func() int64
1909 func GetRealTime() int64 {1947 func GetRealTime() int64 {
1910 1948
1911 cret := xGetRealTime()1949 cret := xGetRealTime()
1950+
1912 return cret1951 return cret
1913 }1952 }
1914 1953
@@ -1948,6 +1987,7 @@ func IdleAdd(FunctionVar *SourceFunc, DataVar uintptr) uint {
1948 }1987 }
1949 1988
1950 cret := xIdleAdd(FunctionVarRef, DataVar)1989 cret := xIdleAdd(FunctionVarRef, DataVar)
1990+
1951 return cret1991 return cret
1952 }1992 }
1953 1993
@@ -2000,6 +2040,7 @@ func IdleAddFull(PriorityVar int, FunctionVar *SourceFunc, DataVar uintptr, Noti
2000 }2040 }
2001 2041
2002 cret := xIdleAddFull(PriorityVar, FunctionVarRef, DataVar, NotifyVarRef)2042 cret := xIdleAddFull(PriorityVar, FunctionVarRef, DataVar, NotifyVarRef)
2043+
2003 return cret2044 return cret
2004 }2045 }
2005 2046
@@ -2033,6 +2074,7 @@ func IdleAddOnce(FunctionVar *SourceOnceFunc, DataVar uintptr) uint {
2033 }2074 }
2034 2075
2035 cret := xIdleAddOnce(FunctionVarRef, DataVar)2076 cret := xIdleAddOnce(FunctionVarRef, DataVar)
2077+
2036 return cret2078 return cret
2037 }2079 }
2038 2080
@@ -2042,6 +2084,7 @@ var xIdleRemoveByData func(uintptr) bool
2042 func IdleRemoveByData(DataVar uintptr) bool {2084 func IdleRemoveByData(DataVar uintptr) bool {
2043 2085
2044 cret := xIdleRemoveByData(DataVar)2086 cret := xIdleRemoveByData(DataVar)
2087+
2045 return cret2088 return cret
2046 }2089 }
2047 2090
@@ -2058,6 +2101,7 @@ var xIdleSourceNew func() *Source
2058 func IdleSourceNew() *Source {2101 func IdleSourceNew() *Source {
2059 2102
2060 cret := xIdleSourceNew()2103 cret := xIdleSourceNew()
2104+
2061 return cret2105 return cret
2062 }2106 }
2063 2107
@@ -2072,6 +2116,7 @@ var xMainContextDefault func() *MainContext
2072 func MainContextDefault() *MainContext {2116 func MainContextDefault() *MainContext {
2073 2117
2074 cret := xMainContextDefault()2118 cret := xMainContextDefault()
2119+
2075 return cret2120 return cret
2076 }2121 }
2077 2122
@@ -2092,6 +2137,7 @@ var xMainContextGetThreadDefault func() *MainContext
2092 func MainContextGetThreadDefault() *MainContext {2137 func MainContextGetThreadDefault() *MainContext {
2093 2138
2094 cret := xMainContextGetThreadDefault()2139 cret := xMainContextGetThreadDefault()
2140+
2095 return cret2141 return cret
2096 }2142 }
2097 2143
@@ -2110,6 +2156,7 @@ var xMainContextRefThreadDefault func() *MainContext
2110 func MainContextRefThreadDefault() *MainContext {2156 func MainContextRefThreadDefault() *MainContext {
2111 2157
2112 cret := xMainContextRefThreadDefault()2158 cret := xMainContextRefThreadDefault()
2159+
2113 return cret2160 return cret
2114 }2161 }
2115 2162
@@ -2119,6 +2166,7 @@ var xMainCurrentSource func() *Source
2119 func MainCurrentSource() *Source {2166 func MainCurrentSource() *Source {
2120 2167
2121 cret := xMainCurrentSource()2168 cret := xMainCurrentSource()
2169+
2122 return cret2170 return cret
2123 }2171 }
2124 2172
@@ -2236,6 +2284,7 @@ var xMainDepth func() int
2236 func MainDepth() int {2284 func MainDepth() int {
2237 2285
2238 cret := xMainDepth()2286 cret := xMainDepth()
2287+
2239 return cret2288 return cret
2240 }2289 }
2241 2290
@@ -2266,6 +2315,7 @@ var xSourceRemove func(uint) bool
2266 func SourceRemove(TagVar uint) bool {2315 func SourceRemove(TagVar uint) bool {
2267 2316
2268 cret := xSourceRemove(TagVar)2317 cret := xSourceRemove(TagVar)
2318+
2269 return cret2319 return cret
2270 }2320 }
2271 2321
@@ -2279,6 +2329,7 @@ var xSourceRemoveByFuncsUserData func(*SourceFuncs, uintptr) bool
2279 func SourceRemoveByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) bool {2329 func SourceRemoveByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) bool {
2280 2330
2281 cret := xSourceRemoveByFuncsUserData(FuncsVar, UserDataVar)2331 cret := xSourceRemoveByFuncsUserData(FuncsVar, UserDataVar)
2332+
2282 return cret2333 return cret
2283 }2334 }
2284 2335
@@ -2291,6 +2342,7 @@ var xSourceRemoveByUserData func(uintptr) bool
2291 func SourceRemoveByUserData(UserDataVar uintptr) bool {2342 func SourceRemoveByUserData(UserDataVar uintptr) bool {
2292 2343
2293 cret := xSourceRemoveByUserData(UserDataVar)2344 cret := xSourceRemoveByUserData(UserDataVar)
2345+
2294 return cret2346 return cret
2295 }2347 }
2296 2348
@@ -2371,6 +2423,7 @@ func TimeoutAdd(IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr) uint
2371 }2423 }
2372 2424
2373 cret := xTimeoutAdd(IntervalVar, FunctionVarRef, DataVar)2425 cret := xTimeoutAdd(IntervalVar, FunctionVarRef, DataVar)
2426+
2374 return cret2427 return cret
2375 }2428 }
2376 2429
@@ -2437,6 +2490,7 @@ func TimeoutAddFull(PriorityVar int, IntervalVar uint, FunctionVar *SourceFunc,
2437 }2490 }
2438 2491
2439 cret := xTimeoutAddFull(PriorityVar, IntervalVar, FunctionVarRef, DataVar, NotifyVarRef)2492 cret := xTimeoutAddFull(PriorityVar, IntervalVar, FunctionVarRef, DataVar, NotifyVarRef)
2493+
2440 return cret2494 return cret
2441 }2495 }
2442 2496
@@ -2467,6 +2521,7 @@ func TimeoutAddOnce(IntervalVar uint, FunctionVar *SourceOnceFunc, DataVar uintp
2467 }2521 }
2468 2522
2469 cret := xTimeoutAddOnce(IntervalVar, FunctionVarRef, DataVar)2523 cret := xTimeoutAddOnce(IntervalVar, FunctionVarRef, DataVar)
2524+
2470 return cret2525 return cret
2471 }2526 }
2472 2527
@@ -2513,6 +2568,7 @@ func TimeoutAddSeconds(IntervalVar uint, FunctionVar *SourceFunc, DataVar uintpt
2513 }2568 }
2514 2569
2515 cret := xTimeoutAddSeconds(IntervalVar, FunctionVarRef, DataVar)2570 cret := xTimeoutAddSeconds(IntervalVar, FunctionVarRef, DataVar)
2571+
2516 return cret2572 return cret
2517 }2573 }
2518 2574
@@ -2591,6 +2647,7 @@ func TimeoutAddSecondsFull(PriorityVar int, IntervalVar uint, FunctionVar *Sourc
2591 }2647 }
2592 2648
2593 cret := xTimeoutAddSecondsFull(PriorityVar, IntervalVar, FunctionVarRef, DataVar, NotifyVarRef)2649 cret := xTimeoutAddSecondsFull(PriorityVar, IntervalVar, FunctionVarRef, DataVar, NotifyVarRef)
2650+
2594 return cret2651 return cret
2595 }2652 }
2596 2653
@@ -2616,6 +2673,7 @@ func TimeoutAddSecondsOnce(IntervalVar uint, FunctionVar *SourceOnceFunc, DataVa
2616 }2673 }
2617 2674
2618 cret := xTimeoutAddSecondsOnce(IntervalVar, FunctionVarRef, DataVar)2675 cret := xTimeoutAddSecondsOnce(IntervalVar, FunctionVarRef, DataVar)
2676+
2619 return cret2677 return cret
2620 }2678 }
2621 2679
@@ -2632,6 +2690,7 @@ var xTimeoutSourceNew func(uint) *Source
2632 func TimeoutSourceNew(IntervalVar uint) *Source {2690 func TimeoutSourceNew(IntervalVar uint) *Source {
2633 2691
2634 cret := xTimeoutSourceNew(IntervalVar)2692 cret := xTimeoutSourceNew(IntervalVar)
2693+
2635 return cret2694 return cret
2636 }2695 }
2637 2696
@@ -2651,6 +2710,7 @@ var xTimeoutSourceNewSeconds func(uint) *Source
2651 func TimeoutSourceNewSeconds(IntervalVar uint) *Source {2710 func TimeoutSourceNewSeconds(IntervalVar uint) *Source {
2652 2711
2653 cret := xTimeoutSourceNewSeconds(IntervalVar)2712 cret := xTimeoutSourceNewSeconds(IntervalVar)
2713+
2654 return cret2714 return cret
2655 }2715 }
2656 2716
M v4/glib/gmappedfile.go +6 -0
@@ -49,6 +49,7 @@ func NewMappedFile(FilenameVar string, WritableVar bool) (*MappedFile, error) {
49 var cerr *Error49 var cerr *Error
50 50
51 cret := xNewMappedFile(FilenameVar, WritableVar, &cerr)51 cret := xNewMappedFile(FilenameVar, WritableVar, &cerr)
52+
52 if cerr == nil {53 if cerr == nil {
53 return cret, nil54 return cret, nil
54 }55 }
@@ -73,6 +74,7 @@ func NewMappedFileFromFd(FdVar int, WritableVar bool) (*MappedFile, error) {
73 var cerr *Error74 var cerr *Error
74 75
75 cret := xNewMappedFileFromFd(FdVar, WritableVar, &cerr)76 cret := xNewMappedFileFromFd(FdVar, WritableVar, &cerr)
77+
76 if cerr == nil {78 if cerr == nil {
77 return cret, nil79 return cret, nil
78 }80 }
@@ -98,6 +100,7 @@ var xMappedFileGetBytes func(uintptr) *Bytes
98 func (x *MappedFile) GetBytes() *Bytes {100 func (x *MappedFile) GetBytes() *Bytes {
99 101
100 cret := xMappedFileGetBytes(x.GoPointer())102 cret := xMappedFileGetBytes(x.GoPointer())
103+
101 return cret104 return cret
102 }105 }
103 106
@@ -112,6 +115,7 @@ var xMappedFileGetContents func(uintptr) string
112 func (x *MappedFile) GetContents() string {115 func (x *MappedFile) GetContents() string {
113 116
114 cret := xMappedFileGetContents(x.GoPointer())117 cret := xMappedFileGetContents(x.GoPointer())
118+
115 return cret119 return cret
116 }120 }
117 121
@@ -121,6 +125,7 @@ var xMappedFileGetLength func(uintptr) uint
121 func (x *MappedFile) GetLength() uint {125 func (x *MappedFile) GetLength() uint {
122 126
123 cret := xMappedFileGetLength(x.GoPointer())127 cret := xMappedFileGetLength(x.GoPointer())
128+
124 return cret129 return cret
125 }130 }
126 131
@@ -131,6 +136,7 @@ var xMappedFileRef func(uintptr) *MappedFile
131 func (x *MappedFile) Ref() *MappedFile {136 func (x *MappedFile) Ref() *MappedFile {
132 137
133 cret := xMappedFileRef(x.GoPointer())138 cret := xMappedFileRef(x.GoPointer())
139+
134 return cret140 return cret
135 }141 }
136 142
M v4/glib/gmarkup.go +12 -0
@@ -54,6 +54,7 @@ func NewMarkupParseContext(ParserVar *MarkupParser, FlagsVar MarkupParseFlags, U
54 }54 }
55 55
56 cret := xNewMarkupParseContext(ParserVar, FlagsVar, UserDataVar, UserDataDnotifyVarRef)56 cret := xNewMarkupParseContext(ParserVar, FlagsVar, UserDataVar, UserDataDnotifyVarRef)
57+
57 return cret58 return cret
58 }59 }
59 60
@@ -68,6 +69,7 @@ func (x *MarkupParseContext) EndParse() (bool, error) {
68 var cerr *Error69 var cerr *Error
69 70
70 cret := xMarkupParseContextEndParse(x.GoPointer())71 cret := xMarkupParseContextEndParse(x.GoPointer())
72+
71 if cerr == nil {73 if cerr == nil {
72 return cret, nil74 return cret, nil
73 }75 }
@@ -97,6 +99,7 @@ var xMarkupParseContextGetElement func(uintptr) string
97 func (x *MarkupParseContext) GetElement() string {99 func (x *MarkupParseContext) GetElement() string {
98 100
99 cret := xMarkupParseContextGetElement(x.GoPointer())101 cret := xMarkupParseContextGetElement(x.GoPointer())
102+
100 return cret103 return cret
101 }104 }
102 105
@@ -116,6 +119,7 @@ var xMarkupParseContextGetElementStack func(uintptr) *SList
116 func (x *MarkupParseContext) GetElementStack() *SList {119 func (x *MarkupParseContext) GetElementStack() *SList {
117 120
118 cret := xMarkupParseContextGetElementStack(x.GoPointer())121 cret := xMarkupParseContextGetElementStack(x.GoPointer())
122+
119 return cret123 return cret
120 }124 }
121 125
@@ -141,6 +145,7 @@ var xMarkupParseContextGetUserData func(uintptr) uintptr
141 func (x *MarkupParseContext) GetUserData() uintptr {145 func (x *MarkupParseContext) GetUserData() uintptr {
142 146
143 cret := xMarkupParseContextGetUserData(x.GoPointer())147 cret := xMarkupParseContextGetUserData(x.GoPointer())
148+
144 return cret149 return cret
145 }150 }
146 151
@@ -160,6 +165,7 @@ func (x *MarkupParseContext) Parse(TextVar string, TextLenVar int) (bool, error)
160 var cerr *Error165 var cerr *Error
161 166
162 cret := xMarkupParseContextParse(x.GoPointer(), TextVar, TextLenVar, &cerr)167 cret := xMarkupParseContextParse(x.GoPointer(), TextVar, TextLenVar, &cerr)
168+
163 if cerr == nil {169 if cerr == nil {
164 return cret, nil170 return cret, nil
165 }171 }
@@ -185,6 +191,7 @@ var xMarkupParseContextPop func(uintptr) uintptr
185 func (x *MarkupParseContext) Pop() uintptr {191 func (x *MarkupParseContext) Pop() uintptr {
186 192
187 cret := xMarkupParseContextPop(x.GoPointer())193 cret := xMarkupParseContextPop(x.GoPointer())
194+
188 return cret195 return cret
189 }196 }
190 197
@@ -329,6 +336,7 @@ var xMarkupParseContextRef func(uintptr) *MarkupParseContext
329 func (x *MarkupParseContext) Ref() *MarkupParseContext {336 func (x *MarkupParseContext) Ref() *MarkupParseContext {
330 337
331 cret := xMarkupParseContextRef(x.GoPointer())338 cret := xMarkupParseContextRef(x.GoPointer())
339+
332 return cret340 return cret
333 }341 }
334 342
@@ -657,6 +665,7 @@ var xMarkupCollectAttributes func(string, string, string, **Error, MarkupCollect
657 func MarkupCollectAttributes(ElementNameVar string, AttributeNamesVar string, AttributeValuesVar string, ErrorVar **Error, FirstTypeVar MarkupCollectType, FirstAttrVar string, varArgs ...interface{}) bool {665 func MarkupCollectAttributes(ElementNameVar string, AttributeNamesVar string, AttributeValuesVar string, ErrorVar **Error, FirstTypeVar MarkupCollectType, FirstAttrVar string, varArgs ...interface{}) bool {
658 666
659 cret := xMarkupCollectAttributes(ElementNameVar, AttributeNamesVar, AttributeValuesVar, ErrorVar, FirstTypeVar, FirstAttrVar, varArgs...)667 cret := xMarkupCollectAttributes(ElementNameVar, AttributeNamesVar, AttributeValuesVar, ErrorVar, FirstTypeVar, FirstAttrVar, varArgs...)
668+
660 return cret669 return cret
661 }670 }
662 671
@@ -679,6 +688,7 @@ var xMarkupEscapeText func(string, int) string
679 func MarkupEscapeText(TextVar string, LengthVar int) string {688 func MarkupEscapeText(TextVar string, LengthVar int) string {
680 689
681 cret := xMarkupEscapeText(TextVar, LengthVar)690 cret := xMarkupEscapeText(TextVar, LengthVar)
691+
682 return cret692 return cret
683 }693 }
684 694
@@ -707,6 +717,7 @@ var xMarkupPrintfEscaped func(string, ...interface{}) string
707 func MarkupPrintfEscaped(FormatVar string, varArgs ...interface{}) string {717 func MarkupPrintfEscaped(FormatVar string, varArgs ...interface{}) string {
708 718
709 cret := xMarkupPrintfEscaped(FormatVar, varArgs...)719 cret := xMarkupPrintfEscaped(FormatVar, varArgs...)
720+
710 return cret721 return cret
711 }722 }
712 723
@@ -718,6 +729,7 @@ var xMarkupVprintfEscaped func(string, []interface{}) string
718 func MarkupVprintfEscaped(FormatVar string, ArgsVar []interface{}) string {729 func MarkupVprintfEscaped(FormatVar string, ArgsVar []interface{}) string {
719 730
720 cret := xMarkupVprintfEscaped(FormatVar, ArgsVar)731 cret := xMarkupVprintfEscaped(FormatVar, ArgsVar)
732+
721 return cret733 return cret
722 }734 }
723 735
M v4/glib/gmem.go +15 -0
@@ -199,6 +199,7 @@ var xAlignedAlloc func(uint, uint, uint) uintptr
199 func AlignedAlloc(NBlocksVar uint, NBlockBytesVar uint, AlignmentVar uint) uintptr {199 func AlignedAlloc(NBlocksVar uint, NBlockBytesVar uint, AlignmentVar uint) uintptr {
200 200
201 cret := xAlignedAlloc(NBlocksVar, NBlockBytesVar, AlignmentVar)201 cret := xAlignedAlloc(NBlocksVar, NBlockBytesVar, AlignmentVar)
202+
202 return cret203 return cret
203 }204 }
204 205
@@ -209,6 +210,7 @@ var xAlignedAlloc0 func(uint, uint, uint) uintptr
209 func AlignedAlloc0(NBlocksVar uint, NBlockBytesVar uint, AlignmentVar uint) uintptr {210 func AlignedAlloc0(NBlocksVar uint, NBlockBytesVar uint, AlignmentVar uint) uintptr {
210 211
211 cret := xAlignedAlloc0(NBlocksVar, NBlockBytesVar, AlignmentVar)212 cret := xAlignedAlloc0(NBlocksVar, NBlockBytesVar, AlignmentVar)
213+
212 return cret214 return cret
213 }215 }
214 216
@@ -348,6 +350,7 @@ var xMalloc func(uint) uintptr
348 func Malloc(NBytesVar uint) uintptr {350 func Malloc(NBytesVar uint) uintptr {
349 351
350 cret := xMalloc(NBytesVar)352 cret := xMalloc(NBytesVar)
353+
351 return cret354 return cret
352 }355 }
353 356
@@ -361,6 +364,7 @@ var xMalloc0 func(uint) uintptr
361 func Malloc0(NBytesVar uint) uintptr {364 func Malloc0(NBytesVar uint) uintptr {
362 365
363 cret := xMalloc0(NBytesVar)366 cret := xMalloc0(NBytesVar)
367+
364 return cret368 return cret
365 }369 }
366 370
@@ -374,6 +378,7 @@ var xMalloc0N func(uint, uint) uintptr
374 func Malloc0N(NBlocksVar uint, NBlockBytesVar uint) uintptr {378 func Malloc0N(NBlocksVar uint, NBlockBytesVar uint) uintptr {
375 379
376 cret := xMalloc0N(NBlocksVar, NBlockBytesVar)380 cret := xMalloc0N(NBlocksVar, NBlockBytesVar)
381+
377 return cret382 return cret
378 }383 }
379 384
@@ -387,6 +392,7 @@ var xMallocN func(uint, uint) uintptr
387 func MallocN(NBlocksVar uint, NBlockBytesVar uint) uintptr {392 func MallocN(NBlocksVar uint, NBlockBytesVar uint) uintptr {
388 393
389 cret := xMallocN(NBlocksVar, NBlockBytesVar)394 cret := xMallocN(NBlocksVar, NBlockBytesVar)
395+
390 return cret396 return cret
391 }397 }
392 398
@@ -400,6 +406,7 @@ var xMemIsSystemMalloc func() bool
400 func MemIsSystemMalloc() bool {406 func MemIsSystemMalloc() bool {
401 407
402 cret := xMemIsSystemMalloc()408 cret := xMemIsSystemMalloc()
409+
403 return cret410 return cret
404 }411 }
405 412
@@ -439,6 +446,7 @@ var xRealloc func(uintptr, uint) uintptr
439 func Realloc(MemVar uintptr, NBytesVar uint) uintptr {446 func Realloc(MemVar uintptr, NBytesVar uint) uintptr {
440 447
441 cret := xRealloc(MemVar, NBytesVar)448 cret := xRealloc(MemVar, NBytesVar)
449+
442 return cret450 return cret
443 }451 }
444 452
@@ -452,6 +460,7 @@ var xReallocN func(uintptr, uint, uint) uintptr
452 func ReallocN(MemVar uintptr, NBlocksVar uint, NBlockBytesVar uint) uintptr {460 func ReallocN(MemVar uintptr, NBlocksVar uint, NBlockBytesVar uint) uintptr {
453 461
454 cret := xReallocN(MemVar, NBlocksVar, NBlockBytesVar)462 cret := xReallocN(MemVar, NBlocksVar, NBlockBytesVar)
463+
455 return cret464 return cret
456 }465 }
457 466
@@ -462,6 +471,7 @@ var xTryMalloc func(uint) uintptr
462 func TryMalloc(NBytesVar uint) uintptr {471 func TryMalloc(NBytesVar uint) uintptr {
463 472
464 cret := xTryMalloc(NBytesVar)473 cret := xTryMalloc(NBytesVar)
474+
465 return cret475 return cret
466 }476 }
467 477
@@ -472,6 +482,7 @@ var xTryMalloc0 func(uint) uintptr
472 func TryMalloc0(NBytesVar uint) uintptr {482 func TryMalloc0(NBytesVar uint) uintptr {
473 483
474 cret := xTryMalloc0(NBytesVar)484 cret := xTryMalloc0(NBytesVar)
485+
475 return cret486 return cret
476 }487 }
477 488
@@ -482,6 +493,7 @@ var xTryMalloc0N func(uint, uint) uintptr
482 func TryMalloc0N(NBlocksVar uint, NBlockBytesVar uint) uintptr {493 func TryMalloc0N(NBlocksVar uint, NBlockBytesVar uint) uintptr {
483 494
484 cret := xTryMalloc0N(NBlocksVar, NBlockBytesVar)495 cret := xTryMalloc0N(NBlocksVar, NBlockBytesVar)
496+
485 return cret497 return cret
486 }498 }
487 499
@@ -492,6 +504,7 @@ var xTryMallocN func(uint, uint) uintptr
492 func TryMallocN(NBlocksVar uint, NBlockBytesVar uint) uintptr {504 func TryMallocN(NBlocksVar uint, NBlockBytesVar uint) uintptr {
493 505
494 cret := xTryMallocN(NBlocksVar, NBlockBytesVar)506 cret := xTryMallocN(NBlocksVar, NBlockBytesVar)
507+
495 return cret508 return cret
496 }509 }
497 510
@@ -505,6 +518,7 @@ var xTryRealloc func(uintptr, uint) uintptr
505 func TryRealloc(MemVar uintptr, NBytesVar uint) uintptr {518 func TryRealloc(MemVar uintptr, NBytesVar uint) uintptr {
506 519
507 cret := xTryRealloc(MemVar, NBytesVar)520 cret := xTryRealloc(MemVar, NBytesVar)
521+
508 return cret522 return cret
509 }523 }
510 524
@@ -515,6 +529,7 @@ var xTryReallocN func(uintptr, uint, uint) uintptr
515 func TryReallocN(MemVar uintptr, NBlocksVar uint, NBlockBytesVar uint) uintptr {529 func TryReallocN(MemVar uintptr, NBlocksVar uint, NBlockBytesVar uint) uintptr {
516 530
517 cret := xTryReallocN(MemVar, NBlocksVar, NBlockBytesVar)531 cret := xTryReallocN(MemVar, NBlocksVar, NBlockBytesVar)
532+
518 return cret533 return cret
519 }534 }
520 535
M v4/glib/gmessages.go +81 -10 collapsed to keep the page light
M v4/glib/gnode.go +20 -0 collapsed to keep the page light
M v4/glib/goption.go +27 -3 collapsed to keep the page light
M v4/glib/gpathbuf.go +22 -2 collapsed to keep the page light
M v4/glib/gpattern.go +19 -2 collapsed to keep the page light
M v4/glib/gpoll.go +1 -0 collapsed to keep the page light
M v4/glib/gprimes.go +1 -0 collapsed to keep the page light
M v4/glib/gprintf.go +7 -0 collapsed to keep the page light
M v4/glib/gquark.go +33 -5 collapsed to keep the page light
M v4/glib/gqueue.go +21 -0 collapsed to keep the page light
M v4/glib/grand.go +12 -0 collapsed to keep the page light
M v4/glib/grcbox.go +10 -0 collapsed to keep the page light
M v4/glib/grefcount.go +4 -0 collapsed to keep the page light
M v4/glib/grefstring.go +6 -0 collapsed to keep the page light
M v4/glib/gregex.go +37 -0 collapsed to keep the page light
M v4/glib/grel.go +5 -0 collapsed to keep the page light
M v4/glib/gscanner.go +10 -0 collapsed to keep the page light
M v4/glib/gsequence.go +24 -0 collapsed to keep the page light
M v4/glib/gshell.go +3 -0 collapsed to keep the page light
M v4/glib/gslice.go +5 -0 collapsed to keep the page light
M v4/glib/gspawn.go +35 -5 collapsed to keep the page light
M v4/glib/gstdio.go +17 -0 collapsed to keep the page light
M v4/glib/gstrfuncs.go +99 -8 collapsed to keep the page light
M v4/glib/gstring.go +45 -2 collapsed to keep the page light
M v4/glib/gstringchunk.go +3 -0 collapsed to keep the page light
M v4/glib/gstrvbuilder.go +4 -0 collapsed to keep the page light
M v4/glib/gtestutils.go +67 -7 collapsed to keep the page light
M v4/glib/gthread.go +40 -2 collapsed to keep the page light
M v4/glib/gthreadpool.go +9 -0 collapsed to keep the page light
M v4/glib/gtimer.go +3 -0 collapsed to keep the page light
M v4/glib/gtimezone.go +23 -2 collapsed to keep the page light
M v4/glib/gtrashstack.go +3 -0 collapsed to keep the page light
M v4/glib/gtree.go +23 -0 collapsed to keep the page light
M v4/glib/gtypes.go +1 -0 collapsed to keep the page light
M v4/glib/gunicode.go +73 -1 collapsed to keep the page light
M v4/glib/guri.go +165 -10 collapsed to keep the page light
M v4/glib/gutils.go +32 -1 collapsed to keep the page light
M v4/glib/guuid.go +2 -0 collapsed to keep the page light
M v4/glib/gvariant-parser.go +1 -0 collapsed to keep the page light
M v4/glib/gvariant.go +120 -3 collapsed to keep the page light
M v4/glib/gvarianttype.go +36 -1 collapsed to keep the page light
M v4/glib/gversion.go +1 -0 collapsed to keep the page light
M v4/glib/main.go +16 -0 collapsed to keep the page light
M v4/gmodule/gmodule.go +12 -1 collapsed to keep the page light
M v4/gmodule/main.go +1 -0 collapsed to keep the page light
M v4/gobject/gbinding.go +3 -0 collapsed to keep the page light
M v4/gobject/gboxed.go +2 -0 collapsed to keep the page light
M v4/gobject/gclosure.go +6 -0 collapsed to keep the page light
M v4/gobject/genums.go +10 -0 collapsed to keep the page light
M v4/gobject/glib-types.go +1 -0 collapsed to keep the page light
M v4/gobject/gobject.go +15 -0 collapsed to keep the page light
M v4/gobject/gparam.go +26 -1 collapsed to keep the page light
M v4/gobject/gparamspecs.go +204 -22 collapsed to keep the page light
M v4/gobject/gsignal.go +22 -0 collapsed to keep the page light
M v4/gobject/gtype.go +47 -0 collapsed to keep the page light
M v4/gobject/gtypemodule.go +4 -0 collapsed to keep the page light
M v4/gobject/gvalue.go +56 -5 collapsed to keep the page light
M v4/gobject/gvaluearray.go +9 -0 collapsed to keep the page light
M v4/gobject/gvaluetypes.go +3 -0 collapsed to keep the page light
M v4/graphene/graphene-box.go +19 -0 collapsed to keep the page light
M v4/graphene/graphene-euler.go +16 -0 collapsed to keep the page light
M v4/graphene/graphene-frustum.go +8 -0 collapsed to keep the page light
M v4/graphene/graphene-matrix.go +33 -0 collapsed to keep the page light
M v4/graphene/graphene-plane.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-point.go +8 -0 collapsed to keep the page light
M v4/graphene/graphene-point3d.go +10 -0 collapsed to keep the page light
M v4/graphene/graphene-quad.go +6 -0 collapsed to keep the page light
M v4/graphene/graphene-quaternion.go +12 -0 collapsed to keep the page light
M v4/graphene/graphene-ray.go +13 -0 collapsed to keep the page light
M v4/graphene/graphene-rect.go +17 -0 collapsed to keep the page light
M v4/graphene/graphene-size.go +5 -0 collapsed to keep the page light
M v4/graphene/graphene-sphere.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-triangle.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-vec2.go +14 -0 collapsed to keep the page light
M v4/graphene/graphene-vec3.go +16 -0 collapsed to keep the page light
M v4/graphene/graphene-vec4.go +20 -0 collapsed to keep the page light
M v4/gsk/gskcomponenttransfer.go +1 -0 collapsed to keep the page light
M v4/gsk/gskglshader.go +20 -0 collapsed to keep the page light
M v4/gsk/gskpath.go +1 -0 collapsed to keep the page light
M v4/gsk/gskpathpoint.go +6 -0 collapsed to keep the page light
M v4/gsk/gskrenderer.go +3 -0 collapsed to keep the page light
M v4/gsk/gskrendernode.go +5 -0 collapsed to keep the page light
M v4/gsk/gskrendernodeimpl.go +62 -0 collapsed to keep the page light
M v4/gsk/gskroundedrect.go +10 -0 collapsed to keep the page light
M v4/gsk/gskstroke.go +1 -0 collapsed to keep the page light
M v4/gsk/gsktransform.go +1 -0 collapsed to keep the page light
M v4/gsk/gsktypes.go +56 -0 collapsed to keep the page light
M v4/gsk/main.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkaboutdialog.go +65 -9 collapsed to keep the page light
M v4/gtk/gtkaccelgroup.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkaccessible.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkactionable.go +8 -1 collapsed to keep the page light
M v4/gtk/gtkactionbar.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkadjustment.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkalertdialog.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkappchooser.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkappchooserbutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkappchooserdialog.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkappchooserwidget.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkapplication.go +24 -2 collapsed to keep the page light
M v4/gtk/gtkapplicationwindow.go +14 -0 collapsed to keep the page light
M v4/gtk/gtkaspectframe.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkassistant.go +12 -0 collapsed to keep the page light
M v4/gtk/gtkatcontext.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkbitset.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkbookmarklist.go +22 -2 collapsed to keep the page light
M v4/gtk/gtkboolfilter.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkborder.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkbox.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkboxlayout.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkbuildable.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkbuilder.go +20 -1 collapsed to keep the page light
M v4/gtk/gtkbuilderlistitemfactory.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkbuilderscope.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkbutton.go +17 -1 collapsed to keep the page light
M v4/gtk/gtkcalendar.go +12 -0 collapsed to keep the page light
M v4/gtk/gtkcellarea.go +14 -0 collapsed to keep the page light
M v4/gtk/gtkcellareabox.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcelllayout.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderer.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkcellrendererprogress.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderertoggle.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcellview.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcenterbox.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkcenterlayout.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcheckbutton.go +31 -4 collapsed to keep the page light
M v4/gtk/gtkcolorbutton.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkcolorchooser.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkcolorchooserdialog.go +12 -1 collapsed to keep the page light
M v4/gtk/gtkcolorchooserwidget.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkcolordialog.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcolordialogbutton.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnview.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnviewcell.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnviewcolumn.go +22 -3 collapsed to keep the page light
M v4/gtk/gtkcolumnviewrow.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnviewsorter.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcombobox.go +21 -1 collapsed to keep the page light
M v4/gtk/gtkcomboboxtext.go +23 -3 collapsed to keep the page light
M v4/gtk/gtkconstraint.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkconstraintguide.go +8 -1 collapsed to keep the page light
M v4/gtk/gtkconstraintlayout.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkcsserror.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkcssprovider.go +7 -1 collapsed to keep the page light
M v4/gtk/gtkcsssection.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkdebug.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkdialog.go +15 -1 collapsed to keep the page light
M v4/gtk/gtkdialogerror.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkdirectorylist.go +19 -2 collapsed to keep the page light
M v4/gtk/gtkdragicon.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkdragsource.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkdrawingarea.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkdropcontrollermotion.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkdropdown.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkdroptarget.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkdroptargetasync.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeditable.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkeditablelabel.go +15 -0 collapsed to keep the page light
M v4/gtk/gtkemojichooser.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkentry.go +59 -4 collapsed to keep the page light
M v4/gtk/gtkentrybuffer.go +12 -1 collapsed to keep the page light
M v4/gtk/gtkentrycompletion.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkenums.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontroller.go +16 -2 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerfocus.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerkey.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollermotion.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerscroll.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkexpander.go +25 -3 collapsed to keep the page light
M v4/gtk/gtkexpression.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooser.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooserdialog.go +24 -1 collapsed to keep the page light
M v4/gtk/gtkfilechoosernative.go +35 -3 collapsed to keep the page light
M v4/gtk/gtkfilechooserwidget.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkfiledialog.go +15 -2 collapsed to keep the page light
M v4/gtk/gtkfilefilter.go +10 -1 collapsed to keep the page light
M v4/gtk/gtkfilelauncher.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkfilter.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkfilterlistmodel.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkfixed.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkfixedlayout.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkflattenlistmodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkflowbox.go +19 -0 collapsed to keep the page light
M v4/gtk/gtkfontbutton.go +16 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooser.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooserdialog.go +19 -1 collapsed to keep the page light
M v4/gtk/gtkfontchooserwidget.go +12 -0 collapsed to keep the page light
M v4/gtk/gtkfontdialog.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkfontdialogbutton.go +16 -1 collapsed to keep the page light
M v4/gtk/gtkframe.go +17 -2 collapsed to keep the page light
M v4/gtk/gtkgesture.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkgesturedrag.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkgesturelongpress.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkgesturepan.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkgesturerotate.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkgesturesingle.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkgesturestylus.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkgestureswipe.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkgesturezoom.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkglarea.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkgraphicsoffload.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkgrid.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkgridlayout.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkgridview.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkheaderbar.go +14 -1 collapsed to keep the page light
M v4/gtk/gtkiconpaintable.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkicontheme.go +14 -1 collapsed to keep the page light
M v4/gtk/gtkiconview.go +34 -0 collapsed to keep the page light
M v4/gtk/gtkimage.go +30 -4 collapsed to keep the page light
M v4/gtk/gtkimcontext.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkimmulticontext.go +7 -1 collapsed to keep the page light
M v4/gtk/gtkinfobar.go +13 -1 collapsed to keep the page light
M v4/gtk/gtkinscription.go +30 -3 collapsed to keep the page light
M v4/gtk/gtklabel.go +36 -2 collapsed to keep the page light
M v4/gtk/gtklayoutmanager.go +1 -0 collapsed to keep the page light
M v4/gtk/gtklevelbar.go +22 -2 collapsed to keep the page light
M v4/gtk/gtklinkbutton.go +19 -2 collapsed to keep the page light
M v4/gtk/gtklistbase.go +8 -0 collapsed to keep the page light
M v4/gtk/gtklistbox.go +25 -1 collapsed to keep the page light
M v4/gtk/gtklistheader.go +3 -0 collapsed to keep the page light
M v4/gtk/gtklistitem.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkliststore.go +24 -0 collapsed to keep the page light
M v4/gtk/gtklistview.go +12 -0 collapsed to keep the page light
M v4/gtk/gtklockbutton.go +13 -1 collapsed to keep the page light
M v4/gtk/gtkmain.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmaplistmodel.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmediacontrols.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkmediafile.go +15 -2 collapsed to keep the page light
M v4/gtk/gtkmediastream.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkmenubutton.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkmessagedialog.go +20 -3 collapsed to keep the page light
M v4/gtk/gtkmountoperation.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkmultifilter.go +12 -0 collapsed to keep the page light
M v4/gtk/gtkmultiselection.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkmultisorter.go +4 -0 collapsed to keep the page light
M v4/gtk/gtknativedialog.go +3 -0 collapsed to keep the page light
M v4/gtk/gtknoselection.go +13 -0 collapsed to keep the page light
M v4/gtk/gtknotebook.go +28 -1 collapsed to keep the page light
M v4/gtk/gtknumericsorter.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkorientable.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkoverlay.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkoverlaylayout.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkpagesetup.go +31 -3 collapsed to keep the page light
M v4/gtk/gtkpagesetupunixdialog.go +11 -1 collapsed to keep the page light
M v4/gtk/gtkpaned.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkpapersize.go +33 -2 collapsed to keep the page light
M v4/gtk/gtkpasswordentry.go +15 -0 collapsed to keep the page light
M v4/gtk/gtkpicture.go +34 -5 collapsed to keep the page light
M v4/gtk/gtkpopover.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkpopovermenu.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkpopovermenubar.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkprintcontext.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkprintdialog.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkprinter.go +20 -0 collapsed to keep the page light
M v4/gtk/gtkprintjob.go +16 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperation.go +17 -1 collapsed to keep the page light
M v4/gtk/gtkprintoperationpreview.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkprintsettings.go +59 -4 collapsed to keep the page light
M v4/gtk/gtkprintunixdialog.go +17 -1 collapsed to keep the page light
M v4/gtk/gtkprogressbar.go +18 -1 collapsed to keep the page light
M v4/gtk/gtkrange.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkrecentmanager.go +41 -2 collapsed to keep the page light
M v4/gtk/gtkrevealer.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkscale.go +15 -1 collapsed to keep the page light
M v4/gtk/gtkscalebutton.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkscrollable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkscrollbar.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkscrolledwindow.go +14 -0 collapsed to keep the page light
M v4/gtk/gtksearchbar.go +6 -0 collapsed to keep the page light
M v4/gtk/gtksearchentry.go +24 -1 collapsed to keep the page light
M v4/gtk/gtkselectionfiltermodel.go +3 -0 collapsed to keep the page light
M v4/gtk/gtkselectionmodel.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkseparator.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkshortcut.go +7 -1 collapsed to keep the page light
M v4/gtk/gtkshortcutaction.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutcontroller.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutlabel.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutsgroup.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutssection.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutsshortcut.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutswindow.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkshortcuttrigger.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkshow.go +1 -0 collapsed to keep the page light
M v4/gtk/gtksingleselection.go +16 -0 collapsed to keep the page light
M v4/gtk/gtksizegroup.go +3 -0 collapsed to keep the page light
M v4/gtk/gtksizerequest.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkslicelistmodel.go +5 -0 collapsed to keep the page light
M v4/gtk/gtksnapshot.go +1 -0 collapsed to keep the page light
M v4/gtk/gtksorter.go +2 -0 collapsed to keep the page light
M v4/gtk/gtksortlistmodel.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkspinbutton.go +24 -0 collapsed to keep the page light
M v4/gtk/gtkspinner.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkstack.go +32 -2 collapsed to keep the page light
M v4/gtk/gtkstacksidebar.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkstackswitcher.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkstatusbar.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkstringfilter.go +9 -1 collapsed to keep the page light
M v4/gtk/gtkstringlist.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkstringsorter.go +2 -0 collapsed to keep the page light
M v4/gtk/gtkstylecontext.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkswitch.go +14 -1 collapsed to keep the page light
M v4/gtk/gtktestatcontext.go +7 -0 collapsed to keep the page light
M v4/gtk/gtktestutils.go +1 -0 collapsed to keep the page light
M v4/gtk/gtktext.go +35 -1 collapsed to keep the page light
M v4/gtk/gtktextbuffer.go +36 -2 collapsed to keep the page light
M v4/gtk/gtktextchild.go +2 -0 collapsed to keep the page light
M v4/gtk/gtktextiter.go +77 -0 collapsed to keep the page light
M v4/gtk/gtktextmark.go +10 -1 collapsed to keep the page light
M v4/gtk/gtktexttag.go +7 -1 collapsed to keep the page light
M v4/gtk/gtktexttagtable.go +3 -0 collapsed to keep the page light
M v4/gtk/gtktextview.go +37 -0 collapsed to keep the page light
M v4/gtk/gtktogglebutton.go +13 -1 collapsed to keep the page light
M v4/gtk/gtktooltip.go +17 -3 collapsed to keep the page light
M v4/gtk/gtktreednd.go +5 -0 collapsed to keep the page light
M v4/gtk/gtktreeexpander.go +7 -0 collapsed to keep the page light
M v4/gtk/gtktreelistmodel.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktreemodel.go +36 -0 collapsed to keep the page light
M v4/gtk/gtktreemodelfilter.go +20 -0 collapsed to keep the page light
M v4/gtk/gtktreemodelsort.go +23 -0 collapsed to keep the page light
M v4/gtk/gtktreeselection.go +8 -0 collapsed to keep the page light
M v4/gtk/gtktreesortable.go +2 -0 collapsed to keep the page light
M v4/gtk/gtktreestore.go +26 -0 collapsed to keep the page light
M v4/gtk/gtktreeview.go +40 -0 collapsed to keep the page light
M v4/gtk/gtktreeviewcolumn.go +21 -0 collapsed to keep the page light
M v4/gtk/gtktypes.go +18 -0 collapsed to keep the page light
M v4/gtk/gtkurilauncher.go +14 -2 collapsed to keep the page light
M v4/gtk/gtkversion.go +6 -0 collapsed to keep the page light
M v4/gtk/gtkvideo.go +28 -4 collapsed to keep the page light
M v4/gtk/gtkviewport.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkvolumebutton.go +5 -0 collapsed to keep the page light
M v4/gtk/gtkwidget.go +126 -9 collapsed to keep the page light
M v4/gtk/gtkwidgetpaintable.go +4 -0 collapsed to keep the page light
M v4/gtk/gtkwindow.go +34 -2 collapsed to keep the page light
M v4/gtk/gtkwindowcontrols.go +14 -1 collapsed to keep the page light
M v4/gtk/gtkwindowgroup.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkwindowhandle.go +4 -0 collapsed to keep the page light
M v4/pango/main.go +1 -0 collapsed to keep the page light
M v4/pango/pango-attributes.go +64 -0 collapsed to keep the page light
M v4/pango/pango-bidi-type.go +4 -0 collapsed to keep the page light
M v4/pango/pango-color.go +4 -0 collapsed to keep the page light
M v4/pango/pango-context.go +10 -0 collapsed to keep the page light
M v4/pango/pango-coverage.go +1 -0 collapsed to keep the page light
M v4/pango/pango-font.go +63 -3 collapsed to keep the page light
M v4/pango/pango-fontmap.go +11 -1 collapsed to keep the page light
M v4/pango/pango-fontset-simple.go +1 -0 collapsed to keep the page light
M v4/pango/pango-fontset.go +1 -0 collapsed to keep the page light
M v4/pango/pango-glyph-item.go +8 -0 collapsed to keep the page light
M v4/pango/pango-glyph.go +19 -3 collapsed to keep the page light
M v4/pango/pango-gravity.go +4 -0 collapsed to keep the page light
M v4/pango/pango-item.go +7 -0 collapsed to keep the page light
M v4/pango/pango-language.go +10 -1 collapsed to keep the page light
M v4/pango/pango-layout.go +52 -0 collapsed to keep the page light
M v4/pango/pango-markup.go +3 -0 collapsed to keep the page light
M v4/pango/pango-matrix.go +3 -0 collapsed to keep the page light
M v4/pango/pango-renderer.go +10 -1 collapsed to keep the page light
M v4/pango/pango-script.go +4 -0 collapsed to keep the page light
M v4/pango/pango-tabs.go +8 -0 collapsed to keep the page light
M v4/pango/pango-types.go +7 -0 collapsed to keep the page light
M v4/pango/pango-utils.go +24 -1 collapsed to keep the page light
M v4/pangocairo/pangocairo.go +6 -0 collapsed to keep the page light

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close