detached abab680

fix(gen): use g_strdup for nullable string params

commit
abab6805579007db4a36551ae109ba1233699241
author
brice · · 2026-02-07 17:08 UTC
parent
c591276
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
664 files · +1014 -8197
M internal/core/core.go +30 -0
@@ -231,6 +231,8 @@ func GoString(c uintptr) string {
231 var (231 var (
232 xGStrdup func(string) uintptr232 xGStrdup func(string) uintptr
233 gstrdupOnce sync.Once233 gstrdupOnce sync.Once
234+ xGFree func(uintptr)
235+ gfreeOnce sync.Once
234 )236 )
235 237
236 // GStrdup allocates a C-owned copy of a Go string using g_strdup.238 // GStrdup allocates a C-owned copy of a Go string using g_strdup.
@@ -260,6 +262,34 @@ func GStrdupNullable(s *string) uintptr {
260 return GStrdup(*s)262 return GStrdup(*s)
261 }263 }
262 264
265+// GFree frees memory allocated by GLib allocation APIs (for example g_strdup).
266+// Passing 0 is a no-op.
267+func GFree(ptr uintptr) {
268+ if ptr == 0 {
269+ return
270+ }
271+ gfreeOnce.Do(func() {
272+ var libs []uintptr
273+ for _, libPath := range GetPaths("GLIB") {
274+ lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL)
275+ if err != nil {
276+ continue
277+ }
278+ libs = append(libs, lib)
279+ }
280+ PuregoSafeRegister(&xGFree, libs, "g_free")
281+ })
282+ xGFree(ptr)
283+}
284+
285+// GFreeNullable frees a nullable GLib-allocated pointer.
286+func GFreeNullable(ptr uintptr) {
287+ if ptr == 0 {
288+ return
289+ }
290+ GFree(ptr)
291+}
292+
263 // NullableStringToPtr converts a nullable Go string to a uintptr suitable for C calls.293 // NullableStringToPtr converts a nullable Go string to a uintptr suitable for C calls.
264 // Returns both the pointer and the backing byte slice. The caller MUST call294 // Returns both the pointer and the backing byte slice. The caller MUST call
265 // runtime.KeepAlive(bytes) after the C call completes to prevent GC from collecting295 // runtime.KeepAlive(bytes) after the C call completes to prevent GC from collecting
M internal/gir/types/template.go +6 -6
@@ -39,8 +39,7 @@ type CallbackParam struct {
39 }39 }
40 40
41 // NullableStringParam holds metadata for nullable string parameters that need41 // NullableStringParam holds metadata for nullable string parameters that need
42-// runtime.KeepAlive to prevent GC from collecting the backing memory before42+// temporary C-owned string allocation with g_strdup/g_free.
43-// the C function returns.
44 type NullableStringParam struct {43 type NullableStringParam struct {
45 // Name is the parameter name (e.g., "DataDirectoryVar")44 // Name is the parameter name (e.g., "DataDirectoryVar")
46 Name string45 Name string
@@ -57,7 +56,7 @@ type funcArgsTemplate struct {
57 // Callbacks tracks callback parameters for proper closure generation56 // Callbacks tracks callback parameters for proper closure generation
58 Callbacks []CallbackParam57 Callbacks []CallbackParam
59 58
60- // NullableStrings tracks nullable string parameters that need runtime.KeepAlive59+ // NullableStrings tracks nullable string parameters that need temporary C strings
61 NullableStrings []NullableStringParam60 NullableStrings []NullableStringParam
62 61
63 // UsesNullableHelper indicates nullable string handling that needs core import.62 // UsesNullableHelper indicates nullable string handling that needs core import.
@@ -180,13 +179,14 @@ func (f *funcArgsTemplate) AddAPI(t string, n string, k Kind, ns string, nullabl
180 }179 }
181 } else if ctx == ArgsFromGoToC && nullable && isStringType(t) {180 } else if ctx == ArgsFromGoToC && nullable && isStringType(t) {
182 // Nullable strings differ based on direction. For Go->C we need a *string API type181 // Nullable strings differ based on direction. For Go->C we need a *string API type
183- // and pass a pointer (or nil) to C. For C->Go we keep the string as-is.182+ // and pass a nullable C pointer to C. For C->Go we keep the string as-is.
184- // We track these parameters for runtime.KeepAlive to prevent GC issues.183+ // We track these parameters so templates can allocate/free a temporary
184+ // C-owned copy via g_strdup/g_free around each call.
185 f.UsesNullableHelper = true185 f.UsesNullableHelper = true
186 t = "*string"186 t = "*string"
187 c = fmt.Sprintf("%sPtr", n)187 c = fmt.Sprintf("%sPtr", n)
188 cRef = c188 cRef = c
189- // Track this parameter for keepalive generation189+ // Track this parameter for temp C allocation/free generation
190 f.NullableStrings = append(f.NullableStrings, NullableStringParam{Name: n})190 f.NullableStrings = append(f.NullableStrings, NullableStringParam{Name: n})
191 }191 }
192 192
M pkg/core/core.go +2 -0
@@ -9,6 +9,8 @@ var (
9 GoString = core.GoString9 GoString = core.GoString
10 GStrdup = core.GStrdup10 GStrdup = core.GStrdup
11 GStrdupNullable = core.GStrdupNullable11 GStrdupNullable = core.GStrdupNullable
12+ GFree = core.GFree
13+ GFreeNullable = core.GFreeNullable
12 NullableStringToPtr = core.NullableStringToPtr14 NullableStringToPtr = core.NullableStringToPtr
13 PtrToNullableString = core.PtrToNullableString15 PtrToNullableString = core.PtrToNullableString
14 SetPackageName = core.SetPackageName16 SetPackageName = core.SetPackageName
M templates/go +16 -35
@@ -29,9 +29,6 @@ import (
29 {{- if $HasDetailedSignals}}29 {{- if $HasDetailedSignals}}
30 "fmt"30 "fmt"
31 {{- end}}31 {{- end}}
32-{{- if $NeedsCore}}
33- "runtime"
34-{{- end}}
35 {{- if .Records}}32 {{- if .Records}}
36 "structs"33 "structs"
37 {{- end}}34 {{- end}}
@@ -97,12 +94,10 @@ func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {
97 }94 }
98 {{end}}95 {{end}}
99 {{range .Args.NullableStrings}}96 {{range .Args.NullableStrings}}
100- {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}})97+ {{.Name}}Ptr := core.GStrdupNullable({{.Name}})
98+ defer core.GFreeNullable({{.Name}}Ptr)
101 {{end}}99 {{end}}
102 {{if .Ret.Value}}cret :={{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}})100 {{if .Ret.Value}}cret :={{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}})
103- {{range .Args.NullableStrings}}
104- runtime.KeepAlive({{.Name}}Bytes)
105- {{end}}
106 {{.Ret.Fmt $NotGObject}}101 {{.Ret.Fmt $NotGObject}}
107 }102 }
108 {{end}}103 {{end}}
@@ -131,12 +126,10 @@ func (x *{{$outer.Name}}) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {
131 }126 }
132 {{end}}127 {{end}}
133 {{range .Args.NullableStrings}}128 {{range .Args.NullableStrings}}
134- {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}})129+ {{.Name}}Ptr := core.GStrdupNullable({{.Name}})
130+ defer core.GFreeNullable({{.Name}}Ptr)
135 {{end}}131 {{end}}
136 {{if .Ret.Value}}cret :={{end}}x{{$outer.Name}}{{.Name}}(x.GoPointer() {{convcd .Args.API.CallWithRefs}})132 {{if .Ret.Value}}cret :={{end}}x{{$outer.Name}}{{.Name}}(x.GoPointer() {{convcd .Args.API.CallWithRefs}})
137- {{range .Args.NullableStrings}}
138- runtime.KeepAlive({{.Name}}Bytes)
139- {{end}}
140 {{.Ret.Fmt $NotGObject}}133 {{.Ret.Fmt $NotGObject}}
141 }134 }
142 {{end}}135 {{end}}
@@ -218,12 +211,10 @@ func (x *{{.Name}}Base) SetGoPointer(ptr uintptr) {
218 func (x *{{$outer.Name}}Base) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {211 func (x *{{$outer.Name}}Base) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {
219 {{.Ret.Preamble $NotGLib}}212 {{.Ret.Preamble $NotGLib}}
220 {{range .Args.NullableStrings}}213 {{range .Args.NullableStrings}}
221- {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}})214+ {{.Name}}Ptr := core.GStrdupNullable({{.Name}})
215+ defer core.GFreeNullable({{.Name}}Ptr)
222 {{end}}216 {{end}}
223 {{if .Ret.Value}}cret := {{end}}{{.Namespace}}X{{.FullName}}(x.GoPointer() {{convcd .Args.API.Call}})217 {{if .Ret.Value}}cret := {{end}}{{.Namespace}}X{{.FullName}}(x.GoPointer() {{convcd .Args.API.Call}})
224- {{range .Args.NullableStrings}}
225- runtime.KeepAlive({{.Name}}Bytes)
226- {{end}}
227 {{.Ret.Fmt $NotGObject}}218 {{.Ret.Fmt $NotGObject}}
228 }219 }
229 {{end}}220 {{end}}
@@ -320,12 +311,10 @@ func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {
320 }311 }
321 {{end}}312 {{end}}
322 {{range .Args.NullableStrings}}313 {{range .Args.NullableStrings}}
323- {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}})314+ {{.Name}}Ptr := core.GStrdupNullable({{.Name}})
315+ defer core.GFreeNullable({{.Name}}Ptr)
324 {{end}}316 {{end}}
325 {{if .Ret.Value}}cret := {{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}})317 {{if .Ret.Value}}cret := {{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}})
326- {{range .Args.NullableStrings}}
327- runtime.KeepAlive({{.Name}}Bytes)
328- {{end}}
329 {{.Ret.Fmt $NotGObject}}318 {{.Ret.Fmt $NotGObject}}
330 }319 }
331 {{end}}320 {{end}}
@@ -377,12 +366,10 @@ func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {
377 }366 }
378 {{end}}367 {{end}}
379 {{range .Args.NullableStrings}}368 {{range .Args.NullableStrings}}
380- {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}})369+ {{.Name}}Ptr := core.GStrdupNullable({{.Name}})
370+ defer core.GFreeNullable({{.Name}}Ptr)
381 {{end}}371 {{end}}
382 {{if .Ret.Value}}cret :={{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}})372 {{if .Ret.Value}}cret :={{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}})
383- {{range .Args.NullableStrings}}
384- runtime.KeepAlive({{.Name}}Bytes)
385- {{end}}
386 {{.Ret.Fmt $NotGObject}}373 {{.Ret.Fmt $NotGObject}}
387 }374 }
388 {{end}}375 {{end}}
@@ -411,12 +398,10 @@ func (x *{{$outer.Name}}) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {
411 }398 }
412 {{end}}399 {{end}}
413 {{range .Args.NullableStrings}}400 {{range .Args.NullableStrings}}
414- {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}})401+ {{.Name}}Ptr := core.GStrdupNullable({{.Name}})
402+ defer core.GFreeNullable({{.Name}}Ptr)
415 {{end}}403 {{end}}
416 {{if .Ret.Value}}cret :={{end}}x{{$outer.Name}}{{.Name}}(x.GoPointer() {{convcd .Args.API.CallWithRefs}})404 {{if .Ret.Value}}cret :={{end}}x{{$outer.Name}}{{.Name}}(x.GoPointer() {{convcd .Args.API.CallWithRefs}})
417- {{range .Args.NullableStrings}}
418- runtime.KeepAlive({{.Name}}Bytes)
419- {{end}}
420 {{.Ret.Fmt $NotGObject}}405 {{.Ret.Fmt $NotGObject}}
421 }406 }
422 {{end}}407 {{end}}
@@ -524,12 +509,10 @@ func (x *{{$outer.Name}}) Connect{{.Name}}WithDetail(detail string, cb *func({{$
524 func (x *{{$outer.Name}}) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {509 func (x *{{$outer.Name}}) {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {
525 {{.Ret.Preamble $NotGLib}}510 {{.Ret.Preamble $NotGLib}}
526 {{range .Args.NullableStrings}}511 {{range .Args.NullableStrings}}
527- {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}})512+ {{.Name}}Ptr := core.GStrdupNullable({{.Name}})
513+ defer core.GFreeNullable({{.Name}}Ptr)
528 {{end}}514 {{end}}
529 {{if .Ret.Value}}cret := {{end}} {{.Namespace}}X{{.FullName}}(x.GoPointer() {{convcd .Args.API.Call}})515 {{if .Ret.Value}}cret := {{end}} {{.Namespace}}X{{.FullName}}(x.GoPointer() {{convcd .Args.API.Call}})
530- {{range .Args.NullableStrings}}
531- runtime.KeepAlive({{.Name}}Bytes)
532- {{end}}
533 {{.Ret.Fmt $NotGObject}}516 {{.Ret.Fmt $NotGObject}}
534 }517 }
535 {{end}}518 {{end}}
@@ -558,12 +541,10 @@ func {{.Name}}({{conv .Args.API.Full}}) {{.Ret.Return}} {
558 }541 }
559 {{end}}542 {{end}}
560 {{range .Args.NullableStrings}}543 {{range .Args.NullableStrings}}
561- {{.Name}}Ptr, {{.Name}}Bytes := core.NullableStringToPtr({{.Name}})544+ {{.Name}}Ptr := core.GStrdupNullable({{.Name}})
545+ defer core.GFreeNullable({{.Name}}Ptr)
562 {{end}}546 {{end}}
563 {{if .Ret.Value}}cret := {{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}})547 {{if .Ret.Value}}cret := {{end}}x{{.Name}}({{convd .Args.API.CallWithRefs}})
564- {{range .Args.NullableStrings}}
565- runtime.KeepAlive({{.Name}}Bytes)
566- {{end}}
567 {{.Ret.Fmt $NotGObject}}548 {{.Ret.Fmt $NotGObject}}
568 }549 }
569 {{end}}550 {{end}}
M v4/adw/adw-about-dialog.go +12 -43
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -41,12 +40,11 @@ var xShowAboutDialogFromAppdata func(uintptr, string, uintptr, string, ...interf
41 // See [ctor@AboutDialog.new_from_appdata] for details.40 // See [ctor@AboutDialog.new_from_appdata] for details.
42 func ShowAboutDialogFromAppdata(ParentVar *gtk.Widget, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) {41 func ShowAboutDialogFromAppdata(ParentVar *gtk.Widget, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) {
43 42
44- ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar)43+ ReleaseNotesVersionVarPtr := core.GStrdupNullable(ReleaseNotesVersionVar)
44+ defer core.GFreeNullable(ReleaseNotesVersionVarPtr)
45 45
46 xShowAboutDialogFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVarPtr, FirstPropertyNameVar, varArgs...)46 xShowAboutDialogFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVarPtr, FirstPropertyNameVar, varArgs...)
47 47
48- runtime.KeepAlive(ReleaseNotesVersionVarBytes)
49-
50 }48 }
51 49
52 // A dialog showing information about the application.50 // A dialog showing information about the application.
@@ -284,12 +282,11 @@ var xNewAboutDialogFromAppdata func(string, uintptr) uintptr
284 func NewAboutDialogFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutDialog {282 func NewAboutDialogFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutDialog {
285 var cls *AboutDialog283 var cls *AboutDialog
286 284
287- ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar)285+ ReleaseNotesVersionVarPtr := core.GStrdupNullable(ReleaseNotesVersionVar)
286+ defer core.GFreeNullable(ReleaseNotesVersionVarPtr)
288 287
289 cret := xNewAboutDialogFromAppdata(ResourcePathVar, ReleaseNotesVersionVarPtr)288 cret := xNewAboutDialogFromAppdata(ResourcePathVar, ReleaseNotesVersionVarPtr)
290 289
291- runtime.KeepAlive(ReleaseNotesVersionVarBytes)
292-
293 if cret == 0 {290 if cret == 0 {
294 return nil291 return nil
295 }292 }
@@ -320,12 +317,11 @@ var xAboutDialogAddAcknowledgementSection func(uintptr, uintptr, []string)
320 // * [method@AboutDialog.add_credit_section]317 // * [method@AboutDialog.add_credit_section]
321 func (x *AboutDialog) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {318 func (x *AboutDialog) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {
322 319
323- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)320+ NameVarPtr := core.GStrdupNullable(NameVar)
321+ defer core.GFreeNullable(NameVarPtr)
324 322
325 xAboutDialogAddAcknowledgementSection(x.GoPointer(), NameVarPtr, PeopleVar)323 xAboutDialogAddAcknowledgementSection(x.GoPointer(), NameVarPtr, PeopleVar)
326 324
327- runtime.KeepAlive(NameVarBytes)
328-
329 }325 }
330 326
331 var xAboutDialogAddCreditSection func(uintptr, uintptr, []string)327 var xAboutDialogAddCreditSection func(uintptr, uintptr, []string)
@@ -347,12 +343,11 @@ var xAboutDialogAddCreditSection func(uintptr, uintptr, []string)
347 // * [method@AboutDialog.add_acknowledgement_section]343 // * [method@AboutDialog.add_acknowledgement_section]
348 func (x *AboutDialog) AddCreditSection(NameVar *string, PeopleVar []string) {344 func (x *AboutDialog) AddCreditSection(NameVar *string, PeopleVar []string) {
349 345
350- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)346+ NameVarPtr := core.GStrdupNullable(NameVar)
347+ defer core.GFreeNullable(NameVarPtr)
351 348
352 xAboutDialogAddCreditSection(x.GoPointer(), NameVarPtr, PeopleVar)349 xAboutDialogAddCreditSection(x.GoPointer(), NameVarPtr, PeopleVar)
353 350
354- runtime.KeepAlive(NameVarBytes)
355-
356 }351 }
357 352
358 var xAboutDialogAddLegalSection func(uintptr, string, uintptr, gtk.License, uintptr)353 var xAboutDialogAddLegalSection func(uintptr, string, uintptr, gtk.License, uintptr)
@@ -404,16 +399,14 @@ var xAboutDialogAddLegalSection func(uintptr, string, uintptr, gtk.License, uint
404 // ```399 // ```
405 func (x *AboutDialog) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {400 func (x *AboutDialog) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {
406 401
407- CopyrightVarPtr, CopyrightVarBytes := core.NullableStringToPtr(CopyrightVar)402+ CopyrightVarPtr := core.GStrdupNullable(CopyrightVar)
403+ defer core.GFreeNullable(CopyrightVarPtr)
408 404
409- LicenseVarPtr, LicenseVarBytes := core.NullableStringToPtr(LicenseVar)405+ LicenseVarPtr := core.GStrdupNullable(LicenseVar)
406+ defer core.GFreeNullable(LicenseVarPtr)
410 407
411 xAboutDialogAddLegalSection(x.GoPointer(), TitleVar, CopyrightVarPtr, LicenseTypeVar, LicenseVarPtr)408 xAboutDialogAddLegalSection(x.GoPointer(), TitleVar, CopyrightVarPtr, LicenseTypeVar, LicenseVarPtr)
412 409
413- runtime.KeepAlive(CopyrightVarBytes)
414-
415- runtime.KeepAlive(LicenseVarBytes)
416-
417 }410 }
418 411
419 var xAboutDialogAddLink func(uintptr, string, string)412 var xAboutDialogAddLink func(uintptr, string, string)
@@ -464,7 +457,6 @@ var xAboutDialogGetApplicationIcon func(uintptr) string
464 func (x *AboutDialog) GetApplicationIcon() string {457 func (x *AboutDialog) GetApplicationIcon() string {
465 458
466 cret := xAboutDialogGetApplicationIcon(x.GoPointer())459 cret := xAboutDialogGetApplicationIcon(x.GoPointer())
467-
468 return cret460 return cret
469 }461 }
470 462
@@ -474,7 +466,6 @@ var xAboutDialogGetApplicationName func(uintptr) string
474 func (x *AboutDialog) GetApplicationName() string {466 func (x *AboutDialog) GetApplicationName() string {
475 467
476 cret := xAboutDialogGetApplicationName(x.GoPointer())468 cret := xAboutDialogGetApplicationName(x.GoPointer())
477-
478 return cret469 return cret
479 }470 }
480 471
@@ -484,7 +475,6 @@ var xAboutDialogGetArtists func(uintptr) []string
484 func (x *AboutDialog) GetArtists() []string {475 func (x *AboutDialog) GetArtists() []string {
485 476
486 cret := xAboutDialogGetArtists(x.GoPointer())477 cret := xAboutDialogGetArtists(x.GoPointer())
487-
488 return cret478 return cret
489 }479 }
490 480
@@ -494,7 +484,6 @@ var xAboutDialogGetComments func(uintptr) string
494 func (x *AboutDialog) GetComments() string {484 func (x *AboutDialog) GetComments() string {
495 485
496 cret := xAboutDialogGetComments(x.GoPointer())486 cret := xAboutDialogGetComments(x.GoPointer())
497-
498 return cret487 return cret
499 }488 }
500 489
@@ -504,7 +493,6 @@ var xAboutDialogGetCopyright func(uintptr) string
504 func (x *AboutDialog) GetCopyright() string {493 func (x *AboutDialog) GetCopyright() string {
505 494
506 cret := xAboutDialogGetCopyright(x.GoPointer())495 cret := xAboutDialogGetCopyright(x.GoPointer())
507-
508 return cret496 return cret
509 }497 }
510 498
@@ -514,7 +502,6 @@ var xAboutDialogGetDebugInfo func(uintptr) string
514 func (x *AboutDialog) GetDebugInfo() string {502 func (x *AboutDialog) GetDebugInfo() string {
515 503
516 cret := xAboutDialogGetDebugInfo(x.GoPointer())504 cret := xAboutDialogGetDebugInfo(x.GoPointer())
517-
518 return cret505 return cret
519 }506 }
520 507
@@ -524,7 +511,6 @@ var xAboutDialogGetDebugInfoFilename func(uintptr) string
524 func (x *AboutDialog) GetDebugInfoFilename() string {511 func (x *AboutDialog) GetDebugInfoFilename() string {
525 512
526 cret := xAboutDialogGetDebugInfoFilename(x.GoPointer())513 cret := xAboutDialogGetDebugInfoFilename(x.GoPointer())
527-
528 return cret514 return cret
529 }515 }
530 516
@@ -534,7 +520,6 @@ var xAboutDialogGetDesigners func(uintptr) []string
534 func (x *AboutDialog) GetDesigners() []string {520 func (x *AboutDialog) GetDesigners() []string {
535 521
536 cret := xAboutDialogGetDesigners(x.GoPointer())522 cret := xAboutDialogGetDesigners(x.GoPointer())
537-
538 return cret523 return cret
539 }524 }
540 525
@@ -544,7 +529,6 @@ var xAboutDialogGetDeveloperName func(uintptr) string
544 func (x *AboutDialog) GetDeveloperName() string {529 func (x *AboutDialog) GetDeveloperName() string {
545 530
546 cret := xAboutDialogGetDeveloperName(x.GoPointer())531 cret := xAboutDialogGetDeveloperName(x.GoPointer())
547-
548 return cret532 return cret
549 }533 }
550 534
@@ -554,7 +538,6 @@ var xAboutDialogGetDevelopers func(uintptr) []string
554 func (x *AboutDialog) GetDevelopers() []string {538 func (x *AboutDialog) GetDevelopers() []string {
555 539
556 cret := xAboutDialogGetDevelopers(x.GoPointer())540 cret := xAboutDialogGetDevelopers(x.GoPointer())
557-
558 return cret541 return cret
559 }542 }
560 543
@@ -564,7 +547,6 @@ var xAboutDialogGetDocumenters func(uintptr) []string
564 func (x *AboutDialog) GetDocumenters() []string {547 func (x *AboutDialog) GetDocumenters() []string {
565 548
566 cret := xAboutDialogGetDocumenters(x.GoPointer())549 cret := xAboutDialogGetDocumenters(x.GoPointer())
567-
568 return cret550 return cret
569 }551 }
570 552
@@ -574,7 +556,6 @@ var xAboutDialogGetIssueUrl func(uintptr) string
574 func (x *AboutDialog) GetIssueUrl() string {556 func (x *AboutDialog) GetIssueUrl() string {
575 557
576 cret := xAboutDialogGetIssueUrl(x.GoPointer())558 cret := xAboutDialogGetIssueUrl(x.GoPointer())
577-
578 return cret559 return cret
579 }560 }
580 561
@@ -584,7 +565,6 @@ var xAboutDialogGetLicense func(uintptr) string
584 func (x *AboutDialog) GetLicense() string {565 func (x *AboutDialog) GetLicense() string {
585 566
586 cret := xAboutDialogGetLicense(x.GoPointer())567 cret := xAboutDialogGetLicense(x.GoPointer())
587-
588 return cret568 return cret
589 }569 }
590 570
@@ -594,7 +574,6 @@ var xAboutDialogGetLicenseType func(uintptr) gtk.License
594 func (x *AboutDialog) GetLicenseType() gtk.License {574 func (x *AboutDialog) GetLicenseType() gtk.License {
595 575
596 cret := xAboutDialogGetLicenseType(x.GoPointer())576 cret := xAboutDialogGetLicenseType(x.GoPointer())
597-
598 return cret577 return cret
599 }578 }
600 579
@@ -604,7 +583,6 @@ var xAboutDialogGetReleaseNotes func(uintptr) string
604 func (x *AboutDialog) GetReleaseNotes() string {583 func (x *AboutDialog) GetReleaseNotes() string {
605 584
606 cret := xAboutDialogGetReleaseNotes(x.GoPointer())585 cret := xAboutDialogGetReleaseNotes(x.GoPointer())
607-
608 return cret586 return cret
609 }587 }
610 588
@@ -614,7 +592,6 @@ var xAboutDialogGetReleaseNotesVersion func(uintptr) string
614 func (x *AboutDialog) GetReleaseNotesVersion() string {592 func (x *AboutDialog) GetReleaseNotesVersion() string {
615 593
616 cret := xAboutDialogGetReleaseNotesVersion(x.GoPointer())594 cret := xAboutDialogGetReleaseNotesVersion(x.GoPointer())
617-
618 return cret595 return cret
619 }596 }
620 597
@@ -624,7 +601,6 @@ var xAboutDialogGetSupportUrl func(uintptr) string
624 func (x *AboutDialog) GetSupportUrl() string {601 func (x *AboutDialog) GetSupportUrl() string {
625 602
626 cret := xAboutDialogGetSupportUrl(x.GoPointer())603 cret := xAboutDialogGetSupportUrl(x.GoPointer())
627-
628 return cret604 return cret
629 }605 }
630 606
@@ -634,7 +610,6 @@ var xAboutDialogGetTranslatorCredits func(uintptr) string
634 func (x *AboutDialog) GetTranslatorCredits() string {610 func (x *AboutDialog) GetTranslatorCredits() string {
635 611
636 cret := xAboutDialogGetTranslatorCredits(x.GoPointer())612 cret := xAboutDialogGetTranslatorCredits(x.GoPointer())
637-
638 return cret613 return cret
639 }614 }
640 615
@@ -644,7 +619,6 @@ var xAboutDialogGetVersion func(uintptr) string
644 func (x *AboutDialog) GetVersion() string {619 func (x *AboutDialog) GetVersion() string {
645 620
646 cret := xAboutDialogGetVersion(x.GoPointer())621 cret := xAboutDialogGetVersion(x.GoPointer())
647-
648 return cret622 return cret
649 }623 }
650 624
@@ -654,7 +628,6 @@ var xAboutDialogGetWebsite func(uintptr) string
654 func (x *AboutDialog) GetWebsite() string {628 func (x *AboutDialog) GetWebsite() string {
655 629
656 cret := xAboutDialogGetWebsite(x.GoPointer())630 cret := xAboutDialogGetWebsite(x.GoPointer())
657-
658 return cret631 return cret
659 }632 }
660 633
@@ -1779,7 +1752,6 @@ func (x *AboutDialog) GetAccessibleParent() *gtk.AccessibleBase {
1779 func (x *AboutDialog) GetAccessibleRole() gtk.AccessibleRole {1752 func (x *AboutDialog) GetAccessibleRole() gtk.AccessibleRole {
1780 1753
1781 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())1754 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
1782-
1783 return cret1755 return cret
1784 }1756 }
1785 1757
@@ -1805,7 +1777,6 @@ func (x *AboutDialog) GetAtContext() *gtk.ATContext {
1805 func (x *AboutDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {1777 func (x *AboutDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1806 1778
1807 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)1779 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1808-
1809 return cret1780 return cret
1810 }1781 }
1811 1782
@@ -1845,7 +1816,6 @@ func (x *AboutDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
1845 func (x *AboutDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1816 func (x *AboutDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1846 1817
1847 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1818 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1848-
1849 return cret1819 return cret
1850 }1820 }
1851 1821
@@ -2022,7 +1992,6 @@ func (x *AboutDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
2022 func (x *AboutDialog) GetBuildableId() string {1992 func (x *AboutDialog) GetBuildableId() string {
2023 1993
2024 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1994 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
2025-
2026 return cret1995 return cret
2027 }1996 }
2028 1997
M v4/adw/adw-about-window.go +12 -43
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -43,12 +42,11 @@ var xShowAboutWindowFromAppdata func(uintptr, string, uintptr, string, ...interf
43 // See [ctor@AboutWindow.new_from_appdata] for details.42 // See [ctor@AboutWindow.new_from_appdata] for details.
44 func ShowAboutWindowFromAppdata(ParentVar *gtk.Window, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) {43 func ShowAboutWindowFromAppdata(ParentVar *gtk.Window, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) {
45 44
46- ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar)45+ ReleaseNotesVersionVarPtr := core.GStrdupNullable(ReleaseNotesVersionVar)
46+ defer core.GFreeNullable(ReleaseNotesVersionVarPtr)
47 47
48 xShowAboutWindowFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVarPtr, FirstPropertyNameVar, varArgs...)48 xShowAboutWindowFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVarPtr, FirstPropertyNameVar, varArgs...)
49 49
50- runtime.KeepAlive(ReleaseNotesVersionVarBytes)
51-
52 }50 }
53 51
54 // A window showing information about the application.52 // A window showing information about the application.
@@ -281,12 +279,11 @@ var xNewAboutWindowFromAppdata func(string, uintptr) uintptr
281 func NewAboutWindowFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutWindow {279 func NewAboutWindowFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutWindow {
282 var cls *AboutWindow280 var cls *AboutWindow
283 281
284- ReleaseNotesVersionVarPtr, ReleaseNotesVersionVarBytes := core.NullableStringToPtr(ReleaseNotesVersionVar)282+ ReleaseNotesVersionVarPtr := core.GStrdupNullable(ReleaseNotesVersionVar)
283+ defer core.GFreeNullable(ReleaseNotesVersionVarPtr)
285 284
286 cret := xNewAboutWindowFromAppdata(ResourcePathVar, ReleaseNotesVersionVarPtr)285 cret := xNewAboutWindowFromAppdata(ResourcePathVar, ReleaseNotesVersionVarPtr)
287 286
288- runtime.KeepAlive(ReleaseNotesVersionVarBytes)
289-
290 if cret == 0 {287 if cret == 0 {
291 return nil288 return nil
292 }289 }
@@ -317,12 +314,11 @@ var xAboutWindowAddAcknowledgementSection func(uintptr, uintptr, []string)
317 // * [method@AboutWindow.add_credit_section]314 // * [method@AboutWindow.add_credit_section]
318 func (x *AboutWindow) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {315 func (x *AboutWindow) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {
319 316
320- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)317+ NameVarPtr := core.GStrdupNullable(NameVar)
318+ defer core.GFreeNullable(NameVarPtr)
321 319
322 xAboutWindowAddAcknowledgementSection(x.GoPointer(), NameVarPtr, PeopleVar)320 xAboutWindowAddAcknowledgementSection(x.GoPointer(), NameVarPtr, PeopleVar)
323 321
324- runtime.KeepAlive(NameVarBytes)
325-
326 }322 }
327 323
328 var xAboutWindowAddCreditSection func(uintptr, uintptr, []string)324 var xAboutWindowAddCreditSection func(uintptr, uintptr, []string)
@@ -344,12 +340,11 @@ var xAboutWindowAddCreditSection func(uintptr, uintptr, []string)
344 // * [method@AboutWindow.add_acknowledgement_section]340 // * [method@AboutWindow.add_acknowledgement_section]
345 func (x *AboutWindow) AddCreditSection(NameVar *string, PeopleVar []string) {341 func (x *AboutWindow) AddCreditSection(NameVar *string, PeopleVar []string) {
346 342
347- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)343+ NameVarPtr := core.GStrdupNullable(NameVar)
344+ defer core.GFreeNullable(NameVarPtr)
348 345
349 xAboutWindowAddCreditSection(x.GoPointer(), NameVarPtr, PeopleVar)346 xAboutWindowAddCreditSection(x.GoPointer(), NameVarPtr, PeopleVar)
350 347
351- runtime.KeepAlive(NameVarBytes)
352-
353 }348 }
354 349
355 var xAboutWindowAddLegalSection func(uintptr, string, uintptr, gtk.License, uintptr)350 var xAboutWindowAddLegalSection func(uintptr, string, uintptr, gtk.License, uintptr)
@@ -401,16 +396,14 @@ var xAboutWindowAddLegalSection func(uintptr, string, uintptr, gtk.License, uint
401 // ```396 // ```
402 func (x *AboutWindow) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {397 func (x *AboutWindow) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {
403 398
404- CopyrightVarPtr, CopyrightVarBytes := core.NullableStringToPtr(CopyrightVar)399+ CopyrightVarPtr := core.GStrdupNullable(CopyrightVar)
400+ defer core.GFreeNullable(CopyrightVarPtr)
405 401
406- LicenseVarPtr, LicenseVarBytes := core.NullableStringToPtr(LicenseVar)402+ LicenseVarPtr := core.GStrdupNullable(LicenseVar)
403+ defer core.GFreeNullable(LicenseVarPtr)
407 404
408 xAboutWindowAddLegalSection(x.GoPointer(), TitleVar, CopyrightVarPtr, LicenseTypeVar, LicenseVarPtr)405 xAboutWindowAddLegalSection(x.GoPointer(), TitleVar, CopyrightVarPtr, LicenseTypeVar, LicenseVarPtr)
409 406
410- runtime.KeepAlive(CopyrightVarBytes)
411-
412- runtime.KeepAlive(LicenseVarBytes)
413-
414 }407 }
415 408
416 var xAboutWindowAddLink func(uintptr, string, string)409 var xAboutWindowAddLink func(uintptr, string, string)
@@ -434,7 +427,6 @@ var xAboutWindowGetApplicationIcon func(uintptr) string
434 func (x *AboutWindow) GetApplicationIcon() string {427 func (x *AboutWindow) GetApplicationIcon() string {
435 428
436 cret := xAboutWindowGetApplicationIcon(x.GoPointer())429 cret := xAboutWindowGetApplicationIcon(x.GoPointer())
437-
438 return cret430 return cret
439 }431 }
440 432
@@ -444,7 +436,6 @@ var xAboutWindowGetApplicationName func(uintptr) string
444 func (x *AboutWindow) GetApplicationName() string {436 func (x *AboutWindow) GetApplicationName() string {
445 437
446 cret := xAboutWindowGetApplicationName(x.GoPointer())438 cret := xAboutWindowGetApplicationName(x.GoPointer())
447-
448 return cret439 return cret
449 }440 }
450 441
@@ -454,7 +445,6 @@ var xAboutWindowGetArtists func(uintptr) []string
454 func (x *AboutWindow) GetArtists() []string {445 func (x *AboutWindow) GetArtists() []string {
455 446
456 cret := xAboutWindowGetArtists(x.GoPointer())447 cret := xAboutWindowGetArtists(x.GoPointer())
457-
458 return cret448 return cret
459 }449 }
460 450
@@ -464,7 +454,6 @@ var xAboutWindowGetComments func(uintptr) string
464 func (x *AboutWindow) GetComments() string {454 func (x *AboutWindow) GetComments() string {
465 455
466 cret := xAboutWindowGetComments(x.GoPointer())456 cret := xAboutWindowGetComments(x.GoPointer())
467-
468 return cret457 return cret
469 }458 }
470 459
@@ -474,7 +463,6 @@ var xAboutWindowGetCopyright func(uintptr) string
474 func (x *AboutWindow) GetCopyright() string {463 func (x *AboutWindow) GetCopyright() string {
475 464
476 cret := xAboutWindowGetCopyright(x.GoPointer())465 cret := xAboutWindowGetCopyright(x.GoPointer())
477-
478 return cret466 return cret
479 }467 }
480 468
@@ -484,7 +472,6 @@ var xAboutWindowGetDebugInfo func(uintptr) string
484 func (x *AboutWindow) GetDebugInfo() string {472 func (x *AboutWindow) GetDebugInfo() string {
485 473
486 cret := xAboutWindowGetDebugInfo(x.GoPointer())474 cret := xAboutWindowGetDebugInfo(x.GoPointer())
487-
488 return cret475 return cret
489 }476 }
490 477
@@ -494,7 +481,6 @@ var xAboutWindowGetDebugInfoFilename func(uintptr) string
494 func (x *AboutWindow) GetDebugInfoFilename() string {481 func (x *AboutWindow) GetDebugInfoFilename() string {
495 482
496 cret := xAboutWindowGetDebugInfoFilename(x.GoPointer())483 cret := xAboutWindowGetDebugInfoFilename(x.GoPointer())
497-
498 return cret484 return cret
499 }485 }
500 486
@@ -504,7 +490,6 @@ var xAboutWindowGetDesigners func(uintptr) []string
504 func (x *AboutWindow) GetDesigners() []string {490 func (x *AboutWindow) GetDesigners() []string {
505 491
506 cret := xAboutWindowGetDesigners(x.GoPointer())492 cret := xAboutWindowGetDesigners(x.GoPointer())
507-
508 return cret493 return cret
509 }494 }
510 495
@@ -514,7 +499,6 @@ var xAboutWindowGetDeveloperName func(uintptr) string
514 func (x *AboutWindow) GetDeveloperName() string {499 func (x *AboutWindow) GetDeveloperName() string {
515 500
516 cret := xAboutWindowGetDeveloperName(x.GoPointer())501 cret := xAboutWindowGetDeveloperName(x.GoPointer())
517-
518 return cret502 return cret
519 }503 }
520 504
@@ -524,7 +508,6 @@ var xAboutWindowGetDevelopers func(uintptr) []string
524 func (x *AboutWindow) GetDevelopers() []string {508 func (x *AboutWindow) GetDevelopers() []string {
525 509
526 cret := xAboutWindowGetDevelopers(x.GoPointer())510 cret := xAboutWindowGetDevelopers(x.GoPointer())
527-
528 return cret511 return cret
529 }512 }
530 513
@@ -534,7 +517,6 @@ var xAboutWindowGetDocumenters func(uintptr) []string
534 func (x *AboutWindow) GetDocumenters() []string {517 func (x *AboutWindow) GetDocumenters() []string {
535 518
536 cret := xAboutWindowGetDocumenters(x.GoPointer())519 cret := xAboutWindowGetDocumenters(x.GoPointer())
537-
538 return cret520 return cret
539 }521 }
540 522
@@ -544,7 +526,6 @@ var xAboutWindowGetIssueUrl func(uintptr) string
544 func (x *AboutWindow) GetIssueUrl() string {526 func (x *AboutWindow) GetIssueUrl() string {
545 527
546 cret := xAboutWindowGetIssueUrl(x.GoPointer())528 cret := xAboutWindowGetIssueUrl(x.GoPointer())
547-
548 return cret529 return cret
549 }530 }
550 531
@@ -554,7 +535,6 @@ var xAboutWindowGetLicense func(uintptr) string
554 func (x *AboutWindow) GetLicense() string {535 func (x *AboutWindow) GetLicense() string {
555 536
556 cret := xAboutWindowGetLicense(x.GoPointer())537 cret := xAboutWindowGetLicense(x.GoPointer())
557-
558 return cret538 return cret
559 }539 }
560 540
@@ -564,7 +544,6 @@ var xAboutWindowGetLicenseType func(uintptr) gtk.License
564 func (x *AboutWindow) GetLicenseType() gtk.License {544 func (x *AboutWindow) GetLicenseType() gtk.License {
565 545
566 cret := xAboutWindowGetLicenseType(x.GoPointer())546 cret := xAboutWindowGetLicenseType(x.GoPointer())
567-
568 return cret547 return cret
569 }548 }
570 549
@@ -574,7 +553,6 @@ var xAboutWindowGetReleaseNotes func(uintptr) string
574 func (x *AboutWindow) GetReleaseNotes() string {553 func (x *AboutWindow) GetReleaseNotes() string {
575 554
576 cret := xAboutWindowGetReleaseNotes(x.GoPointer())555 cret := xAboutWindowGetReleaseNotes(x.GoPointer())
577-
578 return cret556 return cret
579 }557 }
580 558
@@ -584,7 +562,6 @@ var xAboutWindowGetReleaseNotesVersion func(uintptr) string
584 func (x *AboutWindow) GetReleaseNotesVersion() string {562 func (x *AboutWindow) GetReleaseNotesVersion() string {
585 563
586 cret := xAboutWindowGetReleaseNotesVersion(x.GoPointer())564 cret := xAboutWindowGetReleaseNotesVersion(x.GoPointer())
587-
588 return cret565 return cret
589 }566 }
590 567
@@ -594,7 +571,6 @@ var xAboutWindowGetSupportUrl func(uintptr) string
594 func (x *AboutWindow) GetSupportUrl() string {571 func (x *AboutWindow) GetSupportUrl() string {
595 572
596 cret := xAboutWindowGetSupportUrl(x.GoPointer())573 cret := xAboutWindowGetSupportUrl(x.GoPointer())
597-
598 return cret574 return cret
599 }575 }
600 576
@@ -604,7 +580,6 @@ var xAboutWindowGetTranslatorCredits func(uintptr) string
604 func (x *AboutWindow) GetTranslatorCredits() string {580 func (x *AboutWindow) GetTranslatorCredits() string {
605 581
606 cret := xAboutWindowGetTranslatorCredits(x.GoPointer())582 cret := xAboutWindowGetTranslatorCredits(x.GoPointer())
607-
608 return cret583 return cret
609 }584 }
610 585
@@ -614,7 +589,6 @@ var xAboutWindowGetVersion func(uintptr) string
614 func (x *AboutWindow) GetVersion() string {589 func (x *AboutWindow) GetVersion() string {
615 590
616 cret := xAboutWindowGetVersion(x.GoPointer())591 cret := xAboutWindowGetVersion(x.GoPointer())
617-
618 return cret592 return cret
619 }593 }
620 594
@@ -624,7 +598,6 @@ var xAboutWindowGetWebsite func(uintptr) string
624 func (x *AboutWindow) GetWebsite() string {598 func (x *AboutWindow) GetWebsite() string {
625 599
626 cret := xAboutWindowGetWebsite(x.GoPointer())600 cret := xAboutWindowGetWebsite(x.GoPointer())
627-
628 return cret601 return cret
629 }602 }
630 603
@@ -1749,7 +1722,6 @@ func (x *AboutWindow) GetAccessibleParent() *gtk.AccessibleBase {
1749 func (x *AboutWindow) GetAccessibleRole() gtk.AccessibleRole {1722 func (x *AboutWindow) GetAccessibleRole() gtk.AccessibleRole {
1750 1723
1751 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())1724 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
1752-
1753 return cret1725 return cret
1754 }1726 }
1755 1727
@@ -1775,7 +1747,6 @@ func (x *AboutWindow) GetAtContext() *gtk.ATContext {
1775 func (x *AboutWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {1747 func (x *AboutWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1776 1748
1777 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)1749 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1778-
1779 return cret1750 return cret
1780 }1751 }
1781 1752
@@ -1815,7 +1786,6 @@ func (x *AboutWindow) GetNextAccessibleSibling() *gtk.AccessibleBase {
1815 func (x *AboutWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1786 func (x *AboutWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1816 1787
1817 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1788 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1818-
1819 return cret1789 return cret
1820 }1790 }
1821 1791
@@ -1992,7 +1962,6 @@ func (x *AboutWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
1992 func (x *AboutWindow) GetBuildableId() string {1962 func (x *AboutWindow) GetBuildableId() string {
1993 1963
1994 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1964 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1995-
1996 return cret1965 return cret
1997 }1966 }
1998 1967
M v4/adw/adw-action-row.go +4 -18
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -188,7 +187,6 @@ var xActionRowGetIconName func(uintptr) string
188 func (x *ActionRow) GetIconName() string {187 func (x *ActionRow) GetIconName() string {
189 188
190 cret := xActionRowGetIconName(x.GoPointer())189 cret := xActionRowGetIconName(x.GoPointer())
191-
192 return cret190 return cret
193 }191 }
194 192
@@ -198,7 +196,6 @@ var xActionRowGetSubtitle func(uintptr) string
198 func (x *ActionRow) GetSubtitle() string {196 func (x *ActionRow) GetSubtitle() string {
199 197
200 cret := xActionRowGetSubtitle(x.GoPointer())198 cret := xActionRowGetSubtitle(x.GoPointer())
201-
202 return cret199 return cret
203 }200 }
204 201
@@ -209,7 +206,6 @@ var xActionRowGetSubtitleLines func(uintptr) int
209 func (x *ActionRow) GetSubtitleLines() int {206 func (x *ActionRow) GetSubtitleLines() int {
210 207
211 cret := xActionRowGetSubtitleLines(x.GoPointer())208 cret := xActionRowGetSubtitleLines(x.GoPointer())
212-
213 return cret209 return cret
214 }210 }
215 211
@@ -219,7 +215,6 @@ var xActionRowGetSubtitleSelectable func(uintptr) bool
219 func (x *ActionRow) GetSubtitleSelectable() bool {215 func (x *ActionRow) GetSubtitleSelectable() bool {
220 216
221 cret := xActionRowGetSubtitleSelectable(x.GoPointer())217 cret := xActionRowGetSubtitleSelectable(x.GoPointer())
222-
223 return cret218 return cret
224 }219 }
225 220
@@ -230,7 +225,6 @@ var xActionRowGetTitleLines func(uintptr) int
230 func (x *ActionRow) GetTitleLines() int {225 func (x *ActionRow) GetTitleLines() int {
231 226
232 cret := xActionRowGetTitleLines(x.GoPointer())227 cret := xActionRowGetTitleLines(x.GoPointer())
233-
234 return cret228 return cret
235 }229 }
236 230
@@ -264,12 +258,11 @@ var xActionRowSetIconName func(uintptr, uintptr)
264 // Sets the icon name for @self.258 // Sets the icon name for @self.
265 func (x *ActionRow) SetIconName(IconNameVar *string) {259 func (x *ActionRow) SetIconName(IconNameVar *string) {
266 260
267- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)261+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
262+ defer core.GFreeNullable(IconNameVarPtr)
268 263
269 xActionRowSetIconName(x.GoPointer(), IconNameVarPtr)264 xActionRowSetIconName(x.GoPointer(), IconNameVarPtr)
270 265
271- runtime.KeepAlive(IconNameVarBytes)
272-
273 }266 }
274 267
275 var xActionRowSetSubtitle func(uintptr, string)268 var xActionRowSetSubtitle func(uintptr, string)
@@ -494,7 +487,6 @@ func (x *ActionRow) GetAccessibleParent() *gtk.AccessibleBase {
494 func (x *ActionRow) GetAccessibleRole() gtk.AccessibleRole {487 func (x *ActionRow) GetAccessibleRole() gtk.AccessibleRole {
495 488
496 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())489 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
497-
498 return cret490 return cret
499 }491 }
500 492
@@ -520,7 +512,6 @@ func (x *ActionRow) GetAtContext() *gtk.ATContext {
520 func (x *ActionRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {512 func (x *ActionRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
521 513
522 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)514 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
523-
524 return cret515 return cret
525 }516 }
526 517
@@ -560,7 +551,6 @@ func (x *ActionRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
560 func (x *ActionRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {551 func (x *ActionRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
561 552
562 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)553 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
563-
564 return cret554 return cret
565 }555 }
566 556
@@ -734,7 +724,6 @@ func (x *ActionRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
734 func (x *ActionRow) GetActionName() string {724 func (x *ActionRow) GetActionName() string {
735 725
736 cret := gtk.XGtkActionableGetActionName(x.GoPointer())726 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
737-
738 return cret727 return cret
739 }728 }
740 729
@@ -742,7 +731,6 @@ func (x *ActionRow) GetActionName() string {
742 func (x *ActionRow) GetActionTargetValue() *glib.Variant {731 func (x *ActionRow) GetActionTargetValue() *glib.Variant {
743 732
744 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())733 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
745-
746 return cret734 return cret
747 }735 }
748 736
@@ -761,12 +749,11 @@ func (x *ActionRow) GetActionTargetValue() *glib.Variant {
761 // associated with the window.749 // associated with the window.
762 func (x *ActionRow) SetActionName(ActionNameVar *string) {750 func (x *ActionRow) SetActionName(ActionNameVar *string) {
763 751
764- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)752+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
753+ defer core.GFreeNullable(ActionNameVarPtr)
765 754
766 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)755 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
767 756
768- runtime.KeepAlive(ActionNameVarBytes)
769-
770 }757 }
771 758
772 // Sets the target of an actionable widget.759 // Sets the target of an actionable widget.
@@ -826,7 +813,6 @@ func (x *ActionRow) SetDetailedActionName(DetailedActionNameVar string) {
826 func (x *ActionRow) GetBuildableId() string {813 func (x *ActionRow) GetBuildableId() string {
827 814
828 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())815 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
829-
830 return cret816 return cret
831 }817 }
832 818
M v4/adw/adw-alert-dialog.go +8 -29
@@ -3,7 +3,6 @@ package adw
3 3
4 import (4 import (
5 "fmt"5 "fmt"
6- "runtime"
7 "structs"6 "structs"
8 "unsafe"7 "unsafe"
9 8
@@ -255,16 +254,14 @@ var xNewAlertDialog func(uintptr, uintptr) uintptr
255 func NewAlertDialog(HeadingVar *string, BodyVar *string) *AlertDialog {254 func NewAlertDialog(HeadingVar *string, BodyVar *string) *AlertDialog {
256 var cls *AlertDialog255 var cls *AlertDialog
257 256
258- HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar)257+ HeadingVarPtr := core.GStrdupNullable(HeadingVar)
258+ defer core.GFreeNullable(HeadingVarPtr)
259 259
260- BodyVarPtr, BodyVarBytes := core.NullableStringToPtr(BodyVar)260+ BodyVarPtr := core.GStrdupNullable(BodyVar)
261+ defer core.GFreeNullable(BodyVarPtr)
261 262
262 cret := xNewAlertDialog(HeadingVarPtr, BodyVarPtr)263 cret := xNewAlertDialog(HeadingVarPtr, BodyVarPtr)
263 264
264- runtime.KeepAlive(HeadingVarBytes)
265-
266- runtime.KeepAlive(BodyVarBytes)
267-
268 if cret == 0 {265 if cret == 0 {
269 return nil266 return nil
270 }267 }
@@ -356,7 +353,6 @@ var xAlertDialogChooseFinish func(uintptr, uintptr) string
356 func (x *AlertDialog) ChooseFinish(ResultVar gio.AsyncResult) string {353 func (x *AlertDialog) ChooseFinish(ResultVar gio.AsyncResult) string {
357 354
358 cret := xAlertDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer())355 cret := xAlertDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer())
359-
360 return cret356 return cret
361 }357 }
362 358
@@ -422,7 +418,6 @@ var xAlertDialogGetBody func(uintptr) string
422 func (x *AlertDialog) GetBody() string {418 func (x *AlertDialog) GetBody() string {
423 419
424 cret := xAlertDialogGetBody(x.GoPointer())420 cret := xAlertDialogGetBody(x.GoPointer())
425-
426 return cret421 return cret
427 }422 }
428 423
@@ -432,7 +427,6 @@ var xAlertDialogGetBodyUseMarkup func(uintptr) bool
432 func (x *AlertDialog) GetBodyUseMarkup() bool {427 func (x *AlertDialog) GetBodyUseMarkup() bool {
433 428
434 cret := xAlertDialogGetBodyUseMarkup(x.GoPointer())429 cret := xAlertDialogGetBodyUseMarkup(x.GoPointer())
435-
436 return cret430 return cret
437 }431 }
438 432
@@ -442,7 +436,6 @@ var xAlertDialogGetCloseResponse func(uintptr) string
442 func (x *AlertDialog) GetCloseResponse() string {436 func (x *AlertDialog) GetCloseResponse() string {
443 437
444 cret := xAlertDialogGetCloseResponse(x.GoPointer())438 cret := xAlertDialogGetCloseResponse(x.GoPointer())
445-
446 return cret439 return cret
447 }440 }
448 441
@@ -452,7 +445,6 @@ var xAlertDialogGetDefaultResponse func(uintptr) string
452 func (x *AlertDialog) GetDefaultResponse() string {445 func (x *AlertDialog) GetDefaultResponse() string {
453 446
454 cret := xAlertDialogGetDefaultResponse(x.GoPointer())447 cret := xAlertDialogGetDefaultResponse(x.GoPointer())
455-
456 return cret448 return cret
457 }449 }
458 450
@@ -479,7 +471,6 @@ var xAlertDialogGetHeading func(uintptr) string
479 func (x *AlertDialog) GetHeading() string {471 func (x *AlertDialog) GetHeading() string {
480 472
481 cret := xAlertDialogGetHeading(x.GoPointer())473 cret := xAlertDialogGetHeading(x.GoPointer())
482-
483 return cret474 return cret
484 }475 }
485 476
@@ -489,7 +480,6 @@ var xAlertDialogGetHeadingUseMarkup func(uintptr) bool
489 func (x *AlertDialog) GetHeadingUseMarkup() bool {480 func (x *AlertDialog) GetHeadingUseMarkup() bool {
490 481
491 cret := xAlertDialogGetHeadingUseMarkup(x.GoPointer())482 cret := xAlertDialogGetHeadingUseMarkup(x.GoPointer())
492-
493 return cret483 return cret
494 }484 }
495 485
@@ -499,7 +489,6 @@ var xAlertDialogGetPreferWideLayout func(uintptr) bool
499 func (x *AlertDialog) GetPreferWideLayout() bool {489 func (x *AlertDialog) GetPreferWideLayout() bool {
500 490
501 cret := xAlertDialogGetPreferWideLayout(x.GoPointer())491 cret := xAlertDialogGetPreferWideLayout(x.GoPointer())
502-
503 return cret492 return cret
504 }493 }
505 494
@@ -511,7 +500,6 @@ var xAlertDialogGetResponseAppearance func(uintptr, string) ResponseAppearance
511 func (x *AlertDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance {500 func (x *AlertDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance {
512 501
513 cret := xAlertDialogGetResponseAppearance(x.GoPointer(), ResponseVar)502 cret := xAlertDialogGetResponseAppearance(x.GoPointer(), ResponseVar)
514-
515 return cret503 return cret
516 }504 }
517 505
@@ -523,7 +511,6 @@ var xAlertDialogGetResponseEnabled func(uintptr, string) bool
523 func (x *AlertDialog) GetResponseEnabled(ResponseVar string) bool {511 func (x *AlertDialog) GetResponseEnabled(ResponseVar string) bool {
524 512
525 cret := xAlertDialogGetResponseEnabled(x.GoPointer(), ResponseVar)513 cret := xAlertDialogGetResponseEnabled(x.GoPointer(), ResponseVar)
526-
527 return cret514 return cret
528 }515 }
529 516
@@ -535,7 +522,6 @@ var xAlertDialogGetResponseLabel func(uintptr, string) string
535 func (x *AlertDialog) GetResponseLabel(ResponseVar string) string {522 func (x *AlertDialog) GetResponseLabel(ResponseVar string) string {
536 523
537 cret := xAlertDialogGetResponseLabel(x.GoPointer(), ResponseVar)524 cret := xAlertDialogGetResponseLabel(x.GoPointer(), ResponseVar)
538-
539 return cret525 return cret
540 }526 }
541 527
@@ -545,7 +531,6 @@ var xAlertDialogHasResponse func(uintptr, string) bool
545 func (x *AlertDialog) HasResponse(ResponseVar string) bool {531 func (x *AlertDialog) HasResponse(ResponseVar string) bool {
546 532
547 cret := xAlertDialogHasResponse(x.GoPointer(), ResponseVar)533 cret := xAlertDialogHasResponse(x.GoPointer(), ResponseVar)
548-
549 return cret534 return cret
550 }535 }
551 536
@@ -607,12 +592,11 @@ var xAlertDialogSetDefaultResponse func(uintptr, uintptr)
607 // See [property@Dialog:default-widget].592 // See [property@Dialog:default-widget].
608 func (x *AlertDialog) SetDefaultResponse(ResponseVar *string) {593 func (x *AlertDialog) SetDefaultResponse(ResponseVar *string) {
609 594
610- ResponseVarPtr, ResponseVarBytes := core.NullableStringToPtr(ResponseVar)595+ ResponseVarPtr := core.GStrdupNullable(ResponseVar)
596+ defer core.GFreeNullable(ResponseVarPtr)
611 597
612 xAlertDialogSetDefaultResponse(x.GoPointer(), ResponseVarPtr)598 xAlertDialogSetDefaultResponse(x.GoPointer(), ResponseVarPtr)
613 599
614- runtime.KeepAlive(ResponseVarBytes)
615-
616 }600 }
617 601
618 var xAlertDialogSetExtraChild func(uintptr, uintptr)602 var xAlertDialogSetExtraChild func(uintptr, uintptr)
@@ -631,12 +615,11 @@ var xAlertDialogSetHeading func(uintptr, uintptr)
631 // Sets the heading of @self.615 // Sets the heading of @self.
632 func (x *AlertDialog) SetHeading(HeadingVar *string) {616 func (x *AlertDialog) SetHeading(HeadingVar *string) {
633 617
634- HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar)618+ HeadingVarPtr := core.GStrdupNullable(HeadingVar)
619+ defer core.GFreeNullable(HeadingVarPtr)
635 620
636 xAlertDialogSetHeading(x.GoPointer(), HeadingVarPtr)621 xAlertDialogSetHeading(x.GoPointer(), HeadingVarPtr)
637 622
638- runtime.KeepAlive(HeadingVarBytes)
639-
640 }623 }
641 624
642 var xAlertDialogSetHeadingUseMarkup func(uintptr, bool)625 var xAlertDialogSetHeadingUseMarkup func(uintptr, bool)
@@ -985,7 +968,6 @@ func (x *AlertDialog) GetAccessibleParent() *gtk.AccessibleBase {
985 func (x *AlertDialog) GetAccessibleRole() gtk.AccessibleRole {968 func (x *AlertDialog) GetAccessibleRole() gtk.AccessibleRole {
986 969
987 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())970 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
988-
989 return cret971 return cret
990 }972 }
991 973
@@ -1011,7 +993,6 @@ func (x *AlertDialog) GetAtContext() *gtk.ATContext {
1011 func (x *AlertDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {993 func (x *AlertDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1012 994
1013 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)995 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1014-
1015 return cret996 return cret
1016 }997 }
1017 998
@@ -1051,7 +1032,6 @@ func (x *AlertDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
1051 func (x *AlertDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1032 func (x *AlertDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1052 1033
1053 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1034 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1054-
1055 return cret1035 return cret
1056 }1036 }
1057 1037
@@ -1228,7 +1208,6 @@ func (x *AlertDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
1228 func (x *AlertDialog) GetBuildableId() string {1208 func (x *AlertDialog) GetBuildableId() string {
1229 1209
1230 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1210 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1231-
1232 return cret1211 return cret
1233 }1212 }
1234 1213
M v4/adw/adw-animation-util.go +0 -2
@@ -16,7 +16,6 @@ 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-
20 return cret19 return cret
21 }20 }
22 21
@@ -26,7 +25,6 @@ var xLerp func(float64, float64, float64) float64
26 func Lerp(AVar float64, BVar float64, TVar float64) float64 {25 func Lerp(AVar float64, BVar float64, TVar float64) float64 {
27 26
28 cret := xLerp(AVar, BVar, TVar)27 cret := xLerp(AVar, BVar, TVar)
29-
30 return cret28 return cret
31 }29 }
32 30
M v4/adw/adw-animation.go +0 -3
@@ -124,7 +124,6 @@ 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-
128 return cret127 return cret
129 }128 }
130 129
@@ -137,7 +136,6 @@ var xAnimationGetState func(uintptr) AnimationState
137 func (x *Animation) GetState() AnimationState {136 func (x *Animation) GetState() AnimationState {
138 137
139 cret := xAnimationGetState(x.GoPointer())138 cret := xAnimationGetState(x.GoPointer())
140-
141 return cret139 return cret
142 }140 }
143 141
@@ -164,7 +162,6 @@ var xAnimationGetValue func(uintptr) float64
164 func (x *Animation) GetValue() float64 {162 func (x *Animation) GetValue() float64 {
165 163
166 cret := xAnimationGetValue(x.GoPointer())164 cret := xAnimationGetValue(x.GoPointer())
167-
168 return cret165 return cret
169 }166 }
170 167
M v4/adw/adw-application-window.go +0 -13
@@ -111,7 +111,6 @@ 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-
115 return cret114 return cret
116 }115 }
117 116
@@ -357,7 +356,6 @@ func (x *ApplicationWindow) ChangeActionState(ActionNameVar string, ValueVar *gl
357 func (x *ApplicationWindow) GetActionEnabled(ActionNameVar string) bool {356 func (x *ApplicationWindow) GetActionEnabled(ActionNameVar string) bool {
358 357
359 cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)358 cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
360-
361 return cret359 return cret
362 }360 }
363 361
@@ -377,7 +375,6 @@ func (x *ApplicationWindow) GetActionEnabled(ActionNameVar string) bool {
377 func (x *ApplicationWindow) GetActionParameterType(ActionNameVar string) *glib.VariantType {375 func (x *ApplicationWindow) GetActionParameterType(ActionNameVar string) *glib.VariantType {
378 376
379 cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)377 cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
380-
381 return cret378 return cret
382 }379 }
383 380
@@ -392,7 +389,6 @@ func (x *ApplicationWindow) GetActionParameterType(ActionNameVar string) *glib.V
392 func (x *ApplicationWindow) GetActionState(ActionNameVar string) *glib.Variant {389 func (x *ApplicationWindow) GetActionState(ActionNameVar string) *glib.Variant {
393 390
394 cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)391 cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
395-
396 return cret392 return cret
397 }393 }
398 394
@@ -417,7 +413,6 @@ func (x *ApplicationWindow) GetActionState(ActionNameVar string) *glib.Variant {
417 func (x *ApplicationWindow) GetActionStateHint(ActionNameVar string) *glib.Variant {413 func (x *ApplicationWindow) GetActionStateHint(ActionNameVar string) *glib.Variant {
418 414
419 cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)415 cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
420-
421 return cret416 return cret
422 }417 }
423 418
@@ -440,7 +435,6 @@ func (x *ApplicationWindow) GetActionStateHint(ActionNameVar string) *glib.Varia
440 func (x *ApplicationWindow) GetActionStateType(ActionNameVar string) *glib.VariantType {435 func (x *ApplicationWindow) GetActionStateType(ActionNameVar string) *glib.VariantType {
441 436
442 cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)437 cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
443-
444 return cret438 return cret
445 }439 }
446 440
@@ -448,7 +442,6 @@ func (x *ApplicationWindow) GetActionStateType(ActionNameVar string) *glib.Varia
448 func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {442 func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {
449 443
450 cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar)444 cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
451-
452 return cret445 return cret
453 }446 }
454 447
@@ -459,7 +452,6 @@ func (x *ApplicationWindow) HasAction(ActionNameVar string) bool {
459 func (x *ApplicationWindow) ListActions() []string {452 func (x *ApplicationWindow) ListActions() []string {
460 453
461 cret := gio.XGActionGroupListActions(x.GoPointer())454 cret := gio.XGActionGroupListActions(x.GoPointer())
462-
463 return cret455 return cret
464 }456 }
465 457
@@ -493,7 +485,6 @@ func (x *ApplicationWindow) ListActions() []string {
493 func (x *ApplicationWindow) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {485 func (x *ApplicationWindow) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
494 486
495 cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)487 cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
496-
497 return cret488 return cret
498 }489 }
499 490
@@ -650,7 +641,6 @@ func (x *ApplicationWindow) GetAccessibleParent() *gtk.AccessibleBase {
650 func (x *ApplicationWindow) GetAccessibleRole() gtk.AccessibleRole {641 func (x *ApplicationWindow) GetAccessibleRole() gtk.AccessibleRole {
651 642
652 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())643 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
653-
654 return cret644 return cret
655 }645 }
656 646
@@ -676,7 +666,6 @@ func (x *ApplicationWindow) GetAtContext() *gtk.ATContext {
676 func (x *ApplicationWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {666 func (x *ApplicationWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
677 667
678 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)668 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
679-
680 return cret669 return cret
681 }670 }
682 671
@@ -716,7 +705,6 @@ func (x *ApplicationWindow) GetNextAccessibleSibling() *gtk.AccessibleBase {
716 func (x *ApplicationWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {705 func (x *ApplicationWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
717 706
718 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)707 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
719-
720 return cret708 return cret
721 }709 }
722 710
@@ -893,7 +881,6 @@ func (x *ApplicationWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc
893 func (x *ApplicationWindow) GetBuildableId() string {881 func (x *ApplicationWindow) GetBuildableId() string {
894 882
895 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())883 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
896-
897 return cret884 return cret
898 }885 }
899 886
M v4/adw/adw-application.go +2 -12
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -99,12 +98,11 @@ var xNewApplication func(uintptr, gio.ApplicationFlags) uintptr
99 func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application {98 func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application {
100 var cls *Application99 var cls *Application
101 100
102- ApplicationIdVarPtr, ApplicationIdVarBytes := core.NullableStringToPtr(ApplicationIdVar)101+ ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar)
102+ defer core.GFreeNullable(ApplicationIdVarPtr)
103 103
104 cret := xNewApplication(ApplicationIdVarPtr, FlagsVar)104 cret := xNewApplication(ApplicationIdVarPtr, FlagsVar)
105 105
106- runtime.KeepAlive(ApplicationIdVarBytes)
107-
108 if cret == 0 {106 if cret == 0 {
109 return nil107 return nil
110 }108 }
@@ -243,7 +241,6 @@ func (x *Application) ChangeActionState(ActionNameVar string, ValueVar *glib.Var
243 func (x *Application) GetActionEnabled(ActionNameVar string) bool {241 func (x *Application) GetActionEnabled(ActionNameVar string) bool {
244 242
245 cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)243 cret := gio.XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
246-
247 return cret244 return cret
248 }245 }
249 246
@@ -263,7 +260,6 @@ func (x *Application) GetActionEnabled(ActionNameVar string) bool {
263 func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType {260 func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType {
264 261
265 cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)262 cret := gio.XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
266-
267 return cret263 return cret
268 }264 }
269 265
@@ -278,7 +274,6 @@ func (x *Application) GetActionParameterType(ActionNameVar string) *glib.Variant
278 func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {274 func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {
279 275
280 cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)276 cret := gio.XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
281-
282 return cret277 return cret
283 }278 }
284 279
@@ -303,7 +298,6 @@ func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {
303 func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {298 func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {
304 299
305 cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)300 cret := gio.XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
306-
307 return cret301 return cret
308 }302 }
309 303
@@ -326,7 +320,6 @@ func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {
326 func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType {320 func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType {
327 321
328 cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)322 cret := gio.XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
329-
330 return cret323 return cret
331 }324 }
332 325
@@ -334,7 +327,6 @@ func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType
334 func (x *Application) HasAction(ActionNameVar string) bool {327 func (x *Application) HasAction(ActionNameVar string) bool {
335 328
336 cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar)329 cret := gio.XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
337-
338 return cret330 return cret
339 }331 }
340 332
@@ -345,7 +337,6 @@ func (x *Application) HasAction(ActionNameVar string) bool {
345 func (x *Application) ListActions() []string {337 func (x *Application) ListActions() []string {
346 338
347 cret := gio.XGActionGroupListActions(x.GoPointer())339 cret := gio.XGActionGroupListActions(x.GoPointer())
348-
349 return cret340 return cret
350 }341 }
351 342
@@ -379,7 +370,6 @@ func (x *Application) ListActions() []string {
379 func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {370 func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
380 371
381 cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)372 cret := gio.XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
382-
383 return cret373 return cret
384 }374 }
385 375
M v4/adw/adw-avatar.go +6 -18
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -75,12 +74,11 @@ var xNewAvatar func(int, uintptr, bool) uintptr
75 func NewAvatar(SizeVar int, TextVar *string, ShowInitialsVar bool) *Avatar {74 func NewAvatar(SizeVar int, TextVar *string, ShowInitialsVar bool) *Avatar {
76 var cls *Avatar75 var cls *Avatar
77 76
78- TextVarPtr, TextVarBytes := core.NullableStringToPtr(TextVar)77+ TextVarPtr := core.GStrdupNullable(TextVar)
78+ defer core.GFreeNullable(TextVarPtr)
79 79
80 cret := xNewAvatar(SizeVar, TextVarPtr, ShowInitialsVar)80 cret := xNewAvatar(SizeVar, TextVarPtr, ShowInitialsVar)
81 81
82- runtime.KeepAlive(TextVarBytes)
83-
84 if cret == 0 {82 if cret == 0 {
85 return nil83 return nil
86 }84 }
@@ -131,7 +129,6 @@ var xAvatarGetIconName func(uintptr) string
131 func (x *Avatar) GetIconName() string {129 func (x *Avatar) GetIconName() string {
132 130
133 cret := xAvatarGetIconName(x.GoPointer())131 cret := xAvatarGetIconName(x.GoPointer())
134-
135 return cret132 return cret
136 }133 }
137 134
@@ -141,7 +138,6 @@ var xAvatarGetShowInitials func(uintptr) bool
141 func (x *Avatar) GetShowInitials() bool {138 func (x *Avatar) GetShowInitials() bool {
142 139
143 cret := xAvatarGetShowInitials(x.GoPointer())140 cret := xAvatarGetShowInitials(x.GoPointer())
144-
145 return cret141 return cret
146 }142 }
147 143
@@ -151,7 +147,6 @@ var xAvatarGetSize func(uintptr) int
151 func (x *Avatar) GetSize() int {147 func (x *Avatar) GetSize() int {
152 148
153 cret := xAvatarGetSize(x.GoPointer())149 cret := xAvatarGetSize(x.GoPointer())
154-
155 return cret150 return cret
156 }151 }
157 152
@@ -161,7 +156,6 @@ var xAvatarGetText func(uintptr) string
161 func (x *Avatar) GetText() string {156 func (x *Avatar) GetText() string {
162 157
163 cret := xAvatarGetText(x.GoPointer())158 cret := xAvatarGetText(x.GoPointer())
164-
165 return cret159 return cret
166 }160 }
167 161
@@ -183,12 +177,11 @@ var xAvatarSetIconName func(uintptr, uintptr)
183 // If no name is set, `avatar-default-symbolic` will be used.177 // If no name is set, `avatar-default-symbolic` will be used.
184 func (x *Avatar) SetIconName(IconNameVar *string) {178 func (x *Avatar) SetIconName(IconNameVar *string) {
185 179
186- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)180+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
181+ defer core.GFreeNullable(IconNameVarPtr)
187 182
188 xAvatarSetIconName(x.GoPointer(), IconNameVarPtr)183 xAvatarSetIconName(x.GoPointer(), IconNameVarPtr)
189 184
190- runtime.KeepAlive(IconNameVarBytes)
191-
192 }185 }
193 186
194 var xAvatarSetShowInitials func(uintptr, bool)187 var xAvatarSetShowInitials func(uintptr, bool)
@@ -219,12 +212,11 @@ var xAvatarSetText func(uintptr, uintptr)
219 // `FALSE`.212 // `FALSE`.
220 func (x *Avatar) SetText(TextVar *string) {213 func (x *Avatar) SetText(TextVar *string) {
221 214
222- TextVarPtr, TextVarBytes := core.NullableStringToPtr(TextVar)215+ TextVarPtr := core.GStrdupNullable(TextVar)
216+ defer core.GFreeNullable(TextVarPtr)
223 217
224 xAvatarSetText(x.GoPointer(), TextVarPtr)218 xAvatarSetText(x.GoPointer(), TextVarPtr)
225 219
226- runtime.KeepAlive(TextVarBytes)
227-
228 }220 }
229 221
230 func (c *Avatar) GoPointer() uintptr {222 func (c *Avatar) GoPointer() uintptr {
@@ -355,7 +347,6 @@ func (x *Avatar) GetAccessibleParent() *gtk.AccessibleBase {
355 func (x *Avatar) GetAccessibleRole() gtk.AccessibleRole {347 func (x *Avatar) GetAccessibleRole() gtk.AccessibleRole {
356 348
357 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())349 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
358-
359 return cret350 return cret
360 }351 }
361 352
@@ -381,7 +372,6 @@ func (x *Avatar) GetAtContext() *gtk.ATContext {
381 func (x *Avatar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {372 func (x *Avatar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
382 373
383 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)374 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
384-
385 return cret375 return cret
386 }376 }
387 377
@@ -421,7 +411,6 @@ func (x *Avatar) GetNextAccessibleSibling() *gtk.AccessibleBase {
421 func (x *Avatar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {411 func (x *Avatar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
422 412
423 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)413 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
424-
425 return cret414 return cret
426 }415 }
427 416
@@ -598,7 +587,6 @@ func (x *Avatar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
598 func (x *Avatar) GetBuildableId() string {587 func (x *Avatar) GetBuildableId() string {
599 588
600 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())589 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
601-
602 return cret590 return cret
603 }591 }
604 592
M v4/adw/adw-banner.go +4 -18
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -116,7 +115,6 @@ var xBannerGetButtonLabel func(uintptr) string
116 func (x *Banner) GetButtonLabel() string {115 func (x *Banner) GetButtonLabel() string {
117 116
118 cret := xBannerGetButtonLabel(x.GoPointer())117 cret := xBannerGetButtonLabel(x.GoPointer())
119-
120 return cret118 return cret
121 }119 }
122 120
@@ -126,7 +124,6 @@ var xBannerGetButtonStyle func(uintptr) BannerButtonStyle
126 func (x *Banner) GetButtonStyle() BannerButtonStyle {124 func (x *Banner) GetButtonStyle() BannerButtonStyle {
127 125
128 cret := xBannerGetButtonStyle(x.GoPointer())126 cret := xBannerGetButtonStyle(x.GoPointer())
129-
130 return cret127 return cret
131 }128 }
132 129
@@ -136,7 +133,6 @@ var xBannerGetRevealed func(uintptr) bool
136 func (x *Banner) GetRevealed() bool {133 func (x *Banner) GetRevealed() bool {
137 134
138 cret := xBannerGetRevealed(x.GoPointer())135 cret := xBannerGetRevealed(x.GoPointer())
139-
140 return cret136 return cret
141 }137 }
142 138
@@ -146,7 +142,6 @@ var xBannerGetTitle func(uintptr) string
146 func (x *Banner) GetTitle() string {142 func (x *Banner) GetTitle() string {
147 143
148 cret := xBannerGetTitle(x.GoPointer())144 cret := xBannerGetTitle(x.GoPointer())
149-
150 return cret145 return cret
151 }146 }
152 147
@@ -156,7 +151,6 @@ var xBannerGetUseMarkup func(uintptr) bool
156 func (x *Banner) GetUseMarkup() bool {151 func (x *Banner) GetUseMarkup() bool {
157 152
158 cret := xBannerGetUseMarkup(x.GoPointer())153 cret := xBannerGetUseMarkup(x.GoPointer())
159-
160 return cret154 return cret
161 }155 }
162 156
@@ -170,12 +164,11 @@ var xBannerSetButtonLabel func(uintptr, uintptr)
170 // [signal@Banner::button-clicked] signal.164 // [signal@Banner::button-clicked] signal.
171 func (x *Banner) SetButtonLabel(LabelVar *string) {165 func (x *Banner) SetButtonLabel(LabelVar *string) {
172 166
173- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)167+ LabelVarPtr := core.GStrdupNullable(LabelVar)
168+ defer core.GFreeNullable(LabelVarPtr)
174 169
175 xBannerSetButtonLabel(x.GoPointer(), LabelVarPtr)170 xBannerSetButtonLabel(x.GoPointer(), LabelVarPtr)
176 171
177- runtime.KeepAlive(LabelVarBytes)
178-
179 }172 }
180 173
181 var xBannerSetButtonStyle func(uintptr, BannerButtonStyle)174 var xBannerSetButtonStyle func(uintptr, BannerButtonStyle)
@@ -386,7 +379,6 @@ func (x *Banner) GetAccessibleParent() *gtk.AccessibleBase {
386 func (x *Banner) GetAccessibleRole() gtk.AccessibleRole {379 func (x *Banner) GetAccessibleRole() gtk.AccessibleRole {
387 380
388 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())381 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
389-
390 return cret382 return cret
391 }383 }
392 384
@@ -412,7 +404,6 @@ func (x *Banner) GetAtContext() *gtk.ATContext {
412 func (x *Banner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {404 func (x *Banner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
413 405
414 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)406 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
415-
416 return cret407 return cret
417 }408 }
418 409
@@ -452,7 +443,6 @@ func (x *Banner) GetNextAccessibleSibling() *gtk.AccessibleBase {
452 func (x *Banner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {443 func (x *Banner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
453 444
454 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)445 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
455-
456 return cret446 return cret
457 }447 }
458 448
@@ -626,7 +616,6 @@ func (x *Banner) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
626 func (x *Banner) GetActionName() string {616 func (x *Banner) GetActionName() string {
627 617
628 cret := gtk.XGtkActionableGetActionName(x.GoPointer())618 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
629-
630 return cret619 return cret
631 }620 }
632 621
@@ -634,7 +623,6 @@ func (x *Banner) GetActionName() string {
634 func (x *Banner) GetActionTargetValue() *glib.Variant {623 func (x *Banner) GetActionTargetValue() *glib.Variant {
635 624
636 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())625 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
637-
638 return cret626 return cret
639 }627 }
640 628
@@ -653,12 +641,11 @@ func (x *Banner) GetActionTargetValue() *glib.Variant {
653 // associated with the window.641 // associated with the window.
654 func (x *Banner) SetActionName(ActionNameVar *string) {642 func (x *Banner) SetActionName(ActionNameVar *string) {
655 643
656- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)644+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
645+ defer core.GFreeNullable(ActionNameVarPtr)
657 646
658 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)647 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
659 648
660- runtime.KeepAlive(ActionNameVarBytes)
661-
662 }649 }
663 650
664 // Sets the target of an actionable widget.651 // Sets the target of an actionable widget.
@@ -718,7 +705,6 @@ func (x *Banner) SetDetailedActionName(DetailedActionNameVar string) {
718 func (x *Banner) GetBuildableId() string {705 func (x *Banner) GetBuildableId() string {
719 706
720 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())707 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
721-
722 return cret708 return cret
723 }709 }
724 710
M v4/adw/adw-bin.go +0 -4
@@ -141,7 +141,6 @@ 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-
145 return cret144 return cret
146 }145 }
147 146
@@ -167,7 +166,6 @@ func (x *Bin) GetAtContext() *gtk.ATContext {
167 func (x *Bin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {166 func (x *Bin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
168 167
169 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)168 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
170-
171 return cret169 return cret
172 }170 }
173 171
@@ -207,7 +205,6 @@ func (x *Bin) GetNextAccessibleSibling() *gtk.AccessibleBase {
207 func (x *Bin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {205 func (x *Bin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
208 206
209 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)207 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
210-
211 return cret208 return cret
212 }209 }
213 210
@@ -384,7 +381,6 @@ func (x *Bin) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState,
384 func (x *Bin) GetBuildableId() string {381 func (x *Bin) GetBuildableId() string {
385 382
386 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())383 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
387-
388 return cret384 return cret
389 }385 }
390 386
M v4/adw/adw-bottom-sheet.go +0 -18
@@ -137,7 +137,6 @@ 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-
141 return cret140 return cret
142 }141 }
143 142
@@ -167,7 +166,6 @@ var xBottomSheetGetBottomBarHeight func(uintptr) int
167 func (x *BottomSheet) GetBottomBarHeight() int {166 func (x *BottomSheet) GetBottomBarHeight() int {
168 167
169 cret := xBottomSheetGetBottomBarHeight(x.GoPointer())168 cret := xBottomSheetGetBottomBarHeight(x.GoPointer())
170-
171 return cret169 return cret
172 }170 }
173 171
@@ -177,7 +175,6 @@ var xBottomSheetGetCanClose func(uintptr) bool
177 func (x *BottomSheet) GetCanClose() bool {175 func (x *BottomSheet) GetCanClose() bool {
178 176
179 cret := xBottomSheetGetCanClose(x.GoPointer())177 cret := xBottomSheetGetCanClose(x.GoPointer())
180-
181 return cret178 return cret
182 }179 }
183 180
@@ -187,7 +184,6 @@ var xBottomSheetGetCanOpen func(uintptr) bool
187 func (x *BottomSheet) GetCanOpen() bool {184 func (x *BottomSheet) GetCanOpen() bool {
188 185
189 cret := xBottomSheetGetCanOpen(x.GoPointer())186 cret := xBottomSheetGetCanOpen(x.GoPointer())
190-
191 return cret187 return cret
192 }188 }
193 189
@@ -214,7 +210,6 @@ var xBottomSheetGetFullWidth func(uintptr) bool
214 func (x *BottomSheet) GetFullWidth() bool {210 func (x *BottomSheet) GetFullWidth() bool {
215 211
216 cret := xBottomSheetGetFullWidth(x.GoPointer())212 cret := xBottomSheetGetFullWidth(x.GoPointer())
217-
218 return cret213 return cret
219 }214 }
220 215
@@ -224,7 +219,6 @@ var xBottomSheetGetModal func(uintptr) bool
224 func (x *BottomSheet) GetModal() bool {219 func (x *BottomSheet) GetModal() bool {
225 220
226 cret := xBottomSheetGetModal(x.GoPointer())221 cret := xBottomSheetGetModal(x.GoPointer())
227-
228 return cret222 return cret
229 }223 }
230 224
@@ -234,7 +228,6 @@ var xBottomSheetGetOpen func(uintptr) bool
234 func (x *BottomSheet) GetOpen() bool {228 func (x *BottomSheet) GetOpen() bool {
235 229
236 cret := xBottomSheetGetOpen(x.GoPointer())230 cret := xBottomSheetGetOpen(x.GoPointer())
237-
238 return cret231 return cret
239 }232 }
240 233
@@ -244,7 +237,6 @@ var xBottomSheetGetRevealBottomBar func(uintptr) bool
244 func (x *BottomSheet) GetRevealBottomBar() bool {237 func (x *BottomSheet) GetRevealBottomBar() bool {
245 238
246 cret := xBottomSheetGetRevealBottomBar(x.GoPointer())239 cret := xBottomSheetGetRevealBottomBar(x.GoPointer())
247-
248 return cret240 return cret
249 }241 }
250 242
@@ -273,7 +265,6 @@ var xBottomSheetGetSheetHeight func(uintptr) int
273 func (x *BottomSheet) GetSheetHeight() int {265 func (x *BottomSheet) GetSheetHeight() int {
274 266
275 cret := xBottomSheetGetSheetHeight(x.GoPointer())267 cret := xBottomSheetGetSheetHeight(x.GoPointer())
276-
277 return cret268 return cret
278 }269 }
279 270
@@ -283,7 +274,6 @@ var xBottomSheetGetShowDragHandle func(uintptr) bool
283 func (x *BottomSheet) GetShowDragHandle() bool {274 func (x *BottomSheet) GetShowDragHandle() bool {
284 275
285 cret := xBottomSheetGetShowDragHandle(x.GoPointer())276 cret := xBottomSheetGetShowDragHandle(x.GoPointer())
286-
287 return cret277 return cret
288 }278 }
289 279
@@ -704,7 +694,6 @@ func (x *BottomSheet) ConnectCloseAttempt(cb *func(BottomSheet)) uint {
704 func (x *BottomSheet) GetCancelProgress() float64 {694 func (x *BottomSheet) GetCancelProgress() float64 {
705 695
706 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())696 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
707-
708 return cret697 return cret
709 }698 }
710 699
@@ -714,7 +703,6 @@ func (x *BottomSheet) GetCancelProgress() float64 {
714 func (x *BottomSheet) GetDistance() float64 {703 func (x *BottomSheet) GetDistance() float64 {
715 704
716 cret := XAdwSwipeableGetDistance(x.GoPointer())705 cret := XAdwSwipeableGetDistance(x.GoPointer())
717-
718 return cret706 return cret
719 }707 }
720 708
@@ -722,7 +710,6 @@ func (x *BottomSheet) GetDistance() float64 {
722 func (x *BottomSheet) GetProgress() float64 {710 func (x *BottomSheet) GetProgress() float64 {
723 711
724 cret := XAdwSwipeableGetProgress(x.GoPointer())712 cret := XAdwSwipeableGetProgress(x.GoPointer())
725-
726 return cret713 return cret
727 }714 }
728 715
@@ -733,7 +720,6 @@ func (x *BottomSheet) GetProgress() float64 {
733 func (x *BottomSheet) GetSnapPoints(NSnapPointsVar *int) uintptr {720 func (x *BottomSheet) GetSnapPoints(NSnapPointsVar *int) uintptr {
734 721
735 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)722 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
736-
737 return cret723 return cret
738 }724 }
739 725
@@ -787,7 +773,6 @@ func (x *BottomSheet) GetAccessibleParent() *gtk.AccessibleBase {
787 func (x *BottomSheet) GetAccessibleRole() gtk.AccessibleRole {773 func (x *BottomSheet) GetAccessibleRole() gtk.AccessibleRole {
788 774
789 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())775 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
790-
791 return cret776 return cret
792 }777 }
793 778
@@ -813,7 +798,6 @@ func (x *BottomSheet) GetAtContext() *gtk.ATContext {
813 func (x *BottomSheet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {798 func (x *BottomSheet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
814 799
815 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)800 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
816-
817 return cret801 return cret
818 }802 }
819 803
@@ -853,7 +837,6 @@ func (x *BottomSheet) GetNextAccessibleSibling() *gtk.AccessibleBase {
853 func (x *BottomSheet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {837 func (x *BottomSheet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
854 838
855 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)839 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
856-
857 return cret840 return cret
858 }841 }
859 842
@@ -1030,7 +1013,6 @@ func (x *BottomSheet) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
1030 func (x *BottomSheet) GetBuildableId() string {1013 func (x *BottomSheet) GetBuildableId() string {
1031 1014
1032 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1015 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1033-
1034 return cret1016 return cret
1035 }1017 }
1036 1018
M v4/adw/adw-breakpoint-bin.go +0 -4
@@ -281,7 +281,6 @@ 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-
285 return cret284 return cret
286 }285 }
287 286
@@ -307,7 +306,6 @@ func (x *BreakpointBin) GetAtContext() *gtk.ATContext {
307 func (x *BreakpointBin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {306 func (x *BreakpointBin) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
308 307
309 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)308 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
310-
311 return cret309 return cret
312 }310 }
313 311
@@ -347,7 +345,6 @@ func (x *BreakpointBin) GetNextAccessibleSibling() *gtk.AccessibleBase {
347 func (x *BreakpointBin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {345 func (x *BreakpointBin) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
348 346
349 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)347 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
350-
351 return cret348 return cret
352 }349 }
353 350
@@ -524,7 +521,6 @@ func (x *BreakpointBin) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi
524 func (x *BreakpointBin) GetBuildableId() string {521 func (x *BreakpointBin) GetBuildableId() string {
525 522
526 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())523 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
527-
528 return cret524 return cret
529 }525 }
530 526
M v4/adw/adw-breakpoint.go +0 -9
@@ -45,7 +45,6 @@ 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-
49 return cret48 return cret
50 }49 }
51 50
@@ -55,7 +54,6 @@ var xNewBreakpointConditionLength func(BreakpointConditionLengthType, float64, L
55 func NewBreakpointConditionLength(TypeVar BreakpointConditionLengthType, ValueVar float64, UnitVar LengthUnit) *BreakpointCondition {54 func NewBreakpointConditionLength(TypeVar BreakpointConditionLengthType, ValueVar float64, UnitVar LengthUnit) *BreakpointCondition {
56 55
57 cret := xNewBreakpointConditionLength(TypeVar, ValueVar, UnitVar)56 cret := xNewBreakpointConditionLength(TypeVar, ValueVar, UnitVar)
58-
59 return cret57 return cret
60 }58 }
61 59
@@ -66,7 +64,6 @@ var xNewBreakpointConditionOr func(*BreakpointCondition, *BreakpointCondition) *
66 func NewBreakpointConditionOr(Condition1Var *BreakpointCondition, Condition2Var *BreakpointCondition) *BreakpointCondition {64 func NewBreakpointConditionOr(Condition1Var *BreakpointCondition, Condition2Var *BreakpointCondition) *BreakpointCondition {
67 65
68 cret := xNewBreakpointConditionOr(Condition1Var, Condition2Var)66 cret := xNewBreakpointConditionOr(Condition1Var, Condition2Var)
69-
70 return cret67 return cret
71 }68 }
72 69
@@ -78,7 +75,6 @@ var xNewBreakpointConditionRatio func(BreakpointConditionRatioType, int, int) *B
78 func NewBreakpointConditionRatio(TypeVar BreakpointConditionRatioType, WidthVar int, HeightVar int) *BreakpointCondition {75 func NewBreakpointConditionRatio(TypeVar BreakpointConditionRatioType, WidthVar int, HeightVar int) *BreakpointCondition {
79 76
80 cret := xNewBreakpointConditionRatio(TypeVar, WidthVar, HeightVar)77 cret := xNewBreakpointConditionRatio(TypeVar, WidthVar, HeightVar)
81-
82 return cret78 return cret
83 }79 }
84 80
@@ -88,7 +84,6 @@ var xBreakpointConditionCopy func(uintptr) *BreakpointCondition
88 func (x *BreakpointCondition) Copy() *BreakpointCondition {84 func (x *BreakpointCondition) Copy() *BreakpointCondition {
89 85
90 cret := xBreakpointConditionCopy(x.GoPointer())86 cret := xBreakpointConditionCopy(x.GoPointer())
91-
92 return cret87 return cret
93 }88 }
94 89
@@ -109,7 +104,6 @@ var xBreakpointConditionToString func(uintptr) string
109 func (x *BreakpointCondition) ToString() string {104 func (x *BreakpointCondition) ToString() string {
110 105
111 cret := xBreakpointConditionToString(x.GoPointer())106 cret := xBreakpointConditionToString(x.GoPointer())
112-
113 return cret107 return cret
114 }108 }
115 109
@@ -225,7 +219,6 @@ var xBreakpointConditionParse func(string) *BreakpointCondition
225 func BreakpointConditionParse(StrVar string) *BreakpointCondition {219 func BreakpointConditionParse(StrVar string) *BreakpointCondition {
226 220
227 cret := xBreakpointConditionParse(StrVar)221 cret := xBreakpointConditionParse(StrVar)
228-
229 return cret222 return cret
230 }223 }
231 224
@@ -415,7 +408,6 @@ var xBreakpointGetCondition func(uintptr) *BreakpointCondition
415 func (x *Breakpoint) GetCondition() *BreakpointCondition {408 func (x *Breakpoint) GetCondition() *BreakpointCondition {
416 409
417 cret := xBreakpointGetCondition(x.GoPointer())410 cret := xBreakpointGetCondition(x.GoPointer())
418-
419 return cret411 return cret
420 }412 }
421 413
@@ -515,7 +507,6 @@ func (x *Breakpoint) ConnectUnapply(cb *func(Breakpoint)) uint {
515 func (x *Breakpoint) GetBuildableId() string {507 func (x *Breakpoint) GetBuildableId() string {
516 508
517 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())509 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
518-
519 return cret510 return cret
520 }511 }
521 512
M v4/adw/adw-button-content.go +0 -8
@@ -114,7 +114,6 @@ 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-
118 return cret117 return cret
119 }118 }
120 119
@@ -124,7 +123,6 @@ var xButtonContentGetIconName func(uintptr) string
124 func (x *ButtonContent) GetIconName() string {123 func (x *ButtonContent) GetIconName() string {
125 124
126 cret := xButtonContentGetIconName(x.GoPointer())125 cret := xButtonContentGetIconName(x.GoPointer())
127-
128 return cret126 return cret
129 }127 }
130 128
@@ -134,7 +132,6 @@ var xButtonContentGetLabel func(uintptr) string
134 func (x *ButtonContent) GetLabel() string {132 func (x *ButtonContent) GetLabel() string {
135 133
136 cret := xButtonContentGetLabel(x.GoPointer())134 cret := xButtonContentGetLabel(x.GoPointer())
137-
138 return cret135 return cret
139 }136 }
140 137
@@ -144,7 +141,6 @@ var xButtonContentGetUseUnderline func(uintptr) bool
144 func (x *ButtonContent) GetUseUnderline() bool {141 func (x *ButtonContent) GetUseUnderline() bool {
145 142
146 cret := xButtonContentGetUseUnderline(x.GoPointer())143 cret := xButtonContentGetUseUnderline(x.GoPointer())
147-
148 return cret144 return cret
149 }145 }
150 146
@@ -328,7 +324,6 @@ func (x *ButtonContent) GetAccessibleParent() *gtk.AccessibleBase {
328 func (x *ButtonContent) GetAccessibleRole() gtk.AccessibleRole {324 func (x *ButtonContent) GetAccessibleRole() gtk.AccessibleRole {
329 325
330 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())326 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
331-
332 return cret327 return cret
333 }328 }
334 329
@@ -354,7 +349,6 @@ func (x *ButtonContent) GetAtContext() *gtk.ATContext {
354 func (x *ButtonContent) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {349 func (x *ButtonContent) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
355 350
356 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)351 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
357-
358 return cret352 return cret
359 }353 }
360 354
@@ -394,7 +388,6 @@ func (x *ButtonContent) GetNextAccessibleSibling() *gtk.AccessibleBase {
394 func (x *ButtonContent) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {388 func (x *ButtonContent) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
395 389
396 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)390 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
397-
398 return cret391 return cret
399 }392 }
400 393
@@ -571,7 +564,6 @@ func (x *ButtonContent) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi
571 func (x *ButtonContent) GetBuildableId() string {564 func (x *ButtonContent) GetBuildableId() string {
572 565
573 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())566 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
574-
575 return cret567 return cret
576 }568 }
577 569
M v4/adw/adw-button-row.go +6 -18
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -113,7 +112,6 @@ var xButtonRowGetEndIconName func(uintptr) string
113 func (x *ButtonRow) GetEndIconName() string {112 func (x *ButtonRow) GetEndIconName() string {
114 113
115 cret := xButtonRowGetEndIconName(x.GoPointer())114 cret := xButtonRowGetEndIconName(x.GoPointer())
116-
117 return cret115 return cret
118 }116 }
119 117
@@ -123,7 +121,6 @@ var xButtonRowGetStartIconName func(uintptr) string
123 func (x *ButtonRow) GetStartIconName() string {121 func (x *ButtonRow) GetStartIconName() string {
124 122
125 cret := xButtonRowGetStartIconName(x.GoPointer())123 cret := xButtonRowGetStartIconName(x.GoPointer())
126-
127 return cret124 return cret
128 }125 }
129 126
@@ -132,12 +129,11 @@ var xButtonRowSetEndIconName func(uintptr, uintptr)
132 // Sets the end icon name for @self.129 // Sets the end icon name for @self.
133 func (x *ButtonRow) SetEndIconName(IconNameVar *string) {130 func (x *ButtonRow) SetEndIconName(IconNameVar *string) {
134 131
135- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)132+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
133+ defer core.GFreeNullable(IconNameVarPtr)
136 134
137 xButtonRowSetEndIconName(x.GoPointer(), IconNameVarPtr)135 xButtonRowSetEndIconName(x.GoPointer(), IconNameVarPtr)
138 136
139- runtime.KeepAlive(IconNameVarBytes)
140-
141 }137 }
142 138
143 var xButtonRowSetStartIconName func(uintptr, uintptr)139 var xButtonRowSetStartIconName func(uintptr, uintptr)
@@ -145,12 +141,11 @@ var xButtonRowSetStartIconName func(uintptr, uintptr)
145 // Sets the start icon name for @self.141 // Sets the start icon name for @self.
146 func (x *ButtonRow) SetStartIconName(IconNameVar *string) {142 func (x *ButtonRow) SetStartIconName(IconNameVar *string) {
147 143
148- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)144+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
145+ defer core.GFreeNullable(IconNameVarPtr)
149 146
150 xButtonRowSetStartIconName(x.GoPointer(), IconNameVarPtr)147 xButtonRowSetStartIconName(x.GoPointer(), IconNameVarPtr)
151 148
152- runtime.KeepAlive(IconNameVarBytes)
153-
154 }149 }
155 150
156 func (c *ButtonRow) GoPointer() uintptr {151 func (c *ButtonRow) GoPointer() uintptr {
@@ -257,7 +252,6 @@ func (x *ButtonRow) GetAccessibleParent() *gtk.AccessibleBase {
257 func (x *ButtonRow) GetAccessibleRole() gtk.AccessibleRole {252 func (x *ButtonRow) GetAccessibleRole() gtk.AccessibleRole {
258 253
259 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())254 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
260-
261 return cret255 return cret
262 }256 }
263 257
@@ -283,7 +277,6 @@ func (x *ButtonRow) GetAtContext() *gtk.ATContext {
283 func (x *ButtonRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {277 func (x *ButtonRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
284 278
285 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)279 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
286-
287 return cret280 return cret
288 }281 }
289 282
@@ -323,7 +316,6 @@ func (x *ButtonRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
323 func (x *ButtonRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {316 func (x *ButtonRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
324 317
325 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)318 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
326-
327 return cret319 return cret
328 }320 }
329 321
@@ -497,7 +489,6 @@ func (x *ButtonRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
497 func (x *ButtonRow) GetActionName() string {489 func (x *ButtonRow) GetActionName() string {
498 490
499 cret := gtk.XGtkActionableGetActionName(x.GoPointer())491 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
500-
501 return cret492 return cret
502 }493 }
503 494
@@ -505,7 +496,6 @@ func (x *ButtonRow) GetActionName() string {
505 func (x *ButtonRow) GetActionTargetValue() *glib.Variant {496 func (x *ButtonRow) GetActionTargetValue() *glib.Variant {
506 497
507 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())498 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
508-
509 return cret499 return cret
510 }500 }
511 501
@@ -524,12 +514,11 @@ func (x *ButtonRow) GetActionTargetValue() *glib.Variant {
524 // associated with the window.514 // associated with the window.
525 func (x *ButtonRow) SetActionName(ActionNameVar *string) {515 func (x *ButtonRow) SetActionName(ActionNameVar *string) {
526 516
527- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)517+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
518+ defer core.GFreeNullable(ActionNameVarPtr)
528 519
529 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)520 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
530 521
531- runtime.KeepAlive(ActionNameVarBytes)
532-
533 }522 }
534 523
535 // Sets the target of an actionable widget.524 // Sets the target of an actionable widget.
@@ -589,7 +578,6 @@ func (x *ButtonRow) SetDetailedActionName(DetailedActionNameVar string) {
589 func (x *ButtonRow) GetBuildableId() string {578 func (x *ButtonRow) GetBuildableId() string {
590 579
591 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())580 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
592-
593 return cret581 return cret
594 }582 }
595 583
M v4/adw/adw-carousel-indicator-dots.go +0 -5
@@ -147,7 +147,6 @@ 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-
151 return cret150 return cret
152 }151 }
153 152
@@ -173,7 +172,6 @@ func (x *CarouselIndicatorDots) GetAtContext() *gtk.ATContext {
173 func (x *CarouselIndicatorDots) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {172 func (x *CarouselIndicatorDots) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
174 173
175 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)174 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
176-
177 return cret175 return cret
178 }176 }
179 177
@@ -213,7 +211,6 @@ func (x *CarouselIndicatorDots) GetNextAccessibleSibling() *gtk.AccessibleBase {
213 func (x *CarouselIndicatorDots) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {211 func (x *CarouselIndicatorDots) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
214 212
215 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)213 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
216-
217 return cret214 return cret
218 }215 }
219 216
@@ -390,7 +387,6 @@ func (x *CarouselIndicatorDots) UpdateStateValue(NStatesVar int, StatesVar []gtk
390 func (x *CarouselIndicatorDots) GetBuildableId() string {387 func (x *CarouselIndicatorDots) GetBuildableId() string {
391 388
392 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())389 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
393-
394 return cret390 return cret
395 }391 }
396 392
@@ -398,7 +394,6 @@ func (x *CarouselIndicatorDots) GetBuildableId() string {
398 func (x *CarouselIndicatorDots) GetOrientation() gtk.Orientation {394 func (x *CarouselIndicatorDots) GetOrientation() gtk.Orientation {
399 395
400 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())396 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
401-
402 return cret397 return cret
403 }398 }
404 399
M v4/adw/adw-carousel-indicator-lines.go +0 -5
@@ -146,7 +146,6 @@ 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-
150 return cret149 return cret
151 }150 }
152 151
@@ -172,7 +171,6 @@ func (x *CarouselIndicatorLines) GetAtContext() *gtk.ATContext {
172 func (x *CarouselIndicatorLines) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {171 func (x *CarouselIndicatorLines) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
173 172
174 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)173 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
175-
176 return cret174 return cret
177 }175 }
178 176
@@ -212,7 +210,6 @@ func (x *CarouselIndicatorLines) GetNextAccessibleSibling() *gtk.AccessibleBase
212 func (x *CarouselIndicatorLines) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {210 func (x *CarouselIndicatorLines) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
213 211
214 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)212 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
215-
216 return cret213 return cret
217 }214 }
218 215
@@ -389,7 +386,6 @@ func (x *CarouselIndicatorLines) UpdateStateValue(NStatesVar int, StatesVar []gt
389 func (x *CarouselIndicatorLines) GetBuildableId() string {386 func (x *CarouselIndicatorLines) GetBuildableId() string {
390 387
391 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())388 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
392-
393 return cret389 return cret
394 }390 }
395 391
@@ -397,7 +393,6 @@ func (x *CarouselIndicatorLines) GetBuildableId() string {
397 func (x *CarouselIndicatorLines) GetOrientation() gtk.Orientation {393 func (x *CarouselIndicatorLines) GetOrientation() gtk.Orientation {
398 394
399 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())395 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
400-
401 return cret396 return cret
402 }397 }
403 398
M v4/adw/adw-carousel.go +0 -18
@@ -90,7 +90,6 @@ 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-
94 return cret93 return cret
95 }94 }
96 95
@@ -100,7 +99,6 @@ var xCarouselGetAllowMouseDrag func(uintptr) bool
100 func (x *Carousel) GetAllowMouseDrag() bool {99 func (x *Carousel) GetAllowMouseDrag() bool {
101 100
102 cret := xCarouselGetAllowMouseDrag(x.GoPointer())101 cret := xCarouselGetAllowMouseDrag(x.GoPointer())
103-
104 return cret102 return cret
105 }103 }
106 104
@@ -110,7 +108,6 @@ var xCarouselGetAllowScrollWheel func(uintptr) bool
110 func (x *Carousel) GetAllowScrollWheel() bool {108 func (x *Carousel) GetAllowScrollWheel() bool {
111 109
112 cret := xCarouselGetAllowScrollWheel(x.GoPointer())110 cret := xCarouselGetAllowScrollWheel(x.GoPointer())
113-
114 return cret111 return cret
115 }112 }
116 113
@@ -120,7 +117,6 @@ var xCarouselGetInteractive func(uintptr) bool
120 func (x *Carousel) GetInteractive() bool {117 func (x *Carousel) GetInteractive() bool {
121 118
122 cret := xCarouselGetInteractive(x.GoPointer())119 cret := xCarouselGetInteractive(x.GoPointer())
123-
124 return cret120 return cret
125 }121 }
126 122
@@ -130,7 +126,6 @@ var xCarouselGetNPages func(uintptr) uint
130 func (x *Carousel) GetNPages() uint {126 func (x *Carousel) GetNPages() uint {
131 127
132 cret := xCarouselGetNPages(x.GoPointer())128 cret := xCarouselGetNPages(x.GoPointer())
133-
134 return cret129 return cret
135 }130 }
136 131
@@ -159,7 +154,6 @@ var xCarouselGetPosition func(uintptr) float64
159 func (x *Carousel) GetPosition() float64 {154 func (x *Carousel) GetPosition() float64 {
160 155
161 cret := xCarouselGetPosition(x.GoPointer())156 cret := xCarouselGetPosition(x.GoPointer())
162-
163 return cret157 return cret
164 }158 }
165 159
@@ -169,7 +163,6 @@ var xCarouselGetRevealDuration func(uintptr) uint
169 func (x *Carousel) GetRevealDuration() uint {163 func (x *Carousel) GetRevealDuration() uint {
170 164
171 cret := xCarouselGetRevealDuration(x.GoPointer())165 cret := xCarouselGetRevealDuration(x.GoPointer())
172-
173 return cret166 return cret
174 }167 }
175 168
@@ -179,7 +172,6 @@ var xCarouselGetScrollParams func(uintptr) *SpringParams
179 func (x *Carousel) GetScrollParams() *SpringParams {172 func (x *Carousel) GetScrollParams() *SpringParams {
180 173
181 cret := xCarouselGetScrollParams(x.GoPointer())174 cret := xCarouselGetScrollParams(x.GoPointer())
182-
183 return cret175 return cret
184 }176 }
185 177
@@ -189,7 +181,6 @@ var xCarouselGetSpacing func(uintptr) uint
189 func (x *Carousel) GetSpacing() uint {181 func (x *Carousel) GetSpacing() uint {
190 182
191 cret := xCarouselGetSpacing(x.GoPointer())183 cret := xCarouselGetSpacing(x.GoPointer())
192-
193 return cret184 return cret
194 }185 }
195 186
@@ -544,7 +535,6 @@ func (x *Carousel) ConnectPageChanged(cb *func(Carousel, uint)) uint {
544 func (x *Carousel) GetCancelProgress() float64 {535 func (x *Carousel) GetCancelProgress() float64 {
545 536
546 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())537 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
547-
548 return cret538 return cret
549 }539 }
550 540
@@ -554,7 +544,6 @@ func (x *Carousel) GetCancelProgress() float64 {
554 func (x *Carousel) GetDistance() float64 {544 func (x *Carousel) GetDistance() float64 {
555 545
556 cret := XAdwSwipeableGetDistance(x.GoPointer())546 cret := XAdwSwipeableGetDistance(x.GoPointer())
557-
558 return cret547 return cret
559 }548 }
560 549
@@ -562,7 +551,6 @@ func (x *Carousel) GetDistance() float64 {
562 func (x *Carousel) GetProgress() float64 {551 func (x *Carousel) GetProgress() float64 {
563 552
564 cret := XAdwSwipeableGetProgress(x.GoPointer())553 cret := XAdwSwipeableGetProgress(x.GoPointer())
565-
566 return cret554 return cret
567 }555 }
568 556
@@ -573,7 +561,6 @@ func (x *Carousel) GetProgress() float64 {
573 func (x *Carousel) GetSnapPoints(NSnapPointsVar *int) uintptr {561 func (x *Carousel) GetSnapPoints(NSnapPointsVar *int) uintptr {
574 562
575 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)563 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
576-
577 return cret564 return cret
578 }565 }
579 566
@@ -627,7 +614,6 @@ func (x *Carousel) GetAccessibleParent() *gtk.AccessibleBase {
627 func (x *Carousel) GetAccessibleRole() gtk.AccessibleRole {614 func (x *Carousel) GetAccessibleRole() gtk.AccessibleRole {
628 615
629 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())616 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
630-
631 return cret617 return cret
632 }618 }
633 619
@@ -653,7 +639,6 @@ func (x *Carousel) GetAtContext() *gtk.ATContext {
653 func (x *Carousel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {639 func (x *Carousel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
654 640
655 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)641 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
656-
657 return cret642 return cret
658 }643 }
659 644
@@ -693,7 +678,6 @@ func (x *Carousel) GetNextAccessibleSibling() *gtk.AccessibleBase {
693 func (x *Carousel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {678 func (x *Carousel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
694 679
695 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)680 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
696-
697 return cret681 return cret
698 }682 }
699 683
@@ -870,7 +854,6 @@ func (x *Carousel) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt
870 func (x *Carousel) GetBuildableId() string {854 func (x *Carousel) GetBuildableId() string {
871 855
872 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())856 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
873-
874 return cret857 return cret
875 }858 }
876 859
@@ -878,7 +861,6 @@ func (x *Carousel) GetBuildableId() string {
878 func (x *Carousel) GetOrientation() gtk.Orientation {861 func (x *Carousel) GetOrientation() gtk.Orientation {
879 862
880 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())863 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
881-
882 return cret864 return cret
883 }865 }
884 866
M v4/adw/adw-clamp-layout.go +0 -4
@@ -87,7 +87,6 @@ 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-
91 return cret90 return cret
92 }91 }
93 92
@@ -97,7 +96,6 @@ var xClampLayoutGetTighteningThreshold func(uintptr) int
97 func (x *ClampLayout) GetTighteningThreshold() int {96 func (x *ClampLayout) GetTighteningThreshold() int {
98 97
99 cret := xClampLayoutGetTighteningThreshold(x.GoPointer())98 cret := xClampLayoutGetTighteningThreshold(x.GoPointer())
100-
101 return cret99 return cret
102 }100 }
103 101
@@ -107,7 +105,6 @@ var xClampLayoutGetUnit func(uintptr) LengthUnit
107 func (x *ClampLayout) GetUnit() LengthUnit {105 func (x *ClampLayout) GetUnit() LengthUnit {
108 106
109 cret := xClampLayoutGetUnit(x.GoPointer())107 cret := xClampLayoutGetUnit(x.GoPointer())
110-
111 return cret108 return cret
112 }109 }
113 110
@@ -236,7 +233,6 @@ func (x *ClampLayout) GetPropertyTighteningThreshold() int {
236 func (x *ClampLayout) GetOrientation() gtk.Orientation {233 func (x *ClampLayout) GetOrientation() gtk.Orientation {
237 234
238 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())235 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
239-
240 return cret236 return cret
241 }237 }
242 238
M v4/adw/adw-clamp-scrollable.go +0 -11
@@ -87,7 +87,6 @@ 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-
91 return cret90 return cret
92 }91 }
93 92
@@ -97,7 +96,6 @@ var xClampScrollableGetTighteningThreshold func(uintptr) int
97 func (x *ClampScrollable) GetTighteningThreshold() int {96 func (x *ClampScrollable) GetTighteningThreshold() int {
98 97
99 cret := xClampScrollableGetTighteningThreshold(x.GoPointer())98 cret := xClampScrollableGetTighteningThreshold(x.GoPointer())
100-
101 return cret99 return cret
102 }100 }
103 101
@@ -107,7 +105,6 @@ var xClampScrollableGetUnit func(uintptr) LengthUnit
107 func (x *ClampScrollable) GetUnit() LengthUnit {105 func (x *ClampScrollable) GetUnit() LengthUnit {
108 106
109 cret := xClampScrollableGetUnit(x.GoPointer())107 cret := xClampScrollableGetUnit(x.GoPointer())
110-
111 return cret108 return cret
112 }109 }
113 110
@@ -274,7 +271,6 @@ func (x *ClampScrollable) GetAccessibleParent() *gtk.AccessibleBase {
274 func (x *ClampScrollable) GetAccessibleRole() gtk.AccessibleRole {271 func (x *ClampScrollable) GetAccessibleRole() gtk.AccessibleRole {
275 272
276 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())273 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
277-
278 return cret274 return cret
279 }275 }
280 276
@@ -300,7 +296,6 @@ func (x *ClampScrollable) GetAtContext() *gtk.ATContext {
300 func (x *ClampScrollable) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {296 func (x *ClampScrollable) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
301 297
302 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)298 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
303-
304 return cret299 return cret
305 }300 }
306 301
@@ -340,7 +335,6 @@ func (x *ClampScrollable) GetNextAccessibleSibling() *gtk.AccessibleBase {
340 func (x *ClampScrollable) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {335 func (x *ClampScrollable) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
341 336
342 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)337 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
343-
344 return cret338 return cret
345 }339 }
346 340
@@ -517,7 +511,6 @@ func (x *ClampScrollable) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
517 func (x *ClampScrollable) GetBuildableId() string {511 func (x *ClampScrollable) GetBuildableId() string {
518 512
519 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())513 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
520-
521 return cret514 return cret
522 }515 }
523 516
@@ -525,7 +518,6 @@ func (x *ClampScrollable) GetBuildableId() string {
525 func (x *ClampScrollable) GetOrientation() gtk.Orientation {518 func (x *ClampScrollable) GetOrientation() gtk.Orientation {
526 519
527 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())520 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
528-
529 return cret521 return cret
530 }522 }
531 523
@@ -545,7 +537,6 @@ func (x *ClampScrollable) SetOrientation(OrientationVar gtk.Orientation) {
545 func (x *ClampScrollable) GetBorder(BorderVar *gtk.Border) bool {537 func (x *ClampScrollable) GetBorder(BorderVar *gtk.Border) bool {
546 538
547 cret := gtk.XGtkScrollableGetBorder(x.GoPointer(), BorderVar)539 cret := gtk.XGtkScrollableGetBorder(x.GoPointer(), BorderVar)
548-
549 return cret540 return cret
550 }541 }
551 542
@@ -568,7 +559,6 @@ func (x *ClampScrollable) GetHadjustment() *gtk.Adjustment {
568 func (x *ClampScrollable) GetHscrollPolicy() gtk.ScrollablePolicy {559 func (x *ClampScrollable) GetHscrollPolicy() gtk.ScrollablePolicy {
569 560
570 cret := gtk.XGtkScrollableGetHscrollPolicy(x.GoPointer())561 cret := gtk.XGtkScrollableGetHscrollPolicy(x.GoPointer())
571-
572 return cret562 return cret
573 }563 }
574 564
@@ -591,7 +581,6 @@ func (x *ClampScrollable) GetVadjustment() *gtk.Adjustment {
591 func (x *ClampScrollable) GetVscrollPolicy() gtk.ScrollablePolicy {581 func (x *ClampScrollable) GetVscrollPolicy() gtk.ScrollablePolicy {
592 582
593 cret := gtk.XGtkScrollableGetVscrollPolicy(x.GoPointer())583 cret := gtk.XGtkScrollableGetVscrollPolicy(x.GoPointer())
594-
595 return cret584 return cret
596 }585 }
597 586
M v4/adw/adw-clamp.go +0 -8
@@ -109,7 +109,6 @@ 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-
113 return cret112 return cret
114 }113 }
115 114
@@ -119,7 +118,6 @@ var xClampGetTighteningThreshold func(uintptr) int
119 func (x *Clamp) GetTighteningThreshold() int {118 func (x *Clamp) GetTighteningThreshold() int {
120 119
121 cret := xClampGetTighteningThreshold(x.GoPointer())120 cret := xClampGetTighteningThreshold(x.GoPointer())
122-
123 return cret121 return cret
124 }122 }
125 123
@@ -129,7 +127,6 @@ var xClampGetUnit func(uintptr) LengthUnit
129 func (x *Clamp) GetUnit() LengthUnit {127 func (x *Clamp) GetUnit() LengthUnit {
130 128
131 cret := xClampGetUnit(x.GoPointer())129 cret := xClampGetUnit(x.GoPointer())
132-
133 return cret130 return cret
134 }131 }
135 132
@@ -296,7 +293,6 @@ func (x *Clamp) GetAccessibleParent() *gtk.AccessibleBase {
296 func (x *Clamp) GetAccessibleRole() gtk.AccessibleRole {293 func (x *Clamp) GetAccessibleRole() gtk.AccessibleRole {
297 294
298 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())295 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
299-
300 return cret296 return cret
301 }297 }
302 298
@@ -322,7 +318,6 @@ func (x *Clamp) GetAtContext() *gtk.ATContext {
322 func (x *Clamp) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {318 func (x *Clamp) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
323 319
324 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)320 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
325-
326 return cret321 return cret
327 }322 }
328 323
@@ -362,7 +357,6 @@ func (x *Clamp) GetNextAccessibleSibling() *gtk.AccessibleBase {
362 func (x *Clamp) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {357 func (x *Clamp) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
363 358
364 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)359 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
365-
366 return cret360 return cret
367 }361 }
368 362
@@ -539,7 +533,6 @@ func (x *Clamp) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState
539 func (x *Clamp) GetBuildableId() string {533 func (x *Clamp) GetBuildableId() string {
540 534
541 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())535 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
542-
543 return cret536 return cret
544 }537 }
545 538
@@ -547,7 +540,6 @@ func (x *Clamp) GetBuildableId() string {
547 func (x *Clamp) GetOrientation() gtk.Orientation {540 func (x *Clamp) GetOrientation() gtk.Orientation {
548 541
549 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())542 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
550-
551 return cret543 return cret
552 }544 }
553 545
M v4/adw/adw-combo-row.go +2 -14
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -122,7 +121,6 @@ var xComboRowGetEnableSearch func(uintptr) bool
122 func (x *ComboRow) GetEnableSearch() bool {121 func (x *ComboRow) GetEnableSearch() bool {
123 122
124 cret := xComboRowGetEnableSearch(x.GoPointer())123 cret := xComboRowGetEnableSearch(x.GoPointer())
125-
126 return cret124 return cret
127 }125 }
128 126
@@ -217,7 +215,6 @@ var xComboRowGetSearchMatchMode func(uintptr) gtk.StringFilterMatchMode
217 func (x *ComboRow) GetSearchMatchMode() gtk.StringFilterMatchMode {215 func (x *ComboRow) GetSearchMatchMode() gtk.StringFilterMatchMode {
218 216
219 cret := xComboRowGetSearchMatchMode(x.GoPointer())217 cret := xComboRowGetSearchMatchMode(x.GoPointer())
220-
221 return cret218 return cret
222 }219 }
223 220
@@ -227,7 +224,6 @@ var xComboRowGetSelected func(uintptr) uint
227 func (x *ComboRow) GetSelected() uint {224 func (x *ComboRow) GetSelected() uint {
228 225
229 cret := xComboRowGetSelected(x.GoPointer())226 cret := xComboRowGetSelected(x.GoPointer())
230-
231 return cret227 return cret
232 }228 }
233 229
@@ -254,7 +250,6 @@ var xComboRowGetUseSubtitle func(uintptr) bool
254 func (x *ComboRow) GetUseSubtitle() bool {250 func (x *ComboRow) GetUseSubtitle() bool {
255 251
256 cret := xComboRowGetUseSubtitle(x.GoPointer())252 cret := xComboRowGetUseSubtitle(x.GoPointer())
257-
258 return cret253 return cret
259 }254 }
260 255
@@ -492,7 +487,6 @@ func (x *ComboRow) GetAccessibleParent() *gtk.AccessibleBase {
492 func (x *ComboRow) GetAccessibleRole() gtk.AccessibleRole {487 func (x *ComboRow) GetAccessibleRole() gtk.AccessibleRole {
493 488
494 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())489 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
495-
496 return cret490 return cret
497 }491 }
498 492
@@ -518,7 +512,6 @@ func (x *ComboRow) GetAtContext() *gtk.ATContext {
518 func (x *ComboRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {512 func (x *ComboRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
519 513
520 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)514 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
521-
522 return cret515 return cret
523 }516 }
524 517
@@ -558,7 +551,6 @@ func (x *ComboRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
558 func (x *ComboRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {551 func (x *ComboRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
559 552
560 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)553 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
561-
562 return cret554 return cret
563 }555 }
564 556
@@ -732,7 +724,6 @@ func (x *ComboRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt
732 func (x *ComboRow) GetActionName() string {724 func (x *ComboRow) GetActionName() string {
733 725
734 cret := gtk.XGtkActionableGetActionName(x.GoPointer())726 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
735-
736 return cret727 return cret
737 }728 }
738 729
@@ -740,7 +731,6 @@ func (x *ComboRow) GetActionName() string {
740 func (x *ComboRow) GetActionTargetValue() *glib.Variant {731 func (x *ComboRow) GetActionTargetValue() *glib.Variant {
741 732
742 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())733 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
743-
744 return cret734 return cret
745 }735 }
746 736
@@ -759,12 +749,11 @@ func (x *ComboRow) GetActionTargetValue() *glib.Variant {
759 // associated with the window.749 // associated with the window.
760 func (x *ComboRow) SetActionName(ActionNameVar *string) {750 func (x *ComboRow) SetActionName(ActionNameVar *string) {
761 751
762- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)752+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
753+ defer core.GFreeNullable(ActionNameVarPtr)
763 754
764 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)755 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
765 756
766- runtime.KeepAlive(ActionNameVarBytes)
767-
768 }757 }
769 758
770 // Sets the target of an actionable widget.759 // Sets the target of an actionable widget.
@@ -824,7 +813,6 @@ func (x *ComboRow) SetDetailedActionName(DetailedActionNameVar string) {
824 func (x *ComboRow) GetBuildableId() string {813 func (x *ComboRow) GetBuildableId() string {
825 814
826 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())815 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
827-
828 return cret816 return cret
829 }817 }
830 818
M v4/adw/adw-dialog.go +0 -11
@@ -213,7 +213,6 @@ 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-
217 return cret216 return cret
218 }217 }
219 218
@@ -235,7 +234,6 @@ var xDialogGetCanClose func(uintptr) bool
235 func (x *Dialog) GetCanClose() bool {234 func (x *Dialog) GetCanClose() bool {
236 235
237 cret := xDialogGetCanClose(x.GoPointer())236 cret := xDialogGetCanClose(x.GoPointer())
238-
239 return cret237 return cret
240 }238 }
241 239
@@ -262,7 +260,6 @@ var xDialogGetContentHeight func(uintptr) int
262 func (x *Dialog) GetContentHeight() int {260 func (x *Dialog) GetContentHeight() int {
263 261
264 cret := xDialogGetContentHeight(x.GoPointer())262 cret := xDialogGetContentHeight(x.GoPointer())
265-
266 return cret263 return cret
267 }264 }
268 265
@@ -272,7 +269,6 @@ var xDialogGetContentWidth func(uintptr) int
272 func (x *Dialog) GetContentWidth() int {269 func (x *Dialog) GetContentWidth() int {
273 270
274 cret := xDialogGetContentWidth(x.GoPointer())271 cret := xDialogGetContentWidth(x.GoPointer())
275-
276 return cret272 return cret
277 }273 }
278 274
@@ -333,7 +329,6 @@ var xDialogGetFollowsContentSize func(uintptr) bool
333 func (x *Dialog) GetFollowsContentSize() bool {329 func (x *Dialog) GetFollowsContentSize() bool {
334 330
335 cret := xDialogGetFollowsContentSize(x.GoPointer())331 cret := xDialogGetFollowsContentSize(x.GoPointer())
336-
337 return cret332 return cret
338 }333 }
339 334
@@ -343,7 +338,6 @@ var xDialogGetPresentationMode func(uintptr) DialogPresentationMode
343 func (x *Dialog) GetPresentationMode() DialogPresentationMode {338 func (x *Dialog) GetPresentationMode() DialogPresentationMode {
344 339
345 cret := xDialogGetPresentationMode(x.GoPointer())340 cret := xDialogGetPresentationMode(x.GoPointer())
346-
347 return cret341 return cret
348 }342 }
349 343
@@ -353,7 +347,6 @@ var xDialogGetTitle func(uintptr) string
353 func (x *Dialog) GetTitle() string {347 func (x *Dialog) GetTitle() string {
354 348
355 cret := xDialogGetTitle(x.GoPointer())349 cret := xDialogGetTitle(x.GoPointer())
356-
357 return cret350 return cret
358 }351 }
359 352
@@ -709,7 +702,6 @@ func (x *Dialog) GetAccessibleParent() *gtk.AccessibleBase {
709 func (x *Dialog) GetAccessibleRole() gtk.AccessibleRole {702 func (x *Dialog) GetAccessibleRole() gtk.AccessibleRole {
710 703
711 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())704 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
712-
713 return cret705 return cret
714 }706 }
715 707
@@ -735,7 +727,6 @@ func (x *Dialog) GetAtContext() *gtk.ATContext {
735 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 {
736 728
737 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)729 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
738-
739 return cret730 return cret
740 }731 }
741 732
@@ -775,7 +766,6 @@ func (x *Dialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
775 func (x *Dialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {766 func (x *Dialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
776 767
777 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)768 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
778-
779 return cret769 return cret
780 }770 }
781 771
@@ -952,7 +942,6 @@ func (x *Dialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
952 func (x *Dialog) GetBuildableId() string {942 func (x *Dialog) GetBuildableId() string {
953 943
954 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())944 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
955-
956 return cret945 return cret
957 }946 }
958 947
M v4/adw/adw-easing.go +0 -1
@@ -125,7 +125,6 @@ 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-
129 return cret128 return cret
130 }129 }
131 130
M v4/adw/adw-entry-row.go +2 -29
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -118,7 +117,6 @@ var xEntryRowGetActivatesDefault func(uintptr) bool
118 func (x *EntryRow) GetActivatesDefault() bool {117 func (x *EntryRow) GetActivatesDefault() bool {
119 118
120 cret := xEntryRowGetActivatesDefault(x.GoPointer())119 cret := xEntryRowGetActivatesDefault(x.GoPointer())
121-
122 return cret120 return cret
123 }121 }
124 122
@@ -128,7 +126,6 @@ var xEntryRowGetAttributes func(uintptr) *pango.AttrList
128 func (x *EntryRow) GetAttributes() *pango.AttrList {126 func (x *EntryRow) GetAttributes() *pango.AttrList {
129 127
130 cret := xEntryRowGetAttributes(x.GoPointer())128 cret := xEntryRowGetAttributes(x.GoPointer())
131-
132 return cret129 return cret
133 }130 }
134 131
@@ -138,7 +135,6 @@ var xEntryRowGetEnableEmojiCompletion func(uintptr) bool
138 func (x *EntryRow) GetEnableEmojiCompletion() bool {135 func (x *EntryRow) GetEnableEmojiCompletion() bool {
139 136
140 cret := xEntryRowGetEnableEmojiCompletion(x.GoPointer())137 cret := xEntryRowGetEnableEmojiCompletion(x.GoPointer())
141-
142 return cret138 return cret
143 }139 }
144 140
@@ -148,7 +144,6 @@ var xEntryRowGetInputHints func(uintptr) gtk.InputHints
148 func (x *EntryRow) GetInputHints() gtk.InputHints {144 func (x *EntryRow) GetInputHints() gtk.InputHints {
149 145
150 cret := xEntryRowGetInputHints(x.GoPointer())146 cret := xEntryRowGetInputHints(x.GoPointer())
151-
152 return cret147 return cret
153 }148 }
154 149
@@ -158,7 +153,6 @@ var xEntryRowGetInputPurpose func(uintptr) gtk.InputPurpose
158 func (x *EntryRow) GetInputPurpose() gtk.InputPurpose {153 func (x *EntryRow) GetInputPurpose() gtk.InputPurpose {
159 154
160 cret := xEntryRowGetInputPurpose(x.GoPointer())155 cret := xEntryRowGetInputPurpose(x.GoPointer())
161-
162 return cret156 return cret
163 }157 }
164 158
@@ -168,7 +162,6 @@ var xEntryRowGetMaxLength func(uintptr) int
168 func (x *EntryRow) GetMaxLength() int {162 func (x *EntryRow) GetMaxLength() int {
169 163
170 cret := xEntryRowGetMaxLength(x.GoPointer())164 cret := xEntryRowGetMaxLength(x.GoPointer())
171-
172 return cret165 return cret
173 }166 }
174 167
@@ -178,7 +171,6 @@ var xEntryRowGetShowApplyButton func(uintptr) bool
178 func (x *EntryRow) GetShowApplyButton() bool {171 func (x *EntryRow) GetShowApplyButton() bool {
179 172
180 cret := xEntryRowGetShowApplyButton(x.GoPointer())173 cret := xEntryRowGetShowApplyButton(x.GoPointer())
181-
182 return cret174 return cret
183 }175 }
184 176
@@ -188,7 +180,6 @@ var xEntryRowGetTextLength func(uintptr) uint
188 func (x *EntryRow) GetTextLength() uint {180 func (x *EntryRow) GetTextLength() uint {
189 181
190 cret := xEntryRowGetTextLength(x.GoPointer())182 cret := xEntryRowGetTextLength(x.GoPointer())
191-
192 return cret183 return cret
193 }184 }
194 185
@@ -200,7 +191,6 @@ var xEntryRowGrabFocusWithoutSelecting func(uintptr) bool
200 func (x *EntryRow) GrabFocusWithoutSelecting() bool {191 func (x *EntryRow) GrabFocusWithoutSelecting() bool {
201 192
202 cret := xEntryRowGrabFocusWithoutSelecting(x.GoPointer())193 cret := xEntryRowGrabFocusWithoutSelecting(x.GoPointer())
203-
204 return cret194 return cret
205 }195 }
206 196
@@ -510,7 +500,6 @@ func (x *EntryRow) GetAccessibleParent() *gtk.AccessibleBase {
510 func (x *EntryRow) GetAccessibleRole() gtk.AccessibleRole {500 func (x *EntryRow) GetAccessibleRole() gtk.AccessibleRole {
511 501
512 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())502 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
513-
514 return cret503 return cret
515 }504 }
516 505
@@ -536,7 +525,6 @@ func (x *EntryRow) GetAtContext() *gtk.ATContext {
536 func (x *EntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {525 func (x *EntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
537 526
538 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)527 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
539-
540 return cret528 return cret
541 }529 }
542 530
@@ -576,7 +564,6 @@ func (x *EntryRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
576 func (x *EntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {564 func (x *EntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
577 565
578 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)566 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
579-
580 return cret567 return cret
581 }568 }
582 569
@@ -750,7 +737,6 @@ func (x *EntryRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt
750 func (x *EntryRow) GetActionName() string {737 func (x *EntryRow) GetActionName() string {
751 738
752 cret := gtk.XGtkActionableGetActionName(x.GoPointer())739 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
753-
754 return cret740 return cret
755 }741 }
756 742
@@ -758,7 +744,6 @@ func (x *EntryRow) GetActionName() string {
758 func (x *EntryRow) GetActionTargetValue() *glib.Variant {744 func (x *EntryRow) GetActionTargetValue() *glib.Variant {
759 745
760 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())746 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
761-
762 return cret747 return cret
763 }748 }
764 749
@@ -777,12 +762,11 @@ func (x *EntryRow) GetActionTargetValue() *glib.Variant {
777 // associated with the window.762 // associated with the window.
778 func (x *EntryRow) SetActionName(ActionNameVar *string) {763 func (x *EntryRow) SetActionName(ActionNameVar *string) {
779 764
780- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)765+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
766+ defer core.GFreeNullable(ActionNameVarPtr)
781 767
782 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)768 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
783 769
784- runtime.KeepAlive(ActionNameVarBytes)
785-
786 }770 }
787 771
788 // Sets the target of an actionable widget.772 // Sets the target of an actionable widget.
@@ -842,7 +826,6 @@ func (x *EntryRow) SetDetailedActionName(DetailedActionNameVar string) {
842 func (x *EntryRow) GetBuildableId() string {826 func (x *EntryRow) GetBuildableId() string {
843 827
844 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())828 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
845-
846 return cret829 return cret
847 }830 }
848 831
@@ -885,7 +868,6 @@ func (x *EntryRow) GetBuildableId() string {
885 func (x *EntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {868 func (x *EntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {
886 869
887 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)870 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)
888-
889 return cret871 return cret
890 }872 }
891 873
@@ -926,7 +908,6 @@ func (x *EntryRow) FinishDelegate() {
926 func (x *EntryRow) GetAlignment() float32 {908 func (x *EntryRow) GetAlignment() float32 {
927 909
928 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())910 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())
929-
930 return cret911 return cret
931 }912 }
932 913
@@ -941,7 +922,6 @@ func (x *EntryRow) GetAlignment() float32 {
941 func (x *EntryRow) GetChars(StartPosVar int, EndPosVar int) string {922 func (x *EntryRow) GetChars(StartPosVar int, EndPosVar int) string {
942 923
943 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)924 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)
944-
945 return cret925 return cret
946 }926 }
947 927
@@ -967,7 +947,6 @@ func (x *EntryRow) GetDelegate() *gtk.EditableBase {
967 func (x *EntryRow) GetEditable() bool {947 func (x *EntryRow) GetEditable() bool {
968 948
969 cret := gtk.XGtkEditableGetEditable(x.GoPointer())949 cret := gtk.XGtkEditableGetEditable(x.GoPointer())
970-
971 return cret950 return cret
972 }951 }
973 952
@@ -975,7 +954,6 @@ func (x *EntryRow) GetEditable() bool {
975 func (x *EntryRow) GetEnableUndo() bool {954 func (x *EntryRow) GetEnableUndo() bool {
976 955
977 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())956 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())
978-
979 return cret957 return cret
980 }958 }
981 959
@@ -983,7 +961,6 @@ func (x *EntryRow) GetEnableUndo() bool {
983 func (x *EntryRow) GetMaxWidthChars() int {961 func (x *EntryRow) GetMaxWidthChars() int {
984 962
985 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())963 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())
986-
987 return cret964 return cret
988 }965 }
989 966
@@ -994,7 +971,6 @@ func (x *EntryRow) GetMaxWidthChars() int {
994 func (x *EntryRow) GetPosition() int {971 func (x *EntryRow) GetPosition() int {
995 972
996 cret := gtk.XGtkEditableGetPosition(x.GoPointer())973 cret := gtk.XGtkEditableGetPosition(x.GoPointer())
997-
998 return cret974 return cret
999 }975 }
1000 976
@@ -1008,7 +984,6 @@ func (x *EntryRow) GetPosition() int {
1008 func (x *EntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {984 func (x *EntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
1009 985
1010 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)986 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)
1011-
1012 return cret987 return cret
1013 }988 }
1014 989
@@ -1018,7 +993,6 @@ func (x *EntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
1018 func (x *EntryRow) GetText() string {993 func (x *EntryRow) GetText() string {
1019 994
1020 cret := gtk.XGtkEditableGetText(x.GoPointer())995 cret := gtk.XGtkEditableGetText(x.GoPointer())
1021-
1022 return cret996 return cret
1023 }997 }
1024 998
@@ -1027,7 +1001,6 @@ func (x *EntryRow) GetText() string {
1027 func (x *EntryRow) GetWidthChars() int {1001 func (x *EntryRow) GetWidthChars() int {
1028 1002
1029 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())1003 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())
1030-
1031 return cret1004 return cret
1032 }1005 }
1033 1006
M v4/adw/adw-enum-list-model.go +0 -8
@@ -55,7 +55,6 @@ 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-
59 return cret58 return cret
60 }59 }
61 60
@@ -65,7 +64,6 @@ var xEnumListItemGetNick func(uintptr) string
65 func (x *EnumListItem) GetNick() string {64 func (x *EnumListItem) GetNick() string {
66 65
67 cret := xEnumListItemGetNick(x.GoPointer())66 cret := xEnumListItemGetNick(x.GoPointer())
68-
69 return cret67 return cret
70 }68 }
71 69
@@ -75,7 +73,6 @@ var xEnumListItemGetValue func(uintptr) int
75 func (x *EnumListItem) GetValue() int {73 func (x *EnumListItem) GetValue() int {
76 74
77 cret := xEnumListItemGetValue(x.GoPointer())75 cret := xEnumListItemGetValue(x.GoPointer())
78-
79 return cret76 return cret
80 }77 }
81 78
@@ -157,7 +154,6 @@ var xEnumListModelFindPosition func(uintptr, int) uint
157 func (x *EnumListModel) FindPosition(ValueVar int) uint {154 func (x *EnumListModel) FindPosition(ValueVar int) uint {
158 155
159 cret := xEnumListModelFindPosition(x.GoPointer(), ValueVar)156 cret := xEnumListModelFindPosition(x.GoPointer(), ValueVar)
160-
161 return cret157 return cret
162 }158 }
163 159
@@ -167,7 +163,6 @@ var xEnumListModelGetEnumType func(uintptr) types.GType
167 func (x *EnumListModel) GetEnumType() types.GType {163 func (x *EnumListModel) GetEnumType() types.GType {
168 164
169 cret := xEnumListModelGetEnumType(x.GoPointer())165 cret := xEnumListModelGetEnumType(x.GoPointer())
170-
171 return cret166 return cret
172 }167 }
173 168
@@ -194,7 +189,6 @@ func (c *EnumListModel) SetGoPointer(ptr uintptr) {
194 func (x *EnumListModel) GetItem(PositionVar uint) uintptr {189 func (x *EnumListModel) GetItem(PositionVar uint) uintptr {
195 190
196 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)191 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)
197-
198 return cret192 return cret
199 }193 }
200 194
@@ -209,7 +203,6 @@ func (x *EnumListModel) GetItem(PositionVar uint) uintptr {
209 func (x *EnumListModel) GetItemType() types.GType {203 func (x *EnumListModel) GetItemType() types.GType {
210 204
211 cret := gio.XGListModelGetItemType(x.GoPointer())205 cret := gio.XGListModelGetItemType(x.GoPointer())
212-
213 return cret206 return cret
214 }207 }
215 208
@@ -221,7 +214,6 @@ func (x *EnumListModel) GetItemType() types.GType {
221 func (x *EnumListModel) GetNItems() uint {214 func (x *EnumListModel) GetNItems() uint {
222 215
223 cret := gio.XGListModelGetNItems(x.GoPointer())216 cret := gio.XGListModelGetNItems(x.GoPointer())
224-
225 return cret217 return cret
226 }218 }
227 219
M v4/adw/adw-expander-row.go +4 -20
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -142,7 +141,6 @@ var xExpanderRowGetEnableExpansion func(uintptr) bool
142 func (x *ExpanderRow) GetEnableExpansion() bool {141 func (x *ExpanderRow) GetEnableExpansion() bool {
143 142
144 cret := xExpanderRowGetEnableExpansion(x.GoPointer())143 cret := xExpanderRowGetEnableExpansion(x.GoPointer())
145-
146 return cret144 return cret
147 }145 }
148 146
@@ -152,7 +150,6 @@ var xExpanderRowGetExpanded func(uintptr) bool
152 func (x *ExpanderRow) GetExpanded() bool {150 func (x *ExpanderRow) GetExpanded() bool {
153 151
154 cret := xExpanderRowGetExpanded(x.GoPointer())152 cret := xExpanderRowGetExpanded(x.GoPointer())
155-
156 return cret153 return cret
157 }154 }
158 155
@@ -162,7 +159,6 @@ var xExpanderRowGetIconName func(uintptr) string
162 func (x *ExpanderRow) GetIconName() string {159 func (x *ExpanderRow) GetIconName() string {
163 160
164 cret := xExpanderRowGetIconName(x.GoPointer())161 cret := xExpanderRowGetIconName(x.GoPointer())
165-
166 return cret162 return cret
167 }163 }
168 164
@@ -172,7 +168,6 @@ var xExpanderRowGetShowEnableSwitch func(uintptr) bool
172 func (x *ExpanderRow) GetShowEnableSwitch() bool {168 func (x *ExpanderRow) GetShowEnableSwitch() bool {
173 169
174 cret := xExpanderRowGetShowEnableSwitch(x.GoPointer())170 cret := xExpanderRowGetShowEnableSwitch(x.GoPointer())
175-
176 return cret171 return cret
177 }172 }
178 173
@@ -182,7 +177,6 @@ var xExpanderRowGetSubtitle func(uintptr) string
182 func (x *ExpanderRow) GetSubtitle() string {177 func (x *ExpanderRow) GetSubtitle() string {
183 178
184 cret := xExpanderRowGetSubtitle(x.GoPointer())179 cret := xExpanderRowGetSubtitle(x.GoPointer())
185-
186 return cret180 return cret
187 }181 }
188 182
@@ -193,7 +187,6 @@ var xExpanderRowGetSubtitleLines func(uintptr) int
193 func (x *ExpanderRow) GetSubtitleLines() int {187 func (x *ExpanderRow) GetSubtitleLines() int {
194 188
195 cret := xExpanderRowGetSubtitleLines(x.GoPointer())189 cret := xExpanderRowGetSubtitleLines(x.GoPointer())
196-
197 return cret190 return cret
198 }191 }
199 192
@@ -204,7 +197,6 @@ var xExpanderRowGetTitleLines func(uintptr) int
204 func (x *ExpanderRow) GetTitleLines() int {197 func (x *ExpanderRow) GetTitleLines() int {
205 198
206 cret := xExpanderRowGetTitleLines(x.GoPointer())199 cret := xExpanderRowGetTitleLines(x.GoPointer())
207-
208 return cret200 return cret
209 }201 }
210 202
@@ -240,12 +232,11 @@ var xExpanderRowSetIconName func(uintptr, uintptr)
240 // Sets the icon name for @self.232 // Sets the icon name for @self.
241 func (x *ExpanderRow) SetIconName(IconNameVar *string) {233 func (x *ExpanderRow) SetIconName(IconNameVar *string) {
242 234
243- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)235+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
236+ defer core.GFreeNullable(IconNameVarPtr)
244 237
245 xExpanderRowSetIconName(x.GoPointer(), IconNameVarPtr)238 xExpanderRowSetIconName(x.GoPointer(), IconNameVarPtr)
246 239
247- runtime.KeepAlive(IconNameVarBytes)
248-
249 }240 }
250 241
251 var xExpanderRowSetShowEnableSwitch func(uintptr, bool)242 var xExpanderRowSetShowEnableSwitch func(uintptr, bool)
@@ -474,7 +465,6 @@ func (x *ExpanderRow) GetAccessibleParent() *gtk.AccessibleBase {
474 func (x *ExpanderRow) GetAccessibleRole() gtk.AccessibleRole {465 func (x *ExpanderRow) GetAccessibleRole() gtk.AccessibleRole {
475 466
476 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())467 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
477-
478 return cret468 return cret
479 }469 }
480 470
@@ -500,7 +490,6 @@ func (x *ExpanderRow) GetAtContext() *gtk.ATContext {
500 func (x *ExpanderRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {490 func (x *ExpanderRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
501 491
502 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)492 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
503-
504 return cret493 return cret
505 }494 }
506 495
@@ -540,7 +529,6 @@ func (x *ExpanderRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
540 func (x *ExpanderRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {529 func (x *ExpanderRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
541 530
542 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)531 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
543-
544 return cret532 return cret
545 }533 }
546 534
@@ -714,7 +702,6 @@ func (x *ExpanderRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
714 func (x *ExpanderRow) GetActionName() string {702 func (x *ExpanderRow) GetActionName() string {
715 703
716 cret := gtk.XGtkActionableGetActionName(x.GoPointer())704 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
717-
718 return cret705 return cret
719 }706 }
720 707
@@ -722,7 +709,6 @@ func (x *ExpanderRow) GetActionName() string {
722 func (x *ExpanderRow) GetActionTargetValue() *glib.Variant {709 func (x *ExpanderRow) GetActionTargetValue() *glib.Variant {
723 710
724 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())711 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
725-
726 return cret712 return cret
727 }713 }
728 714
@@ -741,12 +727,11 @@ func (x *ExpanderRow) GetActionTargetValue() *glib.Variant {
741 // associated with the window.727 // associated with the window.
742 func (x *ExpanderRow) SetActionName(ActionNameVar *string) {728 func (x *ExpanderRow) SetActionName(ActionNameVar *string) {
743 729
744- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)730+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
731+ defer core.GFreeNullable(ActionNameVarPtr)
745 732
746 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)733 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
747 734
748- runtime.KeepAlive(ActionNameVarBytes)
749-
750 }735 }
751 736
752 // Sets the target of an actionable widget.737 // Sets the target of an actionable widget.
@@ -806,7 +791,6 @@ func (x *ExpanderRow) SetDetailedActionName(DetailedActionNameVar string) {
806 func (x *ExpanderRow) GetBuildableId() string {791 func (x *ExpanderRow) GetBuildableId() string {
807 792
808 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())793 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
809-
810 return cret794 return cret
811 }795 }
812 796
M v4/adw/adw-flap.go +0 -22
@@ -205,7 +205,6 @@ 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-
209 return cret208 return cret
210 }209 }
211 210
@@ -215,7 +214,6 @@ var xFlapGetFoldDuration func(uintptr) uint
215 func (x *Flap) GetFoldDuration() uint {214 func (x *Flap) GetFoldDuration() uint {
216 215
217 cret := xFlapGetFoldDuration(x.GoPointer())216 cret := xFlapGetFoldDuration(x.GoPointer())
218-
219 return cret217 return cret
220 }218 }
221 219
@@ -225,7 +223,6 @@ var xFlapGetFoldPolicy func(uintptr) FlapFoldPolicy
225 func (x *Flap) GetFoldPolicy() FlapFoldPolicy {223 func (x *Flap) GetFoldPolicy() FlapFoldPolicy {
226 224
227 cret := xFlapGetFoldPolicy(x.GoPointer())225 cret := xFlapGetFoldPolicy(x.GoPointer())
228-
229 return cret226 return cret
230 }227 }
231 228
@@ -235,7 +232,6 @@ var xFlapGetFoldThresholdPolicy func(uintptr) FoldThresholdPolicy
235 func (x *Flap) GetFoldThresholdPolicy() FoldThresholdPolicy {232 func (x *Flap) GetFoldThresholdPolicy() FoldThresholdPolicy {
236 233
237 cret := xFlapGetFoldThresholdPolicy(x.GoPointer())234 cret := xFlapGetFoldThresholdPolicy(x.GoPointer())
238-
239 return cret235 return cret
240 }236 }
241 237
@@ -247,7 +243,6 @@ var xFlapGetFolded func(uintptr) bool
247 func (x *Flap) GetFolded() bool {243 func (x *Flap) GetFolded() bool {
248 244
249 cret := xFlapGetFolded(x.GoPointer())245 cret := xFlapGetFolded(x.GoPointer())
250-
251 return cret246 return cret
252 }247 }
253 248
@@ -257,7 +252,6 @@ var xFlapGetLocked func(uintptr) bool
257 func (x *Flap) GetLocked() bool {252 func (x *Flap) GetLocked() bool {
258 253
259 cret := xFlapGetLocked(x.GoPointer())254 cret := xFlapGetLocked(x.GoPointer())
260-
261 return cret255 return cret
262 }256 }
263 257
@@ -267,7 +261,6 @@ var xFlapGetModal func(uintptr) bool
267 func (x *Flap) GetModal() bool {261 func (x *Flap) GetModal() bool {
268 262
269 cret := xFlapGetModal(x.GoPointer())263 cret := xFlapGetModal(x.GoPointer())
270-
271 return cret264 return cret
272 }265 }
273 266
@@ -277,7 +270,6 @@ var xFlapGetRevealFlap func(uintptr) bool
277 func (x *Flap) GetRevealFlap() bool {270 func (x *Flap) GetRevealFlap() bool {
278 271
279 cret := xFlapGetRevealFlap(x.GoPointer())272 cret := xFlapGetRevealFlap(x.GoPointer())
280-
281 return cret273 return cret
282 }274 }
283 275
@@ -287,7 +279,6 @@ var xFlapGetRevealParams func(uintptr) *SpringParams
287 func (x *Flap) GetRevealParams() *SpringParams {279 func (x *Flap) GetRevealParams() *SpringParams {
288 280
289 cret := xFlapGetRevealParams(x.GoPointer())281 cret := xFlapGetRevealParams(x.GoPointer())
290-
291 return cret282 return cret
292 }283 }
293 284
@@ -301,7 +292,6 @@ var xFlapGetRevealProgress func(uintptr) float64
301 func (x *Flap) GetRevealProgress() float64 {292 func (x *Flap) GetRevealProgress() float64 {
302 293
303 cret := xFlapGetRevealProgress(x.GoPointer())294 cret := xFlapGetRevealProgress(x.GoPointer())
304-
305 return cret295 return cret
306 }296 }
307 297
@@ -328,7 +318,6 @@ var xFlapGetSwipeToClose func(uintptr) bool
328 func (x *Flap) GetSwipeToClose() bool {318 func (x *Flap) GetSwipeToClose() bool {
329 319
330 cret := xFlapGetSwipeToClose(x.GoPointer())320 cret := xFlapGetSwipeToClose(x.GoPointer())
331-
332 return cret321 return cret
333 }322 }
334 323
@@ -338,7 +327,6 @@ var xFlapGetSwipeToOpen func(uintptr) bool
338 func (x *Flap) GetSwipeToOpen() bool {327 func (x *Flap) GetSwipeToOpen() bool {
339 328
340 cret := xFlapGetSwipeToOpen(x.GoPointer())329 cret := xFlapGetSwipeToOpen(x.GoPointer())
341-
342 return cret330 return cret
343 }331 }
344 332
@@ -348,7 +336,6 @@ var xFlapGetTransitionType func(uintptr) FlapTransitionType
348 func (x *Flap) GetTransitionType() FlapTransitionType {336 func (x *Flap) GetTransitionType() FlapTransitionType {
349 337
350 cret := xFlapGetTransitionType(x.GoPointer())338 cret := xFlapGetTransitionType(x.GoPointer())
351-
352 return cret339 return cret
353 }340 }
354 341
@@ -717,7 +704,6 @@ func (x *Flap) GetPropertySwipeToOpen() bool {
717 func (x *Flap) GetCancelProgress() float64 {704 func (x *Flap) GetCancelProgress() float64 {
718 705
719 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())706 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
720-
721 return cret707 return cret
722 }708 }
723 709
@@ -727,7 +713,6 @@ func (x *Flap) GetCancelProgress() float64 {
727 func (x *Flap) GetDistance() float64 {713 func (x *Flap) GetDistance() float64 {
728 714
729 cret := XAdwSwipeableGetDistance(x.GoPointer())715 cret := XAdwSwipeableGetDistance(x.GoPointer())
730-
731 return cret716 return cret
732 }717 }
733 718
@@ -735,7 +720,6 @@ func (x *Flap) GetDistance() float64 {
735 func (x *Flap) GetProgress() float64 {720 func (x *Flap) GetProgress() float64 {
736 721
737 cret := XAdwSwipeableGetProgress(x.GoPointer())722 cret := XAdwSwipeableGetProgress(x.GoPointer())
738-
739 return cret723 return cret
740 }724 }
741 725
@@ -746,7 +730,6 @@ func (x *Flap) GetProgress() float64 {
746 func (x *Flap) GetSnapPoints(NSnapPointsVar *int) uintptr {730 func (x *Flap) GetSnapPoints(NSnapPointsVar *int) uintptr {
747 731
748 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)732 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
749-
750 return cret733 return cret
751 }734 }
752 735
@@ -800,7 +783,6 @@ func (x *Flap) GetAccessibleParent() *gtk.AccessibleBase {
800 func (x *Flap) GetAccessibleRole() gtk.AccessibleRole {783 func (x *Flap) GetAccessibleRole() gtk.AccessibleRole {
801 784
802 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())785 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
803-
804 return cret786 return cret
805 }787 }
806 788
@@ -826,7 +808,6 @@ func (x *Flap) GetAtContext() *gtk.ATContext {
826 func (x *Flap) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {808 func (x *Flap) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
827 809
828 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)810 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
829-
830 return cret811 return cret
831 }812 }
832 813
@@ -866,7 +847,6 @@ func (x *Flap) GetNextAccessibleSibling() *gtk.AccessibleBase {
866 func (x *Flap) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {847 func (x *Flap) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
867 848
868 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)849 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
869-
870 return cret850 return cret
871 }851 }
872 852
@@ -1043,7 +1023,6 @@ func (x *Flap) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState,
1043 func (x *Flap) GetBuildableId() string {1023 func (x *Flap) GetBuildableId() string {
1044 1024
1045 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1025 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1046-
1047 return cret1026 return cret
1048 }1027 }
1049 1028
@@ -1051,7 +1030,6 @@ func (x *Flap) GetBuildableId() string {
1051 func (x *Flap) GetOrientation() gtk.Orientation {1030 func (x *Flap) GetOrientation() gtk.Orientation {
1052 1031
1053 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())1032 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
1054-
1055 return cret1033 return cret
1056 }1034 }
1057 1035
M v4/adw/adw-header-bar.go +2 -14
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -177,7 +176,6 @@ var xHeaderBarGetCenteringPolicy func(uintptr) CenteringPolicy
177 func (x *HeaderBar) GetCenteringPolicy() CenteringPolicy {176 func (x *HeaderBar) GetCenteringPolicy() CenteringPolicy {
178 177
179 cret := xHeaderBarGetCenteringPolicy(x.GoPointer())178 cret := xHeaderBarGetCenteringPolicy(x.GoPointer())
180-
181 return cret179 return cret
182 }180 }
183 181
@@ -187,7 +185,6 @@ var xHeaderBarGetDecorationLayout func(uintptr) string
187 func (x *HeaderBar) GetDecorationLayout() string {185 func (x *HeaderBar) GetDecorationLayout() string {
188 186
189 cret := xHeaderBarGetDecorationLayout(x.GoPointer())187 cret := xHeaderBarGetDecorationLayout(x.GoPointer())
190-
191 return cret188 return cret
192 }189 }
193 190
@@ -197,7 +194,6 @@ var xHeaderBarGetShowBackButton func(uintptr) bool
197 func (x *HeaderBar) GetShowBackButton() bool {194 func (x *HeaderBar) GetShowBackButton() bool {
198 195
199 cret := xHeaderBarGetShowBackButton(x.GoPointer())196 cret := xHeaderBarGetShowBackButton(x.GoPointer())
200-
201 return cret197 return cret
202 }198 }
203 199
@@ -207,7 +203,6 @@ var xHeaderBarGetShowEndTitleButtons func(uintptr) bool
207 func (x *HeaderBar) GetShowEndTitleButtons() bool {203 func (x *HeaderBar) GetShowEndTitleButtons() bool {
208 204
209 cret := xHeaderBarGetShowEndTitleButtons(x.GoPointer())205 cret := xHeaderBarGetShowEndTitleButtons(x.GoPointer())
210-
211 return cret206 return cret
212 }207 }
213 208
@@ -217,7 +212,6 @@ var xHeaderBarGetShowStartTitleButtons func(uintptr) bool
217 func (x *HeaderBar) GetShowStartTitleButtons() bool {212 func (x *HeaderBar) GetShowStartTitleButtons() bool {
218 213
219 cret := xHeaderBarGetShowStartTitleButtons(x.GoPointer())214 cret := xHeaderBarGetShowStartTitleButtons(x.GoPointer())
220-
221 return cret215 return cret
222 }216 }
223 217
@@ -227,7 +221,6 @@ var xHeaderBarGetShowTitle func(uintptr) bool
227 func (x *HeaderBar) GetShowTitle() bool {221 func (x *HeaderBar) GetShowTitle() bool {
228 222
229 cret := xHeaderBarGetShowTitle(x.GoPointer())223 cret := xHeaderBarGetShowTitle(x.GoPointer())
230-
231 return cret224 return cret
232 }225 }
233 226
@@ -303,12 +296,11 @@ var xHeaderBarSetDecorationLayout func(uintptr, uintptr)
303 // and minimize, maximize and close buttons at the end.296 // and minimize, maximize and close buttons at the end.
304 func (x *HeaderBar) SetDecorationLayout(LayoutVar *string) {297 func (x *HeaderBar) SetDecorationLayout(LayoutVar *string) {
305 298
306- LayoutVarPtr, LayoutVarBytes := core.NullableStringToPtr(LayoutVar)299+ LayoutVarPtr := core.GStrdupNullable(LayoutVar)
300+ defer core.GFreeNullable(LayoutVarPtr)
307 301
308 xHeaderBarSetDecorationLayout(x.GoPointer(), LayoutVarPtr)302 xHeaderBarSetDecorationLayout(x.GoPointer(), LayoutVarPtr)
309 303
310- runtime.KeepAlive(LayoutVarBytes)
311-
312 }304 }
313 305
314 var xHeaderBarSetShowBackButton func(uintptr, bool)306 var xHeaderBarSetShowBackButton func(uintptr, bool)
@@ -575,7 +567,6 @@ func (x *HeaderBar) GetAccessibleParent() *gtk.AccessibleBase {
575 func (x *HeaderBar) GetAccessibleRole() gtk.AccessibleRole {567 func (x *HeaderBar) GetAccessibleRole() gtk.AccessibleRole {
576 568
577 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())569 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
578-
579 return cret570 return cret
580 }571 }
581 572
@@ -601,7 +592,6 @@ func (x *HeaderBar) GetAtContext() *gtk.ATContext {
601 func (x *HeaderBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {592 func (x *HeaderBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
602 593
603 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)594 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
604-
605 return cret595 return cret
606 }596 }
607 597
@@ -641,7 +631,6 @@ func (x *HeaderBar) GetNextAccessibleSibling() *gtk.AccessibleBase {
641 func (x *HeaderBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {631 func (x *HeaderBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
642 632
643 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)633 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
644-
645 return cret634 return cret
646 }635 }
647 636
@@ -818,7 +807,6 @@ func (x *HeaderBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
818 func (x *HeaderBar) GetBuildableId() string {807 func (x *HeaderBar) GetBuildableId() string {
819 808
820 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())809 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
821-
822 return cret810 return cret
823 }811 }
824 812
M v4/adw/adw-inline-view-switcher.go +0 -8
@@ -131,7 +131,6 @@ 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-
135 return cret134 return cret
136 }135 }
137 136
@@ -141,7 +140,6 @@ var xInlineViewSwitcherGetDisplayMode func(uintptr) InlineViewSwitcherDisplayMod
141 func (x *InlineViewSwitcher) GetDisplayMode() InlineViewSwitcherDisplayMode {140 func (x *InlineViewSwitcher) GetDisplayMode() InlineViewSwitcherDisplayMode {
142 141
143 cret := xInlineViewSwitcherGetDisplayMode(x.GoPointer())142 cret := xInlineViewSwitcherGetDisplayMode(x.GoPointer())
144-
145 return cret143 return cret
146 }144 }
147 145
@@ -151,7 +149,6 @@ var xInlineViewSwitcherGetHomogeneous func(uintptr) bool
151 func (x *InlineViewSwitcher) GetHomogeneous() bool {149 func (x *InlineViewSwitcher) GetHomogeneous() bool {
152 150
153 cret := xInlineViewSwitcherGetHomogeneous(x.GoPointer())151 cret := xInlineViewSwitcherGetHomogeneous(x.GoPointer())
154-
155 return cret152 return cret
156 }153 }
157 154
@@ -310,7 +307,6 @@ func (x *InlineViewSwitcher) GetAccessibleParent() *gtk.AccessibleBase {
310 func (x *InlineViewSwitcher) GetAccessibleRole() gtk.AccessibleRole {307 func (x *InlineViewSwitcher) GetAccessibleRole() gtk.AccessibleRole {
311 308
312 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())309 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
313-
314 return cret310 return cret
315 }311 }
316 312
@@ -336,7 +332,6 @@ func (x *InlineViewSwitcher) GetAtContext() *gtk.ATContext {
336 func (x *InlineViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {332 func (x *InlineViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
337 333
338 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)334 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
339-
340 return cret335 return cret
341 }336 }
342 337
@@ -376,7 +371,6 @@ func (x *InlineViewSwitcher) GetNextAccessibleSibling() *gtk.AccessibleBase {
376 func (x *InlineViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {371 func (x *InlineViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
377 372
378 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)373 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
379-
380 return cret374 return cret
381 }375 }
382 376
@@ -553,7 +547,6 @@ func (x *InlineViewSwitcher) UpdateStateValue(NStatesVar int, StatesVar []gtk.Ac
553 func (x *InlineViewSwitcher) GetBuildableId() string {547 func (x *InlineViewSwitcher) GetBuildableId() string {
554 548
555 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())549 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
556-
557 return cret550 return cret
558 }551 }
559 552
@@ -561,7 +554,6 @@ func (x *InlineViewSwitcher) GetBuildableId() string {
561 func (x *InlineViewSwitcher) GetOrientation() gtk.Orientation {554 func (x *InlineViewSwitcher) GetOrientation() gtk.Orientation {
562 555
563 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())556 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
564-
565 return cret557 return cret
566 }558 }
567 559
M v4/adw/adw-layout-slot.go +0 -5
@@ -67,7 +67,6 @@ 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-
71 return cret70 return cret
72 }71 }
73 72
@@ -138,7 +137,6 @@ func (x *LayoutSlot) GetAccessibleParent() *gtk.AccessibleBase {
138 func (x *LayoutSlot) GetAccessibleRole() gtk.AccessibleRole {137 func (x *LayoutSlot) GetAccessibleRole() gtk.AccessibleRole {
139 138
140 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())139 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
141-
142 return cret140 return cret
143 }141 }
144 142
@@ -164,7 +162,6 @@ func (x *LayoutSlot) GetAtContext() *gtk.ATContext {
164 func (x *LayoutSlot) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {162 func (x *LayoutSlot) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
165 163
166 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)164 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
167-
168 return cret165 return cret
169 }166 }
170 167
@@ -204,7 +201,6 @@ func (x *LayoutSlot) GetNextAccessibleSibling() *gtk.AccessibleBase {
204 func (x *LayoutSlot) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {201 func (x *LayoutSlot) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
205 202
206 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)203 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
207-
208 return cret204 return cret
209 }205 }
210 206
@@ -381,7 +377,6 @@ func (x *LayoutSlot) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessible
381 func (x *LayoutSlot) GetBuildableId() string {377 func (x *LayoutSlot) GetBuildableId() string {
382 378
383 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())379 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
384-
385 return cret380 return cret
386 }381 }
387 382
M v4/adw/adw-layout.go +2 -6
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -79,7 +78,6 @@ var xLayoutGetName func(uintptr) string
79 func (x *Layout) GetName() string {78 func (x *Layout) GetName() string {
80 79
81 cret := xLayoutGetName(x.GoPointer())80 cret := xLayoutGetName(x.GoPointer())
82-
83 return cret81 return cret
84 }82 }
85 83
@@ -88,12 +86,11 @@ var xLayoutSetName func(uintptr, uintptr)
88 // Sets the name of the layout.86 // Sets the name of the layout.
89 func (x *Layout) SetName(NameVar *string) {87 func (x *Layout) SetName(NameVar *string) {
90 88
91- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)89+ NameVarPtr := core.GStrdupNullable(NameVar)
90+ defer core.GFreeNullable(NameVarPtr)
92 91
93 xLayoutSetName(x.GoPointer(), NameVarPtr)92 xLayoutSetName(x.GoPointer(), NameVarPtr)
94 93
95- runtime.KeepAlive(NameVarBytes)
96-
97 }94 }
98 95
99 func (c *Layout) GoPointer() uintptr {96 func (c *Layout) GoPointer() uintptr {
@@ -131,7 +128,6 @@ func (x *Layout) GetPropertyName() string {
131 func (x *Layout) GetBuildableId() string {128 func (x *Layout) GetBuildableId() string {
132 129
133 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())130 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
134-
135 return cret131 return cret
136 }132 }
137 133
M v4/adw/adw-leaflet.go +2 -27
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -170,7 +169,6 @@ var xLeafletGetCanNavigateBack func(uintptr) bool
170 func (x *Leaflet) GetCanNavigateBack() bool {169 func (x *Leaflet) GetCanNavigateBack() bool {
171 170
172 cret := xLeafletGetCanNavigateBack(x.GoPointer())171 cret := xLeafletGetCanNavigateBack(x.GoPointer())
173-
174 return cret172 return cret
175 }173 }
176 174
@@ -180,7 +178,6 @@ var xLeafletGetCanNavigateForward func(uintptr) bool
180 func (x *Leaflet) GetCanNavigateForward() bool {178 func (x *Leaflet) GetCanNavigateForward() bool {
181 179
182 cret := xLeafletGetCanNavigateForward(x.GoPointer())180 cret := xLeafletGetCanNavigateForward(x.GoPointer())
183-
184 return cret181 return cret
185 }182 }
186 183
@@ -190,7 +187,6 @@ var xLeafletGetCanUnfold func(uintptr) bool
190 func (x *Leaflet) GetCanUnfold() bool {187 func (x *Leaflet) GetCanUnfold() bool {
191 188
192 cret := xLeafletGetCanUnfold(x.GoPointer())189 cret := xLeafletGetCanUnfold(x.GoPointer())
193-
194 return cret190 return cret
195 }191 }
196 192
@@ -221,7 +217,6 @@ var xLeafletGetChildTransitionParams func(uintptr) *SpringParams
221 func (x *Leaflet) GetChildTransitionParams() *SpringParams {217 func (x *Leaflet) GetChildTransitionParams() *SpringParams {
222 218
223 cret := xLeafletGetChildTransitionParams(x.GoPointer())219 cret := xLeafletGetChildTransitionParams(x.GoPointer())
224-
225 return cret220 return cret
226 }221 }
227 222
@@ -231,7 +226,6 @@ var xLeafletGetChildTransitionRunning func(uintptr) bool
231 func (x *Leaflet) GetChildTransitionRunning() bool {226 func (x *Leaflet) GetChildTransitionRunning() bool {
232 227
233 cret := xLeafletGetChildTransitionRunning(x.GoPointer())228 cret := xLeafletGetChildTransitionRunning(x.GoPointer())
234-
235 return cret229 return cret
236 }230 }
237 231
@@ -241,7 +235,6 @@ var xLeafletGetFoldThresholdPolicy func(uintptr) FoldThresholdPolicy
241 func (x *Leaflet) GetFoldThresholdPolicy() FoldThresholdPolicy {235 func (x *Leaflet) GetFoldThresholdPolicy() FoldThresholdPolicy {
242 236
243 cret := xLeafletGetFoldThresholdPolicy(x.GoPointer())237 cret := xLeafletGetFoldThresholdPolicy(x.GoPointer())
244-
245 return cret238 return cret
246 }239 }
247 240
@@ -255,7 +248,6 @@ var xLeafletGetFolded func(uintptr) bool
255 func (x *Leaflet) GetFolded() bool {248 func (x *Leaflet) GetFolded() bool {
256 249
257 cret := xLeafletGetFolded(x.GoPointer())250 cret := xLeafletGetFolded(x.GoPointer())
258-
259 return cret251 return cret
260 }252 }
261 253
@@ -265,7 +257,6 @@ var xLeafletGetHomogeneous func(uintptr) bool
265 func (x *Leaflet) GetHomogeneous() bool {257 func (x *Leaflet) GetHomogeneous() bool {
266 258
267 cret := xLeafletGetHomogeneous(x.GoPointer())259 cret := xLeafletGetHomogeneous(x.GoPointer())
268-
269 return cret260 return cret
270 }261 }
271 262
@@ -275,7 +266,6 @@ var xLeafletGetModeTransitionDuration func(uintptr) uint
275 func (x *Leaflet) GetModeTransitionDuration() uint {266 func (x *Leaflet) GetModeTransitionDuration() uint {
276 267
277 cret := xLeafletGetModeTransitionDuration(x.GoPointer())268 cret := xLeafletGetModeTransitionDuration(x.GoPointer())
278-
279 return cret269 return cret
280 }270 }
281 271
@@ -322,7 +312,6 @@ var xLeafletGetTransitionType func(uintptr) LeafletTransitionType
322 func (x *Leaflet) GetTransitionType() LeafletTransitionType {312 func (x *Leaflet) GetTransitionType() LeafletTransitionType {
323 313
324 cret := xLeafletGetTransitionType(x.GoPointer())314 cret := xLeafletGetTransitionType(x.GoPointer())
325-
326 return cret315 return cret
327 }316 }
328 317
@@ -349,7 +338,6 @@ var xLeafletGetVisibleChildName func(uintptr) string
349 func (x *Leaflet) GetVisibleChildName() string {338 func (x *Leaflet) GetVisibleChildName() string {
350 339
351 cret := xLeafletGetVisibleChildName(x.GoPointer())340 cret := xLeafletGetVisibleChildName(x.GoPointer())
352-
353 return cret341 return cret
354 }342 }
355 343
@@ -384,7 +372,6 @@ var xLeafletNavigate func(uintptr, NavigationDirection) bool
384 func (x *Leaflet) Navigate(DirectionVar NavigationDirection) bool {372 func (x *Leaflet) Navigate(DirectionVar NavigationDirection) bool {
385 373
386 cret := xLeafletNavigate(x.GoPointer(), DirectionVar)374 cret := xLeafletNavigate(x.GoPointer(), DirectionVar)
387-
388 return cret375 return cret
389 }376 }
390 377
@@ -814,7 +801,6 @@ func (x *Leaflet) GetPropertyVisibleChildName() string {
814 func (x *Leaflet) GetCancelProgress() float64 {801 func (x *Leaflet) GetCancelProgress() float64 {
815 802
816 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())803 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
817-
818 return cret804 return cret
819 }805 }
820 806
@@ -824,7 +810,6 @@ func (x *Leaflet) GetCancelProgress() float64 {
824 func (x *Leaflet) GetDistance() float64 {810 func (x *Leaflet) GetDistance() float64 {
825 811
826 cret := XAdwSwipeableGetDistance(x.GoPointer())812 cret := XAdwSwipeableGetDistance(x.GoPointer())
827-
828 return cret813 return cret
829 }814 }
830 815
@@ -832,7 +817,6 @@ func (x *Leaflet) GetDistance() float64 {
832 func (x *Leaflet) GetProgress() float64 {817 func (x *Leaflet) GetProgress() float64 {
833 818
834 cret := XAdwSwipeableGetProgress(x.GoPointer())819 cret := XAdwSwipeableGetProgress(x.GoPointer())
835-
836 return cret820 return cret
837 }821 }
838 822
@@ -843,7 +827,6 @@ func (x *Leaflet) GetProgress() float64 {
843 func (x *Leaflet) GetSnapPoints(NSnapPointsVar *int) uintptr {827 func (x *Leaflet) GetSnapPoints(NSnapPointsVar *int) uintptr {
844 828
845 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)829 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
846-
847 return cret830 return cret
848 }831 }
849 832
@@ -897,7 +880,6 @@ func (x *Leaflet) GetAccessibleParent() *gtk.AccessibleBase {
897 func (x *Leaflet) GetAccessibleRole() gtk.AccessibleRole {880 func (x *Leaflet) GetAccessibleRole() gtk.AccessibleRole {
898 881
899 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())882 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
900-
901 return cret883 return cret
902 }884 }
903 885
@@ -923,7 +905,6 @@ func (x *Leaflet) GetAtContext() *gtk.ATContext {
923 func (x *Leaflet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {905 func (x *Leaflet) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
924 906
925 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)907 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
926-
927 return cret908 return cret
928 }909 }
929 910
@@ -963,7 +944,6 @@ func (x *Leaflet) GetNextAccessibleSibling() *gtk.AccessibleBase {
963 func (x *Leaflet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {944 func (x *Leaflet) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
964 945
965 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)946 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
966-
967 return cret947 return cret
968 }948 }
969 949
@@ -1140,7 +1120,6 @@ func (x *Leaflet) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
1140 func (x *Leaflet) GetBuildableId() string {1120 func (x *Leaflet) GetBuildableId() string {
1141 1121
1142 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1122 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1143-
1144 return cret1123 return cret
1145 }1124 }
1146 1125
@@ -1148,7 +1127,6 @@ func (x *Leaflet) GetBuildableId() string {
1148 func (x *Leaflet) GetOrientation() gtk.Orientation {1127 func (x *Leaflet) GetOrientation() gtk.Orientation {
1149 1128
1150 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())1129 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
1151-
1152 return cret1130 return cret
1153 }1131 }
1154 1132
@@ -1199,7 +1177,6 @@ var xLeafletPageGetName func(uintptr) string
1199 func (x *LeafletPage) GetName() string {1177 func (x *LeafletPage) GetName() string {
1200 1178
1201 cret := xLeafletPageGetName(x.GoPointer())1179 cret := xLeafletPageGetName(x.GoPointer())
1202-
1203 return cret1180 return cret
1204 }1181 }
1205 1182
@@ -1209,7 +1186,6 @@ var xLeafletPageGetNavigatable func(uintptr) bool
1209 func (x *LeafletPage) GetNavigatable() bool {1186 func (x *LeafletPage) GetNavigatable() bool {
1210 1187
1211 cret := xLeafletPageGetNavigatable(x.GoPointer())1188 cret := xLeafletPageGetNavigatable(x.GoPointer())
1212-
1213 return cret1189 return cret
1214 }1190 }
1215 1191
@@ -1218,12 +1194,11 @@ var xLeafletPageSetName func(uintptr, uintptr)
1218 // Sets the name of the @self.1194 // Sets the name of the @self.
1219 func (x *LeafletPage) SetName(NameVar *string) {1195 func (x *LeafletPage) SetName(NameVar *string) {
1220 1196
1221- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)1197+ NameVarPtr := core.GStrdupNullable(NameVar)
1198+ defer core.GFreeNullable(NameVarPtr)
1222 1199
1223 xLeafletPageSetName(x.GoPointer(), NameVarPtr)1200 xLeafletPageSetName(x.GoPointer(), NameVarPtr)
1224 1201
1225- runtime.KeepAlive(NameVarBytes)
1226-
1227 }1202 }
1228 1203
1229 var xLeafletPageSetNavigatable func(uintptr, bool)1204 var xLeafletPageSetNavigatable func(uintptr, bool)
M v4/adw/adw-length-unit.go +0 -2
@@ -41,7 +41,6 @@ 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-
45 return cret44 return cret
46 }45 }
47 46
@@ -51,7 +50,6 @@ var xLengthUnitToPx func(LengthUnit, float64, uintptr) float64
51 func LengthUnitToPx(UnitVar LengthUnit, ValueVar float64, SettingsVar *gtk.Settings) float64 {50 func LengthUnitToPx(UnitVar LengthUnit, ValueVar float64, SettingsVar *gtk.Settings) float64 {
52 51
53 cret := xLengthUnitToPx(UnitVar, ValueVar, SettingsVar.GoPointer())52 cret := xLengthUnitToPx(UnitVar, ValueVar, SettingsVar.GoPointer())
54-
55 return cret53 return cret
56 }54 }
57 55
M v4/adw/adw-main.go +0 -1
@@ -32,7 +32,6 @@ var xIsInitialized func() bool
32 func IsInitialized() bool {32 func IsInitialized() bool {
33 33
34 cret := xIsInitialized()34 cret := xIsInitialized()
35-
36 return cret35 return cret
37 }36 }
38 37
M v4/adw/adw-message-dialog.go +8 -28
@@ -3,7 +3,6 @@ package adw
3 3
4 import (4 import (
5 "fmt"5 "fmt"
6- "runtime"
7 "structs"6 "structs"
8 "unsafe"7 "unsafe"
9 8
@@ -231,16 +230,14 @@ var xNewMessageDialog func(uintptr, uintptr, uintptr) uintptr
231 func NewMessageDialog(ParentVar *gtk.Window, HeadingVar *string, BodyVar *string) *MessageDialog {230 func NewMessageDialog(ParentVar *gtk.Window, HeadingVar *string, BodyVar *string) *MessageDialog {
232 var cls *MessageDialog231 var cls *MessageDialog
233 232
234- HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar)233+ HeadingVarPtr := core.GStrdupNullable(HeadingVar)
234+ defer core.GFreeNullable(HeadingVarPtr)
235 235
236- BodyVarPtr, BodyVarBytes := core.NullableStringToPtr(BodyVar)236+ BodyVarPtr := core.GStrdupNullable(BodyVar)
237+ defer core.GFreeNullable(BodyVarPtr)
237 238
238 cret := xNewMessageDialog(ParentVar.GoPointer(), HeadingVarPtr, BodyVarPtr)239 cret := xNewMessageDialog(ParentVar.GoPointer(), HeadingVarPtr, BodyVarPtr)
239 240
240- runtime.KeepAlive(HeadingVarBytes)
241-
242- runtime.KeepAlive(BodyVarBytes)
243-
244 if cret == 0 {241 if cret == 0 {
245 return nil242 return nil
246 }243 }
@@ -329,7 +326,6 @@ var xMessageDialogChooseFinish func(uintptr, uintptr) string
329 func (x *MessageDialog) ChooseFinish(ResultVar gio.AsyncResult) string {326 func (x *MessageDialog) ChooseFinish(ResultVar gio.AsyncResult) string {
330 327
331 cret := xMessageDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer())328 cret := xMessageDialogChooseFinish(x.GoPointer(), ResultVar.GoPointer())
332-
333 return cret329 return cret
334 }330 }
335 331
@@ -395,7 +391,6 @@ var xMessageDialogGetBody func(uintptr) string
395 func (x *MessageDialog) GetBody() string {391 func (x *MessageDialog) GetBody() string {
396 392
397 cret := xMessageDialogGetBody(x.GoPointer())393 cret := xMessageDialogGetBody(x.GoPointer())
398-
399 return cret394 return cret
400 }395 }
401 396
@@ -405,7 +400,6 @@ var xMessageDialogGetBodyUseMarkup func(uintptr) bool
405 func (x *MessageDialog) GetBodyUseMarkup() bool {400 func (x *MessageDialog) GetBodyUseMarkup() bool {
406 401
407 cret := xMessageDialogGetBodyUseMarkup(x.GoPointer())402 cret := xMessageDialogGetBodyUseMarkup(x.GoPointer())
408-
409 return cret403 return cret
410 }404 }
411 405
@@ -415,7 +409,6 @@ var xMessageDialogGetCloseResponse func(uintptr) string
415 func (x *MessageDialog) GetCloseResponse() string {409 func (x *MessageDialog) GetCloseResponse() string {
416 410
417 cret := xMessageDialogGetCloseResponse(x.GoPointer())411 cret := xMessageDialogGetCloseResponse(x.GoPointer())
418-
419 return cret412 return cret
420 }413 }
421 414
@@ -425,7 +418,6 @@ var xMessageDialogGetDefaultResponse func(uintptr) string
425 func (x *MessageDialog) GetDefaultResponse() string {418 func (x *MessageDialog) GetDefaultResponse() string {
426 419
427 cret := xMessageDialogGetDefaultResponse(x.GoPointer())420 cret := xMessageDialogGetDefaultResponse(x.GoPointer())
428-
429 return cret421 return cret
430 }422 }
431 423
@@ -452,7 +444,6 @@ var xMessageDialogGetHeading func(uintptr) string
452 func (x *MessageDialog) GetHeading() string {444 func (x *MessageDialog) GetHeading() string {
453 445
454 cret := xMessageDialogGetHeading(x.GoPointer())446 cret := xMessageDialogGetHeading(x.GoPointer())
455-
456 return cret447 return cret
457 }448 }
458 449
@@ -462,7 +453,6 @@ var xMessageDialogGetHeadingUseMarkup func(uintptr) bool
462 func (x *MessageDialog) GetHeadingUseMarkup() bool {453 func (x *MessageDialog) GetHeadingUseMarkup() bool {
463 454
464 cret := xMessageDialogGetHeadingUseMarkup(x.GoPointer())455 cret := xMessageDialogGetHeadingUseMarkup(x.GoPointer())
465-
466 return cret456 return cret
467 }457 }
468 458
@@ -474,7 +464,6 @@ var xMessageDialogGetResponseAppearance func(uintptr, string) ResponseAppearance
474 func (x *MessageDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance {464 func (x *MessageDialog) GetResponseAppearance(ResponseVar string) ResponseAppearance {
475 465
476 cret := xMessageDialogGetResponseAppearance(x.GoPointer(), ResponseVar)466 cret := xMessageDialogGetResponseAppearance(x.GoPointer(), ResponseVar)
477-
478 return cret467 return cret
479 }468 }
480 469
@@ -486,7 +475,6 @@ var xMessageDialogGetResponseEnabled func(uintptr, string) bool
486 func (x *MessageDialog) GetResponseEnabled(ResponseVar string) bool {475 func (x *MessageDialog) GetResponseEnabled(ResponseVar string) bool {
487 476
488 cret := xMessageDialogGetResponseEnabled(x.GoPointer(), ResponseVar)477 cret := xMessageDialogGetResponseEnabled(x.GoPointer(), ResponseVar)
489-
490 return cret478 return cret
491 }479 }
492 480
@@ -498,7 +486,6 @@ var xMessageDialogGetResponseLabel func(uintptr, string) string
498 func (x *MessageDialog) GetResponseLabel(ResponseVar string) string {486 func (x *MessageDialog) GetResponseLabel(ResponseVar string) string {
499 487
500 cret := xMessageDialogGetResponseLabel(x.GoPointer(), ResponseVar)488 cret := xMessageDialogGetResponseLabel(x.GoPointer(), ResponseVar)
501-
502 return cret489 return cret
503 }490 }
504 491
@@ -508,7 +495,6 @@ var xMessageDialogHasResponse func(uintptr, string) bool
508 func (x *MessageDialog) HasResponse(ResponseVar string) bool {495 func (x *MessageDialog) HasResponse(ResponseVar string) bool {
509 496
510 cret := xMessageDialogHasResponse(x.GoPointer(), ResponseVar)497 cret := xMessageDialogHasResponse(x.GoPointer(), ResponseVar)
511-
512 return cret498 return cret
513 }499 }
514 500
@@ -581,12 +567,11 @@ var xMessageDialogSetDefaultResponse func(uintptr, uintptr)
581 // See [property@Gtk.Window:default-widget].567 // See [property@Gtk.Window:default-widget].
582 func (x *MessageDialog) SetDefaultResponse(ResponseVar *string) {568 func (x *MessageDialog) SetDefaultResponse(ResponseVar *string) {
583 569
584- ResponseVarPtr, ResponseVarBytes := core.NullableStringToPtr(ResponseVar)570+ ResponseVarPtr := core.GStrdupNullable(ResponseVar)
571+ defer core.GFreeNullable(ResponseVarPtr)
585 572
586 xMessageDialogSetDefaultResponse(x.GoPointer(), ResponseVarPtr)573 xMessageDialogSetDefaultResponse(x.GoPointer(), ResponseVarPtr)
587 574
588- runtime.KeepAlive(ResponseVarBytes)
589-
590 }575 }
591 576
592 var xMessageDialogSetExtraChild func(uintptr, uintptr)577 var xMessageDialogSetExtraChild func(uintptr, uintptr)
@@ -605,12 +590,11 @@ var xMessageDialogSetHeading func(uintptr, uintptr)
605 // Sets the heading of @self.590 // Sets the heading of @self.
606 func (x *MessageDialog) SetHeading(HeadingVar *string) {591 func (x *MessageDialog) SetHeading(HeadingVar *string) {
607 592
608- HeadingVarPtr, HeadingVarBytes := core.NullableStringToPtr(HeadingVar)593+ HeadingVarPtr := core.GStrdupNullable(HeadingVar)
594+ defer core.GFreeNullable(HeadingVarPtr)
609 595
610 xMessageDialogSetHeading(x.GoPointer(), HeadingVarPtr)596 xMessageDialogSetHeading(x.GoPointer(), HeadingVarPtr)
611 597
612- runtime.KeepAlive(HeadingVarBytes)
613-
614 }598 }
615 599
616 var xMessageDialogSetHeadingUseMarkup func(uintptr, bool)600 var xMessageDialogSetHeadingUseMarkup func(uintptr, bool)
@@ -924,7 +908,6 @@ func (x *MessageDialog) GetAccessibleParent() *gtk.AccessibleBase {
924 func (x *MessageDialog) GetAccessibleRole() gtk.AccessibleRole {908 func (x *MessageDialog) GetAccessibleRole() gtk.AccessibleRole {
925 909
926 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())910 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
927-
928 return cret911 return cret
929 }912 }
930 913
@@ -950,7 +933,6 @@ func (x *MessageDialog) GetAtContext() *gtk.ATContext {
950 func (x *MessageDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {933 func (x *MessageDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
951 934
952 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)935 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
953-
954 return cret936 return cret
955 }937 }
956 938
@@ -990,7 +972,6 @@ func (x *MessageDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
990 func (x *MessageDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {972 func (x *MessageDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
991 973
992 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)974 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
993-
994 return cret975 return cret
995 }976 }
996 977
@@ -1167,7 +1148,6 @@ func (x *MessageDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi
1167 func (x *MessageDialog) GetBuildableId() string {1148 func (x *MessageDialog) GetBuildableId() string {
1168 1149
1169 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1150 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1170-
1171 return cret1151 return cret
1172 }1152 }
1173 1153
M v4/adw/adw-multi-layout-view.go +0 -5
@@ -205,7 +205,6 @@ 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-
209 return cret208 return cret
210 }209 }
211 210
@@ -316,7 +315,6 @@ func (x *MultiLayoutView) GetAccessibleParent() *gtk.AccessibleBase {
316 func (x *MultiLayoutView) GetAccessibleRole() gtk.AccessibleRole {315 func (x *MultiLayoutView) GetAccessibleRole() gtk.AccessibleRole {
317 316
318 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())317 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
319-
320 return cret318 return cret
321 }319 }
322 320
@@ -342,7 +340,6 @@ func (x *MultiLayoutView) GetAtContext() *gtk.ATContext {
342 func (x *MultiLayoutView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {340 func (x *MultiLayoutView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
343 341
344 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)342 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
345-
346 return cret343 return cret
347 }344 }
348 345
@@ -382,7 +379,6 @@ func (x *MultiLayoutView) GetNextAccessibleSibling() *gtk.AccessibleBase {
382 func (x *MultiLayoutView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {379 func (x *MultiLayoutView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
383 380
384 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)381 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
385-
386 return cret382 return cret
387 }383 }
388 384
@@ -559,7 +555,6 @@ func (x *MultiLayoutView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
559 func (x *MultiLayoutView) GetBuildableId() string {555 func (x *MultiLayoutView) GetBuildableId() string {
560 556
561 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())557 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
562-
563 return cret558 return cret
564 }559 }
565 560
M v4/adw/adw-navigation-split-view.go +0 -11
@@ -205,7 +205,6 @@ 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-
209 return cret208 return cret
210 }209 }
211 210
@@ -232,7 +231,6 @@ var xNavigationSplitViewGetMaxSidebarWidth func(uintptr) float64
232 func (x *NavigationSplitView) GetMaxSidebarWidth() float64 {231 func (x *NavigationSplitView) GetMaxSidebarWidth() float64 {
233 232
234 cret := xNavigationSplitViewGetMaxSidebarWidth(x.GoPointer())233 cret := xNavigationSplitViewGetMaxSidebarWidth(x.GoPointer())
235-
236 return cret234 return cret
237 }235 }
238 236
@@ -242,7 +240,6 @@ var xNavigationSplitViewGetMinSidebarWidth func(uintptr) float64
242 func (x *NavigationSplitView) GetMinSidebarWidth() float64 {240 func (x *NavigationSplitView) GetMinSidebarWidth() float64 {
243 241
244 cret := xNavigationSplitViewGetMinSidebarWidth(x.GoPointer())242 cret := xNavigationSplitViewGetMinSidebarWidth(x.GoPointer())
245-
246 return cret243 return cret
247 }244 }
248 245
@@ -252,7 +249,6 @@ var xNavigationSplitViewGetShowContent func(uintptr) bool
252 func (x *NavigationSplitView) GetShowContent() bool {249 func (x *NavigationSplitView) GetShowContent() bool {
253 250
254 cret := xNavigationSplitViewGetShowContent(x.GoPointer())251 cret := xNavigationSplitViewGetShowContent(x.GoPointer())
255-
256 return cret252 return cret
257 }253 }
258 254
@@ -279,7 +275,6 @@ var xNavigationSplitViewGetSidebarPosition func(uintptr) gtk.PackType
279 func (x *NavigationSplitView) GetSidebarPosition() gtk.PackType {275 func (x *NavigationSplitView) GetSidebarPosition() gtk.PackType {
280 276
281 cret := xNavigationSplitViewGetSidebarPosition(x.GoPointer())277 cret := xNavigationSplitViewGetSidebarPosition(x.GoPointer())
282-
283 return cret278 return cret
284 }279 }
285 280
@@ -289,7 +284,6 @@ var xNavigationSplitViewGetSidebarWidthFraction func(uintptr) float64
289 func (x *NavigationSplitView) GetSidebarWidthFraction() float64 {284 func (x *NavigationSplitView) GetSidebarWidthFraction() float64 {
290 285
291 cret := xNavigationSplitViewGetSidebarWidthFraction(x.GoPointer())286 cret := xNavigationSplitViewGetSidebarWidthFraction(x.GoPointer())
292-
293 return cret287 return cret
294 }288 }
295 289
@@ -299,7 +293,6 @@ var xNavigationSplitViewGetSidebarWidthUnit func(uintptr) LengthUnit
299 func (x *NavigationSplitView) GetSidebarWidthUnit() LengthUnit {293 func (x *NavigationSplitView) GetSidebarWidthUnit() LengthUnit {
300 294
301 cret := xNavigationSplitViewGetSidebarWidthUnit(x.GoPointer())295 cret := xNavigationSplitViewGetSidebarWidthUnit(x.GoPointer())
302-
303 return cret296 return cret
304 }297 }
305 298
@@ -619,7 +612,6 @@ func (x *NavigationSplitView) GetAccessibleParent() *gtk.AccessibleBase {
619 func (x *NavigationSplitView) GetAccessibleRole() gtk.AccessibleRole {612 func (x *NavigationSplitView) GetAccessibleRole() gtk.AccessibleRole {
620 613
621 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())614 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
622-
623 return cret615 return cret
624 }616 }
625 617
@@ -645,7 +637,6 @@ func (x *NavigationSplitView) GetAtContext() *gtk.ATContext {
645 func (x *NavigationSplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {637 func (x *NavigationSplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
646 638
647 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)639 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
648-
649 return cret640 return cret
650 }641 }
651 642
@@ -685,7 +676,6 @@ func (x *NavigationSplitView) GetNextAccessibleSibling() *gtk.AccessibleBase {
685 func (x *NavigationSplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {676 func (x *NavigationSplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
686 677
687 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)678 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
688-
689 return cret679 return cret
690 }680 }
691 681
@@ -862,7 +852,6 @@ func (x *NavigationSplitView) UpdateStateValue(NStatesVar int, StatesVar []gtk.A
862 func (x *NavigationSplitView) GetBuildableId() string {852 func (x *NavigationSplitView) GetBuildableId() string {
863 853
864 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())854 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
865-
866 return cret855 return cret
867 }856 }
868 857
M v4/adw/adw-navigation-view.go +2 -27
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -220,7 +219,6 @@ var xNavigationPageGetCanPop func(uintptr) bool
220 func (x *NavigationPage) GetCanPop() bool {219 func (x *NavigationPage) GetCanPop() bool {
221 220
222 cret := xNavigationPageGetCanPop(x.GoPointer())221 cret := xNavigationPageGetCanPop(x.GoPointer())
223-
224 return cret222 return cret
225 }223 }
226 224
@@ -247,7 +245,6 @@ var xNavigationPageGetTag func(uintptr) string
247 func (x *NavigationPage) GetTag() string {245 func (x *NavigationPage) GetTag() string {
248 246
249 cret := xNavigationPageGetTag(x.GoPointer())247 cret := xNavigationPageGetTag(x.GoPointer())
250-
251 return cret248 return cret
252 }249 }
253 250
@@ -257,7 +254,6 @@ var xNavigationPageGetTitle func(uintptr) string
257 func (x *NavigationPage) GetTitle() string {254 func (x *NavigationPage) GetTitle() string {
258 255
259 cret := xNavigationPageGetTitle(x.GoPointer())256 cret := xNavigationPageGetTitle(x.GoPointer())
260-
261 return cret257 return cret
262 }258 }
263 259
@@ -302,12 +298,11 @@ var xNavigationPageSetTag func(uintptr, uintptr)
302 // The tag also must be set to use the `navigation.push` action.298 // The tag also must be set to use the `navigation.push` action.
303 func (x *NavigationPage) SetTag(TagVar *string) {299 func (x *NavigationPage) SetTag(TagVar *string) {
304 300
305- TagVarPtr, TagVarBytes := core.NullableStringToPtr(TagVar)301+ TagVarPtr := core.GStrdupNullable(TagVar)
302+ defer core.GFreeNullable(TagVarPtr)
306 303
307 xNavigationPageSetTag(x.GoPointer(), TagVarPtr)304 xNavigationPageSetTag(x.GoPointer(), TagVarPtr)
308 305
309- runtime.KeepAlive(TagVarBytes)
310-
311 }306 }
312 307
313 var xNavigationPageSetTitle func(uintptr, string)308 var xNavigationPageSetTitle func(uintptr, string)
@@ -573,7 +568,6 @@ func (x *NavigationPage) GetAccessibleParent() *gtk.AccessibleBase {
573 func (x *NavigationPage) GetAccessibleRole() gtk.AccessibleRole {568 func (x *NavigationPage) GetAccessibleRole() gtk.AccessibleRole {
574 569
575 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())570 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
576-
577 return cret571 return cret
578 }572 }
579 573
@@ -599,7 +593,6 @@ func (x *NavigationPage) GetAtContext() *gtk.ATContext {
599 func (x *NavigationPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {593 func (x *NavigationPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
600 594
601 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)595 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
602-
603 return cret596 return cret
604 }597 }
605 598
@@ -639,7 +632,6 @@ func (x *NavigationPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
639 func (x *NavigationPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {632 func (x *NavigationPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
640 633
641 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)634 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
642-
643 return cret635 return cret
644 }636 }
645 637
@@ -816,7 +808,6 @@ func (x *NavigationPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.Access
816 func (x *NavigationPage) GetBuildableId() string {808 func (x *NavigationPage) GetBuildableId() string {
817 809
818 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())810 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
819-
820 return cret811 return cret
821 }812 }
822 813
@@ -1058,7 +1049,6 @@ var xNavigationViewGetAnimateTransitions func(uintptr) bool
1058 func (x *NavigationView) GetAnimateTransitions() bool {1049 func (x *NavigationView) GetAnimateTransitions() bool {
1059 1050
1060 cret := xNavigationViewGetAnimateTransitions(x.GoPointer())1051 cret := xNavigationViewGetAnimateTransitions(x.GoPointer())
1061-
1062 return cret1052 return cret
1063 }1053 }
1064 1054
@@ -1068,7 +1058,6 @@ var xNavigationViewGetHhomogeneous func(uintptr) bool
1068 func (x *NavigationView) GetHhomogeneous() bool {1058 func (x *NavigationView) GetHhomogeneous() bool {
1069 1059
1070 cret := xNavigationViewGetHhomogeneous(x.GoPointer())1060 cret := xNavigationViewGetHhomogeneous(x.GoPointer())
1071-
1072 return cret1061 return cret
1073 }1062 }
1074 1063
@@ -1098,7 +1087,6 @@ var xNavigationViewGetPopOnEscape func(uintptr) bool
1098 func (x *NavigationView) GetPopOnEscape() bool {1087 func (x *NavigationView) GetPopOnEscape() bool {
1099 1088
1100 cret := xNavigationViewGetPopOnEscape(x.GoPointer())1089 cret := xNavigationViewGetPopOnEscape(x.GoPointer())
1101-
1102 return cret1090 return cret
1103 }1091 }
1104 1092
@@ -1130,7 +1118,6 @@ var xNavigationViewGetVhomogeneous func(uintptr) bool
1130 func (x *NavigationView) GetVhomogeneous() bool {1118 func (x *NavigationView) GetVhomogeneous() bool {
1131 1119
1132 cret := xNavigationViewGetVhomogeneous(x.GoPointer())1120 cret := xNavigationViewGetVhomogeneous(x.GoPointer())
1133-
1134 return cret1121 return cret
1135 }1122 }
1136 1123
@@ -1157,7 +1144,6 @@ var xNavigationViewGetVisiblePageTag func(uintptr) string
1157 func (x *NavigationView) GetVisiblePageTag() string {1144 func (x *NavigationView) GetVisiblePageTag() string {
1158 1145
1159 cret := xNavigationViewGetVisiblePageTag(x.GoPointer())1146 cret := xNavigationViewGetVisiblePageTag(x.GoPointer())
1160-
1161 return cret1147 return cret
1162 }1148 }
1163 1149
@@ -1177,7 +1163,6 @@ var xNavigationViewPop func(uintptr) bool
1177 func (x *NavigationView) Pop() bool {1163 func (x *NavigationView) Pop() bool {
1178 1164
1179 cret := xNavigationViewPop(x.GoPointer())1165 cret := xNavigationViewPop(x.GoPointer())
1180-
1181 return cret1166 return cret
1182 }1167 }
1183 1168
@@ -1197,7 +1182,6 @@ var xNavigationViewPopToPage func(uintptr, uintptr) bool
1197 func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool {1182 func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool {
1198 1183
1199 cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer())1184 cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer())
1200-
1201 return cret1185 return cret
1202 }1186 }
1203 1187
@@ -1216,7 +1200,6 @@ var xNavigationViewPopToTag func(uintptr, string) bool
1216 func (x *NavigationView) PopToTag(TagVar string) bool {1200 func (x *NavigationView) PopToTag(TagVar string) bool {
1217 1201
1218 cret := xNavigationViewPopToTag(x.GoPointer(), TagVar)1202 cret := xNavigationViewPopToTag(x.GoPointer(), TagVar)
1219-
1220 return cret1203 return cret
1221 }1204 }
1222 1205
@@ -1606,7 +1589,6 @@ func (x *NavigationView) ConnectReplaced(cb *func(NavigationView)) uint {
1606 func (x *NavigationView) GetCancelProgress() float64 {1589 func (x *NavigationView) GetCancelProgress() float64 {
1607 1590
1608 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())1591 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
1609-
1610 return cret1592 return cret
1611 }1593 }
1612 1594
@@ -1616,7 +1598,6 @@ func (x *NavigationView) GetCancelProgress() float64 {
1616 func (x *NavigationView) GetDistance() float64 {1598 func (x *NavigationView) GetDistance() float64 {
1617 1599
1618 cret := XAdwSwipeableGetDistance(x.GoPointer())1600 cret := XAdwSwipeableGetDistance(x.GoPointer())
1619-
1620 return cret1601 return cret
1621 }1602 }
1622 1603
@@ -1624,7 +1605,6 @@ func (x *NavigationView) GetDistance() float64 {
1624 func (x *NavigationView) GetProgress() float64 {1605 func (x *NavigationView) GetProgress() float64 {
1625 1606
1626 cret := XAdwSwipeableGetProgress(x.GoPointer())1607 cret := XAdwSwipeableGetProgress(x.GoPointer())
1627-
1628 return cret1608 return cret
1629 }1609 }
1630 1610
@@ -1635,7 +1615,6 @@ func (x *NavigationView) GetProgress() float64 {
1635 func (x *NavigationView) GetSnapPoints(NSnapPointsVar *int) uintptr {1615 func (x *NavigationView) GetSnapPoints(NSnapPointsVar *int) uintptr {
1636 1616
1637 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)1617 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
1638-
1639 return cret1618 return cret
1640 }1619 }
1641 1620
@@ -1689,7 +1668,6 @@ func (x *NavigationView) GetAccessibleParent() *gtk.AccessibleBase {
1689 func (x *NavigationView) GetAccessibleRole() gtk.AccessibleRole {1668 func (x *NavigationView) GetAccessibleRole() gtk.AccessibleRole {
1690 1669
1691 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())1670 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
1692-
1693 return cret1671 return cret
1694 }1672 }
1695 1673
@@ -1715,7 +1693,6 @@ func (x *NavigationView) GetAtContext() *gtk.ATContext {
1715 func (x *NavigationView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {1693 func (x *NavigationView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1716 1694
1717 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)1695 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1718-
1719 return cret1696 return cret
1720 }1697 }
1721 1698
@@ -1755,7 +1732,6 @@ func (x *NavigationView) GetNextAccessibleSibling() *gtk.AccessibleBase {
1755 func (x *NavigationView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1732 func (x *NavigationView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1756 1733
1757 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1734 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1758-
1759 return cret1735 return cret
1760 }1736 }
1761 1737
@@ -1932,7 +1908,6 @@ func (x *NavigationView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Access
1932 func (x *NavigationView) GetBuildableId() string {1908 func (x *NavigationView) GetBuildableId() string {
1933 1909
1934 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1910 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1935-
1936 return cret1911 return cret
1937 }1912 }
1938 1913
M v4/adw/adw-overlay-split-view.go +0 -18
@@ -203,7 +203,6 @@ 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-
207 return cret206 return cret
208 }207 }
209 208
@@ -230,7 +229,6 @@ var xOverlaySplitViewGetEnableHideGesture func(uintptr) bool
230 func (x *OverlaySplitView) GetEnableHideGesture() bool {229 func (x *OverlaySplitView) GetEnableHideGesture() bool {
231 230
232 cret := xOverlaySplitViewGetEnableHideGesture(x.GoPointer())231 cret := xOverlaySplitViewGetEnableHideGesture(x.GoPointer())
233-
234 return cret232 return cret
235 }233 }
236 234
@@ -240,7 +238,6 @@ var xOverlaySplitViewGetEnableShowGesture func(uintptr) bool
240 func (x *OverlaySplitView) GetEnableShowGesture() bool {238 func (x *OverlaySplitView) GetEnableShowGesture() bool {
241 239
242 cret := xOverlaySplitViewGetEnableShowGesture(x.GoPointer())240 cret := xOverlaySplitViewGetEnableShowGesture(x.GoPointer())
243-
244 return cret241 return cret
245 }242 }
246 243
@@ -250,7 +247,6 @@ var xOverlaySplitViewGetMaxSidebarWidth func(uintptr) float64
250 func (x *OverlaySplitView) GetMaxSidebarWidth() float64 {247 func (x *OverlaySplitView) GetMaxSidebarWidth() float64 {
251 248
252 cret := xOverlaySplitViewGetMaxSidebarWidth(x.GoPointer())249 cret := xOverlaySplitViewGetMaxSidebarWidth(x.GoPointer())
253-
254 return cret250 return cret
255 }251 }
256 252
@@ -260,7 +256,6 @@ var xOverlaySplitViewGetMinSidebarWidth func(uintptr) float64
260 func (x *OverlaySplitView) GetMinSidebarWidth() float64 {256 func (x *OverlaySplitView) GetMinSidebarWidth() float64 {
261 257
262 cret := xOverlaySplitViewGetMinSidebarWidth(x.GoPointer())258 cret := xOverlaySplitViewGetMinSidebarWidth(x.GoPointer())
263-
264 return cret259 return cret
265 }260 }
266 261
@@ -270,7 +265,6 @@ var xOverlaySplitViewGetPinSidebar func(uintptr) bool
270 func (x *OverlaySplitView) GetPinSidebar() bool {265 func (x *OverlaySplitView) GetPinSidebar() bool {
271 266
272 cret := xOverlaySplitViewGetPinSidebar(x.GoPointer())267 cret := xOverlaySplitViewGetPinSidebar(x.GoPointer())
273-
274 return cret268 return cret
275 }269 }
276 270
@@ -280,7 +274,6 @@ var xOverlaySplitViewGetShowSidebar func(uintptr) bool
280 func (x *OverlaySplitView) GetShowSidebar() bool {274 func (x *OverlaySplitView) GetShowSidebar() bool {
281 275
282 cret := xOverlaySplitViewGetShowSidebar(x.GoPointer())276 cret := xOverlaySplitViewGetShowSidebar(x.GoPointer())
283-
284 return cret277 return cret
285 }278 }
286 279
@@ -307,7 +300,6 @@ var xOverlaySplitViewGetSidebarPosition func(uintptr) gtk.PackType
307 func (x *OverlaySplitView) GetSidebarPosition() gtk.PackType {300 func (x *OverlaySplitView) GetSidebarPosition() gtk.PackType {
308 301
309 cret := xOverlaySplitViewGetSidebarPosition(x.GoPointer())302 cret := xOverlaySplitViewGetSidebarPosition(x.GoPointer())
310-
311 return cret303 return cret
312 }304 }
313 305
@@ -317,7 +309,6 @@ var xOverlaySplitViewGetSidebarWidthFraction func(uintptr) float64
317 func (x *OverlaySplitView) GetSidebarWidthFraction() float64 {309 func (x *OverlaySplitView) GetSidebarWidthFraction() float64 {
318 310
319 cret := xOverlaySplitViewGetSidebarWidthFraction(x.GoPointer())311 cret := xOverlaySplitViewGetSidebarWidthFraction(x.GoPointer())
320-
321 return cret312 return cret
322 }313 }
323 314
@@ -327,7 +318,6 @@ var xOverlaySplitViewGetSidebarWidthUnit func(uintptr) LengthUnit
327 func (x *OverlaySplitView) GetSidebarWidthUnit() LengthUnit {318 func (x *OverlaySplitView) GetSidebarWidthUnit() LengthUnit {
328 319
329 cret := xOverlaySplitViewGetSidebarWidthUnit(x.GoPointer())320 cret := xOverlaySplitViewGetSidebarWidthUnit(x.GoPointer())
330-
331 return cret321 return cret
332 }322 }
333 323
@@ -684,7 +674,6 @@ func (x *OverlaySplitView) GetPropertySidebarWidthFraction() float64 {
684 func (x *OverlaySplitView) GetCancelProgress() float64 {674 func (x *OverlaySplitView) GetCancelProgress() float64 {
685 675
686 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())676 cret := XAdwSwipeableGetCancelProgress(x.GoPointer())
687-
688 return cret677 return cret
689 }678 }
690 679
@@ -694,7 +683,6 @@ func (x *OverlaySplitView) GetCancelProgress() float64 {
694 func (x *OverlaySplitView) GetDistance() float64 {683 func (x *OverlaySplitView) GetDistance() float64 {
695 684
696 cret := XAdwSwipeableGetDistance(x.GoPointer())685 cret := XAdwSwipeableGetDistance(x.GoPointer())
697-
698 return cret686 return cret
699 }687 }
700 688
@@ -702,7 +690,6 @@ func (x *OverlaySplitView) GetDistance() float64 {
702 func (x *OverlaySplitView) GetProgress() float64 {690 func (x *OverlaySplitView) GetProgress() float64 {
703 691
704 cret := XAdwSwipeableGetProgress(x.GoPointer())692 cret := XAdwSwipeableGetProgress(x.GoPointer())
705-
706 return cret693 return cret
707 }694 }
708 695
@@ -713,7 +700,6 @@ func (x *OverlaySplitView) GetProgress() float64 {
713 func (x *OverlaySplitView) GetSnapPoints(NSnapPointsVar *int) uintptr {700 func (x *OverlaySplitView) GetSnapPoints(NSnapPointsVar *int) uintptr {
714 701
715 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)702 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
716-
717 return cret703 return cret
718 }704 }
719 705
@@ -767,7 +753,6 @@ func (x *OverlaySplitView) GetAccessibleParent() *gtk.AccessibleBase {
767 func (x *OverlaySplitView) GetAccessibleRole() gtk.AccessibleRole {753 func (x *OverlaySplitView) GetAccessibleRole() gtk.AccessibleRole {
768 754
769 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())755 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
770-
771 return cret756 return cret
772 }757 }
773 758
@@ -793,7 +778,6 @@ func (x *OverlaySplitView) GetAtContext() *gtk.ATContext {
793 func (x *OverlaySplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {778 func (x *OverlaySplitView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
794 779
795 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)780 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
796-
797 return cret781 return cret
798 }782 }
799 783
@@ -833,7 +817,6 @@ func (x *OverlaySplitView) GetNextAccessibleSibling() *gtk.AccessibleBase {
833 func (x *OverlaySplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {817 func (x *OverlaySplitView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
834 818
835 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)819 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
836-
837 return cret820 return cret
838 }821 }
839 822
@@ -1010,7 +993,6 @@ func (x *OverlaySplitView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acce
1010 func (x *OverlaySplitView) GetBuildableId() string {993 func (x *OverlaySplitView) GetBuildableId() string {
1011 994
1012 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())995 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1013-
1014 return cret996 return cret
1015 }997 }
1016 998
M v4/adw/adw-password-entry-row.go +2 -20
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -124,7 +123,6 @@ func (x *PasswordEntryRow) GetAccessibleParent() *gtk.AccessibleBase {
124 func (x *PasswordEntryRow) GetAccessibleRole() gtk.AccessibleRole {123 func (x *PasswordEntryRow) GetAccessibleRole() gtk.AccessibleRole {
125 124
126 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())125 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
127-
128 return cret126 return cret
129 }127 }
130 128
@@ -150,7 +148,6 @@ func (x *PasswordEntryRow) GetAtContext() *gtk.ATContext {
150 func (x *PasswordEntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {148 func (x *PasswordEntryRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
151 149
152 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)150 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
153-
154 return cret151 return cret
155 }152 }
156 153
@@ -190,7 +187,6 @@ func (x *PasswordEntryRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
190 func (x *PasswordEntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {187 func (x *PasswordEntryRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
191 188
192 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)189 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
193-
194 return cret190 return cret
195 }191 }
196 192
@@ -364,7 +360,6 @@ func (x *PasswordEntryRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acce
364 func (x *PasswordEntryRow) GetActionName() string {360 func (x *PasswordEntryRow) GetActionName() string {
365 361
366 cret := gtk.XGtkActionableGetActionName(x.GoPointer())362 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
367-
368 return cret363 return cret
369 }364 }
370 365
@@ -372,7 +367,6 @@ func (x *PasswordEntryRow) GetActionName() string {
372 func (x *PasswordEntryRow) GetActionTargetValue() *glib.Variant {367 func (x *PasswordEntryRow) GetActionTargetValue() *glib.Variant {
373 368
374 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())369 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
375-
376 return cret370 return cret
377 }371 }
378 372
@@ -391,12 +385,11 @@ func (x *PasswordEntryRow) GetActionTargetValue() *glib.Variant {
391 // associated with the window.385 // associated with the window.
392 func (x *PasswordEntryRow) SetActionName(ActionNameVar *string) {386 func (x *PasswordEntryRow) SetActionName(ActionNameVar *string) {
393 387
394- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)388+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
389+ defer core.GFreeNullable(ActionNameVarPtr)
395 390
396 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)391 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
397 392
398- runtime.KeepAlive(ActionNameVarBytes)
399-
400 }393 }
401 394
402 // Sets the target of an actionable widget.395 // Sets the target of an actionable widget.
@@ -456,7 +449,6 @@ func (x *PasswordEntryRow) SetDetailedActionName(DetailedActionNameVar string) {
456 func (x *PasswordEntryRow) GetBuildableId() string {449 func (x *PasswordEntryRow) GetBuildableId() string {
457 450
458 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())451 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
459-
460 return cret452 return cret
461 }453 }
462 454
@@ -499,7 +491,6 @@ func (x *PasswordEntryRow) GetBuildableId() string {
499 func (x *PasswordEntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {491 func (x *PasswordEntryRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {
500 492
501 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)493 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)
502-
503 return cret494 return cret
504 }495 }
505 496
@@ -540,7 +531,6 @@ func (x *PasswordEntryRow) FinishDelegate() {
540 func (x *PasswordEntryRow) GetAlignment() float32 {531 func (x *PasswordEntryRow) GetAlignment() float32 {
541 532
542 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())533 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())
543-
544 return cret534 return cret
545 }535 }
546 536
@@ -555,7 +545,6 @@ func (x *PasswordEntryRow) GetAlignment() float32 {
555 func (x *PasswordEntryRow) GetChars(StartPosVar int, EndPosVar int) string {545 func (x *PasswordEntryRow) GetChars(StartPosVar int, EndPosVar int) string {
556 546
557 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)547 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)
558-
559 return cret548 return cret
560 }549 }
561 550
@@ -581,7 +570,6 @@ func (x *PasswordEntryRow) GetDelegate() *gtk.EditableBase {
581 func (x *PasswordEntryRow) GetEditable() bool {570 func (x *PasswordEntryRow) GetEditable() bool {
582 571
583 cret := gtk.XGtkEditableGetEditable(x.GoPointer())572 cret := gtk.XGtkEditableGetEditable(x.GoPointer())
584-
585 return cret573 return cret
586 }574 }
587 575
@@ -589,7 +577,6 @@ func (x *PasswordEntryRow) GetEditable() bool {
589 func (x *PasswordEntryRow) GetEnableUndo() bool {577 func (x *PasswordEntryRow) GetEnableUndo() bool {
590 578
591 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())579 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())
592-
593 return cret580 return cret
594 }581 }
595 582
@@ -597,7 +584,6 @@ func (x *PasswordEntryRow) GetEnableUndo() bool {
597 func (x *PasswordEntryRow) GetMaxWidthChars() int {584 func (x *PasswordEntryRow) GetMaxWidthChars() int {
598 585
599 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())586 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())
600-
601 return cret587 return cret
602 }588 }
603 589
@@ -608,7 +594,6 @@ func (x *PasswordEntryRow) GetMaxWidthChars() int {
608 func (x *PasswordEntryRow) GetPosition() int {594 func (x *PasswordEntryRow) GetPosition() int {
609 595
610 cret := gtk.XGtkEditableGetPosition(x.GoPointer())596 cret := gtk.XGtkEditableGetPosition(x.GoPointer())
611-
612 return cret597 return cret
613 }598 }
614 599
@@ -622,7 +607,6 @@ func (x *PasswordEntryRow) GetPosition() int {
622 func (x *PasswordEntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {607 func (x *PasswordEntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
623 608
624 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)609 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)
625-
626 return cret610 return cret
627 }611 }
628 612
@@ -632,7 +616,6 @@ func (x *PasswordEntryRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int)
632 func (x *PasswordEntryRow) GetText() string {616 func (x *PasswordEntryRow) GetText() string {
633 617
634 cret := gtk.XGtkEditableGetText(x.GoPointer())618 cret := gtk.XGtkEditableGetText(x.GoPointer())
635-
636 return cret619 return cret
637 }620 }
638 621
@@ -641,7 +624,6 @@ func (x *PasswordEntryRow) GetText() string {
641 func (x *PasswordEntryRow) GetWidthChars() int {624 func (x *PasswordEntryRow) GetWidthChars() int {
642 625
643 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())626 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())
644-
645 return cret627 return cret
646 }628 }
647 629
M v4/adw/adw-preferences-dialog.go +0 -7
@@ -105,7 +105,6 @@ 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-
109 return cret108 return cret
110 }109 }
111 110
@@ -132,7 +131,6 @@ var xPreferencesDialogGetVisiblePageName func(uintptr) string
132 func (x *PreferencesDialog) GetVisiblePageName() string {131 func (x *PreferencesDialog) GetVisiblePageName() string {
133 132
134 cret := xPreferencesDialogGetVisiblePageName(x.GoPointer())133 cret := xPreferencesDialogGetVisiblePageName(x.GoPointer())
135-
136 return cret134 return cret
137 }135 }
138 136
@@ -142,7 +140,6 @@ var xPreferencesDialogPopSubpage func(uintptr) bool
142 func (x *PreferencesDialog) PopSubpage() bool {140 func (x *PreferencesDialog) PopSubpage() bool {
143 141
144 cret := xPreferencesDialogPopSubpage(x.GoPointer())142 cret := xPreferencesDialogPopSubpage(x.GoPointer())
145-
146 return cret143 return cret
147 }144 }
148 145
@@ -279,7 +276,6 @@ func (x *PreferencesDialog) GetAccessibleParent() *gtk.AccessibleBase {
279 func (x *PreferencesDialog) GetAccessibleRole() gtk.AccessibleRole {276 func (x *PreferencesDialog) GetAccessibleRole() gtk.AccessibleRole {
280 277
281 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())278 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
282-
283 return cret279 return cret
284 }280 }
285 281
@@ -305,7 +301,6 @@ func (x *PreferencesDialog) GetAtContext() *gtk.ATContext {
305 func (x *PreferencesDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {301 func (x *PreferencesDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
306 302
307 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)303 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
308-
309 return cret304 return cret
310 }305 }
311 306
@@ -345,7 +340,6 @@ func (x *PreferencesDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
345 func (x *PreferencesDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {340 func (x *PreferencesDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
346 341
347 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)342 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
348-
349 return cret343 return cret
350 }344 }
351 345
@@ -522,7 +516,6 @@ func (x *PreferencesDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc
522 func (x *PreferencesDialog) GetBuildableId() string {516 func (x *PreferencesDialog) GetBuildableId() string {
523 517
524 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())518 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
525-
526 return cret519 return cret
527 }520 }
528 521
M v4/adw/adw-preferences-group.go +2 -11
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -154,7 +153,6 @@ var xPreferencesGroupGetDescription func(uintptr) string
154 func (x *PreferencesGroup) GetDescription() string {153 func (x *PreferencesGroup) GetDescription() string {
155 154
156 cret := xPreferencesGroupGetDescription(x.GoPointer())155 cret := xPreferencesGroupGetDescription(x.GoPointer())
157-
158 return cret156 return cret
159 }157 }
160 158
@@ -200,7 +198,6 @@ var xPreferencesGroupGetSeparateRows func(uintptr) bool
200 func (x *PreferencesGroup) GetSeparateRows() bool {198 func (x *PreferencesGroup) GetSeparateRows() bool {
201 199
202 cret := xPreferencesGroupGetSeparateRows(x.GoPointer())200 cret := xPreferencesGroupGetSeparateRows(x.GoPointer())
203-
204 return cret201 return cret
205 }202 }
206 203
@@ -210,7 +207,6 @@ var xPreferencesGroupGetTitle func(uintptr) string
210 func (x *PreferencesGroup) GetTitle() string {207 func (x *PreferencesGroup) GetTitle() string {
211 208
212 cret := xPreferencesGroupGetTitle(x.GoPointer())209 cret := xPreferencesGroupGetTitle(x.GoPointer())
213-
214 return cret210 return cret
215 }211 }
216 212
@@ -228,12 +224,11 @@ var xPreferencesGroupSetDescription func(uintptr, uintptr)
228 // Sets the description for @self.224 // Sets the description for @self.
229 func (x *PreferencesGroup) SetDescription(DescriptionVar *string) {225 func (x *PreferencesGroup) SetDescription(DescriptionVar *string) {
230 226
231- DescriptionVarPtr, DescriptionVarBytes := core.NullableStringToPtr(DescriptionVar)227+ DescriptionVarPtr := core.GStrdupNullable(DescriptionVar)
228+ defer core.GFreeNullable(DescriptionVarPtr)
232 229
233 xPreferencesGroupSetDescription(x.GoPointer(), DescriptionVarPtr)230 xPreferencesGroupSetDescription(x.GoPointer(), DescriptionVarPtr)
234 231
235- runtime.KeepAlive(DescriptionVarBytes)
236-
237 }232 }
238 233
239 var xPreferencesGroupSetHeaderSuffix func(uintptr, uintptr)234 var xPreferencesGroupSetHeaderSuffix func(uintptr, uintptr)
@@ -376,7 +371,6 @@ func (x *PreferencesGroup) GetAccessibleParent() *gtk.AccessibleBase {
376 func (x *PreferencesGroup) GetAccessibleRole() gtk.AccessibleRole {371 func (x *PreferencesGroup) GetAccessibleRole() gtk.AccessibleRole {
377 372
378 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())373 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
379-
380 return cret374 return cret
381 }375 }
382 376
@@ -402,7 +396,6 @@ func (x *PreferencesGroup) GetAtContext() *gtk.ATContext {
402 func (x *PreferencesGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {396 func (x *PreferencesGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
403 397
404 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)398 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
405-
406 return cret399 return cret
407 }400 }
408 401
@@ -442,7 +435,6 @@ func (x *PreferencesGroup) GetNextAccessibleSibling() *gtk.AccessibleBase {
442 func (x *PreferencesGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {435 func (x *PreferencesGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
443 436
444 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)437 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
445-
446 return cret438 return cret
447 }439 }
448 440
@@ -619,7 +611,6 @@ func (x *PreferencesGroup) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acce
619 func (x *PreferencesGroup) GetBuildableId() string {611 func (x *PreferencesGroup) GetBuildableId() string {
620 612
621 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())613 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
622-
623 return cret614 return cret
624 }615 }
625 616
M v4/adw/adw-preferences-page.go +4 -17
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -109,7 +108,6 @@ var xPreferencesPageGetDescription func(uintptr) string
109 func (x *PreferencesPage) GetDescription() string {108 func (x *PreferencesPage) GetDescription() string {
110 109
111 cret := xPreferencesPageGetDescription(x.GoPointer())110 cret := xPreferencesPageGetDescription(x.GoPointer())
112-
113 return cret111 return cret
114 }112 }
115 113
@@ -119,7 +117,6 @@ var xPreferencesPageGetDescriptionCentered func(uintptr) bool
119 func (x *PreferencesPage) GetDescriptionCentered() bool {117 func (x *PreferencesPage) GetDescriptionCentered() bool {
120 118
121 cret := xPreferencesPageGetDescriptionCentered(x.GoPointer())119 cret := xPreferencesPageGetDescriptionCentered(x.GoPointer())
122-
123 return cret120 return cret
124 }121 }
125 122
@@ -148,7 +145,6 @@ var xPreferencesPageGetIconName func(uintptr) string
148 func (x *PreferencesPage) GetIconName() string {145 func (x *PreferencesPage) GetIconName() string {
149 146
150 cret := xPreferencesPageGetIconName(x.GoPointer())147 cret := xPreferencesPageGetIconName(x.GoPointer())
151-
152 return cret148 return cret
153 }149 }
154 150
@@ -158,7 +154,6 @@ var xPreferencesPageGetName func(uintptr) string
158 func (x *PreferencesPage) GetName() string {154 func (x *PreferencesPage) GetName() string {
159 155
160 cret := xPreferencesPageGetName(x.GoPointer())156 cret := xPreferencesPageGetName(x.GoPointer())
161-
162 return cret157 return cret
163 }158 }
164 159
@@ -168,7 +163,6 @@ var xPreferencesPageGetTitle func(uintptr) string
168 func (x *PreferencesPage) GetTitle() string {163 func (x *PreferencesPage) GetTitle() string {
169 164
170 cret := xPreferencesPageGetTitle(x.GoPointer())165 cret := xPreferencesPageGetTitle(x.GoPointer())
171-
172 return cret166 return cret
173 }167 }
174 168
@@ -178,7 +172,6 @@ var xPreferencesPageGetUseUnderline func(uintptr) bool
178 func (x *PreferencesPage) GetUseUnderline() bool {172 func (x *PreferencesPage) GetUseUnderline() bool {
179 173
180 cret := xPreferencesPageGetUseUnderline(x.GoPointer())174 cret := xPreferencesPageGetUseUnderline(x.GoPointer())
181-
182 return cret175 return cret
183 }176 }
184 177
@@ -246,12 +239,11 @@ var xPreferencesPageSetIconName func(uintptr, uintptr)
246 // Sets the icon name for @self.239 // Sets the icon name for @self.
247 func (x *PreferencesPage) SetIconName(IconNameVar *string) {240 func (x *PreferencesPage) SetIconName(IconNameVar *string) {
248 241
249- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)242+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
243+ defer core.GFreeNullable(IconNameVarPtr)
250 244
251 xPreferencesPageSetIconName(x.GoPointer(), IconNameVarPtr)245 xPreferencesPageSetIconName(x.GoPointer(), IconNameVarPtr)
252 246
253- runtime.KeepAlive(IconNameVarBytes)
254-
255 }247 }
256 248
257 var xPreferencesPageSetName func(uintptr, uintptr)249 var xPreferencesPageSetName func(uintptr, uintptr)
@@ -259,12 +251,11 @@ var xPreferencesPageSetName func(uintptr, uintptr)
259 // Sets the name of @self.251 // Sets the name of @self.
260 func (x *PreferencesPage) SetName(NameVar *string) {252 func (x *PreferencesPage) SetName(NameVar *string) {
261 253
262- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)254+ NameVarPtr := core.GStrdupNullable(NameVar)
255+ defer core.GFreeNullable(NameVarPtr)
263 256
264 xPreferencesPageSetName(x.GoPointer(), NameVarPtr)257 xPreferencesPageSetName(x.GoPointer(), NameVarPtr)
265 258
266- runtime.KeepAlive(NameVarBytes)
267-
268 }259 }
269 260
270 var xPreferencesPageSetTitle func(uintptr, string)261 var xPreferencesPageSetTitle func(uintptr, string)
@@ -433,7 +424,6 @@ func (x *PreferencesPage) GetAccessibleParent() *gtk.AccessibleBase {
433 func (x *PreferencesPage) GetAccessibleRole() gtk.AccessibleRole {424 func (x *PreferencesPage) GetAccessibleRole() gtk.AccessibleRole {
434 425
435 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())426 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
436-
437 return cret427 return cret
438 }428 }
439 429
@@ -459,7 +449,6 @@ func (x *PreferencesPage) GetAtContext() *gtk.ATContext {
459 func (x *PreferencesPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {449 func (x *PreferencesPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
460 450
461 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)451 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
462-
463 return cret452 return cret
464 }453 }
465 454
@@ -499,7 +488,6 @@ func (x *PreferencesPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
499 func (x *PreferencesPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {488 func (x *PreferencesPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
500 489
501 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)490 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
502-
503 return cret491 return cret
504 }492 }
505 493
@@ -676,7 +664,6 @@ func (x *PreferencesPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
676 func (x *PreferencesPage) GetBuildableId() string {664 func (x *PreferencesPage) GetBuildableId() string {
677 665
678 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())666 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
679-
680 return cret667 return cret
681 }668 }
682 669
M v4/adw/adw-preferences-row.go +2 -14
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -74,7 +73,6 @@ var xPreferencesRowGetTitle func(uintptr) string
74 func (x *PreferencesRow) GetTitle() string {73 func (x *PreferencesRow) GetTitle() string {
75 74
76 cret := xPreferencesRowGetTitle(x.GoPointer())75 cret := xPreferencesRowGetTitle(x.GoPointer())
77-
78 return cret76 return cret
79 }77 }
80 78
@@ -84,7 +82,6 @@ var xPreferencesRowGetTitleSelectable func(uintptr) bool
84 func (x *PreferencesRow) GetTitleSelectable() bool {82 func (x *PreferencesRow) GetTitleSelectable() bool {
85 83
86 cret := xPreferencesRowGetTitleSelectable(x.GoPointer())84 cret := xPreferencesRowGetTitleSelectable(x.GoPointer())
87-
88 return cret85 return cret
89 }86 }
90 87
@@ -94,7 +91,6 @@ var xPreferencesRowGetUseMarkup func(uintptr) bool
94 func (x *PreferencesRow) GetUseMarkup() bool {91 func (x *PreferencesRow) GetUseMarkup() bool {
95 92
96 cret := xPreferencesRowGetUseMarkup(x.GoPointer())93 cret := xPreferencesRowGetUseMarkup(x.GoPointer())
97-
98 return cret94 return cret
99 }95 }
100 96
@@ -104,7 +100,6 @@ var xPreferencesRowGetUseUnderline func(uintptr) bool
104 func (x *PreferencesRow) GetUseUnderline() bool {100 func (x *PreferencesRow) GetUseUnderline() bool {
105 101
106 cret := xPreferencesRowGetUseUnderline(x.GoPointer())102 cret := xPreferencesRowGetUseUnderline(x.GoPointer())
107-
108 return cret103 return cret
109 }104 }
110 105
@@ -285,7 +280,6 @@ func (x *PreferencesRow) GetAccessibleParent() *gtk.AccessibleBase {
285 func (x *PreferencesRow) GetAccessibleRole() gtk.AccessibleRole {280 func (x *PreferencesRow) GetAccessibleRole() gtk.AccessibleRole {
286 281
287 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())282 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
288-
289 return cret283 return cret
290 }284 }
291 285
@@ -311,7 +305,6 @@ func (x *PreferencesRow) GetAtContext() *gtk.ATContext {
311 func (x *PreferencesRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {305 func (x *PreferencesRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
312 306
313 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)307 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
314-
315 return cret308 return cret
316 }309 }
317 310
@@ -351,7 +344,6 @@ func (x *PreferencesRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
351 func (x *PreferencesRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {344 func (x *PreferencesRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
352 345
353 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)346 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
354-
355 return cret347 return cret
356 }348 }
357 349
@@ -525,7 +517,6 @@ func (x *PreferencesRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Access
525 func (x *PreferencesRow) GetActionName() string {517 func (x *PreferencesRow) GetActionName() string {
526 518
527 cret := gtk.XGtkActionableGetActionName(x.GoPointer())519 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
528-
529 return cret520 return cret
530 }521 }
531 522
@@ -533,7 +524,6 @@ func (x *PreferencesRow) GetActionName() string {
533 func (x *PreferencesRow) GetActionTargetValue() *glib.Variant {524 func (x *PreferencesRow) GetActionTargetValue() *glib.Variant {
534 525
535 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())526 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
536-
537 return cret527 return cret
538 }528 }
539 529
@@ -552,12 +542,11 @@ func (x *PreferencesRow) GetActionTargetValue() *glib.Variant {
552 // associated with the window.542 // associated with the window.
553 func (x *PreferencesRow) SetActionName(ActionNameVar *string) {543 func (x *PreferencesRow) SetActionName(ActionNameVar *string) {
554 544
555- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)545+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
546+ defer core.GFreeNullable(ActionNameVarPtr)
556 547
557 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)548 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
558 549
559- runtime.KeepAlive(ActionNameVarBytes)
560-
561 }550 }
562 551
563 // Sets the target of an actionable widget.552 // Sets the target of an actionable widget.
@@ -617,7 +606,6 @@ func (x *PreferencesRow) SetDetailedActionName(DetailedActionNameVar string) {
617 func (x *PreferencesRow) GetBuildableId() string {606 func (x *PreferencesRow) GetBuildableId() string {
618 607
619 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())608 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
620-
621 return cret609 return cret
622 }610 }
623 611
M v4/adw/adw-preferences-window.go +0 -8
@@ -112,7 +112,6 @@ 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-
116 return cret115 return cret
117 }116 }
118 117
@@ -122,7 +121,6 @@ var xPreferencesWindowGetSearchEnabled func(uintptr) bool
122 func (x *PreferencesWindow) GetSearchEnabled() bool {121 func (x *PreferencesWindow) GetSearchEnabled() bool {
123 122
124 cret := xPreferencesWindowGetSearchEnabled(x.GoPointer())123 cret := xPreferencesWindowGetSearchEnabled(x.GoPointer())
125-
126 return cret124 return cret
127 }125 }
128 126
@@ -149,7 +147,6 @@ var xPreferencesWindowGetVisiblePageName func(uintptr) string
149 func (x *PreferencesWindow) GetVisiblePageName() string {147 func (x *PreferencesWindow) GetVisiblePageName() string {
150 148
151 cret := xPreferencesWindowGetVisiblePageName(x.GoPointer())149 cret := xPreferencesWindowGetVisiblePageName(x.GoPointer())
152-
153 return cret150 return cret
154 }151 }
155 152
@@ -159,7 +156,6 @@ var xPreferencesWindowPopSubpage func(uintptr) bool
159 func (x *PreferencesWindow) PopSubpage() bool {156 func (x *PreferencesWindow) PopSubpage() bool {
160 157
161 cret := xPreferencesWindowPopSubpage(x.GoPointer())158 cret := xPreferencesWindowPopSubpage(x.GoPointer())
162-
163 return cret159 return cret
164 }160 }
165 161
@@ -375,7 +371,6 @@ func (x *PreferencesWindow) GetAccessibleParent() *gtk.AccessibleBase {
375 func (x *PreferencesWindow) GetAccessibleRole() gtk.AccessibleRole {371 func (x *PreferencesWindow) GetAccessibleRole() gtk.AccessibleRole {
376 372
377 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())373 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
378-
379 return cret374 return cret
380 }375 }
381 376
@@ -401,7 +396,6 @@ func (x *PreferencesWindow) GetAtContext() *gtk.ATContext {
401 func (x *PreferencesWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {396 func (x *PreferencesWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
402 397
403 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)398 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
404-
405 return cret399 return cret
406 }400 }
407 401
@@ -441,7 +435,6 @@ func (x *PreferencesWindow) GetNextAccessibleSibling() *gtk.AccessibleBase {
441 func (x *PreferencesWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {435 func (x *PreferencesWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
442 436
443 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)437 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
444-
445 return cret438 return cret
446 }439 }
447 440
@@ -618,7 +611,6 @@ func (x *PreferencesWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc
618 func (x *PreferencesWindow) GetBuildableId() string {611 func (x *PreferencesWindow) GetBuildableId() string {
619 612
620 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())613 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
621-
622 return cret614 return cret
623 }615 }
624 616
M v4/adw/adw-shortcut-label.go +0 -6
@@ -128,7 +128,6 @@ 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-
132 return cret131 return cret
133 }132 }
134 133
@@ -138,7 +137,6 @@ var xShortcutLabelGetDisabledText func(uintptr) string
138 func (x *ShortcutLabel) GetDisabledText() string {137 func (x *ShortcutLabel) GetDisabledText() string {
139 138
140 cret := xShortcutLabelGetDisabledText(x.GoPointer())139 cret := xShortcutLabelGetDisabledText(x.GoPointer())
141-
142 return cret140 return cret
143 }141 }
144 142
@@ -240,7 +238,6 @@ func (x *ShortcutLabel) GetAccessibleParent() *gtk.AccessibleBase {
240 func (x *ShortcutLabel) GetAccessibleRole() gtk.AccessibleRole {238 func (x *ShortcutLabel) GetAccessibleRole() gtk.AccessibleRole {
241 239
242 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())240 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
243-
244 return cret241 return cret
245 }242 }
246 243
@@ -266,7 +263,6 @@ func (x *ShortcutLabel) GetAtContext() *gtk.ATContext {
266 func (x *ShortcutLabel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {263 func (x *ShortcutLabel) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
267 264
268 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)265 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
269-
270 return cret266 return cret
271 }267 }
272 268
@@ -306,7 +302,6 @@ func (x *ShortcutLabel) GetNextAccessibleSibling() *gtk.AccessibleBase {
306 func (x *ShortcutLabel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {302 func (x *ShortcutLabel) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
307 303
308 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)304 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
309-
310 return cret305 return cret
311 }306 }
312 307
@@ -483,7 +478,6 @@ func (x *ShortcutLabel) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessi
483 func (x *ShortcutLabel) GetBuildableId() string {478 func (x *ShortcutLabel) GetBuildableId() string {
484 479
485 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())480 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
486-
487 return cret481 return cret
488 }482 }
489 483
M v4/adw/adw-shortcuts-dialog.go +0 -4
@@ -201,7 +201,6 @@ 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-
205 return cret204 return cret
206 }205 }
207 206
@@ -227,7 +226,6 @@ func (x *ShortcutsDialog) GetAtContext() *gtk.ATContext {
227 func (x *ShortcutsDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {226 func (x *ShortcutsDialog) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
228 227
229 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)228 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
230-
231 return cret229 return cret
232 }230 }
233 231
@@ -267,7 +265,6 @@ func (x *ShortcutsDialog) GetNextAccessibleSibling() *gtk.AccessibleBase {
267 func (x *ShortcutsDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {265 func (x *ShortcutsDialog) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
268 266
269 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)267 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
270-
271 return cret268 return cret
272 }269 }
273 270
@@ -444,7 +441,6 @@ func (x *ShortcutsDialog) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
444 func (x *ShortcutsDialog) GetBuildableId() string {441 func (x *ShortcutsDialog) GetBuildableId() string {
445 442
446 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())443 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
447-
448 return cret444 return cret
449 }445 }
450 446
M v4/adw/adw-shortcuts-item.go +0 -5
@@ -92,7 +92,6 @@ 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-
96 return cret95 return cret
97 }96 }
98 97
@@ -102,7 +101,6 @@ var xShortcutsItemGetActionName func(uintptr) string
102 func (x *ShortcutsItem) GetActionName() string {101 func (x *ShortcutsItem) GetActionName() string {
103 102
104 cret := xShortcutsItemGetActionName(x.GoPointer())103 cret := xShortcutsItemGetActionName(x.GoPointer())
105-
106 return cret104 return cret
107 }105 }
108 106
@@ -112,7 +110,6 @@ var xShortcutsItemGetDirection func(uintptr) gtk.TextDirection
112 func (x *ShortcutsItem) GetDirection() gtk.TextDirection {110 func (x *ShortcutsItem) GetDirection() gtk.TextDirection {
113 111
114 cret := xShortcutsItemGetDirection(x.GoPointer())112 cret := xShortcutsItemGetDirection(x.GoPointer())
115-
116 return cret113 return cret
117 }114 }
118 115
@@ -122,7 +119,6 @@ var xShortcutsItemGetSubtitle func(uintptr) string
122 func (x *ShortcutsItem) GetSubtitle() string {119 func (x *ShortcutsItem) GetSubtitle() string {
123 120
124 cret := xShortcutsItemGetSubtitle(x.GoPointer())121 cret := xShortcutsItemGetSubtitle(x.GoPointer())
125-
126 return cret122 return cret
127 }123 }
128 124
@@ -132,7 +128,6 @@ var xShortcutsItemGetTitle func(uintptr) string
132 func (x *ShortcutsItem) GetTitle() string {128 func (x *ShortcutsItem) GetTitle() string {
133 129
134 cret := xShortcutsItemGetTitle(x.GoPointer())130 cret := xShortcutsItemGetTitle(x.GoPointer())
135-
136 return cret131 return cret
137 }132 }
138 133
M v4/adw/adw-shortcuts-section.go +4 -12
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -57,12 +56,11 @@ var xNewShortcutsSection func(uintptr) uintptr
57 func NewShortcutsSection(TitleVar *string) *ShortcutsSection {56 func NewShortcutsSection(TitleVar *string) *ShortcutsSection {
58 var cls *ShortcutsSection57 var cls *ShortcutsSection
59 58
60- TitleVarPtr, TitleVarBytes := core.NullableStringToPtr(TitleVar)59+ TitleVarPtr := core.GStrdupNullable(TitleVar)
60+ defer core.GFreeNullable(TitleVarPtr)
61 61
62 cret := xNewShortcutsSection(TitleVarPtr)62 cret := xNewShortcutsSection(TitleVarPtr)
63 63
64- runtime.KeepAlive(TitleVarBytes)
65-
66 if cret == 0 {64 if cret == 0 {
67 return nil65 return nil
68 }66 }
@@ -86,7 +84,6 @@ var xShortcutsSectionGetTitle func(uintptr) string
86 func (x *ShortcutsSection) GetTitle() string {84 func (x *ShortcutsSection) GetTitle() string {
87 85
88 cret := xShortcutsSectionGetTitle(x.GoPointer())86 cret := xShortcutsSectionGetTitle(x.GoPointer())
89-
90 return cret87 return cret
91 }88 }
92 89
@@ -95,12 +92,11 @@ var xShortcutsSectionSetTitle func(uintptr, uintptr)
95 // Sets the title of @self.92 // Sets the title of @self.
96 func (x *ShortcutsSection) SetTitle(TitleVar *string) {93 func (x *ShortcutsSection) SetTitle(TitleVar *string) {
97 94
98- TitleVarPtr, TitleVarBytes := core.NullableStringToPtr(TitleVar)95+ TitleVarPtr := core.GStrdupNullable(TitleVar)
96+ defer core.GFreeNullable(TitleVarPtr)
99 97
100 xShortcutsSectionSetTitle(x.GoPointer(), TitleVarPtr)98 xShortcutsSectionSetTitle(x.GoPointer(), TitleVarPtr)
101 99
102- runtime.KeepAlive(TitleVarBytes)
103-
104 }100 }
105 101
106 func (c *ShortcutsSection) GoPointer() uintptr {102 func (c *ShortcutsSection) GoPointer() uintptr {
@@ -143,7 +139,6 @@ func (x *ShortcutsSection) GetPropertyTitle() string {
143 func (x *ShortcutsSection) GetItem(PositionVar uint) uintptr {139 func (x *ShortcutsSection) GetItem(PositionVar uint) uintptr {
144 140
145 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)141 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)
146-
147 return cret142 return cret
148 }143 }
149 144
@@ -158,7 +153,6 @@ func (x *ShortcutsSection) GetItem(PositionVar uint) uintptr {
158 func (x *ShortcutsSection) GetItemType() types.GType {153 func (x *ShortcutsSection) GetItemType() types.GType {
159 154
160 cret := gio.XGListModelGetItemType(x.GoPointer())155 cret := gio.XGListModelGetItemType(x.GoPointer())
161-
162 return cret156 return cret
163 }157 }
164 158
@@ -170,7 +164,6 @@ func (x *ShortcutsSection) GetItemType() types.GType {
170 func (x *ShortcutsSection) GetNItems() uint {164 func (x *ShortcutsSection) GetNItems() uint {
171 165
172 cret := gio.XGListModelGetNItems(x.GoPointer())166 cret := gio.XGListModelGetNItems(x.GoPointer())
173-
174 return cret167 return cret
175 }168 }
176 169
@@ -232,7 +225,6 @@ func (x *ShortcutsSection) ItemsChanged(PositionVar uint, RemovedVar uint, Added
232 func (x *ShortcutsSection) GetBuildableId() string {225 func (x *ShortcutsSection) GetBuildableId() string {
233 226
234 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())227 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
235-
236 return cret228 return cret
237 }229 }
238 230
M v4/adw/adw-spin-row.go +2 -27
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -159,7 +158,6 @@ var xSpinRowGetClimbRate func(uintptr) float64
159 func (x *SpinRow) GetClimbRate() float64 {158 func (x *SpinRow) GetClimbRate() float64 {
160 159
161 cret := xSpinRowGetClimbRate(x.GoPointer())160 cret := xSpinRowGetClimbRate(x.GoPointer())
162-
163 return cret161 return cret
164 }162 }
165 163
@@ -169,7 +167,6 @@ var xSpinRowGetDigits func(uintptr) uint
169 func (x *SpinRow) GetDigits() uint {167 func (x *SpinRow) GetDigits() uint {
170 168
171 cret := xSpinRowGetDigits(x.GoPointer())169 cret := xSpinRowGetDigits(x.GoPointer())
172-
173 return cret170 return cret
174 }171 }
175 172
@@ -179,7 +176,6 @@ var xSpinRowGetNumeric func(uintptr) bool
179 func (x *SpinRow) GetNumeric() bool {176 func (x *SpinRow) GetNumeric() bool {
180 177
181 cret := xSpinRowGetNumeric(x.GoPointer())178 cret := xSpinRowGetNumeric(x.GoPointer())
182-
183 return cret179 return cret
184 }180 }
185 181
@@ -189,7 +185,6 @@ var xSpinRowGetSnapToTicks func(uintptr) bool
189 func (x *SpinRow) GetSnapToTicks() bool {185 func (x *SpinRow) GetSnapToTicks() bool {
190 186
191 cret := xSpinRowGetSnapToTicks(x.GoPointer())187 cret := xSpinRowGetSnapToTicks(x.GoPointer())
192-
193 return cret188 return cret
194 }189 }
195 190
@@ -199,7 +194,6 @@ var xSpinRowGetUpdatePolicy func(uintptr) gtk.SpinButtonUpdatePolicy
199 func (x *SpinRow) GetUpdatePolicy() gtk.SpinButtonUpdatePolicy {194 func (x *SpinRow) GetUpdatePolicy() gtk.SpinButtonUpdatePolicy {
200 195
201 cret := xSpinRowGetUpdatePolicy(x.GoPointer())196 cret := xSpinRowGetUpdatePolicy(x.GoPointer())
202-
203 return cret197 return cret
204 }198 }
205 199
@@ -209,7 +203,6 @@ var xSpinRowGetValue func(uintptr) float64
209 func (x *SpinRow) GetValue() float64 {203 func (x *SpinRow) GetValue() float64 {
210 204
211 cret := xSpinRowGetValue(x.GoPointer())205 cret := xSpinRowGetValue(x.GoPointer())
212-
213 return cret206 return cret
214 }207 }
215 208
@@ -219,7 +212,6 @@ var xSpinRowGetWrap func(uintptr) bool
219 func (x *SpinRow) GetWrap() bool {212 func (x *SpinRow) GetWrap() bool {
220 213
221 cret := xSpinRowGetWrap(x.GoPointer())214 cret := xSpinRowGetWrap(x.GoPointer())
222-
223 return cret215 return cret
224 }216 }
225 217
@@ -549,7 +541,6 @@ func (x *SpinRow) GetAccessibleParent() *gtk.AccessibleBase {
549 func (x *SpinRow) GetAccessibleRole() gtk.AccessibleRole {541 func (x *SpinRow) GetAccessibleRole() gtk.AccessibleRole {
550 542
551 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())543 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
552-
553 return cret544 return cret
554 }545 }
555 546
@@ -575,7 +566,6 @@ func (x *SpinRow) GetAtContext() *gtk.ATContext {
575 func (x *SpinRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {566 func (x *SpinRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
576 567
577 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)568 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
578-
579 return cret569 return cret
580 }570 }
581 571
@@ -615,7 +605,6 @@ func (x *SpinRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
615 func (x *SpinRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {605 func (x *SpinRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
616 606
617 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)607 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
618-
619 return cret608 return cret
620 }609 }
621 610
@@ -789,7 +778,6 @@ func (x *SpinRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
789 func (x *SpinRow) GetActionName() string {778 func (x *SpinRow) GetActionName() string {
790 779
791 cret := gtk.XGtkActionableGetActionName(x.GoPointer())780 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
792-
793 return cret781 return cret
794 }782 }
795 783
@@ -797,7 +785,6 @@ func (x *SpinRow) GetActionName() string {
797 func (x *SpinRow) GetActionTargetValue() *glib.Variant {785 func (x *SpinRow) GetActionTargetValue() *glib.Variant {
798 786
799 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())787 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
800-
801 return cret788 return cret
802 }789 }
803 790
@@ -816,12 +803,11 @@ func (x *SpinRow) GetActionTargetValue() *glib.Variant {
816 // associated with the window.803 // associated with the window.
817 func (x *SpinRow) SetActionName(ActionNameVar *string) {804 func (x *SpinRow) SetActionName(ActionNameVar *string) {
818 805
819- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)806+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
807+ defer core.GFreeNullable(ActionNameVarPtr)
820 808
821 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)809 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
822 810
823- runtime.KeepAlive(ActionNameVarBytes)
824-
825 }811 }
826 812
827 // Sets the target of an actionable widget.813 // Sets the target of an actionable widget.
@@ -881,7 +867,6 @@ func (x *SpinRow) SetDetailedActionName(DetailedActionNameVar string) {
881 func (x *SpinRow) GetBuildableId() string {867 func (x *SpinRow) GetBuildableId() string {
882 868
883 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())869 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
884-
885 return cret870 return cret
886 }871 }
887 872
@@ -924,7 +909,6 @@ func (x *SpinRow) GetBuildableId() string {
924 func (x *SpinRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {909 func (x *SpinRow) DelegateGetAccessiblePlatformState(StateVar gtk.AccessiblePlatformState) bool {
925 910
926 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)911 cret := gtk.XGtkEditableDelegateGetAccessiblePlatformState(x.GoPointer(), StateVar)
927-
928 return cret912 return cret
929 }913 }
930 914
@@ -965,7 +949,6 @@ func (x *SpinRow) FinishDelegate() {
965 func (x *SpinRow) GetAlignment() float32 {949 func (x *SpinRow) GetAlignment() float32 {
966 950
967 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())951 cret := gtk.XGtkEditableGetAlignment(x.GoPointer())
968-
969 return cret952 return cret
970 }953 }
971 954
@@ -980,7 +963,6 @@ func (x *SpinRow) GetAlignment() float32 {
980 func (x *SpinRow) GetChars(StartPosVar int, EndPosVar int) string {963 func (x *SpinRow) GetChars(StartPosVar int, EndPosVar int) string {
981 964
982 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)965 cret := gtk.XGtkEditableGetChars(x.GoPointer(), StartPosVar, EndPosVar)
983-
984 return cret966 return cret
985 }967 }
986 968
@@ -1006,7 +988,6 @@ func (x *SpinRow) GetDelegate() *gtk.EditableBase {
1006 func (x *SpinRow) GetEditable() bool {988 func (x *SpinRow) GetEditable() bool {
1007 989
1008 cret := gtk.XGtkEditableGetEditable(x.GoPointer())990 cret := gtk.XGtkEditableGetEditable(x.GoPointer())
1009-
1010 return cret991 return cret
1011 }992 }
1012 993
@@ -1014,7 +995,6 @@ func (x *SpinRow) GetEditable() bool {
1014 func (x *SpinRow) GetEnableUndo() bool {995 func (x *SpinRow) GetEnableUndo() bool {
1015 996
1016 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())997 cret := gtk.XGtkEditableGetEnableUndo(x.GoPointer())
1017-
1018 return cret998 return cret
1019 }999 }
1020 1000
@@ -1022,7 +1002,6 @@ func (x *SpinRow) GetEnableUndo() bool {
1022 func (x *SpinRow) GetMaxWidthChars() int {1002 func (x *SpinRow) GetMaxWidthChars() int {
1023 1003
1024 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())1004 cret := gtk.XGtkEditableGetMaxWidthChars(x.GoPointer())
1025-
1026 return cret1005 return cret
1027 }1006 }
1028 1007
@@ -1033,7 +1012,6 @@ func (x *SpinRow) GetMaxWidthChars() int {
1033 func (x *SpinRow) GetPosition() int {1012 func (x *SpinRow) GetPosition() int {
1034 1013
1035 cret := gtk.XGtkEditableGetPosition(x.GoPointer())1014 cret := gtk.XGtkEditableGetPosition(x.GoPointer())
1036-
1037 return cret1015 return cret
1038 }1016 }
1039 1017
@@ -1047,7 +1025,6 @@ func (x *SpinRow) GetPosition() int {
1047 func (x *SpinRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {1025 func (x *SpinRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
1048 1026
1049 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)1027 cret := gtk.XGtkEditableGetSelectionBounds(x.GoPointer(), StartPosVar, EndPosVar)
1050-
1051 return cret1028 return cret
1052 }1029 }
1053 1030
@@ -1057,7 +1034,6 @@ func (x *SpinRow) GetSelectionBounds(StartPosVar *int, EndPosVar *int) bool {
1057 func (x *SpinRow) GetText() string {1034 func (x *SpinRow) GetText() string {
1058 1035
1059 cret := gtk.XGtkEditableGetText(x.GoPointer())1036 cret := gtk.XGtkEditableGetText(x.GoPointer())
1060-
1061 return cret1037 return cret
1062 }1038 }
1063 1039
@@ -1066,7 +1042,6 @@ func (x *SpinRow) GetText() string {
1066 func (x *SpinRow) GetWidthChars() int {1042 func (x *SpinRow) GetWidthChars() int {
1067 1043
1068 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())1044 cret := gtk.XGtkEditableGetWidthChars(x.GoPointer())
1069-
1070 return cret1045 return cret
1071 }1046 }
1072 1047
M v4/adw/adw-spinner-paintable.go +0 -4
@@ -168,7 +168,6 @@ 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-
172 return cret171 return cret
173 }172 }
174 173
@@ -192,7 +191,6 @@ func (x *SpinnerPaintable) GetFlags() gdk.PaintableFlags {
192 func (x *SpinnerPaintable) GetIntrinsicAspectRatio() float64 {191 func (x *SpinnerPaintable) GetIntrinsicAspectRatio() float64 {
193 192
194 cret := gdk.XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())193 cret := gdk.XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
195-
196 return cret194 return cret
197 }195 }
198 196
@@ -209,7 +207,6 @@ func (x *SpinnerPaintable) GetIntrinsicAspectRatio() float64 {
209 func (x *SpinnerPaintable) GetIntrinsicHeight() int {207 func (x *SpinnerPaintable) GetIntrinsicHeight() int {
210 208
211 cret := gdk.XGdkPaintableGetIntrinsicHeight(x.GoPointer())209 cret := gdk.XGdkPaintableGetIntrinsicHeight(x.GoPointer())
212-
213 return cret210 return cret
214 }211 }
215 212
@@ -226,7 +223,6 @@ func (x *SpinnerPaintable) GetIntrinsicHeight() int {
226 func (x *SpinnerPaintable) GetIntrinsicWidth() int {223 func (x *SpinnerPaintable) GetIntrinsicWidth() int {
227 224
228 cret := gdk.XGdkPaintableGetIntrinsicWidth(x.GoPointer())225 cret := gdk.XGdkPaintableGetIntrinsicWidth(x.GoPointer())
229-
230 return cret226 return cret
231 }227 }
232 228
M v4/adw/adw-spinner.go +0 -4
@@ -141,7 +141,6 @@ 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-
145 return cret144 return cret
146 }145 }
147 146
@@ -167,7 +166,6 @@ func (x *Spinner) GetAtContext() *gtk.ATContext {
167 func (x *Spinner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {166 func (x *Spinner) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
168 167
169 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)168 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
170-
171 return cret169 return cret
172 }170 }
173 171
@@ -207,7 +205,6 @@ func (x *Spinner) GetNextAccessibleSibling() *gtk.AccessibleBase {
207 func (x *Spinner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {205 func (x *Spinner) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
208 206
209 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)207 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
210-
211 return cret208 return cret
212 }209 }
213 210
@@ -384,7 +381,6 @@ func (x *Spinner) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
384 func (x *Spinner) GetBuildableId() string {381 func (x *Spinner) GetBuildableId() string {
385 382
386 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())383 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
387-
388 return cret384 return cret
389 }385 }
390 386
M v4/adw/adw-split-button.go +2 -16
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -115,7 +114,6 @@ var xSplitButtonGetCanShrink func(uintptr) bool
115 func (x *SplitButton) GetCanShrink() bool {114 func (x *SplitButton) GetCanShrink() bool {
116 115
117 cret := xSplitButtonGetCanShrink(x.GoPointer())116 cret := xSplitButtonGetCanShrink(x.GoPointer())
118-
119 return cret117 return cret
120 }118 }
121 119
@@ -142,7 +140,6 @@ var xSplitButtonGetDirection func(uintptr) gtk.ArrowType
142 func (x *SplitButton) GetDirection() gtk.ArrowType {140 func (x *SplitButton) GetDirection() gtk.ArrowType {
143 141
144 cret := xSplitButtonGetDirection(x.GoPointer())142 cret := xSplitButtonGetDirection(x.GoPointer())
145-
146 return cret143 return cret
147 }144 }
148 145
@@ -152,7 +149,6 @@ var xSplitButtonGetDropdownTooltip func(uintptr) string
152 func (x *SplitButton) GetDropdownTooltip() string {149 func (x *SplitButton) GetDropdownTooltip() string {
153 150
154 cret := xSplitButtonGetDropdownTooltip(x.GoPointer())151 cret := xSplitButtonGetDropdownTooltip(x.GoPointer())
155-
156 return cret152 return cret
157 }153 }
158 154
@@ -162,7 +158,6 @@ var xSplitButtonGetIconName func(uintptr) string
162 func (x *SplitButton) GetIconName() string {158 func (x *SplitButton) GetIconName() string {
163 159
164 cret := xSplitButtonGetIconName(x.GoPointer())160 cret := xSplitButtonGetIconName(x.GoPointer())
165-
166 return cret161 return cret
167 }162 }
168 163
@@ -172,7 +167,6 @@ var xSplitButtonGetLabel func(uintptr) string
172 func (x *SplitButton) GetLabel() string {167 func (x *SplitButton) GetLabel() string {
173 168
174 cret := xSplitButtonGetLabel(x.GoPointer())169 cret := xSplitButtonGetLabel(x.GoPointer())
175-
176 return cret170 return cret
177 }171 }
178 172
@@ -216,7 +210,6 @@ var xSplitButtonGetUseUnderline func(uintptr) bool
216 func (x *SplitButton) GetUseUnderline() bool {210 func (x *SplitButton) GetUseUnderline() bool {
217 211
218 cret := xSplitButtonGetUseUnderline(x.GoPointer())212 cret := xSplitButtonGetUseUnderline(x.GoPointer())
219-
220 return cret213 return cret
221 }214 }
222 215
@@ -570,7 +563,6 @@ func (x *SplitButton) GetAccessibleParent() *gtk.AccessibleBase {
570 func (x *SplitButton) GetAccessibleRole() gtk.AccessibleRole {563 func (x *SplitButton) GetAccessibleRole() gtk.AccessibleRole {
571 564
572 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())565 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
573-
574 return cret566 return cret
575 }567 }
576 568
@@ -596,7 +588,6 @@ func (x *SplitButton) GetAtContext() *gtk.ATContext {
596 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 {
597 589
598 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)590 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
599-
600 return cret591 return cret
601 }592 }
602 593
@@ -636,7 +627,6 @@ func (x *SplitButton) GetNextAccessibleSibling() *gtk.AccessibleBase {
636 func (x *SplitButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {627 func (x *SplitButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
637 628
638 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)629 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
639-
640 return cret630 return cret
641 }631 }
642 632
@@ -810,7 +800,6 @@ func (x *SplitButton) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
810 func (x *SplitButton) GetActionName() string {800 func (x *SplitButton) GetActionName() string {
811 801
812 cret := gtk.XGtkActionableGetActionName(x.GoPointer())802 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
813-
814 return cret803 return cret
815 }804 }
816 805
@@ -818,7 +807,6 @@ func (x *SplitButton) GetActionName() string {
818 func (x *SplitButton) GetActionTargetValue() *glib.Variant {807 func (x *SplitButton) GetActionTargetValue() *glib.Variant {
819 808
820 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())809 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
821-
822 return cret810 return cret
823 }811 }
824 812
@@ -837,12 +825,11 @@ func (x *SplitButton) GetActionTargetValue() *glib.Variant {
837 // associated with the window.825 // associated with the window.
838 func (x *SplitButton) SetActionName(ActionNameVar *string) {826 func (x *SplitButton) SetActionName(ActionNameVar *string) {
839 827
840- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)828+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
829+ defer core.GFreeNullable(ActionNameVarPtr)
841 830
842 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)831 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
843 832
844- runtime.KeepAlive(ActionNameVarBytes)
845-
846 }833 }
847 834
848 // Sets the target of an actionable widget.835 // Sets the target of an actionable widget.
@@ -902,7 +889,6 @@ func (x *SplitButton) SetDetailedActionName(DetailedActionNameVar string) {
902 func (x *SplitButton) GetBuildableId() string {889 func (x *SplitButton) GetBuildableId() string {
903 890
904 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())891 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
905-
906 return cret892 return cret
907 }893 }
908 894
M v4/adw/adw-spring-animation.go +0 -10
@@ -98,7 +98,6 @@ 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-
102 return cret101 return cret
103 }102 }
104 103
@@ -113,7 +112,6 @@ var xSpringAnimationCalculateVelocity func(uintptr, uint) float64
113 func (x *SpringAnimation) CalculateVelocity(TimeVar uint) float64 {112 func (x *SpringAnimation) CalculateVelocity(TimeVar uint) float64 {
114 113
115 cret := xSpringAnimationCalculateVelocity(x.GoPointer(), TimeVar)114 cret := xSpringAnimationCalculateVelocity(x.GoPointer(), TimeVar)
116-
117 return cret115 return cret
118 }116 }
119 117
@@ -123,7 +121,6 @@ var xSpringAnimationGetClamp func(uintptr) bool
123 func (x *SpringAnimation) GetClamp() bool {121 func (x *SpringAnimation) GetClamp() bool {
124 122
125 cret := xSpringAnimationGetClamp(x.GoPointer())123 cret := xSpringAnimationGetClamp(x.GoPointer())
126-
127 return cret124 return cret
128 }125 }
129 126
@@ -133,7 +130,6 @@ var xSpringAnimationGetEpsilon func(uintptr) float64
133 func (x *SpringAnimation) GetEpsilon() float64 {130 func (x *SpringAnimation) GetEpsilon() float64 {
134 131
135 cret := xSpringAnimationGetEpsilon(x.GoPointer())132 cret := xSpringAnimationGetEpsilon(x.GoPointer())
136-
137 return cret133 return cret
138 }134 }
139 135
@@ -145,7 +141,6 @@ var xSpringAnimationGetEstimatedDuration func(uintptr) uint
145 func (x *SpringAnimation) GetEstimatedDuration() uint {141 func (x *SpringAnimation) GetEstimatedDuration() uint {
146 142
147 cret := xSpringAnimationGetEstimatedDuration(x.GoPointer())143 cret := xSpringAnimationGetEstimatedDuration(x.GoPointer())
148-
149 return cret144 return cret
150 }145 }
151 146
@@ -155,7 +150,6 @@ var xSpringAnimationGetInitialVelocity func(uintptr) float64
155 func (x *SpringAnimation) GetInitialVelocity() float64 {150 func (x *SpringAnimation) GetInitialVelocity() float64 {
156 151
157 cret := xSpringAnimationGetInitialVelocity(x.GoPointer())152 cret := xSpringAnimationGetInitialVelocity(x.GoPointer())
158-
159 return cret153 return cret
160 }154 }
161 155
@@ -165,7 +159,6 @@ var xSpringAnimationGetSpringParams func(uintptr) *SpringParams
165 func (x *SpringAnimation) GetSpringParams() *SpringParams {159 func (x *SpringAnimation) GetSpringParams() *SpringParams {
166 160
167 cret := xSpringAnimationGetSpringParams(x.GoPointer())161 cret := xSpringAnimationGetSpringParams(x.GoPointer())
168-
169 return cret162 return cret
170 }163 }
171 164
@@ -175,7 +168,6 @@ var xSpringAnimationGetValueFrom func(uintptr) float64
175 func (x *SpringAnimation) GetValueFrom() float64 {168 func (x *SpringAnimation) GetValueFrom() float64 {
176 169
177 cret := xSpringAnimationGetValueFrom(x.GoPointer())170 cret := xSpringAnimationGetValueFrom(x.GoPointer())
178-
179 return cret171 return cret
180 }172 }
181 173
@@ -185,7 +177,6 @@ var xSpringAnimationGetValueTo func(uintptr) float64
185 func (x *SpringAnimation) GetValueTo() float64 {177 func (x *SpringAnimation) GetValueTo() float64 {
186 178
187 cret := xSpringAnimationGetValueTo(x.GoPointer())179 cret := xSpringAnimationGetValueTo(x.GoPointer())
188-
189 return cret180 return cret
190 }181 }
191 182
@@ -195,7 +186,6 @@ var xSpringAnimationGetVelocity func(uintptr) float64
195 func (x *SpringAnimation) GetVelocity() float64 {186 func (x *SpringAnimation) GetVelocity() float64 {
196 187
197 cret := xSpringAnimationGetVelocity(x.GoPointer())188 cret := xSpringAnimationGetVelocity(x.GoPointer())
198-
199 return cret189 return cret
200 }190 }
201 191
M v4/adw/adw-spring-params.go +0 -7
@@ -74,7 +74,6 @@ 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-
78 return cret77 return cret
79 }78 }
80 79
@@ -87,7 +86,6 @@ var xNewSpringParamsFull func(float64, float64, float64) *SpringParams
87 func NewSpringParamsFull(DampingVar float64, MassVar float64, StiffnessVar float64) *SpringParams {86 func NewSpringParamsFull(DampingVar float64, MassVar float64, StiffnessVar float64) *SpringParams {
88 87
89 cret := xNewSpringParamsFull(DampingVar, MassVar, StiffnessVar)88 cret := xNewSpringParamsFull(DampingVar, MassVar, StiffnessVar)
90-
91 return cret89 return cret
92 }90 }
93 91
@@ -97,7 +95,6 @@ var xSpringParamsGetDamping func(uintptr) float64
97 func (x *SpringParams) GetDamping() float64 {95 func (x *SpringParams) GetDamping() float64 {
98 96
99 cret := xSpringParamsGetDamping(x.GoPointer())97 cret := xSpringParamsGetDamping(x.GoPointer())
100-
101 return cret98 return cret
102 }99 }
103 100
@@ -107,7 +104,6 @@ var xSpringParamsGetDampingRatio func(uintptr) float64
107 func (x *SpringParams) GetDampingRatio() float64 {104 func (x *SpringParams) GetDampingRatio() float64 {
108 105
109 cret := xSpringParamsGetDampingRatio(x.GoPointer())106 cret := xSpringParamsGetDampingRatio(x.GoPointer())
110-
111 return cret107 return cret
112 }108 }
113 109
@@ -117,7 +113,6 @@ var xSpringParamsGetMass func(uintptr) float64
117 func (x *SpringParams) GetMass() float64 {113 func (x *SpringParams) GetMass() float64 {
118 114
119 cret := xSpringParamsGetMass(x.GoPointer())115 cret := xSpringParamsGetMass(x.GoPointer())
120-
121 return cret116 return cret
122 }117 }
123 118
@@ -127,7 +122,6 @@ var xSpringParamsGetStiffness func(uintptr) float64
127 func (x *SpringParams) GetStiffness() float64 {122 func (x *SpringParams) GetStiffness() float64 {
128 123
129 cret := xSpringParamsGetStiffness(x.GoPointer())124 cret := xSpringParamsGetStiffness(x.GoPointer())
130-
131 return cret125 return cret
132 }126 }
133 127
@@ -137,7 +131,6 @@ var xSpringParamsRef func(uintptr) *SpringParams
137 func (x *SpringParams) Ref() *SpringParams {131 func (x *SpringParams) Ref() *SpringParams {
138 132
139 cret := xSpringParamsRef(x.GoPointer())133 cret := xSpringParamsRef(x.GoPointer())
140-
141 return cret134 return cret
142 }135 }
143 136
M v4/adw/adw-squeezer.go +0 -15
@@ -131,7 +131,6 @@ 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-
135 return cret134 return cret
136 }135 }
137 136
@@ -141,7 +140,6 @@ var xSqueezerGetHomogeneous func(uintptr) bool
141 func (x *Squeezer) GetHomogeneous() bool {140 func (x *Squeezer) GetHomogeneous() bool {
142 141
143 cret := xSqueezerGetHomogeneous(x.GoPointer())142 cret := xSqueezerGetHomogeneous(x.GoPointer())
144-
145 return cret143 return cret
146 }144 }
147 145
@@ -151,7 +149,6 @@ var xSqueezerGetInterpolateSize func(uintptr) bool
151 func (x *Squeezer) GetInterpolateSize() bool {149 func (x *Squeezer) GetInterpolateSize() bool {
152 150
153 cret := xSqueezerGetInterpolateSize(x.GoPointer())151 cret := xSqueezerGetInterpolateSize(x.GoPointer())
154-
155 return cret152 return cret
156 }153 }
157 154
@@ -197,7 +194,6 @@ var xSqueezerGetSwitchThresholdPolicy func(uintptr) FoldThresholdPolicy
197 func (x *Squeezer) GetSwitchThresholdPolicy() FoldThresholdPolicy {194 func (x *Squeezer) GetSwitchThresholdPolicy() FoldThresholdPolicy {
198 195
199 cret := xSqueezerGetSwitchThresholdPolicy(x.GoPointer())196 cret := xSqueezerGetSwitchThresholdPolicy(x.GoPointer())
200-
201 return cret197 return cret
202 }198 }
203 199
@@ -207,7 +203,6 @@ var xSqueezerGetTransitionDuration func(uintptr) uint
207 func (x *Squeezer) GetTransitionDuration() uint {203 func (x *Squeezer) GetTransitionDuration() uint {
208 204
209 cret := xSqueezerGetTransitionDuration(x.GoPointer())205 cret := xSqueezerGetTransitionDuration(x.GoPointer())
210-
211 return cret206 return cret
212 }207 }
213 208
@@ -221,7 +216,6 @@ var xSqueezerGetTransitionRunning func(uintptr) bool
221 func (x *Squeezer) GetTransitionRunning() bool {216 func (x *Squeezer) GetTransitionRunning() bool {
222 217
223 cret := xSqueezerGetTransitionRunning(x.GoPointer())218 cret := xSqueezerGetTransitionRunning(x.GoPointer())
224-
225 return cret219 return cret
226 }220 }
227 221
@@ -231,7 +225,6 @@ var xSqueezerGetTransitionType func(uintptr) SqueezerTransitionType
231 func (x *Squeezer) GetTransitionType() SqueezerTransitionType {225 func (x *Squeezer) GetTransitionType() SqueezerTransitionType {
232 226
233 cret := xSqueezerGetTransitionType(x.GoPointer())227 cret := xSqueezerGetTransitionType(x.GoPointer())
234-
235 return cret228 return cret
236 }229 }
237 230
@@ -258,7 +251,6 @@ var xSqueezerGetXalign func(uintptr) float32
258 func (x *Squeezer) GetXalign() float32 {251 func (x *Squeezer) GetXalign() float32 {
259 252
260 cret := xSqueezerGetXalign(x.GoPointer())253 cret := xSqueezerGetXalign(x.GoPointer())
261-
262 return cret254 return cret
263 }255 }
264 256
@@ -268,7 +260,6 @@ var xSqueezerGetYalign func(uintptr) float32
268 func (x *Squeezer) GetYalign() float32 {260 func (x *Squeezer) GetYalign() float32 {
269 261
270 cret := xSqueezerGetYalign(x.GoPointer())262 cret := xSqueezerGetYalign(x.GoPointer())
271-
272 return cret263 return cret
273 }264 }
274 265
@@ -597,7 +588,6 @@ func (x *Squeezer) GetAccessibleParent() *gtk.AccessibleBase {
597 func (x *Squeezer) GetAccessibleRole() gtk.AccessibleRole {588 func (x *Squeezer) GetAccessibleRole() gtk.AccessibleRole {
598 589
599 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())590 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
600-
601 return cret591 return cret
602 }592 }
603 593
@@ -623,7 +613,6 @@ func (x *Squeezer) GetAtContext() *gtk.ATContext {
623 func (x *Squeezer) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {613 func (x *Squeezer) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
624 614
625 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)615 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
626-
627 return cret616 return cret
628 }617 }
629 618
@@ -663,7 +652,6 @@ func (x *Squeezer) GetNextAccessibleSibling() *gtk.AccessibleBase {
663 func (x *Squeezer) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {652 func (x *Squeezer) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
664 653
665 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)654 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
666-
667 return cret655 return cret
668 }656 }
669 657
@@ -840,7 +828,6 @@ func (x *Squeezer) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSt
840 func (x *Squeezer) GetBuildableId() string {828 func (x *Squeezer) GetBuildableId() string {
841 829
842 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())830 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
843-
844 return cret831 return cret
845 }832 }
846 833
@@ -848,7 +835,6 @@ func (x *Squeezer) GetBuildableId() string {
848 func (x *Squeezer) GetOrientation() gtk.Orientation {835 func (x *Squeezer) GetOrientation() gtk.Orientation {
849 836
850 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())837 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
851-
852 return cret838 return cret
853 }839 }
854 840
@@ -899,7 +885,6 @@ var xSqueezerPageGetEnabled func(uintptr) bool
899 func (x *SqueezerPage) GetEnabled() bool {885 func (x *SqueezerPage) GetEnabled() bool {
900 886
901 cret := xSqueezerPageGetEnabled(x.GoPointer())887 cret := xSqueezerPageGetEnabled(x.GoPointer())
902-
903 return cret888 return cret
904 }889 }
905 890
M v4/adw/adw-status-page.go +4 -14
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -113,7 +112,6 @@ var xStatusPageGetDescription func(uintptr) string
113 func (x *StatusPage) GetDescription() string {112 func (x *StatusPage) GetDescription() string {
114 113
115 cret := xStatusPageGetDescription(x.GoPointer())114 cret := xStatusPageGetDescription(x.GoPointer())
116-
117 return cret115 return cret
118 }116 }
119 117
@@ -123,7 +121,6 @@ var xStatusPageGetIconName func(uintptr) string
123 func (x *StatusPage) GetIconName() string {121 func (x *StatusPage) GetIconName() string {
124 122
125 cret := xStatusPageGetIconName(x.GoPointer())123 cret := xStatusPageGetIconName(x.GoPointer())
126-
127 return cret124 return cret
128 }125 }
129 126
@@ -150,7 +147,6 @@ var xStatusPageGetTitle func(uintptr) string
150 func (x *StatusPage) GetTitle() string {147 func (x *StatusPage) GetTitle() string {
151 148
152 cret := xStatusPageGetTitle(x.GoPointer())149 cret := xStatusPageGetTitle(x.GoPointer())
153-
154 return cret150 return cret
155 }151 }
156 152
@@ -170,12 +166,11 @@ var xStatusPageSetDescription func(uintptr, uintptr)
170 // The description is displayed below the title. It is parsed as Pango markup.166 // The description is displayed below the title. It is parsed as Pango markup.
171 func (x *StatusPage) SetDescription(DescriptionVar *string) {167 func (x *StatusPage) SetDescription(DescriptionVar *string) {
172 168
173- DescriptionVarPtr, DescriptionVarBytes := core.NullableStringToPtr(DescriptionVar)169+ DescriptionVarPtr := core.GStrdupNullable(DescriptionVar)
170+ defer core.GFreeNullable(DescriptionVarPtr)
174 171
175 xStatusPageSetDescription(x.GoPointer(), DescriptionVarPtr)172 xStatusPageSetDescription(x.GoPointer(), DescriptionVarPtr)
176 173
177- runtime.KeepAlive(DescriptionVarBytes)
178-
179 }174 }
180 175
181 var xStatusPageSetIconName func(uintptr, uintptr)176 var xStatusPageSetIconName func(uintptr, uintptr)
@@ -185,12 +180,11 @@ var xStatusPageSetIconName func(uintptr, uintptr)
185 // Changing this will set [property@StatusPage:paintable] to `NULL`.180 // Changing this will set [property@StatusPage:paintable] to `NULL`.
186 func (x *StatusPage) SetIconName(IconNameVar *string) {181 func (x *StatusPage) SetIconName(IconNameVar *string) {
187 182
188- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)183+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
184+ defer core.GFreeNullable(IconNameVarPtr)
189 185
190 xStatusPageSetIconName(x.GoPointer(), IconNameVarPtr)186 xStatusPageSetIconName(x.GoPointer(), IconNameVarPtr)
191 187
192- runtime.KeepAlive(IconNameVarBytes)
193-
194 }188 }
195 189
196 var xStatusPageSetPaintable func(uintptr, uintptr)190 var xStatusPageSetPaintable func(uintptr, uintptr)
@@ -320,7 +314,6 @@ func (x *StatusPage) GetAccessibleParent() *gtk.AccessibleBase {
320 func (x *StatusPage) GetAccessibleRole() gtk.AccessibleRole {314 func (x *StatusPage) GetAccessibleRole() gtk.AccessibleRole {
321 315
322 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())316 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
323-
324 return cret317 return cret
325 }318 }
326 319
@@ -346,7 +339,6 @@ func (x *StatusPage) GetAtContext() *gtk.ATContext {
346 func (x *StatusPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {339 func (x *StatusPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
347 340
348 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)341 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
349-
350 return cret342 return cret
351 }343 }
352 344
@@ -386,7 +378,6 @@ func (x *StatusPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
386 func (x *StatusPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {378 func (x *StatusPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
387 379
388 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)380 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
389-
390 return cret381 return cret
391 }382 }
392 383
@@ -563,7 +554,6 @@ func (x *StatusPage) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessible
563 func (x *StatusPage) GetBuildableId() string {554 func (x *StatusPage) GetBuildableId() string {
564 555
565 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())556 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
566-
567 return cret557 return cret
568 }558 }
569 559
M v4/adw/adw-style-manager.go +0 -9
@@ -83,7 +83,6 @@ 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-
87 return cret86 return cret
88 }87 }
89 88
@@ -98,7 +97,6 @@ var xStyleManagerGetAccentColorRgba func(uintptr) *gdk.RGBA
98 func (x *StyleManager) GetAccentColorRgba() *gdk.RGBA {97 func (x *StyleManager) GetAccentColorRgba() *gdk.RGBA {
99 98
100 cret := xStyleManagerGetAccentColorRgba(x.GoPointer())99 cret := xStyleManagerGetAccentColorRgba(x.GoPointer())
101-
102 return cret100 return cret
103 }101 }
104 102
@@ -108,7 +106,6 @@ var xStyleManagerGetColorScheme func(uintptr) ColorScheme
108 func (x *StyleManager) GetColorScheme() ColorScheme {106 func (x *StyleManager) GetColorScheme() ColorScheme {
109 107
110 cret := xStyleManagerGetColorScheme(x.GoPointer())108 cret := xStyleManagerGetColorScheme(x.GoPointer())
111-
112 return cret109 return cret
113 }110 }
114 111
@@ -121,7 +118,6 @@ var xStyleManagerGetDark func(uintptr) bool
121 func (x *StyleManager) GetDark() bool {118 func (x *StyleManager) GetDark() bool {
122 119
123 cret := xStyleManagerGetDark(x.GoPointer())120 cret := xStyleManagerGetDark(x.GoPointer())
124-
125 return cret121 return cret
126 }122 }
127 123
@@ -156,7 +152,6 @@ var xStyleManagerGetDocumentFontName func(uintptr) string
156 func (x *StyleManager) GetDocumentFontName() string {152 func (x *StyleManager) GetDocumentFontName() string {
157 153
158 cret := xStyleManagerGetDocumentFontName(x.GoPointer())154 cret := xStyleManagerGetDocumentFontName(x.GoPointer())
159-
160 return cret155 return cret
161 }156 }
162 157
@@ -168,7 +163,6 @@ var xStyleManagerGetHighContrast func(uintptr) bool
168 func (x *StyleManager) GetHighContrast() bool {163 func (x *StyleManager) GetHighContrast() bool {
169 164
170 cret := xStyleManagerGetHighContrast(x.GoPointer())165 cret := xStyleManagerGetHighContrast(x.GoPointer())
171-
172 return cret166 return cret
173 }167 }
174 168
@@ -183,7 +177,6 @@ var xStyleManagerGetMonospaceFontName func(uintptr) string
183 func (x *StyleManager) GetMonospaceFontName() string {177 func (x *StyleManager) GetMonospaceFontName() string {
184 178
185 cret := xStyleManagerGetMonospaceFontName(x.GoPointer())179 cret := xStyleManagerGetMonospaceFontName(x.GoPointer())
186-
187 return cret180 return cret
188 }181 }
189 182
@@ -199,7 +192,6 @@ var xStyleManagerGetSystemSupportsAccentColors func(uintptr) bool
199 func (x *StyleManager) GetSystemSupportsAccentColors() bool {192 func (x *StyleManager) GetSystemSupportsAccentColors() bool {
200 193
201 cret := xStyleManagerGetSystemSupportsAccentColors(x.GoPointer())194 cret := xStyleManagerGetSystemSupportsAccentColors(x.GoPointer())
202-
203 return cret195 return cret
204 }196 }
205 197
@@ -213,7 +205,6 @@ var xStyleManagerGetSystemSupportsColorSchemes func(uintptr) bool
213 func (x *StyleManager) GetSystemSupportsColorSchemes() bool {205 func (x *StyleManager) GetSystemSupportsColorSchemes() bool {
214 206
215 cret := xStyleManagerGetSystemSupportsColorSchemes(x.GoPointer())207 cret := xStyleManagerGetSystemSupportsColorSchemes(x.GoPointer())
216-
217 return cret208 return cret
218 }209 }
219 210
M v4/adw/adw-swipe-tracker.go +0 -8
@@ -72,7 +72,6 @@ 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-
76 return cret75 return cret
77 }76 }
78 77
@@ -82,7 +81,6 @@ var xSwipeTrackerGetAllowMouseDrag func(uintptr) bool
82 func (x *SwipeTracker) GetAllowMouseDrag() bool {81 func (x *SwipeTracker) GetAllowMouseDrag() bool {
83 82
84 cret := xSwipeTrackerGetAllowMouseDrag(x.GoPointer())83 cret := xSwipeTrackerGetAllowMouseDrag(x.GoPointer())
85-
86 return cret84 return cret
87 }85 }
88 86
@@ -92,7 +90,6 @@ var xSwipeTrackerGetAllowWindowHandle func(uintptr) bool
92 func (x *SwipeTracker) GetAllowWindowHandle() bool {90 func (x *SwipeTracker) GetAllowWindowHandle() bool {
93 91
94 cret := xSwipeTrackerGetAllowWindowHandle(x.GoPointer())92 cret := xSwipeTrackerGetAllowWindowHandle(x.GoPointer())
95-
96 return cret93 return cret
97 }94 }
98 95
@@ -102,7 +99,6 @@ var xSwipeTrackerGetEnabled func(uintptr) bool
102 func (x *SwipeTracker) GetEnabled() bool {99 func (x *SwipeTracker) GetEnabled() bool {
103 100
104 cret := xSwipeTrackerGetEnabled(x.GoPointer())101 cret := xSwipeTrackerGetEnabled(x.GoPointer())
105-
106 return cret102 return cret
107 }103 }
108 104
@@ -112,7 +108,6 @@ var xSwipeTrackerGetLowerOvershoot func(uintptr) bool
112 func (x *SwipeTracker) GetLowerOvershoot() bool {108 func (x *SwipeTracker) GetLowerOvershoot() bool {
113 109
114 cret := xSwipeTrackerGetLowerOvershoot(x.GoPointer())110 cret := xSwipeTrackerGetLowerOvershoot(x.GoPointer())
115-
116 return cret111 return cret
117 }112 }
118 113
@@ -122,7 +117,6 @@ var xSwipeTrackerGetReversed func(uintptr) bool
122 func (x *SwipeTracker) GetReversed() bool {117 func (x *SwipeTracker) GetReversed() bool {
123 118
124 cret := xSwipeTrackerGetReversed(x.GoPointer())119 cret := xSwipeTrackerGetReversed(x.GoPointer())
125-
126 return cret120 return cret
127 }121 }
128 122
@@ -149,7 +143,6 @@ var xSwipeTrackerGetUpperOvershoot func(uintptr) bool
149 func (x *SwipeTracker) GetUpperOvershoot() bool {143 func (x *SwipeTracker) GetUpperOvershoot() bool {
150 144
151 cret := xSwipeTrackerGetUpperOvershoot(x.GoPointer())145 cret := xSwipeTrackerGetUpperOvershoot(x.GoPointer())
152-
153 return cret146 return cret
154 }147 }
155 148
@@ -500,7 +493,6 @@ func (x *SwipeTracker) ConnectUpdateSwipe(cb *func(SwipeTracker, float64)) uint
500 func (x *SwipeTracker) GetOrientation() gtk.Orientation {493 func (x *SwipeTracker) GetOrientation() gtk.Orientation {
501 494
502 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())495 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
503-
504 return cret496 return cret
505 }497 }
506 498
M v4/adw/adw-swipeable.go +0 -4
@@ -199,7 +199,6 @@ 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-
203 return cret202 return cret
204 }203 }
205 204
@@ -209,7 +208,6 @@ func (x *SwipeableBase) GetCancelProgress() float64 {
209 func (x *SwipeableBase) GetDistance() float64 {208 func (x *SwipeableBase) GetDistance() float64 {
210 209
211 cret := XAdwSwipeableGetDistance(x.GoPointer())210 cret := XAdwSwipeableGetDistance(x.GoPointer())
212-
213 return cret211 return cret
214 }212 }
215 213
@@ -217,7 +215,6 @@ func (x *SwipeableBase) GetDistance() float64 {
217 func (x *SwipeableBase) GetProgress() float64 {215 func (x *SwipeableBase) GetProgress() float64 {
218 216
219 cret := XAdwSwipeableGetProgress(x.GoPointer())217 cret := XAdwSwipeableGetProgress(x.GoPointer())
220-
221 return cret218 return cret
222 }219 }
223 220
@@ -228,7 +225,6 @@ func (x *SwipeableBase) GetProgress() float64 {
228 func (x *SwipeableBase) GetSnapPoints(NSnapPointsVar *int) uintptr {225 func (x *SwipeableBase) GetSnapPoints(NSnapPointsVar *int) uintptr {
229 226
230 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)227 cret := XAdwSwipeableGetSnapPoints(x.GoPointer(), NSnapPointsVar)
231-
232 return cret228 return cret
233 }229 }
234 230
M v4/adw/adw-switch-row.go +2 -11
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -97,7 +96,6 @@ var xSwitchRowGetActive func(uintptr) bool
97 func (x *SwitchRow) GetActive() bool {96 func (x *SwitchRow) GetActive() bool {
98 97
99 cret := xSwitchRowGetActive(x.GoPointer())98 cret := xSwitchRowGetActive(x.GoPointer())
100-
101 return cret99 return cret
102 }100 }
103 101
@@ -173,7 +171,6 @@ func (x *SwitchRow) GetAccessibleParent() *gtk.AccessibleBase {
173 func (x *SwitchRow) GetAccessibleRole() gtk.AccessibleRole {171 func (x *SwitchRow) GetAccessibleRole() gtk.AccessibleRole {
174 172
175 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())173 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
176-
177 return cret174 return cret
178 }175 }
179 176
@@ -199,7 +196,6 @@ func (x *SwitchRow) GetAtContext() *gtk.ATContext {
199 func (x *SwitchRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {196 func (x *SwitchRow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
200 197
201 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)198 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
202-
203 return cret199 return cret
204 }200 }
205 201
@@ -239,7 +235,6 @@ func (x *SwitchRow) GetNextAccessibleSibling() *gtk.AccessibleBase {
239 func (x *SwitchRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {235 func (x *SwitchRow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
240 236
241 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)237 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
242-
243 return cret238 return cret
244 }239 }
245 240
@@ -413,7 +408,6 @@ func (x *SwitchRow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
413 func (x *SwitchRow) GetActionName() string {408 func (x *SwitchRow) GetActionName() string {
414 409
415 cret := gtk.XGtkActionableGetActionName(x.GoPointer())410 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
416-
417 return cret411 return cret
418 }412 }
419 413
@@ -421,7 +415,6 @@ func (x *SwitchRow) GetActionName() string {
421 func (x *SwitchRow) GetActionTargetValue() *glib.Variant {415 func (x *SwitchRow) GetActionTargetValue() *glib.Variant {
422 416
423 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())417 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
424-
425 return cret418 return cret
426 }419 }
427 420
@@ -440,12 +433,11 @@ func (x *SwitchRow) GetActionTargetValue() *glib.Variant {
440 // associated with the window.433 // associated with the window.
441 func (x *SwitchRow) SetActionName(ActionNameVar *string) {434 func (x *SwitchRow) SetActionName(ActionNameVar *string) {
442 435
443- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)436+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
437+ defer core.GFreeNullable(ActionNameVarPtr)
444 438
445 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)439 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
446 440
447- runtime.KeepAlive(ActionNameVarBytes)
448-
449 }441 }
450 442
451 // Sets the target of an actionable widget.443 // Sets the target of an actionable widget.
@@ -505,7 +497,6 @@ func (x *SwitchRow) SetDetailedActionName(DetailedActionNameVar string) {
505 func (x *SwitchRow) GetBuildableId() string {497 func (x *SwitchRow) GetBuildableId() string {
506 498
507 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())499 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
508-
509 return cret500 return cret
510 }501 }
511 502
M v4/adw/adw-tab-bar.go +0 -11
@@ -99,7 +99,6 @@ 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-
103 return cret102 return cret
104 }103 }
105 104
@@ -126,7 +125,6 @@ var xTabBarGetExpandTabs func(uintptr) bool
126 func (x *TabBar) GetExpandTabs() bool {125 func (x *TabBar) GetExpandTabs() bool {
127 126
128 cret := xTabBarGetExpandTabs(x.GoPointer())127 cret := xTabBarGetExpandTabs(x.GoPointer())
129-
130 return cret128 return cret
131 }129 }
132 130
@@ -136,7 +134,6 @@ var xTabBarGetExtraDragPreferredAction func(uintptr) gdk.DragAction
136 func (x *TabBar) GetExtraDragPreferredAction() gdk.DragAction {134 func (x *TabBar) GetExtraDragPreferredAction() gdk.DragAction {
137 135
138 cret := xTabBarGetExtraDragPreferredAction(x.GoPointer())136 cret := xTabBarGetExtraDragPreferredAction(x.GoPointer())
139-
140 return cret137 return cret
141 }138 }
142 139
@@ -146,7 +143,6 @@ var xTabBarGetExtraDragPreload func(uintptr) bool
146 func (x *TabBar) GetExtraDragPreload() bool {143 func (x *TabBar) GetExtraDragPreload() bool {
147 144
148 cret := xTabBarGetExtraDragPreload(x.GoPointer())145 cret := xTabBarGetExtraDragPreload(x.GoPointer())
149-
150 return cret146 return cret
151 }147 }
152 148
@@ -156,7 +152,6 @@ var xTabBarGetInverted func(uintptr) bool
156 func (x *TabBar) GetInverted() bool {152 func (x *TabBar) GetInverted() bool {
157 153
158 cret := xTabBarGetInverted(x.GoPointer())154 cret := xTabBarGetInverted(x.GoPointer())
159-
160 return cret155 return cret
161 }156 }
162 157
@@ -168,7 +163,6 @@ var xTabBarGetIsOverflowing func(uintptr) bool
168 func (x *TabBar) GetIsOverflowing() bool {163 func (x *TabBar) GetIsOverflowing() bool {
169 164
170 cret := xTabBarGetIsOverflowing(x.GoPointer())165 cret := xTabBarGetIsOverflowing(x.GoPointer())
171-
172 return cret166 return cret
173 }167 }
174 168
@@ -197,7 +191,6 @@ var xTabBarGetTabsRevealed func(uintptr) bool
197 func (x *TabBar) GetTabsRevealed() bool {191 func (x *TabBar) GetTabsRevealed() bool {
198 192
199 cret := xTabBarGetTabsRevealed(x.GoPointer())193 cret := xTabBarGetTabsRevealed(x.GoPointer())
200-
201 return cret194 return cret
202 }195 }
203 196
@@ -534,7 +527,6 @@ func (x *TabBar) GetAccessibleParent() *gtk.AccessibleBase {
534 func (x *TabBar) GetAccessibleRole() gtk.AccessibleRole {527 func (x *TabBar) GetAccessibleRole() gtk.AccessibleRole {
535 528
536 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())529 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
537-
538 return cret530 return cret
539 }531 }
540 532
@@ -560,7 +552,6 @@ func (x *TabBar) GetAtContext() *gtk.ATContext {
560 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 {
561 553
562 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)554 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
563-
564 return cret555 return cret
565 }556 }
566 557
@@ -600,7 +591,6 @@ func (x *TabBar) GetNextAccessibleSibling() *gtk.AccessibleBase {
600 func (x *TabBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {591 func (x *TabBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
601 592
602 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)593 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
603-
604 return cret594 return cret
605 }595 }
606 596
@@ -777,7 +767,6 @@ func (x *TabBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
777 func (x *TabBar) GetBuildableId() string {767 func (x *TabBar) GetBuildableId() string {
778 768
779 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())769 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
780-
781 return cret770 return cret
782 }771 }
783 772
M v4/adw/adw-tab-button.go +2 -10
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -212,7 +211,6 @@ func (x *TabButton) GetAccessibleParent() *gtk.AccessibleBase {
212 func (x *TabButton) GetAccessibleRole() gtk.AccessibleRole {211 func (x *TabButton) GetAccessibleRole() gtk.AccessibleRole {
213 212
214 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())213 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
215-
216 return cret214 return cret
217 }215 }
218 216
@@ -238,7 +236,6 @@ func (x *TabButton) GetAtContext() *gtk.ATContext {
238 func (x *TabButton) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {236 func (x *TabButton) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
239 237
240 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)238 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
241-
242 return cret239 return cret
243 }240 }
244 241
@@ -278,7 +275,6 @@ func (x *TabButton) GetNextAccessibleSibling() *gtk.AccessibleBase {
278 func (x *TabButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {275 func (x *TabButton) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
279 276
280 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)277 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
281-
282 return cret278 return cret
283 }279 }
284 280
@@ -452,7 +448,6 @@ func (x *TabButton) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
452 func (x *TabButton) GetActionName() string {448 func (x *TabButton) GetActionName() string {
453 449
454 cret := gtk.XGtkActionableGetActionName(x.GoPointer())450 cret := gtk.XGtkActionableGetActionName(x.GoPointer())
455-
456 return cret451 return cret
457 }452 }
458 453
@@ -460,7 +455,6 @@ func (x *TabButton) GetActionName() string {
460 func (x *TabButton) GetActionTargetValue() *glib.Variant {455 func (x *TabButton) GetActionTargetValue() *glib.Variant {
461 456
462 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())457 cret := gtk.XGtkActionableGetActionTargetValue(x.GoPointer())
463-
464 return cret458 return cret
465 }459 }
466 460
@@ -479,12 +473,11 @@ func (x *TabButton) GetActionTargetValue() *glib.Variant {
479 // associated with the window.473 // associated with the window.
480 func (x *TabButton) SetActionName(ActionNameVar *string) {474 func (x *TabButton) SetActionName(ActionNameVar *string) {
481 475
482- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)476+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
477+ defer core.GFreeNullable(ActionNameVarPtr)
483 478
484 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)479 gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVarPtr)
485 480
486- runtime.KeepAlive(ActionNameVarBytes)
487-
488 }481 }
489 482
490 // Sets the target of an actionable widget.483 // Sets the target of an actionable widget.
@@ -544,7 +537,6 @@ func (x *TabButton) SetDetailedActionName(DetailedActionNameVar string) {
544 func (x *TabButton) GetBuildableId() string {537 func (x *TabButton) GetBuildableId() string {
545 538
546 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())539 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
547-
548 return cret540 return cret
549 }541 }
550 542
M v4/adw/adw-tab-overview.go +0 -13
@@ -139,7 +139,6 @@ 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-
143 return cret142 return cret
144 }143 }
145 144
@@ -149,7 +148,6 @@ var xTabOverviewGetEnableSearch func(uintptr) bool
149 func (x *TabOverview) GetEnableSearch() bool {148 func (x *TabOverview) GetEnableSearch() bool {
150 149
151 cret := xTabOverviewGetEnableSearch(x.GoPointer())150 cret := xTabOverviewGetEnableSearch(x.GoPointer())
152-
153 return cret151 return cret
154 }152 }
155 153
@@ -159,7 +157,6 @@ var xTabOverviewGetExtraDragPreferredAction func(uintptr) gdk.DragAction
159 func (x *TabOverview) GetExtraDragPreferredAction() gdk.DragAction {157 func (x *TabOverview) GetExtraDragPreferredAction() gdk.DragAction {
160 158
161 cret := xTabOverviewGetExtraDragPreferredAction(x.GoPointer())159 cret := xTabOverviewGetExtraDragPreferredAction(x.GoPointer())
162-
163 return cret160 return cret
164 }161 }
165 162
@@ -169,7 +166,6 @@ var xTabOverviewGetExtraDragPreload func(uintptr) bool
169 func (x *TabOverview) GetExtraDragPreload() bool {166 func (x *TabOverview) GetExtraDragPreload() bool {
170 167
171 cret := xTabOverviewGetExtraDragPreload(x.GoPointer())168 cret := xTabOverviewGetExtraDragPreload(x.GoPointer())
172-
173 return cret169 return cret
174 }170 }
175 171
@@ -179,7 +175,6 @@ var xTabOverviewGetInverted func(uintptr) bool
179 func (x *TabOverview) GetInverted() bool {175 func (x *TabOverview) GetInverted() bool {
180 176
181 cret := xTabOverviewGetInverted(x.GoPointer())177 cret := xTabOverviewGetInverted(x.GoPointer())
182-
183 return cret178 return cret
184 }179 }
185 180
@@ -189,7 +184,6 @@ var xTabOverviewGetOpen func(uintptr) bool
189 func (x *TabOverview) GetOpen() bool {184 func (x *TabOverview) GetOpen() bool {
190 185
191 cret := xTabOverviewGetOpen(x.GoPointer())186 cret := xTabOverviewGetOpen(x.GoPointer())
192-
193 return cret187 return cret
194 }188 }
195 189
@@ -201,7 +195,6 @@ var xTabOverviewGetSearchActive func(uintptr) bool
201 func (x *TabOverview) GetSearchActive() bool {195 func (x *TabOverview) GetSearchActive() bool {
202 196
203 cret := xTabOverviewGetSearchActive(x.GoPointer())197 cret := xTabOverviewGetSearchActive(x.GoPointer())
204-
205 return cret198 return cret
206 }199 }
207 200
@@ -228,7 +221,6 @@ var xTabOverviewGetShowEndTitleButtons func(uintptr) bool
228 func (x *TabOverview) GetShowEndTitleButtons() bool {221 func (x *TabOverview) GetShowEndTitleButtons() bool {
229 222
230 cret := xTabOverviewGetShowEndTitleButtons(x.GoPointer())223 cret := xTabOverviewGetShowEndTitleButtons(x.GoPointer())
231-
232 return cret224 return cret
233 }225 }
234 226
@@ -238,7 +230,6 @@ var xTabOverviewGetShowStartTitleButtons func(uintptr) bool
238 func (x *TabOverview) GetShowStartTitleButtons() bool {230 func (x *TabOverview) GetShowStartTitleButtons() bool {
239 231
240 cret := xTabOverviewGetShowStartTitleButtons(x.GoPointer())232 cret := xTabOverviewGetShowStartTitleButtons(x.GoPointer())
241-
242 return cret233 return cret
243 }234 }
244 235
@@ -700,7 +691,6 @@ func (x *TabOverview) GetAccessibleParent() *gtk.AccessibleBase {
700 func (x *TabOverview) GetAccessibleRole() gtk.AccessibleRole {691 func (x *TabOverview) GetAccessibleRole() gtk.AccessibleRole {
701 692
702 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())693 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
703-
704 return cret694 return cret
705 }695 }
706 696
@@ -726,7 +716,6 @@ func (x *TabOverview) GetAtContext() *gtk.ATContext {
726 func (x *TabOverview) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {716 func (x *TabOverview) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
727 717
728 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)718 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
729-
730 return cret719 return cret
731 }720 }
732 721
@@ -766,7 +755,6 @@ func (x *TabOverview) GetNextAccessibleSibling() *gtk.AccessibleBase {
766 func (x *TabOverview) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {755 func (x *TabOverview) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
767 756
768 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)757 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
769-
770 return cret758 return cret
771 }759 }
772 760
@@ -943,7 +931,6 @@ func (x *TabOverview) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
943 func (x *TabOverview) GetBuildableId() string {931 func (x *TabOverview) GetBuildableId() string {
944 932
945 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())933 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
946-
947 return cret934 return cret
948 }935 }
949 936
M v4/adw/adw-tab-view.go +0 -31
@@ -143,7 +143,6 @@ 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-
147 return cret146 return cret
148 }147 }
149 148
@@ -170,7 +169,6 @@ var xTabPageGetIndicatorTooltip func(uintptr) string
170 func (x *TabPage) GetIndicatorTooltip() string {169 func (x *TabPage) GetIndicatorTooltip() string {
171 170
172 cret := xTabPageGetIndicatorTooltip(x.GoPointer())171 cret := xTabPageGetIndicatorTooltip(x.GoPointer())
173-
174 return cret172 return cret
175 }173 }
176 174
@@ -180,7 +178,6 @@ var xTabPageGetKeyword func(uintptr) string
180 func (x *TabPage) GetKeyword() string {178 func (x *TabPage) GetKeyword() string {
181 179
182 cret := xTabPageGetKeyword(x.GoPointer())180 cret := xTabPageGetKeyword(x.GoPointer())
183-
184 return cret181 return cret
185 }182 }
186 183
@@ -190,7 +187,6 @@ var xTabPageGetLiveThumbnail func(uintptr) bool
190 func (x *TabPage) GetLiveThumbnail() bool {187 func (x *TabPage) GetLiveThumbnail() bool {
191 188
192 cret := xTabPageGetLiveThumbnail(x.GoPointer())189 cret := xTabPageGetLiveThumbnail(x.GoPointer())
193-
194 return cret190 return cret
195 }191 }
196 192
@@ -200,7 +196,6 @@ var xTabPageGetLoading func(uintptr) bool
200 func (x *TabPage) GetLoading() bool {196 func (x *TabPage) GetLoading() bool {
201 197
202 cret := xTabPageGetLoading(x.GoPointer())198 cret := xTabPageGetLoading(x.GoPointer())
203-
204 return cret199 return cret
205 }200 }
206 201
@@ -210,7 +205,6 @@ var xTabPageGetNeedsAttention func(uintptr) bool
210 func (x *TabPage) GetNeedsAttention() bool {205 func (x *TabPage) GetNeedsAttention() bool {
211 206
212 cret := xTabPageGetNeedsAttention(x.GoPointer())207 cret := xTabPageGetNeedsAttention(x.GoPointer())
213-
214 return cret208 return cret
215 }209 }
216 210
@@ -241,7 +235,6 @@ var xTabPageGetPinned func(uintptr) bool
241 func (x *TabPage) GetPinned() bool {235 func (x *TabPage) GetPinned() bool {
242 236
243 cret := xTabPageGetPinned(x.GoPointer())237 cret := xTabPageGetPinned(x.GoPointer())
244-
245 return cret238 return cret
246 }239 }
247 240
@@ -251,7 +244,6 @@ var xTabPageGetSelected func(uintptr) bool
251 func (x *TabPage) GetSelected() bool {244 func (x *TabPage) GetSelected() bool {
252 245
253 cret := xTabPageGetSelected(x.GoPointer())246 cret := xTabPageGetSelected(x.GoPointer())
254-
255 return cret247 return cret
256 }248 }
257 249
@@ -261,7 +253,6 @@ var xTabPageGetThumbnailXalign func(uintptr) float32
261 func (x *TabPage) GetThumbnailXalign() float32 {253 func (x *TabPage) GetThumbnailXalign() float32 {
262 254
263 cret := xTabPageGetThumbnailXalign(x.GoPointer())255 cret := xTabPageGetThumbnailXalign(x.GoPointer())
264-
265 return cret256 return cret
266 }257 }
267 258
@@ -271,7 +262,6 @@ var xTabPageGetThumbnailYalign func(uintptr) float32
271 func (x *TabPage) GetThumbnailYalign() float32 {262 func (x *TabPage) GetThumbnailYalign() float32 {
272 263
273 cret := xTabPageGetThumbnailYalign(x.GoPointer())264 cret := xTabPageGetThumbnailYalign(x.GoPointer())
274-
275 return cret265 return cret
276 }266 }
277 267
@@ -281,7 +271,6 @@ var xTabPageGetTitle func(uintptr) string
281 func (x *TabPage) GetTitle() string {271 func (x *TabPage) GetTitle() string {
282 272
283 cret := xTabPageGetTitle(x.GoPointer())273 cret := xTabPageGetTitle(x.GoPointer())
284-
285 return cret274 return cret
286 }275 }
287 276
@@ -291,7 +280,6 @@ var xTabPageGetTooltip func(uintptr) string
291 func (x *TabPage) GetTooltip() string {280 func (x *TabPage) GetTooltip() string {
292 281
293 cret := xTabPageGetTooltip(x.GoPointer())282 cret := xTabPageGetTooltip(x.GoPointer())
294-
295 return cret283 return cret
296 }284 }
297 285
@@ -879,7 +867,6 @@ func (x *TabPage) GetAccessibleParent() *gtk.AccessibleBase {
879 func (x *TabPage) GetAccessibleRole() gtk.AccessibleRole {867 func (x *TabPage) GetAccessibleRole() gtk.AccessibleRole {
880 868
881 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())869 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
882-
883 return cret870 return cret
884 }871 }
885 872
@@ -905,7 +892,6 @@ func (x *TabPage) GetAtContext() *gtk.ATContext {
905 func (x *TabPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {892 func (x *TabPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
906 893
907 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)894 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
908-
909 return cret895 return cret
910 }896 }
911 897
@@ -945,7 +931,6 @@ func (x *TabPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
945 func (x *TabPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {931 func (x *TabPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
946 932
947 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)933 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
948-
949 return cret934 return cret
950 }935 }
951 936
@@ -1361,7 +1346,6 @@ var xTabViewGetIsTransferringPage func(uintptr) bool
1361 func (x *TabView) GetIsTransferringPage() bool {1346 func (x *TabView) GetIsTransferringPage() bool {
1362 1347
1363 cret := xTabViewGetIsTransferringPage(x.GoPointer())1348 cret := xTabViewGetIsTransferringPage(x.GoPointer())
1364-
1365 return cret1349 return cret
1366 }1350 }
1367 1351
@@ -1388,7 +1372,6 @@ var xTabViewGetNPages func(uintptr) int
1388 func (x *TabView) GetNPages() int {1372 func (x *TabView) GetNPages() int {
1389 1373
1390 cret := xTabViewGetNPages(x.GoPointer())1374 cret := xTabViewGetNPages(x.GoPointer())
1391-
1392 return cret1375 return cret
1393 }1376 }
1394 1377
@@ -1400,7 +1383,6 @@ var xTabViewGetNPinnedPages func(uintptr) int
1400 func (x *TabView) GetNPinnedPages() int {1383 func (x *TabView) GetNPinnedPages() int {
1401 1384
1402 cret := xTabViewGetNPinnedPages(x.GoPointer())1385 cret := xTabViewGetNPinnedPages(x.GoPointer())
1403-
1404 return cret1386 return cret
1405 }1387 }
1406 1388
@@ -1444,7 +1426,6 @@ var xTabViewGetPagePosition func(uintptr, uintptr) int
1444 func (x *TabView) GetPagePosition(PageVar *TabPage) int {1426 func (x *TabView) GetPagePosition(PageVar *TabPage) int {
1445 1427
1446 cret := xTabViewGetPagePosition(x.GoPointer(), PageVar.GoPointer())1428 cret := xTabViewGetPagePosition(x.GoPointer(), PageVar.GoPointer())
1447-
1448 return cret1429 return cret
1449 }1430 }
1450 1431
@@ -1491,7 +1472,6 @@ var xTabViewGetShortcuts func(uintptr) TabViewShortcuts
1491 func (x *TabView) GetShortcuts() TabViewShortcuts {1472 func (x *TabView) GetShortcuts() TabViewShortcuts {
1492 1473
1493 cret := xTabViewGetShortcuts(x.GoPointer())1474 cret := xTabViewGetShortcuts(x.GoPointer())
1494-
1495 return cret1475 return cret
1496 }1476 }
1497 1477
@@ -1598,7 +1578,6 @@ var xTabViewReorderBackward func(uintptr, uintptr) bool
1598 func (x *TabView) ReorderBackward(PageVar *TabPage) bool {1578 func (x *TabView) ReorderBackward(PageVar *TabPage) bool {
1599 1579
1600 cret := xTabViewReorderBackward(x.GoPointer(), PageVar.GoPointer())1580 cret := xTabViewReorderBackward(x.GoPointer(), PageVar.GoPointer())
1601-
1602 return cret1581 return cret
1603 }1582 }
1604 1583
@@ -1608,7 +1587,6 @@ var xTabViewReorderFirst func(uintptr, uintptr) bool
1608 func (x *TabView) ReorderFirst(PageVar *TabPage) bool {1587 func (x *TabView) ReorderFirst(PageVar *TabPage) bool {
1609 1588
1610 cret := xTabViewReorderFirst(x.GoPointer(), PageVar.GoPointer())1589 cret := xTabViewReorderFirst(x.GoPointer(), PageVar.GoPointer())
1611-
1612 return cret1590 return cret
1613 }1591 }
1614 1592
@@ -1618,7 +1596,6 @@ var xTabViewReorderForward func(uintptr, uintptr) bool
1618 func (x *TabView) ReorderForward(PageVar *TabPage) bool {1596 func (x *TabView) ReorderForward(PageVar *TabPage) bool {
1619 1597
1620 cret := xTabViewReorderForward(x.GoPointer(), PageVar.GoPointer())1598 cret := xTabViewReorderForward(x.GoPointer(), PageVar.GoPointer())
1621-
1622 return cret1599 return cret
1623 }1600 }
1624 1601
@@ -1628,7 +1605,6 @@ var xTabViewReorderLast func(uintptr, uintptr) bool
1628 func (x *TabView) ReorderLast(PageVar *TabPage) bool {1605 func (x *TabView) ReorderLast(PageVar *TabPage) bool {
1629 1606
1630 cret := xTabViewReorderLast(x.GoPointer(), PageVar.GoPointer())1607 cret := xTabViewReorderLast(x.GoPointer(), PageVar.GoPointer())
1631-
1632 return cret1608 return cret
1633 }1609 }
1634 1610
@@ -1641,7 +1617,6 @@ var xTabViewReorderPage func(uintptr, uintptr, int) bool
1641 func (x *TabView) ReorderPage(PageVar *TabPage, PositionVar int) bool {1617 func (x *TabView) ReorderPage(PageVar *TabPage, PositionVar int) bool {
1642 1618
1643 cret := xTabViewReorderPage(x.GoPointer(), PageVar.GoPointer(), PositionVar)1619 cret := xTabViewReorderPage(x.GoPointer(), PageVar.GoPointer(), PositionVar)
1644-
1645 return cret1620 return cret
1646 }1621 }
1647 1622
@@ -1653,7 +1628,6 @@ var xTabViewSelectNextPage func(uintptr) bool
1653 func (x *TabView) SelectNextPage() bool {1628 func (x *TabView) SelectNextPage() bool {
1654 1629
1655 cret := xTabViewSelectNextPage(x.GoPointer())1630 cret := xTabViewSelectNextPage(x.GoPointer())
1656-
1657 return cret1631 return cret
1658 }1632 }
1659 1633
@@ -1665,7 +1639,6 @@ var xTabViewSelectPreviousPage func(uintptr) bool
1665 func (x *TabView) SelectPreviousPage() bool {1639 func (x *TabView) SelectPreviousPage() bool {
1666 1640
1667 cret := xTabViewSelectPreviousPage(x.GoPointer())1641 cret := xTabViewSelectPreviousPage(x.GoPointer())
1668-
1669 return cret1642 return cret
1670 }1643 }
1671 1644
@@ -2079,7 +2052,6 @@ func (x *TabView) GetAccessibleParent() *gtk.AccessibleBase {
2079 func (x *TabView) GetAccessibleRole() gtk.AccessibleRole {2052 func (x *TabView) GetAccessibleRole() gtk.AccessibleRole {
2080 2053
2081 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())2054 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
2082-
2083 return cret2055 return cret
2084 }2056 }
2085 2057
@@ -2105,7 +2077,6 @@ func (x *TabView) GetAtContext() *gtk.ATContext {
2105 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 {
2106 2078
2107 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)2079 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
2108-
2109 return cret2080 return cret
2110 }2081 }
2111 2082
@@ -2145,7 +2116,6 @@ func (x *TabView) GetNextAccessibleSibling() *gtk.AccessibleBase {
2145 func (x *TabView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {2116 func (x *TabView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
2146 2117
2147 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)2118 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
2148-
2149 return cret2119 return cret
2150 }2120 }
2151 2121
@@ -2322,7 +2292,6 @@ func (x *TabView) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
2322 func (x *TabView) GetBuildableId() string {2292 func (x *TabView) GetBuildableId() string {
2323 2293
2324 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())2294 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
2325-
2326 return cret2295 return cret
2327 }2296 }
2328 2297
M v4/adw/adw-timed-animation.go +0 -7
@@ -76,7 +76,6 @@ 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-
80 return cret79 return cret
81 }80 }
82 81
@@ -86,7 +85,6 @@ var xTimedAnimationGetDuration func(uintptr) uint
86 func (x *TimedAnimation) GetDuration() uint {85 func (x *TimedAnimation) GetDuration() uint {
87 86
88 cret := xTimedAnimationGetDuration(x.GoPointer())87 cret := xTimedAnimationGetDuration(x.GoPointer())
89-
90 return cret88 return cret
91 }89 }
92 90
@@ -96,7 +94,6 @@ var xTimedAnimationGetEasing func(uintptr) Easing
96 func (x *TimedAnimation) GetEasing() Easing {94 func (x *TimedAnimation) GetEasing() Easing {
97 95
98 cret := xTimedAnimationGetEasing(x.GoPointer())96 cret := xTimedAnimationGetEasing(x.GoPointer())
99-
100 return cret97 return cret
101 }98 }
102 99
@@ -106,7 +103,6 @@ var xTimedAnimationGetRepeatCount func(uintptr) uint
106 func (x *TimedAnimation) GetRepeatCount() uint {103 func (x *TimedAnimation) GetRepeatCount() uint {
107 104
108 cret := xTimedAnimationGetRepeatCount(x.GoPointer())105 cret := xTimedAnimationGetRepeatCount(x.GoPointer())
109-
110 return cret106 return cret
111 }107 }
112 108
@@ -116,7 +112,6 @@ var xTimedAnimationGetReverse func(uintptr) bool
116 func (x *TimedAnimation) GetReverse() bool {112 func (x *TimedAnimation) GetReverse() bool {
117 113
118 cret := xTimedAnimationGetReverse(x.GoPointer())114 cret := xTimedAnimationGetReverse(x.GoPointer())
119-
120 return cret115 return cret
121 }116 }
122 117
@@ -126,7 +121,6 @@ var xTimedAnimationGetValueFrom func(uintptr) float64
126 func (x *TimedAnimation) GetValueFrom() float64 {121 func (x *TimedAnimation) GetValueFrom() float64 {
127 122
128 cret := xTimedAnimationGetValueFrom(x.GoPointer())123 cret := xTimedAnimationGetValueFrom(x.GoPointer())
129-
130 return cret124 return cret
131 }125 }
132 126
@@ -136,7 +130,6 @@ var xTimedAnimationGetValueTo func(uintptr) float64
136 func (x *TimedAnimation) GetValueTo() float64 {130 func (x *TimedAnimation) GetValueTo() float64 {
137 131
138 cret := xTimedAnimationGetValueTo(x.GoPointer())132 cret := xTimedAnimationGetValueTo(x.GoPointer())
139-
140 return cret133 return cret
141 }134 }
142 135
M v4/adw/adw-toast-overlay.go +0 -4
@@ -202,7 +202,6 @@ 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-
206 return cret205 return cret
207 }206 }
208 207
@@ -228,7 +227,6 @@ func (x *ToastOverlay) GetAtContext() *gtk.ATContext {
228 func (x *ToastOverlay) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {227 func (x *ToastOverlay) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
229 228
230 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)229 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
231-
232 return cret230 return cret
233 }231 }
234 232
@@ -268,7 +266,6 @@ func (x *ToastOverlay) GetNextAccessibleSibling() *gtk.AccessibleBase {
268 func (x *ToastOverlay) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {266 func (x *ToastOverlay) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
269 267
270 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)268 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
271-
272 return cret269 return cret
273 }270 }
274 271
@@ -445,7 +442,6 @@ func (x *ToastOverlay) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessib
445 func (x *ToastOverlay) GetBuildableId() string {442 func (x *ToastOverlay) GetBuildableId() string {
446 443
447 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())444 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
448-
449 return cret445 return cret
450 }446 }
451 447
M v4/adw/adw-toast.go +8 -20
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -251,7 +250,6 @@ var xToastGetActionName func(uintptr) string
251 func (x *Toast) GetActionName() string {250 func (x *Toast) GetActionName() string {
252 251
253 cret := xToastGetActionName(x.GoPointer())252 cret := xToastGetActionName(x.GoPointer())
254-
255 return cret253 return cret
256 }254 }
257 255
@@ -261,7 +259,6 @@ var xToastGetActionTargetValue func(uintptr) *glib.Variant
261 func (x *Toast) GetActionTargetValue() *glib.Variant {259 func (x *Toast) GetActionTargetValue() *glib.Variant {
262 260
263 cret := xToastGetActionTargetValue(x.GoPointer())261 cret := xToastGetActionTargetValue(x.GoPointer())
264-
265 return cret262 return cret
266 }263 }
267 264
@@ -271,7 +268,6 @@ var xToastGetButtonLabel func(uintptr) string
271 func (x *Toast) GetButtonLabel() string {268 func (x *Toast) GetButtonLabel() string {
272 269
273 cret := xToastGetButtonLabel(x.GoPointer())270 cret := xToastGetButtonLabel(x.GoPointer())
274-
275 return cret271 return cret
276 }272 }
277 273
@@ -298,7 +294,6 @@ var xToastGetPriority func(uintptr) ToastPriority
298 func (x *Toast) GetPriority() ToastPriority {294 func (x *Toast) GetPriority() ToastPriority {
299 295
300 cret := xToastGetPriority(x.GoPointer())296 cret := xToastGetPriority(x.GoPointer())
301-
302 return cret297 return cret
303 }298 }
304 299
@@ -308,7 +303,6 @@ var xToastGetTimeout func(uintptr) uint
308 func (x *Toast) GetTimeout() uint {303 func (x *Toast) GetTimeout() uint {
309 304
310 cret := xToastGetTimeout(x.GoPointer())305 cret := xToastGetTimeout(x.GoPointer())
311-
312 return cret306 return cret
313 }307 }
314 308
@@ -321,7 +315,6 @@ var xToastGetTitle func(uintptr) string
321 func (x *Toast) GetTitle() string {315 func (x *Toast) GetTitle() string {
322 316
323 cret := xToastGetTitle(x.GoPointer())317 cret := xToastGetTitle(x.GoPointer())
324-
325 return cret318 return cret
326 }319 }
327 320
@@ -331,7 +324,6 @@ var xToastGetUseMarkup func(uintptr) bool
331 func (x *Toast) GetUseMarkup() bool {324 func (x *Toast) GetUseMarkup() bool {
332 325
333 cret := xToastGetUseMarkup(x.GoPointer())326 cret := xToastGetUseMarkup(x.GoPointer())
334-
335 return cret327 return cret
336 }328 }
337 329
@@ -344,12 +336,11 @@ var xToastSetActionName func(uintptr, uintptr)
344 // See [property@Toast:action-target].336 // See [property@Toast:action-target].
345 func (x *Toast) SetActionName(ActionNameVar *string) {337 func (x *Toast) SetActionName(ActionNameVar *string) {
346 338
347- ActionNameVarPtr, ActionNameVarBytes := core.NullableStringToPtr(ActionNameVar)339+ ActionNameVarPtr := core.GStrdupNullable(ActionNameVar)
340+ defer core.GFreeNullable(ActionNameVarPtr)
348 341
349 xToastSetActionName(x.GoPointer(), ActionNameVarPtr)342 xToastSetActionName(x.GoPointer(), ActionNameVarPtr)
350 343
351- runtime.KeepAlive(ActionNameVarBytes)
352-
353 }344 }
354 345
355 var xToastSetActionTarget func(uintptr, uintptr, ...interface{})346 var xToastSetActionTarget func(uintptr, uintptr, ...interface{})
@@ -365,12 +356,11 @@ var xToastSetActionTarget func(uintptr, uintptr, ...interface{})
365 // [method@Toast.set_detailed_action_name].356 // [method@Toast.set_detailed_action_name].
366 func (x *Toast) SetActionTarget(FormatStringVar *string, varArgs ...interface{}) {357 func (x *Toast) SetActionTarget(FormatStringVar *string, varArgs ...interface{}) {
367 358
368- FormatStringVarPtr, FormatStringVarBytes := core.NullableStringToPtr(FormatStringVar)359+ FormatStringVarPtr := core.GStrdupNullable(FormatStringVar)
360+ defer core.GFreeNullable(FormatStringVarPtr)
369 361
370 xToastSetActionTarget(x.GoPointer(), FormatStringVarPtr, varArgs...)362 xToastSetActionTarget(x.GoPointer(), FormatStringVarPtr, varArgs...)
371 363
372- runtime.KeepAlive(FormatStringVarBytes)
373-
374 }364 }
375 365
376 var xToastSetActionTargetValue func(uintptr, *glib.Variant)366 var xToastSetActionTargetValue func(uintptr, *glib.Variant)
@@ -396,12 +386,11 @@ var xToastSetButtonLabel func(uintptr, uintptr)
396 // See [property@Toast:action-name].386 // See [property@Toast:action-name].
397 func (x *Toast) SetButtonLabel(ButtonLabelVar *string) {387 func (x *Toast) SetButtonLabel(ButtonLabelVar *string) {
398 388
399- ButtonLabelVarPtr, ButtonLabelVarBytes := core.NullableStringToPtr(ButtonLabelVar)389+ ButtonLabelVarPtr := core.GStrdupNullable(ButtonLabelVar)
390+ defer core.GFreeNullable(ButtonLabelVarPtr)
400 391
401 xToastSetButtonLabel(x.GoPointer(), ButtonLabelVarPtr)392 xToastSetButtonLabel(x.GoPointer(), ButtonLabelVarPtr)
402 393
403- runtime.KeepAlive(ButtonLabelVarBytes)
404-
405 }394 }
406 395
407 var xToastSetCustomTitle func(uintptr, uintptr)396 var xToastSetCustomTitle func(uintptr, uintptr)
@@ -426,12 +415,11 @@ var xToastSetDetailedActionName func(uintptr, uintptr)
426 // [func@Gio.Action.parse_detailed_name].415 // [func@Gio.Action.parse_detailed_name].
427 func (x *Toast) SetDetailedActionName(DetailedActionNameVar *string) {416 func (x *Toast) SetDetailedActionName(DetailedActionNameVar *string) {
428 417
429- DetailedActionNameVarPtr, DetailedActionNameVarBytes := core.NullableStringToPtr(DetailedActionNameVar)418+ DetailedActionNameVarPtr := core.GStrdupNullable(DetailedActionNameVar)
419+ defer core.GFreeNullable(DetailedActionNameVarPtr)
430 420
431 xToastSetDetailedActionName(x.GoPointer(), DetailedActionNameVarPtr)421 xToastSetDetailedActionName(x.GoPointer(), DetailedActionNameVarPtr)
432 422
433- runtime.KeepAlive(DetailedActionNameVarBytes)
434-
435 }423 }
436 424
437 var xToastSetPriority func(uintptr, ToastPriority)425 var xToastSetPriority func(uintptr, ToastPriority)
M v4/adw/adw-toggle-group.go +8 -30
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -93,7 +92,6 @@ var xToggleGetEnabled func(uintptr) bool
93 func (x *Toggle) GetEnabled() bool {92 func (x *Toggle) GetEnabled() bool {
94 93
95 cret := xToggleGetEnabled(x.GoPointer())94 cret := xToggleGetEnabled(x.GoPointer())
96-
97 return cret95 return cret
98 }96 }
99 97
@@ -103,7 +101,6 @@ var xToggleGetIconName func(uintptr) string
103 func (x *Toggle) GetIconName() string {101 func (x *Toggle) GetIconName() string {
104 102
105 cret := xToggleGetIconName(x.GoPointer())103 cret := xToggleGetIconName(x.GoPointer())
106-
107 return cret104 return cret
108 }105 }
109 106
@@ -113,7 +110,6 @@ var xToggleGetIndex func(uintptr) uint
113 func (x *Toggle) GetIndex() uint {110 func (x *Toggle) GetIndex() uint {
114 111
115 cret := xToggleGetIndex(x.GoPointer())112 cret := xToggleGetIndex(x.GoPointer())
116-
117 return cret113 return cret
118 }114 }
119 115
@@ -123,7 +119,6 @@ var xToggleGetLabel func(uintptr) string
123 func (x *Toggle) GetLabel() string {119 func (x *Toggle) GetLabel() string {
124 120
125 cret := xToggleGetLabel(x.GoPointer())121 cret := xToggleGetLabel(x.GoPointer())
126-
127 return cret122 return cret
128 }123 }
129 124
@@ -133,7 +128,6 @@ var xToggleGetName func(uintptr) string
133 func (x *Toggle) GetName() string {128 func (x *Toggle) GetName() string {
134 129
135 cret := xToggleGetName(x.GoPointer())130 cret := xToggleGetName(x.GoPointer())
136-
137 return cret131 return cret
138 }132 }
139 133
@@ -143,7 +137,6 @@ var xToggleGetTooltip func(uintptr) string
143 func (x *Toggle) GetTooltip() string {137 func (x *Toggle) GetTooltip() string {
144 138
145 cret := xToggleGetTooltip(x.GoPointer())139 cret := xToggleGetTooltip(x.GoPointer())
146-
147 return cret140 return cret
148 }141 }
149 142
@@ -153,7 +146,6 @@ var xToggleGetUseUnderline func(uintptr) bool
153 func (x *Toggle) GetUseUnderline() bool {146 func (x *Toggle) GetUseUnderline() bool {
154 147
155 cret := xToggleGetUseUnderline(x.GoPointer())148 cret := xToggleGetUseUnderline(x.GoPointer())
156-
157 return cret149 return cret
158 }150 }
159 151
@@ -188,12 +180,11 @@ var xToggleSetIconName func(uintptr, uintptr)
188 // [property@Toggle:child] is set.180 // [property@Toggle:child] is set.
189 func (x *Toggle) SetIconName(IconNameVar *string) {181 func (x *Toggle) SetIconName(IconNameVar *string) {
190 182
191- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)183+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
184+ defer core.GFreeNullable(IconNameVarPtr)
192 185
193 xToggleSetIconName(x.GoPointer(), IconNameVarPtr)186 xToggleSetIconName(x.GoPointer(), IconNameVarPtr)
194 187
195- runtime.KeepAlive(IconNameVarBytes)
196-
197 }188 }
198 189
199 var xToggleSetLabel func(uintptr, uintptr)190 var xToggleSetLabel func(uintptr, uintptr)
@@ -205,12 +196,11 @@ var xToggleSetLabel func(uintptr, uintptr)
205 // reader.196 // reader.
206 func (x *Toggle) SetLabel(LabelVar *string) {197 func (x *Toggle) SetLabel(LabelVar *string) {
207 198
208- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)199+ LabelVarPtr := core.GStrdupNullable(LabelVar)
200+ defer core.GFreeNullable(LabelVarPtr)
209 201
210 xToggleSetLabel(x.GoPointer(), LabelVarPtr)202 xToggleSetLabel(x.GoPointer(), LabelVarPtr)
211 203
212- runtime.KeepAlive(LabelVarBytes)
213-
214 }204 }
215 205
216 var xToggleSetName func(uintptr, uintptr)206 var xToggleSetName func(uintptr, uintptr)
@@ -222,12 +212,11 @@ var xToggleSetName func(uintptr, uintptr)
222 // See [property@ToggleGroup:active-name].212 // See [property@ToggleGroup:active-name].
223 func (x *Toggle) SetName(NameVar *string) {213 func (x *Toggle) SetName(NameVar *string) {
224 214
225- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)215+ NameVarPtr := core.GStrdupNullable(NameVar)
216+ defer core.GFreeNullable(NameVarPtr)
226 217
227 xToggleSetName(x.GoPointer(), NameVarPtr)218 xToggleSetName(x.GoPointer(), NameVarPtr)
228 219
229- runtime.KeepAlive(NameVarBytes)
230-
231 }220 }
232 221
233 var xToggleSetTooltip func(uintptr, string)222 var xToggleSetTooltip func(uintptr, string)
@@ -551,7 +540,6 @@ var xToggleGroupGetActive func(uintptr) uint
551 func (x *ToggleGroup) GetActive() uint {540 func (x *ToggleGroup) GetActive() uint {
552 541
553 cret := xToggleGroupGetActive(x.GoPointer())542 cret := xToggleGroupGetActive(x.GoPointer())
554-
555 return cret543 return cret
556 }544 }
557 545
@@ -565,7 +553,6 @@ var xToggleGroupGetActiveName func(uintptr) string
565 func (x *ToggleGroup) GetActiveName() string {553 func (x *ToggleGroup) GetActiveName() string {
566 554
567 cret := xToggleGroupGetActiveName(x.GoPointer())555 cret := xToggleGroupGetActiveName(x.GoPointer())
568-
569 return cret556 return cret
570 }557 }
571 558
@@ -576,7 +563,6 @@ var xToggleGroupGetCanShrink func(uintptr) bool
576 func (x *ToggleGroup) GetCanShrink() bool {563 func (x *ToggleGroup) GetCanShrink() bool {
577 564
578 cret := xToggleGroupGetCanShrink(x.GoPointer())565 cret := xToggleGroupGetCanShrink(x.GoPointer())
579-
580 return cret566 return cret
581 }567 }
582 568
@@ -586,7 +572,6 @@ var xToggleGroupGetHomogeneous func(uintptr) bool
586 func (x *ToggleGroup) GetHomogeneous() bool {572 func (x *ToggleGroup) GetHomogeneous() bool {
587 573
588 cret := xToggleGroupGetHomogeneous(x.GoPointer())574 cret := xToggleGroupGetHomogeneous(x.GoPointer())
589-
590 return cret575 return cret
591 }576 }
592 577
@@ -596,7 +581,6 @@ var xToggleGroupGetNToggles func(uintptr) uint
596 func (x *ToggleGroup) GetNToggles() uint {581 func (x *ToggleGroup) GetNToggles() uint {
597 582
598 cret := xToggleGroupGetNToggles(x.GoPointer())583 cret := xToggleGroupGetNToggles(x.GoPointer())
599-
600 return cret584 return cret
601 }585 }
602 586
@@ -693,12 +677,11 @@ var xToggleGroupSetActiveName func(uintptr, uintptr)
693 // If @name is `NULL`, unset the current active toggle instead.677 // If @name is `NULL`, unset the current active toggle instead.
694 func (x *ToggleGroup) SetActiveName(NameVar *string) {678 func (x *ToggleGroup) SetActiveName(NameVar *string) {
695 679
696- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)680+ NameVarPtr := core.GStrdupNullable(NameVar)
681+ defer core.GFreeNullable(NameVarPtr)
697 682
698 xToggleGroupSetActiveName(x.GoPointer(), NameVarPtr)683 xToggleGroupSetActiveName(x.GoPointer(), NameVarPtr)
699 684
700- runtime.KeepAlive(NameVarBytes)
701-
702 }685 }
703 686
704 var xToggleGroupSetCanShrink func(uintptr, bool)687 var xToggleGroupSetCanShrink func(uintptr, bool)
@@ -876,7 +859,6 @@ func (x *ToggleGroup) GetAccessibleParent() *gtk.AccessibleBase {
876 func (x *ToggleGroup) GetAccessibleRole() gtk.AccessibleRole {859 func (x *ToggleGroup) GetAccessibleRole() gtk.AccessibleRole {
877 860
878 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())861 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
879-
880 return cret862 return cret
881 }863 }
882 864
@@ -902,7 +884,6 @@ func (x *ToggleGroup) GetAtContext() *gtk.ATContext {
902 func (x *ToggleGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {884 func (x *ToggleGroup) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
903 885
904 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)886 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
905-
906 return cret887 return cret
907 }888 }
908 889
@@ -942,7 +923,6 @@ func (x *ToggleGroup) GetNextAccessibleSibling() *gtk.AccessibleBase {
942 func (x *ToggleGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {923 func (x *ToggleGroup) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
943 924
944 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)925 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
945-
946 return cret926 return cret
947 }927 }
948 928
@@ -1119,7 +1099,6 @@ func (x *ToggleGroup) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
1119 func (x *ToggleGroup) GetBuildableId() string {1099 func (x *ToggleGroup) GetBuildableId() string {
1120 1100
1121 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())1101 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1122-
1123 return cret1102 return cret
1124 }1103 }
1125 1104
@@ -1127,7 +1106,6 @@ func (x *ToggleGroup) GetBuildableId() string {
1127 func (x *ToggleGroup) GetOrientation() gtk.Orientation {1106 func (x *ToggleGroup) GetOrientation() gtk.Orientation {
1128 1107
1129 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())1108 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
1130-
1131 return cret1109 return cret
1132 }1110 }
1133 1111
M v4/adw/adw-toolbar-view.go +0 -12
@@ -262,7 +262,6 @@ 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-
266 return cret265 return cret
267 }266 }
268 267
@@ -272,7 +271,6 @@ var xToolbarViewGetBottomBarStyle func(uintptr) ToolbarStyle
272 func (x *ToolbarView) GetBottomBarStyle() ToolbarStyle {271 func (x *ToolbarView) GetBottomBarStyle() ToolbarStyle {
273 272
274 cret := xToolbarViewGetBottomBarStyle(x.GoPointer())273 cret := xToolbarViewGetBottomBarStyle(x.GoPointer())
275-
276 return cret274 return cret
277 }275 }
278 276
@@ -299,7 +297,6 @@ var xToolbarViewGetExtendContentToBottomEdge func(uintptr) bool
299 func (x *ToolbarView) GetExtendContentToBottomEdge() bool {297 func (x *ToolbarView) GetExtendContentToBottomEdge() bool {
300 298
301 cret := xToolbarViewGetExtendContentToBottomEdge(x.GoPointer())299 cret := xToolbarViewGetExtendContentToBottomEdge(x.GoPointer())
302-
303 return cret300 return cret
304 }301 }
305 302
@@ -309,7 +306,6 @@ var xToolbarViewGetExtendContentToTopEdge func(uintptr) bool
309 func (x *ToolbarView) GetExtendContentToTopEdge() bool {306 func (x *ToolbarView) GetExtendContentToTopEdge() bool {
310 307
311 cret := xToolbarViewGetExtendContentToTopEdge(x.GoPointer())308 cret := xToolbarViewGetExtendContentToTopEdge(x.GoPointer())
312-
313 return cret309 return cret
314 }310 }
315 311
@@ -319,7 +315,6 @@ var xToolbarViewGetRevealBottomBars func(uintptr) bool
319 func (x *ToolbarView) GetRevealBottomBars() bool {315 func (x *ToolbarView) GetRevealBottomBars() bool {
320 316
321 cret := xToolbarViewGetRevealBottomBars(x.GoPointer())317 cret := xToolbarViewGetRevealBottomBars(x.GoPointer())
322-
323 return cret318 return cret
324 }319 }
325 320
@@ -329,7 +324,6 @@ var xToolbarViewGetRevealTopBars func(uintptr) bool
329 func (x *ToolbarView) GetRevealTopBars() bool {324 func (x *ToolbarView) GetRevealTopBars() bool {
330 325
331 cret := xToolbarViewGetRevealTopBars(x.GoPointer())326 cret := xToolbarViewGetRevealTopBars(x.GoPointer())
332-
333 return cret327 return cret
334 }328 }
335 329
@@ -344,7 +338,6 @@ var xToolbarViewGetTopBarHeight func(uintptr) int
344 func (x *ToolbarView) GetTopBarHeight() int {338 func (x *ToolbarView) GetTopBarHeight() int {
345 339
346 cret := xToolbarViewGetTopBarHeight(x.GoPointer())340 cret := xToolbarViewGetTopBarHeight(x.GoPointer())
347-
348 return cret341 return cret
349 }342 }
350 343
@@ -354,7 +347,6 @@ var xToolbarViewGetTopBarStyle func(uintptr) ToolbarStyle
354 func (x *ToolbarView) GetTopBarStyle() ToolbarStyle {347 func (x *ToolbarView) GetTopBarStyle() ToolbarStyle {
355 348
356 cret := xToolbarViewGetTopBarStyle(x.GoPointer())349 cret := xToolbarViewGetTopBarStyle(x.GoPointer())
357-
358 return cret350 return cret
359 }351 }
360 352
@@ -696,7 +688,6 @@ func (x *ToolbarView) GetAccessibleParent() *gtk.AccessibleBase {
696 func (x *ToolbarView) GetAccessibleRole() gtk.AccessibleRole {688 func (x *ToolbarView) GetAccessibleRole() gtk.AccessibleRole {
697 689
698 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())690 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
699-
700 return cret691 return cret
701 }692 }
702 693
@@ -722,7 +713,6 @@ func (x *ToolbarView) GetAtContext() *gtk.ATContext {
722 func (x *ToolbarView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {713 func (x *ToolbarView) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
723 714
724 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)715 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
725-
726 return cret716 return cret
727 }717 }
728 718
@@ -762,7 +752,6 @@ func (x *ToolbarView) GetNextAccessibleSibling() *gtk.AccessibleBase {
762 func (x *ToolbarView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {752 func (x *ToolbarView) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
763 753
764 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)754 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
765-
766 return cret755 return cret
767 }756 }
768 757
@@ -939,7 +928,6 @@ func (x *ToolbarView) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
939 func (x *ToolbarView) GetBuildableId() string {928 func (x *ToolbarView) GetBuildableId() string {
940 929
941 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())930 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
942-
943 return cret931 return cret
944 }932 }
945 933
M v4/adw/adw-version.go +0 -3
@@ -31,7 +31,6 @@ var xGetMajorVersion func() uint
31 func GetMajorVersion() uint {31 func GetMajorVersion() uint {
32 32
33 cret := xGetMajorVersion()33 cret := xGetMajorVersion()
34-
35 return cret34 return cret
36 }35 }
37 36
@@ -48,7 +47,6 @@ var xGetMicroVersion func() uint
48 func GetMicroVersion() uint {47 func GetMicroVersion() uint {
49 48
50 cret := xGetMicroVersion()49 cret := xGetMicroVersion()
51-
52 return cret50 return cret
53 }51 }
54 52
@@ -65,7 +63,6 @@ var xGetMinorVersion func() uint
65 func GetMinorVersion() uint {63 func GetMinorVersion() uint {
66 64
67 cret := xGetMinorVersion()65 cret := xGetMinorVersion()
68-
69 return cret66 return cret
70 }67 }
71 68
M v4/adw/adw-view-stack.go +12 -52
@@ -2,7 +2,6 @@
2 package adw2 package adw
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -160,12 +159,11 @@ var xViewStackAddNamed func(uintptr, uintptr, uintptr) uintptr
160 func (x *ViewStack) AddNamed(ChildVar *gtk.Widget, NameVar *string) *ViewStackPage {159 func (x *ViewStack) AddNamed(ChildVar *gtk.Widget, NameVar *string) *ViewStackPage {
161 var cls *ViewStackPage160 var cls *ViewStackPage
162 161
163- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)162+ NameVarPtr := core.GStrdupNullable(NameVar)
163+ defer core.GFreeNullable(NameVarPtr)
164 164
165 cret := xViewStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr)165 cret := xViewStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr)
166 166
167- runtime.KeepAlive(NameVarBytes)
168-
169 if cret == 0 {167 if cret == 0 {
170 return nil168 return nil
171 }169 }
@@ -184,12 +182,11 @@ var xViewStackAddTitled func(uintptr, uintptr, uintptr, string) uintptr
184 func (x *ViewStack) AddTitled(ChildVar *gtk.Widget, NameVar *string, TitleVar string) *ViewStackPage {182 func (x *ViewStack) AddTitled(ChildVar *gtk.Widget, NameVar *string, TitleVar string) *ViewStackPage {
185 var cls *ViewStackPage183 var cls *ViewStackPage
186 184
187- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)185+ NameVarPtr := core.GStrdupNullable(NameVar)
186+ defer core.GFreeNullable(NameVarPtr)
188 187
189 cret := xViewStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr, TitleVar)188 cret := xViewStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr, TitleVar)
190 189
191- runtime.KeepAlive(NameVarBytes)
192-
193 if cret == 0 {190 if cret == 0 {
194 return nil191 return nil
195 }192 }
@@ -208,12 +205,11 @@ var xViewStackAddTitledWithIcon func(uintptr, uintptr, uintptr, string, string)
208 func (x *ViewStack) AddTitledWithIcon(ChildVar *gtk.Widget, NameVar *string, TitleVar string, IconNameVar string) *ViewStackPage {205 func (x *ViewStack) AddTitledWithIcon(ChildVar *gtk.Widget, NameVar *string, TitleVar string, IconNameVar string) *ViewStackPage {
209 var cls *ViewStackPage206 var cls *ViewStackPage
210 207
211- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)208+ NameVarPtr := core.GStrdupNullable(NameVar)
209+ defer core.GFreeNullable(NameVarPtr)
212 210
213 cret := xViewStackAddTitledWithIcon(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr, TitleVar, IconNameVar)211 cret := xViewStackAddTitledWithIcon(x.GoPointer(), ChildVar.GoPointer(), NameVarPtr, TitleVar, IconNameVar)
214 212
215- runtime.KeepAlive(NameVarBytes)
216-
217 if cret == 0 {213 if cret == 0 {
218 return nil214 return nil
219 }215 }
@@ -250,7 +246,6 @@ var xViewStackGetEnableTransitions func(uintptr) bool
250 func (x *ViewStack) GetEnableTransitions() bool {246 func (x *ViewStack) GetEnableTransitions() bool {
251 247
252 cret := xViewStackGetEnableTransitions(x.GoPointer())248 cret := xViewStackGetEnableTransitions(x.GoPointer())
253-
254 return cret249 return cret
255 }250 }
256 251
@@ -260,7 +255,6 @@ var xViewStackGetHhomogeneous func(uintptr) bool
260 func (x *ViewStack) GetHhomogeneous() bool {255 func (x *ViewStack) GetHhomogeneous() bool {
261 256
262 cret := xViewStackGetHhomogeneous(x.GoPointer())257 cret := xViewStackGetHhomogeneous(x.GoPointer())
263-
264 return cret258 return cret
265 }259 }
266 260
@@ -307,7 +301,6 @@ var xViewStackGetTransitionDuration func(uintptr) uint
307 func (x *ViewStack) GetTransitionDuration() uint {301 func (x *ViewStack) GetTransitionDuration() uint {
308 302
309 cret := xViewStackGetTransitionDuration(x.GoPointer())303 cret := xViewStackGetTransitionDuration(x.GoPointer())
310-
311 return cret304 return cret
312 }305 }
313 306
@@ -321,7 +314,6 @@ var xViewStackGetTransitionRunning func(uintptr) bool
321 func (x *ViewStack) GetTransitionRunning() bool {314 func (x *ViewStack) GetTransitionRunning() bool {
322 315
323 cret := xViewStackGetTransitionRunning(x.GoPointer())316 cret := xViewStackGetTransitionRunning(x.GoPointer())
324-
325 return cret317 return cret
326 }318 }
327 319
@@ -331,7 +323,6 @@ var xViewStackGetVhomogeneous func(uintptr) bool
331 func (x *ViewStack) GetVhomogeneous() bool {323 func (x *ViewStack) GetVhomogeneous() bool {
332 324
333 cret := xViewStackGetVhomogeneous(x.GoPointer())325 cret := xViewStackGetVhomogeneous(x.GoPointer())
334-
335 return cret326 return cret
336 }327 }
337 328
@@ -358,7 +349,6 @@ var xViewStackGetVisibleChildName func(uintptr) string
358 func (x *ViewStack) GetVisibleChildName() string {349 func (x *ViewStack) GetVisibleChildName() string {
359 350
360 cret := xViewStackGetVisibleChildName(x.GoPointer())351 cret := xViewStackGetVisibleChildName(x.GoPointer())
361-
362 return cret352 return cret
363 }353 }
364 354
@@ -624,7 +614,6 @@ func (x *ViewStack) GetAccessibleParent() *gtk.AccessibleBase {
624 func (x *ViewStack) GetAccessibleRole() gtk.AccessibleRole {614 func (x *ViewStack) GetAccessibleRole() gtk.AccessibleRole {
625 615
626 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())616 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
627-
628 return cret617 return cret
629 }618 }
630 619
@@ -650,7 +639,6 @@ func (x *ViewStack) GetAtContext() *gtk.ATContext {
650 func (x *ViewStack) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {639 func (x *ViewStack) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
651 640
652 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)641 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
653-
654 return cret642 return cret
655 }643 }
656 644
@@ -690,7 +678,6 @@ func (x *ViewStack) GetNextAccessibleSibling() *gtk.AccessibleBase {
690 func (x *ViewStack) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {678 func (x *ViewStack) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
691 679
692 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)680 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
693-
694 return cret681 return cret
695 }682 }
696 683
@@ -867,7 +854,6 @@ func (x *ViewStack) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleS
867 func (x *ViewStack) GetBuildableId() string {854 func (x *ViewStack) GetBuildableId() string {
868 855
869 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())856 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
870-
871 return cret857 return cret
872 }858 }
873 859
@@ -894,7 +880,6 @@ var xViewStackPageGetBadgeNumber func(uintptr) uint
894 func (x *ViewStackPage) GetBadgeNumber() uint {880 func (x *ViewStackPage) GetBadgeNumber() uint {
895 881
896 cret := xViewStackPageGetBadgeNumber(x.GoPointer())882 cret := xViewStackPageGetBadgeNumber(x.GoPointer())
897-
898 return cret883 return cret
899 }884 }
900 885
@@ -921,7 +906,6 @@ var xViewStackPageGetIconName func(uintptr) string
921 func (x *ViewStackPage) GetIconName() string {906 func (x *ViewStackPage) GetIconName() string {
922 907
923 cret := xViewStackPageGetIconName(x.GoPointer())908 cret := xViewStackPageGetIconName(x.GoPointer())
924-
925 return cret909 return cret
926 }910 }
927 911
@@ -931,7 +915,6 @@ var xViewStackPageGetName func(uintptr) string
931 func (x *ViewStackPage) GetName() string {915 func (x *ViewStackPage) GetName() string {
932 916
933 cret := xViewStackPageGetName(x.GoPointer())917 cret := xViewStackPageGetName(x.GoPointer())
934-
935 return cret918 return cret
936 }919 }
937 920
@@ -941,7 +924,6 @@ var xViewStackPageGetNeedsAttention func(uintptr) bool
941 func (x *ViewStackPage) GetNeedsAttention() bool {924 func (x *ViewStackPage) GetNeedsAttention() bool {
942 925
943 cret := xViewStackPageGetNeedsAttention(x.GoPointer())926 cret := xViewStackPageGetNeedsAttention(x.GoPointer())
944-
945 return cret927 return cret
946 }928 }
947 929
@@ -951,7 +933,6 @@ var xViewStackPageGetTitle func(uintptr) string
951 func (x *ViewStackPage) GetTitle() string {933 func (x *ViewStackPage) GetTitle() string {
952 934
953 cret := xViewStackPageGetTitle(x.GoPointer())935 cret := xViewStackPageGetTitle(x.GoPointer())
954-
955 return cret936 return cret
956 }937 }
957 938
@@ -961,7 +942,6 @@ var xViewStackPageGetUseUnderline func(uintptr) bool
961 func (x *ViewStackPage) GetUseUnderline() bool {942 func (x *ViewStackPage) GetUseUnderline() bool {
962 943
963 cret := xViewStackPageGetUseUnderline(x.GoPointer())944 cret := xViewStackPageGetUseUnderline(x.GoPointer())
964-
965 return cret945 return cret
966 }946 }
967 947
@@ -974,7 +954,6 @@ var xViewStackPageGetVisible func(uintptr) bool
974 func (x *ViewStackPage) GetVisible() bool {954 func (x *ViewStackPage) GetVisible() bool {
975 955
976 cret := xViewStackPageGetVisible(x.GoPointer())956 cret := xViewStackPageGetVisible(x.GoPointer())
977-
978 return cret957 return cret
979 }958 }
980 959
@@ -997,12 +976,11 @@ var xViewStackPageSetIconName func(uintptr, uintptr)
997 // Sets the icon name of the page.976 // Sets the icon name of the page.
998 func (x *ViewStackPage) SetIconName(IconNameVar *string) {977 func (x *ViewStackPage) SetIconName(IconNameVar *string) {
999 978
1000- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)979+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
980+ defer core.GFreeNullable(IconNameVarPtr)
1001 981
1002 xViewStackPageSetIconName(x.GoPointer(), IconNameVarPtr)982 xViewStackPageSetIconName(x.GoPointer(), IconNameVarPtr)
1003 983
1004- runtime.KeepAlive(IconNameVarBytes)
1005-
1006 }984 }
1007 985
1008 var xViewStackPageSetName func(uintptr, uintptr)986 var xViewStackPageSetName func(uintptr, uintptr)
@@ -1010,12 +988,11 @@ var xViewStackPageSetName func(uintptr, uintptr)
1010 // Sets the name of the page.988 // Sets the name of the page.
1011 func (x *ViewStackPage) SetName(NameVar *string) {989 func (x *ViewStackPage) SetName(NameVar *string) {
1012 990
1013- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)991+ NameVarPtr := core.GStrdupNullable(NameVar)
992+ defer core.GFreeNullable(NameVarPtr)
1014 993
1015 xViewStackPageSetName(x.GoPointer(), NameVarPtr)994 xViewStackPageSetName(x.GoPointer(), NameVarPtr)
1016 995
1017- runtime.KeepAlive(NameVarBytes)
1018-
1019 }996 }
1020 997
1021 var xViewStackPageSetNeedsAttention func(uintptr, bool)998 var xViewStackPageSetNeedsAttention func(uintptr, bool)
@@ -1034,12 +1011,11 @@ var xViewStackPageSetTitle func(uintptr, uintptr)
1034 // Sets the page title.1011 // Sets the page title.
1035 func (x *ViewStackPage) SetTitle(TitleVar *string) {1012 func (x *ViewStackPage) SetTitle(TitleVar *string) {
1036 1013
1037- TitleVarPtr, TitleVarBytes := core.NullableStringToPtr(TitleVar)1014+ TitleVarPtr := core.GStrdupNullable(TitleVar)
1015+ defer core.GFreeNullable(TitleVarPtr)
1038 1016
1039 xViewStackPageSetTitle(x.GoPointer(), TitleVarPtr)1017 xViewStackPageSetTitle(x.GoPointer(), TitleVarPtr)
1040 1018
1041- runtime.KeepAlive(TitleVarBytes)
1042-
1043 }1019 }
1044 1020
1045 var xViewStackPageSetUseUnderline func(uintptr, bool)1021 var xViewStackPageSetUseUnderline func(uintptr, bool)
@@ -1248,7 +1224,6 @@ func (x *ViewStackPage) GetAccessibleParent() *gtk.AccessibleBase {
1248 func (x *ViewStackPage) GetAccessibleRole() gtk.AccessibleRole {1224 func (x *ViewStackPage) GetAccessibleRole() gtk.AccessibleRole {
1249 1225
1250 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())1226 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
1251-
1252 return cret1227 return cret
1253 }1228 }
1254 1229
@@ -1274,7 +1249,6 @@ func (x *ViewStackPage) GetAtContext() *gtk.ATContext {
1274 func (x *ViewStackPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {1249 func (x *ViewStackPage) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1275 1250
1276 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)1251 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1277-
1278 return cret1252 return cret
1279 }1253 }
1280 1254
@@ -1314,7 +1288,6 @@ func (x *ViewStackPage) GetNextAccessibleSibling() *gtk.AccessibleBase {
1314 func (x *ViewStackPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {1288 func (x *ViewStackPage) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1315 1289
1316 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)1290 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1317-
1318 return cret1291 return cret
1319 }1292 }
1320 1293
@@ -1558,7 +1531,6 @@ func (c *ViewStackPages) SetGoPointer(ptr uintptr) {
1558 func (x *ViewStackPages) GetItem(PositionVar uint) uintptr {1531 func (x *ViewStackPages) GetItem(PositionVar uint) uintptr {
1559 1532
1560 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)1533 cret := gio.XGListModelGetItem(x.GoPointer(), PositionVar)
1561-
1562 return cret1534 return cret
1563 }1535 }
1564 1536
@@ -1573,7 +1545,6 @@ func (x *ViewStackPages) GetItem(PositionVar uint) uintptr {
1573 func (x *ViewStackPages) GetItemType() types.GType {1545 func (x *ViewStackPages) GetItemType() types.GType {
1574 1546
1575 cret := gio.XGListModelGetItemType(x.GoPointer())1547 cret := gio.XGListModelGetItemType(x.GoPointer())
1576-
1577 return cret1548 return cret
1578 }1549 }
1579 1550
@@ -1585,7 +1556,6 @@ func (x *ViewStackPages) GetItemType() types.GType {
1585 func (x *ViewStackPages) GetNItems() uint {1556 func (x *ViewStackPages) GetNItems() uint {
1586 1557
1587 cret := gio.XGListModelGetNItems(x.GoPointer())1558 cret := gio.XGListModelGetNItems(x.GoPointer())
1588-
1589 return cret1559 return cret
1590 }1560 }
1591 1561
@@ -1648,7 +1618,6 @@ func (x *ViewStackPages) ItemsChanged(PositionVar uint, RemovedVar uint, AddedVa
1648 func (x *ViewStackPages) GetSelection() *gtk.Bitset {1618 func (x *ViewStackPages) GetSelection() *gtk.Bitset {
1649 1619
1650 cret := gtk.XGtkSelectionModelGetSelection(x.GoPointer())1620 cret := gtk.XGtkSelectionModelGetSelection(x.GoPointer())
1651-
1652 return cret1621 return cret
1653 }1622 }
1654 1623
@@ -1662,7 +1631,6 @@ func (x *ViewStackPages) GetSelection() *gtk.Bitset {
1662 func (x *ViewStackPages) GetSelectionInRange(PositionVar uint, NItemsVar uint) *gtk.Bitset {1631 func (x *ViewStackPages) GetSelectionInRange(PositionVar uint, NItemsVar uint) *gtk.Bitset {
1663 1632
1664 cret := gtk.XGtkSelectionModelGetSelectionInRange(x.GoPointer(), PositionVar, NItemsVar)1633 cret := gtk.XGtkSelectionModelGetSelectionInRange(x.GoPointer(), PositionVar, NItemsVar)
1665-
1666 return cret1634 return cret
1667 }1635 }
1668 1636
@@ -1670,7 +1638,6 @@ func (x *ViewStackPages) GetSelectionInRange(PositionVar uint, NItemsVar uint) *
1670 func (x *ViewStackPages) IsSelected(PositionVar uint) bool {1638 func (x *ViewStackPages) IsSelected(PositionVar uint) bool {
1671 1639
1672 cret := gtk.XGtkSelectionModelIsSelected(x.GoPointer(), PositionVar)1640 cret := gtk.XGtkSelectionModelIsSelected(x.GoPointer(), PositionVar)
1673-
1674 return cret1641 return cret
1675 }1642 }
1676 1643
@@ -1678,7 +1645,6 @@ func (x *ViewStackPages) IsSelected(PositionVar uint) bool {
1678 func (x *ViewStackPages) SelectAll() bool {1645 func (x *ViewStackPages) SelectAll() bool {
1679 1646
1680 cret := gtk.XGtkSelectionModelSelectAll(x.GoPointer())1647 cret := gtk.XGtkSelectionModelSelectAll(x.GoPointer())
1681-
1682 return cret1648 return cret
1683 }1649 }
1684 1650
@@ -1686,7 +1652,6 @@ func (x *ViewStackPages) SelectAll() bool {
1686 func (x *ViewStackPages) SelectItem(PositionVar uint, UnselectRestVar bool) bool {1652 func (x *ViewStackPages) SelectItem(PositionVar uint, UnselectRestVar bool) bool {
1687 1653
1688 cret := gtk.XGtkSelectionModelSelectItem(x.GoPointer(), PositionVar, UnselectRestVar)1654 cret := gtk.XGtkSelectionModelSelectItem(x.GoPointer(), PositionVar, UnselectRestVar)
1689-
1690 return cret1655 return cret
1691 }1656 }
1692 1657
@@ -1694,7 +1659,6 @@ func (x *ViewStackPages) SelectItem(PositionVar uint, UnselectRestVar bool) bool
1694 func (x *ViewStackPages) SelectRange(PositionVar uint, NItemsVar uint, UnselectRestVar bool) bool {1659 func (x *ViewStackPages) SelectRange(PositionVar uint, NItemsVar uint, UnselectRestVar bool) bool {
1695 1660
1696 cret := gtk.XGtkSelectionModelSelectRange(x.GoPointer(), PositionVar, NItemsVar, UnselectRestVar)1661 cret := gtk.XGtkSelectionModelSelectRange(x.GoPointer(), PositionVar, NItemsVar, UnselectRestVar)
1697-
1698 return cret1662 return cret
1699 }1663 }
1700 1664
@@ -1747,7 +1711,6 @@ func (x *ViewStackPages) SelectionChanged(PositionVar uint, NItemsVar uint) {
1747 func (x *ViewStackPages) SetSelection(SelectedVar *gtk.Bitset, MaskVar *gtk.Bitset) bool {1711 func (x *ViewStackPages) SetSelection(SelectedVar *gtk.Bitset, MaskVar *gtk.Bitset) bool {
1748 1712
1749 cret := gtk.XGtkSelectionModelSetSelection(x.GoPointer(), SelectedVar, MaskVar)1713 cret := gtk.XGtkSelectionModelSetSelection(x.GoPointer(), SelectedVar, MaskVar)
1750-
1751 return cret1714 return cret
1752 }1715 }
1753 1716
@@ -1755,7 +1718,6 @@ func (x *ViewStackPages) SetSelection(SelectedVar *gtk.Bitset, MaskVar *gtk.Bits
1755 func (x *ViewStackPages) UnselectAll() bool {1718 func (x *ViewStackPages) UnselectAll() bool {
1756 1719
1757 cret := gtk.XGtkSelectionModelUnselectAll(x.GoPointer())1720 cret := gtk.XGtkSelectionModelUnselectAll(x.GoPointer())
1758-
1759 return cret1721 return cret
1760 }1722 }
1761 1723
@@ -1763,7 +1725,6 @@ func (x *ViewStackPages) UnselectAll() bool {
1763 func (x *ViewStackPages) UnselectItem(PositionVar uint) bool {1725 func (x *ViewStackPages) UnselectItem(PositionVar uint) bool {
1764 1726
1765 cret := gtk.XGtkSelectionModelUnselectItem(x.GoPointer(), PositionVar)1727 cret := gtk.XGtkSelectionModelUnselectItem(x.GoPointer(), PositionVar)
1766-
1767 return cret1728 return cret
1768 }1729 }
1769 1730
@@ -1771,7 +1732,6 @@ func (x *ViewStackPages) UnselectItem(PositionVar uint) bool {
1771 func (x *ViewStackPages) UnselectRange(PositionVar uint, NItemsVar uint) bool {1732 func (x *ViewStackPages) UnselectRange(PositionVar uint, NItemsVar uint) bool {
1772 1733
1773 cret := gtk.XGtkSelectionModelUnselectRange(x.GoPointer(), PositionVar, NItemsVar)1734 cret := gtk.XGtkSelectionModelUnselectRange(x.GoPointer(), PositionVar, NItemsVar)
1774-
1775 return cret1735 return cret
1776 }1736 }
1777 1737
M v4/adw/adw-view-switcher-bar.go +0 -5
@@ -124,7 +124,6 @@ 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-
128 return cret127 return cret
129 }128 }
130 129
@@ -226,7 +225,6 @@ func (x *ViewSwitcherBar) GetAccessibleParent() *gtk.AccessibleBase {
226 func (x *ViewSwitcherBar) GetAccessibleRole() gtk.AccessibleRole {225 func (x *ViewSwitcherBar) GetAccessibleRole() gtk.AccessibleRole {
227 226
228 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())227 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
229-
230 return cret228 return cret
231 }229 }
232 230
@@ -252,7 +250,6 @@ func (x *ViewSwitcherBar) GetAtContext() *gtk.ATContext {
252 func (x *ViewSwitcherBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {250 func (x *ViewSwitcherBar) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
253 251
254 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)252 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
255-
256 return cret253 return cret
257 }254 }
258 255
@@ -292,7 +289,6 @@ func (x *ViewSwitcherBar) GetNextAccessibleSibling() *gtk.AccessibleBase {
292 func (x *ViewSwitcherBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {289 func (x *ViewSwitcherBar) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
293 290
294 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)291 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
295-
296 return cret292 return cret
297 }293 }
298 294
@@ -469,7 +465,6 @@ func (x *ViewSwitcherBar) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acces
469 func (x *ViewSwitcherBar) GetBuildableId() string {465 func (x *ViewSwitcherBar) GetBuildableId() string {
470 466
471 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())467 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
472-
473 return cret468 return cret
474 }469 }
475 470
M v4/adw/adw-view-switcher-title.go +0 -8
@@ -141,7 +141,6 @@ 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-
145 return cret144 return cret
146 }145 }
147 146
@@ -151,7 +150,6 @@ var xViewSwitcherTitleGetTitle func(uintptr) string
151 func (x *ViewSwitcherTitle) GetTitle() string {150 func (x *ViewSwitcherTitle) GetTitle() string {
152 151
153 cret := xViewSwitcherTitleGetTitle(x.GoPointer())152 cret := xViewSwitcherTitleGetTitle(x.GoPointer())
154-
155 return cret153 return cret
156 }154 }
157 155
@@ -164,7 +162,6 @@ var xViewSwitcherTitleGetTitleVisible func(uintptr) bool
164 func (x *ViewSwitcherTitle) GetTitleVisible() bool {162 func (x *ViewSwitcherTitle) GetTitleVisible() bool {
165 163
166 cret := xViewSwitcherTitleGetTitleVisible(x.GoPointer())164 cret := xViewSwitcherTitleGetTitleVisible(x.GoPointer())
167-
168 return cret165 return cret
169 }166 }
170 167
@@ -174,7 +171,6 @@ var xViewSwitcherTitleGetViewSwitcherEnabled func(uintptr) bool
174 func (x *ViewSwitcherTitle) GetViewSwitcherEnabled() bool {171 func (x *ViewSwitcherTitle) GetViewSwitcherEnabled() bool {
175 172
176 cret := xViewSwitcherTitleGetViewSwitcherEnabled(x.GoPointer())173 cret := xViewSwitcherTitleGetViewSwitcherEnabled(x.GoPointer())
177-
178 return cret174 return cret
179 }175 }
180 176
@@ -358,7 +354,6 @@ func (x *ViewSwitcherTitle) GetAccessibleParent() *gtk.AccessibleBase {
358 func (x *ViewSwitcherTitle) GetAccessibleRole() gtk.AccessibleRole {354 func (x *ViewSwitcherTitle) GetAccessibleRole() gtk.AccessibleRole {
359 355
360 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())356 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
361-
362 return cret357 return cret
363 }358 }
364 359
@@ -384,7 +379,6 @@ func (x *ViewSwitcherTitle) GetAtContext() *gtk.ATContext {
384 func (x *ViewSwitcherTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {379 func (x *ViewSwitcherTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
385 380
386 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)381 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
387-
388 return cret382 return cret
389 }383 }
390 384
@@ -424,7 +418,6 @@ func (x *ViewSwitcherTitle) GetNextAccessibleSibling() *gtk.AccessibleBase {
424 func (x *ViewSwitcherTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {418 func (x *ViewSwitcherTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
425 419
426 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)420 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
427-
428 return cret421 return cret
429 }422 }
430 423
@@ -601,7 +594,6 @@ func (x *ViewSwitcherTitle) UpdateStateValue(NStatesVar int, StatesVar []gtk.Acc
601 func (x *ViewSwitcherTitle) GetBuildableId() string {594 func (x *ViewSwitcherTitle) GetBuildableId() string {
602 595
603 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())596 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
604-
605 return cret597 return cret
606 }598 }
607 599
M v4/adw/adw-view-switcher.go +0 -5
@@ -150,7 +150,6 @@ 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-
154 return cret153 return cret
155 }154 }
156 155
@@ -235,7 +234,6 @@ func (x *ViewSwitcher) GetAccessibleParent() *gtk.AccessibleBase {
235 func (x *ViewSwitcher) GetAccessibleRole() gtk.AccessibleRole {234 func (x *ViewSwitcher) GetAccessibleRole() gtk.AccessibleRole {
236 235
237 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())236 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
238-
239 return cret237 return cret
240 }238 }
241 239
@@ -261,7 +259,6 @@ func (x *ViewSwitcher) GetAtContext() *gtk.ATContext {
261 func (x *ViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {259 func (x *ViewSwitcher) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
262 260
263 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)261 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
264-
265 return cret262 return cret
266 }263 }
267 264
@@ -301,7 +298,6 @@ func (x *ViewSwitcher) GetNextAccessibleSibling() *gtk.AccessibleBase {
301 func (x *ViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {298 func (x *ViewSwitcher) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
302 299
303 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)300 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
304-
305 return cret301 return cret
306 }302 }
307 303
@@ -478,7 +474,6 @@ func (x *ViewSwitcher) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessib
478 func (x *ViewSwitcher) GetBuildableId() string {474 func (x *ViewSwitcher) GetBuildableId() string {
479 475
480 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())476 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
481-
482 return cret477 return cret
483 }478 }
484 479
M v4/adw/adw-window-title.go +0 -6
@@ -76,7 +76,6 @@ 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-
80 return cret79 return cret
81 }80 }
82 81
@@ -86,7 +85,6 @@ var xWindowTitleGetTitle func(uintptr) string
86 func (x *WindowTitle) GetTitle() string {85 func (x *WindowTitle) GetTitle() string {
87 86
88 cret := xWindowTitleGetTitle(x.GoPointer())87 cret := xWindowTitleGetTitle(x.GoPointer())
89-
90 return cret88 return cret
91 }89 }
92 90
@@ -203,7 +201,6 @@ func (x *WindowTitle) GetAccessibleParent() *gtk.AccessibleBase {
203 func (x *WindowTitle) GetAccessibleRole() gtk.AccessibleRole {201 func (x *WindowTitle) GetAccessibleRole() gtk.AccessibleRole {
204 202
205 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())203 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
206-
207 return cret204 return cret
208 }205 }
209 206
@@ -229,7 +226,6 @@ func (x *WindowTitle) GetAtContext() *gtk.ATContext {
229 func (x *WindowTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {226 func (x *WindowTitle) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
230 227
231 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)228 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
232-
233 return cret229 return cret
234 }230 }
235 231
@@ -269,7 +265,6 @@ func (x *WindowTitle) GetNextAccessibleSibling() *gtk.AccessibleBase {
269 func (x *WindowTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {265 func (x *WindowTitle) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
270 266
271 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)267 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
272-
273 return cret268 return cret
274 }269 }
275 270
@@ -446,7 +441,6 @@ func (x *WindowTitle) UpdateStateValue(NStatesVar int, StatesVar []gtk.Accessibl
446 func (x *WindowTitle) GetBuildableId() string {441 func (x *WindowTitle) GetBuildableId() string {
447 442
448 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())443 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
449-
450 return cret444 return cret
451 }445 }
452 446
M v4/adw/adw-window.go +0 -5
@@ -160,7 +160,6 @@ 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-
164 return cret163 return cret
165 }164 }
166 165
@@ -342,7 +341,6 @@ func (x *Window) GetAccessibleParent() *gtk.AccessibleBase {
342 func (x *Window) GetAccessibleRole() gtk.AccessibleRole {341 func (x *Window) GetAccessibleRole() gtk.AccessibleRole {
343 342
344 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())343 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
345-
346 return cret344 return cret
347 }345 }
348 346
@@ -368,7 +366,6 @@ func (x *Window) GetAtContext() *gtk.ATContext {
368 func (x *Window) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {366 func (x *Window) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
369 367
370 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)368 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
371-
372 return cret369 return cret
373 }370 }
374 371
@@ -408,7 +405,6 @@ func (x *Window) GetNextAccessibleSibling() *gtk.AccessibleBase {
408 func (x *Window) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {405 func (x *Window) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
409 406
410 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)407 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
411-
412 return cret408 return cret
413 }409 }
414 410
@@ -585,7 +581,6 @@ func (x *Window) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleStat
585 func (x *Window) GetBuildableId() string {581 func (x *Window) GetBuildableId() string {
586 582
587 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())583 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
588-
589 return cret584 return cret
590 }585 }
591 586
M v4/adw/adw-wrap-box.go +0 -18
@@ -130,7 +130,6 @@ 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-
134 return cret133 return cret
135 }134 }
136 135
@@ -140,7 +139,6 @@ var xWrapBoxGetChildSpacing func(uintptr) int
140 func (x *WrapBox) GetChildSpacing() int {139 func (x *WrapBox) GetChildSpacing() int {
141 140
142 cret := xWrapBoxGetChildSpacing(x.GoPointer())141 cret := xWrapBoxGetChildSpacing(x.GoPointer())
143-
144 return cret142 return cret
145 }143 }
146 144
@@ -150,7 +148,6 @@ var xWrapBoxGetChildSpacingUnit func(uintptr) LengthUnit
150 func (x *WrapBox) GetChildSpacingUnit() LengthUnit {148 func (x *WrapBox) GetChildSpacingUnit() LengthUnit {
151 149
152 cret := xWrapBoxGetChildSpacingUnit(x.GoPointer())150 cret := xWrapBoxGetChildSpacingUnit(x.GoPointer())
153-
154 return cret151 return cret
155 }152 }
156 153
@@ -160,7 +157,6 @@ var xWrapBoxGetJustify func(uintptr) JustifyMode
160 func (x *WrapBox) GetJustify() JustifyMode {157 func (x *WrapBox) GetJustify() JustifyMode {
161 158
162 cret := xWrapBoxGetJustify(x.GoPointer())159 cret := xWrapBoxGetJustify(x.GoPointer())
163-
164 return cret160 return cret
165 }161 }
166 162
@@ -170,7 +166,6 @@ var xWrapBoxGetJustifyLastLine func(uintptr) bool
170 func (x *WrapBox) GetJustifyLastLine() bool {166 func (x *WrapBox) GetJustifyLastLine() bool {
171 167
172 cret := xWrapBoxGetJustifyLastLine(x.GoPointer())168 cret := xWrapBoxGetJustifyLastLine(x.GoPointer())
173-
174 return cret169 return cret
175 }170 }
176 171
@@ -180,7 +175,6 @@ var xWrapBoxGetLineHomogeneous func(uintptr) bool
180 func (x *WrapBox) GetLineHomogeneous() bool {175 func (x *WrapBox) GetLineHomogeneous() bool {
181 176
182 cret := xWrapBoxGetLineHomogeneous(x.GoPointer())177 cret := xWrapBoxGetLineHomogeneous(x.GoPointer())
183-
184 return cret178 return cret
185 }179 }
186 180
@@ -192,7 +186,6 @@ var xWrapBoxGetLineSpacing func(uintptr) int
192 func (x *WrapBox) GetLineSpacing() int {186 func (x *WrapBox) GetLineSpacing() int {
193 187
194 cret := xWrapBoxGetLineSpacing(x.GoPointer())188 cret := xWrapBoxGetLineSpacing(x.GoPointer())
195-
196 return cret189 return cret
197 }190 }
198 191
@@ -202,7 +195,6 @@ var xWrapBoxGetLineSpacingUnit func(uintptr) LengthUnit
202 func (x *WrapBox) GetLineSpacingUnit() LengthUnit {195 func (x *WrapBox) GetLineSpacingUnit() LengthUnit {
203 196
204 cret := xWrapBoxGetLineSpacingUnit(x.GoPointer())197 cret := xWrapBoxGetLineSpacingUnit(x.GoPointer())
205-
206 return cret198 return cret
207 }199 }
208 200
@@ -212,7 +204,6 @@ var xWrapBoxGetNaturalLineLength func(uintptr) int
212 func (x *WrapBox) GetNaturalLineLength() int {204 func (x *WrapBox) GetNaturalLineLength() int {
213 205
214 cret := xWrapBoxGetNaturalLineLength(x.GoPointer())206 cret := xWrapBoxGetNaturalLineLength(x.GoPointer())
215-
216 return cret207 return cret
217 }208 }
218 209
@@ -222,7 +213,6 @@ var xWrapBoxGetNaturalLineLengthUnit func(uintptr) LengthUnit
222 func (x *WrapBox) GetNaturalLineLengthUnit() LengthUnit {213 func (x *WrapBox) GetNaturalLineLengthUnit() LengthUnit {
223 214
224 cret := xWrapBoxGetNaturalLineLengthUnit(x.GoPointer())215 cret := xWrapBoxGetNaturalLineLengthUnit(x.GoPointer())
225-
226 return cret216 return cret
227 }217 }
228 218
@@ -232,7 +222,6 @@ var xWrapBoxGetPackDirection func(uintptr) PackDirection
232 func (x *WrapBox) GetPackDirection() PackDirection {222 func (x *WrapBox) GetPackDirection() PackDirection {
233 223
234 cret := xWrapBoxGetPackDirection(x.GoPointer())224 cret := xWrapBoxGetPackDirection(x.GoPointer())
235-
236 return cret225 return cret
237 }226 }
238 227
@@ -242,7 +231,6 @@ var xWrapBoxGetWrapPolicy func(uintptr) WrapPolicy
242 func (x *WrapBox) GetWrapPolicy() WrapPolicy {231 func (x *WrapBox) GetWrapPolicy() WrapPolicy {
243 232
244 cret := xWrapBoxGetWrapPolicy(x.GoPointer())233 cret := xWrapBoxGetWrapPolicy(x.GoPointer())
245-
246 return cret234 return cret
247 }235 }
248 236
@@ -252,7 +240,6 @@ var xWrapBoxGetWrapReverse func(uintptr) bool
252 func (x *WrapBox) GetWrapReverse() bool {240 func (x *WrapBox) GetWrapReverse() bool {
253 241
254 cret := xWrapBoxGetWrapReverse(x.GoPointer())242 cret := xWrapBoxGetWrapReverse(x.GoPointer())
255-
256 return cret243 return cret
257 }244 }
258 245
@@ -693,7 +680,6 @@ func (x *WrapBox) GetAccessibleParent() *gtk.AccessibleBase {
693 func (x *WrapBox) GetAccessibleRole() gtk.AccessibleRole {680 func (x *WrapBox) GetAccessibleRole() gtk.AccessibleRole {
694 681
695 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())682 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
696-
697 return cret683 return cret
698 }684 }
699 685
@@ -719,7 +705,6 @@ func (x *WrapBox) GetAtContext() *gtk.ATContext {
719 func (x *WrapBox) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {705 func (x *WrapBox) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
720 706
721 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)707 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
722-
723 return cret708 return cret
724 }709 }
725 710
@@ -759,7 +744,6 @@ func (x *WrapBox) GetNextAccessibleSibling() *gtk.AccessibleBase {
759 func (x *WrapBox) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {744 func (x *WrapBox) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
760 745
761 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)746 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
762-
763 return cret747 return cret
764 }748 }
765 749
@@ -936,7 +920,6 @@ func (x *WrapBox) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleSta
936 func (x *WrapBox) GetBuildableId() string {920 func (x *WrapBox) GetBuildableId() string {
937 921
938 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())922 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
939-
940 return cret923 return cret
941 }924 }
942 925
@@ -944,7 +927,6 @@ func (x *WrapBox) GetBuildableId() string {
944 func (x *WrapBox) GetOrientation() gtk.Orientation {927 func (x *WrapBox) GetOrientation() gtk.Orientation {
945 928
946 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())929 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
947-
948 return cret930 return cret
949 }931 }
950 932
M v4/adw/adw-wrap-layout.go +0 -14
@@ -181,7 +181,6 @@ 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-
185 return cret184 return cret
186 }185 }
187 186
@@ -191,7 +190,6 @@ var xWrapLayoutGetChildSpacing func(uintptr) int
191 func (x *WrapLayout) GetChildSpacing() int {190 func (x *WrapLayout) GetChildSpacing() int {
192 191
193 cret := xWrapLayoutGetChildSpacing(x.GoPointer())192 cret := xWrapLayoutGetChildSpacing(x.GoPointer())
194-
195 return cret193 return cret
196 }194 }
197 195
@@ -201,7 +199,6 @@ var xWrapLayoutGetChildSpacingUnit func(uintptr) LengthUnit
201 func (x *WrapLayout) GetChildSpacingUnit() LengthUnit {199 func (x *WrapLayout) GetChildSpacingUnit() LengthUnit {
202 200
203 cret := xWrapLayoutGetChildSpacingUnit(x.GoPointer())201 cret := xWrapLayoutGetChildSpacingUnit(x.GoPointer())
204-
205 return cret202 return cret
206 }203 }
207 204
@@ -211,7 +208,6 @@ var xWrapLayoutGetJustify func(uintptr) JustifyMode
211 func (x *WrapLayout) GetJustify() JustifyMode {208 func (x *WrapLayout) GetJustify() JustifyMode {
212 209
213 cret := xWrapLayoutGetJustify(x.GoPointer())210 cret := xWrapLayoutGetJustify(x.GoPointer())
214-
215 return cret211 return cret
216 }212 }
217 213
@@ -221,7 +217,6 @@ var xWrapLayoutGetJustifyLastLine func(uintptr) bool
221 func (x *WrapLayout) GetJustifyLastLine() bool {217 func (x *WrapLayout) GetJustifyLastLine() bool {
222 218
223 cret := xWrapLayoutGetJustifyLastLine(x.GoPointer())219 cret := xWrapLayoutGetJustifyLastLine(x.GoPointer())
224-
225 return cret220 return cret
226 }221 }
227 222
@@ -231,7 +226,6 @@ var xWrapLayoutGetLineHomogeneous func(uintptr) bool
231 func (x *WrapLayout) GetLineHomogeneous() bool {226 func (x *WrapLayout) GetLineHomogeneous() bool {
232 227
233 cret := xWrapLayoutGetLineHomogeneous(x.GoPointer())228 cret := xWrapLayoutGetLineHomogeneous(x.GoPointer())
234-
235 return cret229 return cret
236 }230 }
237 231
@@ -241,7 +235,6 @@ var xWrapLayoutGetLineSpacing func(uintptr) int
241 func (x *WrapLayout) GetLineSpacing() int {235 func (x *WrapLayout) GetLineSpacing() int {
242 236
243 cret := xWrapLayoutGetLineSpacing(x.GoPointer())237 cret := xWrapLayoutGetLineSpacing(x.GoPointer())
244-
245 return cret238 return cret
246 }239 }
247 240
@@ -251,7 +244,6 @@ var xWrapLayoutGetLineSpacingUnit func(uintptr) LengthUnit
251 func (x *WrapLayout) GetLineSpacingUnit() LengthUnit {244 func (x *WrapLayout) GetLineSpacingUnit() LengthUnit {
252 245
253 cret := xWrapLayoutGetLineSpacingUnit(x.GoPointer())246 cret := xWrapLayoutGetLineSpacingUnit(x.GoPointer())
254-
255 return cret247 return cret
256 }248 }
257 249
@@ -261,7 +253,6 @@ var xWrapLayoutGetNaturalLineLength func(uintptr) int
261 func (x *WrapLayout) GetNaturalLineLength() int {253 func (x *WrapLayout) GetNaturalLineLength() int {
262 254
263 cret := xWrapLayoutGetNaturalLineLength(x.GoPointer())255 cret := xWrapLayoutGetNaturalLineLength(x.GoPointer())
264-
265 return cret256 return cret
266 }257 }
267 258
@@ -271,7 +262,6 @@ var xWrapLayoutGetNaturalLineLengthUnit func(uintptr) LengthUnit
271 func (x *WrapLayout) GetNaturalLineLengthUnit() LengthUnit {262 func (x *WrapLayout) GetNaturalLineLengthUnit() LengthUnit {
272 263
273 cret := xWrapLayoutGetNaturalLineLengthUnit(x.GoPointer())264 cret := xWrapLayoutGetNaturalLineLengthUnit(x.GoPointer())
274-
275 return cret265 return cret
276 }266 }
277 267
@@ -281,7 +271,6 @@ var xWrapLayoutGetPackDirection func(uintptr) PackDirection
281 func (x *WrapLayout) GetPackDirection() PackDirection {271 func (x *WrapLayout) GetPackDirection() PackDirection {
282 272
283 cret := xWrapLayoutGetPackDirection(x.GoPointer())273 cret := xWrapLayoutGetPackDirection(x.GoPointer())
284-
285 return cret274 return cret
286 }275 }
287 276
@@ -291,7 +280,6 @@ var xWrapLayoutGetWrapPolicy func(uintptr) WrapPolicy
291 func (x *WrapLayout) GetWrapPolicy() WrapPolicy {280 func (x *WrapLayout) GetWrapPolicy() WrapPolicy {
292 281
293 cret := xWrapLayoutGetWrapPolicy(x.GoPointer())282 cret := xWrapLayoutGetWrapPolicy(x.GoPointer())
294-
295 return cret283 return cret
296 }284 }
297 285
@@ -301,7 +289,6 @@ var xWrapLayoutGetWrapReverse func(uintptr) bool
301 func (x *WrapLayout) GetWrapReverse() bool {289 func (x *WrapLayout) GetWrapReverse() bool {
302 290
303 cret := xWrapLayoutGetWrapReverse(x.GoPointer())291 cret := xWrapLayoutGetWrapReverse(x.GoPointer())
304-
305 return cret292 return cret
306 }293 }
307 294
@@ -661,7 +648,6 @@ func (x *WrapLayout) GetPropertyWrapReverse() bool {
661 func (x *WrapLayout) GetOrientation() gtk.Orientation {648 func (x *WrapLayout) GetOrientation() gtk.Orientation {
662 649
663 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())650 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
664-
665 return cret651 return cret
666 }652 }
667 653
M v4/gdk/gdkapplaunchcontext.go +2 -5
@@ -2,8 +2,6 @@
2 package gdk2 package gdk
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 "github.com/jwijenbergh/puregotk/v4/gio"7 "github.com/jwijenbergh/puregotk/v4/gio"
@@ -113,12 +111,11 @@ var xAppLaunchContextSetIconName func(uintptr, uintptr)
113 // for the launched application itself.111 // for the launched application itself.
114 func (x *AppLaunchContext) SetIconName(IconNameVar *string) {112 func (x *AppLaunchContext) SetIconName(IconNameVar *string) {
115 113
116- IconNameVarPtr, IconNameVarBytes := core.NullableStringToPtr(IconNameVar)114+ IconNameVarPtr := core.GStrdupNullable(IconNameVar)
115+ defer core.GFreeNullable(IconNameVarPtr)
117 116
118 xAppLaunchContextSetIconName(x.GoPointer(), IconNameVarPtr)117 xAppLaunchContextSetIconName(x.GoPointer(), IconNameVarPtr)
119 118
120- runtime.KeepAlive(IconNameVarBytes)
121-
122 }119 }
123 120
124 var xAppLaunchContextSetTimestamp func(uintptr, uint32)121 var xAppLaunchContextSetTimestamp func(uintptr, uint32)
M v4/gdk/gdkcairo.go +0 -1
@@ -62,7 +62,6 @@ 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-
66 return cret65 return cret
67 }66 }
68 67
M v4/gdk/gdkcairocontext.go +0 -1
@@ -42,7 +42,6 @@ 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-
46 return cret45 return cret
47 }46 }
48 47
M v4/gdk/gdkcicpparams.go +0 -5
@@ -107,7 +107,6 @@ 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-
111 if cerr == nil {110 if cerr == nil {
112 return cret, nil111 return cret, nil
113 }112 }
@@ -122,7 +121,6 @@ var xCicpParamsGetColorPrimaries func(uintptr) uint
122 func (x *CicpParams) GetColorPrimaries() uint {121 func (x *CicpParams) GetColorPrimaries() uint {
123 122
124 cret := xCicpParamsGetColorPrimaries(x.GoPointer())123 cret := xCicpParamsGetColorPrimaries(x.GoPointer())
125-
126 return cret124 return cret
127 }125 }
128 126
@@ -132,7 +130,6 @@ var xCicpParamsGetMatrixCoefficients func(uintptr) uint
132 func (x *CicpParams) GetMatrixCoefficients() uint {130 func (x *CicpParams) GetMatrixCoefficients() uint {
133 131
134 cret := xCicpParamsGetMatrixCoefficients(x.GoPointer())132 cret := xCicpParamsGetMatrixCoefficients(x.GoPointer())
135-
136 return cret133 return cret
137 }134 }
138 135
@@ -142,7 +139,6 @@ var xCicpParamsGetRange func(uintptr) CicpRange
142 func (x *CicpParams) GetRange() CicpRange {139 func (x *CicpParams) GetRange() CicpRange {
143 140
144 cret := xCicpParamsGetRange(x.GoPointer())141 cret := xCicpParamsGetRange(x.GoPointer())
145-
146 return cret142 return cret
147 }143 }
148 144
@@ -152,7 +148,6 @@ var xCicpParamsGetTransferFunction func(uintptr) uint
152 func (x *CicpParams) GetTransferFunction() uint {148 func (x *CicpParams) GetTransferFunction() uint {
153 149
154 cret := xCicpParamsGetTransferFunction(x.GoPointer())150 cret := xCicpParamsGetTransferFunction(x.GoPointer())
155-
156 return cret151 return cret
157 }152 }
158 153
M v4/gdk/gdkclipboard.go +0 -6
@@ -87,7 +87,6 @@ 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-
91 return cret90 return cret
92 }91 }
93 92
@@ -103,7 +102,6 @@ var xClipboardIsLocal func(uintptr) bool
103 func (x *Clipboard) IsLocal() bool {102 func (x *Clipboard) IsLocal() bool {
104 103
105 cret := xClipboardIsLocal(x.GoPointer())104 cret := xClipboardIsLocal(x.GoPointer())
106-
107 return cret105 return cret
108 }106 }
109 107
@@ -195,7 +193,6 @@ func (x *Clipboard) ReadTextFinish(ResultVar gio.AsyncResult) (string, error) {
195 var cerr *glib.Error193 var cerr *glib.Error
196 194
197 cret := xClipboardReadTextFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)195 cret := xClipboardReadTextFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
198-
199 if cerr == nil {196 if cerr == nil {
200 return cret, nil197 return cret, nil
201 }198 }
@@ -292,7 +289,6 @@ func (x *Clipboard) ReadValueFinish(ResultVar gio.AsyncResult) (*gobject.Value,
292 var cerr *glib.Error289 var cerr *glib.Error
293 290
294 cret := xClipboardReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)291 cret := xClipboardReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
295-
296 if cerr == nil {292 if cerr == nil {
297 return cret, nil293 return cret, nil
298 }294 }
@@ -336,7 +332,6 @@ var xClipboardSetContent func(uintptr, uintptr) bool
336 func (x *Clipboard) SetContent(ProviderVar *ContentProvider) bool {332 func (x *Clipboard) SetContent(ProviderVar *ContentProvider) bool {
337 333
338 cret := xClipboardSetContent(x.GoPointer(), ProviderVar.GoPointer())334 cret := xClipboardSetContent(x.GoPointer(), ProviderVar.GoPointer())
339-
340 return cret335 return cret
341 }336 }
342 337
@@ -420,7 +415,6 @@ func (x *Clipboard) StoreFinish(ResultVar gio.AsyncResult) (bool, error) {
420 var cerr *glib.Error415 var cerr *glib.Error
421 416
422 cret := xClipboardStoreFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)417 cret := xClipboardStoreFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
423-
424 if cerr == nil {418 if cerr == nil {
425 return cret, nil419 return cret, nil
426 }420 }
M v4/gdk/gdkcolorstate.go +0 -6
@@ -14,7 +14,6 @@ var xColorStateGetOklab func() *ColorState
14 func ColorStateGetOklab() *ColorState {14 func ColorStateGetOklab() *ColorState {
15 15
16 cret := xColorStateGetOklab()16 cret := xColorStateGetOklab()
17-
18 return cret17 return cret
19 }18 }
20 19
@@ -27,7 +26,6 @@ var xColorStateGetOklch func() *ColorState
27 func ColorStateGetOklch() *ColorState {26 func ColorStateGetOklch() *ColorState {
28 27
29 cret := xColorStateGetOklch()28 cret := xColorStateGetOklch()
30-
31 return cret29 return cret
32 }30 }
33 31
@@ -45,7 +43,6 @@ var xColorStateGetRec2100Linear func() *ColorState
45 func ColorStateGetRec2100Linear() *ColorState {43 func ColorStateGetRec2100Linear() *ColorState {
46 44
47 cret := xColorStateGetRec2100Linear()45 cret := xColorStateGetRec2100Linear()
48-
49 return cret46 return cret
50 }47 }
51 48
@@ -63,7 +60,6 @@ var xColorStateGetRec2100Pq func() *ColorState
63 func ColorStateGetRec2100Pq() *ColorState {60 func ColorStateGetRec2100Pq() *ColorState {
64 61
65 cret := xColorStateGetRec2100Pq()62 cret := xColorStateGetRec2100Pq()
66-
67 return cret63 return cret
68 }64 }
69 65
@@ -81,7 +77,6 @@ var xColorStateGetSrgb func() *ColorState
81 func ColorStateGetSrgb() *ColorState {77 func ColorStateGetSrgb() *ColorState {
82 78
83 cret := xColorStateGetSrgb()79 cret := xColorStateGetSrgb()
84-
85 return cret80 return cret
86 }81 }
87 82
@@ -98,7 +93,6 @@ var xColorStateGetSrgbLinear func() *ColorState
98 func ColorStateGetSrgbLinear() *ColorState {93 func ColorStateGetSrgbLinear() *ColorState {
99 94
100 cret := xColorStateGetSrgbLinear()95 cret := xColorStateGetSrgbLinear()
101-
102 return cret96 return cret
103 }97 }
104 98
M v4/gdk/gdkcontentdeserializer.go +0 -9
@@ -53,7 +53,6 @@ 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-
57 if cerr == nil {56 if cerr == nil {
58 return cret, nil57 return cret, nil
59 }58 }
@@ -155,7 +154,6 @@ var xContentDeserializerGetGtype func(uintptr) types.GType
155 func (x *ContentDeserializer) GetGtype() types.GType {154 func (x *ContentDeserializer) GetGtype() types.GType {
156 155
157 cret := xContentDeserializerGetGtype(x.GoPointer())156 cret := xContentDeserializerGetGtype(x.GoPointer())
158-
159 return cret157 return cret
160 }158 }
161 159
@@ -184,7 +182,6 @@ var xContentDeserializerGetMimeType func(uintptr) string
184 func (x *ContentDeserializer) GetMimeType() string {182 func (x *ContentDeserializer) GetMimeType() string {
185 183
186 cret := xContentDeserializerGetMimeType(x.GoPointer())184 cret := xContentDeserializerGetMimeType(x.GoPointer())
187-
188 return cret185 return cret
189 }186 }
190 187
@@ -196,7 +193,6 @@ var xContentDeserializerGetPriority func(uintptr) int
196 func (x *ContentDeserializer) GetPriority() int {193 func (x *ContentDeserializer) GetPriority() int {
197 194
198 cret := xContentDeserializerGetPriority(x.GoPointer())195 cret := xContentDeserializerGetPriority(x.GoPointer())
199-
200 return cret196 return cret
201 }197 }
202 198
@@ -208,7 +204,6 @@ var xContentDeserializerGetTaskData func(uintptr) uintptr
208 func (x *ContentDeserializer) GetTaskData() uintptr {204 func (x *ContentDeserializer) GetTaskData() uintptr {
209 205
210 cret := xContentDeserializerGetTaskData(x.GoPointer())206 cret := xContentDeserializerGetTaskData(x.GoPointer())
211-
212 return cret207 return cret
213 }208 }
214 209
@@ -218,7 +213,6 @@ var xContentDeserializerGetUserData func(uintptr) uintptr
218 func (x *ContentDeserializer) GetUserData() uintptr {213 func (x *ContentDeserializer) GetUserData() uintptr {
219 214
220 cret := xContentDeserializerGetUserData(x.GoPointer())215 cret := xContentDeserializerGetUserData(x.GoPointer())
221-
222 return cret216 return cret
223 }217 }
224 218
@@ -228,7 +222,6 @@ var xContentDeserializerGetValue func(uintptr) *gobject.Value
228 func (x *ContentDeserializer) GetValue() *gobject.Value {222 func (x *ContentDeserializer) GetValue() *gobject.Value {
229 223
230 cret := xContentDeserializerGetValue(x.GoPointer())224 cret := xContentDeserializerGetValue(x.GoPointer())
231-
232 return cret225 return cret
233 }226 }
234 227
@@ -306,7 +299,6 @@ func (x *ContentDeserializer) GetSourceObject() *gobject.Object {
306 func (x *ContentDeserializer) IsTagged(SourceTagVar uintptr) bool {299 func (x *ContentDeserializer) IsTagged(SourceTagVar uintptr) bool {
307 300
308 cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)301 cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
309-
310 return cret302 return cret
311 }303 }
312 304
@@ -324,7 +316,6 @@ func (x *ContentDeserializer) LegacyPropagateError() (bool, error) {
324 var cerr *glib.Error316 var cerr *glib.Error
325 317
326 cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer())318 cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer())
327-
328 if cerr == nil {319 if cerr == nil {
329 return cret, nil320 return cret, nil
330 }321 }
M v4/gdk/gdkcontentformats.go +0 -9
@@ -35,7 +35,6 @@ var xNewContentFormatsBuilder func() *ContentFormatsBuilder
35 func NewContentFormatsBuilder() *ContentFormatsBuilder {35 func NewContentFormatsBuilder() *ContentFormatsBuilder {
36 36
37 cret := xNewContentFormatsBuilder()37 cret := xNewContentFormatsBuilder()
38-
39 return cret38 return cret
40 }39 }
41 40
@@ -74,7 +73,6 @@ var xContentFormatsBuilderFreeToFormats func(uintptr) *ContentFormats
74 func (x *ContentFormatsBuilder) FreeToFormats() *ContentFormats {73 func (x *ContentFormatsBuilder) FreeToFormats() *ContentFormats {
75 74
76 cret := xContentFormatsBuilderFreeToFormats(x.GoPointer())75 cret := xContentFormatsBuilderFreeToFormats(x.GoPointer())
77-
78 return cret76 return cret
79 }77 }
80 78
@@ -87,7 +85,6 @@ var xContentFormatsBuilderRef func(uintptr) *ContentFormatsBuilder
87 func (x *ContentFormatsBuilder) Ref() *ContentFormatsBuilder {85 func (x *ContentFormatsBuilder) Ref() *ContentFormatsBuilder {
88 86
89 cret := xContentFormatsBuilderRef(x.GoPointer())87 cret := xContentFormatsBuilderRef(x.GoPointer())
90-
91 return cret88 return cret
92 }89 }
93 90
@@ -103,7 +100,6 @@ var xContentFormatsBuilderToFormats func(uintptr) *ContentFormats
103 func (x *ContentFormatsBuilder) ToFormats() *ContentFormats {100 func (x *ContentFormatsBuilder) ToFormats() *ContentFormats {
104 101
105 cret := xContentFormatsBuilderToFormats(x.GoPointer())102 cret := xContentFormatsBuilderToFormats(x.GoPointer())
106-
107 return cret103 return cret
108 }104 }
109 105
@@ -139,7 +135,6 @@ var xNewFileListFromArray func(uintptr, uint) *FileList
139 func NewFileListFromArray(FilesVar uintptr, NFilesVar uint) *FileList {135 func NewFileListFromArray(FilesVar uintptr, NFilesVar uint) *FileList {
140 136
141 cret := xNewFileListFromArray(FilesVar, NFilesVar)137 cret := xNewFileListFromArray(FilesVar, NFilesVar)
142-
143 return cret138 return cret
144 }139 }
145 140
@@ -152,7 +147,6 @@ var xNewFileListFromList func(*glib.SList) *FileList
152 func NewFileListFromList(FilesVar *glib.SList) *FileList {147 func NewFileListFromList(FilesVar *glib.SList) *FileList {
153 148
154 cret := xNewFileListFromList(FilesVar)149 cret := xNewFileListFromList(FilesVar)
155-
156 return cret150 return cret
157 }151 }
158 152
@@ -164,7 +158,6 @@ var xFileListGetFiles func(uintptr) *glib.SList
164 func (x *FileList) GetFiles() *glib.SList {158 func (x *FileList) GetFiles() *glib.SList {
165 159
166 cret := xFileListGetFiles(x.GoPointer())160 cret := xFileListGetFiles(x.GoPointer())
167-
168 return cret161 return cret
169 }162 }
170 163
@@ -181,7 +174,6 @@ var xContentFormatsParse func(string) *ContentFormats
181 func ContentFormatsParse(StringVar string) *ContentFormats {174 func ContentFormatsParse(StringVar string) *ContentFormats {
182 175
183 cret := xContentFormatsParse(StringVar)176 cret := xContentFormatsParse(StringVar)
184-
185 return cret177 return cret
186 }178 }
187 179
@@ -194,7 +186,6 @@ var xInternMimeType func(string) string
194 func InternMimeType(StringVar string) string {186 func InternMimeType(StringVar string) string {
195 187
196 cret := xInternMimeType(StringVar)188 cret := xInternMimeType(StringVar)
197-
198 return cret189 return cret
199 }190 }
200 191
M v4/gdk/gdkcontentprovider.go +0 -4
@@ -360,7 +360,6 @@ 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-
364 if cerr == nil {363 if cerr == nil {
365 return cret, nil364 return cret, nil
366 }365 }
@@ -374,7 +373,6 @@ var xContentProviderRefFormats func(uintptr) *ContentFormats
374 func (x *ContentProvider) RefFormats() *ContentFormats {373 func (x *ContentProvider) RefFormats() *ContentFormats {
375 374
376 cret := xContentProviderRefFormats(x.GoPointer())375 cret := xContentProviderRefFormats(x.GoPointer())
377-
378 return cret376 return cret
379 }377 }
380 378
@@ -389,7 +387,6 @@ var xContentProviderRefStorableFormats func(uintptr) *ContentFormats
389 func (x *ContentProvider) RefStorableFormats() *ContentFormats {387 func (x *ContentProvider) RefStorableFormats() *ContentFormats {
390 388
391 cret := xContentProviderRefStorableFormats(x.GoPointer())389 cret := xContentProviderRefStorableFormats(x.GoPointer())
392-
393 return cret390 return cret
394 }391 }
395 392
@@ -433,7 +430,6 @@ func (x *ContentProvider) WriteMimeTypeFinish(ResultVar gio.AsyncResult) (bool,
433 var cerr *glib.Error430 var cerr *glib.Error
434 431
435 cret := xContentProviderWriteMimeTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)432 cret := xContentProviderWriteMimeTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
436-
437 if cerr == nil {433 if cerr == nil {
438 return cret, nil434 return cret, nil
439 }435 }
M v4/gdk/gdkcontentserializer.go +0 -9
@@ -96,7 +96,6 @@ 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-
100 if cerr == nil {99 if cerr == nil {
101 return cret, nil100 return cret, nil
102 }101 }
@@ -156,7 +155,6 @@ var xContentSerializerGetGtype func(uintptr) types.GType
156 func (x *ContentSerializer) GetGtype() types.GType {155 func (x *ContentSerializer) GetGtype() types.GType {
157 156
158 cret := xContentSerializerGetGtype(x.GoPointer())157 cret := xContentSerializerGetGtype(x.GoPointer())
159-
160 return cret158 return cret
161 }159 }
162 160
@@ -166,7 +164,6 @@ var xContentSerializerGetMimeType func(uintptr) string
166 func (x *ContentSerializer) GetMimeType() string {164 func (x *ContentSerializer) GetMimeType() string {
167 165
168 cret := xContentSerializerGetMimeType(x.GoPointer())166 cret := xContentSerializerGetMimeType(x.GoPointer())
169-
170 return cret167 return cret
171 }168 }
172 169
@@ -197,7 +194,6 @@ var xContentSerializerGetPriority func(uintptr) int
197 func (x *ContentSerializer) GetPriority() int {194 func (x *ContentSerializer) GetPriority() int {
198 195
199 cret := xContentSerializerGetPriority(x.GoPointer())196 cret := xContentSerializerGetPriority(x.GoPointer())
200-
201 return cret197 return cret
202 }198 }
203 199
@@ -209,7 +205,6 @@ var xContentSerializerGetTaskData func(uintptr) uintptr
209 func (x *ContentSerializer) GetTaskData() uintptr {205 func (x *ContentSerializer) GetTaskData() uintptr {
210 206
211 cret := xContentSerializerGetTaskData(x.GoPointer())207 cret := xContentSerializerGetTaskData(x.GoPointer())
212-
213 return cret208 return cret
214 }209 }
215 210
@@ -219,7 +214,6 @@ var xContentSerializerGetUserData func(uintptr) uintptr
219 func (x *ContentSerializer) GetUserData() uintptr {214 func (x *ContentSerializer) GetUserData() uintptr {
220 215
221 cret := xContentSerializerGetUserData(x.GoPointer())216 cret := xContentSerializerGetUserData(x.GoPointer())
222-
223 return cret217 return cret
224 }218 }
225 219
@@ -229,7 +223,6 @@ var xContentSerializerGetValue func(uintptr) *gobject.Value
229 func (x *ContentSerializer) GetValue() *gobject.Value {223 func (x *ContentSerializer) GetValue() *gobject.Value {
230 224
231 cret := xContentSerializerGetValue(x.GoPointer())225 cret := xContentSerializerGetValue(x.GoPointer())
232-
233 return cret226 return cret
234 }227 }
235 228
@@ -307,7 +300,6 @@ func (x *ContentSerializer) GetSourceObject() *gobject.Object {
307 func (x *ContentSerializer) IsTagged(SourceTagVar uintptr) bool {300 func (x *ContentSerializer) IsTagged(SourceTagVar uintptr) bool {
308 301
309 cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)302 cret := gio.XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
310-
311 return cret303 return cret
312 }304 }
313 305
@@ -325,7 +317,6 @@ func (x *ContentSerializer) LegacyPropagateError() (bool, error) {
325 var cerr *glib.Error317 var cerr *glib.Error
326 318
327 cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer())319 cret := gio.XGAsyncResultLegacyPropagateError(x.GoPointer())
328-
329 if cerr == nil {320 if cerr == nil {
330 return cret, nil321 return cret, nil
331 }322 }
M v4/gdk/gdkcursor.go +0 -3
@@ -235,7 +235,6 @@ 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-
239 return cret238 return cret
240 }239 }
241 240
@@ -251,7 +250,6 @@ var xCursorGetHotspotY func(uintptr) int
251 func (x *Cursor) GetHotspotY() int {250 func (x *Cursor) GetHotspotY() int {
252 251
253 cret := xCursorGetHotspotY(x.GoPointer())252 cret := xCursorGetHotspotY(x.GoPointer())
254-
255 return cret253 return cret
256 }254 }
257 255
@@ -263,7 +261,6 @@ var xCursorGetName func(uintptr) string
263 func (x *Cursor) GetName() string {261 func (x *Cursor) GetName() string {
264 262
265 cret := xCursorGetName(x.GoPointer())263 cret := xCursorGetName(x.GoPointer())
266-
267 return cret264 return cret
268 }265 }
269 266
M v4/gdk/gdkdevice.go +0 -15
@@ -95,7 +95,6 @@ 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-
99 return cret98 return cret
100 }99 }
101 100
@@ -107,7 +106,6 @@ var xDeviceGetCapsLockState func(uintptr) bool
107 func (x *Device) GetCapsLockState() bool {106 func (x *Device) GetCapsLockState() bool {
108 107
109 cret := xDeviceGetCapsLockState(x.GoPointer())108 cret := xDeviceGetCapsLockState(x.GoPointer())
110-
111 return cret109 return cret
112 }110 }
113 111
@@ -139,7 +137,6 @@ var xDeviceGetDirection func(uintptr) pango.Direction
139 func (x *Device) GetDirection() pango.Direction {137 func (x *Device) GetDirection() pango.Direction {
140 138
141 cret := xDeviceGetDirection(x.GoPointer())139 cret := xDeviceGetDirection(x.GoPointer())
142-
143 return cret140 return cret
144 }141 }
145 142
@@ -169,7 +166,6 @@ var xDeviceGetHasCursor func(uintptr) bool
169 func (x *Device) GetHasCursor() bool {166 func (x *Device) GetHasCursor() bool {
170 167
171 cret := xDeviceGetHasCursor(x.GoPointer())168 cret := xDeviceGetHasCursor(x.GoPointer())
172-
173 return cret169 return cret
174 }170 }
175 171
@@ -181,7 +177,6 @@ var xDeviceGetLayoutNames func(uintptr) []string
181 func (x *Device) GetLayoutNames() []string {177 func (x *Device) GetLayoutNames() []string {
182 178
183 cret := xDeviceGetLayoutNames(x.GoPointer())179 cret := xDeviceGetLayoutNames(x.GoPointer())
184-
185 return cret180 return cret
186 }181 }
187 182
@@ -193,7 +188,6 @@ var xDeviceGetModifierState func(uintptr) ModifierType
193 func (x *Device) GetModifierState() ModifierType {188 func (x *Device) GetModifierState() ModifierType {
194 189
195 cret := xDeviceGetModifierState(x.GoPointer())190 cret := xDeviceGetModifierState(x.GoPointer())
196-
197 return cret191 return cret
198 }192 }
199 193
@@ -203,7 +197,6 @@ var xDeviceGetName func(uintptr) string
203 func (x *Device) GetName() string {197 func (x *Device) GetName() string {
204 198
205 cret := xDeviceGetName(x.GoPointer())199 cret := xDeviceGetName(x.GoPointer())
206-
207 return cret200 return cret
208 }201 }
209 202
@@ -215,7 +208,6 @@ var xDeviceGetNumLockState func(uintptr) bool
215 func (x *Device) GetNumLockState() bool {208 func (x *Device) GetNumLockState() bool {
216 209
217 cret := xDeviceGetNumLockState(x.GoPointer())210 cret := xDeviceGetNumLockState(x.GoPointer())
218-
219 return cret211 return cret
220 }212 }
221 213
@@ -225,7 +217,6 @@ var xDeviceGetNumTouches func(uintptr) uint
225 func (x *Device) GetNumTouches() uint {217 func (x *Device) GetNumTouches() uint {
226 218
227 cret := xDeviceGetNumTouches(x.GoPointer())219 cret := xDeviceGetNumTouches(x.GoPointer())
228-
229 return cret220 return cret
230 }221 }
231 222
@@ -238,7 +229,6 @@ var xDeviceGetProductId func(uintptr) string
238 func (x *Device) GetProductId() string {229 func (x *Device) GetProductId() string {
239 230
240 cret := xDeviceGetProductId(x.GoPointer())231 cret := xDeviceGetProductId(x.GoPointer())
241-
242 return cret232 return cret
243 }233 }
244 234
@@ -250,7 +240,6 @@ var xDeviceGetScrollLockState func(uintptr) bool
250 func (x *Device) GetScrollLockState() bool {240 func (x *Device) GetScrollLockState() bool {
251 241
252 cret := xDeviceGetScrollLockState(x.GoPointer())242 cret := xDeviceGetScrollLockState(x.GoPointer())
253-
254 return cret243 return cret
255 }244 }
256 245
@@ -277,7 +266,6 @@ var xDeviceGetSource func(uintptr) InputSource
277 func (x *Device) GetSource() InputSource {266 func (x *Device) GetSource() InputSource {
278 267
279 cret := xDeviceGetSource(x.GoPointer())268 cret := xDeviceGetSource(x.GoPointer())
280-
281 return cret269 return cret
282 }270 }
283 271
@@ -313,7 +301,6 @@ var xDeviceGetTimestamp func(uintptr) uint32
313 func (x *Device) GetTimestamp() uint32 {301 func (x *Device) GetTimestamp() uint32 {
314 302
315 cret := xDeviceGetTimestamp(x.GoPointer())303 cret := xDeviceGetTimestamp(x.GoPointer())
316-
317 return cret304 return cret
318 }305 }
319 306
@@ -351,7 +338,6 @@ var xDeviceGetVendorId func(uintptr) string
351 func (x *Device) GetVendorId() string {338 func (x *Device) GetVendorId() string {
352 339
353 cret := xDeviceGetVendorId(x.GoPointer())340 cret := xDeviceGetVendorId(x.GoPointer())
354-
355 return cret341 return cret
356 }342 }
357 343
@@ -364,7 +350,6 @@ var xDeviceHasBidiLayouts func(uintptr) bool
364 func (x *Device) HasBidiLayouts() bool {350 func (x *Device) HasBidiLayouts() bool {
365 351
366 cret := xDeviceHasBidiLayouts(x.GoPointer())352 cret := xDeviceHasBidiLayouts(x.GoPointer())
367-
368 return cret353 return cret
369 }354 }
370 355
M v4/gdk/gdkdevicepad.go +0 -4
@@ -70,7 +70,6 @@ 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-
74 return cret73 return cret
75 }74 }
76 75
@@ -78,7 +77,6 @@ func (x *DevicePadBase) GetFeatureGroup(FeatureVar DevicePadFeature, FeatureIdxV
78 func (x *DevicePadBase) GetGroupNModes(GroupIdxVar int) int {77 func (x *DevicePadBase) GetGroupNModes(GroupIdxVar int) int {
79 78
80 cret := XGdkDevicePadGetGroupNModes(x.GoPointer(), GroupIdxVar)79 cret := XGdkDevicePadGetGroupNModes(x.GoPointer(), GroupIdxVar)
81-
82 return cret80 return cret
83 }81 }
84 82
@@ -86,7 +84,6 @@ func (x *DevicePadBase) GetGroupNModes(GroupIdxVar int) int {
86 func (x *DevicePadBase) GetNFeatures(FeatureVar DevicePadFeature) int {84 func (x *DevicePadBase) GetNFeatures(FeatureVar DevicePadFeature) int {
87 85
88 cret := XGdkDevicePadGetNFeatures(x.GoPointer(), FeatureVar)86 cret := XGdkDevicePadGetNFeatures(x.GoPointer(), FeatureVar)
89-
90 return cret87 return cret
91 }88 }
92 89
@@ -98,7 +95,6 @@ func (x *DevicePadBase) GetNFeatures(FeatureVar DevicePadFeature) int {
98 func (x *DevicePadBase) GetNGroups() int {95 func (x *DevicePadBase) GetNGroups() int {
99 96
100 cret := XGdkDevicePadGetNGroups(x.GoPointer())97 cret := XGdkDevicePadGetNGroups(x.GoPointer())
101-
102 return cret98 return cret
103 }99 }
104 100
M v4/gdk/gdkdevicetool.go +0 -4
@@ -61,7 +61,6 @@ 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-
65 return cret64 return cret
66 }65 }
67 66
@@ -81,7 +80,6 @@ var xDeviceToolGetHardwareId func(uintptr) uint64
81 func (x *DeviceTool) GetHardwareId() uint64 {80 func (x *DeviceTool) GetHardwareId() uint64 {
82 81
83 cret := xDeviceToolGetHardwareId(x.GoPointer())82 cret := xDeviceToolGetHardwareId(x.GoPointer())
84-
85 return cret83 return cret
86 }84 }
87 85
@@ -94,7 +92,6 @@ var xDeviceToolGetSerial func(uintptr) uint64
94 func (x *DeviceTool) GetSerial() uint64 {92 func (x *DeviceTool) GetSerial() uint64 {
95 93
96 cret := xDeviceToolGetSerial(x.GoPointer())94 cret := xDeviceToolGetSerial(x.GoPointer())
97-
98 return cret95 return cret
99 }96 }
100 97
@@ -104,7 +101,6 @@ var xDeviceToolGetToolType func(uintptr) DeviceToolType
104 func (x *DeviceTool) GetToolType() DeviceToolType {101 func (x *DeviceTool) GetToolType() DeviceToolType {
105 102
106 cret := xDeviceToolGetToolType(x.GoPointer())103 cret := xDeviceToolGetToolType(x.GoPointer())
107-
108 return cret104 return cret
109 }105 }
110 106
M v4/gdk/gdkdisplay.go +2 -19
@@ -2,7 +2,6 @@
2 package gdk2 package gdk
3 3
4 import (4 import (
5- "runtime"
6 "unsafe"5 "unsafe"
7 6
8 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
@@ -98,7 +97,6 @@ var xDisplayDeviceIsGrabbed func(uintptr, uintptr) bool
98 func (x *Display) DeviceIsGrabbed(DeviceVar *Device) bool {97 func (x *Display) DeviceIsGrabbed(DeviceVar *Device) bool {
99 98
100 cret := xDisplayDeviceIsGrabbed(x.GoPointer(), DeviceVar.GoPointer())99 cret := xDisplayDeviceIsGrabbed(x.GoPointer(), DeviceVar.GoPointer())
101-
102 return cret100 return cret
103 }101 }
104 102
@@ -190,7 +188,6 @@ var xDisplayGetDmabufFormats func(uintptr) *DmabufFormats
190 func (x *Display) GetDmabufFormats() *DmabufFormats {188 func (x *Display) GetDmabufFormats() *DmabufFormats {
191 189
192 cret := xDisplayGetDmabufFormats(x.GoPointer())190 cret := xDisplayGetDmabufFormats(x.GoPointer())
193-
194 return cret191 return cret
195 }192 }
196 193
@@ -241,7 +238,6 @@ var xDisplayGetName func(uintptr) string
241 func (x *Display) GetName() string {238 func (x *Display) GetName() string {
242 239
243 cret := xDisplayGetName(x.GoPointer())240 cret := xDisplayGetName(x.GoPointer())
244-
245 return cret241 return cret
246 }242 }
247 243
@@ -272,7 +268,6 @@ var xDisplayGetSetting func(uintptr, string, *gobject.Value) bool
272 func (x *Display) GetSetting(NameVar string, ValueVar *gobject.Value) bool {268 func (x *Display) GetSetting(NameVar string, ValueVar *gobject.Value) bool {
273 269
274 cret := xDisplayGetSetting(x.GoPointer(), NameVar, ValueVar)270 cret := xDisplayGetSetting(x.GoPointer(), NameVar, ValueVar)
275-
276 return cret271 return cret
277 }272 }
278 273
@@ -283,7 +278,6 @@ var xDisplayGetStartupNotificationId func(uintptr) string
283 func (x *Display) GetStartupNotificationId() string {278 func (x *Display) GetStartupNotificationId() string {
284 279
285 cret := xDisplayGetStartupNotificationId(x.GoPointer())280 cret := xDisplayGetStartupNotificationId(x.GoPointer())
286-
287 return cret281 return cret
288 }282 }
289 283
@@ -293,7 +287,6 @@ var xDisplayIsClosed func(uintptr) bool
293 func (x *Display) IsClosed() bool {287 func (x *Display) IsClosed() bool {
294 288
295 cret := xDisplayIsClosed(x.GoPointer())289 cret := xDisplayIsClosed(x.GoPointer())
296-
297 return cret290 return cret
298 }291 }
299 292
@@ -312,7 +305,6 @@ var xDisplayIsComposited func(uintptr) bool
312 func (x *Display) IsComposited() bool {305 func (x *Display) IsComposited() bool {
313 306
314 cret := xDisplayIsComposited(x.GoPointer())307 cret := xDisplayIsComposited(x.GoPointer())
315-
316 return cret308 return cret
317 }309 }
318 310
@@ -332,7 +324,6 @@ var xDisplayIsRgba func(uintptr) bool
332 func (x *Display) IsRgba() bool {324 func (x *Display) IsRgba() bool {
333 325
334 cret := xDisplayIsRgba(x.GoPointer())326 cret := xDisplayIsRgba(x.GoPointer())
335-
336 return cret327 return cret
337 }328 }
338 329
@@ -342,7 +333,6 @@ var xDisplayListSeats func(uintptr) *glib.List
342 func (x *Display) ListSeats() *glib.List {333 func (x *Display) ListSeats() *glib.List {
343 334
344 cret := xDisplayListSeats(x.GoPointer())335 cret := xDisplayListSeats(x.GoPointer())
345-
346 return cret336 return cret
347 }337 }
348 338
@@ -360,7 +350,6 @@ var xDisplayMapKeycode func(uintptr, uint, *uintptr, *[]uint, *int) bool
360 func (x *Display) MapKeycode(KeycodeVar uint, KeysVar *uintptr, KeyvalsVar *[]uint, NEntriesVar *int) bool {350 func (x *Display) MapKeycode(KeycodeVar uint, KeysVar *uintptr, KeyvalsVar *[]uint, NEntriesVar *int) bool {
361 351
362 cret := xDisplayMapKeycode(x.GoPointer(), KeycodeVar, KeysVar, KeyvalsVar, NEntriesVar)352 cret := xDisplayMapKeycode(x.GoPointer(), KeycodeVar, KeysVar, KeyvalsVar, NEntriesVar)
363-
364 return cret353 return cret
365 }354 }
366 355
@@ -384,7 +373,6 @@ var xDisplayMapKeyval func(uintptr, uint, *uintptr, *int) bool
384 func (x *Display) MapKeyval(KeyvalVar uint, KeysVar *uintptr, NKeysVar *int) bool {373 func (x *Display) MapKeyval(KeyvalVar uint, KeysVar *uintptr, NKeysVar *int) bool {
385 374
386 cret := xDisplayMapKeyval(x.GoPointer(), KeyvalVar, KeysVar, NKeysVar)375 cret := xDisplayMapKeyval(x.GoPointer(), KeyvalVar, KeysVar, NKeysVar)
387-
388 return cret376 return cret
389 }377 }
390 378
@@ -423,7 +411,6 @@ func (x *Display) PrepareGl() (bool, error) {
423 var cerr *glib.Error411 var cerr *glib.Error
424 412
425 cret := xDisplayPrepareGl(x.GoPointer())413 cret := xDisplayPrepareGl(x.GoPointer())
426-
427 if cerr == nil {414 if cerr == nil {
428 return cret, nil415 return cret, nil
429 }416 }
@@ -451,7 +438,6 @@ var xDisplaySupportsInputShapes func(uintptr) bool
451 func (x *Display) SupportsInputShapes() bool {438 func (x *Display) SupportsInputShapes() bool {
452 439
453 cret := xDisplaySupportsInputShapes(x.GoPointer())440 cret := xDisplaySupportsInputShapes(x.GoPointer())
454-
455 return cret441 return cret
456 }442 }
457 443
@@ -464,7 +450,6 @@ var xDisplaySupportsShadowWidth func(uintptr) bool
464 func (x *Display) SupportsShadowWidth() bool {450 func (x *Display) SupportsShadowWidth() bool {
465 451
466 cret := xDisplaySupportsShadowWidth(x.GoPointer())452 cret := xDisplaySupportsShadowWidth(x.GoPointer())
467-
468 return cret453 return cret
469 }454 }
470 455
@@ -510,7 +495,6 @@ var xDisplayTranslateKey func(uintptr, uint, ModifierType, int, *uint, *int, *in
510 func (x *Display) TranslateKey(KeycodeVar uint, StateVar ModifierType, GroupVar int, KeyvalVar *uint, EffectiveGroupVar *int, LevelVar *int, ConsumedVar *ModifierType) bool {495 func (x *Display) TranslateKey(KeycodeVar uint, StateVar ModifierType, GroupVar int, KeyvalVar *uint, EffectiveGroupVar *int, LevelVar *int, ConsumedVar *ModifierType) bool {
511 496
512 cret := xDisplayTranslateKey(x.GoPointer(), KeycodeVar, StateVar, GroupVar, KeyvalVar, EffectiveGroupVar, LevelVar, ConsumedVar)497 cret := xDisplayTranslateKey(x.GoPointer(), KeycodeVar, StateVar, GroupVar, KeyvalVar, EffectiveGroupVar, LevelVar, ConsumedVar)
513-
514 return cret498 return cret
515 }499 }
516 500
@@ -714,12 +698,11 @@ var xDisplayOpen func(uintptr) uintptr
714 func DisplayOpen(DisplayNameVar *string) *Display {698 func DisplayOpen(DisplayNameVar *string) *Display {
715 var cls *Display699 var cls *Display
716 700
717- DisplayNameVarPtr, DisplayNameVarBytes := core.NullableStringToPtr(DisplayNameVar)701+ DisplayNameVarPtr := core.GStrdupNullable(DisplayNameVar)
702+ defer core.GFreeNullable(DisplayNameVarPtr)
718 703
719 cret := xDisplayOpen(DisplayNameVarPtr)704 cret := xDisplayOpen(DisplayNameVarPtr)
720 705
721- runtime.KeepAlive(DisplayNameVarBytes)
722-
723 if cret == 0 {706 if cret == 0 {
724 return nil707 return nil
725 }708 }
M v4/gdk/gdkdisplaymanager.go +2 -5
@@ -2,7 +2,6 @@
2 package gdk2 package gdk
3 3
4 import (4 import (
5- "runtime"
6 "unsafe"5 "unsafe"
7 6
8 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
@@ -141,7 +140,6 @@ var xDisplayManagerListDisplays func(uintptr) *glib.SList
141 func (x *DisplayManager) ListDisplays() *glib.SList {140 func (x *DisplayManager) ListDisplays() *glib.SList {
142 141
143 cret := xDisplayManagerListDisplays(x.GoPointer())142 cret := xDisplayManagerListDisplays(x.GoPointer())
144-
145 return cret143 return cret
146 }144 }
147 145
@@ -151,12 +149,11 @@ var xDisplayManagerOpenDisplay func(uintptr, uintptr) uintptr
151 func (x *DisplayManager) OpenDisplay(NameVar *string) *Display {149 func (x *DisplayManager) OpenDisplay(NameVar *string) *Display {
152 var cls *Display150 var cls *Display
153 151
154- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)152+ NameVarPtr := core.GStrdupNullable(NameVar)
153+ defer core.GFreeNullable(NameVarPtr)
155 154
156 cret := xDisplayManagerOpenDisplay(x.GoPointer(), NameVarPtr)155 cret := xDisplayManagerOpenDisplay(x.GoPointer(), NameVarPtr)
157 156
158- runtime.KeepAlive(NameVarBytes)
159-
160 if cret == 0 {157 if cret == 0 {
161 return nil158 return nil
162 }159 }
M v4/gdk/gdkdmabuftexture.go +0 -9
@@ -26,7 +26,6 @@ var xDmabufErrorQuark func() glib.Quark
26 func DmabufErrorQuark() glib.Quark {26 func DmabufErrorQuark() glib.Quark {
27 27
28 cret := xDmabufErrorQuark()28 cret := xDmabufErrorQuark()
29-
30 return cret29 return cret
31 }30 }
32 31
@@ -106,7 +105,6 @@ func (x *DmabufTexture) GetCurrentImage() *PaintableBase {
106 func (x *DmabufTexture) GetFlags() PaintableFlags {105 func (x *DmabufTexture) GetFlags() PaintableFlags {
107 106
108 cret := XGdkPaintableGetFlags(x.GoPointer())107 cret := XGdkPaintableGetFlags(x.GoPointer())
109-
110 return cret108 return cret
111 }109 }
112 110
@@ -130,7 +128,6 @@ func (x *DmabufTexture) GetFlags() PaintableFlags {
130 func (x *DmabufTexture) GetIntrinsicAspectRatio() float64 {128 func (x *DmabufTexture) GetIntrinsicAspectRatio() float64 {
131 129
132 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())130 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
133-
134 return cret131 return cret
135 }132 }
136 133
@@ -147,7 +144,6 @@ func (x *DmabufTexture) GetIntrinsicAspectRatio() float64 {
147 func (x *DmabufTexture) GetIntrinsicHeight() int {144 func (x *DmabufTexture) GetIntrinsicHeight() int {
148 145
149 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())146 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
150-
151 return cret147 return cret
152 }148 }
153 149
@@ -164,7 +160,6 @@ func (x *DmabufTexture) GetIntrinsicHeight() int {
164 func (x *DmabufTexture) GetIntrinsicWidth() int {160 func (x *DmabufTexture) GetIntrinsicWidth() int {
165 161
166 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())162 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
167-
168 return cret163 return cret
169 }164 }
170 165
@@ -215,7 +210,6 @@ func (x *DmabufTexture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, Height
215 func (x *DmabufTexture) Equal(Icon2Var gio.Icon) bool {210 func (x *DmabufTexture) Equal(Icon2Var gio.Icon) bool {
216 211
217 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())212 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
218-
219 return cret213 return cret
220 }214 }
221 215
@@ -223,7 +217,6 @@ func (x *DmabufTexture) Equal(Icon2Var gio.Icon) bool {
223 func (x *DmabufTexture) Hash() uint {217 func (x *DmabufTexture) Hash() uint {
224 218
225 cret := gio.XGIconHash(x.GoPointer())219 cret := gio.XGIconHash(x.GoPointer())
226-
227 return cret220 return cret
228 }221 }
229 222
@@ -235,7 +228,6 @@ func (x *DmabufTexture) Hash() uint {
235 func (x *DmabufTexture) Serialize() *glib.Variant {228 func (x *DmabufTexture) Serialize() *glib.Variant {
236 229
237 cret := gio.XGIconSerialize(x.GoPointer())230 cret := gio.XGIconSerialize(x.GoPointer())
238-
239 return cret231 return cret
240 }232 }
241 233
@@ -258,7 +250,6 @@ func (x *DmabufTexture) Serialize() *glib.Variant {
258 func (x *DmabufTexture) ToString() string {250 func (x *DmabufTexture) ToString() string {
259 251
260 cret := gio.XGIconToString(x.GoPointer())252 cret := gio.XGIconToString(x.GoPointer())
261-
262 return cret253 return cret
263 }254 }
264 255
M v4/gdk/gdkdmabuftexturebuilder.go +0 -11
@@ -166,7 +166,6 @@ 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-
170 return cret169 return cret
171 }170 }
172 171
@@ -194,7 +193,6 @@ var xDmabufTextureBuilderGetFd func(uintptr, uint) int
194 func (x *DmabufTextureBuilder) GetFd(PlaneVar uint) int {193 func (x *DmabufTextureBuilder) GetFd(PlaneVar uint) int {
195 194
196 cret := xDmabufTextureBuilderGetFd(x.GoPointer(), PlaneVar)195 cret := xDmabufTextureBuilderGetFd(x.GoPointer(), PlaneVar)
197-
198 return cret196 return cret
199 }197 }
200 198
@@ -207,7 +205,6 @@ var xDmabufTextureBuilderGetFourcc func(uintptr) uint32
207 func (x *DmabufTextureBuilder) GetFourcc() uint32 {205 func (x *DmabufTextureBuilder) GetFourcc() uint32 {
208 206
209 cret := xDmabufTextureBuilderGetFourcc(x.GoPointer())207 cret := xDmabufTextureBuilderGetFourcc(x.GoPointer())
210-
211 return cret208 return cret
212 }209 }
213 210
@@ -218,7 +215,6 @@ var xDmabufTextureBuilderGetHeight func(uintptr) uint
218 func (x *DmabufTextureBuilder) GetHeight() uint {215 func (x *DmabufTextureBuilder) GetHeight() uint {
219 216
220 cret := xDmabufTextureBuilderGetHeight(x.GoPointer())217 cret := xDmabufTextureBuilderGetHeight(x.GoPointer())
221-
222 return cret218 return cret
223 }219 }
224 220
@@ -228,7 +224,6 @@ var xDmabufTextureBuilderGetModifier func(uintptr) uint64
228 func (x *DmabufTextureBuilder) GetModifier() uint64 {224 func (x *DmabufTextureBuilder) GetModifier() uint64 {
229 225
230 cret := xDmabufTextureBuilderGetModifier(x.GoPointer())226 cret := xDmabufTextureBuilderGetModifier(x.GoPointer())
231-
232 return cret227 return cret
233 }228 }
234 229
@@ -238,7 +233,6 @@ var xDmabufTextureBuilderGetNPlanes func(uintptr) uint
238 func (x *DmabufTextureBuilder) GetNPlanes() uint {233 func (x *DmabufTextureBuilder) GetNPlanes() uint {
239 234
240 cret := xDmabufTextureBuilderGetNPlanes(x.GoPointer())235 cret := xDmabufTextureBuilderGetNPlanes(x.GoPointer())
241-
242 return cret236 return cret
243 }237 }
244 238
@@ -248,7 +242,6 @@ var xDmabufTextureBuilderGetOffset func(uintptr, uint) uint
248 func (x *DmabufTextureBuilder) GetOffset(PlaneVar uint) uint {242 func (x *DmabufTextureBuilder) GetOffset(PlaneVar uint) uint {
249 243
250 cret := xDmabufTextureBuilderGetOffset(x.GoPointer(), PlaneVar)244 cret := xDmabufTextureBuilderGetOffset(x.GoPointer(), PlaneVar)
251-
252 return cret245 return cret
253 }246 }
254 247
@@ -258,7 +251,6 @@ var xDmabufTextureBuilderGetPremultiplied func(uintptr) bool
258 func (x *DmabufTextureBuilder) GetPremultiplied() bool {251 func (x *DmabufTextureBuilder) GetPremultiplied() bool {
259 252
260 cret := xDmabufTextureBuilderGetPremultiplied(x.GoPointer())253 cret := xDmabufTextureBuilderGetPremultiplied(x.GoPointer())
261-
262 return cret254 return cret
263 }255 }
264 256
@@ -268,7 +260,6 @@ var xDmabufTextureBuilderGetStride func(uintptr, uint) uint
268 func (x *DmabufTextureBuilder) GetStride(PlaneVar uint) uint {260 func (x *DmabufTextureBuilder) GetStride(PlaneVar uint) uint {
269 261
270 cret := xDmabufTextureBuilderGetStride(x.GoPointer(), PlaneVar)262 cret := xDmabufTextureBuilderGetStride(x.GoPointer(), PlaneVar)
271-
272 return cret263 return cret
273 }264 }
274 265
@@ -279,7 +270,6 @@ var xDmabufTextureBuilderGetUpdateRegion func(uintptr) *cairo.Region
279 func (x *DmabufTextureBuilder) GetUpdateRegion() *cairo.Region {270 func (x *DmabufTextureBuilder) GetUpdateRegion() *cairo.Region {
280 271
281 cret := xDmabufTextureBuilderGetUpdateRegion(x.GoPointer())272 cret := xDmabufTextureBuilderGetUpdateRegion(x.GoPointer())
282-
283 return cret273 return cret
284 }274 }
285 275
@@ -308,7 +298,6 @@ var xDmabufTextureBuilderGetWidth func(uintptr) uint
308 func (x *DmabufTextureBuilder) GetWidth() uint {298 func (x *DmabufTextureBuilder) GetWidth() uint {
309 299
310 cret := xDmabufTextureBuilderGetWidth(x.GoPointer())300 cret := xDmabufTextureBuilderGetWidth(x.GoPointer())
311-
312 return cret301 return cret
313 }302 }
314 303
M v4/gdk/gdkdrag.go +0 -4
@@ -40,7 +40,6 @@ 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-
44 return cret43 return cret
45 }44 }
46 45
@@ -95,7 +94,6 @@ var xDragGetActions func(uintptr) DragAction
95 func (x *Drag) GetActions() DragAction {94 func (x *Drag) GetActions() DragAction {
96 95
97 cret := xDragGetActions(x.GoPointer())96 cret := xDragGetActions(x.GoPointer())
98-
99 return cret97 return cret
100 }98 }
101 99
@@ -179,7 +177,6 @@ var xDragGetFormats func(uintptr) *ContentFormats
179 func (x *Drag) GetFormats() *ContentFormats {177 func (x *Drag) GetFormats() *ContentFormats {
180 178
181 cret := xDragGetFormats(x.GoPointer())179 cret := xDragGetFormats(x.GoPointer())
182-
183 return cret180 return cret
184 }181 }
185 182
@@ -189,7 +186,6 @@ var xDragGetSelectedAction func(uintptr) DragAction
189 func (x *Drag) GetSelectedAction() DragAction {186 func (x *Drag) GetSelectedAction() DragAction {
190 187
191 cret := xDragGetSelectedAction(x.GoPointer())188 cret := xDragGetSelectedAction(x.GoPointer())
192-
193 return cret189 return cret
194 }190 }
195 191
M v4/gdk/gdkdragsurface.go +0 -1
@@ -51,7 +51,6 @@ 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-
55 return cret54 return cret
56 }55 }
57 56
M v4/gdk/gdkdrawcontext.go +0 -2
@@ -112,7 +112,6 @@ 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-
116 return cret115 return cret
117 }116 }
118 117
@@ -143,7 +142,6 @@ var xDrawContextIsInFrame func(uintptr) bool
143 func (x *DrawContext) IsInFrame() bool {142 func (x *DrawContext) IsInFrame() bool {
144 143
145 cret := xDrawContextIsInFrame(x.GoPointer())144 cret := xDrawContextIsInFrame(x.GoPointer())
146-
147 return cret145 return cret
148 }146 }
149 147
M v4/gdk/gdkdrop.go +0 -3
@@ -73,7 +73,6 @@ 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-
77 return cret76 return cret
78 }77 }
79 78
@@ -138,7 +137,6 @@ var xDropGetFormats func(uintptr) *ContentFormats
138 func (x *Drop) GetFormats() *ContentFormats {137 func (x *Drop) GetFormats() *ContentFormats {
139 138
140 cret := xDropGetFormats(x.GoPointer())139 cret := xDropGetFormats(x.GoPointer())
141-
142 return cret140 return cret
143 }141 }
144 142
@@ -250,7 +248,6 @@ func (x *Drop) ReadValueFinish(ResultVar gio.AsyncResult) (*gobject.Value, error
250 var cerr *glib.Error248 var cerr *glib.Error
251 249
252 cret := xDropReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)250 cret := xDropReadValueFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
253-
254 if cerr == nil {251 if cerr == nil {
255 return cret, nil252 return cret, nil
256 }253 }
M v4/gdk/gdkevents.go +0 -40
@@ -332,7 +332,6 @@ 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-
336 return cret335 return cret
337 }336 }
338 337
@@ -345,7 +344,6 @@ var xEventsGetCenter func(uintptr, uintptr, *float64, *float64) bool
345 func EventsGetCenter(Event1Var *Event, Event2Var *Event, XVar *float64, YVar *float64) bool {344 func EventsGetCenter(Event1Var *Event, Event2Var *Event, XVar *float64, YVar *float64) bool {
346 345
347 cret := xEventsGetCenter(Event1Var.GoPointer(), Event2Var.GoPointer(), XVar, YVar)346 cret := xEventsGetCenter(Event1Var.GoPointer(), Event2Var.GoPointer(), XVar, YVar)
348-
349 return cret347 return cret
350 }348 }
351 349
@@ -358,7 +356,6 @@ var xEventsGetDistance func(uintptr, uintptr, *float64) bool
358 func EventsGetDistance(Event1Var *Event, Event2Var *Event, DistanceVar *float64) bool {356 func EventsGetDistance(Event1Var *Event, Event2Var *Event, DistanceVar *float64) bool {
359 357
360 cret := xEventsGetDistance(Event1Var.GoPointer(), Event2Var.GoPointer(), DistanceVar)358 cret := xEventsGetDistance(Event1Var.GoPointer(), Event2Var.GoPointer(), DistanceVar)
361-
362 return cret359 return cret
363 }360 }
364 361
@@ -385,7 +382,6 @@ var xButtonEventGetButton func(uintptr) uint
385 func (x *ButtonEvent) GetButton() uint {382 func (x *ButtonEvent) GetButton() uint {
386 383
387 cret := xButtonEventGetButton(x.GoPointer())384 cret := xButtonEventGetButton(x.GoPointer())
388-
389 return cret385 return cret
390 }386 }
391 387
@@ -423,7 +419,6 @@ var xCrossingEventGetDetail func(uintptr) NotifyType
423 func (x *CrossingEvent) GetDetail() NotifyType {419 func (x *CrossingEvent) GetDetail() NotifyType {
424 420
425 cret := xCrossingEventGetDetail(x.GoPointer())421 cret := xCrossingEventGetDetail(x.GoPointer())
426-
427 return cret422 return cret
428 }423 }
429 424
@@ -433,7 +428,6 @@ var xCrossingEventGetFocus func(uintptr) bool
433 func (x *CrossingEvent) GetFocus() bool {428 func (x *CrossingEvent) GetFocus() bool {
434 429
435 cret := xCrossingEventGetFocus(x.GoPointer())430 cret := xCrossingEventGetFocus(x.GoPointer())
436-
437 return cret431 return cret
438 }432 }
439 433
@@ -443,7 +437,6 @@ var xCrossingEventGetMode func(uintptr) CrossingMode
443 func (x *CrossingEvent) GetMode() CrossingMode {437 func (x *CrossingEvent) GetMode() CrossingMode {
444 438
445 cret := xCrossingEventGetMode(x.GoPointer())439 cret := xCrossingEventGetMode(x.GoPointer())
446-
447 return cret440 return cret
448 }441 }
449 442
@@ -567,7 +560,6 @@ var xEventGetAngle func(uintptr, uintptr, *float64) bool
567 func (x *Event) GetAngle(Event2Var *Event, AngleVar *float64) bool {560 func (x *Event) GetAngle(Event2Var *Event, AngleVar *float64) bool {
568 561
569 cret := xEventGetAngle(x.GoPointer(), Event2Var.GoPointer(), AngleVar)562 cret := xEventGetAngle(x.GoPointer(), Event2Var.GoPointer(), AngleVar)
570-
571 return cret563 return cret
572 }564 }
573 565
@@ -580,7 +572,6 @@ var xEventGetCenter func(uintptr, uintptr, *float64, *float64) bool
580 func (x *Event) GetCenter(Event2Var *Event, XVar *float64, YVar *float64) bool {572 func (x *Event) GetCenter(Event2Var *Event, XVar *float64, YVar *float64) bool {
581 573
582 cret := xEventGetCenter(x.GoPointer(), Event2Var.GoPointer(), XVar, YVar)574 cret := xEventGetCenter(x.GoPointer(), Event2Var.GoPointer(), XVar, YVar)
583-
584 return cret575 return cret
585 }576 }
586 577
@@ -593,7 +584,6 @@ var xEventGetDistance func(uintptr, uintptr, *float64) bool
593 func (x *Event) GetDistance(Event2Var *Event, DistanceVar *float64) bool {584 func (x *Event) GetDistance(Event2Var *Event, DistanceVar *float64) bool {
594 585
595 cret := xEventGetDistance(x.GoPointer(), Event2Var.GoPointer(), DistanceVar)586 cret := xEventGetDistance(x.GoPointer(), Event2Var.GoPointer(), DistanceVar)
596-
597 return cret587 return cret
598 }588 }
599 589
@@ -606,7 +596,6 @@ var xEventGetAxes func(uintptr, *[]float64, *uint) bool
606 func (x *Event) GetAxes(AxesVar *[]float64, NAxesVar *uint) bool {596 func (x *Event) GetAxes(AxesVar *[]float64, NAxesVar *uint) bool {
607 597
608 cret := xEventGetAxes(x.GoPointer(), AxesVar, NAxesVar)598 cret := xEventGetAxes(x.GoPointer(), AxesVar, NAxesVar)
609-
610 return cret599 return cret
611 }600 }
612 601
@@ -620,7 +609,6 @@ var xEventGetAxis func(uintptr, AxisUse, *float64) bool
620 func (x *Event) GetAxis(AxisUseVar AxisUse, ValueVar *float64) bool {609 func (x *Event) GetAxis(AxisUseVar AxisUse, ValueVar *float64) bool {
621 610
622 cret := xEventGetAxis(x.GoPointer(), AxisUseVar, ValueVar)611 cret := xEventGetAxis(x.GoPointer(), AxisUseVar, ValueVar)
623-
624 return cret612 return cret
625 }613 }
626 614
@@ -693,7 +681,6 @@ var xEventGetEventSequence func(uintptr) *EventSequence
693 func (x *Event) GetEventSequence() *EventSequence {681 func (x *Event) GetEventSequence() *EventSequence {
694 682
695 cret := xEventGetEventSequence(x.GoPointer())683 cret := xEventGetEventSequence(x.GoPointer())
696-
697 return cret684 return cret
698 }685 }
699 686
@@ -703,7 +690,6 @@ var xEventGetEventType func(uintptr) EventType
703 func (x *Event) GetEventType() EventType {690 func (x *Event) GetEventType() EventType {
704 691
705 cret := xEventGetEventType(x.GoPointer())692 cret := xEventGetEventType(x.GoPointer())
706-
707 return cret693 return cret
708 }694 }
709 695
@@ -721,7 +707,6 @@ var xEventGetHistory func(uintptr, *uint) uintptr
721 func (x *Event) GetHistory(OutNCoordsVar *uint) uintptr {707 func (x *Event) GetHistory(OutNCoordsVar *uint) uintptr {
722 708
723 cret := xEventGetHistory(x.GoPointer(), OutNCoordsVar)709 cret := xEventGetHistory(x.GoPointer(), OutNCoordsVar)
724-
725 return cret710 return cret
726 }711 }
727 712
@@ -731,7 +716,6 @@ var xEventGetModifierState func(uintptr) ModifierType
731 func (x *Event) GetModifierState() ModifierType {716 func (x *Event) GetModifierState() ModifierType {
732 717
733 cret := xEventGetModifierState(x.GoPointer())718 cret := xEventGetModifierState(x.GoPointer())
734-
735 return cret719 return cret
736 }720 }
737 721
@@ -743,7 +727,6 @@ var xEventGetPointerEmulated func(uintptr) bool
743 func (x *Event) GetPointerEmulated() bool {727 func (x *Event) GetPointerEmulated() bool {
744 728
745 cret := xEventGetPointerEmulated(x.GoPointer())729 cret := xEventGetPointerEmulated(x.GoPointer())
746-
747 return cret730 return cret
748 }731 }
749 732
@@ -755,7 +738,6 @@ var xEventGetPosition func(uintptr, *float64, *float64) bool
755 func (x *Event) GetPosition(XVar *float64, YVar *float64) bool {738 func (x *Event) GetPosition(XVar *float64, YVar *float64) bool {
756 739
757 cret := xEventGetPosition(x.GoPointer(), XVar, YVar)740 cret := xEventGetPosition(x.GoPointer(), XVar, YVar)
758-
759 return cret741 return cret
760 }742 }
761 743
@@ -802,7 +784,6 @@ var xEventGetTime func(uintptr) uint32
802 func (x *Event) GetTime() uint32 {784 func (x *Event) GetTime() uint32 {
803 785
804 cret := xEventGetTime(x.GoPointer())786 cret := xEventGetTime(x.GoPointer())
805-
806 return cret787 return cret
807 }788 }
808 789
@@ -838,7 +819,6 @@ var xEventTriggersContextMenu func(uintptr) bool
838 func (x *Event) TriggersContextMenu() bool {819 func (x *Event) TriggersContextMenu() bool {
839 820
840 cret := xEventTriggersContextMenu(x.GoPointer())821 cret := xEventTriggersContextMenu(x.GoPointer())
841-
842 return cret822 return cret
843 }823 }
844 824
@@ -888,7 +868,6 @@ var xFocusEventGetIn func(uintptr) bool
888 func (x *FocusEvent) GetIn() bool {868 func (x *FocusEvent) GetIn() bool {
889 869
890 cret := xFocusEventGetIn(x.GoPointer())870 cret := xFocusEventGetIn(x.GoPointer())
891-
892 return cret871 return cret
893 }872 }
894 873
@@ -943,7 +922,6 @@ var xGrabBrokenEventGetImplicit func(uintptr) bool
943 func (x *GrabBrokenEvent) GetImplicit() bool {922 func (x *GrabBrokenEvent) GetImplicit() bool {
944 923
945 cret := xGrabBrokenEventGetImplicit(x.GoPointer())924 cret := xGrabBrokenEventGetImplicit(x.GoPointer())
946-
947 return cret925 return cret
948 }926 }
949 927
@@ -981,7 +959,6 @@ var xKeyEventGetConsumedModifiers func(uintptr) ModifierType
981 func (x *KeyEvent) GetConsumedModifiers() ModifierType {959 func (x *KeyEvent) GetConsumedModifiers() ModifierType {
982 960
983 cret := xKeyEventGetConsumedModifiers(x.GoPointer())961 cret := xKeyEventGetConsumedModifiers(x.GoPointer())
984-
985 return cret962 return cret
986 }963 }
987 964
@@ -991,7 +968,6 @@ var xKeyEventGetKeycode func(uintptr) uint
991 func (x *KeyEvent) GetKeycode() uint {968 func (x *KeyEvent) GetKeycode() uint {
992 969
993 cret := xKeyEventGetKeycode(x.GoPointer())970 cret := xKeyEventGetKeycode(x.GoPointer())
994-
995 return cret971 return cret
996 }972 }
997 973
@@ -1001,7 +977,6 @@ var xKeyEventGetKeyval func(uintptr) uint
1001 func (x *KeyEvent) GetKeyval() uint {977 func (x *KeyEvent) GetKeyval() uint {
1002 978
1003 cret := xKeyEventGetKeyval(x.GoPointer())979 cret := xKeyEventGetKeyval(x.GoPointer())
1004-
1005 return cret980 return cret
1006 }981 }
1007 982
@@ -1011,7 +986,6 @@ var xKeyEventGetLayout func(uintptr) uint
1011 func (x *KeyEvent) GetLayout() uint {986 func (x *KeyEvent) GetLayout() uint {
1012 987
1013 cret := xKeyEventGetLayout(x.GoPointer())988 cret := xKeyEventGetLayout(x.GoPointer())
1014-
1015 return cret989 return cret
1016 }990 }
1017 991
@@ -1021,7 +995,6 @@ var xKeyEventGetLevel func(uintptr) uint
1021 func (x *KeyEvent) GetLevel() uint {995 func (x *KeyEvent) GetLevel() uint {
1022 996
1023 cret := xKeyEventGetLevel(x.GoPointer())997 cret := xKeyEventGetLevel(x.GoPointer())
1024-
1025 return cret998 return cret
1026 }999 }
1027 1000
@@ -1034,7 +1007,6 @@ var xKeyEventGetMatch func(uintptr, *uint, *ModifierType) bool
1034 func (x *KeyEvent) GetMatch(KeyvalVar *uint, ModifiersVar *ModifierType) bool {1007 func (x *KeyEvent) GetMatch(KeyvalVar *uint, ModifiersVar *ModifierType) bool {
1035 1008
1036 cret := xKeyEventGetMatch(x.GoPointer(), KeyvalVar, ModifiersVar)1009 cret := xKeyEventGetMatch(x.GoPointer(), KeyvalVar, ModifiersVar)
1037-
1038 return cret1010 return cret
1039 }1011 }
1040 1012
@@ -1044,7 +1016,6 @@ var xKeyEventIsModifier func(uintptr) bool
1044 func (x *KeyEvent) IsModifier() bool {1016 func (x *KeyEvent) IsModifier() bool {
1045 1017
1046 cret := xKeyEventIsModifier(x.GoPointer())1018 cret := xKeyEventIsModifier(x.GoPointer())
1047-
1048 return cret1019 return cret
1049 }1020 }
1050 1021
@@ -1061,7 +1032,6 @@ var xKeyEventMatches func(uintptr, uint, ModifierType) KeyMatch
1061 func (x *KeyEvent) Matches(KeyvalVar uint, ModifiersVar ModifierType) KeyMatch {1032 func (x *KeyEvent) Matches(KeyvalVar uint, ModifiersVar ModifierType) KeyMatch {
1062 1033
1063 cret := xKeyEventMatches(x.GoPointer(), KeyvalVar, ModifiersVar)1034 cret := xKeyEventMatches(x.GoPointer(), KeyvalVar, ModifiersVar)
1064-
1065 return cret1035 return cret
1066 }1036 }
1067 1037
@@ -1137,7 +1107,6 @@ var xPadEventGetButton func(uintptr) uint
1137 func (x *PadEvent) GetButton() uint {1107 func (x *PadEvent) GetButton() uint {
1138 1108
1139 cret := xPadEventGetButton(x.GoPointer())1109 cret := xPadEventGetButton(x.GoPointer())
1140-
1141 return cret1110 return cret
1142 }1111 }
1143 1112
@@ -1227,7 +1196,6 @@ var xScrollEventGetDirection func(uintptr) ScrollDirection
1227 func (x *ScrollEvent) GetDirection() ScrollDirection {1196 func (x *ScrollEvent) GetDirection() ScrollDirection {
1228 1197
1229 cret := xScrollEventGetDirection(x.GoPointer())1198 cret := xScrollEventGetDirection(x.GoPointer())
1230-
1231 return cret1199 return cret
1232 }1200 }
1233 1201
@@ -1240,7 +1208,6 @@ var xScrollEventGetUnit func(uintptr) ScrollUnit
1240 func (x *ScrollEvent) GetUnit() ScrollUnit {1208 func (x *ScrollEvent) GetUnit() ScrollUnit {
1241 1209
1242 cret := xScrollEventGetUnit(x.GoPointer())1210 cret := xScrollEventGetUnit(x.GoPointer())
1243-
1244 return cret1211 return cret
1245 }1212 }
1246 1213
@@ -1258,7 +1225,6 @@ var xScrollEventIsStop func(uintptr) bool
1258 func (x *ScrollEvent) IsStop() bool {1225 func (x *ScrollEvent) IsStop() bool {
1259 1226
1260 cret := xScrollEventIsStop(x.GoPointer())1227 cret := xScrollEventIsStop(x.GoPointer())
1261-
1262 return cret1228 return cret
1263 }1229 }
1264 1230
@@ -1278,7 +1244,6 @@ var xScrollEventGetRelativeDirection func(uintptr) ScrollRelativeDirection
1278 func ScrollEventGetRelativeDirection(EventVar *Event) ScrollRelativeDirection {1244 func ScrollEventGetRelativeDirection(EventVar *Event) ScrollRelativeDirection {
1279 1245
1280 cret := xScrollEventGetRelativeDirection(EventVar.GoPointer())1246 cret := xScrollEventGetRelativeDirection(EventVar.GoPointer())
1281-
1282 return cret1247 return cret
1283 }1248 }
1284 1249
@@ -1305,7 +1270,6 @@ var xTouchEventGetEmulatingPointer func(uintptr) bool
1305 func (x *TouchEvent) GetEmulatingPointer() bool {1270 func (x *TouchEvent) GetEmulatingPointer() bool {
1306 1271
1307 cret := xTouchEventGetEmulatingPointer(x.GoPointer())1272 cret := xTouchEventGetEmulatingPointer(x.GoPointer())
1308-
1309 return cret1273 return cret
1310 }1274 }
1311 1275
@@ -1357,7 +1321,6 @@ var xTouchpadEventGetGesturePhase func(uintptr) TouchpadGesturePhase
1357 func (x *TouchpadEvent) GetGesturePhase() TouchpadGesturePhase {1321 func (x *TouchpadEvent) GetGesturePhase() TouchpadGesturePhase {
1358 1322
1359 cret := xTouchpadEventGetGesturePhase(x.GoPointer())1323 cret := xTouchpadEventGetGesturePhase(x.GoPointer())
1360-
1361 return cret1324 return cret
1362 }1325 }
1363 1326
@@ -1367,7 +1330,6 @@ var xTouchpadEventGetNFingers func(uintptr) uint
1367 func (x *TouchpadEvent) GetNFingers() uint {1330 func (x *TouchpadEvent) GetNFingers() uint {
1368 1331
1369 cret := xTouchpadEventGetNFingers(x.GoPointer())1332 cret := xTouchpadEventGetNFingers(x.GoPointer())
1370-
1371 return cret1333 return cret
1372 }1334 }
1373 1335
@@ -1377,7 +1339,6 @@ var xTouchpadEventGetPinchAngleDelta func(uintptr) float64
1377 func (x *TouchpadEvent) GetPinchAngleDelta() float64 {1339 func (x *TouchpadEvent) GetPinchAngleDelta() float64 {
1378 1340
1379 cret := xTouchpadEventGetPinchAngleDelta(x.GoPointer())1341 cret := xTouchpadEventGetPinchAngleDelta(x.GoPointer())
1380-
1381 return cret1342 return cret
1382 }1343 }
1383 1344
@@ -1387,7 +1348,6 @@ var xTouchpadEventGetPinchScale func(uintptr) float64
1387 func (x *TouchpadEvent) GetPinchScale() float64 {1348 func (x *TouchpadEvent) GetPinchScale() float64 {
1388 1349
1389 cret := xTouchpadEventGetPinchScale(x.GoPointer())1350 cret := xTouchpadEventGetPinchScale(x.GoPointer())
1390-
1391 return cret1351 return cret
1392 }1352 }
1393 1353
M v4/gdk/gdkframeclock.go +0 -6
@@ -139,7 +139,6 @@ 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-
143 return cret142 return cret
144 }143 }
145 144
@@ -150,7 +149,6 @@ var xFrameClockGetFps func(uintptr) float64
150 func (x *FrameClock) GetFps() float64 {149 func (x *FrameClock) GetFps() float64 {
151 150
152 cret := xFrameClockGetFps(x.GoPointer())151 cret := xFrameClockGetFps(x.GoPointer())
153-
154 return cret152 return cret
155 }153 }
156 154
@@ -161,7 +159,6 @@ var xFrameClockGetFrameCounter func(uintptr) int64
161 func (x *FrameClock) GetFrameCounter() int64 {159 func (x *FrameClock) GetFrameCounter() int64 {
162 160
163 cret := xFrameClockGetFrameCounter(x.GoPointer())161 cret := xFrameClockGetFrameCounter(x.GoPointer())
164-
165 return cret162 return cret
166 }163 }
167 164
@@ -177,7 +174,6 @@ var xFrameClockGetFrameTime func(uintptr) int64
177 func (x *FrameClock) GetFrameTime() int64 {174 func (x *FrameClock) GetFrameTime() int64 {
178 175
179 cret := xFrameClockGetFrameTime(x.GoPointer())176 cret := xFrameClockGetFrameTime(x.GoPointer())
180-
181 return cret177 return cret
182 }178 }
183 179
@@ -194,7 +190,6 @@ var xFrameClockGetHistoryStart func(uintptr) int64
194 func (x *FrameClock) GetHistoryStart() int64 {190 func (x *FrameClock) GetHistoryStart() int64 {
195 191
196 cret := xFrameClockGetHistoryStart(x.GoPointer())192 cret := xFrameClockGetHistoryStart(x.GoPointer())
197-
198 return cret193 return cret
199 }194 }
200 195
@@ -224,7 +219,6 @@ var xFrameClockGetTimings func(uintptr, int64) *FrameTimings
224 func (x *FrameClock) GetTimings(FrameCounterVar int64) *FrameTimings {219 func (x *FrameClock) GetTimings(FrameCounterVar int64) *FrameTimings {
225 220
226 cret := xFrameClockGetTimings(x.GoPointer(), FrameCounterVar)221 cret := xFrameClockGetTimings(x.GoPointer(), FrameCounterVar)
227-
228 return cret222 return cret
229 }223 }
230 224
M v4/gdk/gdkframetimings.go +0 -7
@@ -49,7 +49,6 @@ 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-
53 return cret52 return cret
54 }53 }
55 54
@@ -60,7 +59,6 @@ var xFrameTimingsGetFrameCounter func(uintptr) int64
60 func (x *FrameTimings) GetFrameCounter() int64 {59 func (x *FrameTimings) GetFrameCounter() int64 {
61 60
62 cret := xFrameTimingsGetFrameCounter(x.GoPointer())61 cret := xFrameTimingsGetFrameCounter(x.GoPointer())
63-
64 return cret62 return cret
65 }63 }
66 64
@@ -73,7 +71,6 @@ var xFrameTimingsGetFrameTime func(uintptr) int64
73 func (x *FrameTimings) GetFrameTime() int64 {71 func (x *FrameTimings) GetFrameTime() int64 {
74 72
75 cret := xFrameTimingsGetFrameTime(x.GoPointer())73 cret := xFrameTimingsGetFrameTime(x.GoPointer())
76-
77 return cret74 return cret
78 }75 }
79 76
@@ -94,7 +91,6 @@ var xFrameTimingsGetPredictedPresentationTime func(uintptr) int64
94 func (x *FrameTimings) GetPredictedPresentationTime() int64 {91 func (x *FrameTimings) GetPredictedPresentationTime() int64 {
95 92
96 cret := xFrameTimingsGetPredictedPresentationTime(x.GoPointer())93 cret := xFrameTimingsGetPredictedPresentationTime(x.GoPointer())
97-
98 return cret94 return cret
99 }95 }
100 96
@@ -106,7 +102,6 @@ var xFrameTimingsGetPresentationTime func(uintptr) int64
106 func (x *FrameTimings) GetPresentationTime() int64 {102 func (x *FrameTimings) GetPresentationTime() int64 {
107 103
108 cret := xFrameTimingsGetPresentationTime(x.GoPointer())104 cret := xFrameTimingsGetPresentationTime(x.GoPointer())
109-
110 return cret105 return cret
111 }106 }
112 107
@@ -120,7 +115,6 @@ var xFrameTimingsGetRefreshInterval func(uintptr) int64
120 func (x *FrameTimings) GetRefreshInterval() int64 {115 func (x *FrameTimings) GetRefreshInterval() int64 {
121 116
122 cret := xFrameTimingsGetRefreshInterval(x.GoPointer())117 cret := xFrameTimingsGetRefreshInterval(x.GoPointer())
123-
124 return cret118 return cret
125 }119 }
126 120
@@ -130,7 +124,6 @@ var xFrameTimingsRef func(uintptr) *FrameTimings
130 func (x *FrameTimings) Ref() *FrameTimings {124 func (x *FrameTimings) Ref() *FrameTimings {
131 125
132 cret := xFrameTimingsRef(x.GoPointer())126 cret := xFrameTimingsRef(x.GoPointer())
133-
134 return cret127 return cret
135 }128 }
136 129
M v4/gdk/gdkglcontext.go +0 -9
@@ -15,7 +15,6 @@ var xGlErrorQuark func() glib.Quark
15 func GlErrorQuark() glib.Quark {15 func GlErrorQuark() glib.Quark {
16 16
17 cret := xGlErrorQuark()17 cret := xGlErrorQuark()
18-
19 return cret18 return cret
20 }19 }
21 20
@@ -89,7 +88,6 @@ var xGLContextGetAllowedApis func(uintptr) GLAPI
89 func (x *GLContext) GetAllowedApis() GLAPI {88 func (x *GLContext) GetAllowedApis() GLAPI {
90 89
91 cret := xGLContextGetAllowedApis(x.GoPointer())90 cret := xGLContextGetAllowedApis(x.GoPointer())
92-
93 return cret91 return cret
94 }92 }
95 93
@@ -101,7 +99,6 @@ var xGLContextGetApi func(uintptr) GLAPI
101 func (x *GLContext) GetApi() GLAPI {99 func (x *GLContext) GetApi() GLAPI {
102 100
103 cret := xGLContextGetApi(x.GoPointer())101 cret := xGLContextGetApi(x.GoPointer())
104-
105 return cret102 return cret
106 }103 }
107 104
@@ -113,7 +110,6 @@ var xGLContextGetDebugEnabled func(uintptr) bool
113 func (x *GLContext) GetDebugEnabled() bool {110 func (x *GLContext) GetDebugEnabled() bool {
114 111
115 cret := xGLContextGetDebugEnabled(x.GoPointer())112 cret := xGLContextGetDebugEnabled(x.GoPointer())
116-
117 return cret113 return cret
118 }114 }
119 115
@@ -142,7 +138,6 @@ var xGLContextGetForwardCompatible func(uintptr) bool
142 func (x *GLContext) GetForwardCompatible() bool {138 func (x *GLContext) GetForwardCompatible() bool {
143 139
144 cret := xGLContextGetForwardCompatible(x.GoPointer())140 cret := xGLContextGetForwardCompatible(x.GoPointer())
145-
146 return cret141 return cret
147 }142 }
148 143
@@ -203,7 +198,6 @@ var xGLContextGetUseEs func(uintptr) bool
203 func (x *GLContext) GetUseEs() bool {198 func (x *GLContext) GetUseEs() bool {
204 199
205 cret := xGLContextGetUseEs(x.GoPointer())200 cret := xGLContextGetUseEs(x.GoPointer())
206-
207 return cret201 return cret
208 }202 }
209 203
@@ -239,7 +233,6 @@ var xGLContextIsLegacy func(uintptr) bool
239 func (x *GLContext) IsLegacy() bool {233 func (x *GLContext) IsLegacy() bool {
240 234
241 cret := xGLContextIsLegacy(x.GoPointer())235 cret := xGLContextIsLegacy(x.GoPointer())
242-
243 return cret236 return cret
244 }237 }
245 238
@@ -260,7 +253,6 @@ var xGLContextIsShared func(uintptr, uintptr) bool
260 func (x *GLContext) IsShared(OtherVar *GLContext) bool {253 func (x *GLContext) IsShared(OtherVar *GLContext) bool {
261 254
262 cret := xGLContextIsShared(x.GoPointer(), OtherVar.GoPointer())255 cret := xGLContextIsShared(x.GoPointer(), OtherVar.GoPointer())
263-
264 return cret256 return cret
265 }257 }
266 258
@@ -282,7 +274,6 @@ func (x *GLContext) Realize() (bool, error) {
282 var cerr *glib.Error274 var cerr *glib.Error
283 275
284 cret := xGLContextRealize(x.GoPointer())276 cret := xGLContextRealize(x.GoPointer())
285-
286 if cerr == nil {277 if cerr == nil {
287 return cret, nil278 return cret, nil
288 }279 }
M v4/gdk/gdkgltexture.go +0 -8
@@ -139,7 +139,6 @@ 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-
143 return cret142 return cret
144 }143 }
145 144
@@ -163,7 +162,6 @@ func (x *GLTexture) GetFlags() PaintableFlags {
163 func (x *GLTexture) GetIntrinsicAspectRatio() float64 {162 func (x *GLTexture) GetIntrinsicAspectRatio() float64 {
164 163
165 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())164 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
166-
167 return cret165 return cret
168 }166 }
169 167
@@ -180,7 +178,6 @@ func (x *GLTexture) GetIntrinsicAspectRatio() float64 {
180 func (x *GLTexture) GetIntrinsicHeight() int {178 func (x *GLTexture) GetIntrinsicHeight() int {
181 179
182 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())180 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
183-
184 return cret181 return cret
185 }182 }
186 183
@@ -197,7 +194,6 @@ func (x *GLTexture) GetIntrinsicHeight() int {
197 func (x *GLTexture) GetIntrinsicWidth() int {194 func (x *GLTexture) GetIntrinsicWidth() int {
198 195
199 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())196 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
200-
201 return cret197 return cret
202 }198 }
203 199
@@ -248,7 +244,6 @@ func (x *GLTexture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, HeightVar
248 func (x *GLTexture) Equal(Icon2Var gio.Icon) bool {244 func (x *GLTexture) Equal(Icon2Var gio.Icon) bool {
249 245
250 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())246 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
251-
252 return cret247 return cret
253 }248 }
254 249
@@ -256,7 +251,6 @@ func (x *GLTexture) Equal(Icon2Var gio.Icon) bool {
256 func (x *GLTexture) Hash() uint {251 func (x *GLTexture) Hash() uint {
257 252
258 cret := gio.XGIconHash(x.GoPointer())253 cret := gio.XGIconHash(x.GoPointer())
259-
260 return cret254 return cret
261 }255 }
262 256
@@ -268,7 +262,6 @@ func (x *GLTexture) Hash() uint {
268 func (x *GLTexture) Serialize() *glib.Variant {262 func (x *GLTexture) Serialize() *glib.Variant {
269 263
270 cret := gio.XGIconSerialize(x.GoPointer())264 cret := gio.XGIconSerialize(x.GoPointer())
271-
272 return cret265 return cret
273 }266 }
274 267
@@ -291,7 +284,6 @@ func (x *GLTexture) Serialize() *glib.Variant {
291 func (x *GLTexture) ToString() string {284 func (x *GLTexture) ToString() string {
292 285
293 cret := gio.XGIconToString(x.GoPointer())286 cret := gio.XGIconToString(x.GoPointer())
294-
295 return cret287 return cret
296 }288 }
297 289
M v4/gdk/gdkgltexturebuilder.go +0 -8
@@ -112,7 +112,6 @@ 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-
116 return cret115 return cret
117 }116 }
118 117
@@ -140,7 +139,6 @@ var xGLTextureBuilderGetFormat func(uintptr) MemoryFormat
140 func (x *GLTextureBuilder) GetFormat() MemoryFormat {139 func (x *GLTextureBuilder) GetFormat() MemoryFormat {
141 140
142 cret := xGLTextureBuilderGetFormat(x.GoPointer())141 cret := xGLTextureBuilderGetFormat(x.GoPointer())
143-
144 return cret142 return cret
145 }143 }
146 144
@@ -150,7 +148,6 @@ var xGLTextureBuilderGetHasMipmap func(uintptr) bool
150 func (x *GLTextureBuilder) GetHasMipmap() bool {148 func (x *GLTextureBuilder) GetHasMipmap() bool {
151 149
152 cret := xGLTextureBuilderGetHasMipmap(x.GoPointer())150 cret := xGLTextureBuilderGetHasMipmap(x.GoPointer())
153-
154 return cret151 return cret
155 }152 }
156 153
@@ -161,7 +158,6 @@ var xGLTextureBuilderGetHeight func(uintptr) int
161 func (x *GLTextureBuilder) GetHeight() int {158 func (x *GLTextureBuilder) GetHeight() int {
162 159
163 cret := xGLTextureBuilderGetHeight(x.GoPointer())160 cret := xGLTextureBuilderGetHeight(x.GoPointer())
164-
165 return cret161 return cret
166 }162 }
167 163
@@ -172,7 +168,6 @@ var xGLTextureBuilderGetId func(uintptr) uint
172 func (x *GLTextureBuilder) GetId() uint {168 func (x *GLTextureBuilder) GetId() uint {
173 169
174 cret := xGLTextureBuilderGetId(x.GoPointer())170 cret := xGLTextureBuilderGetId(x.GoPointer())
175-
176 return cret171 return cret
177 }172 }
178 173
@@ -182,7 +177,6 @@ var xGLTextureBuilderGetSync func(uintptr) uintptr
182 func (x *GLTextureBuilder) GetSync() uintptr {177 func (x *GLTextureBuilder) GetSync() uintptr {
183 178
184 cret := xGLTextureBuilderGetSync(x.GoPointer())179 cret := xGLTextureBuilderGetSync(x.GoPointer())
185-
186 return cret180 return cret
187 }181 }
188 182
@@ -193,7 +187,6 @@ var xGLTextureBuilderGetUpdateRegion func(uintptr) *cairo.Region
193 func (x *GLTextureBuilder) GetUpdateRegion() *cairo.Region {187 func (x *GLTextureBuilder) GetUpdateRegion() *cairo.Region {
194 188
195 cret := xGLTextureBuilderGetUpdateRegion(x.GoPointer())189 cret := xGLTextureBuilderGetUpdateRegion(x.GoPointer())
196-
197 return cret190 return cret
198 }191 }
199 192
@@ -222,7 +215,6 @@ var xGLTextureBuilderGetWidth func(uintptr) int
222 func (x *GLTextureBuilder) GetWidth() int {215 func (x *GLTextureBuilder) GetWidth() int {
223 216
224 cret := xGLTextureBuilderGetWidth(x.GoPointer())217 cret := xGLTextureBuilderGetWidth(x.GoPointer())
225-
226 return cret218 return cret
227 }219 }
228 220
M v4/gdk/gdkkeys.go +0 -8
@@ -27,7 +27,6 @@ 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-
31 return cret30 return cret
32 }31 }
33 32
@@ -37,7 +36,6 @@ var xKeyvalIsLower func(uint) bool
37 func KeyvalIsLower(KeyvalVar uint) bool {36 func KeyvalIsLower(KeyvalVar uint) bool {
38 37
39 cret := xKeyvalIsLower(KeyvalVar)38 cret := xKeyvalIsLower(KeyvalVar)
40-
41 return cret39 return cret
42 }40 }
43 41
@@ -47,7 +45,6 @@ var xKeyvalIsUpper func(uint) bool
47 func KeyvalIsUpper(KeyvalVar uint) bool {45 func KeyvalIsUpper(KeyvalVar uint) bool {
48 46
49 cret := xKeyvalIsUpper(KeyvalVar)47 cret := xKeyvalIsUpper(KeyvalVar)
50-
51 return cret48 return cret
52 }49 }
53 50
@@ -61,7 +58,6 @@ var xKeyvalName func(uint) string
61 func KeyvalName(KeyvalVar uint) string {58 func KeyvalName(KeyvalVar uint) string {
62 59
63 cret := xKeyvalName(KeyvalVar)60 cret := xKeyvalName(KeyvalVar)
64-
65 return cret61 return cret
66 }62 }
67 63
@@ -71,7 +67,6 @@ var xKeyvalToLower func(uint) uint
71 func KeyvalToLower(KeyvalVar uint) uint {67 func KeyvalToLower(KeyvalVar uint) uint {
72 68
73 cret := xKeyvalToLower(KeyvalVar)69 cret := xKeyvalToLower(KeyvalVar)
74-
75 return cret70 return cret
76 }71 }
77 72
@@ -86,7 +81,6 @@ var xKeyvalToUnicode func(uint) uint32
86 func KeyvalToUnicode(KeyvalVar uint) uint32 {81 func KeyvalToUnicode(KeyvalVar uint) uint32 {
87 82
88 cret := xKeyvalToUnicode(KeyvalVar)83 cret := xKeyvalToUnicode(KeyvalVar)
89-
90 return cret84 return cret
91 }85 }
92 86
@@ -96,7 +90,6 @@ var xKeyvalToUpper func(uint) uint
96 func KeyvalToUpper(KeyvalVar uint) uint {90 func KeyvalToUpper(KeyvalVar uint) uint {
97 91
98 cret := xKeyvalToUpper(KeyvalVar)92 cret := xKeyvalToUpper(KeyvalVar)
99-
100 return cret93 return cret
101 }94 }
102 95
@@ -106,7 +99,6 @@ var xUnicodeToKeyval func(uint32) uint
106 func UnicodeToKeyval(WcVar uint32) uint {99 func UnicodeToKeyval(WcVar uint32) uint {
107 100
108 cret := xUnicodeToKeyval(WcVar)101 cret := xUnicodeToKeyval(WcVar)
109-
110 return cret102 return cret
111 }103 }
112 104
M v4/gdk/gdkmemorytexture.go +0 -8
@@ -110,7 +110,6 @@ 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-
114 return cret113 return cret
115 }114 }
116 115
@@ -134,7 +133,6 @@ func (x *MemoryTexture) GetFlags() PaintableFlags {
134 func (x *MemoryTexture) GetIntrinsicAspectRatio() float64 {133 func (x *MemoryTexture) GetIntrinsicAspectRatio() float64 {
135 134
136 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())135 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
137-
138 return cret136 return cret
139 }137 }
140 138
@@ -151,7 +149,6 @@ func (x *MemoryTexture) GetIntrinsicAspectRatio() float64 {
151 func (x *MemoryTexture) GetIntrinsicHeight() int {149 func (x *MemoryTexture) GetIntrinsicHeight() int {
152 150
153 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())151 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
154-
155 return cret152 return cret
156 }153 }
157 154
@@ -168,7 +165,6 @@ func (x *MemoryTexture) GetIntrinsicHeight() int {
168 func (x *MemoryTexture) GetIntrinsicWidth() int {165 func (x *MemoryTexture) GetIntrinsicWidth() int {
169 166
170 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())167 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
171-
172 return cret168 return cret
173 }169 }
174 170
@@ -219,7 +215,6 @@ func (x *MemoryTexture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, Height
219 func (x *MemoryTexture) Equal(Icon2Var gio.Icon) bool {215 func (x *MemoryTexture) Equal(Icon2Var gio.Icon) bool {
220 216
221 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())217 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
222-
223 return cret218 return cret
224 }219 }
225 220
@@ -227,7 +222,6 @@ func (x *MemoryTexture) Equal(Icon2Var gio.Icon) bool {
227 func (x *MemoryTexture) Hash() uint {222 func (x *MemoryTexture) Hash() uint {
228 223
229 cret := gio.XGIconHash(x.GoPointer())224 cret := gio.XGIconHash(x.GoPointer())
230-
231 return cret225 return cret
232 }226 }
233 227
@@ -239,7 +233,6 @@ func (x *MemoryTexture) Hash() uint {
239 func (x *MemoryTexture) Serialize() *glib.Variant {233 func (x *MemoryTexture) Serialize() *glib.Variant {
240 234
241 cret := gio.XGIconSerialize(x.GoPointer())235 cret := gio.XGIconSerialize(x.GoPointer())
242-
243 return cret236 return cret
244 }237 }
245 238
@@ -262,7 +255,6 @@ func (x *MemoryTexture) Serialize() *glib.Variant {
262 func (x *MemoryTexture) ToString() string {255 func (x *MemoryTexture) ToString() string {
263 256
264 cret := gio.XGIconToString(x.GoPointer())257 cret := gio.XGIconToString(x.GoPointer())
265-
266 return cret258 return cret
267 }259 }
268 260
M v4/gdk/gdkmemorytexturebuilder.go +0 -9
@@ -93,7 +93,6 @@ 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-
97 return cret96 return cret
98 }97 }
99 98
@@ -103,7 +102,6 @@ var xMemoryTextureBuilderGetColorState func(uintptr) *ColorState
103 func (x *MemoryTextureBuilder) GetColorState() *ColorState {102 func (x *MemoryTextureBuilder) GetColorState() *ColorState {
104 103
105 cret := xMemoryTextureBuilderGetColorState(x.GoPointer())104 cret := xMemoryTextureBuilderGetColorState(x.GoPointer())
106-
107 return cret105 return cret
108 }106 }
109 107
@@ -113,7 +111,6 @@ var xMemoryTextureBuilderGetFormat func(uintptr) MemoryFormat
113 func (x *MemoryTextureBuilder) GetFormat() MemoryFormat {111 func (x *MemoryTextureBuilder) GetFormat() MemoryFormat {
114 112
115 cret := xMemoryTextureBuilderGetFormat(x.GoPointer())113 cret := xMemoryTextureBuilderGetFormat(x.GoPointer())
116-
117 return cret114 return cret
118 }115 }
119 116
@@ -124,7 +121,6 @@ var xMemoryTextureBuilderGetHeight func(uintptr) int
124 func (x *MemoryTextureBuilder) GetHeight() int {121 func (x *MemoryTextureBuilder) GetHeight() int {
125 122
126 cret := xMemoryTextureBuilderGetHeight(x.GoPointer())123 cret := xMemoryTextureBuilderGetHeight(x.GoPointer())
127-
128 return cret124 return cret
129 }125 }
130 126
@@ -134,7 +130,6 @@ var xMemoryTextureBuilderGetOffset func(uintptr, uint) uint
134 func (x *MemoryTextureBuilder) GetOffset(PlaneVar uint) uint {130 func (x *MemoryTextureBuilder) GetOffset(PlaneVar uint) uint {
135 131
136 cret := xMemoryTextureBuilderGetOffset(x.GoPointer(), PlaneVar)132 cret := xMemoryTextureBuilderGetOffset(x.GoPointer(), PlaneVar)
137-
138 return cret133 return cret
139 }134 }
140 135
@@ -144,7 +139,6 @@ var xMemoryTextureBuilderGetStride func(uintptr) uint
144 func (x *MemoryTextureBuilder) GetStride() uint {139 func (x *MemoryTextureBuilder) GetStride() uint {
145 140
146 cret := xMemoryTextureBuilderGetStride(x.GoPointer())141 cret := xMemoryTextureBuilderGetStride(x.GoPointer())
147-
148 return cret142 return cret
149 }143 }
150 144
@@ -154,7 +148,6 @@ var xMemoryTextureBuilderGetStrideForPlane func(uintptr, uint) uint
154 func (x *MemoryTextureBuilder) GetStrideForPlane(PlaneVar uint) uint {148 func (x *MemoryTextureBuilder) GetStrideForPlane(PlaneVar uint) uint {
155 149
156 cret := xMemoryTextureBuilderGetStrideForPlane(x.GoPointer(), PlaneVar)150 cret := xMemoryTextureBuilderGetStrideForPlane(x.GoPointer(), PlaneVar)
157-
158 return cret151 return cret
159 }152 }
160 153
@@ -165,7 +158,6 @@ var xMemoryTextureBuilderGetUpdateRegion func(uintptr) *cairo.Region
165 func (x *MemoryTextureBuilder) GetUpdateRegion() *cairo.Region {158 func (x *MemoryTextureBuilder) GetUpdateRegion() *cairo.Region {
166 159
167 cret := xMemoryTextureBuilderGetUpdateRegion(x.GoPointer())160 cret := xMemoryTextureBuilderGetUpdateRegion(x.GoPointer())
168-
169 return cret161 return cret
170 }162 }
171 163
@@ -194,7 +186,6 @@ var xMemoryTextureBuilderGetWidth func(uintptr) int
194 func (x *MemoryTextureBuilder) GetWidth() int {186 func (x *MemoryTextureBuilder) GetWidth() int {
195 187
196 cret := xMemoryTextureBuilderGetWidth(x.GoPointer())188 cret := xMemoryTextureBuilderGetWidth(x.GoPointer())
197-
198 return cret189 return cret
199 }190 }
200 191
M v4/gdk/gdkmonitor.go +0 -11
@@ -78,7 +78,6 @@ 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-
82 return cret81 return cret
83 }82 }
84 83
@@ -90,7 +89,6 @@ var xMonitorGetDescription func(uintptr) string
90 func (x *Monitor) GetDescription() string {89 func (x *Monitor) GetDescription() string {
91 90
92 cret := xMonitorGetDescription(x.GoPointer())91 cret := xMonitorGetDescription(x.GoPointer())
93-
94 return cret92 return cret
95 }93 }
96 94
@@ -130,7 +128,6 @@ var xMonitorGetHeightMm func(uintptr) int
130 func (x *Monitor) GetHeightMm() int {128 func (x *Monitor) GetHeightMm() int {
131 129
132 cret := xMonitorGetHeightMm(x.GoPointer())130 cret := xMonitorGetHeightMm(x.GoPointer())
133-
134 return cret131 return cret
135 }132 }
136 133
@@ -146,7 +143,6 @@ var xMonitorGetManufacturer func(uintptr) string
146 func (x *Monitor) GetManufacturer() string {143 func (x *Monitor) GetManufacturer() string {
147 144
148 cret := xMonitorGetManufacturer(x.GoPointer())145 cret := xMonitorGetManufacturer(x.GoPointer())
149-
150 return cret146 return cret
151 }147 }
152 148
@@ -156,7 +152,6 @@ var xMonitorGetModel func(uintptr) string
156 func (x *Monitor) GetModel() string {152 func (x *Monitor) GetModel() string {
157 153
158 cret := xMonitorGetModel(x.GoPointer())154 cret := xMonitorGetModel(x.GoPointer())
159-
160 return cret155 return cret
161 }156 }
162 157
@@ -169,7 +164,6 @@ var xMonitorGetRefreshRate func(uintptr) int
169 func (x *Monitor) GetRefreshRate() int {164 func (x *Monitor) GetRefreshRate() int {
170 165
171 cret := xMonitorGetRefreshRate(x.GoPointer())166 cret := xMonitorGetRefreshRate(x.GoPointer())
172-
173 return cret167 return cret
174 }168 }
175 169
@@ -184,7 +178,6 @@ var xMonitorGetScale func(uintptr) float64
184 func (x *Monitor) GetScale() float64 {178 func (x *Monitor) GetScale() float64 {
185 179
186 cret := xMonitorGetScale(x.GoPointer())180 cret := xMonitorGetScale(x.GoPointer())
187-
188 return cret181 return cret
189 }182 }
190 183
@@ -202,7 +195,6 @@ var xMonitorGetScaleFactor func(uintptr) int
202 func (x *Monitor) GetScaleFactor() int {195 func (x *Monitor) GetScaleFactor() int {
203 196
204 cret := xMonitorGetScaleFactor(x.GoPointer())197 cret := xMonitorGetScaleFactor(x.GoPointer())
205-
206 return cret198 return cret
207 }199 }
208 200
@@ -213,7 +205,6 @@ var xMonitorGetSubpixelLayout func(uintptr) SubpixelLayout
213 func (x *Monitor) GetSubpixelLayout() SubpixelLayout {205 func (x *Monitor) GetSubpixelLayout() SubpixelLayout {
214 206
215 cret := xMonitorGetSubpixelLayout(x.GoPointer())207 cret := xMonitorGetSubpixelLayout(x.GoPointer())
216-
217 return cret208 return cret
218 }209 }
219 210
@@ -223,7 +214,6 @@ var xMonitorGetWidthMm func(uintptr) int
223 func (x *Monitor) GetWidthMm() int {214 func (x *Monitor) GetWidthMm() int {
224 215
225 cret := xMonitorGetWidthMm(x.GoPointer())216 cret := xMonitorGetWidthMm(x.GoPointer())
226-
227 return cret217 return cret
228 }218 }
229 219
@@ -237,7 +227,6 @@ var xMonitorIsValid func(uintptr) bool
237 func (x *Monitor) IsValid() bool {227 func (x *Monitor) IsValid() bool {
238 228
239 cret := xMonitorIsValid(x.GoPointer())229 cret := xMonitorIsValid(x.GoPointer())
240-
241 return cret230 return cret
242 }231 }
243 232
M v4/gdk/gdkpaintable.go +0 -4
@@ -361,7 +361,6 @@ 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-
365 return cret364 return cret
366 }365 }
367 366
@@ -385,7 +384,6 @@ func (x *PaintableBase) GetFlags() PaintableFlags {
385 func (x *PaintableBase) GetIntrinsicAspectRatio() float64 {384 func (x *PaintableBase) GetIntrinsicAspectRatio() float64 {
386 385
387 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())386 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
388-
389 return cret387 return cret
390 }388 }
391 389
@@ -402,7 +400,6 @@ func (x *PaintableBase) GetIntrinsicAspectRatio() float64 {
402 func (x *PaintableBase) GetIntrinsicHeight() int {400 func (x *PaintableBase) GetIntrinsicHeight() int {
403 401
404 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())402 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
405-
406 return cret403 return cret
407 }404 }
408 405
@@ -419,7 +416,6 @@ func (x *PaintableBase) GetIntrinsicHeight() int {
419 func (x *PaintableBase) GetIntrinsicWidth() int {416 func (x *PaintableBase) GetIntrinsicWidth() int {
420 417
421 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())418 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
422-
423 return cret419 return cret
424 }420 }
425 421
M v4/gdk/gdkpango.go +0 -2
@@ -23,7 +23,6 @@ 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-
27 return cret26 return cret
28 }27 }
29 28
@@ -47,7 +46,6 @@ var xPangoLayoutLineGetClipRegion func(*pango.LayoutLine, int, int, []int, int)
47 func PangoLayoutLineGetClipRegion(LineVar *pango.LayoutLine, XOriginVar int, YOriginVar int, IndexRangesVar []int, NRangesVar int) *cairo.Region {46 func PangoLayoutLineGetClipRegion(LineVar *pango.LayoutLine, XOriginVar int, YOriginVar int, IndexRangesVar []int, NRangesVar int) *cairo.Region {
48 47
49 cret := xPangoLayoutLineGetClipRegion(LineVar, XOriginVar, YOriginVar, IndexRangesVar, NRangesVar)48 cret := xPangoLayoutLineGetClipRegion(LineVar, XOriginVar, YOriginVar, IndexRangesVar, NRangesVar)
50-
51 return cret49 return cret
52 }50 }
53 51
M v4/gdk/gdkpopup.go +0 -6
@@ -63,7 +63,6 @@ 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-
67 return cret66 return cret
68 }67 }
69 68
@@ -86,7 +85,6 @@ func (x *PopupBase) GetParent() *Surface {
86 func (x *PopupBase) GetPositionX() int {85 func (x *PopupBase) GetPositionX() int {
87 86
88 cret := XGdkPopupGetPositionX(x.GoPointer())87 cret := XGdkPopupGetPositionX(x.GoPointer())
89-
90 return cret88 return cret
91 }89 }
92 90
@@ -94,7 +92,6 @@ func (x *PopupBase) GetPositionX() int {
94 func (x *PopupBase) GetPositionY() int {92 func (x *PopupBase) GetPositionY() int {
95 93
96 cret := XGdkPopupGetPositionY(x.GoPointer())94 cret := XGdkPopupGetPositionY(x.GoPointer())
97-
98 return cret95 return cret
99 }96 }
100 97
@@ -105,7 +102,6 @@ func (x *PopupBase) GetPositionY() int {
105 func (x *PopupBase) GetRectAnchor() Gravity {102 func (x *PopupBase) GetRectAnchor() Gravity {
106 103
107 cret := XGdkPopupGetRectAnchor(x.GoPointer())104 cret := XGdkPopupGetRectAnchor(x.GoPointer())
108-
109 return cret105 return cret
110 }106 }
111 107
@@ -116,7 +112,6 @@ func (x *PopupBase) GetRectAnchor() Gravity {
116 func (x *PopupBase) GetSurfaceAnchor() Gravity {112 func (x *PopupBase) GetSurfaceAnchor() Gravity {
117 113
118 cret := XGdkPopupGetSurfaceAnchor(x.GoPointer())114 cret := XGdkPopupGetSurfaceAnchor(x.GoPointer())
119-
120 return cret115 return cret
121 }116 }
122 117
@@ -138,7 +133,6 @@ func (x *PopupBase) GetSurfaceAnchor() Gravity {
138 func (x *PopupBase) Present(WidthVar int, HeightVar int, LayoutVar *PopupLayout) bool {133 func (x *PopupBase) Present(WidthVar int, HeightVar int, LayoutVar *PopupLayout) bool {
139 134
140 cret := XGdkPopupPresent(x.GoPointer(), WidthVar, HeightVar, LayoutVar)135 cret := XGdkPopupPresent(x.GoPointer(), WidthVar, HeightVar, LayoutVar)
141-
142 return cret136 return cret
143 }137 }
144 138
M v4/gdk/gdkpopuplayout.go +0 -8
@@ -74,7 +74,6 @@ 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-
78 return cret77 return cret
79 }78 }
80 79
@@ -84,7 +83,6 @@ var xPopupLayoutCopy func(uintptr) *PopupLayout
84 func (x *PopupLayout) Copy() *PopupLayout {83 func (x *PopupLayout) Copy() *PopupLayout {
85 84
86 cret := xPopupLayoutCopy(x.GoPointer())85 cret := xPopupLayoutCopy(x.GoPointer())
87-
88 return cret86 return cret
89 }87 }
90 88
@@ -94,7 +92,6 @@ var xPopupLayoutEqual func(uintptr, *PopupLayout) bool
94 func (x *PopupLayout) Equal(OtherVar *PopupLayout) bool {92 func (x *PopupLayout) Equal(OtherVar *PopupLayout) bool {
95 93
96 cret := xPopupLayoutEqual(x.GoPointer(), OtherVar)94 cret := xPopupLayoutEqual(x.GoPointer(), OtherVar)
97-
98 return cret95 return cret
99 }96 }
100 97
@@ -104,7 +101,6 @@ var xPopupLayoutGetAnchorHints func(uintptr) AnchorHints
104 func (x *PopupLayout) GetAnchorHints() AnchorHints {101 func (x *PopupLayout) GetAnchorHints() AnchorHints {
105 102
106 cret := xPopupLayoutGetAnchorHints(x.GoPointer())103 cret := xPopupLayoutGetAnchorHints(x.GoPointer())
107-
108 return cret104 return cret
109 }105 }
110 106
@@ -114,7 +110,6 @@ var xPopupLayoutGetAnchorRect func(uintptr) *Rectangle
114 func (x *PopupLayout) GetAnchorRect() *Rectangle {110 func (x *PopupLayout) GetAnchorRect() *Rectangle {
115 111
116 cret := xPopupLayoutGetAnchorRect(x.GoPointer())112 cret := xPopupLayoutGetAnchorRect(x.GoPointer())
117-
118 return cret113 return cret
119 }114 }
120 115
@@ -133,7 +128,6 @@ var xPopupLayoutGetRectAnchor func(uintptr) Gravity
133 func (x *PopupLayout) GetRectAnchor() Gravity {128 func (x *PopupLayout) GetRectAnchor() Gravity {
134 129
135 cret := xPopupLayoutGetRectAnchor(x.GoPointer())130 cret := xPopupLayoutGetRectAnchor(x.GoPointer())
136-
137 return cret131 return cret
138 }132 }
139 133
@@ -152,7 +146,6 @@ var xPopupLayoutGetSurfaceAnchor func(uintptr) Gravity
152 func (x *PopupLayout) GetSurfaceAnchor() Gravity {146 func (x *PopupLayout) GetSurfaceAnchor() Gravity {
153 147
154 cret := xPopupLayoutGetSurfaceAnchor(x.GoPointer())148 cret := xPopupLayoutGetSurfaceAnchor(x.GoPointer())
155-
156 return cret149 return cret
157 }150 }
158 151
@@ -162,7 +155,6 @@ var xPopupLayoutRef func(uintptr) *PopupLayout
162 func (x *PopupLayout) Ref() *PopupLayout {155 func (x *PopupLayout) Ref() *PopupLayout {
163 156
164 cret := xPopupLayoutRef(x.GoPointer())157 cret := xPopupLayoutRef(x.GoPointer())
165-
166 return cret158 return cret
167 }159 }
168 160
M v4/gdk/gdkrgba.go +0 -7
@@ -48,7 +48,6 @@ 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-
52 return cret51 return cret
53 }52 }
54 53
@@ -58,7 +57,6 @@ var xRGBAEqual func(uintptr, uintptr) bool
58 func (x *RGBA) Equal(P2Var uintptr) bool {57 func (x *RGBA) Equal(P2Var uintptr) bool {
59 58
60 cret := xRGBAEqual(x.GoPointer(), P2Var)59 cret := xRGBAEqual(x.GoPointer(), P2Var)
61-
62 return cret60 return cret
63 }61 }
64 62
@@ -78,7 +76,6 @@ var xRGBAHash func(uintptr) uint
78 func (x *RGBA) Hash() uint {76 func (x *RGBA) Hash() uint {
79 77
80 cret := xRGBAHash(x.GoPointer())78 cret := xRGBAHash(x.GoPointer())
81-
82 return cret79 return cret
83 }80 }
84 81
@@ -90,7 +87,6 @@ var xRGBAIsClear func(uintptr) bool
90 func (x *RGBA) IsClear() bool {87 func (x *RGBA) IsClear() bool {
91 88
92 cret := xRGBAIsClear(x.GoPointer())89 cret := xRGBAIsClear(x.GoPointer())
93-
94 return cret90 return cret
95 }91 }
96 92
@@ -103,7 +99,6 @@ var xRGBAIsOpaque func(uintptr) bool
103 func (x *RGBA) IsOpaque() bool {99 func (x *RGBA) IsOpaque() bool {
104 100
105 cret := xRGBAIsOpaque(x.GoPointer())101 cret := xRGBAIsOpaque(x.GoPointer())
106-
107 return cret102 return cret
108 }103 }
109 104
@@ -132,7 +127,6 @@ var xRGBAParse func(uintptr, string) bool
132 func (x *RGBA) Parse(SpecVar string) bool {127 func (x *RGBA) Parse(SpecVar string) bool {
133 128
134 cret := xRGBAParse(x.GoPointer(), SpecVar)129 cret := xRGBAParse(x.GoPointer(), SpecVar)
135-
136 return cret130 return cret
137 }131 }
138 132
@@ -154,7 +148,6 @@ var xRGBAToString func(uintptr) string
154 func (x *RGBA) ToString() string {148 func (x *RGBA) ToString() string {
155 149
156 cret := xRGBAToString(x.GoPointer())150 cret := xRGBAToString(x.GoPointer())
157-
158 return cret151 return cret
159 }152 }
160 153
M v4/gdk/gdkseat.go +0 -3
@@ -63,7 +63,6 @@ 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-
67 return cret66 return cret
68 }67 }
69 68
@@ -73,7 +72,6 @@ var xSeatGetDevices func(uintptr, SeatCapabilities) *glib.List
73 func (x *Seat) GetDevices(CapabilitiesVar SeatCapabilities) *glib.List {72 func (x *Seat) GetDevices(CapabilitiesVar SeatCapabilities) *glib.List {
74 73
75 cret := xSeatGetDevices(x.GoPointer(), CapabilitiesVar)74 cret := xSeatGetDevices(x.GoPointer(), CapabilitiesVar)
76-
77 return cret75 return cret
78 }76 }
79 77
@@ -134,7 +132,6 @@ var xSeatGetTools func(uintptr) *glib.List
134 func (x *Seat) GetTools() *glib.List {132 func (x *Seat) GetTools() *glib.List {
135 133
136 cret := xSeatGetTools(x.GoPointer())134 cret := xSeatGetTools(x.GoPointer())
137-
138 return cret135 return cret
139 }136 }
140 137
M v4/gdk/gdksurface.go +0 -9
@@ -155,7 +155,6 @@ 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-
159 return cret158 return cret
160 }159 }
161 160
@@ -252,7 +251,6 @@ var xSurfaceGetDevicePosition func(uintptr, uintptr, *float64, *float64, *Modifi
252 func (x *Surface) GetDevicePosition(DeviceVar *Device, XVar *float64, YVar *float64, MaskVar *ModifierType) bool {251 func (x *Surface) GetDevicePosition(DeviceVar *Device, XVar *float64, YVar *float64, MaskVar *ModifierType) bool {
253 252
254 cret := xSurfaceGetDevicePosition(x.GoPointer(), DeviceVar.GoPointer(), XVar, YVar, MaskVar)253 cret := xSurfaceGetDevicePosition(x.GoPointer(), DeviceVar.GoPointer(), XVar, YVar, MaskVar)
255-
256 return cret254 return cret
257 }255 }
258 256
@@ -302,7 +300,6 @@ var xSurfaceGetHeight func(uintptr) int
302 func (x *Surface) GetHeight() int {300 func (x *Surface) GetHeight() int {
303 301
304 cret := xSurfaceGetHeight(x.GoPointer())302 cret := xSurfaceGetHeight(x.GoPointer())
305-
306 return cret303 return cret
307 }304 }
308 305
@@ -315,7 +312,6 @@ var xSurfaceGetMapped func(uintptr) bool
315 func (x *Surface) GetMapped() bool {312 func (x *Surface) GetMapped() bool {
316 313
317 cret := xSurfaceGetMapped(x.GoPointer())314 cret := xSurfaceGetMapped(x.GoPointer())
318-
319 return cret315 return cret
320 }316 }
321 317
@@ -335,7 +331,6 @@ var xSurfaceGetScale func(uintptr) float64
335 func (x *Surface) GetScale() float64 {331 func (x *Surface) GetScale() float64 {
336 332
337 cret := xSurfaceGetScale(x.GoPointer())333 cret := xSurfaceGetScale(x.GoPointer())
338-
339 return cret334 return cret
340 }335 }
341 336
@@ -355,7 +350,6 @@ var xSurfaceGetScaleFactor func(uintptr) int
355 func (x *Surface) GetScaleFactor() int {350 func (x *Surface) GetScaleFactor() int {
356 351
357 cret := xSurfaceGetScaleFactor(x.GoPointer())352 cret := xSurfaceGetScaleFactor(x.GoPointer())
358-
359 return cret353 return cret
360 }354 }
361 355
@@ -368,7 +362,6 @@ var xSurfaceGetWidth func(uintptr) int
368 func (x *Surface) GetWidth() int {362 func (x *Surface) GetWidth() int {
369 363
370 cret := xSurfaceGetWidth(x.GoPointer())364 cret := xSurfaceGetWidth(x.GoPointer())
371-
372 return cret365 return cret
373 }366 }
374 367
@@ -392,7 +385,6 @@ var xSurfaceIsDestroyed func(uintptr) bool
392 func (x *Surface) IsDestroyed() bool {385 func (x *Surface) IsDestroyed() bool {
393 386
394 cret := xSurfaceIsDestroyed(x.GoPointer())387 cret := xSurfaceIsDestroyed(x.GoPointer())
395-
396 return cret388 return cret
397 }389 }
398 390
@@ -505,7 +497,6 @@ var xSurfaceTranslateCoordinates func(uintptr, uintptr, float64, float64) bool
505 func (x *Surface) TranslateCoordinates(ToVar *Surface, XVar float64, YVar float64) bool {497 func (x *Surface) TranslateCoordinates(ToVar *Surface, XVar float64, YVar float64) bool {
506 498
507 cret := xSurfaceTranslateCoordinates(x.GoPointer(), ToVar.GoPointer(), XVar, YVar)499 cret := xSurfaceTranslateCoordinates(x.GoPointer(), ToVar.GoPointer(), XVar, YVar)
508-
509 return cret500 return cret
510 }501 }
511 502
M v4/gdk/gdktexture.go +0 -17
@@ -50,7 +50,6 @@ var xTextureErrorQuark func() glib.Quark
50 func TextureErrorQuark() glib.Quark {50 func TextureErrorQuark() glib.Quark {
51 51
52 cret := xTextureErrorQuark()52 cret := xTextureErrorQuark()
53-
54 return cret53 return cret
55 }54 }
56 55
@@ -292,7 +291,6 @@ var xTextureGetColorState func(uintptr) *ColorState
292 func (x *Texture) GetColorState() *ColorState {291 func (x *Texture) GetColorState() *ColorState {
293 292
294 cret := xTextureGetColorState(x.GoPointer())293 cret := xTextureGetColorState(x.GoPointer())
295-
296 return cret294 return cret
297 }295 }
298 296
@@ -310,7 +308,6 @@ var xTextureGetFormat func(uintptr) MemoryFormat
310 func (x *Texture) GetFormat() MemoryFormat {308 func (x *Texture) GetFormat() MemoryFormat {
311 309
312 cret := xTextureGetFormat(x.GoPointer())310 cret := xTextureGetFormat(x.GoPointer())
313-
314 return cret311 return cret
315 }312 }
316 313
@@ -320,7 +317,6 @@ var xTextureGetHeight func(uintptr) int
320 func (x *Texture) GetHeight() int {317 func (x *Texture) GetHeight() int {
321 318
322 cret := xTextureGetHeight(x.GoPointer())319 cret := xTextureGetHeight(x.GoPointer())
323-
324 return cret320 return cret
325 }321 }
326 322
@@ -330,7 +326,6 @@ var xTextureGetWidth func(uintptr) int
330 func (x *Texture) GetWidth() int {326 func (x *Texture) GetWidth() int {
331 327
332 cret := xTextureGetWidth(x.GoPointer())328 cret := xTextureGetWidth(x.GoPointer())
333-
334 return cret329 return cret
335 }330 }
336 331
@@ -346,7 +341,6 @@ var xTextureSaveToPng func(uintptr, string) bool
346 func (x *Texture) SaveToPng(FilenameVar string) bool {341 func (x *Texture) SaveToPng(FilenameVar string) bool {
347 342
348 cret := xTextureSaveToPng(x.GoPointer(), FilenameVar)343 cret := xTextureSaveToPng(x.GoPointer(), FilenameVar)
349-
350 return cret344 return cret
351 }345 }
352 346
@@ -369,7 +363,6 @@ var xTextureSaveToPngBytes func(uintptr) *glib.Bytes
369 func (x *Texture) SaveToPngBytes() *glib.Bytes {363 func (x *Texture) SaveToPngBytes() *glib.Bytes {
370 364
371 cret := xTextureSaveToPngBytes(x.GoPointer())365 cret := xTextureSaveToPngBytes(x.GoPointer())
372-
373 return cret366 return cret
374 }367 }
375 368
@@ -381,7 +374,6 @@ var xTextureSaveToTiff func(uintptr, string) bool
381 func (x *Texture) SaveToTiff(FilenameVar string) bool {374 func (x *Texture) SaveToTiff(FilenameVar string) bool {
382 375
383 cret := xTextureSaveToTiff(x.GoPointer(), FilenameVar)376 cret := xTextureSaveToTiff(x.GoPointer(), FilenameVar)
384-
385 return cret377 return cret
386 }378 }
387 379
@@ -402,7 +394,6 @@ var xTextureSaveToTiffBytes func(uintptr) *glib.Bytes
402 func (x *Texture) SaveToTiffBytes() *glib.Bytes {394 func (x *Texture) SaveToTiffBytes() *glib.Bytes {
403 395
404 cret := xTextureSaveToTiffBytes(x.GoPointer())396 cret := xTextureSaveToTiffBytes(x.GoPointer())
405-
406 return cret397 return cret
407 }398 }
408 399
@@ -511,7 +502,6 @@ func (x *Texture) GetCurrentImage() *PaintableBase {
511 func (x *Texture) GetFlags() PaintableFlags {502 func (x *Texture) GetFlags() PaintableFlags {
512 503
513 cret := XGdkPaintableGetFlags(x.GoPointer())504 cret := XGdkPaintableGetFlags(x.GoPointer())
514-
515 return cret505 return cret
516 }506 }
517 507
@@ -535,7 +525,6 @@ func (x *Texture) GetFlags() PaintableFlags {
535 func (x *Texture) GetIntrinsicAspectRatio() float64 {525 func (x *Texture) GetIntrinsicAspectRatio() float64 {
536 526
537 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())527 cret := XGdkPaintableGetIntrinsicAspectRatio(x.GoPointer())
538-
539 return cret528 return cret
540 }529 }
541 530
@@ -552,7 +541,6 @@ func (x *Texture) GetIntrinsicAspectRatio() float64 {
552 func (x *Texture) GetIntrinsicHeight() int {541 func (x *Texture) GetIntrinsicHeight() int {
553 542
554 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())543 cret := XGdkPaintableGetIntrinsicHeight(x.GoPointer())
555-
556 return cret544 return cret
557 }545 }
558 546
@@ -569,7 +557,6 @@ func (x *Texture) GetIntrinsicHeight() int {
569 func (x *Texture) GetIntrinsicWidth() int {557 func (x *Texture) GetIntrinsicWidth() int {
570 558
571 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())559 cret := XGdkPaintableGetIntrinsicWidth(x.GoPointer())
572-
573 return cret560 return cret
574 }561 }
575 562
@@ -620,7 +607,6 @@ func (x *Texture) Snapshot(SnapshotVar *Snapshot, WidthVar float64, HeightVar fl
620 func (x *Texture) Equal(Icon2Var gio.Icon) bool {607 func (x *Texture) Equal(Icon2Var gio.Icon) bool {
621 608
622 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())609 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
623-
624 return cret610 return cret
625 }611 }
626 612
@@ -628,7 +614,6 @@ func (x *Texture) Equal(Icon2Var gio.Icon) bool {
628 func (x *Texture) Hash() uint {614 func (x *Texture) Hash() uint {
629 615
630 cret := gio.XGIconHash(x.GoPointer())616 cret := gio.XGIconHash(x.GoPointer())
631-
632 return cret617 return cret
633 }618 }
634 619
@@ -640,7 +625,6 @@ func (x *Texture) Hash() uint {
640 func (x *Texture) Serialize() *glib.Variant {625 func (x *Texture) Serialize() *glib.Variant {
641 626
642 cret := gio.XGIconSerialize(x.GoPointer())627 cret := gio.XGIconSerialize(x.GoPointer())
643-
644 return cret628 return cret
645 }629 }
646 630
@@ -663,7 +647,6 @@ func (x *Texture) Serialize() *glib.Variant {
663 func (x *Texture) ToString() string {647 func (x *Texture) ToString() string {
664 648
665 cret := gio.XGIconToString(x.GoPointer())649 cret := gio.XGIconToString(x.GoPointer())
666-
667 return cret650 return cret
668 }651 }
669 652
M v4/gdk/gdktoplevel.go +0 -8
@@ -106,7 +106,6 @@ 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-
110 return cret109 return cret
111 }110 }
112 111
@@ -115,7 +114,6 @@ func (x *ToplevelBase) GetCapabilities() ToplevelCapabilities {
115 func (x *ToplevelBase) GetGravity() Gravity {114 func (x *ToplevelBase) GetGravity() Gravity {
116 115
117 cret := XGdkToplevelGetGravity(x.GoPointer())116 cret := XGdkToplevelGetGravity(x.GoPointer())
118-
119 return cret117 return cret
120 }118 }
121 119
@@ -124,7 +122,6 @@ func (x *ToplevelBase) GetGravity() Gravity {
124 func (x *ToplevelBase) GetState() ToplevelState {122 func (x *ToplevelBase) GetState() ToplevelState {
125 123
126 cret := XGdkToplevelGetState(x.GoPointer())124 cret := XGdkToplevelGetState(x.GoPointer())
127-
128 return cret125 return cret
129 }126 }
130 127
@@ -161,7 +158,6 @@ func (x *ToplevelBase) InhibitSystemShortcuts(EventVar *Event) {
161 func (x *ToplevelBase) Lower() bool {158 func (x *ToplevelBase) Lower() bool {
162 159
163 cret := XGdkToplevelLower(x.GoPointer())160 cret := XGdkToplevelLower(x.GoPointer())
164-
165 return cret161 return cret
166 }162 }
167 163
@@ -171,7 +167,6 @@ func (x *ToplevelBase) Lower() bool {
171 func (x *ToplevelBase) Minimize() bool {167 func (x *ToplevelBase) Minimize() bool {
172 168
173 cret := XGdkToplevelMinimize(x.GoPointer())169 cret := XGdkToplevelMinimize(x.GoPointer())
174-
175 return cret170 return cret
176 }171 }
177 172
@@ -306,7 +301,6 @@ func (x *ToplevelBase) SetTransientFor(ParentVar *Surface) {
306 func (x *ToplevelBase) ShowWindowMenu(EventVar *Event) bool {301 func (x *ToplevelBase) ShowWindowMenu(EventVar *Event) bool {
307 302
308 cret := XGdkToplevelShowWindowMenu(x.GoPointer(), EventVar.GoPointer())303 cret := XGdkToplevelShowWindowMenu(x.GoPointer(), EventVar.GoPointer())
309-
310 return cret304 return cret
311 }305 }
312 306
@@ -315,7 +309,6 @@ func (x *ToplevelBase) ShowWindowMenu(EventVar *Event) bool {
315 func (x *ToplevelBase) SupportsEdgeConstraints() bool {309 func (x *ToplevelBase) SupportsEdgeConstraints() bool {
316 310
317 cret := XGdkToplevelSupportsEdgeConstraints(x.GoPointer())311 cret := XGdkToplevelSupportsEdgeConstraints(x.GoPointer())
318-
319 return cret312 return cret
320 }313 }
321 314
@@ -323,7 +316,6 @@ func (x *ToplevelBase) SupportsEdgeConstraints() bool {
323 func (x *ToplevelBase) TitlebarGesture(GestureVar TitlebarGesture) bool {316 func (x *ToplevelBase) TitlebarGesture(GestureVar TitlebarGesture) bool {
324 317
325 cret := XGdkToplevelTitlebarGesture(x.GoPointer(), GestureVar)318 cret := XGdkToplevelTitlebarGesture(x.GoPointer(), GestureVar)
326-
327 return cret319 return cret
328 }320 }
329 321
M v4/gdk/gdktoplevellayout.go +0 -7
@@ -46,7 +46,6 @@ var xNewToplevelLayout func() *ToplevelLayout
46 func NewToplevelLayout() *ToplevelLayout {46 func NewToplevelLayout() *ToplevelLayout {
47 47
48 cret := xNewToplevelLayout()48 cret := xNewToplevelLayout()
49-
50 return cret49 return cret
51 }50 }
52 51
@@ -56,7 +55,6 @@ var xToplevelLayoutCopy func(uintptr) *ToplevelLayout
56 func (x *ToplevelLayout) Copy() *ToplevelLayout {55 func (x *ToplevelLayout) Copy() *ToplevelLayout {
57 56
58 cret := xToplevelLayoutCopy(x.GoPointer())57 cret := xToplevelLayoutCopy(x.GoPointer())
59-
60 return cret58 return cret
61 }59 }
62 60
@@ -66,7 +64,6 @@ var xToplevelLayoutEqual func(uintptr, *ToplevelLayout) bool
66 func (x *ToplevelLayout) Equal(OtherVar *ToplevelLayout) bool {64 func (x *ToplevelLayout) Equal(OtherVar *ToplevelLayout) bool {
67 65
68 cret := xToplevelLayoutEqual(x.GoPointer(), OtherVar)66 cret := xToplevelLayoutEqual(x.GoPointer(), OtherVar)
69-
70 return cret67 return cret
71 }68 }
72 69
@@ -78,7 +75,6 @@ var xToplevelLayoutGetFullscreen func(uintptr, *bool) bool
78 func (x *ToplevelLayout) GetFullscreen(FullscreenVar *bool) bool {75 func (x *ToplevelLayout) GetFullscreen(FullscreenVar *bool) bool {
79 76
80 cret := xToplevelLayoutGetFullscreen(x.GoPointer(), FullscreenVar)77 cret := xToplevelLayoutGetFullscreen(x.GoPointer(), FullscreenVar)
81-
82 return cret78 return cret
83 }79 }
84 80
@@ -108,7 +104,6 @@ var xToplevelLayoutGetMaximized func(uintptr, *bool) bool
108 func (x *ToplevelLayout) GetMaximized(MaximizedVar *bool) bool {104 func (x *ToplevelLayout) GetMaximized(MaximizedVar *bool) bool {
109 105
110 cret := xToplevelLayoutGetMaximized(x.GoPointer(), MaximizedVar)106 cret := xToplevelLayoutGetMaximized(x.GoPointer(), MaximizedVar)
111-
112 return cret107 return cret
113 }108 }
114 109
@@ -119,7 +114,6 @@ var xToplevelLayoutGetResizable func(uintptr) bool
119 func (x *ToplevelLayout) GetResizable() bool {114 func (x *ToplevelLayout) GetResizable() bool {
120 115
121 cret := xToplevelLayoutGetResizable(x.GoPointer())116 cret := xToplevelLayoutGetResizable(x.GoPointer())
122-
123 return cret117 return cret
124 }118 }
125 119
@@ -129,7 +123,6 @@ var xToplevelLayoutRef func(uintptr) *ToplevelLayout
129 func (x *ToplevelLayout) Ref() *ToplevelLayout {123 func (x *ToplevelLayout) Ref() *ToplevelLayout {
130 124
131 cret := xToplevelLayoutRef(x.GoPointer())125 cret := xToplevelLayoutRef(x.GoPointer())
132-
133 return cret126 return cret
134 }127 }
135 128
M v4/gdk/gdktypes.go +0 -33
@@ -65,7 +65,6 @@ 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-
69 return cret68 return cret
70 }69 }
71 70
@@ -78,7 +77,6 @@ var xColorStateEquivalent func(uintptr, *ColorState) bool
78 func (x *ColorState) Equivalent(OtherVar *ColorState) bool {77 func (x *ColorState) Equivalent(OtherVar *ColorState) bool {
79 78
80 cret := xColorStateEquivalent(x.GoPointer(), OtherVar)79 cret := xColorStateEquivalent(x.GoPointer(), OtherVar)
81-
82 return cret80 return cret
83 }81 }
84 82
@@ -88,7 +86,6 @@ var xColorStateRef func(uintptr) *ColorState
88 func (x *ColorState) Ref() *ColorState {86 func (x *ColorState) Ref() *ColorState {
89 87
90 cret := xColorStateRef(x.GoPointer())88 cret := xColorStateRef(x.GoPointer())
91-
92 return cret89 return cret
93 }90 }
94 91
@@ -159,7 +156,6 @@ var xNewContentFormats func([]string, uint) *ContentFormats
159 func NewContentFormats(MimeTypesVar []string, NMimeTypesVar uint) *ContentFormats {156 func NewContentFormats(MimeTypesVar []string, NMimeTypesVar uint) *ContentFormats {
160 157
161 cret := xNewContentFormats(MimeTypesVar, NMimeTypesVar)158 cret := xNewContentFormats(MimeTypesVar, NMimeTypesVar)
162-
163 return cret159 return cret
164 }160 }
165 161
@@ -169,7 +165,6 @@ var xNewContentFormatsForGtype func(types.GType) *ContentFormats
169 func NewContentFormatsForGtype(TypeVar types.GType) *ContentFormats {165 func NewContentFormatsForGtype(TypeVar types.GType) *ContentFormats {
170 166
171 cret := xNewContentFormatsForGtype(TypeVar)167 cret := xNewContentFormatsForGtype(TypeVar)
172-
173 return cret168 return cret
174 }169 }
175 170
@@ -179,7 +174,6 @@ var xContentFormatsContainGtype func(uintptr, types.GType) bool
179 func (x *ContentFormats) ContainGtype(TypeVar types.GType) bool {174 func (x *ContentFormats) ContainGtype(TypeVar types.GType) bool {
180 175
181 cret := xContentFormatsContainGtype(x.GoPointer(), TypeVar)176 cret := xContentFormatsContainGtype(x.GoPointer(), TypeVar)
182-
183 return cret177 return cret
184 }178 }
185 179
@@ -189,7 +183,6 @@ var xContentFormatsContainMimeType func(uintptr, string) bool
189 func (x *ContentFormats) ContainMimeType(MimeTypeVar string) bool {183 func (x *ContentFormats) ContainMimeType(MimeTypeVar string) bool {
190 184
191 cret := xContentFormatsContainMimeType(x.GoPointer(), MimeTypeVar)185 cret := xContentFormatsContainMimeType(x.GoPointer(), MimeTypeVar)
192-
193 return cret186 return cret
194 }187 }
195 188
@@ -202,7 +195,6 @@ var xContentFormatsGetGtypes func(uintptr, *uint) uintptr
202 func (x *ContentFormats) GetGtypes(NGtypesVar *uint) uintptr {195 func (x *ContentFormats) GetGtypes(NGtypesVar *uint) uintptr {
203 196
204 cret := xContentFormatsGetGtypes(x.GoPointer(), NGtypesVar)197 cret := xContentFormatsGetGtypes(x.GoPointer(), NGtypesVar)
205-
206 return cret198 return cret
207 }199 }
208 200
@@ -215,7 +207,6 @@ var xContentFormatsGetMimeTypes func(uintptr, *uint) []string
215 func (x *ContentFormats) GetMimeTypes(NMimeTypesVar *uint) []string {207 func (x *ContentFormats) GetMimeTypes(NMimeTypesVar *uint) []string {
216 208
217 cret := xContentFormatsGetMimeTypes(x.GoPointer(), NMimeTypesVar)209 cret := xContentFormatsGetMimeTypes(x.GoPointer(), NMimeTypesVar)
218-
219 return cret210 return cret
220 }211 }
221 212
@@ -225,7 +216,6 @@ var xContentFormatsIsEmpty func(uintptr) bool
225 func (x *ContentFormats) IsEmpty() bool {216 func (x *ContentFormats) IsEmpty() bool {
226 217
227 cret := xContentFormatsIsEmpty(x.GoPointer())218 cret := xContentFormatsIsEmpty(x.GoPointer())
228-
229 return cret219 return cret
230 }220 }
231 221
@@ -235,7 +225,6 @@ var xContentFormatsMatch func(uintptr, *ContentFormats) bool
235 func (x *ContentFormats) Match(SecondVar *ContentFormats) bool {225 func (x *ContentFormats) Match(SecondVar *ContentFormats) bool {
236 226
237 cret := xContentFormatsMatch(x.GoPointer(), SecondVar)227 cret := xContentFormatsMatch(x.GoPointer(), SecondVar)
238-
239 return cret228 return cret
240 }229 }
241 230
@@ -248,7 +237,6 @@ var xContentFormatsMatchGtype func(uintptr, *ContentFormats) types.GType
248 func (x *ContentFormats) MatchGtype(SecondVar *ContentFormats) types.GType {237 func (x *ContentFormats) MatchGtype(SecondVar *ContentFormats) types.GType {
249 238
250 cret := xContentFormatsMatchGtype(x.GoPointer(), SecondVar)239 cret := xContentFormatsMatchGtype(x.GoPointer(), SecondVar)
251-
252 return cret240 return cret
253 }241 }
254 242
@@ -261,7 +249,6 @@ var xContentFormatsMatchMimeType func(uintptr, *ContentFormats) string
261 func (x *ContentFormats) MatchMimeType(SecondVar *ContentFormats) string {249 func (x *ContentFormats) MatchMimeType(SecondVar *ContentFormats) string {
262 250
263 cret := xContentFormatsMatchMimeType(x.GoPointer(), SecondVar)251 cret := xContentFormatsMatchMimeType(x.GoPointer(), SecondVar)
264-
265 return cret252 return cret
266 }253 }
267 254
@@ -283,7 +270,6 @@ var xContentFormatsRef func(uintptr) *ContentFormats
283 func (x *ContentFormats) Ref() *ContentFormats {270 func (x *ContentFormats) Ref() *ContentFormats {
284 271
285 cret := xContentFormatsRef(x.GoPointer())272 cret := xContentFormatsRef(x.GoPointer())
286-
287 return cret273 return cret
288 }274 }
289 275
@@ -298,7 +284,6 @@ var xContentFormatsToString func(uintptr) string
298 func (x *ContentFormats) ToString() string {284 func (x *ContentFormats) ToString() string {
299 285
300 cret := xContentFormatsToString(x.GoPointer())286 cret := xContentFormatsToString(x.GoPointer())
301-
302 return cret287 return cret
303 }288 }
304 289
@@ -309,7 +294,6 @@ var xContentFormatsUnion func(uintptr, *ContentFormats) *ContentFormats
309 func (x *ContentFormats) Union(SecondVar *ContentFormats) *ContentFormats {294 func (x *ContentFormats) Union(SecondVar *ContentFormats) *ContentFormats {
310 295
311 cret := xContentFormatsUnion(x.GoPointer(), SecondVar)296 cret := xContentFormatsUnion(x.GoPointer(), SecondVar)
312-
313 return cret297 return cret
314 }298 }
315 299
@@ -320,7 +304,6 @@ var xContentFormatsUnionDeserializeGtypes func(uintptr) *ContentFormats
320 func (x *ContentFormats) UnionDeserializeGtypes() *ContentFormats {304 func (x *ContentFormats) UnionDeserializeGtypes() *ContentFormats {
321 305
322 cret := xContentFormatsUnionDeserializeGtypes(x.GoPointer())306 cret := xContentFormatsUnionDeserializeGtypes(x.GoPointer())
323-
324 return cret307 return cret
325 }308 }
326 309
@@ -331,7 +314,6 @@ var xContentFormatsUnionDeserializeMimeTypes func(uintptr) *ContentFormats
331 func (x *ContentFormats) UnionDeserializeMimeTypes() *ContentFormats {314 func (x *ContentFormats) UnionDeserializeMimeTypes() *ContentFormats {
332 315
333 cret := xContentFormatsUnionDeserializeMimeTypes(x.GoPointer())316 cret := xContentFormatsUnionDeserializeMimeTypes(x.GoPointer())
334-
335 return cret317 return cret
336 }318 }
337 319
@@ -342,7 +324,6 @@ var xContentFormatsUnionSerializeGtypes func(uintptr) *ContentFormats
342 func (x *ContentFormats) UnionSerializeGtypes() *ContentFormats {324 func (x *ContentFormats) UnionSerializeGtypes() *ContentFormats {
343 325
344 cret := xContentFormatsUnionSerializeGtypes(x.GoPointer())326 cret := xContentFormatsUnionSerializeGtypes(x.GoPointer())
345-
346 return cret327 return cret
347 }328 }
348 329
@@ -353,7 +334,6 @@ var xContentFormatsUnionSerializeMimeTypes func(uintptr) *ContentFormats
353 func (x *ContentFormats) UnionSerializeMimeTypes() *ContentFormats {334 func (x *ContentFormats) UnionSerializeMimeTypes() *ContentFormats {
354 335
355 cret := xContentFormatsUnionSerializeMimeTypes(x.GoPointer())336 cret := xContentFormatsUnionSerializeMimeTypes(x.GoPointer())
356-
357 return cret337 return cret
358 }338 }
359 339
@@ -407,7 +387,6 @@ var xDmabufFormatsContains func(uintptr, uint32, uint64) bool
407 func (x *DmabufFormats) Contains(FourccVar uint32, ModifierVar uint64) bool {387 func (x *DmabufFormats) Contains(FourccVar uint32, ModifierVar uint64) bool {
408 388
409 cret := xDmabufFormatsContains(x.GoPointer(), FourccVar, ModifierVar)389 cret := xDmabufFormatsContains(x.GoPointer(), FourccVar, ModifierVar)
410-
411 return cret390 return cret
412 }391 }
413 392
@@ -418,7 +397,6 @@ var xDmabufFormatsEqual func(uintptr, *DmabufFormats) bool
418 func (x *DmabufFormats) Equal(Formats2Var *DmabufFormats) bool {397 func (x *DmabufFormats) Equal(Formats2Var *DmabufFormats) bool {
419 398
420 cret := xDmabufFormatsEqual(x.GoPointer(), Formats2Var)399 cret := xDmabufFormatsEqual(x.GoPointer(), Formats2Var)
421-
422 return cret400 return cret
423 }401 }
424 402
@@ -443,7 +421,6 @@ var xDmabufFormatsGetNFormats func(uintptr) uint
443 func (x *DmabufFormats) GetNFormats() uint {421 func (x *DmabufFormats) GetNFormats() uint {
444 422
445 cret := xDmabufFormatsGetNFormats(x.GoPointer())423 cret := xDmabufFormatsGetNFormats(x.GoPointer())
446-
447 return cret424 return cret
448 }425 }
449 426
@@ -453,7 +430,6 @@ var xDmabufFormatsRef func(uintptr) *DmabufFormats
453 func (x *DmabufFormats) Ref() *DmabufFormats {430 func (x *DmabufFormats) Ref() *DmabufFormats {
454 431
455 cret := xDmabufFormatsRef(x.GoPointer())432 cret := xDmabufFormatsRef(x.GoPointer())
456-
457 return cret433 return cret
458 }434 }
459 435
@@ -527,7 +503,6 @@ var xRectangleContainsPoint func(uintptr, int, int) bool
527 func (x *Rectangle) ContainsPoint(XVar int, YVar int) bool {503 func (x *Rectangle) ContainsPoint(XVar int, YVar int) bool {
528 504
529 cret := xRectangleContainsPoint(x.GoPointer(), XVar, YVar)505 cret := xRectangleContainsPoint(x.GoPointer(), XVar, YVar)
530-
531 return cret506 return cret
532 }507 }
533 508
@@ -537,7 +512,6 @@ var xRectangleEqual func(uintptr, *Rectangle) bool
537 func (x *Rectangle) Equal(Rect2Var *Rectangle) bool {512 func (x *Rectangle) Equal(Rect2Var *Rectangle) bool {
538 513
539 cret := xRectangleEqual(x.GoPointer(), Rect2Var)514 cret := xRectangleEqual(x.GoPointer(), Rect2Var)
540-
541 return cret515 return cret
542 }516 }
543 517
@@ -553,7 +527,6 @@ var xRectangleIntersect func(uintptr, *Rectangle, *Rectangle) bool
553 func (x *Rectangle) Intersect(Src2Var *Rectangle, DestVar *Rectangle) bool {527 func (x *Rectangle) Intersect(Src2Var *Rectangle, DestVar *Rectangle) bool {
554 528
555 cret := xRectangleIntersect(x.GoPointer(), Src2Var, DestVar)529 cret := xRectangleIntersect(x.GoPointer(), Src2Var, DestVar)
556-
557 return cret530 return cret
558 }531 }
559 532
@@ -605,7 +578,6 @@ var xNewTextureDownloader func(uintptr) *TextureDownloader
605 func NewTextureDownloader(TextureVar *Texture) *TextureDownloader {578 func NewTextureDownloader(TextureVar *Texture) *TextureDownloader {
606 579
607 cret := xNewTextureDownloader(TextureVar.GoPointer())580 cret := xNewTextureDownloader(TextureVar.GoPointer())
608-
609 return cret581 return cret
610 }582 }
611 583
@@ -617,7 +589,6 @@ var xTextureDownloaderCopy func(uintptr) *TextureDownloader
617 func (x *TextureDownloader) Copy() *TextureDownloader {589 func (x *TextureDownloader) Copy() *TextureDownloader {
618 590
619 cret := xTextureDownloaderCopy(x.GoPointer())591 cret := xTextureDownloaderCopy(x.GoPointer())
620-
621 return cret592 return cret
622 }593 }
623 594
@@ -636,7 +607,6 @@ var xTextureDownloaderDownloadBytes func(uintptr, *uint) *glib.Bytes
636 func (x *TextureDownloader) DownloadBytes(OutStrideVar *uint) *glib.Bytes {607 func (x *TextureDownloader) DownloadBytes(OutStrideVar *uint) *glib.Bytes {
637 608
638 cret := xTextureDownloaderDownloadBytes(x.GoPointer(), OutStrideVar)609 cret := xTextureDownloaderDownloadBytes(x.GoPointer(), OutStrideVar)
639-
640 return cret610 return cret
641 }611 }
642 612
@@ -650,7 +620,6 @@ var xTextureDownloaderDownloadBytesWithPlanes func(uintptr, *[4]uint, *[4]uint)
650 func (x *TextureDownloader) DownloadBytesWithPlanes(OutOffsetsVar *[4]uint, OutStridesVar *[4]uint) *glib.Bytes {620 func (x *TextureDownloader) DownloadBytesWithPlanes(OutOffsetsVar *[4]uint, OutStridesVar *[4]uint) *glib.Bytes {
651 621
652 cret := xTextureDownloaderDownloadBytesWithPlanes(x.GoPointer(), OutOffsetsVar, OutStridesVar)622 cret := xTextureDownloaderDownloadBytesWithPlanes(x.GoPointer(), OutOffsetsVar, OutStridesVar)
653-
654 return cret623 return cret
655 }624 }
656 625
@@ -680,7 +649,6 @@ var xTextureDownloaderGetColorState func(uintptr) *ColorState
680 func (x *TextureDownloader) GetColorState() *ColorState {649 func (x *TextureDownloader) GetColorState() *ColorState {
681 650
682 cret := xTextureDownloaderGetColorState(x.GoPointer())651 cret := xTextureDownloaderGetColorState(x.GoPointer())
683-
684 return cret652 return cret
685 }653 }
686 654
@@ -690,7 +658,6 @@ var xTextureDownloaderGetFormat func(uintptr) MemoryFormat
690 func (x *TextureDownloader) GetFormat() MemoryFormat {658 func (x *TextureDownloader) GetFormat() MemoryFormat {
691 659
692 cret := xTextureDownloaderGetFormat(x.GoPointer())660 cret := xTextureDownloaderGetFormat(x.GoPointer())
693-
694 return cret661 return cret
695 }662 }
696 663
M v4/gdk/gdkvulkancontext.go +0 -1
@@ -17,7 +17,6 @@ var xVulkanErrorQuark func() glib.Quark
17 func VulkanErrorQuark() glib.Quark {17 func VulkanErrorQuark() glib.Quark {
18 18
19 cret := xVulkanErrorQuark()19 cret := xVulkanErrorQuark()
20-
21 return cret20 return cret
22 }21 }
23 22
M v4/gdkpixbuf/gdk-pixbuf-animation.go +0 -6
@@ -438,7 +438,6 @@ 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-
442 return cret441 return cret
443 }442 }
444 443
@@ -524,7 +523,6 @@ var xPixbufAnimationGetWidth func(uintptr) int
524 func (x *PixbufAnimation) GetWidth() int {523 func (x *PixbufAnimation) GetWidth() int {
525 524
526 cret := xPixbufAnimationGetWidth(x.GoPointer())525 cret := xPixbufAnimationGetWidth(x.GoPointer())
527-
528 return cret526 return cret
529 }527 }
530 528
@@ -539,7 +537,6 @@ var xPixbufAnimationIsStaticImage func(uintptr) bool
539 func (x *PixbufAnimation) IsStaticImage() bool {537 func (x *PixbufAnimation) IsStaticImage() bool {
540 538
541 cret := xPixbufAnimationIsStaticImage(x.GoPointer())539 cret := xPixbufAnimationIsStaticImage(x.GoPointer())
542-
543 return cret540 return cret
544 }541 }
545 542
@@ -654,7 +651,6 @@ var xPixbufAnimationIterAdvance func(uintptr, *glib.TimeVal) bool
654 func (x *PixbufAnimationIter) Advance(CurrentTimeVar *glib.TimeVal) bool {651 func (x *PixbufAnimationIter) Advance(CurrentTimeVar *glib.TimeVal) bool {
655 652
656 cret := xPixbufAnimationIterAdvance(x.GoPointer(), CurrentTimeVar)653 cret := xPixbufAnimationIterAdvance(x.GoPointer(), CurrentTimeVar)
657-
658 return cret654 return cret
659 }655 }
660 656
@@ -672,7 +668,6 @@ var xPixbufAnimationIterGetDelayTime func(uintptr) int
672 func (x *PixbufAnimationIter) GetDelayTime() int {668 func (x *PixbufAnimationIter) GetDelayTime() int {
673 669
674 cret := xPixbufAnimationIterGetDelayTime(x.GoPointer())670 cret := xPixbufAnimationIterGetDelayTime(x.GoPointer())
675-
676 return cret671 return cret
677 }672 }
678 673
@@ -718,7 +713,6 @@ var xPixbufAnimationIterOnCurrentlyLoadingFrame func(uintptr) bool
718 func (x *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool {713 func (x *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool {
719 714
720 cret := xPixbufAnimationIterOnCurrentlyLoadingFrame(x.GoPointer())715 cret := xPixbufAnimationIterOnCurrentlyLoadingFrame(x.GoPointer())
721-
722 return cret716 return cret
723 }717 }
724 718
M v4/gdkpixbuf/gdk-pixbuf-io.go +0 -10
@@ -143,7 +143,6 @@ 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-
147 return cret146 return cret
148 }147 }
149 148
@@ -163,7 +162,6 @@ var xPixbufFormatGetDescription func(uintptr) string
163 func (x *PixbufFormat) GetDescription() string {162 func (x *PixbufFormat) GetDescription() string {
164 163
165 cret := xPixbufFormatGetDescription(x.GoPointer())164 cret := xPixbufFormatGetDescription(x.GoPointer())
166-
167 return cret165 return cret
168 }166 }
169 167
@@ -174,7 +172,6 @@ var xPixbufFormatGetExtensions func(uintptr) []string
174 func (x *PixbufFormat) GetExtensions() []string {172 func (x *PixbufFormat) GetExtensions() []string {
175 173
176 cret := xPixbufFormatGetExtensions(x.GoPointer())174 cret := xPixbufFormatGetExtensions(x.GoPointer())
177-
178 return cret175 return cret
179 }176 }
180 177
@@ -187,7 +184,6 @@ var xPixbufFormatGetLicense func(uintptr) string
187 func (x *PixbufFormat) GetLicense() string {184 func (x *PixbufFormat) GetLicense() string {
188 185
189 cret := xPixbufFormatGetLicense(x.GoPointer())186 cret := xPixbufFormatGetLicense(x.GoPointer())
190-
191 return cret187 return cret
192 }188 }
193 189
@@ -197,7 +193,6 @@ var xPixbufFormatGetMimeTypes func(uintptr) []string
197 func (x *PixbufFormat) GetMimeTypes() []string {193 func (x *PixbufFormat) GetMimeTypes() []string {
198 194
199 cret := xPixbufFormatGetMimeTypes(x.GoPointer())195 cret := xPixbufFormatGetMimeTypes(x.GoPointer())
200-
201 return cret196 return cret
202 }197 }
203 198
@@ -207,7 +202,6 @@ var xPixbufFormatGetName func(uintptr) string
207 func (x *PixbufFormat) GetName() string {202 func (x *PixbufFormat) GetName() string {
208 203
209 cret := xPixbufFormatGetName(x.GoPointer())204 cret := xPixbufFormatGetName(x.GoPointer())
210-
211 return cret205 return cret
212 }206 }
213 207
@@ -219,7 +213,6 @@ var xPixbufFormatIsDisabled func(uintptr) bool
219 func (x *PixbufFormat) IsDisabled() bool {213 func (x *PixbufFormat) IsDisabled() bool {
220 214
221 cret := xPixbufFormatIsDisabled(x.GoPointer())215 cret := xPixbufFormatIsDisabled(x.GoPointer())
222-
223 return cret216 return cret
224 }217 }
225 218
@@ -232,7 +225,6 @@ var xPixbufFormatIsSaveOptionSupported func(uintptr, string) bool
232 func (x *PixbufFormat) IsSaveOptionSupported(OptionKeyVar string) bool {225 func (x *PixbufFormat) IsSaveOptionSupported(OptionKeyVar string) bool {
233 226
234 cret := xPixbufFormatIsSaveOptionSupported(x.GoPointer(), OptionKeyVar)227 cret := xPixbufFormatIsSaveOptionSupported(x.GoPointer(), OptionKeyVar)
235-
236 return cret228 return cret
237 }229 }
238 230
@@ -246,7 +238,6 @@ var xPixbufFormatIsScalable func(uintptr) bool
246 func (x *PixbufFormat) IsScalable() bool {238 func (x *PixbufFormat) IsScalable() bool {
247 239
248 cret := xPixbufFormatIsScalable(x.GoPointer())240 cret := xPixbufFormatIsScalable(x.GoPointer())
249-
250 return cret241 return cret
251 }242 }
252 243
@@ -256,7 +247,6 @@ var xPixbufFormatIsWritable func(uintptr) bool
256 func (x *PixbufFormat) IsWritable() bool {247 func (x *PixbufFormat) IsWritable() bool {
257 248
258 cret := xPixbufFormatIsWritable(x.GoPointer())249 cret := xPixbufFormatIsWritable(x.GoPointer())
259-
260 return cret250 return cret
261 }251 }
262 252
M v4/gdkpixbuf/gdk-pixbuf-loader.go +0 -4
@@ -289,7 +289,6 @@ 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-
293 if cerr == nil {292 if cerr == nil {
294 return cret, nil293 return cret, nil
295 }294 }
@@ -328,7 +327,6 @@ var xPixbufLoaderGetFormat func(uintptr) *PixbufFormat
328 func (x *PixbufLoader) GetFormat() *PixbufFormat {327 func (x *PixbufLoader) GetFormat() *PixbufFormat {
329 328
330 cret := xPixbufLoaderGetFormat(x.GoPointer())329 cret := xPixbufLoaderGetFormat(x.GoPointer())
331-
332 return cret330 return cret
333 }331 }
334 332
@@ -386,7 +384,6 @@ func (x *PixbufLoader) Write(BufVar []byte, CountVar uint) (bool, error) {
386 var cerr *glib.Error384 var cerr *glib.Error
387 385
388 cret := xPixbufLoaderWrite(x.GoPointer(), BufVar, CountVar, &cerr)386 cret := xPixbufLoaderWrite(x.GoPointer(), BufVar, CountVar, &cerr)
389-
390 if cerr == nil {387 if cerr == nil {
391 return cret, nil388 return cret, nil
392 }389 }
@@ -401,7 +398,6 @@ func (x *PixbufLoader) WriteBytes(BufferVar *glib.Bytes) (bool, error) {
401 var cerr *glib.Error398 var cerr *glib.Error
402 399
403 cret := xPixbufLoaderWriteBytes(x.GoPointer(), BufferVar, &cerr)400 cret := xPixbufLoaderWriteBytes(x.GoPointer(), BufferVar, &cerr)
404-
405 if cerr == nil {401 if cerr == nil {
406 return cret, nil402 return cret, nil
407 }403 }
M v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +0 -1
@@ -69,7 +69,6 @@ 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-
73 return cret72 return cret
74 }73 }
75 74
M v4/gdkpixbuf/gdk-pixbuf.go +0 -35
@@ -740,7 +740,6 @@ 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-
744 return cret743 return cret
745 }744 }
746 745
@@ -780,7 +779,6 @@ var xPixbufGetBitsPerSample func(uintptr) int
780 func (x *Pixbuf) GetBitsPerSample() int {779 func (x *Pixbuf) GetBitsPerSample() int {
781 780
782 cret := xPixbufGetBitsPerSample(x.GoPointer())781 cret := xPixbufGetBitsPerSample(x.GoPointer())
783-
784 return cret782 return cret
785 }783 }
786 784
@@ -790,7 +788,6 @@ var xPixbufGetByteLength func(uintptr) uint
790 func (x *Pixbuf) GetByteLength() uint {788 func (x *Pixbuf) GetByteLength() uint {
791 789
792 cret := xPixbufGetByteLength(x.GoPointer())790 cret := xPixbufGetByteLength(x.GoPointer())
793-
794 return cret791 return cret
795 }792 }
796 793
@@ -800,7 +797,6 @@ var xPixbufGetColorspace func(uintptr) Colorspace
800 func (x *Pixbuf) GetColorspace() Colorspace {797 func (x *Pixbuf) GetColorspace() Colorspace {
801 798
802 cret := xPixbufGetColorspace(x.GoPointer())799 cret := xPixbufGetColorspace(x.GoPointer())
803-
804 return cret800 return cret
805 }801 }
806 802
@@ -810,7 +806,6 @@ var xPixbufGetHasAlpha func(uintptr) bool
810 func (x *Pixbuf) GetHasAlpha() bool {806 func (x *Pixbuf) GetHasAlpha() bool {
811 807
812 cret := xPixbufGetHasAlpha(x.GoPointer())808 cret := xPixbufGetHasAlpha(x.GoPointer())
813-
814 return cret809 return cret
815 }810 }
816 811
@@ -820,7 +815,6 @@ var xPixbufGetHeight func(uintptr) int
820 func (x *Pixbuf) GetHeight() int {815 func (x *Pixbuf) GetHeight() int {
821 816
822 cret := xPixbufGetHeight(x.GoPointer())817 cret := xPixbufGetHeight(x.GoPointer())
823-
824 return cret818 return cret
825 }819 }
826 820
@@ -830,7 +824,6 @@ var xPixbufGetNChannels func(uintptr) int
830 func (x *Pixbuf) GetNChannels() int {824 func (x *Pixbuf) GetNChannels() int {
831 825
832 cret := xPixbufGetNChannels(x.GoPointer())826 cret := xPixbufGetNChannels(x.GoPointer())
833-
834 return cret827 return cret
835 }828 }
836 829
@@ -854,7 +847,6 @@ var xPixbufGetOption func(uintptr, string) string
854 func (x *Pixbuf) GetOption(KeyVar string) string {847 func (x *Pixbuf) GetOption(KeyVar string) string {
855 848
856 cret := xPixbufGetOption(x.GoPointer(), KeyVar)849 cret := xPixbufGetOption(x.GoPointer(), KeyVar)
857-
858 return cret850 return cret
859 }851 }
860 852
@@ -866,7 +858,6 @@ var xPixbufGetOptions func(uintptr) *glib.HashTable
866 func (x *Pixbuf) GetOptions() *glib.HashTable {858 func (x *Pixbuf) GetOptions() *glib.HashTable {
867 859
868 cret := xPixbufGetOptions(x.GoPointer())860 cret := xPixbufGetOptions(x.GoPointer())
869-
870 return cret861 return cret
871 }862 }
872 863
@@ -882,7 +873,6 @@ var xPixbufGetPixels func(uintptr) uintptr
882 func (x *Pixbuf) GetPixels() uintptr {873 func (x *Pixbuf) GetPixels() uintptr {
883 874
884 cret := xPixbufGetPixels(x.GoPointer())875 cret := xPixbufGetPixels(x.GoPointer())
885-
886 return cret876 return cret
887 }877 }
888 878
@@ -898,7 +888,6 @@ var xPixbufGetPixelsWithLength func(uintptr, *uint) uintptr
898 func (x *Pixbuf) GetPixelsWithLength(LengthVar *uint) uintptr {888 func (x *Pixbuf) GetPixelsWithLength(LengthVar *uint) uintptr {
899 889
900 cret := xPixbufGetPixelsWithLength(x.GoPointer(), LengthVar)890 cret := xPixbufGetPixelsWithLength(x.GoPointer(), LengthVar)
901-
902 return cret891 return cret
903 }892 }
904 893
@@ -909,7 +898,6 @@ var xPixbufGetRowstride func(uintptr) int
909 func (x *Pixbuf) GetRowstride() int {898 func (x *Pixbuf) GetRowstride() int {
910 899
911 cret := xPixbufGetRowstride(x.GoPointer())900 cret := xPixbufGetRowstride(x.GoPointer())
912-
913 return cret901 return cret
914 }902 }
915 903
@@ -919,7 +907,6 @@ var xPixbufGetWidth func(uintptr) int
919 func (x *Pixbuf) GetWidth() int {907 func (x *Pixbuf) GetWidth() int {
920 908
921 cret := xPixbufGetWidth(x.GoPointer())909 cret := xPixbufGetWidth(x.GoPointer())
922-
923 return cret910 return cret
924 }911 }
925 912
@@ -957,7 +944,6 @@ var xPixbufReadPixelBytes func(uintptr) *glib.Bytes
957 func (x *Pixbuf) ReadPixelBytes() *glib.Bytes {944 func (x *Pixbuf) ReadPixelBytes() *glib.Bytes {
958 945
959 cret := xPixbufReadPixelBytes(x.GoPointer())946 cret := xPixbufReadPixelBytes(x.GoPointer())
960-
961 return cret947 return cret
962 }948 }
963 949
@@ -970,7 +956,6 @@ var xPixbufReadPixels func(uintptr) byte
970 func (x *Pixbuf) ReadPixels() byte {956 func (x *Pixbuf) ReadPixels() byte {
971 957
972 cret := xPixbufReadPixels(x.GoPointer())958 cret := xPixbufReadPixels(x.GoPointer())
973-
974 return cret959 return cret
975 }960 }
976 961
@@ -996,7 +981,6 @@ var xPixbufRemoveOption func(uintptr, string) bool
996 func (x *Pixbuf) RemoveOption(KeyVar string) bool {981 func (x *Pixbuf) RemoveOption(KeyVar string) bool {
997 982
998 cret := xPixbufRemoveOption(x.GoPointer(), KeyVar)983 cret := xPixbufRemoveOption(x.GoPointer(), KeyVar)
999-
1000 return cret984 return cret
1001 }985 }
1002 986
@@ -1118,7 +1102,6 @@ var xPixbufSave func(uintptr, string, string, **glib.Error, ...interface{}) bool
1118 func (x *Pixbuf) Save(FilenameVar string, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {1102 func (x *Pixbuf) Save(FilenameVar string, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {
1119 1103
1120 cret := xPixbufSave(x.GoPointer(), FilenameVar, TypeVar, ErrorVar, varArgs...)1104 cret := xPixbufSave(x.GoPointer(), FilenameVar, TypeVar, ErrorVar, varArgs...)
1121-
1122 return cret1105 return cret
1123 }1106 }
1124 1107
@@ -1141,7 +1124,6 @@ var xPixbufSaveToBuffer func(uintptr, *[]byte, *uint, string, **glib.Error, ...i
1141 func (x *Pixbuf) SaveToBuffer(BufferVar *[]byte, BufferSizeVar *uint, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {1124 func (x *Pixbuf) SaveToBuffer(BufferVar *[]byte, BufferSizeVar *uint, TypeVar string, ErrorVar **glib.Error, varArgs ...interface{}) bool {
1142 1125
1143 cret := xPixbufSaveToBuffer(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, ErrorVar, varArgs...)1126 cret := xPixbufSaveToBuffer(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, ErrorVar, varArgs...)
1144-
1145 return cret1127 return cret
1146 }1128 }
1147 1129
@@ -1157,7 +1139,6 @@ func (x *Pixbuf) SaveToBufferv(BufferVar *[]byte, BufferSizeVar *uint, TypeVar s
1157 var cerr *glib.Error1139 var cerr *glib.Error
1158 1140
1159 cret := xPixbufSaveToBufferv(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)1141 cret := xPixbufSaveToBufferv(x.GoPointer(), BufferVar, BufferSizeVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)
1160-
1161 if cerr == nil {1142 if cerr == nil {
1162 return cret, nil1143 return cret, nil
1163 }1144 }
@@ -1196,7 +1177,6 @@ func (x *Pixbuf) SaveToCallback(SaveFuncVar *PixbufSaveFunc, UserDataVar uintptr
1196 }1177 }
1197 1178
1198 cret := xPixbufSaveToCallback(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, ErrorVar, varArgs...)1179 cret := xPixbufSaveToCallback(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, ErrorVar, varArgs...)
1199-
1200 return cret1180 return cret
1201 }1181 }
1202 1182
@@ -1229,7 +1209,6 @@ func (x *Pixbuf) SaveToCallbackv(SaveFuncVar *PixbufSaveFunc, UserDataVar uintpt
1229 }1209 }
1230 1210
1231 cret := xPixbufSaveToCallbackv(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)1211 cret := xPixbufSaveToCallbackv(x.GoPointer(), SaveFuncVarRef, UserDataVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)
1232-
1233 if cerr == nil {1212 if cerr == nil {
1234 return cret, nil1213 return cret, nil
1235 }1214 }
@@ -1253,7 +1232,6 @@ var xPixbufSaveToStream func(uintptr, uintptr, string, uintptr, **glib.Error, ..
1253 func (x *Pixbuf) SaveToStream(StreamVar *gio.OutputStream, TypeVar string, CancellableVar *gio.Cancellable, ErrorVar **glib.Error, varArgs ...interface{}) bool {1232 func (x *Pixbuf) SaveToStream(StreamVar *gio.OutputStream, TypeVar string, CancellableVar *gio.Cancellable, ErrorVar **glib.Error, varArgs ...interface{}) bool {
1254 1233
1255 cret := xPixbufSaveToStream(x.GoPointer(), StreamVar.GoPointer(), TypeVar, CancellableVar.GoPointer(), ErrorVar, varArgs...)1234 cret := xPixbufSaveToStream(x.GoPointer(), StreamVar.GoPointer(), TypeVar, CancellableVar.GoPointer(), ErrorVar, varArgs...)
1256-
1257 return cret1235 return cret
1258 }1236 }
1259 1237
@@ -1301,7 +1279,6 @@ func (x *Pixbuf) SaveToStreamv(StreamVar *gio.OutputStream, TypeVar string, Opti
1301 var cerr *glib.Error1279 var cerr *glib.Error
1302 1280
1303 cret := xPixbufSaveToStreamv(x.GoPointer(), StreamVar.GoPointer(), TypeVar, OptionKeysVar, OptionValuesVar, CancellableVar.GoPointer(), &cerr)1281 cret := xPixbufSaveToStreamv(x.GoPointer(), StreamVar.GoPointer(), TypeVar, OptionKeysVar, OptionValuesVar, CancellableVar.GoPointer(), &cerr)
1304-
1305 if cerr == nil {1282 if cerr == nil {
1306 return cret, nil1283 return cret, nil
1307 }1284 }
@@ -1354,7 +1331,6 @@ func (x *Pixbuf) Savev(FilenameVar string, TypeVar string, OptionKeysVar []strin
1354 var cerr *glib.Error1331 var cerr *glib.Error
1355 1332
1356 cret := xPixbufSavev(x.GoPointer(), FilenameVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)1333 cret := xPixbufSavev(x.GoPointer(), FilenameVar, TypeVar, OptionKeysVar, OptionValuesVar, &cerr)
1357-
1358 if cerr == nil {1334 if cerr == nil {
1359 return cret, nil1335 return cret, nil
1360 }1336 }
@@ -1425,7 +1401,6 @@ var xPixbufSetOption func(uintptr, string, string) bool
1425 func (x *Pixbuf) SetOption(KeyVar string, ValueVar string) bool {1401 func (x *Pixbuf) SetOption(KeyVar string, ValueVar string) bool {
1426 1402
1427 cret := xPixbufSetOption(x.GoPointer(), KeyVar, ValueVar)1403 cret := xPixbufSetOption(x.GoPointer(), KeyVar, ValueVar)
1428-
1429 return cret1404 return cret
1430 }1405 }
1431 1406
@@ -1603,7 +1578,6 @@ func (x *Pixbuf) GetPropertyWidth() int {
1603 func (x *Pixbuf) Equal(Icon2Var gio.Icon) bool {1578 func (x *Pixbuf) Equal(Icon2Var gio.Icon) bool {
1604 1579
1605 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())1580 cret := gio.XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
1606-
1607 return cret1581 return cret
1608 }1582 }
1609 1583
@@ -1611,7 +1585,6 @@ func (x *Pixbuf) Equal(Icon2Var gio.Icon) bool {
1611 func (x *Pixbuf) Hash() uint {1585 func (x *Pixbuf) Hash() uint {
1612 1586
1613 cret := gio.XGIconHash(x.GoPointer())1587 cret := gio.XGIconHash(x.GoPointer())
1614-
1615 return cret1588 return cret
1616 }1589 }
1617 1590
@@ -1623,7 +1596,6 @@ func (x *Pixbuf) Hash() uint {
1623 func (x *Pixbuf) Serialize() *glib.Variant {1596 func (x *Pixbuf) Serialize() *glib.Variant {
1624 1597
1625 cret := gio.XGIconSerialize(x.GoPointer())1598 cret := gio.XGIconSerialize(x.GoPointer())
1626-
1627 return cret1599 return cret
1628 }1600 }
1629 1601
@@ -1646,7 +1618,6 @@ func (x *Pixbuf) Serialize() *glib.Variant {
1646 func (x *Pixbuf) ToString() string {1618 func (x *Pixbuf) ToString() string {
1647 1619
1648 cret := gio.XGIconToString(x.GoPointer())1620 cret := gio.XGIconToString(x.GoPointer())
1649-
1650 return cret1621 return cret
1651 }1622 }
1652 1623
@@ -1708,7 +1679,6 @@ var xPixbufCalculateRowstride func(Colorspace, bool, int, int, int) int
1708 func PixbufCalculateRowstride(ColorspaceVar Colorspace, HasAlphaVar bool, BitsPerSampleVar int, WidthVar int, HeightVar int) int {1679 func PixbufCalculateRowstride(ColorspaceVar Colorspace, HasAlphaVar bool, BitsPerSampleVar int, WidthVar int, HeightVar int) int {
1709 1680
1710 cret := xPixbufCalculateRowstride(ColorspaceVar, HasAlphaVar, BitsPerSampleVar, WidthVar, HeightVar)1681 cret := xPixbufCalculateRowstride(ColorspaceVar, HasAlphaVar, BitsPerSampleVar, WidthVar, HeightVar)
1711-
1712 return cret1682 return cret
1713 }1683 }
1714 1684
@@ -1718,7 +1688,6 @@ var xPixbufGetFileInfo func(string, *int, *int) *PixbufFormat
1718 func PixbufGetFileInfo(FilenameVar string, WidthVar *int, HeightVar *int) *PixbufFormat {1688 func PixbufGetFileInfo(FilenameVar string, WidthVar *int, HeightVar *int) *PixbufFormat {
1719 1689
1720 cret := xPixbufGetFileInfo(FilenameVar, WidthVar, HeightVar)1690 cret := xPixbufGetFileInfo(FilenameVar, WidthVar, HeightVar)
1721-
1722 return cret1691 return cret
1723 }1692 }
1724 1693
@@ -1762,7 +1731,6 @@ func PixbufGetFileInfoFinish(AsyncResultVar gio.AsyncResult, WidthVar *int, Heig
1762 var cerr *glib.Error1731 var cerr *glib.Error
1763 1732
1764 cret := xPixbufGetFileInfoFinish(AsyncResultVar.GoPointer(), WidthVar, HeightVar, &cerr)1733 cret := xPixbufGetFileInfoFinish(AsyncResultVar.GoPointer(), WidthVar, HeightVar, &cerr)
1765-
1766 if cerr == nil {1734 if cerr == nil {
1767 return cret, nil1735 return cret, nil
1768 }1736 }
@@ -1777,7 +1745,6 @@ var xPixbufGetFormats func() *glib.SList
1777 func PixbufGetFormats() *glib.SList {1745 func PixbufGetFormats() *glib.SList {
1778 1746
1779 cret := xPixbufGetFormats()1747 cret := xPixbufGetFormats()
1780-
1781 return cret1748 return cret
1782 }1749 }
1783 1750
@@ -1800,7 +1767,6 @@ func PixbufInitModules(PathVar string) (bool, error) {
1800 var cerr *glib.Error1767 var cerr *glib.Error
1801 1768
1802 cret := xPixbufInitModules(PathVar, &cerr)1769 cret := xPixbufInitModules(PathVar, &cerr)
1803-
1804 if cerr == nil {1770 if cerr == nil {
1805 return cret, nil1771 return cret, nil
1806 }1772 }
@@ -1877,7 +1843,6 @@ func PixbufSaveToStreamFinish(AsyncResultVar gio.AsyncResult) (bool, error) {
1877 var cerr *glib.Error1843 var cerr *glib.Error
1878 1844
1879 cret := xPixbufSaveToStreamFinish(AsyncResultVar.GoPointer(), &cerr)1845 cret := xPixbufSaveToStreamFinish(AsyncResultVar.GoPointer(), &cerr)
1880-
1881 if cerr == nil {1846 if cerr == nil {
1882 return cret, nil1847 return cret, nil
1883 }1848 }
M v4/gdkpixbuf/main.go +0 -1
@@ -13,7 +13,6 @@ var xPixbufErrorQuark func() glib.Quark
13 func PixbufErrorQuark() glib.Quark {13 func PixbufErrorQuark() glib.Quark {
14 14
15 cret := xPixbufErrorQuark()15 cret := xPixbufErrorQuark()
16-
17 return cret16 return cret
18 }17 }
19 18
M v4/gio/gaction.go +0 -9
@@ -342,7 +342,6 @@ 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-
346 return cret345 return cret
347 }346 }
348 347
@@ -350,7 +349,6 @@ func (x *ActionBase) GetEnabled() bool {
350 func (x *ActionBase) GetName() string {349 func (x *ActionBase) GetName() string {
351 350
352 cret := XGActionGetName(x.GoPointer())351 cret := XGActionGetName(x.GoPointer())
353-
354 return cret352 return cret
355 }353 }
356 354
@@ -366,7 +364,6 @@ func (x *ActionBase) GetName() string {
366 func (x *ActionBase) GetParameterType() *glib.VariantType {364 func (x *ActionBase) GetParameterType() *glib.VariantType {
367 365
368 cret := XGActionGetParameterType(x.GoPointer())366 cret := XGActionGetParameterType(x.GoPointer())
369-
370 return cret367 return cret
371 }368 }
372 369
@@ -381,7 +378,6 @@ func (x *ActionBase) GetParameterType() *glib.VariantType {
381 func (x *ActionBase) GetState() *glib.Variant {378 func (x *ActionBase) GetState() *glib.Variant {
382 379
383 cret := XGActionGetState(x.GoPointer())380 cret := XGActionGetState(x.GoPointer())
384-
385 return cret381 return cret
386 }382 }
387 383
@@ -406,7 +402,6 @@ func (x *ActionBase) GetState() *glib.Variant {
406 func (x *ActionBase) GetStateHint() *glib.Variant {402 func (x *ActionBase) GetStateHint() *glib.Variant {
407 403
408 cret := XGActionGetStateHint(x.GoPointer())404 cret := XGActionGetStateHint(x.GoPointer())
409-
410 return cret405 return cret
411 }406 }
412 407
@@ -425,7 +420,6 @@ func (x *ActionBase) GetStateHint() *glib.Variant {
425 func (x *ActionBase) GetStateType() *glib.VariantType {420 func (x *ActionBase) GetStateType() *glib.VariantType {
426 421
427 cret := XGActionGetStateType(x.GoPointer())422 cret := XGActionGetStateType(x.GoPointer())
428-
429 return cret423 return cret
430 }424 }
431 425
@@ -507,7 +501,6 @@ var xActionNameIsValid func(string) bool
507 func ActionNameIsValid(ActionNameVar string) bool {501 func ActionNameIsValid(ActionNameVar string) bool {
508 502
509 cret := xActionNameIsValid(ActionNameVar)503 cret := xActionNameIsValid(ActionNameVar)
510-
511 return cret504 return cret
512 }505 }
513 506
@@ -547,7 +540,6 @@ func ActionParseDetailedName(DetailedNameVar string, ActionNameVar *string, Targ
547 var cerr *glib.Error540 var cerr *glib.Error
548 541
549 cret := xActionParseDetailedName(DetailedNameVar, ActionNameVar, TargetValueVar, &cerr)542 cret := xActionParseDetailedName(DetailedNameVar, ActionNameVar, TargetValueVar, &cerr)
550-
551 if cerr == nil {543 if cerr == nil {
552 return cret, nil544 return cret, nil
553 }545 }
@@ -570,7 +562,6 @@ var xActionPrintDetailedName func(string, *glib.Variant) string
570 func ActionPrintDetailedName(ActionNameVar string, TargetValueVar *glib.Variant) string {562 func ActionPrintDetailedName(ActionNameVar string, TargetValueVar *glib.Variant) string {
571 563
572 cret := xActionPrintDetailedName(ActionNameVar, TargetValueVar)564 cret := xActionPrintDetailedName(ActionNameVar, TargetValueVar)
573-
574 return cret565 return cret
575 }566 }
576 567
M v4/gio/gactiongroup.go +0 -8
@@ -583,7 +583,6 @@ 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-
587 return cret586 return cret
588 }587 }
589 588
@@ -603,7 +602,6 @@ func (x *ActionGroupBase) GetActionEnabled(ActionNameVar string) bool {
603 func (x *ActionGroupBase) GetActionParameterType(ActionNameVar string) *glib.VariantType {602 func (x *ActionGroupBase) GetActionParameterType(ActionNameVar string) *glib.VariantType {
604 603
605 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)604 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
606-
607 return cret605 return cret
608 }606 }
609 607
@@ -618,7 +616,6 @@ func (x *ActionGroupBase) GetActionParameterType(ActionNameVar string) *glib.Var
618 func (x *ActionGroupBase) GetActionState(ActionNameVar string) *glib.Variant {616 func (x *ActionGroupBase) GetActionState(ActionNameVar string) *glib.Variant {
619 617
620 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)618 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
621-
622 return cret619 return cret
623 }620 }
624 621
@@ -643,7 +640,6 @@ func (x *ActionGroupBase) GetActionState(ActionNameVar string) *glib.Variant {
643 func (x *ActionGroupBase) GetActionStateHint(ActionNameVar string) *glib.Variant {640 func (x *ActionGroupBase) GetActionStateHint(ActionNameVar string) *glib.Variant {
644 641
645 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)642 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
646-
647 return cret643 return cret
648 }644 }
649 645
@@ -666,7 +662,6 @@ func (x *ActionGroupBase) GetActionStateHint(ActionNameVar string) *glib.Variant
666 func (x *ActionGroupBase) GetActionStateType(ActionNameVar string) *glib.VariantType {662 func (x *ActionGroupBase) GetActionStateType(ActionNameVar string) *glib.VariantType {
667 663
668 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)664 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
669-
670 return cret665 return cret
671 }666 }
672 667
@@ -674,7 +669,6 @@ func (x *ActionGroupBase) GetActionStateType(ActionNameVar string) *glib.Variant
674 func (x *ActionGroupBase) HasAction(ActionNameVar string) bool {669 func (x *ActionGroupBase) HasAction(ActionNameVar string) bool {
675 670
676 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)671 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
677-
678 return cret672 return cret
679 }673 }
680 674
@@ -685,7 +679,6 @@ func (x *ActionGroupBase) HasAction(ActionNameVar string) bool {
685 func (x *ActionGroupBase) ListActions() []string {679 func (x *ActionGroupBase) ListActions() []string {
686 680
687 cret := XGActionGroupListActions(x.GoPointer())681 cret := XGActionGroupListActions(x.GoPointer())
688-
689 return cret682 return cret
690 }683 }
691 684
@@ -719,7 +712,6 @@ func (x *ActionGroupBase) ListActions() []string {
719 func (x *ActionGroupBase) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {712 func (x *ActionGroupBase) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
720 713
721 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)714 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
722-
723 return cret715 return cret
724 }716 }
725 717
M v4/gio/gappinfo.go +2 -35
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -1113,7 +1112,6 @@ func (x *AppInfoBase) AddSupportsType(ContentTypeVar string) (bool, error) {
1113 var cerr *glib.Error1112 var cerr *glib.Error
1114 1113
1115 cret := XGAppInfoAddSupportsType(x.GoPointer(), ContentTypeVar, &cerr)1114 cret := XGAppInfoAddSupportsType(x.GoPointer(), ContentTypeVar, &cerr)
1116-
1117 if cerr == nil {1115 if cerr == nil {
1118 return cret, nil1116 return cret, nil
1119 }1117 }
@@ -1126,7 +1124,6 @@ func (x *AppInfoBase) AddSupportsType(ContentTypeVar string) (bool, error) {
1126 func (x *AppInfoBase) CanDelete() bool {1124 func (x *AppInfoBase) CanDelete() bool {
1127 1125
1128 cret := XGAppInfoCanDelete(x.GoPointer())1126 cret := XGAppInfoCanDelete(x.GoPointer())
1129-
1130 return cret1127 return cret
1131 }1128 }
1132 1129
@@ -1134,7 +1131,6 @@ func (x *AppInfoBase) CanDelete() bool {
1134 func (x *AppInfoBase) CanRemoveSupportsType() bool {1131 func (x *AppInfoBase) CanRemoveSupportsType() bool {
1135 1132
1136 cret := XGAppInfoCanRemoveSupportsType(x.GoPointer())1133 cret := XGAppInfoCanRemoveSupportsType(x.GoPointer())
1137-
1138 return cret1134 return cret
1139 }1135 }
1140 1136
@@ -1146,7 +1142,6 @@ func (x *AppInfoBase) CanRemoveSupportsType() bool {
1146 func (x *AppInfoBase) Delete() bool {1142 func (x *AppInfoBase) Delete() bool {
1147 1143
1148 cret := XGAppInfoDelete(x.GoPointer())1144 cret := XGAppInfoDelete(x.GoPointer())
1149-
1150 return cret1145 return cret
1151 }1146 }
1152 1147
@@ -1172,7 +1167,6 @@ func (x *AppInfoBase) Dup() *AppInfoBase {
1172 func (x *AppInfoBase) Equal(Appinfo2Var AppInfo) bool {1167 func (x *AppInfoBase) Equal(Appinfo2Var AppInfo) bool {
1173 1168
1174 cret := XGAppInfoEqual(x.GoPointer(), Appinfo2Var.GoPointer())1169 cret := XGAppInfoEqual(x.GoPointer(), Appinfo2Var.GoPointer())
1175-
1176 return cret1170 return cret
1177 }1171 }
1178 1172
@@ -1181,7 +1175,6 @@ func (x *AppInfoBase) Equal(Appinfo2Var AppInfo) bool {
1181 func (x *AppInfoBase) GetCommandline() string {1175 func (x *AppInfoBase) GetCommandline() string {
1182 1176
1183 cret := XGAppInfoGetCommandline(x.GoPointer())1177 cret := XGAppInfoGetCommandline(x.GoPointer())
1184-
1185 return cret1178 return cret
1186 }1179 }
1187 1180
@@ -1189,7 +1182,6 @@ func (x *AppInfoBase) GetCommandline() string {
1189 func (x *AppInfoBase) GetDescription() string {1182 func (x *AppInfoBase) GetDescription() string {
1190 1183
1191 cret := XGAppInfoGetDescription(x.GoPointer())1184 cret := XGAppInfoGetDescription(x.GoPointer())
1192-
1193 return cret1185 return cret
1194 }1186 }
1195 1187
@@ -1198,7 +1190,6 @@ func (x *AppInfoBase) GetDescription() string {
1198 func (x *AppInfoBase) GetDisplayName() string {1190 func (x *AppInfoBase) GetDisplayName() string {
1199 1191
1200 cret := XGAppInfoGetDisplayName(x.GoPointer())1192 cret := XGAppInfoGetDisplayName(x.GoPointer())
1201-
1202 return cret1193 return cret
1203 }1194 }
1204 1195
@@ -1210,7 +1201,6 @@ func (x *AppInfoBase) GetDisplayName() string {
1210 func (x *AppInfoBase) GetExecutable() string {1201 func (x *AppInfoBase) GetExecutable() string {
1211 1202
1212 cret := XGAppInfoGetExecutable(x.GoPointer())1203 cret := XGAppInfoGetExecutable(x.GoPointer())
1213-
1214 return cret1204 return cret
1215 }1205 }
1216 1206
@@ -1238,7 +1228,6 @@ func (x *AppInfoBase) GetIcon() *IconBase {
1238 func (x *AppInfoBase) GetId() string {1228 func (x *AppInfoBase) GetId() string {
1239 1229
1240 cret := XGAppInfoGetId(x.GoPointer())1230 cret := XGAppInfoGetId(x.GoPointer())
1241-
1242 return cret1231 return cret
1243 }1232 }
1244 1233
@@ -1246,7 +1235,6 @@ func (x *AppInfoBase) GetId() string {
1246 func (x *AppInfoBase) GetName() string {1235 func (x *AppInfoBase) GetName() string {
1247 1236
1248 cret := XGAppInfoGetName(x.GoPointer())1237 cret := XGAppInfoGetName(x.GoPointer())
1249-
1250 return cret1238 return cret
1251 }1239 }
1252 1240
@@ -1260,7 +1248,6 @@ func (x *AppInfoBase) GetName() string {
1260 func (x *AppInfoBase) GetSupportedTypes() []string {1248 func (x *AppInfoBase) GetSupportedTypes() []string {
1261 1249
1262 cret := XGAppInfoGetSupportedTypes(x.GoPointer())1250 cret := XGAppInfoGetSupportedTypes(x.GoPointer())
1263-
1264 return cret1251 return cret
1265 }1252 }
1266 1253
@@ -1295,7 +1282,6 @@ func (x *AppInfoBase) Launch(FilesVar *glib.List, ContextVar *AppLaunchContext)
1295 var cerr *glib.Error1282 var cerr *glib.Error
1296 1283
1297 cret := XGAppInfoLaunch(x.GoPointer(), FilesVar, ContextVar.GoPointer(), &cerr)1284 cret := XGAppInfoLaunch(x.GoPointer(), FilesVar, ContextVar.GoPointer(), &cerr)
1298-
1299 if cerr == nil {1285 if cerr == nil {
1300 return cret, nil1286 return cret, nil
1301 }1287 }
@@ -1319,7 +1305,6 @@ func (x *AppInfoBase) LaunchUris(UrisVar *glib.List, ContextVar *AppLaunchContex
1319 var cerr *glib.Error1305 var cerr *glib.Error
1320 1306
1321 cret := XGAppInfoLaunchUris(x.GoPointer(), UrisVar, ContextVar.GoPointer(), &cerr)1307 cret := XGAppInfoLaunchUris(x.GoPointer(), UrisVar, ContextVar.GoPointer(), &cerr)
1322-
1323 if cerr == nil {1308 if cerr == nil {
1324 return cret, nil1309 return cret, nil
1325 }1310 }
@@ -1344,7 +1329,6 @@ func (x *AppInfoBase) LaunchUrisFinish(ResultVar AsyncResult) (bool, error) {
1344 var cerr *glib.Error1329 var cerr *glib.Error
1345 1330
1346 cret := XGAppInfoLaunchUrisFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1331 cret := XGAppInfoLaunchUrisFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1347-
1348 if cerr == nil {1332 if cerr == nil {
1349 return cret, nil1333 return cret, nil
1350 }1334 }
@@ -1357,7 +1341,6 @@ func (x *AppInfoBase) RemoveSupportsType(ContentTypeVar string) (bool, error) {
1357 var cerr *glib.Error1341 var cerr *glib.Error
1358 1342
1359 cret := XGAppInfoRemoveSupportsType(x.GoPointer(), ContentTypeVar, &cerr)1343 cret := XGAppInfoRemoveSupportsType(x.GoPointer(), ContentTypeVar, &cerr)
1360-
1361 if cerr == nil {1344 if cerr == nil {
1362 return cret, nil1345 return cret, nil
1363 }1346 }
@@ -1370,7 +1353,6 @@ func (x *AppInfoBase) SetAsDefaultForExtension(ExtensionVar string) (bool, error
1370 var cerr *glib.Error1353 var cerr *glib.Error
1371 1354
1372 cret := XGAppInfoSetAsDefaultForExtension(x.GoPointer(), ExtensionVar, &cerr)1355 cret := XGAppInfoSetAsDefaultForExtension(x.GoPointer(), ExtensionVar, &cerr)
1373-
1374 if cerr == nil {1356 if cerr == nil {
1375 return cret, nil1357 return cret, nil
1376 }1358 }
@@ -1383,7 +1365,6 @@ func (x *AppInfoBase) SetAsDefaultForType(ContentTypeVar string) (bool, error) {
1383 var cerr *glib.Error1365 var cerr *glib.Error
1384 1366
1385 cret := XGAppInfoSetAsDefaultForType(x.GoPointer(), ContentTypeVar, &cerr)1367 cret := XGAppInfoSetAsDefaultForType(x.GoPointer(), ContentTypeVar, &cerr)
1386-
1387 if cerr == nil {1368 if cerr == nil {
1388 return cret, nil1369 return cret, nil
1389 }1370 }
@@ -1399,7 +1380,6 @@ func (x *AppInfoBase) SetAsLastUsedForType(ContentTypeVar string) (bool, error)
1399 var cerr *glib.Error1380 var cerr *glib.Error
1400 1381
1401 cret := XGAppInfoSetAsLastUsedForType(x.GoPointer(), ContentTypeVar, &cerr)1382 cret := XGAppInfoSetAsLastUsedForType(x.GoPointer(), ContentTypeVar, &cerr)
1402-
1403 if cerr == nil {1383 if cerr == nil {
1404 return cret, nil1384 return cret, nil
1405 }1385 }
@@ -1412,7 +1392,6 @@ func (x *AppInfoBase) SetAsLastUsedForType(ContentTypeVar string) (bool, error)
1412 func (x *AppInfoBase) ShouldShow() bool {1392 func (x *AppInfoBase) ShouldShow() bool {
1413 1393
1414 cret := XGAppInfoShouldShow(x.GoPointer())1394 cret := XGAppInfoShouldShow(x.GoPointer())
1415-
1416 return cret1395 return cret
1417 }1396 }
1418 1397
@@ -1420,7 +1399,6 @@ func (x *AppInfoBase) ShouldShow() bool {
1420 func (x *AppInfoBase) SupportsFiles() bool {1399 func (x *AppInfoBase) SupportsFiles() bool {
1421 1400
1422 cret := XGAppInfoSupportsFiles(x.GoPointer())1401 cret := XGAppInfoSupportsFiles(x.GoPointer())
1423-
1424 return cret1402 return cret
1425 }1403 }
1426 1404
@@ -1428,7 +1406,6 @@ func (x *AppInfoBase) SupportsFiles() bool {
1428 func (x *AppInfoBase) SupportsUris() bool {1406 func (x *AppInfoBase) SupportsUris() bool {
1429 1407
1430 cret := XGAppInfoSupportsUris(x.GoPointer())1408 cret := XGAppInfoSupportsUris(x.GoPointer())
1431-
1432 return cret1409 return cret
1433 }1410 }
1434 1411
@@ -1473,12 +1450,11 @@ func AppInfoCreateFromCommandline(CommandlineVar string, ApplicationNameVar *str
1473 var cls *AppInfoBase1450 var cls *AppInfoBase
1474 var cerr *glib.Error1451 var cerr *glib.Error
1475 1452
1476- ApplicationNameVarPtr, ApplicationNameVarBytes := core.NullableStringToPtr(ApplicationNameVar)1453+ ApplicationNameVarPtr := core.GStrdupNullable(ApplicationNameVar)
1454+ defer core.GFreeNullable(ApplicationNameVarPtr)
1477 1455
1478 cret := xAppInfoCreateFromCommandline(CommandlineVar, ApplicationNameVarPtr, FlagsVar, &cerr)1456 cret := xAppInfoCreateFromCommandline(CommandlineVar, ApplicationNameVarPtr, FlagsVar, &cerr)
1479 1457
1480- runtime.KeepAlive(ApplicationNameVarBytes)
1481-
1482 if cret == 0 {1458 if cret == 0 {
1483 return nil, cerr1459 return nil, cerr
1484 }1460 }
@@ -1509,7 +1485,6 @@ var xAppInfoGetAll func() *glib.List
1509 func AppInfoGetAll() *glib.List {1485 func AppInfoGetAll() *glib.List {
1510 1486
1511 cret := xAppInfoGetAll()1487 cret := xAppInfoGetAll()
1512-
1513 return cret1488 return cret
1514 }1489 }
1515 1490
@@ -1522,7 +1497,6 @@ var xAppInfoGetAllForType func(string) *glib.List
1522 func AppInfoGetAllForType(ContentTypeVar string) *glib.List {1497 func AppInfoGetAllForType(ContentTypeVar string) *glib.List {
1523 1498
1524 cret := xAppInfoGetAllForType(ContentTypeVar)1499 cret := xAppInfoGetAllForType(ContentTypeVar)
1525-
1526 return cret1500 return cret
1527 }1501 }
1528 1502
@@ -1671,7 +1645,6 @@ var xAppInfoGetFallbackForType func(string) *glib.List
1671 func AppInfoGetFallbackForType(ContentTypeVar string) *glib.List {1645 func AppInfoGetFallbackForType(ContentTypeVar string) *glib.List {
1672 1646
1673 cret := xAppInfoGetFallbackForType(ContentTypeVar)1647 cret := xAppInfoGetFallbackForType(ContentTypeVar)
1674-
1675 return cret1648 return cret
1676 }1649 }
1677 1650
@@ -1687,7 +1660,6 @@ var xAppInfoGetRecommendedForType func(string) *glib.List
1687 func AppInfoGetRecommendedForType(ContentTypeVar string) *glib.List {1660 func AppInfoGetRecommendedForType(ContentTypeVar string) *glib.List {
1688 1661
1689 cret := xAppInfoGetRecommendedForType(ContentTypeVar)1662 cret := xAppInfoGetRecommendedForType(ContentTypeVar)
1690-
1691 return cret1663 return cret
1692 }1664 }
1693 1665
@@ -1704,7 +1676,6 @@ func AppInfoLaunchDefaultForUri(UriVar string, ContextVar *AppLaunchContext) (bo
1704 var cerr *glib.Error1676 var cerr *glib.Error
1705 1677
1706 cret := xAppInfoLaunchDefaultForUri(UriVar, ContextVar.GoPointer(), &cerr)1678 cret := xAppInfoLaunchDefaultForUri(UriVar, ContextVar.GoPointer(), &cerr)
1707-
1708 if cerr == nil {1679 if cerr == nil {
1709 return cret, nil1680 return cret, nil
1710 }1681 }
@@ -1751,7 +1722,6 @@ func AppInfoLaunchDefaultForUriFinish(ResultVar AsyncResult) (bool, error) {
1751 var cerr *glib.Error1722 var cerr *glib.Error
1752 1723
1753 cret := xAppInfoLaunchDefaultForUriFinish(ResultVar.GoPointer(), &cerr)1724 cret := xAppInfoLaunchDefaultForUriFinish(ResultVar.GoPointer(), &cerr)
1754-
1755 if cerr == nil {1725 if cerr == nil {
1756 return cret, nil1726 return cret, nil
1757 }1727 }
@@ -1936,7 +1906,6 @@ var xAppLaunchContextGetDisplay func(uintptr, uintptr, *glib.List) string
1936 func (x *AppLaunchContext) GetDisplay(InfoVar AppInfo, FilesVar *glib.List) string {1906 func (x *AppLaunchContext) GetDisplay(InfoVar AppInfo, FilesVar *glib.List) string {
1937 1907
1938 cret := xAppLaunchContextGetDisplay(x.GoPointer(), InfoVar.GoPointer(), FilesVar)1908 cret := xAppLaunchContextGetDisplay(x.GoPointer(), InfoVar.GoPointer(), FilesVar)
1939-
1940 return cret1909 return cret
1941 }1910 }
1942 1911
@@ -1949,7 +1918,6 @@ var xAppLaunchContextGetEnvironment func(uintptr) []string
1949 func (x *AppLaunchContext) GetEnvironment() []string {1918 func (x *AppLaunchContext) GetEnvironment() []string {
1950 1919
1951 cret := xAppLaunchContextGetEnvironment(x.GoPointer())1920 cret := xAppLaunchContextGetEnvironment(x.GoPointer())
1952-
1953 return cret1921 return cret
1954 }1922 }
1955 1923
@@ -1973,7 +1941,6 @@ var xAppLaunchContextGetStartupNotifyId func(uintptr, uintptr, *glib.List) strin
1973 func (x *AppLaunchContext) GetStartupNotifyId(InfoVar AppInfo, FilesVar *glib.List) string {1941 func (x *AppLaunchContext) GetStartupNotifyId(InfoVar AppInfo, FilesVar *glib.List) string {
1974 1942
1975 cret := xAppLaunchContextGetStartupNotifyId(x.GoPointer(), InfoVar.GoPointer(), FilesVar)1943 cret := xAppLaunchContextGetStartupNotifyId(x.GoPointer(), InfoVar.GoPointer(), FilesVar)
1976-
1977 return cret1944 return cret
1978 }1945 }
1979 1946
M v4/gio/gapplication.go +16 -45
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -662,12 +661,11 @@ var xNewApplication func(uintptr, ApplicationFlags) uintptr
662 func NewApplication(ApplicationIdVar *string, FlagsVar ApplicationFlags) *Application {661 func NewApplication(ApplicationIdVar *string, FlagsVar ApplicationFlags) *Application {
663 var cls *Application662 var cls *Application
664 663
665- ApplicationIdVarPtr, ApplicationIdVarBytes := core.NullableStringToPtr(ApplicationIdVar)664+ ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar)
665+ defer core.GFreeNullable(ApplicationIdVarPtr)
666 666
667 cret := xNewApplication(ApplicationIdVarPtr, FlagsVar)667 cret := xNewApplication(ApplicationIdVarPtr, FlagsVar)
668 668
669- runtime.KeepAlive(ApplicationIdVarBytes)
670-
671 if cret == 0 {669 if cret == 0 {
672 return nil670 return nil
673 }671 }
@@ -707,12 +705,11 @@ var xApplicationAddMainOption func(uintptr, string, byte, glib.OptionFlags, glib
707 // See #GOptionEntry for more documentation of the arguments.705 // See #GOptionEntry for more documentation of the arguments.
708 func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar *string) {706 func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar *string) {
709 707
710- ArgDescriptionVarPtr, ArgDescriptionVarBytes := core.NullableStringToPtr(ArgDescriptionVar)708+ ArgDescriptionVarPtr := core.GStrdupNullable(ArgDescriptionVar)
709+ defer core.GFreeNullable(ArgDescriptionVarPtr)
711 710
712 xApplicationAddMainOption(x.GoPointer(), LongNameVar, ShortNameVar, FlagsVar, ArgVar, DescriptionVar, ArgDescriptionVarPtr)711 xApplicationAddMainOption(x.GoPointer(), LongNameVar, ShortNameVar, FlagsVar, ArgVar, DescriptionVar, ArgDescriptionVarPtr)
713 712
714- runtime.KeepAlive(ArgDescriptionVarBytes)
715-
716 }713 }
717 714
718 var xApplicationAddMainOptionEntries func(uintptr, []glib.OptionEntry)715 var xApplicationAddMainOptionEntries func(uintptr, []glib.OptionEntry)
@@ -832,7 +829,6 @@ var xApplicationGetApplicationId func(uintptr) string
832 func (x *Application) GetApplicationId() string {829 func (x *Application) GetApplicationId() string {
833 830
834 cret := xApplicationGetApplicationId(x.GoPointer())831 cret := xApplicationGetApplicationId(x.GoPointer())
835-
836 return cret832 return cret
837 }833 }
838 834
@@ -884,7 +880,6 @@ var xApplicationGetDbusObjectPath func(uintptr) string
884 func (x *Application) GetDbusObjectPath() string {880 func (x *Application) GetDbusObjectPath() string {
885 881
886 cret := xApplicationGetDbusObjectPath(x.GoPointer())882 cret := xApplicationGetDbusObjectPath(x.GoPointer())
887-
888 return cret883 return cret
889 }884 }
890 885
@@ -896,7 +891,6 @@ var xApplicationGetFlags func(uintptr) ApplicationFlags
896 func (x *Application) GetFlags() ApplicationFlags {891 func (x *Application) GetFlags() ApplicationFlags {
897 892
898 cret := xApplicationGetFlags(x.GoPointer())893 cret := xApplicationGetFlags(x.GoPointer())
899-
900 return cret894 return cret
901 }895 }
902 896
@@ -909,7 +903,6 @@ var xApplicationGetInactivityTimeout func(uintptr) uint
909 func (x *Application) GetInactivityTimeout() uint {903 func (x *Application) GetInactivityTimeout() uint {
910 904
911 cret := xApplicationGetInactivityTimeout(x.GoPointer())905 cret := xApplicationGetInactivityTimeout(x.GoPointer())
912-
913 return cret906 return cret
914 }907 }
915 908
@@ -920,7 +913,6 @@ var xApplicationGetIsBusy func(uintptr) bool
920 func (x *Application) GetIsBusy() bool {913 func (x *Application) GetIsBusy() bool {
921 914
922 cret := xApplicationGetIsBusy(x.GoPointer())915 cret := xApplicationGetIsBusy(x.GoPointer())
923-
924 return cret916 return cret
925 }917 }
926 918
@@ -933,7 +925,6 @@ var xApplicationGetIsRegistered func(uintptr) bool
933 func (x *Application) GetIsRegistered() bool {925 func (x *Application) GetIsRegistered() bool {
934 926
935 cret := xApplicationGetIsRegistered(x.GoPointer())927 cret := xApplicationGetIsRegistered(x.GoPointer())
936-
937 return cret928 return cret
938 }929 }
939 930
@@ -952,7 +943,6 @@ var xApplicationGetIsRemote func(uintptr) bool
952 func (x *Application) GetIsRemote() bool {943 func (x *Application) GetIsRemote() bool {
953 944
954 cret := xApplicationGetIsRemote(x.GoPointer())945 cret := xApplicationGetIsRemote(x.GoPointer())
955-
956 return cret946 return cret
957 }947 }
958 948
@@ -964,7 +954,6 @@ var xApplicationGetResourceBasePath func(uintptr) string
964 func (x *Application) GetResourceBasePath() string {954 func (x *Application) GetResourceBasePath() string {
965 955
966 cret := xApplicationGetResourceBasePath(x.GoPointer())956 cret := xApplicationGetResourceBasePath(x.GoPointer())
967-
968 return cret957 return cret
969 }958 }
970 959
@@ -974,7 +963,6 @@ var xApplicationGetVersion func(uintptr) string
974 func (x *Application) GetVersion() string {963 func (x *Application) GetVersion() string {
975 964
976 cret := xApplicationGetVersion(x.GoPointer())965 cret := xApplicationGetVersion(x.GoPointer())
977-
978 return cret966 return cret
979 }967 }
980 968
@@ -1092,7 +1080,6 @@ func (x *Application) Register(CancellableVar *Cancellable) (bool, error) {
1092 var cerr *glib.Error1080 var cerr *glib.Error
1093 1081
1094 cret := xApplicationRegister(x.GoPointer(), CancellableVar.GoPointer(), &cerr)1082 cret := xApplicationRegister(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
1095-
1096 if cerr == nil {1083 if cerr == nil {
1097 return cret, nil1084 return cret, nil
1098 }1085 }
@@ -1194,7 +1181,6 @@ var xApplicationRun func(uintptr, int, []string) int
1194 func (x *Application) Run(ArgcVar int, ArgvVar []string) int {1181 func (x *Application) Run(ArgcVar int, ArgvVar []string) int {
1195 1182
1196 cret := xApplicationRun(x.GoPointer(), ArgcVar, ArgvVar)1183 cret := xApplicationRun(x.GoPointer(), ArgcVar, ArgvVar)
1197-
1198 return cret1184 return cret
1199 }1185 }
1200 1186
@@ -1231,12 +1217,11 @@ var xApplicationSendNotification func(uintptr, uintptr, uintptr)
1231 // application ID.1217 // application ID.
1232 func (x *Application) SendNotification(IdVar *string, NotificationVar *Notification) {1218 func (x *Application) SendNotification(IdVar *string, NotificationVar *Notification) {
1233 1219
1234- IdVarPtr, IdVarBytes := core.NullableStringToPtr(IdVar)1220+ IdVarPtr := core.GStrdupNullable(IdVar)
1221+ defer core.GFreeNullable(IdVarPtr)
1235 1222
1236 xApplicationSendNotification(x.GoPointer(), IdVarPtr, NotificationVar.GoPointer())1223 xApplicationSendNotification(x.GoPointer(), IdVarPtr, NotificationVar.GoPointer())
1237 1224
1238- runtime.KeepAlive(IdVarBytes)
1239-
1240 }1225 }
1241 1226
1242 var xApplicationSetActionGroup func(uintptr, uintptr)1227 var xApplicationSetActionGroup func(uintptr, uintptr)
@@ -1260,12 +1245,11 @@ var xApplicationSetApplicationId func(uintptr, uintptr)
1260 // g_application_id_is_valid().1245 // g_application_id_is_valid().
1261 func (x *Application) SetApplicationId(ApplicationIdVar *string) {1246 func (x *Application) SetApplicationId(ApplicationIdVar *string) {
1262 1247
1263- ApplicationIdVarPtr, ApplicationIdVarBytes := core.NullableStringToPtr(ApplicationIdVar)1248+ ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar)
1249+ defer core.GFreeNullable(ApplicationIdVarPtr)
1264 1250
1265 xApplicationSetApplicationId(x.GoPointer(), ApplicationIdVarPtr)1251 xApplicationSetApplicationId(x.GoPointer(), ApplicationIdVarPtr)
1266 1252
1267- runtime.KeepAlive(ApplicationIdVarBytes)
1268-
1269 }1253 }
1270 1254
1271 var xApplicationSetDefault func(uintptr)1255 var xApplicationSetDefault func(uintptr)
@@ -1319,12 +1303,11 @@ var xApplicationSetOptionContextDescription func(uintptr, uintptr)
1319 // See g_option_context_set_description() for more information.1303 // See g_option_context_set_description() for more information.
1320 func (x *Application) SetOptionContextDescription(DescriptionVar *string) {1304 func (x *Application) SetOptionContextDescription(DescriptionVar *string) {
1321 1305
1322- DescriptionVarPtr, DescriptionVarBytes := core.NullableStringToPtr(DescriptionVar)1306+ DescriptionVarPtr := core.GStrdupNullable(DescriptionVar)
1307+ defer core.GFreeNullable(DescriptionVarPtr)
1323 1308
1324 xApplicationSetOptionContextDescription(x.GoPointer(), DescriptionVarPtr)1309 xApplicationSetOptionContextDescription(x.GoPointer(), DescriptionVarPtr)
1325 1310
1326- runtime.KeepAlive(DescriptionVarBytes)
1327-
1328 }1311 }
1329 1312
1330 var xApplicationSetOptionContextParameterString func(uintptr, uintptr)1313 var xApplicationSetOptionContextParameterString func(uintptr, uintptr)
@@ -1337,12 +1320,11 @@ var xApplicationSetOptionContextParameterString func(uintptr, uintptr)
1337 // See g_option_context_new() for more information about @parameter_string.1320 // See g_option_context_new() for more information about @parameter_string.
1338 func (x *Application) SetOptionContextParameterString(ParameterStringVar *string) {1321 func (x *Application) SetOptionContextParameterString(ParameterStringVar *string) {
1339 1322
1340- ParameterStringVarPtr, ParameterStringVarBytes := core.NullableStringToPtr(ParameterStringVar)1323+ ParameterStringVarPtr := core.GStrdupNullable(ParameterStringVar)
1324+ defer core.GFreeNullable(ParameterStringVarPtr)
1341 1325
1342 xApplicationSetOptionContextParameterString(x.GoPointer(), ParameterStringVarPtr)1326 xApplicationSetOptionContextParameterString(x.GoPointer(), ParameterStringVarPtr)
1343 1327
1344- runtime.KeepAlive(ParameterStringVarBytes)
1345-
1346 }1328 }
1347 1329
1348 var xApplicationSetOptionContextSummary func(uintptr, uintptr)1330 var xApplicationSetOptionContextSummary func(uintptr, uintptr)
@@ -1352,12 +1334,11 @@ var xApplicationSetOptionContextSummary func(uintptr, uintptr)
1352 // See g_option_context_set_summary() for more information.1334 // See g_option_context_set_summary() for more information.
1353 func (x *Application) SetOptionContextSummary(SummaryVar *string) {1335 func (x *Application) SetOptionContextSummary(SummaryVar *string) {
1354 1336
1355- SummaryVarPtr, SummaryVarBytes := core.NullableStringToPtr(SummaryVar)1337+ SummaryVarPtr := core.GStrdupNullable(SummaryVar)
1338+ defer core.GFreeNullable(SummaryVarPtr)
1356 1339
1357 xApplicationSetOptionContextSummary(x.GoPointer(), SummaryVarPtr)1340 xApplicationSetOptionContextSummary(x.GoPointer(), SummaryVarPtr)
1358 1341
1359- runtime.KeepAlive(SummaryVarBytes)
1360-
1361 }1342 }
1362 1343
1363 var xApplicationSetResourceBasePath func(uintptr, uintptr)1344 var xApplicationSetResourceBasePath func(uintptr, uintptr)
@@ -1397,12 +1378,11 @@ var xApplicationSetResourceBasePath func(uintptr, uintptr)
1397 // before chaining up to the parent implementation.1378 // before chaining up to the parent implementation.
1398 func (x *Application) SetResourceBasePath(ResourcePathVar *string) {1379 func (x *Application) SetResourceBasePath(ResourcePathVar *string) {
1399 1380
1400- ResourcePathVarPtr, ResourcePathVarBytes := core.NullableStringToPtr(ResourcePathVar)1381+ ResourcePathVarPtr := core.GStrdupNullable(ResourcePathVar)
1382+ defer core.GFreeNullable(ResourcePathVarPtr)
1401 1383
1402 xApplicationSetResourceBasePath(x.GoPointer(), ResourcePathVarPtr)1384 xApplicationSetResourceBasePath(x.GoPointer(), ResourcePathVarPtr)
1403 1385
1404- runtime.KeepAlive(ResourcePathVarBytes)
1405-
1406 }1386 }
1407 1387
1408 var xApplicationSetVersion func(uintptr, string)1388 var xApplicationSetVersion func(uintptr, string)
@@ -1886,7 +1866,6 @@ func (x *Application) ChangeActionState(ActionNameVar string, ValueVar *glib.Var
1886 func (x *Application) GetActionEnabled(ActionNameVar string) bool {1866 func (x *Application) GetActionEnabled(ActionNameVar string) bool {
1887 1867
1888 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)1868 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
1889-
1890 return cret1869 return cret
1891 }1870 }
1892 1871
@@ -1906,7 +1885,6 @@ func (x *Application) GetActionEnabled(ActionNameVar string) bool {
1906 func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType {1885 func (x *Application) GetActionParameterType(ActionNameVar string) *glib.VariantType {
1907 1886
1908 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)1887 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
1909-
1910 return cret1888 return cret
1911 }1889 }
1912 1890
@@ -1921,7 +1899,6 @@ func (x *Application) GetActionParameterType(ActionNameVar string) *glib.Variant
1921 func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {1899 func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {
1922 1900
1923 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)1901 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
1924-
1925 return cret1902 return cret
1926 }1903 }
1927 1904
@@ -1946,7 +1923,6 @@ func (x *Application) GetActionState(ActionNameVar string) *glib.Variant {
1946 func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {1923 func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {
1947 1924
1948 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)1925 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
1949-
1950 return cret1926 return cret
1951 }1927 }
1952 1928
@@ -1969,7 +1945,6 @@ func (x *Application) GetActionStateHint(ActionNameVar string) *glib.Variant {
1969 func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType {1945 func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType {
1970 1946
1971 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)1947 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
1972-
1973 return cret1948 return cret
1974 }1949 }
1975 1950
@@ -1977,7 +1952,6 @@ func (x *Application) GetActionStateType(ActionNameVar string) *glib.VariantType
1977 func (x *Application) HasAction(ActionNameVar string) bool {1952 func (x *Application) HasAction(ActionNameVar string) bool {
1978 1953
1979 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)1954 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
1980-
1981 return cret1955 return cret
1982 }1956 }
1983 1957
@@ -1988,7 +1962,6 @@ func (x *Application) HasAction(ActionNameVar string) bool {
1988 func (x *Application) ListActions() []string {1962 func (x *Application) ListActions() []string {
1989 1963
1990 cret := XGActionGroupListActions(x.GoPointer())1964 cret := XGActionGroupListActions(x.GoPointer())
1991-
1992 return cret1965 return cret
1993 }1966 }
1994 1967
@@ -2022,7 +1995,6 @@ func (x *Application) ListActions() []string {
2022 func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {1995 func (x *Application) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
2023 1996
2024 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)1997 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
2025-
2026 return cret1998 return cret
2027 }1999 }
2028 2000
@@ -2217,7 +2189,6 @@ var xApplicationIdIsValid func(string) bool
2217 func ApplicationIdIsValid(ApplicationIdVar string) bool {2189 func ApplicationIdIsValid(ApplicationIdVar string) bool {
2218 2190
2219 cret := xApplicationIdIsValid(ApplicationIdVar)2191 cret := xApplicationIdIsValid(ApplicationIdVar)
2220-
2221 return cret2192 return cret
2222 }2193 }
2223 2194
M v4/gio/gapplicationcommandline.go +0 -8
@@ -399,7 +399,6 @@ 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-
403 return cret402 return cret
404 }403 }
405 404
@@ -416,7 +415,6 @@ var xApplicationCommandLineGetCwd func(uintptr) string
416 func (x *ApplicationCommandLine) GetCwd() string {415 func (x *ApplicationCommandLine) GetCwd() string {
417 416
418 cret := xApplicationCommandLineGetCwd(x.GoPointer())417 cret := xApplicationCommandLineGetCwd(x.GoPointer())
419-
420 return cret418 return cret
421 }419 }
422 420
@@ -440,7 +438,6 @@ var xApplicationCommandLineGetEnviron func(uintptr) []string
440 func (x *ApplicationCommandLine) GetEnviron() []string {438 func (x *ApplicationCommandLine) GetEnviron() []string {
441 439
442 cret := xApplicationCommandLineGetEnviron(x.GoPointer())440 cret := xApplicationCommandLineGetEnviron(x.GoPointer())
443-
444 return cret441 return cret
445 }442 }
446 443
@@ -451,7 +448,6 @@ var xApplicationCommandLineGetExitStatus func(uintptr) int
451 func (x *ApplicationCommandLine) GetExitStatus() int {448 func (x *ApplicationCommandLine) GetExitStatus() int {
452 449
453 cret := xApplicationCommandLineGetExitStatus(x.GoPointer())450 cret := xApplicationCommandLineGetExitStatus(x.GoPointer())
454-
455 return cret451 return cret
456 }452 }
457 453
@@ -461,7 +457,6 @@ var xApplicationCommandLineGetIsRemote func(uintptr) bool
461 func (x *ApplicationCommandLine) GetIsRemote() bool {457 func (x *ApplicationCommandLine) GetIsRemote() bool {
462 458
463 cret := xApplicationCommandLineGetIsRemote(x.GoPointer())459 cret := xApplicationCommandLineGetIsRemote(x.GoPointer())
464-
465 return cret460 return cret
466 }461 }
467 462
@@ -482,7 +477,6 @@ var xApplicationCommandLineGetOptionsDict func(uintptr) *glib.VariantDict
482 func (x *ApplicationCommandLine) GetOptionsDict() *glib.VariantDict {477 func (x *ApplicationCommandLine) GetOptionsDict() *glib.VariantDict {
483 478
484 cret := xApplicationCommandLineGetOptionsDict(x.GoPointer())479 cret := xApplicationCommandLineGetOptionsDict(x.GoPointer())
485-
486 return cret480 return cret
487 }481 }
488 482
@@ -502,7 +496,6 @@ var xApplicationCommandLineGetPlatformData func(uintptr) *glib.Variant
502 func (x *ApplicationCommandLine) GetPlatformData() *glib.Variant {496 func (x *ApplicationCommandLine) GetPlatformData() *glib.Variant {
503 497
504 cret := xApplicationCommandLineGetPlatformData(x.GoPointer())498 cret := xApplicationCommandLineGetPlatformData(x.GoPointer())
505-
506 return cret499 return cret
507 }500 }
508 501
@@ -547,7 +540,6 @@ var xApplicationCommandLineGetenv func(uintptr, string) string
547 func (x *ApplicationCommandLine) Getenv(NameVar string) string {540 func (x *ApplicationCommandLine) Getenv(NameVar string) string {
548 541
549 cret := xApplicationCommandLineGetenv(x.GoPointer(), NameVar)542 cret := xApplicationCommandLineGetenv(x.GoPointer(), NameVar)
550-
551 return cret543 return cret
552 }544 }
553 545
M v4/gio/gasyncinitable.go +0 -1
@@ -265,7 +265,6 @@ 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-
269 if cerr == nil {268 if cerr == nil {
270 return cret, nil269 return cret, nil
271 }270 }
M v4/gio/gasyncresult.go +0 -3
@@ -253,7 +253,6 @@ 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-
257 return cret256 return cret
258 }257 }
259 258
@@ -262,7 +261,6 @@ func (x *AsyncResultBase) GetUserData() uintptr {
262 func (x *AsyncResultBase) IsTagged(SourceTagVar uintptr) bool {261 func (x *AsyncResultBase) IsTagged(SourceTagVar uintptr) bool {
263 262
264 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)263 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
265-
266 return cret264 return cret
267 }265 }
268 266
@@ -280,7 +278,6 @@ func (x *AsyncResultBase) LegacyPropagateError() (bool, error) {
280 var cerr *glib.Error278 var cerr *glib.Error
281 279
282 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())280 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())
283-
284 if cerr == nil {281 if cerr == nil {
285 return cret, nil282 return cret, nil
286 }283 }
M v4/gio/gbufferedinputstream.go +0 -12
@@ -324,7 +324,6 @@ 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-
328 if cerr == nil {327 if cerr == nil {
329 return cret, nil328 return cret, nil
330 }329 }
@@ -368,7 +367,6 @@ func (x *BufferedInputStream) FillFinish(ResultVar AsyncResult) (int, error) {
368 var cerr *glib.Error367 var cerr *glib.Error
369 368
370 cret := xBufferedInputStreamFillFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)369 cret := xBufferedInputStreamFillFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
371-
372 if cerr == nil {370 if cerr == nil {
373 return cret, nil371 return cret, nil
374 }372 }
@@ -382,7 +380,6 @@ var xBufferedInputStreamGetAvailable func(uintptr) uint
382 func (x *BufferedInputStream) GetAvailable() uint {380 func (x *BufferedInputStream) GetAvailable() uint {
383 381
384 cret := xBufferedInputStreamGetAvailable(x.GoPointer())382 cret := xBufferedInputStreamGetAvailable(x.GoPointer())
385-
386 return cret383 return cret
387 }384 }
388 385
@@ -392,7 +389,6 @@ var xBufferedInputStreamGetBufferSize func(uintptr) uint
392 func (x *BufferedInputStream) GetBufferSize() uint {389 func (x *BufferedInputStream) GetBufferSize() uint {
393 390
394 cret := xBufferedInputStreamGetBufferSize(x.GoPointer())391 cret := xBufferedInputStreamGetBufferSize(x.GoPointer())
395-
396 return cret392 return cret
397 }393 }
398 394
@@ -403,7 +399,6 @@ var xBufferedInputStreamPeek func(uintptr, []byte, uint, uint) uint
403 func (x *BufferedInputStream) Peek(BufferVar []byte, OffsetVar uint, CountVar uint) uint {399 func (x *BufferedInputStream) Peek(BufferVar []byte, OffsetVar uint, CountVar uint) uint {
404 400
405 cret := xBufferedInputStreamPeek(x.GoPointer(), BufferVar, OffsetVar, CountVar)401 cret := xBufferedInputStreamPeek(x.GoPointer(), BufferVar, OffsetVar, CountVar)
406-
407 return cret402 return cret
408 }403 }
409 404
@@ -415,7 +410,6 @@ var xBufferedInputStreamPeekBuffer func(uintptr, *uint) uintptr
415 func (x *BufferedInputStream) PeekBuffer(CountVar *uint) uintptr {410 func (x *BufferedInputStream) PeekBuffer(CountVar *uint) uintptr {
416 411
417 cret := xBufferedInputStreamPeekBuffer(x.GoPointer(), CountVar)412 cret := xBufferedInputStreamPeekBuffer(x.GoPointer(), CountVar)
418-
419 return cret413 return cret
420 }414 }
421 415
@@ -438,7 +432,6 @@ func (x *BufferedInputStream) ReadByte(CancellableVar *Cancellable) (int, error)
438 var cerr *glib.Error432 var cerr *glib.Error
439 433
440 cret := xBufferedInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr)434 cret := xBufferedInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
441-
442 if cerr == nil {435 if cerr == nil {
443 return cret, nil436 return cret, nil
444 }437 }
@@ -489,7 +482,6 @@ func (x *BufferedInputStream) GetPropertyBufferSize() uint {
489 func (x *BufferedInputStream) CanSeek() bool {482 func (x *BufferedInputStream) CanSeek() bool {
490 483
491 cret := XGSeekableCanSeek(x.GoPointer())484 cret := XGSeekableCanSeek(x.GoPointer())
492-
493 return cret485 return cret
494 }486 }
495 487
@@ -498,7 +490,6 @@ func (x *BufferedInputStream) CanSeek() bool {
498 func (x *BufferedInputStream) CanTruncate() bool {490 func (x *BufferedInputStream) CanTruncate() bool {
499 491
500 cret := XGSeekableCanTruncate(x.GoPointer())492 cret := XGSeekableCanTruncate(x.GoPointer())
501-
502 return cret493 return cret
503 }494 }
504 495
@@ -520,7 +511,6 @@ func (x *BufferedInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cance
520 var cerr *glib.Error511 var cerr *glib.Error
521 512
522 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)513 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
523-
524 if cerr == nil {514 if cerr == nil {
525 return cret, nil515 return cret, nil
526 }516 }
@@ -532,7 +522,6 @@ func (x *BufferedInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cance
532 func (x *BufferedInputStream) Tell() int64 {522 func (x *BufferedInputStream) Tell() int64 {
533 523
534 cret := XGSeekableTell(x.GoPointer())524 cret := XGSeekableTell(x.GoPointer())
535-
536 return cret525 return cret
537 }526 }
538 527
@@ -549,7 +538,6 @@ func (x *BufferedInputStream) Truncate(OffsetVar int64, CancellableVar *Cancella
549 var cerr *glib.Error538 var cerr *glib.Error
550 539
551 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)540 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
552-
553 if cerr == nil {541 if cerr == nil {
554 return cret, nil542 return cret, nil
555 }543 }
M v4/gio/gbufferedoutputstream.go +0 -7
@@ -147,7 +147,6 @@ 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-
151 return cret150 return cret
152 }151 }
153 152
@@ -157,7 +156,6 @@ var xBufferedOutputStreamGetBufferSize func(uintptr) uint
157 func (x *BufferedOutputStream) GetBufferSize() uint {156 func (x *BufferedOutputStream) GetBufferSize() uint {
158 157
159 cret := xBufferedOutputStreamGetBufferSize(x.GoPointer())158 cret := xBufferedOutputStreamGetBufferSize(x.GoPointer())
160-
161 return cret159 return cret
162 }160 }
163 161
@@ -231,7 +229,6 @@ func (x *BufferedOutputStream) GetPropertyBufferSize() uint {
231 func (x *BufferedOutputStream) CanSeek() bool {229 func (x *BufferedOutputStream) CanSeek() bool {
232 230
233 cret := XGSeekableCanSeek(x.GoPointer())231 cret := XGSeekableCanSeek(x.GoPointer())
234-
235 return cret232 return cret
236 }233 }
237 234
@@ -240,7 +237,6 @@ func (x *BufferedOutputStream) CanSeek() bool {
240 func (x *BufferedOutputStream) CanTruncate() bool {237 func (x *BufferedOutputStream) CanTruncate() bool {
241 238
242 cret := XGSeekableCanTruncate(x.GoPointer())239 cret := XGSeekableCanTruncate(x.GoPointer())
243-
244 return cret240 return cret
245 }241 }
246 242
@@ -262,7 +258,6 @@ func (x *BufferedOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Canc
262 var cerr *glib.Error258 var cerr *glib.Error
263 259
264 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)260 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
265-
266 if cerr == nil {261 if cerr == nil {
267 return cret, nil262 return cret, nil
268 }263 }
@@ -274,7 +269,6 @@ func (x *BufferedOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Canc
274 func (x *BufferedOutputStream) Tell() int64 {269 func (x *BufferedOutputStream) Tell() int64 {
275 270
276 cret := XGSeekableTell(x.GoPointer())271 cret := XGSeekableTell(x.GoPointer())
277-
278 return cret272 return cret
279 }273 }
280 274
@@ -291,7 +285,6 @@ func (x *BufferedOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancell
291 var cerr *glib.Error285 var cerr *glib.Error
292 286
293 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)287 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
294-
295 if cerr == nil {288 if cerr == nil {
296 return cret, nil289 return cret, nil
297 }290 }
M v4/gio/gbytesicon.go +0 -5
@@ -52,7 +52,6 @@ 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-
56 return cret55 return cret
57 }56 }
58 57
@@ -88,7 +87,6 @@ func (x *BytesIcon) GetPropertyBytes() uintptr {
88 func (x *BytesIcon) Equal(Icon2Var Icon) bool {87 func (x *BytesIcon) Equal(Icon2Var Icon) bool {
89 88
90 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())89 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
91-
92 return cret90 return cret
93 }91 }
94 92
@@ -96,7 +94,6 @@ func (x *BytesIcon) Equal(Icon2Var Icon) bool {
96 func (x *BytesIcon) Hash() uint {94 func (x *BytesIcon) Hash() uint {
97 95
98 cret := XGIconHash(x.GoPointer())96 cret := XGIconHash(x.GoPointer())
99-
100 return cret97 return cret
101 }98 }
102 99
@@ -108,7 +105,6 @@ func (x *BytesIcon) Hash() uint {
108 func (x *BytesIcon) Serialize() *glib.Variant {105 func (x *BytesIcon) Serialize() *glib.Variant {
109 106
110 cret := XGIconSerialize(x.GoPointer())107 cret := XGIconSerialize(x.GoPointer())
111-
112 return cret108 return cret
113 }109 }
114 110
@@ -131,7 +127,6 @@ func (x *BytesIcon) Serialize() *glib.Variant {
131 func (x *BytesIcon) ToString() string {127 func (x *BytesIcon) ToString() string {
132 128
133 cret := XGIconToString(x.GoPointer())129 cret := XGIconToString(x.GoPointer())
134-
135 return cret130 return cret
136 }131 }
137 132
M v4/gio/gcancellable.go +0 -6
@@ -321,7 +321,6 @@ 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-
325 return cret324 return cret
326 }325 }
327 326
@@ -365,7 +364,6 @@ var xCancellableGetFd func(uintptr) int
365 func (x *Cancellable) GetFd() int {364 func (x *Cancellable) GetFd() int {
366 365
367 cret := xCancellableGetFd(x.GoPointer())366 cret := xCancellableGetFd(x.GoPointer())
368-
369 return cret367 return cret
370 }368 }
371 369
@@ -375,7 +373,6 @@ var xCancellableIsCancelled func(uintptr) bool
375 func (x *Cancellable) IsCancelled() bool {373 func (x *Cancellable) IsCancelled() bool {
376 374
377 cret := xCancellableIsCancelled(x.GoPointer())375 cret := xCancellableIsCancelled(x.GoPointer())
378-
379 return cret376 return cret
380 }377 }
381 378
@@ -407,7 +404,6 @@ var xCancellableMakePollfd func(uintptr, *glib.PollFD) bool
407 func (x *Cancellable) MakePollfd(PollfdVar *glib.PollFD) bool {404 func (x *Cancellable) MakePollfd(PollfdVar *glib.PollFD) bool {
408 405
409 cret := xCancellableMakePollfd(x.GoPointer(), PollfdVar)406 cret := xCancellableMakePollfd(x.GoPointer(), PollfdVar)
410-
411 return cret407 return cret
412 }408 }
413 409
@@ -491,7 +487,6 @@ func (x *Cancellable) SetErrorIfCancelled() (bool, error) {
491 var cerr *glib.Error487 var cerr *glib.Error
492 488
493 cret := xCancellableSetErrorIfCancelled(x.GoPointer())489 cret := xCancellableSetErrorIfCancelled(x.GoPointer())
494-
495 if cerr == nil {490 if cerr == nil {
496 return cret, nil491 return cret, nil
497 }492 }
@@ -513,7 +508,6 @@ var xCancellableSourceNew func(uintptr) *glib.Source
513 func (x *Cancellable) SourceNew() *glib.Source {508 func (x *Cancellable) SourceNew() *glib.Source {
514 509
515 cret := xCancellableSourceNew(x.GoPointer())510 cret := xCancellableSourceNew(x.GoPointer())
516-
517 return cret511 return cret
518 }512 }
519 513
M v4/gio/gcharsetconverter.go +0 -5
@@ -67,7 +67,6 @@ 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-
71 return cret70 return cret
72 }71 }
73 72
@@ -77,7 +76,6 @@ var xCharsetConverterGetUseFallback func(uintptr) bool
77 func (x *CharsetConverter) GetUseFallback() bool {76 func (x *CharsetConverter) GetUseFallback() bool {
78 77
79 cret := xCharsetConverterGetUseFallback(x.GoPointer())78 cret := xCharsetConverterGetUseFallback(x.GoPointer())
80-
81 return cret79 return cret
82 }80 }
83 81
@@ -238,7 +236,6 @@ func (x *CharsetConverter) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar
238 var cerr *glib.Error236 var cerr *glib.Error
239 237
240 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)238 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
241-
242 if cerr == nil {239 if cerr == nil {
243 return cret, nil240 return cret, nil
244 }241 }
@@ -251,7 +248,6 @@ func (x *CharsetConverter) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, erro
251 var cerr *glib.Error248 var cerr *glib.Error
252 249
253 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)250 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)
254-
255 if cerr == nil {251 if cerr == nil {
256 return cret, nil252 return cret, nil
257 }253 }
@@ -310,7 +306,6 @@ func (x *CharsetConverter) Init(CancellableVar *Cancellable) (bool, error) {
310 var cerr *glib.Error306 var cerr *glib.Error
311 307
312 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)308 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
313-
314 if cerr == nil {309 if cerr == nil {
315 return cret, nil310 return cret, nil
316 }311 }
M v4/gio/gcontenttype.go +2 -18
@@ -2,8 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"7 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -16,7 +14,6 @@ var xContentTypeCanBeExecutable func(string) bool
16 func ContentTypeCanBeExecutable(TypeVar string) bool {14 func ContentTypeCanBeExecutable(TypeVar string) bool {
17 15
18 cret := xContentTypeCanBeExecutable(TypeVar)16 cret := xContentTypeCanBeExecutable(TypeVar)
19-
20 return cret17 return cret
21 }18 }
22 19
@@ -26,7 +23,6 @@ var xContentTypeEquals func(string, string) bool
26 func ContentTypeEquals(Type1Var string, Type2Var string) bool {23 func ContentTypeEquals(Type1Var string, Type2Var string) bool {
27 24
28 cret := xContentTypeEquals(Type1Var, Type2Var)25 cret := xContentTypeEquals(Type1Var, Type2Var)
29-
30 return cret26 return cret
31 }27 }
32 28
@@ -36,7 +32,6 @@ var xContentTypeFromMimeType func(string) string
36 func ContentTypeFromMimeType(MimeTypeVar string) string {32 func ContentTypeFromMimeType(MimeTypeVar string) string {
37 33
38 cret := xContentTypeFromMimeType(MimeTypeVar)34 cret := xContentTypeFromMimeType(MimeTypeVar)
39-
40 return cret35 return cret
41 }36 }
42 37
@@ -46,7 +41,6 @@ var xContentTypeGetDescription func(string) string
46 func ContentTypeGetDescription(TypeVar string) string {41 func ContentTypeGetDescription(TypeVar string) string {
47 42
48 cret := xContentTypeGetDescription(TypeVar)43 cret := xContentTypeGetDescription(TypeVar)
49-
50 return cret44 return cret
51 }45 }
52 46
@@ -60,7 +54,6 @@ var xContentTypeGetGenericIconName func(string) string
60 func ContentTypeGetGenericIconName(TypeVar string) string {54 func ContentTypeGetGenericIconName(TypeVar string) string {
61 55
62 cret := xContentTypeGetGenericIconName(TypeVar)56 cret := xContentTypeGetGenericIconName(TypeVar)
63-
64 return cret57 return cret
65 }58 }
66 59
@@ -87,7 +80,6 @@ var xContentTypeGetMimeDirs func() []string
87 func ContentTypeGetMimeDirs() []string {80 func ContentTypeGetMimeDirs() []string {
88 81
89 cret := xContentTypeGetMimeDirs()82 cret := xContentTypeGetMimeDirs()
90-
91 return cret83 return cret
92 }84 }
93 85
@@ -97,7 +89,6 @@ var xContentTypeGetMimeType func(string) string
97 func ContentTypeGetMimeType(TypeVar string) string {89 func ContentTypeGetMimeType(TypeVar string) string {
98 90
99 cret := xContentTypeGetMimeType(TypeVar)91 cret := xContentTypeGetMimeType(TypeVar)
100-
101 return cret92 return cret
102 }93 }
103 94
@@ -125,12 +116,10 @@ var xContentTypeGuess func(uintptr, []byte, uint, *bool) string
125 // on the other argument.116 // on the other argument.
126 func ContentTypeGuess(FilenameVar *string, DataVar []byte, DataSizeVar uint, ResultUncertainVar *bool) string {117 func ContentTypeGuess(FilenameVar *string, DataVar []byte, DataSizeVar uint, ResultUncertainVar *bool) string {
127 118
128- FilenameVarPtr, FilenameVarBytes := core.NullableStringToPtr(FilenameVar)119+ FilenameVarPtr := core.GStrdupNullable(FilenameVar)
120+ defer core.GFreeNullable(FilenameVarPtr)
129 121
130 cret := xContentTypeGuess(FilenameVarPtr, DataVar, DataSizeVar, ResultUncertainVar)122 cret := xContentTypeGuess(FilenameVarPtr, DataVar, DataSizeVar, ResultUncertainVar)
131-
132- runtime.KeepAlive(FilenameVarBytes)
133-
134 return cret123 return cret
135 }124 }
136 125
@@ -151,7 +140,6 @@ var xContentTypeGuessForTree func(uintptr) []string
151 func ContentTypeGuessForTree(RootVar File) []string {140 func ContentTypeGuessForTree(RootVar File) []string {
152 141
153 cret := xContentTypeGuessForTree(RootVar.GoPointer())142 cret := xContentTypeGuessForTree(RootVar.GoPointer())
154-
155 return cret143 return cret
156 }144 }
157 145
@@ -161,7 +149,6 @@ var xContentTypeIsA func(string, string) bool
161 func ContentTypeIsA(TypeVar string, SupertypeVar string) bool {149 func ContentTypeIsA(TypeVar string, SupertypeVar string) bool {
162 150
163 cret := xContentTypeIsA(TypeVar, SupertypeVar)151 cret := xContentTypeIsA(TypeVar, SupertypeVar)
164-
165 return cret152 return cret
166 }153 }
167 154
@@ -172,7 +159,6 @@ var xContentTypeIsMimeType func(string, string) bool
172 func ContentTypeIsMimeType(TypeVar string, MimeTypeVar string) bool {159 func ContentTypeIsMimeType(TypeVar string, MimeTypeVar string) bool {
173 160
174 cret := xContentTypeIsMimeType(TypeVar, MimeTypeVar)161 cret := xContentTypeIsMimeType(TypeVar, MimeTypeVar)
175-
176 return cret162 return cret
177 }163 }
178 164
@@ -185,7 +171,6 @@ var xContentTypeIsUnknown func(string) bool
185 func ContentTypeIsUnknown(TypeVar string) bool {171 func ContentTypeIsUnknown(TypeVar string) bool {
186 172
187 cret := xContentTypeIsUnknown(TypeVar)173 cret := xContentTypeIsUnknown(TypeVar)
188-
189 return cret174 return cret
190 }175 }
191 176
@@ -230,7 +215,6 @@ var xContentTypesGetRegistered func() *glib.List
230 func ContentTypesGetRegistered() *glib.List {215 func ContentTypesGetRegistered() *glib.List {
231 216
232 cret := xContentTypesGetRegistered()217 cret := xContentTypesGetRegistered()
233-
234 return cret218 return cret
235 }219 }
236 220
M v4/gio/gconverter.go +0 -2
@@ -202,7 +202,6 @@ 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-
206 if cerr == nil {205 if cerr == nil {
207 return cret, nil206 return cret, nil
208 }207 }
@@ -215,7 +214,6 @@ func (x *ConverterBase) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, error)
215 var cerr *glib.Error214 var cerr *glib.Error
216 215
217 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)216 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)
218-
219 if cerr == nil {217 if cerr == nil {
220 return cret, nil218 return cret, nil
221 }219 }
M v4/gio/gconverterinputstream.go +0 -4
@@ -230,7 +230,6 @@ 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-
234 return cret233 return cret
235 }234 }
236 235
@@ -248,7 +247,6 @@ func (x *ConverterInputStream) CanPoll() bool {
248 func (x *ConverterInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {247 func (x *ConverterInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {
249 248
250 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())249 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
251-
252 return cret250 return cret
253 }251 }
254 252
@@ -266,7 +264,6 @@ func (x *ConverterInputStream) CreateSource(CancellableVar *Cancellable) *glib.S
266 func (x *ConverterInputStream) IsReadable() bool {264 func (x *ConverterInputStream) IsReadable() bool {
267 265
268 cret := XGPollableInputStreamIsReadable(x.GoPointer())266 cret := XGPollableInputStreamIsReadable(x.GoPointer())
269-
270 return cret267 return cret
271 }268 }
272 269
@@ -288,7 +285,6 @@ func (x *ConverterInputStream) ReadNonblocking(BufferVar *[]byte, CountVar uint,
288 var cerr *glib.Error285 var cerr *glib.Error
289 286
290 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)287 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
291-
292 if cerr == nil {288 if cerr == nil {
293 return cret, nil289 return cret, nil
294 }290 }
M v4/gio/gconverteroutputstream.go +0 -5
@@ -230,7 +230,6 @@ 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-
234 return cret233 return cret
235 }234 }
236 235
@@ -248,7 +247,6 @@ func (x *ConverterOutputStream) CanPoll() bool {
248 func (x *ConverterOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {247 func (x *ConverterOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {
249 248
250 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())249 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
251-
252 return cret250 return cret
253 }251 }
254 252
@@ -266,7 +264,6 @@ func (x *ConverterOutputStream) CreateSource(CancellableVar *Cancellable) *glib.
266 func (x *ConverterOutputStream) IsWritable() bool {264 func (x *ConverterOutputStream) IsWritable() bool {
267 265
268 cret := XGPollableOutputStreamIsWritable(x.GoPointer())266 cret := XGPollableOutputStreamIsWritable(x.GoPointer())
269-
270 return cret267 return cret
271 }268 }
272 269
@@ -292,7 +289,6 @@ func (x *ConverterOutputStream) WriteNonblocking(BufferVar []byte, CountVar uint
292 var cerr *glib.Error289 var cerr *glib.Error
293 290
294 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)291 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
295-
296 if cerr == nil {292 if cerr == nil {
297 return cret, nil293 return cret, nil
298 }294 }
@@ -323,7 +319,6 @@ func (x *ConverterOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVe
323 var cerr *glib.Error319 var cerr *glib.Error
324 320
325 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)321 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
326-
327 if cerr == nil {322 if cerr == nil {
328 return cret, nil323 return cret, nil
329 }324 }
M v4/gio/gcredentials.go +0 -6
@@ -100,7 +100,6 @@ 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-
104 return cret103 return cret
105 }104 }
106 105
@@ -116,7 +115,6 @@ func (x *Credentials) GetUnixPid() (int, error) {
116 var cerr *glib.Error115 var cerr *glib.Error
117 116
118 cret := xCredentialsGetUnixPid(x.GoPointer())117 cret := xCredentialsGetUnixPid(x.GoPointer())
119-
120 if cerr == nil {118 if cerr == nil {
121 return cret, nil119 return cret, nil
122 }120 }
@@ -136,7 +134,6 @@ func (x *Credentials) GetUnixUser() (uint, error) {
136 var cerr *glib.Error134 var cerr *glib.Error
137 135
138 cret := xCredentialsGetUnixUser(x.GoPointer())136 cret := xCredentialsGetUnixUser(x.GoPointer())
139-
140 if cerr == nil {137 if cerr == nil {
141 return cret, nil138 return cret, nil
142 }139 }
@@ -154,7 +151,6 @@ func (x *Credentials) IsSameUser(OtherCredentialsVar *Credentials) (bool, error)
154 var cerr *glib.Error151 var cerr *glib.Error
155 152
156 cret := xCredentialsIsSameUser(x.GoPointer(), OtherCredentialsVar.GoPointer(), &cerr)153 cret := xCredentialsIsSameUser(x.GoPointer(), OtherCredentialsVar.GoPointer(), &cerr)
157-
158 if cerr == nil {154 if cerr == nil {
159 return cret, nil155 return cret, nil
160 }156 }
@@ -189,7 +185,6 @@ func (x *Credentials) SetUnixUser(UidVar uint) (bool, error) {
189 var cerr *glib.Error185 var cerr *glib.Error
190 186
191 cret := xCredentialsSetUnixUser(x.GoPointer(), UidVar, &cerr)187 cret := xCredentialsSetUnixUser(x.GoPointer(), UidVar, &cerr)
192-
193 if cerr == nil {188 if cerr == nil {
194 return cret, nil189 return cret, nil
195 }190 }
@@ -205,7 +200,6 @@ var xCredentialsToString func(uintptr) string
205 func (x *Credentials) ToString() string {200 func (x *Credentials) ToString() string {
206 201
207 cret := xCredentialsToString(x.GoPointer())202 cret := xCredentialsToString(x.GoPointer())
208-
209 return cret203 return cret
210 }204 }
211 205
M v4/gio/gdatagrambased.go +0 -5
@@ -284,7 +284,6 @@ 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-
288 return cret287 return cret
289 }288 }
290 289
@@ -298,7 +297,6 @@ func (x *DatagramBasedBase) ConditionWait(ConditionVar glib.IOCondition, Timeout
298 var cerr *glib.Error297 var cerr *glib.Error
299 298
300 cret := XGDatagramBasedConditionWait(x.GoPointer(), ConditionVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)299 cret := XGDatagramBasedConditionWait(x.GoPointer(), ConditionVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
301-
302 if cerr == nil {300 if cerr == nil {
303 return cret, nil301 return cret, nil
304 }302 }
@@ -323,7 +321,6 @@ func (x *DatagramBasedBase) ConditionWait(ConditionVar glib.IOCondition, Timeout
323 func (x *DatagramBasedBase) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source {321 func (x *DatagramBasedBase) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source {
324 322
325 cret := XGDatagramBasedCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer())323 cret := XGDatagramBasedCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer())
326-
327 return cret324 return cret
328 }325 }
329 326
@@ -381,7 +378,6 @@ func (x *DatagramBasedBase) ReceiveMessages(MessagesVar []InputMessage, NumMessa
381 var cerr *glib.Error378 var cerr *glib.Error
382 379
383 cret := XGDatagramBasedReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)380 cret := XGDatagramBasedReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
384-
385 if cerr == nil {381 if cerr == nil {
386 return cret, nil382 return cret, nil
387 }383 }
@@ -434,7 +430,6 @@ func (x *DatagramBasedBase) SendMessages(MessagesVar []OutputMessage, NumMessage
434 var cerr *glib.Error430 var cerr *glib.Error
435 431
436 cret := XGDatagramBasedSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)432 cret := XGDatagramBasedSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, TimeoutVar, CancellableVar.GoPointer(), &cerr)
437-
438 if cerr == nil {433 if cerr == nil {
439 return cret, nil434 return cret, nil
440 }435 }
M v4/gio/gdatainputstream.go +0 -22
@@ -194,7 +194,6 @@ 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-
198 return cret197 return cret
199 }198 }
200 199
@@ -204,7 +203,6 @@ var xDataInputStreamGetNewlineType func(uintptr) DataStreamNewlineType
204 func (x *DataInputStream) GetNewlineType() DataStreamNewlineType {203 func (x *DataInputStream) GetNewlineType() DataStreamNewlineType {
205 204
206 cret := xDataInputStreamGetNewlineType(x.GoPointer())205 cret := xDataInputStreamGetNewlineType(x.GoPointer())
207-
208 return cret206 return cret
209 }207 }
210 208
@@ -215,7 +213,6 @@ func (x *DataInputStream) ReadByte(CancellableVar *Cancellable) (byte, error) {
215 var cerr *glib.Error213 var cerr *glib.Error
216 214
217 cret := xDataInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr)215 cret := xDataInputStreamReadByte(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
218-
219 if cerr == nil {216 if cerr == nil {
220 return cret, nil217 return cret, nil
221 }218 }
@@ -233,7 +230,6 @@ func (x *DataInputStream) ReadInt16(CancellableVar *Cancellable) (int16, error)
233 var cerr *glib.Error230 var cerr *glib.Error
234 231
235 cret := xDataInputStreamReadInt16(x.GoPointer(), CancellableVar.GoPointer(), &cerr)232 cret := xDataInputStreamReadInt16(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
236-
237 if cerr == nil {233 if cerr == nil {
238 return cret, nil234 return cret, nil
239 }235 }
@@ -255,7 +251,6 @@ func (x *DataInputStream) ReadInt32(CancellableVar *Cancellable) (int32, error)
255 var cerr *glib.Error251 var cerr *glib.Error
256 252
257 cret := xDataInputStreamReadInt32(x.GoPointer(), CancellableVar.GoPointer(), &cerr)253 cret := xDataInputStreamReadInt32(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
258-
259 if cerr == nil {254 if cerr == nil {
260 return cret, nil255 return cret, nil
261 }256 }
@@ -277,7 +272,6 @@ func (x *DataInputStream) ReadInt64(CancellableVar *Cancellable) (int64, error)
277 var cerr *glib.Error272 var cerr *glib.Error
278 273
279 cret := xDataInputStreamReadInt64(x.GoPointer(), CancellableVar.GoPointer(), &cerr)274 cret := xDataInputStreamReadInt64(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
280-
281 if cerr == nil {275 if cerr == nil {
282 return cret, nil276 return cret, nil
283 }277 }
@@ -298,7 +292,6 @@ func (x *DataInputStream) ReadLine(LengthVar *uint, CancellableVar *Cancellable)
298 var cerr *glib.Error292 var cerr *glib.Error
299 293
300 cret := xDataInputStreamReadLine(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)294 cret := xDataInputStreamReadLine(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)
301-
302 if cerr == nil {295 if cerr == nil {
303 return cret, nil296 return cret, nil
304 }297 }
@@ -345,7 +338,6 @@ func (x *DataInputStream) ReadLineFinish(ResultVar AsyncResult, LengthVar *uint)
345 var cerr *glib.Error338 var cerr *glib.Error
346 339
347 cret := xDataInputStreamReadLineFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)340 cret := xDataInputStreamReadLineFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)
348-
349 if cerr == nil {341 if cerr == nil {
350 return cret, nil342 return cret, nil
351 }343 }
@@ -361,7 +353,6 @@ func (x *DataInputStream) ReadLineFinishUtf8(ResultVar AsyncResult, LengthVar *u
361 var cerr *glib.Error353 var cerr *glib.Error
362 354
363 cret := xDataInputStreamReadLineFinishUtf8(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)355 cret := xDataInputStreamReadLineFinishUtf8(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)
364-
365 if cerr == nil {356 if cerr == nil {
366 return cret, nil357 return cret, nil
367 }358 }
@@ -380,7 +371,6 @@ func (x *DataInputStream) ReadLineUtf8(LengthVar *uint, CancellableVar *Cancella
380 var cerr *glib.Error371 var cerr *glib.Error
381 372
382 cret := xDataInputStreamReadLineUtf8(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)373 cret := xDataInputStreamReadLineUtf8(x.GoPointer(), LengthVar, CancellableVar.GoPointer(), &cerr)
383-
384 if cerr == nil {374 if cerr == nil {
385 return cret, nil375 return cret, nil
386 }376 }
@@ -398,7 +388,6 @@ func (x *DataInputStream) ReadUint16(CancellableVar *Cancellable) (uint16, error
398 var cerr *glib.Error388 var cerr *glib.Error
399 389
400 cret := xDataInputStreamReadUint16(x.GoPointer(), CancellableVar.GoPointer(), &cerr)390 cret := xDataInputStreamReadUint16(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
401-
402 if cerr == nil {391 if cerr == nil {
403 return cret, nil392 return cret, nil
404 }393 }
@@ -420,7 +409,6 @@ func (x *DataInputStream) ReadUint32(CancellableVar *Cancellable) (uint32, error
420 var cerr *glib.Error409 var cerr *glib.Error
421 410
422 cret := xDataInputStreamReadUint32(x.GoPointer(), CancellableVar.GoPointer(), &cerr)411 cret := xDataInputStreamReadUint32(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
423-
424 if cerr == nil {412 if cerr == nil {
425 return cret, nil413 return cret, nil
426 }414 }
@@ -442,7 +430,6 @@ func (x *DataInputStream) ReadUint64(CancellableVar *Cancellable) (uint64, error
442 var cerr *glib.Error430 var cerr *glib.Error
443 431
444 cret := xDataInputStreamReadUint64(x.GoPointer(), CancellableVar.GoPointer(), &cerr)432 cret := xDataInputStreamReadUint64(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
445-
446 if cerr == nil {433 if cerr == nil {
447 return cret, nil434 return cret, nil
448 }435 }
@@ -467,7 +454,6 @@ func (x *DataInputStream) ReadUntil(StopCharsVar string, LengthVar *uint, Cancel
467 var cerr *glib.Error454 var cerr *glib.Error
468 455
469 cret := xDataInputStreamReadUntil(x.GoPointer(), StopCharsVar, LengthVar, CancellableVar.GoPointer(), &cerr)456 cret := xDataInputStreamReadUntil(x.GoPointer(), StopCharsVar, LengthVar, CancellableVar.GoPointer(), &cerr)
470-
471 if cerr == nil {457 if cerr == nil {
472 return cret, nil458 return cret, nil
473 }459 }
@@ -521,7 +507,6 @@ func (x *DataInputStream) ReadUntilFinish(ResultVar AsyncResult, LengthVar *uint
521 var cerr *glib.Error507 var cerr *glib.Error
522 508
523 cret := xDataInputStreamReadUntilFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)509 cret := xDataInputStreamReadUntilFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)
524-
525 if cerr == nil {510 if cerr == nil {
526 return cret, nil511 return cret, nil
527 }512 }
@@ -547,7 +532,6 @@ func (x *DataInputStream) ReadUpto(StopCharsVar string, StopCharsLenVar int, Len
547 var cerr *glib.Error532 var cerr *glib.Error
548 533
549 cret := xDataInputStreamReadUpto(x.GoPointer(), StopCharsVar, StopCharsLenVar, LengthVar, CancellableVar.GoPointer(), &cerr)534 cret := xDataInputStreamReadUpto(x.GoPointer(), StopCharsVar, StopCharsLenVar, LengthVar, CancellableVar.GoPointer(), &cerr)
550-
551 if cerr == nil {535 if cerr == nil {
552 return cret, nil536 return cret, nil
553 }537 }
@@ -606,7 +590,6 @@ func (x *DataInputStream) ReadUptoFinish(ResultVar AsyncResult, LengthVar *uint)
606 var cerr *glib.Error590 var cerr *glib.Error
607 591
608 cret := xDataInputStreamReadUptoFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)592 cret := xDataInputStreamReadUptoFinish(x.GoPointer(), ResultVar.GoPointer(), LengthVar, &cerr)
609-
610 if cerr == nil {593 if cerr == nil {
611 return cret, nil594 return cret, nil
612 }595 }
@@ -652,7 +635,6 @@ func (c *DataInputStream) SetGoPointer(ptr uintptr) {
652 func (x *DataInputStream) CanSeek() bool {635 func (x *DataInputStream) CanSeek() bool {
653 636
654 cret := XGSeekableCanSeek(x.GoPointer())637 cret := XGSeekableCanSeek(x.GoPointer())
655-
656 return cret638 return cret
657 }639 }
658 640
@@ -661,7 +643,6 @@ func (x *DataInputStream) CanSeek() bool {
661 func (x *DataInputStream) CanTruncate() bool {643 func (x *DataInputStream) CanTruncate() bool {
662 644
663 cret := XGSeekableCanTruncate(x.GoPointer())645 cret := XGSeekableCanTruncate(x.GoPointer())
664-
665 return cret646 return cret
666 }647 }
667 648
@@ -683,7 +664,6 @@ func (x *DataInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab
683 var cerr *glib.Error664 var cerr *glib.Error
684 665
685 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)666 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
686-
687 if cerr == nil {667 if cerr == nil {
688 return cret, nil668 return cret, nil
689 }669 }
@@ -695,7 +675,6 @@ func (x *DataInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab
695 func (x *DataInputStream) Tell() int64 {675 func (x *DataInputStream) Tell() int64 {
696 676
697 cret := XGSeekableTell(x.GoPointer())677 cret := XGSeekableTell(x.GoPointer())
698-
699 return cret678 return cret
700 }679 }
701 680
@@ -712,7 +691,6 @@ func (x *DataInputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable)
712 var cerr *glib.Error691 var cerr *glib.Error
713 692
714 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)693 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
715-
716 if cerr == nil {694 if cerr == nil {
717 return cret, nil695 return cret, nil
718 }696 }
M v4/gio/gdataoutputstream.go +0 -14
@@ -194,7 +194,6 @@ 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-
198 return cret197 return cret
199 }198 }
200 199
@@ -205,7 +204,6 @@ func (x *DataOutputStream) PutByte(DataVar byte, CancellableVar *Cancellable) (b
205 var cerr *glib.Error204 var cerr *glib.Error
206 205
207 cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)206 cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
208-
209 if cerr == nil {207 if cerr == nil {
210 return cret, nil208 return cret, nil
211 }209 }
@@ -220,7 +218,6 @@ func (x *DataOutputStream) PutInt16(DataVar int16, CancellableVar *Cancellable)
220 var cerr *glib.Error218 var cerr *glib.Error
221 219
222 cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)220 cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
223-
224 if cerr == nil {221 if cerr == nil {
225 return cret, nil222 return cret, nil
226 }223 }
@@ -235,7 +232,6 @@ func (x *DataOutputStream) PutInt32(DataVar int32, CancellableVar *Cancellable)
235 var cerr *glib.Error232 var cerr *glib.Error
236 233
237 cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)234 cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
238-
239 if cerr == nil {235 if cerr == nil {
240 return cret, nil236 return cret, nil
241 }237 }
@@ -250,7 +246,6 @@ func (x *DataOutputStream) PutInt64(DataVar int64, CancellableVar *Cancellable)
250 var cerr *glib.Error246 var cerr *glib.Error
251 247
252 cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)248 cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
253-
254 if cerr == nil {249 if cerr == nil {
255 return cret, nil250 return cret, nil
256 }251 }
@@ -265,7 +260,6 @@ func (x *DataOutputStream) PutString(StrVar string, CancellableVar *Cancellable)
265 var cerr *glib.Error260 var cerr *glib.Error
266 261
267 cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr)262 cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr)
268-
269 if cerr == nil {263 if cerr == nil {
270 return cret, nil264 return cret, nil
271 }265 }
@@ -280,7 +274,6 @@ func (x *DataOutputStream) PutUint16(DataVar uint16, CancellableVar *Cancellable
280 var cerr *glib.Error274 var cerr *glib.Error
281 275
282 cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)276 cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
283-
284 if cerr == nil {277 if cerr == nil {
285 return cret, nil278 return cret, nil
286 }279 }
@@ -295,7 +288,6 @@ func (x *DataOutputStream) PutUint32(DataVar uint32, CancellableVar *Cancellable
295 var cerr *glib.Error288 var cerr *glib.Error
296 289
297 cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)290 cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
298-
299 if cerr == nil {291 if cerr == nil {
300 return cret, nil292 return cret, nil
301 }293 }
@@ -310,7 +302,6 @@ func (x *DataOutputStream) PutUint64(DataVar uint64, CancellableVar *Cancellable
310 var cerr *glib.Error302 var cerr *glib.Error
311 303
312 cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)304 cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr)
313-
314 if cerr == nil {305 if cerr == nil {
315 return cret, nil306 return cret, nil
316 }307 }
@@ -342,7 +333,6 @@ func (c *DataOutputStream) SetGoPointer(ptr uintptr) {
342 func (x *DataOutputStream) CanSeek() bool {333 func (x *DataOutputStream) CanSeek() bool {
343 334
344 cret := XGSeekableCanSeek(x.GoPointer())335 cret := XGSeekableCanSeek(x.GoPointer())
345-
346 return cret336 return cret
347 }337 }
348 338
@@ -351,7 +341,6 @@ func (x *DataOutputStream) CanSeek() bool {
351 func (x *DataOutputStream) CanTruncate() bool {341 func (x *DataOutputStream) CanTruncate() bool {
352 342
353 cret := XGSeekableCanTruncate(x.GoPointer())343 cret := XGSeekableCanTruncate(x.GoPointer())
354-
355 return cret344 return cret
356 }345 }
357 346
@@ -373,7 +362,6 @@ func (x *DataOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella
373 var cerr *glib.Error362 var cerr *glib.Error
374 363
375 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)364 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
376-
377 if cerr == nil {365 if cerr == nil {
378 return cret, nil366 return cret, nil
379 }367 }
@@ -385,7 +373,6 @@ func (x *DataOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella
385 func (x *DataOutputStream) Tell() int64 {373 func (x *DataOutputStream) Tell() int64 {
386 374
387 cret := XGSeekableTell(x.GoPointer())375 cret := XGSeekableTell(x.GoPointer())
388-
389 return cret376 return cret
390 }377 }
391 378
@@ -402,7 +389,6 @@ func (x *DataOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable
402 var cerr *glib.Error389 var cerr *glib.Error
403 390
404 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)391 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
405-
406 if cerr == nil {392 if cerr == nil {
407 return cret, nil393 return cret, nil
408 }394 }
M v4/gio/gdbusactiongroup.go +2 -13
@@ -2,8 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"7 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -142,7 +140,6 @@ func (x *DBusActionGroup) ChangeActionState(ActionNameVar string, ValueVar *glib
142 func (x *DBusActionGroup) GetActionEnabled(ActionNameVar string) bool {140 func (x *DBusActionGroup) GetActionEnabled(ActionNameVar string) bool {
143 141
144 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)142 cret := XGActionGroupGetActionEnabled(x.GoPointer(), ActionNameVar)
145-
146 return cret143 return cret
147 }144 }
148 145
@@ -162,7 +159,6 @@ func (x *DBusActionGroup) GetActionEnabled(ActionNameVar string) bool {
162 func (x *DBusActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType {159 func (x *DBusActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType {
163 160
164 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)161 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
165-
166 return cret162 return cret
167 }163 }
168 164
@@ -177,7 +173,6 @@ func (x *DBusActionGroup) GetActionParameterType(ActionNameVar string) *glib.Var
177 func (x *DBusActionGroup) GetActionState(ActionNameVar string) *glib.Variant {173 func (x *DBusActionGroup) GetActionState(ActionNameVar string) *glib.Variant {
178 174
179 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)175 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
180-
181 return cret176 return cret
182 }177 }
183 178
@@ -202,7 +197,6 @@ func (x *DBusActionGroup) GetActionState(ActionNameVar string) *glib.Variant {
202 func (x *DBusActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant {197 func (x *DBusActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant {
203 198
204 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)199 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
205-
206 return cret200 return cret
207 }201 }
208 202
@@ -225,7 +219,6 @@ func (x *DBusActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant
225 func (x *DBusActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType {219 func (x *DBusActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType {
226 220
227 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)221 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
228-
229 return cret222 return cret
230 }223 }
231 224
@@ -233,7 +226,6 @@ func (x *DBusActionGroup) GetActionStateType(ActionNameVar string) *glib.Variant
233 func (x *DBusActionGroup) HasAction(ActionNameVar string) bool {226 func (x *DBusActionGroup) HasAction(ActionNameVar string) bool {
234 227
235 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)228 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
236-
237 return cret229 return cret
238 }230 }
239 231
@@ -244,7 +236,6 @@ func (x *DBusActionGroup) HasAction(ActionNameVar string) bool {
244 func (x *DBusActionGroup) ListActions() []string {236 func (x *DBusActionGroup) ListActions() []string {
245 237
246 cret := XGActionGroupListActions(x.GoPointer())238 cret := XGActionGroupListActions(x.GoPointer())
247-
248 return cret239 return cret
249 }240 }
250 241
@@ -278,7 +269,6 @@ func (x *DBusActionGroup) ListActions() []string {
278 func (x *DBusActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {269 func (x *DBusActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
279 270
280 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)271 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
281-
282 return cret272 return cret
283 }273 }
284 274
@@ -330,12 +320,11 @@ var xDBusActionGroupGet func(uintptr, uintptr, string) uintptr
330 func DBusActionGroupGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusActionGroup {320 func DBusActionGroupGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusActionGroup {
331 var cls *DBusActionGroup321 var cls *DBusActionGroup
332 322
333- BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)323+ BusNameVarPtr := core.GStrdupNullable(BusNameVar)
324+ defer core.GFreeNullable(BusNameVarPtr)
334 325
335 cret := xDBusActionGroupGet(ConnectionVar.GoPointer(), BusNameVarPtr, ObjectPathVar)326 cret := xDBusActionGroupGet(ConnectionVar.GoPointer(), BusNameVarPtr, ObjectPathVar)
336 327
337- runtime.KeepAlive(BusNameVarBytes)
338-
339 if cret == 0 {328 if cret == 0 {
340 return nil329 return nil
341 }330 }
M v4/gio/gdbusaddress.go +0 -4
@@ -21,7 +21,6 @@ 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-
25 return cret24 return cret
26 }25 }
27 26
@@ -37,7 +36,6 @@ func DbusAddressGetForBusSync(BusTypeVar BusType, CancellableVar *Cancellable) (
37 var cerr *glib.Error36 var cerr *glib.Error
38 37
39 cret := xDbusAddressGetForBusSync(BusTypeVar, CancellableVar.GoPointer(), &cerr)38 cret := xDbusAddressGetForBusSync(BusTypeVar, CancellableVar.GoPointer(), &cerr)
40-
41 if cerr == nil {39 if cerr == nil {
42 return cret, nil40 return cret, nil
43 }41 }
@@ -144,7 +142,6 @@ var xDbusIsAddress func(string) bool
144 func DbusIsAddress(StringVar string) bool {142 func DbusIsAddress(StringVar string) bool {
145 143
146 cret := xDbusIsAddress(StringVar)144 cret := xDbusIsAddress(StringVar)
147-
148 return cret145 return cret
149 }146 }
150 147
@@ -158,7 +155,6 @@ func DbusIsSupportedAddress(StringVar string) (bool, error) {
158 var cerr *glib.Error155 var cerr *glib.Error
159 156
160 cret := xDbusIsSupportedAddress(StringVar, &cerr)157 cret := xDbusIsSupportedAddress(StringVar, &cerr)
161-
162 if cerr == nil {158 if cerr == nil {
163 return cret, nil159 return cret, nil
164 }160 }
M v4/gio/gdbusauthobserver.go +0 -2
@@ -118,7 +118,6 @@ 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-
122 return cret121 return cret
123 }122 }
124 123
@@ -128,7 +127,6 @@ var xDBusAuthObserverAuthorizeAuthenticatedPeer func(uintptr, uintptr, uintptr)
128 func (x *DBusAuthObserver) AuthorizeAuthenticatedPeer(StreamVar *IOStream, CredentialsVar *Credentials) bool {127 func (x *DBusAuthObserver) AuthorizeAuthenticatedPeer(StreamVar *IOStream, CredentialsVar *Credentials) bool {
129 128
130 cret := xDBusAuthObserverAuthorizeAuthenticatedPeer(x.GoPointer(), StreamVar.GoPointer(), CredentialsVar.GoPointer())129 cret := xDBusAuthObserverAuthorizeAuthenticatedPeer(x.GoPointer(), StreamVar.GoPointer(), CredentialsVar.GoPointer())
131-
132 return cret130 return cret
133 }131 }
134 132
M v4/gio/gdbusconnection.go +24 -66
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -483,12 +482,11 @@ func NewDBusConnectionSync(StreamVar *IOStream, GuidVar *string, FlagsVar DBusCo
483 var cls *DBusConnection482 var cls *DBusConnection
484 var cerr *glib.Error483 var cerr *glib.Error
485 484
486- GuidVarPtr, GuidVarBytes := core.NullableStringToPtr(GuidVar)485+ GuidVarPtr := core.GStrdupNullable(GuidVar)
486+ defer core.GFreeNullable(GuidVarPtr)
487 487
488 cret := xNewDBusConnectionSync(StreamVar.GoPointer(), GuidVarPtr, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), &cerr)488 cret := xNewDBusConnectionSync(StreamVar.GoPointer(), GuidVarPtr, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
489 489
490- runtime.KeepAlive(GuidVarBytes)
491-
492 if cret == 0 {490 if cret == 0 {
493 return nil, cerr491 return nil, cerr
494 }492 }
@@ -563,7 +561,6 @@ func (x *DBusConnection) AddFilter(FilterFunctionVar *DBusMessageFilterFunction,
563 }561 }
564 562
565 cret := xDBusConnectionAddFilter(x.GoPointer(), FilterFunctionVarRef, UserDataVar, UserDataFreeFuncVarRef)563 cret := xDBusConnectionAddFilter(x.GoPointer(), FilterFunctionVarRef, UserDataVar, UserDataFreeFuncVarRef)
566-
567 return cret564 return cret
568 }565 }
569 566
@@ -633,12 +630,11 @@ func (x *DBusConnection) Call(BusNameVar *string, ObjectPathVar string, Interfac
633 }630 }
634 }631 }
635 632
636- BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)633+ BusNameVarPtr := core.GStrdupNullable(BusNameVar)
634+ defer core.GFreeNullable(BusNameVarPtr)
637 635
638 xDBusConnectionCall(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)636 xDBusConnectionCall(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
639 637
640- runtime.KeepAlive(BusNameVarBytes)
641-
642 }638 }
643 639
644 var xDBusConnectionCallFinish func(uintptr, uintptr, **glib.Error) *glib.Variant640 var xDBusConnectionCallFinish func(uintptr, uintptr, **glib.Error) *glib.Variant
@@ -648,7 +644,6 @@ func (x *DBusConnection) CallFinish(ResVar AsyncResult) (*glib.Variant, error) {
648 var cerr *glib.Error644 var cerr *glib.Error
649 645
650 cret := xDBusConnectionCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)646 cret := xDBusConnectionCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
651-
652 if cerr == nil {647 if cerr == nil {
653 return cret, nil648 return cret, nil
654 }649 }
@@ -699,12 +694,10 @@ var xDBusConnectionCallSync func(uintptr, uintptr, string, string, string, *glib
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) {694 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) {
700 var cerr *glib.Error695 var cerr *glib.Error
701 696
702- BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)697+ BusNameVarPtr := core.GStrdupNullable(BusNameVar)
698+ defer core.GFreeNullable(BusNameVarPtr)
703 699
704 cret := xDBusConnectionCallSync(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)700 cret := xDBusConnectionCallSync(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)
705-
706- runtime.KeepAlive(BusNameVarBytes)
707-
708 if cerr == nil {701 if cerr == nil {
709 return cret, nil702 return cret, nil
710 }703 }
@@ -746,12 +739,11 @@ func (x *DBusConnection) CallWithUnixFdList(BusNameVar *string, ObjectPathVar st
746 }739 }
747 }740 }
748 741
749- BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)742+ BusNameVarPtr := core.GStrdupNullable(BusNameVar)
743+ defer core.GFreeNullable(BusNameVarPtr)
750 744
751 xDBusConnectionCallWithUnixFdList(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)745 xDBusConnectionCallWithUnixFdList(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
752 746
753- runtime.KeepAlive(BusNameVarBytes)
754-
755 }747 }
756 748
757 var xDBusConnectionCallWithUnixFdListFinish func(uintptr, **UnixFDList, uintptr, **glib.Error) *glib.Variant749 var xDBusConnectionCallWithUnixFdListFinish func(uintptr, **UnixFDList, uintptr, **glib.Error) *glib.Variant
@@ -772,7 +764,6 @@ func (x *DBusConnection) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, Res
772 var cerr *glib.Error764 var cerr *glib.Error
773 765
774 cret := xDBusConnectionCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr)766 cret := xDBusConnectionCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr)
775-
776 if cerr == nil {767 if cerr == nil {
777 return cret, nil768 return cret, nil
778 }769 }
@@ -790,12 +781,10 @@ var xDBusConnectionCallWithUnixFdListSync func(uintptr, uintptr, string, string,
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) {781 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) {
791 var cerr *glib.Error782 var cerr *glib.Error
792 783
793- BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)784+ BusNameVarPtr := core.GStrdupNullable(BusNameVar)
785+ defer core.GFreeNullable(BusNameVarPtr)
794 786
795 cret := xDBusConnectionCallWithUnixFdListSync(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)787 cret := xDBusConnectionCallWithUnixFdListSync(x.GoPointer(), BusNameVarPtr, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)
796-
797- runtime.KeepAlive(BusNameVarBytes)
798-
799 if cerr == nil {788 if cerr == nil {
800 return cret, nil789 return cret, nil
801 }790 }
@@ -857,7 +846,6 @@ func (x *DBusConnection) CloseFinish(ResVar AsyncResult) (bool, error) {
857 var cerr *glib.Error846 var cerr *glib.Error
858 847
859 cret := xDBusConnectionCloseFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)848 cret := xDBusConnectionCloseFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
860-
861 if cerr == nil {849 if cerr == nil {
862 return cret, nil850 return cret, nil
863 }851 }
@@ -875,7 +863,6 @@ func (x *DBusConnection) CloseSync(CancellableVar *Cancellable) (bool, error) {
875 var cerr *glib.Error863 var cerr *glib.Error
876 864
877 cret := xDBusConnectionCloseSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr)865 cret := xDBusConnectionCloseSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
878-
879 if cerr == nil {866 if cerr == nil {
880 return cret, nil867 return cret, nil
881 }868 }
@@ -895,12 +882,10 @@ var xDBusConnectionEmitSignal func(uintptr, uintptr, string, string, string, *gl
895 func (x *DBusConnection) EmitSignal(DestinationBusNameVar *string, ObjectPathVar string, InterfaceNameVar string, SignalNameVar string, ParametersVar *glib.Variant) (bool, error) {882 func (x *DBusConnection) EmitSignal(DestinationBusNameVar *string, ObjectPathVar string, InterfaceNameVar string, SignalNameVar string, ParametersVar *glib.Variant) (bool, error) {
896 var cerr *glib.Error883 var cerr *glib.Error
897 884
898- DestinationBusNameVarPtr, DestinationBusNameVarBytes := core.NullableStringToPtr(DestinationBusNameVar)885+ DestinationBusNameVarPtr := core.GStrdupNullable(DestinationBusNameVar)
886+ defer core.GFreeNullable(DestinationBusNameVarPtr)
899 887
900 cret := xDBusConnectionEmitSignal(x.GoPointer(), DestinationBusNameVarPtr, ObjectPathVar, InterfaceNameVar, SignalNameVar, ParametersVar, &cerr)888 cret := xDBusConnectionEmitSignal(x.GoPointer(), DestinationBusNameVarPtr, ObjectPathVar, InterfaceNameVar, SignalNameVar, ParametersVar, &cerr)
901-
902- runtime.KeepAlive(DestinationBusNameVarBytes)
903-
904 if cerr == nil {889 if cerr == nil {
905 return cret, nil890 return cret, nil
906 }891 }
@@ -935,7 +920,6 @@ func (x *DBusConnection) ExportActionGroup(ObjectPathVar string, ActionGroupVar
935 var cerr *glib.Error920 var cerr *glib.Error
936 921
937 cret := xDBusConnectionExportActionGroup(x.GoPointer(), ObjectPathVar, ActionGroupVar.GoPointer(), &cerr)922 cret := xDBusConnectionExportActionGroup(x.GoPointer(), ObjectPathVar, ActionGroupVar.GoPointer(), &cerr)
938-
939 if cerr == nil {923 if cerr == nil {
940 return cret, nil924 return cret, nil
941 }925 }
@@ -965,7 +949,6 @@ func (x *DBusConnection) ExportMenuModel(ObjectPathVar string, MenuVar *MenuMode
965 var cerr *glib.Error949 var cerr *glib.Error
966 950
967 cret := xDBusConnectionExportMenuModel(x.GoPointer(), ObjectPathVar, MenuVar.GoPointer(), &cerr)951 cret := xDBusConnectionExportMenuModel(x.GoPointer(), ObjectPathVar, MenuVar.GoPointer(), &cerr)
968-
969 if cerr == nil {952 if cerr == nil {
970 return cret, nil953 return cret, nil
971 }954 }
@@ -1017,7 +1000,6 @@ func (x *DBusConnection) FlushFinish(ResVar AsyncResult) (bool, error) {
1017 var cerr *glib.Error1000 var cerr *glib.Error
1018 1001
1019 cret := xDBusConnectionFlushFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)1002 cret := xDBusConnectionFlushFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
1020-
1021 if cerr == nil {1003 if cerr == nil {
1022 return cret, nil1004 return cret, nil
1023 }1005 }
@@ -1035,7 +1017,6 @@ func (x *DBusConnection) FlushSync(CancellableVar *Cancellable) (bool, error) {
1035 var cerr *glib.Error1017 var cerr *glib.Error
1036 1018
1037 cret := xDBusConnectionFlushSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr)1019 cret := xDBusConnectionFlushSync(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
1038-
1039 if cerr == nil {1020 if cerr == nil {
1040 return cret, nil1021 return cret, nil
1041 }1022 }
@@ -1049,7 +1030,6 @@ var xDBusConnectionGetCapabilities func(uintptr) DBusCapabilityFlags
1049 func (x *DBusConnection) GetCapabilities() DBusCapabilityFlags {1030 func (x *DBusConnection) GetCapabilities() DBusCapabilityFlags {
1050 1031
1051 cret := xDBusConnectionGetCapabilities(x.GoPointer())1032 cret := xDBusConnectionGetCapabilities(x.GoPointer())
1052-
1053 return cret1033 return cret
1054 }1034 }
1055 1035
@@ -1061,7 +1041,6 @@ var xDBusConnectionGetExitOnClose func(uintptr) bool
1061 func (x *DBusConnection) GetExitOnClose() bool {1041 func (x *DBusConnection) GetExitOnClose() bool {
1062 1042
1063 cret := xDBusConnectionGetExitOnClose(x.GoPointer())1043 cret := xDBusConnectionGetExitOnClose(x.GoPointer())
1064-
1065 return cret1044 return cret
1066 }1045 }
1067 1046
@@ -1071,7 +1050,6 @@ var xDBusConnectionGetFlags func(uintptr) DBusConnectionFlags
1071 func (x *DBusConnection) GetFlags() DBusConnectionFlags {1050 func (x *DBusConnection) GetFlags() DBusConnectionFlags {
1072 1051
1073 cret := xDBusConnectionGetFlags(x.GoPointer())1052 cret := xDBusConnectionGetFlags(x.GoPointer())
1074-
1075 return cret1053 return cret
1076 }1054 }
1077 1055
@@ -1082,7 +1060,6 @@ var xDBusConnectionGetGuid func(uintptr) string
1082 func (x *DBusConnection) GetGuid() string {1060 func (x *DBusConnection) GetGuid() string {
1083 1061
1084 cret := xDBusConnectionGetGuid(x.GoPointer())1062 cret := xDBusConnectionGetGuid(x.GoPointer())
1085-
1086 return cret1063 return cret
1087 }1064 }
1088 1065
@@ -1096,7 +1073,6 @@ var xDBusConnectionGetLastSerial func(uintptr) uint32
1096 func (x *DBusConnection) GetLastSerial() uint32 {1073 func (x *DBusConnection) GetLastSerial() uint32 {
1097 1074
1098 cret := xDBusConnectionGetLastSerial(x.GoPointer())1075 cret := xDBusConnectionGetLastSerial(x.GoPointer())
1099-
1100 return cret1076 return cret
1101 }1077 }
1102 1078
@@ -1154,7 +1130,6 @@ var xDBusConnectionGetUniqueName func(uintptr) string
1154 func (x *DBusConnection) GetUniqueName() string {1130 func (x *DBusConnection) GetUniqueName() string {
1155 1131
1156 cret := xDBusConnectionGetUniqueName(x.GoPointer())1132 cret := xDBusConnectionGetUniqueName(x.GoPointer())
1157-
1158 return cret1133 return cret
1159 }1134 }
1160 1135
@@ -1164,7 +1139,6 @@ var xDBusConnectionIsClosed func(uintptr) bool
1164 func (x *DBusConnection) IsClosed() bool {1139 func (x *DBusConnection) IsClosed() bool {
1165 1140
1166 cret := xDBusConnectionIsClosed(x.GoPointer())1141 cret := xDBusConnectionIsClosed(x.GoPointer())
1167-
1168 return cret1142 return cret
1169 }1143 }
1170 1144
@@ -1228,7 +1202,6 @@ func (x *DBusConnection) RegisterObject(ObjectPathVar string, InterfaceInfoVar *
1228 }1202 }
1229 1203
1230 cret := xDBusConnectionRegisterObject(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, VtableVar, UserDataVar, UserDataFreeFuncVarRef, &cerr)1204 cret := xDBusConnectionRegisterObject(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, VtableVar, UserDataVar, UserDataFreeFuncVarRef, &cerr)
1231-
1232 if cerr == nil {1205 if cerr == nil {
1233 return cret, nil1206 return cret, nil
1234 }1207 }
@@ -1249,7 +1222,6 @@ func (x *DBusConnection) RegisterObjectWithClosures(ObjectPathVar string, Interf
1249 var cerr *glib.Error1222 var cerr *glib.Error
1250 1223
1251 cret := xDBusConnectionRegisterObjectWithClosures(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr)1224 cret := xDBusConnectionRegisterObjectWithClosures(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr)
1252-
1253 if cerr == nil {1225 if cerr == nil {
1254 return cret, nil1226 return cret, nil
1255 }1227 }
@@ -1275,7 +1247,6 @@ func (x *DBusConnection) RegisterObjectWithClosures2(ObjectPathVar string, Inter
1275 var cerr *glib.Error1247 var cerr *glib.Error
1276 1248
1277 cret := xDBusConnectionRegisterObjectWithClosures2(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr)1249 cret := xDBusConnectionRegisterObjectWithClosures2(x.GoPointer(), ObjectPathVar, InterfaceInfoVar, MethodCallClosureVar, GetPropertyClosureVar, SetPropertyClosureVar, &cerr)
1278-
1279 if cerr == nil {1250 if cerr == nil {
1280 return cret, nil1251 return cret, nil
1281 }1252 }
@@ -1338,7 +1309,6 @@ func (x *DBusConnection) RegisterSubtree(ObjectPathVar string, VtableVar *DBusSu
1338 }1309 }
1339 1310
1340 cret := xDBusConnectionRegisterSubtree(x.GoPointer(), ObjectPathVar, VtableVar, FlagsVar, UserDataVar, UserDataFreeFuncVarRef, &cerr)1311 cret := xDBusConnectionRegisterSubtree(x.GoPointer(), ObjectPathVar, VtableVar, FlagsVar, UserDataVar, UserDataFreeFuncVarRef, &cerr)
1341-
1342 if cerr == nil {1312 if cerr == nil {
1343 return cret, nil1313 return cret, nil
1344 }1314 }
@@ -1390,7 +1360,6 @@ func (x *DBusConnection) SendMessage(MessageVar *DBusMessage, FlagsVar DBusSendM
1390 var cerr *glib.Error1360 var cerr *glib.Error
1391 1361
1392 cret := xDBusConnectionSendMessage(x.GoPointer(), MessageVar.GoPointer(), FlagsVar, OutSerialVar, &cerr)1362 cret := xDBusConnectionSendMessage(x.GoPointer(), MessageVar.GoPointer(), FlagsVar, OutSerialVar, &cerr)
1393-
1394 if cerr == nil {1363 if cerr == nil {
1395 return cret, nil1364 return cret, nil
1396 }1365 }
@@ -1634,28 +1603,22 @@ func (x *DBusConnection) SignalSubscribe(SenderVar *string, InterfaceNameVar *st
1634 }1603 }
1635 }1604 }
1636 1605
1637- SenderVarPtr, SenderVarBytes := core.NullableStringToPtr(SenderVar)1606+ SenderVarPtr := core.GStrdupNullable(SenderVar)
1607+ defer core.GFreeNullable(SenderVarPtr)
1638 1608
1639- InterfaceNameVarPtr, InterfaceNameVarBytes := core.NullableStringToPtr(InterfaceNameVar)1609+ InterfaceNameVarPtr := core.GStrdupNullable(InterfaceNameVar)
1610+ defer core.GFreeNullable(InterfaceNameVarPtr)
1640 1611
1641- MemberVarPtr, MemberVarBytes := core.NullableStringToPtr(MemberVar)1612+ MemberVarPtr := core.GStrdupNullable(MemberVar)
1613+ defer core.GFreeNullable(MemberVarPtr)
1642 1614
1643- ObjectPathVarPtr, ObjectPathVarBytes := core.NullableStringToPtr(ObjectPathVar)1615+ ObjectPathVarPtr := core.GStrdupNullable(ObjectPathVar)
1616+ defer core.GFreeNullable(ObjectPathVarPtr)
1644 1617
1645- Arg0VarPtr, Arg0VarBytes := core.NullableStringToPtr(Arg0Var)1618+ Arg0VarPtr := core.GStrdupNullable(Arg0Var)
1619+ defer core.GFreeNullable(Arg0VarPtr)
1646 1620
1647 cret := xDBusConnectionSignalSubscribe(x.GoPointer(), SenderVarPtr, InterfaceNameVarPtr, MemberVarPtr, ObjectPathVarPtr, Arg0VarPtr, FlagsVar, CallbackVarRef, UserDataVar, UserDataFreeFuncVarRef)1621 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-
1659 return cret1622 return cret
1660 }1623 }
1661 1624
@@ -1725,7 +1688,6 @@ var xDBusConnectionUnregisterObject func(uintptr, uint) bool
1725 func (x *DBusConnection) UnregisterObject(RegistrationIdVar uint) bool {1688 func (x *DBusConnection) UnregisterObject(RegistrationIdVar uint) bool {
1726 1689
1727 cret := xDBusConnectionUnregisterObject(x.GoPointer(), RegistrationIdVar)1690 cret := xDBusConnectionUnregisterObject(x.GoPointer(), RegistrationIdVar)
1728-
1729 return cret1691 return cret
1730 }1692 }
1731 1693
@@ -1735,7 +1697,6 @@ var xDBusConnectionUnregisterSubtree func(uintptr, uint) bool
1735 func (x *DBusConnection) UnregisterSubtree(RegistrationIdVar uint) bool {1697 func (x *DBusConnection) UnregisterSubtree(RegistrationIdVar uint) bool {
1736 1698
1737 cret := xDBusConnectionUnregisterSubtree(x.GoPointer(), RegistrationIdVar)1699 cret := xDBusConnectionUnregisterSubtree(x.GoPointer(), RegistrationIdVar)
1738-
1739 return cret1700 return cret
1740 }1701 }
1741 1702
@@ -1950,7 +1911,6 @@ func (x *DBusConnection) InitFinish(ResVar AsyncResult) (bool, error) {
1950 var cerr *glib.Error1911 var cerr *glib.Error
1951 1912
1952 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)1913 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
1953-
1954 if cerr == nil {1914 if cerr == nil {
1955 return cret, nil1915 return cret, nil
1956 }1916 }
@@ -2020,7 +1980,6 @@ func (x *DBusConnection) Init(CancellableVar *Cancellable) (bool, error) {
2020 var cerr *glib.Error1980 var cerr *glib.Error
2021 1981
2022 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)1982 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
2023-
2024 if cerr == nil {1983 if cerr == nil {
2025 return cret, nil1984 return cret, nil
2026 }1985 }
@@ -2067,12 +2026,11 @@ func DBusConnectionNew(StreamVar *IOStream, GuidVar *string, FlagsVar DBusConnec
2067 }2026 }
2068 }2027 }
2069 2028
2070- GuidVarPtr, GuidVarBytes := core.NullableStringToPtr(GuidVar)2029+ GuidVarPtr := core.GStrdupNullable(GuidVar)
2030+ defer core.GFreeNullable(GuidVarPtr)
2071 2031
2072 xDBusConnectionNew(StreamVar.GoPointer(), GuidVarPtr, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)2032 xDBusConnectionNew(StreamVar.GoPointer(), GuidVarPtr, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
2073 2033
2074- runtime.KeepAlive(GuidVarBytes)
2075-
2076 }2034 }
2077 2035
2078 var xDBusConnectionNewForAddress func(string, DBusConnectionFlags, uintptr, uintptr, uintptr, uintptr)2036 var xDBusConnectionNewForAddress func(string, DBusConnectionFlags, uintptr, uintptr, uintptr, uintptr)
M v4/gio/gdbuserror.go +0 -7
@@ -42,7 +42,6 @@ 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-
46 return cret45 return cret
47 }46 }
48 47
@@ -57,7 +56,6 @@ var xDbusErrorGetRemoteError func(*glib.Error) string
57 func DbusErrorGetRemoteError(ErrorVar *glib.Error) string {56 func DbusErrorGetRemoteError(ErrorVar *glib.Error) string {
58 57
59 cret := xDbusErrorGetRemoteError(ErrorVar)58 cret := xDbusErrorGetRemoteError(ErrorVar)
60-
61 return cret59 return cret
62 }60 }
63 61
@@ -69,7 +67,6 @@ var xDbusErrorIsRemoteError func(*glib.Error) bool
69 func DbusErrorIsRemoteError(ErrorVar *glib.Error) bool {67 func DbusErrorIsRemoteError(ErrorVar *glib.Error) bool {
70 68
71 cret := xDbusErrorIsRemoteError(ErrorVar)69 cret := xDbusErrorIsRemoteError(ErrorVar)
72-
73 return cret70 return cret
74 }71 }
75 72
@@ -107,7 +104,6 @@ var xDbusErrorNewForDbusError func(string, string) *glib.Error
107 func DbusErrorNewForDbusError(DbusErrorNameVar string, DbusErrorMessageVar string) *glib.Error {104 func DbusErrorNewForDbusError(DbusErrorNameVar string, DbusErrorMessageVar string) *glib.Error {
108 105
109 cret := xDbusErrorNewForDbusError(DbusErrorNameVar, DbusErrorMessageVar)106 cret := xDbusErrorNewForDbusError(DbusErrorNameVar, DbusErrorMessageVar)
110-
111 return cret107 return cret
112 }108 }
113 109
@@ -121,7 +117,6 @@ var xDbusErrorRegisterError func(glib.Quark, int, string) bool
121 func DbusErrorRegisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool {117 func DbusErrorRegisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool {
122 118
123 cret := xDbusErrorRegisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar)119 cret := xDbusErrorRegisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar)
124-
125 return cret120 return cret
126 }121 }
127 122
@@ -151,7 +146,6 @@ var xDbusErrorStripRemoteError func(*glib.Error) bool
151 func DbusErrorStripRemoteError(ErrorVar *glib.Error) bool {146 func DbusErrorStripRemoteError(ErrorVar *glib.Error) bool {
152 147
153 cret := xDbusErrorStripRemoteError(ErrorVar)148 cret := xDbusErrorStripRemoteError(ErrorVar)
154-
155 return cret149 return cret
156 }150 }
157 151
@@ -162,7 +156,6 @@ var xDbusErrorUnregisterError func(glib.Quark, int, string) bool
162 func DbusErrorUnregisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool {156 func DbusErrorUnregisterError(ErrorDomainVar glib.Quark, ErrorCodeVar int, DbusErrorNameVar string) bool {
163 157
164 cret := xDbusErrorUnregisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar)158 cret := xDbusErrorUnregisterError(ErrorDomainVar, ErrorCodeVar, DbusErrorNameVar)
165-
166 return cret159 return cret
167 }160 }
168 161
M v4/gio/gdbusinterface.go +0 -1
@@ -204,7 +204,6 @@ 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-
208 return cret207 return cret
209 }208 }
210 209
M v4/gio/gdbusinterfaceskeleton.go +0 -8
@@ -200,7 +200,6 @@ 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-
204 if cerr == nil {203 if cerr == nil {
205 return cret, nil204 return cret, nil
206 }205 }
@@ -247,7 +246,6 @@ var xDBusInterfaceSkeletonGetConnections func(uintptr) *glib.List
247 func (x *DBusInterfaceSkeleton) GetConnections() *glib.List {246 func (x *DBusInterfaceSkeleton) GetConnections() *glib.List {
248 247
249 cret := xDBusInterfaceSkeletonGetConnections(x.GoPointer())248 cret := xDBusInterfaceSkeletonGetConnections(x.GoPointer())
250-
251 return cret249 return cret
252 }250 }
253 251
@@ -258,7 +256,6 @@ var xDBusInterfaceSkeletonGetFlags func(uintptr) DBusInterfaceSkeletonFlags
258 func (x *DBusInterfaceSkeleton) GetFlags() DBusInterfaceSkeletonFlags {256 func (x *DBusInterfaceSkeleton) GetFlags() DBusInterfaceSkeletonFlags {
259 257
260 cret := xDBusInterfaceSkeletonGetFlags(x.GoPointer())258 cret := xDBusInterfaceSkeletonGetFlags(x.GoPointer())
261-
262 return cret259 return cret
263 }260 }
264 261
@@ -269,7 +266,6 @@ var xDBusInterfaceSkeletonGetInfo func(uintptr) *DBusInterfaceInfo
269 func (x *DBusInterfaceSkeleton) GetInfo() *DBusInterfaceInfo {266 func (x *DBusInterfaceSkeleton) GetInfo() *DBusInterfaceInfo {
270 267
271 cret := xDBusInterfaceSkeletonGetInfo(x.GoPointer())268 cret := xDBusInterfaceSkeletonGetInfo(x.GoPointer())
272-
273 return cret269 return cret
274 }270 }
275 271
@@ -279,7 +275,6 @@ var xDBusInterfaceSkeletonGetObjectPath func(uintptr) string
279 func (x *DBusInterfaceSkeleton) GetObjectPath() string {275 func (x *DBusInterfaceSkeleton) GetObjectPath() string {
280 276
281 cret := xDBusInterfaceSkeletonGetObjectPath(x.GoPointer())277 cret := xDBusInterfaceSkeletonGetObjectPath(x.GoPointer())
282-
283 return cret278 return cret
284 }279 }
285 280
@@ -289,7 +284,6 @@ var xDBusInterfaceSkeletonGetProperties func(uintptr) *glib.Variant
289 func (x *DBusInterfaceSkeleton) GetProperties() *glib.Variant {284 func (x *DBusInterfaceSkeleton) GetProperties() *glib.Variant {
290 285
291 cret := xDBusInterfaceSkeletonGetProperties(x.GoPointer())286 cret := xDBusInterfaceSkeletonGetProperties(x.GoPointer())
292-
293 return cret287 return cret
294 }288 }
295 289
@@ -301,7 +295,6 @@ var xDBusInterfaceSkeletonGetVtable func(uintptr) *DBusInterfaceVTable
301 func (x *DBusInterfaceSkeleton) GetVtable() *DBusInterfaceVTable {295 func (x *DBusInterfaceSkeleton) GetVtable() *DBusInterfaceVTable {
302 296
303 cret := xDBusInterfaceSkeletonGetVtable(x.GoPointer())297 cret := xDBusInterfaceSkeletonGetVtable(x.GoPointer())
304-
305 return cret298 return cret
306 }299 }
307 300
@@ -311,7 +304,6 @@ var xDBusInterfaceSkeletonHasConnection func(uintptr, uintptr) bool
311 func (x *DBusInterfaceSkeleton) HasConnection(ConnectionVar *DBusConnection) bool {304 func (x *DBusInterfaceSkeleton) HasConnection(ConnectionVar *DBusConnection) bool {
312 305
313 cret := xDBusInterfaceSkeletonHasConnection(x.GoPointer(), ConnectionVar.GoPointer())306 cret := xDBusInterfaceSkeletonHasConnection(x.GoPointer(), ConnectionVar.GoPointer())
314-
315 return cret307 return cret
316 }308 }
317 309
M v4/gio/gdbusintrospection.go +0 -13
@@ -41,7 +41,6 @@ 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-
45 return cret44 return cret
46 }45 }
47 46
@@ -86,7 +85,6 @@ var xDBusArgInfoRef func(uintptr) *DBusArgInfo
86 func (x *DBusArgInfo) Ref() *DBusArgInfo {85 func (x *DBusArgInfo) Ref() *DBusArgInfo {
87 86
88 cret := xDBusArgInfoRef(x.GoPointer())87 cret := xDBusArgInfoRef(x.GoPointer())
89-
90 return cret88 return cret
91 }89 }
92 90
@@ -180,7 +178,6 @@ var xDBusInterfaceInfoLookupMethod func(uintptr, string) *DBusMethodInfo
180 func (x *DBusInterfaceInfo) LookupMethod(NameVar string) *DBusMethodInfo {178 func (x *DBusInterfaceInfo) LookupMethod(NameVar string) *DBusMethodInfo {
181 179
182 cret := xDBusInterfaceInfoLookupMethod(x.GoPointer(), NameVar)180 cret := xDBusInterfaceInfoLookupMethod(x.GoPointer(), NameVar)
183-
184 return cret181 return cret
185 }182 }
186 183
@@ -193,7 +190,6 @@ var xDBusInterfaceInfoLookupProperty func(uintptr, string) *DBusPropertyInfo
193 func (x *DBusInterfaceInfo) LookupProperty(NameVar string) *DBusPropertyInfo {190 func (x *DBusInterfaceInfo) LookupProperty(NameVar string) *DBusPropertyInfo {
194 191
195 cret := xDBusInterfaceInfoLookupProperty(x.GoPointer(), NameVar)192 cret := xDBusInterfaceInfoLookupProperty(x.GoPointer(), NameVar)
196-
197 return cret193 return cret
198 }194 }
199 195
@@ -206,7 +202,6 @@ var xDBusInterfaceInfoLookupSignal func(uintptr, string) *DBusSignalInfo
206 func (x *DBusInterfaceInfo) LookupSignal(NameVar string) *DBusSignalInfo {202 func (x *DBusInterfaceInfo) LookupSignal(NameVar string) *DBusSignalInfo {
207 203
208 cret := xDBusInterfaceInfoLookupSignal(x.GoPointer(), NameVar)204 cret := xDBusInterfaceInfoLookupSignal(x.GoPointer(), NameVar)
209-
210 return cret205 return cret
211 }206 }
212 207
@@ -217,7 +212,6 @@ var xDBusInterfaceInfoRef func(uintptr) *DBusInterfaceInfo
217 func (x *DBusInterfaceInfo) Ref() *DBusInterfaceInfo {212 func (x *DBusInterfaceInfo) Ref() *DBusInterfaceInfo {
218 213
219 cret := xDBusInterfaceInfoRef(x.GoPointer())214 cret := xDBusInterfaceInfoRef(x.GoPointer())
220-
221 return cret215 return cret
222 }216 }
223 217
@@ -264,7 +258,6 @@ var xDBusMethodInfoRef func(uintptr) *DBusMethodInfo
264 func (x *DBusMethodInfo) Ref() *DBusMethodInfo {258 func (x *DBusMethodInfo) Ref() *DBusMethodInfo {
265 259
266 cret := xDBusMethodInfoRef(x.GoPointer())260 cret := xDBusMethodInfoRef(x.GoPointer())
267-
268 return cret261 return cret
269 }262 }
270 263
@@ -318,7 +311,6 @@ func NewDBusNodeInfoForXml(XmlDataVar string) (*DBusNodeInfo, error) {
318 var cerr *glib.Error311 var cerr *glib.Error
319 312
320 cret := xNewDBusNodeInfoForXml(XmlDataVar, &cerr)313 cret := xNewDBusNodeInfoForXml(XmlDataVar, &cerr)
321-
322 if cerr == nil {314 if cerr == nil {
323 return cret, nil315 return cret, nil
324 }316 }
@@ -346,7 +338,6 @@ var xDBusNodeInfoLookupInterface func(uintptr, string) *DBusInterfaceInfo
346 func (x *DBusNodeInfo) LookupInterface(NameVar string) *DBusInterfaceInfo {338 func (x *DBusNodeInfo) LookupInterface(NameVar string) *DBusInterfaceInfo {
347 339
348 cret := xDBusNodeInfoLookupInterface(x.GoPointer(), NameVar)340 cret := xDBusNodeInfoLookupInterface(x.GoPointer(), NameVar)
349-
350 return cret341 return cret
351 }342 }
352 343
@@ -357,7 +348,6 @@ var xDBusNodeInfoRef func(uintptr) *DBusNodeInfo
357 func (x *DBusNodeInfo) Ref() *DBusNodeInfo {348 func (x *DBusNodeInfo) Ref() *DBusNodeInfo {
358 349
359 cret := xDBusNodeInfoRef(x.GoPointer())350 cret := xDBusNodeInfoRef(x.GoPointer())
360-
361 return cret351 return cret
362 }352 }
363 353
@@ -404,7 +394,6 @@ var xDBusPropertyInfoRef func(uintptr) *DBusPropertyInfo
404 func (x *DBusPropertyInfo) Ref() *DBusPropertyInfo {394 func (x *DBusPropertyInfo) Ref() *DBusPropertyInfo {
405 395
406 cret := xDBusPropertyInfoRef(x.GoPointer())396 cret := xDBusPropertyInfoRef(x.GoPointer())
407-
408 return cret397 return cret
409 }398 }
410 399
@@ -449,7 +438,6 @@ var xDBusSignalInfoRef func(uintptr) *DBusSignalInfo
449 func (x *DBusSignalInfo) Ref() *DBusSignalInfo {438 func (x *DBusSignalInfo) Ref() *DBusSignalInfo {
450 439
451 cret := xDBusSignalInfoRef(x.GoPointer())440 cret := xDBusSignalInfoRef(x.GoPointer())
452-
453 return cret441 return cret
454 }442 }
455 443
@@ -472,7 +460,6 @@ var xDbusAnnotationInfoLookup func(uintptr, string) string
472 func DbusAnnotationInfoLookup(AnnotationsVar uintptr, NameVar string) string {460 func DbusAnnotationInfoLookup(AnnotationsVar uintptr, NameVar string) string {
473 461
474 cret := xDbusAnnotationInfoLookup(AnnotationsVar, NameVar)462 cret := xDbusAnnotationInfoLookup(AnnotationsVar, NameVar)
475-
476 return cret463 return cret
477 }464 }
478 465
M v4/gio/gdbusmenumodel.go +2 -5
@@ -2,8 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 "github.com/jwijenbergh/puregotk/v4/gobject/types"7 "github.com/jwijenbergh/puregotk/v4/gobject/types"
@@ -52,12 +50,11 @@ var xDBusMenuModelGet func(uintptr, uintptr, string) uintptr
52 func DBusMenuModelGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusMenuModel {50 func DBusMenuModelGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusMenuModel {
53 var cls *DBusMenuModel51 var cls *DBusMenuModel
54 52
55- BusNameVarPtr, BusNameVarBytes := core.NullableStringToPtr(BusNameVar)53+ BusNameVarPtr := core.GStrdupNullable(BusNameVar)
54+ defer core.GFreeNullable(BusNameVarPtr)
56 55
57 cret := xDBusMenuModelGet(ConnectionVar.GoPointer(), BusNameVarPtr, ObjectPathVar)56 cret := xDBusMenuModelGet(ConnectionVar.GoPointer(), BusNameVarPtr, ObjectPathVar)
58 57
59- runtime.KeepAlive(BusNameVarBytes)
60-
61 if cret == 0 {58 if cret == 0 {
62 return nil59 return nil
63 }60 }
M v4/gio/gdbusmessage.go +16 -49
@@ -2,8 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"7 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -77,16 +75,14 @@ var xNewDBusMessageMethodCall func(uintptr, string, uintptr, string) uintptr
77 func NewDBusMessageMethodCall(NameVar *string, PathVar string, InterfaceVar *string, MethodVar string) *DBusMessage {75 func NewDBusMessageMethodCall(NameVar *string, PathVar string, InterfaceVar *string, MethodVar string) *DBusMessage {
78 var cls *DBusMessage76 var cls *DBusMessage
79 77
80- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)78+ NameVarPtr := core.GStrdupNullable(NameVar)
79+ defer core.GFreeNullable(NameVarPtr)
81 80
82- InterfaceVarPtr, InterfaceVarBytes := core.NullableStringToPtr(InterfaceVar)81+ InterfaceVarPtr := core.GStrdupNullable(InterfaceVar)
82+ defer core.GFreeNullable(InterfaceVarPtr)
83 83
84 cret := xNewDBusMessageMethodCall(NameVarPtr, PathVar, InterfaceVarPtr, MethodVar)84 cret := xNewDBusMessageMethodCall(NameVarPtr, PathVar, InterfaceVarPtr, MethodVar)
85 85
86- runtime.KeepAlive(NameVarBytes)
87-
88- runtime.KeepAlive(InterfaceVarBytes)
89-
90 if cret == 0 {86 if cret == 0 {
91 return nil87 return nil
92 }88 }
@@ -146,7 +142,6 @@ var xDBusMessageGetArg0 func(uintptr) string
146 func (x *DBusMessage) GetArg0() string {142 func (x *DBusMessage) GetArg0() string {
147 143
148 cret := xDBusMessageGetArg0(x.GoPointer())144 cret := xDBusMessageGetArg0(x.GoPointer())
149-
150 return cret145 return cret
151 }146 }
152 147
@@ -158,7 +153,6 @@ var xDBusMessageGetArg0Path func(uintptr) string
158 func (x *DBusMessage) GetArg0Path() string {153 func (x *DBusMessage) GetArg0Path() string {
159 154
160 cret := xDBusMessageGetArg0Path(x.GoPointer())155 cret := xDBusMessageGetArg0Path(x.GoPointer())
161-
162 return cret156 return cret
163 }157 }
164 158
@@ -168,7 +162,6 @@ var xDBusMessageGetBody func(uintptr) *glib.Variant
168 func (x *DBusMessage) GetBody() *glib.Variant {162 func (x *DBusMessage) GetBody() *glib.Variant {
169 163
170 cret := xDBusMessageGetBody(x.GoPointer())164 cret := xDBusMessageGetBody(x.GoPointer())
171-
172 return cret165 return cret
173 }166 }
174 167
@@ -178,7 +171,6 @@ var xDBusMessageGetByteOrder func(uintptr) DBusMessageByteOrder
178 func (x *DBusMessage) GetByteOrder() DBusMessageByteOrder {171 func (x *DBusMessage) GetByteOrder() DBusMessageByteOrder {
179 172
180 cret := xDBusMessageGetByteOrder(x.GoPointer())173 cret := xDBusMessageGetByteOrder(x.GoPointer())
181-
182 return cret174 return cret
183 }175 }
184 176
@@ -188,7 +180,6 @@ var xDBusMessageGetDestination func(uintptr) string
188 func (x *DBusMessage) GetDestination() string {180 func (x *DBusMessage) GetDestination() string {
189 181
190 cret := xDBusMessageGetDestination(x.GoPointer())182 cret := xDBusMessageGetDestination(x.GoPointer())
191-
192 return cret183 return cret
193 }184 }
194 185
@@ -198,7 +189,6 @@ var xDBusMessageGetErrorName func(uintptr) string
198 func (x *DBusMessage) GetErrorName() string {189 func (x *DBusMessage) GetErrorName() string {
199 190
200 cret := xDBusMessageGetErrorName(x.GoPointer())191 cret := xDBusMessageGetErrorName(x.GoPointer())
201-
202 return cret192 return cret
203 }193 }
204 194
@@ -208,7 +198,6 @@ var xDBusMessageGetFlags func(uintptr) DBusMessageFlags
208 func (x *DBusMessage) GetFlags() DBusMessageFlags {198 func (x *DBusMessage) GetFlags() DBusMessageFlags {
209 199
210 cret := xDBusMessageGetFlags(x.GoPointer())200 cret := xDBusMessageGetFlags(x.GoPointer())
211-
212 return cret201 return cret
213 }202 }
214 203
@@ -221,7 +210,6 @@ var xDBusMessageGetHeader func(uintptr, DBusMessageHeaderField) *glib.Variant
221 func (x *DBusMessage) GetHeader(HeaderFieldVar DBusMessageHeaderField) *glib.Variant {210 func (x *DBusMessage) GetHeader(HeaderFieldVar DBusMessageHeaderField) *glib.Variant {
222 211
223 cret := xDBusMessageGetHeader(x.GoPointer(), HeaderFieldVar)212 cret := xDBusMessageGetHeader(x.GoPointer(), HeaderFieldVar)
224-
225 return cret213 return cret
226 }214 }
227 215
@@ -231,7 +219,6 @@ var xDBusMessageGetHeaderFields func(uintptr) uintptr
231 func (x *DBusMessage) GetHeaderFields() uintptr {219 func (x *DBusMessage) GetHeaderFields() uintptr {
232 220
233 cret := xDBusMessageGetHeaderFields(x.GoPointer())221 cret := xDBusMessageGetHeaderFields(x.GoPointer())
234-
235 return cret222 return cret
236 }223 }
237 224
@@ -241,7 +228,6 @@ var xDBusMessageGetInterface func(uintptr) string
241 func (x *DBusMessage) GetInterface() string {228 func (x *DBusMessage) GetInterface() string {
242 229
243 cret := xDBusMessageGetInterface(x.GoPointer())230 cret := xDBusMessageGetInterface(x.GoPointer())
244-
245 return cret231 return cret
246 }232 }
247 233
@@ -253,7 +239,6 @@ var xDBusMessageGetLocked func(uintptr) bool
253 func (x *DBusMessage) GetLocked() bool {239 func (x *DBusMessage) GetLocked() bool {
254 240
255 cret := xDBusMessageGetLocked(x.GoPointer())241 cret := xDBusMessageGetLocked(x.GoPointer())
256-
257 return cret242 return cret
258 }243 }
259 244
@@ -263,7 +248,6 @@ var xDBusMessageGetMember func(uintptr) string
263 func (x *DBusMessage) GetMember() string {248 func (x *DBusMessage) GetMember() string {
264 249
265 cret := xDBusMessageGetMember(x.GoPointer())250 cret := xDBusMessageGetMember(x.GoPointer())
266-
267 return cret251 return cret
268 }252 }
269 253
@@ -273,7 +257,6 @@ var xDBusMessageGetMessageType func(uintptr) DBusMessageType
273 func (x *DBusMessage) GetMessageType() DBusMessageType {257 func (x *DBusMessage) GetMessageType() DBusMessageType {
274 258
275 cret := xDBusMessageGetMessageType(x.GoPointer())259 cret := xDBusMessageGetMessageType(x.GoPointer())
276-
277 return cret260 return cret
278 }261 }
279 262
@@ -283,7 +266,6 @@ var xDBusMessageGetNumUnixFds func(uintptr) uint32
283 func (x *DBusMessage) GetNumUnixFds() uint32 {266 func (x *DBusMessage) GetNumUnixFds() uint32 {
284 267
285 cret := xDBusMessageGetNumUnixFds(x.GoPointer())268 cret := xDBusMessageGetNumUnixFds(x.GoPointer())
286-
287 return cret269 return cret
288 }270 }
289 271
@@ -293,7 +275,6 @@ var xDBusMessageGetPath func(uintptr) string
293 func (x *DBusMessage) GetPath() string {275 func (x *DBusMessage) GetPath() string {
294 276
295 cret := xDBusMessageGetPath(x.GoPointer())277 cret := xDBusMessageGetPath(x.GoPointer())
296-
297 return cret278 return cret
298 }279 }
299 280
@@ -303,7 +284,6 @@ var xDBusMessageGetReplySerial func(uintptr) uint32
303 func (x *DBusMessage) GetReplySerial() uint32 {284 func (x *DBusMessage) GetReplySerial() uint32 {
304 285
305 cret := xDBusMessageGetReplySerial(x.GoPointer())286 cret := xDBusMessageGetReplySerial(x.GoPointer())
306-
307 return cret287 return cret
308 }288 }
309 289
@@ -313,7 +293,6 @@ var xDBusMessageGetSender func(uintptr) string
313 func (x *DBusMessage) GetSender() string {293 func (x *DBusMessage) GetSender() string {
314 294
315 cret := xDBusMessageGetSender(x.GoPointer())295 cret := xDBusMessageGetSender(x.GoPointer())
316-
317 return cret296 return cret
318 }297 }
319 298
@@ -323,7 +302,6 @@ var xDBusMessageGetSerial func(uintptr) uint32
323 func (x *DBusMessage) GetSerial() uint32 {302 func (x *DBusMessage) GetSerial() uint32 {
324 303
325 cret := xDBusMessageGetSerial(x.GoPointer())304 cret := xDBusMessageGetSerial(x.GoPointer())
326-
327 return cret305 return cret
328 }306 }
329 307
@@ -335,7 +313,6 @@ var xDBusMessageGetSignature func(uintptr) string
335 func (x *DBusMessage) GetSignature() string {313 func (x *DBusMessage) GetSignature() string {
336 314
337 cret := xDBusMessageGetSignature(x.GoPointer())315 cret := xDBusMessageGetSignature(x.GoPointer())
338-
339 return cret316 return cret
340 }317 }
341 318
@@ -482,7 +459,6 @@ var xDBusMessagePrint func(uintptr, uint) string
482 func (x *DBusMessage) Print(IndentVar uint) string {459 func (x *DBusMessage) Print(IndentVar uint) string {
483 460
484 cret := xDBusMessagePrint(x.GoPointer(), IndentVar)461 cret := xDBusMessagePrint(x.GoPointer(), IndentVar)
485-
486 return cret462 return cret
487 }463 }
488 464
@@ -513,12 +489,11 @@ var xDBusMessageSetDestination func(uintptr, uintptr)
513 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION header field.489 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION header field.
514 func (x *DBusMessage) SetDestination(ValueVar *string) {490 func (x *DBusMessage) SetDestination(ValueVar *string) {
515 491
516- ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)492+ ValueVarPtr := core.GStrdupNullable(ValueVar)
493+ defer core.GFreeNullable(ValueVarPtr)
517 494
518 xDBusMessageSetDestination(x.GoPointer(), ValueVarPtr)495 xDBusMessageSetDestination(x.GoPointer(), ValueVarPtr)
519 496
520- runtime.KeepAlive(ValueVarBytes)
521-
522 }497 }
523 498
524 var xDBusMessageSetErrorName func(uintptr, string)499 var xDBusMessageSetErrorName func(uintptr, string)
@@ -555,12 +530,11 @@ var xDBusMessageSetInterface func(uintptr, uintptr)
555 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE header field.530 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE header field.
556 func (x *DBusMessage) SetInterface(ValueVar *string) {531 func (x *DBusMessage) SetInterface(ValueVar *string) {
557 532
558- ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)533+ ValueVarPtr := core.GStrdupNullable(ValueVar)
534+ defer core.GFreeNullable(ValueVarPtr)
559 535
560 xDBusMessageSetInterface(x.GoPointer(), ValueVarPtr)536 xDBusMessageSetInterface(x.GoPointer(), ValueVarPtr)
561 537
562- runtime.KeepAlive(ValueVarBytes)
563-
564 }538 }
565 539
566 var xDBusMessageSetMember func(uintptr, uintptr)540 var xDBusMessageSetMember func(uintptr, uintptr)
@@ -568,12 +542,11 @@ var xDBusMessageSetMember func(uintptr, uintptr)
568 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_MEMBER header field.542 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_MEMBER header field.
569 func (x *DBusMessage) SetMember(ValueVar *string) {543 func (x *DBusMessage) SetMember(ValueVar *string) {
570 544
571- ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)545+ ValueVarPtr := core.GStrdupNullable(ValueVar)
546+ defer core.GFreeNullable(ValueVarPtr)
572 547
573 xDBusMessageSetMember(x.GoPointer(), ValueVarPtr)548 xDBusMessageSetMember(x.GoPointer(), ValueVarPtr)
574 549
575- runtime.KeepAlive(ValueVarBytes)
576-
577 }550 }
578 551
579 var xDBusMessageSetMessageType func(uintptr, DBusMessageType)552 var xDBusMessageSetMessageType func(uintptr, DBusMessageType)
@@ -599,12 +572,11 @@ var xDBusMessageSetPath func(uintptr, uintptr)
599 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_PATH header field.572 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_PATH header field.
600 func (x *DBusMessage) SetPath(ValueVar *string) {573 func (x *DBusMessage) SetPath(ValueVar *string) {
601 574
602- ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)575+ ValueVarPtr := core.GStrdupNullable(ValueVar)
576+ defer core.GFreeNullable(ValueVarPtr)
603 577
604 xDBusMessageSetPath(x.GoPointer(), ValueVarPtr)578 xDBusMessageSetPath(x.GoPointer(), ValueVarPtr)
605 579
606- runtime.KeepAlive(ValueVarBytes)
607-
608 }580 }
609 581
610 var xDBusMessageSetReplySerial func(uintptr, uint32)582 var xDBusMessageSetReplySerial func(uintptr, uint32)
@@ -621,12 +593,11 @@ var xDBusMessageSetSender func(uintptr, uintptr)
621 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SENDER header field.593 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SENDER header field.
622 func (x *DBusMessage) SetSender(ValueVar *string) {594 func (x *DBusMessage) SetSender(ValueVar *string) {
623 595
624- ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)596+ ValueVarPtr := core.GStrdupNullable(ValueVar)
597+ defer core.GFreeNullable(ValueVarPtr)
625 598
626 xDBusMessageSetSender(x.GoPointer(), ValueVarPtr)599 xDBusMessageSetSender(x.GoPointer(), ValueVarPtr)
627 600
628- runtime.KeepAlive(ValueVarBytes)
629-
630 }601 }
631 602
632 var xDBusMessageSetSerial func(uintptr, uint32)603 var xDBusMessageSetSerial func(uintptr, uint32)
@@ -646,12 +617,11 @@ var xDBusMessageSetSignature func(uintptr, uintptr)
646 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE header field.617 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE header field.
647 func (x *DBusMessage) SetSignature(ValueVar *string) {618 func (x *DBusMessage) SetSignature(ValueVar *string) {
648 619
649- ValueVarPtr, ValueVarBytes := core.NullableStringToPtr(ValueVar)620+ ValueVarPtr := core.GStrdupNullable(ValueVar)
621+ defer core.GFreeNullable(ValueVarPtr)
650 622
651 xDBusMessageSetSignature(x.GoPointer(), ValueVarPtr)623 xDBusMessageSetSignature(x.GoPointer(), ValueVarPtr)
652 624
653- runtime.KeepAlive(ValueVarBytes)
654-
655 }625 }
656 626
657 var xDBusMessageSetUnixFdList func(uintptr, uintptr)627 var xDBusMessageSetUnixFdList func(uintptr, uintptr)
@@ -681,7 +651,6 @@ func (x *DBusMessage) ToBlob(OutSizeVar *uint, CapabilitiesVar DBusCapabilityFla
681 var cerr *glib.Error651 var cerr *glib.Error
682 652
683 cret := xDBusMessageToBlob(x.GoPointer(), OutSizeVar, CapabilitiesVar, &cerr)653 cret := xDBusMessageToBlob(x.GoPointer(), OutSizeVar, CapabilitiesVar, &cerr)
684-
685 if cerr == nil {654 if cerr == nil {
686 return cret, nil655 return cret, nil
687 }656 }
@@ -702,7 +671,6 @@ func (x *DBusMessage) ToGerror() (bool, error) {
702 var cerr *glib.Error671 var cerr *glib.Error
703 672
704 cret := xDBusMessageToGerror(x.GoPointer())673 cret := xDBusMessageToGerror(x.GoPointer())
705-
706 if cerr == nil {674 if cerr == nil {
707 return cret, nil675 return cret, nil
708 }676 }
@@ -736,7 +704,6 @@ func DBusMessageBytesNeeded(BlobVar []byte, BlobLenVar uint) (int, error) {
736 var cerr *glib.Error704 var cerr *glib.Error
737 705
738 cret := xDBusMessageBytesNeeded(BlobVar, BlobLenVar, &cerr)706 cret := xDBusMessageBytesNeeded(BlobVar, BlobLenVar, &cerr)
739-
740 if cerr == nil {707 if cerr == nil {
741 return cret, nil708 return cret, nil
742 }709 }
M v4/gio/gdbusmethodinvocation.go +0 -8
@@ -90,7 +90,6 @@ 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-
94 return cret93 return cret
95 }94 }
96 95
@@ -130,7 +129,6 @@ var xDBusMethodInvocationGetMethodInfo func(uintptr) *DBusMethodInfo
130 func (x *DBusMethodInvocation) GetMethodInfo() *DBusMethodInfo {129 func (x *DBusMethodInvocation) GetMethodInfo() *DBusMethodInfo {
131 130
132 cret := xDBusMethodInvocationGetMethodInfo(x.GoPointer())131 cret := xDBusMethodInvocationGetMethodInfo(x.GoPointer())
133-
134 return cret132 return cret
135 }133 }
136 134
@@ -140,7 +138,6 @@ var xDBusMethodInvocationGetMethodName func(uintptr) string
140 func (x *DBusMethodInvocation) GetMethodName() string {138 func (x *DBusMethodInvocation) GetMethodName() string {
141 139
142 cret := xDBusMethodInvocationGetMethodName(x.GoPointer())140 cret := xDBusMethodInvocationGetMethodName(x.GoPointer())
143-
144 return cret141 return cret
145 }142 }
146 143
@@ -150,7 +147,6 @@ var xDBusMethodInvocationGetObjectPath func(uintptr) string
150 func (x *DBusMethodInvocation) GetObjectPath() string {147 func (x *DBusMethodInvocation) GetObjectPath() string {
151 148
152 cret := xDBusMethodInvocationGetObjectPath(x.GoPointer())149 cret := xDBusMethodInvocationGetObjectPath(x.GoPointer())
153-
154 return cret150 return cret
155 }151 }
156 152
@@ -161,7 +157,6 @@ var xDBusMethodInvocationGetParameters func(uintptr) *glib.Variant
161 func (x *DBusMethodInvocation) GetParameters() *glib.Variant {157 func (x *DBusMethodInvocation) GetParameters() *glib.Variant {
162 158
163 cret := xDBusMethodInvocationGetParameters(x.GoPointer())159 cret := xDBusMethodInvocationGetParameters(x.GoPointer())
164-
165 return cret160 return cret
166 }161 }
167 162
@@ -181,7 +176,6 @@ var xDBusMethodInvocationGetPropertyInfo func(uintptr) *DBusPropertyInfo
181 func (x *DBusMethodInvocation) GetPropertyInfo() *DBusPropertyInfo {176 func (x *DBusMethodInvocation) GetPropertyInfo() *DBusPropertyInfo {
182 177
183 cret := xDBusMethodInvocationGetPropertyInfo(x.GoPointer())178 cret := xDBusMethodInvocationGetPropertyInfo(x.GoPointer())
184-
185 return cret179 return cret
186 }180 }
187 181
@@ -194,7 +188,6 @@ var xDBusMethodInvocationGetSender func(uintptr) string
194 func (x *DBusMethodInvocation) GetSender() string {188 func (x *DBusMethodInvocation) GetSender() string {
195 189
196 cret := xDBusMethodInvocationGetSender(x.GoPointer())190 cret := xDBusMethodInvocationGetSender(x.GoPointer())
197-
198 return cret191 return cret
199 }192 }
200 193
@@ -204,7 +197,6 @@ var xDBusMethodInvocationGetUserData func(uintptr) uintptr
204 func (x *DBusMethodInvocation) GetUserData() uintptr {197 func (x *DBusMethodInvocation) GetUserData() uintptr {
205 198
206 cret := xDBusMethodInvocationGetUserData(x.GoPointer())199 cret := xDBusMethodInvocationGetUserData(x.GoPointer())
207-
208 return cret200 return cret
209 }201 }
210 202
M v4/gio/gdbusnameowning.go +0 -4
@@ -134,7 +134,6 @@ 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-
138 return cret137 return cret
139 }138 }
140 139
@@ -190,7 +189,6 @@ func BusOwnNameOnConnection(ConnectionVar *DBusConnection, NameVar string, Flags
190 }189 }
191 190
192 cret := xBusOwnNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredHandlerVarRef, NameLostHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)191 cret := xBusOwnNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredHandlerVarRef, NameLostHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)
193-
194 return cret192 return cret
195 }193 }
196 194
@@ -201,7 +199,6 @@ var xBusOwnNameOnConnectionWithClosures func(uintptr, string, BusNameOwnerFlags,
201 func BusOwnNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameOwnerFlags, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint {199 func BusOwnNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameOwnerFlags, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint {
202 200
203 cret := xBusOwnNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredClosureVar, NameLostClosureVar)201 cret := xBusOwnNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAcquiredClosureVar, NameLostClosureVar)
204-
205 return cret202 return cret
206 }203 }
207 204
@@ -212,7 +209,6 @@ var xBusOwnNameWithClosures func(BusType, string, BusNameOwnerFlags, *gobject.Cl
212 func BusOwnNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameOwnerFlags, BusAcquiredClosureVar *gobject.Closure, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint {209 func BusOwnNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameOwnerFlags, BusAcquiredClosureVar *gobject.Closure, NameAcquiredClosureVar *gobject.Closure, NameLostClosureVar *gobject.Closure) uint {
213 210
214 cret := xBusOwnNameWithClosures(BusTypeVar, NameVar, FlagsVar, BusAcquiredClosureVar, NameAcquiredClosureVar, NameLostClosureVar)211 cret := xBusOwnNameWithClosures(BusTypeVar, NameVar, FlagsVar, BusAcquiredClosureVar, NameAcquiredClosureVar, NameLostClosureVar)
215-
216 return cret212 return cret
217 }213 }
218 214
M v4/gio/gdbusnamewatching.go +0 -4
@@ -115,7 +115,6 @@ 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-
119 return cret118 return cret
120 }119 }
121 120
@@ -171,7 +170,6 @@ func BusWatchNameOnConnection(ConnectionVar *DBusConnection, NameVar string, Fla
171 }170 }
172 171
173 cret := xBusWatchNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedHandlerVarRef, NameVanishedHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)172 cret := xBusWatchNameOnConnection(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedHandlerVarRef, NameVanishedHandlerVarRef, UserDataVar, UserDataFreeFuncVarRef)
174-
175 return cret173 return cret
176 }174 }
177 175
@@ -182,7 +180,6 @@ var xBusWatchNameOnConnectionWithClosures func(uintptr, string, BusNameWatcherFl
182 func BusWatchNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint {180 func BusWatchNameOnConnectionWithClosures(ConnectionVar *DBusConnection, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint {
183 181
184 cret := xBusWatchNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar)182 cret := xBusWatchNameOnConnectionWithClosures(ConnectionVar.GoPointer(), NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar)
185-
186 return cret183 return cret
187 }184 }
188 185
@@ -193,7 +190,6 @@ var xBusWatchNameWithClosures func(BusType, string, BusNameWatcherFlags, *gobjec
193 func BusWatchNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint {190 func BusWatchNameWithClosures(BusTypeVar BusType, NameVar string, FlagsVar BusNameWatcherFlags, NameAppearedClosureVar *gobject.Closure, NameVanishedClosureVar *gobject.Closure) uint {
194 191
195 cret := xBusWatchNameWithClosures(BusTypeVar, NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar)192 cret := xBusWatchNameWithClosures(BusTypeVar, NameVar, FlagsVar, NameAppearedClosureVar, NameVanishedClosureVar)
196-
197 return cret193 return cret
198 }194 }
199 195
M v4/gio/gdbusobject.go +0 -2
@@ -219,7 +219,6 @@ 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-
223 return cret222 return cret
224 }223 }
225 224
@@ -227,7 +226,6 @@ func (x *DBusObjectBase) GetInterfaces() *glib.List {
227 func (x *DBusObjectBase) GetObjectPath() string {226 func (x *DBusObjectBase) GetObjectPath() string {
228 227
229 cret := XGDbusObjectGetObjectPath(x.GoPointer())228 cret := XGDbusObjectGetObjectPath(x.GoPointer())
230-
231 return cret229 return cret
232 }230 }
233 231
M v4/gio/gdbusobjectmanager.go +0 -2
@@ -328,7 +328,6 @@ 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-
332 return cret331 return cret
333 }332 }
334 333
@@ -336,7 +335,6 @@ func (x *DBusObjectManagerBase) GetObjectPath() string {
336 func (x *DBusObjectManagerBase) GetObjects() *glib.List {335 func (x *DBusObjectManagerBase) GetObjects() *glib.List {
337 336
338 cret := XGDbusObjectManagerGetObjects(x.GoPointer())337 cret := XGDbusObjectManagerGetObjects(x.GoPointer())
339-
340 return cret338 return cret
341 }339 }
342 340
M v4/gio/gdbusobjectmanagerclient.go +2 -11
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -321,12 +320,11 @@ func NewDBusObjectManagerClientSync(ConnectionVar *DBusConnection, FlagsVar DBus
321 }320 }
322 }321 }
323 322
324- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)323+ NameVarPtr := core.GStrdupNullable(NameVar)
324+ defer core.GFreeNullable(NameVarPtr)
325 325
326 cret := xNewDBusObjectManagerClientSync(ConnectionVar.GoPointer(), FlagsVar, NameVarPtr, ObjectPathVar, GetProxyTypeFuncVarRef, GetProxyTypeUserDataVar, GetProxyTypeDestroyNotifyVarRef, CancellableVar.GoPointer(), &cerr)326 cret := xNewDBusObjectManagerClientSync(ConnectionVar.GoPointer(), FlagsVar, NameVarPtr, ObjectPathVar, GetProxyTypeFuncVarRef, GetProxyTypeUserDataVar, GetProxyTypeDestroyNotifyVarRef, CancellableVar.GoPointer(), &cerr)
327 327
328- runtime.KeepAlive(NameVarBytes)
329-
330 if cret == 0 {328 if cret == 0 {
331 return nil, cerr329 return nil, cerr
332 }330 }
@@ -362,7 +360,6 @@ var xDBusObjectManagerClientGetFlags func(uintptr) DBusObjectManagerClientFlags
362 func (x *DBusObjectManagerClient) GetFlags() DBusObjectManagerClientFlags {360 func (x *DBusObjectManagerClient) GetFlags() DBusObjectManagerClientFlags {
363 361
364 cret := xDBusObjectManagerClientGetFlags(x.GoPointer())362 cret := xDBusObjectManagerClientGetFlags(x.GoPointer())
365-
366 return cret363 return cret
367 }364 }
368 365
@@ -373,7 +370,6 @@ var xDBusObjectManagerClientGetName func(uintptr) string
373 func (x *DBusObjectManagerClient) GetName() string {370 func (x *DBusObjectManagerClient) GetName() string {
374 371
375 cret := xDBusObjectManagerClientGetName(x.GoPointer())372 cret := xDBusObjectManagerClientGetName(x.GoPointer())
376-
377 return cret373 return cret
378 }374 }
379 375
@@ -386,7 +382,6 @@ var xDBusObjectManagerClientGetNameOwner func(uintptr) string
386 func (x *DBusObjectManagerClient) GetNameOwner() string {382 func (x *DBusObjectManagerClient) GetNameOwner() string {
387 383
388 cret := xDBusObjectManagerClientGetNameOwner(x.GoPointer())384 cret := xDBusObjectManagerClientGetNameOwner(x.GoPointer())
389-
390 return cret385 return cret
391 }386 }
392 387
@@ -611,7 +606,6 @@ func (x *DBusObjectManagerClient) InitFinish(ResVar AsyncResult) (bool, error) {
611 var cerr *glib.Error606 var cerr *glib.Error
612 607
613 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)608 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
614-
615 if cerr == nil {609 if cerr == nil {
616 return cret, nil610 return cret, nil
617 }611 }
@@ -672,7 +666,6 @@ func (x *DBusObjectManagerClient) GetObject(ObjectPathVar string) *DBusObjectBas
672 func (x *DBusObjectManagerClient) GetObjectPath() string {666 func (x *DBusObjectManagerClient) GetObjectPath() string {
673 667
674 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())668 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())
675-
676 return cret669 return cret
677 }670 }
678 671
@@ -680,7 +673,6 @@ func (x *DBusObjectManagerClient) GetObjectPath() string {
680 func (x *DBusObjectManagerClient) GetObjects() *glib.List {673 func (x *DBusObjectManagerClient) GetObjects() *glib.List {
681 674
682 cret := XGDbusObjectManagerGetObjects(x.GoPointer())675 cret := XGDbusObjectManagerGetObjects(x.GoPointer())
683-
684 return cret676 return cret
685 }677 }
686 678
@@ -726,7 +718,6 @@ func (x *DBusObjectManagerClient) Init(CancellableVar *Cancellable) (bool, error
726 var cerr *glib.Error718 var cerr *glib.Error
727 719
728 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)720 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
729-
730 if cerr == nil {721 if cerr == nil {
731 return cret, nil722 return cret, nil
732 }723 }
M v4/gio/gdbusobjectmanagerserver.go +0 -4
@@ -144,7 +144,6 @@ 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-
148 return cret147 return cret
149 }148 }
150 149
@@ -168,7 +167,6 @@ var xDBusObjectManagerServerUnexport func(uintptr, string) bool
168 func (x *DBusObjectManagerServer) Unexport(ObjectPathVar string) bool {167 func (x *DBusObjectManagerServer) Unexport(ObjectPathVar string) bool {
169 168
170 cret := xDBusObjectManagerServerUnexport(x.GoPointer(), ObjectPathVar)169 cret := xDBusObjectManagerServerUnexport(x.GoPointer(), ObjectPathVar)
171-
172 return cret170 return cret
173 }171 }
174 172
@@ -233,7 +231,6 @@ func (x *DBusObjectManagerServer) GetObject(ObjectPathVar string) *DBusObjectBas
233 func (x *DBusObjectManagerServer) GetObjectPath() string {231 func (x *DBusObjectManagerServer) GetObjectPath() string {
234 232
235 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())233 cret := XGDbusObjectManagerGetObjectPath(x.GoPointer())
236-
237 return cret234 return cret
238 }235 }
239 236
@@ -241,7 +238,6 @@ func (x *DBusObjectManagerServer) GetObjectPath() string {
241 func (x *DBusObjectManagerServer) GetObjects() *glib.List {238 func (x *DBusObjectManagerServer) GetObjects() *glib.List {
242 239
243 cret := XGDbusObjectManagerGetObjects(x.GoPointer())240 cret := XGDbusObjectManagerGetObjects(x.GoPointer())
244-
245 return cret241 return cret
246 }242 }
247 243
M v4/gio/gdbusobjectproxy.go +0 -2
@@ -134,7 +134,6 @@ 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-
138 return cret137 return cret
139 }138 }
140 139
@@ -142,7 +141,6 @@ func (x *DBusObjectProxy) GetInterfaces() *glib.List {
142 func (x *DBusObjectProxy) GetObjectPath() string {141 func (x *DBusObjectProxy) GetObjectPath() string {
143 142
144 cret := XGDbusObjectGetObjectPath(x.GoPointer())143 cret := XGDbusObjectGetObjectPath(x.GoPointer())
145-
146 return cret144 return cret
147 }145 }
148 146
M v4/gio/gdbusobjectskeleton.go +0 -2
@@ -231,7 +231,6 @@ func (x *DBusObjectSkeleton) GetInterface(InterfaceNameVar string) *DBusInterfac
231 func (x *DBusObjectSkeleton) GetInterfaces() *glib.List {231 func (x *DBusObjectSkeleton) GetInterfaces() *glib.List {
232 232
233 cret := XGDbusObjectGetInterfaces(x.GoPointer())233 cret := XGDbusObjectGetInterfaces(x.GoPointer())
234-
235 return cret234 return cret
236 }235 }
237 236
@@ -239,7 +238,6 @@ func (x *DBusObjectSkeleton) GetInterfaces() *glib.List {
239 func (x *DBusObjectSkeleton) GetObjectPath() string {238 func (x *DBusObjectSkeleton) GetObjectPath() string {
240 239
241 cret := XGDbusObjectGetObjectPath(x.GoPointer())240 cret := XGDbusObjectGetObjectPath(x.GoPointer())
242-
243 return cret241 return cret
244 }242 }
245 243
M v4/gio/gdbusproxy.go +4 -23
@@ -3,7 +3,6 @@ package gio
3 3
4 import (4 import (
5 "fmt"5 "fmt"
6- "runtime"
7 "structs"6 "structs"
8 "unsafe"7 "unsafe"
9 8
@@ -245,12 +244,11 @@ func NewDBusProxySync(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, In
245 var cls *DBusProxy244 var cls *DBusProxy
246 var cerr *glib.Error245 var cerr *glib.Error
247 246
248- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)247+ NameVarPtr := core.GStrdupNullable(NameVar)
248+ defer core.GFreeNullable(NameVarPtr)
249 249
250 cret := xNewDBusProxySync(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVarPtr, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), &cerr)250 cret := xNewDBusProxySync(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVarPtr, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), &cerr)
251 251
252- runtime.KeepAlive(NameVarBytes)
253-
254 if cret == 0 {252 if cret == 0 {
255 return nil, cerr253 return nil, cerr
256 }254 }
@@ -337,7 +335,6 @@ func (x *DBusProxy) CallFinish(ResVar AsyncResult) (*glib.Variant, error) {
337 var cerr *glib.Error335 var cerr *glib.Error
338 336
339 cret := xDBusProxyCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)337 cret := xDBusProxyCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
340-
341 if cerr == nil {338 if cerr == nil {
342 return cret, nil339 return cret, nil
343 }340 }
@@ -387,7 +384,6 @@ func (x *DBusProxy) CallSync(MethodNameVar string, ParametersVar *glib.Variant,
387 var cerr *glib.Error384 var cerr *glib.Error
388 385
389 cret := xDBusProxyCallSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)386 cret := xDBusProxyCallSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)
390-
391 if cerr == nil {387 if cerr == nil {
392 return cret, nil388 return cret, nil
393 }389 }
@@ -428,7 +424,6 @@ func (x *DBusProxy) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, ResVar A
428 var cerr *glib.Error424 var cerr *glib.Error
429 425
430 cret := xDBusProxyCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr)426 cret := xDBusProxyCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr)
431-
432 if cerr == nil {427 if cerr == nil {
433 return cret, nil428 return cret, nil
434 }429 }
@@ -445,7 +440,6 @@ func (x *DBusProxy) CallWithUnixFdListSync(MethodNameVar string, ParametersVar *
445 var cerr *glib.Error440 var cerr *glib.Error
446 441
447 cret := xDBusProxyCallWithUnixFdListSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)442 cret := xDBusProxyCallWithUnixFdListSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)
448-
449 if cerr == nil {443 if cerr == nil {
450 return cret, nil444 return cret, nil
451 }445 }
@@ -464,7 +458,6 @@ var xDBusProxyGetCachedProperty func(uintptr, string) *glib.Variant
464 func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant {458 func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant {
465 459
466 cret := xDBusProxyGetCachedProperty(x.GoPointer(), PropertyNameVar)460 cret := xDBusProxyGetCachedProperty(x.GoPointer(), PropertyNameVar)
467-
468 return cret461 return cret
469 }462 }
470 463
@@ -474,7 +467,6 @@ var xDBusProxyGetCachedPropertyNames func(uintptr) []string
474 func (x *DBusProxy) GetCachedPropertyNames() []string {467 func (x *DBusProxy) GetCachedPropertyNames() []string {
475 468
476 cret := xDBusProxyGetCachedPropertyNames(x.GoPointer())469 cret := xDBusProxyGetCachedPropertyNames(x.GoPointer())
477-
478 return cret470 return cret
479 }471 }
480 472
@@ -505,7 +497,6 @@ var xDBusProxyGetDefaultTimeout func(uintptr) int
505 func (x *DBusProxy) GetDefaultTimeout() int {497 func (x *DBusProxy) GetDefaultTimeout() int {
506 498
507 cret := xDBusProxyGetDefaultTimeout(x.GoPointer())499 cret := xDBusProxyGetDefaultTimeout(x.GoPointer())
508-
509 return cret500 return cret
510 }501 }
511 502
@@ -515,7 +506,6 @@ var xDBusProxyGetFlags func(uintptr) DBusProxyFlags
515 func (x *DBusProxy) GetFlags() DBusProxyFlags {506 func (x *DBusProxy) GetFlags() DBusProxyFlags {
516 507
517 cret := xDBusProxyGetFlags(x.GoPointer())508 cret := xDBusProxyGetFlags(x.GoPointer())
518-
519 return cret509 return cret
520 }510 }
521 511
@@ -527,7 +517,6 @@ var xDBusProxyGetInterfaceInfo func(uintptr) *DBusInterfaceInfo
527 func (x *DBusProxy) GetInterfaceInfo() *DBusInterfaceInfo {517 func (x *DBusProxy) GetInterfaceInfo() *DBusInterfaceInfo {
528 518
529 cret := xDBusProxyGetInterfaceInfo(x.GoPointer())519 cret := xDBusProxyGetInterfaceInfo(x.GoPointer())
530-
531 return cret520 return cret
532 }521 }
533 522
@@ -537,7 +526,6 @@ var xDBusProxyGetInterfaceName func(uintptr) string
537 func (x *DBusProxy) GetInterfaceName() string {526 func (x *DBusProxy) GetInterfaceName() string {
538 527
539 cret := xDBusProxyGetInterfaceName(x.GoPointer())528 cret := xDBusProxyGetInterfaceName(x.GoPointer())
540-
541 return cret529 return cret
542 }530 }
543 531
@@ -551,7 +539,6 @@ var xDBusProxyGetName func(uintptr) string
551 func (x *DBusProxy) GetName() string {539 func (x *DBusProxy) GetName() string {
552 540
553 cret := xDBusProxyGetName(x.GoPointer())541 cret := xDBusProxyGetName(x.GoPointer())
554-
555 return cret542 return cret
556 }543 }
557 544
@@ -564,7 +551,6 @@ var xDBusProxyGetNameOwner func(uintptr) string
564 func (x *DBusProxy) GetNameOwner() string {551 func (x *DBusProxy) GetNameOwner() string {
565 552
566 cret := xDBusProxyGetNameOwner(x.GoPointer())553 cret := xDBusProxyGetNameOwner(x.GoPointer())
567-
568 return cret554 return cret
569 }555 }
570 556
@@ -574,7 +560,6 @@ var xDBusProxyGetObjectPath func(uintptr) string
574 func (x *DBusProxy) GetObjectPath() string {560 func (x *DBusProxy) GetObjectPath() string {
575 561
576 cret := xDBusProxyGetObjectPath(x.GoPointer())562 cret := xDBusProxyGetObjectPath(x.GoPointer())
577-
578 return cret563 return cret
579 }564 }
580 565
@@ -950,7 +935,6 @@ func (x *DBusProxy) InitFinish(ResVar AsyncResult) (bool, error) {
950 var cerr *glib.Error935 var cerr *glib.Error
951 936
952 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)937 cret := XGAsyncInitableInitFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
953-
954 if cerr == nil {938 if cerr == nil {
955 return cret, nil939 return cret, nil
956 }940 }
@@ -997,7 +981,6 @@ func (x *DBusProxy) DupObject() *DBusObjectBase {
997 func (x *DBusProxy) GetInfo() *DBusInterfaceInfo {981 func (x *DBusProxy) GetInfo() *DBusInterfaceInfo {
998 982
999 cret := XGDbusInterfaceGetInfo(x.GoPointer())983 cret := XGDbusInterfaceGetInfo(x.GoPointer())
1000-
1001 return cret984 return cret
1002 }985 }
1003 986
@@ -1071,7 +1054,6 @@ func (x *DBusProxy) Init(CancellableVar *Cancellable) (bool, error) {
1071 var cerr *glib.Error1054 var cerr *glib.Error
1072 1055
1073 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)1056 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
1074-
1075 if cerr == nil {1057 if cerr == nil {
1076 return cret, nil1058 return cret, nil
1077 }1059 }
@@ -1125,12 +1107,11 @@ func DBusProxyNew(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVa
1125 }1107 }
1126 }1108 }
1127 1109
1128- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)1110+ NameVarPtr := core.GStrdupNullable(NameVar)
1111+ defer core.GFreeNullable(NameVarPtr)
1129 1112
1130 xDBusProxyNew(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVarPtr, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)1113 xDBusProxyNew(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVarPtr, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
1131 1114
1132- runtime.KeepAlive(NameVarBytes)
1133-
1134 }1115 }
1135 1116
1136 var xDBusProxyNewForBus func(BusType, DBusProxyFlags, *DBusInterfaceInfo, string, string, string, uintptr, uintptr, uintptr)1117 var xDBusProxyNewForBus func(BusType, DBusProxyFlags, *DBusInterfaceInfo, string, string, string, uintptr, uintptr, uintptr)
M v4/gio/gdbusserver.go +0 -5
@@ -97,7 +97,6 @@ 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-
101 return cret100 return cret
102 }101 }
103 102
@@ -107,7 +106,6 @@ var xDBusServerGetFlags func(uintptr) DBusServerFlags
107 func (x *DBusServer) GetFlags() DBusServerFlags {106 func (x *DBusServer) GetFlags() DBusServerFlags {
108 107
109 cret := xDBusServerGetFlags(x.GoPointer())108 cret := xDBusServerGetFlags(x.GoPointer())
110-
111 return cret109 return cret
112 }110 }
113 111
@@ -117,7 +115,6 @@ var xDBusServerGetGuid func(uintptr) string
117 func (x *DBusServer) GetGuid() string {115 func (x *DBusServer) GetGuid() string {
118 116
119 cret := xDBusServerGetGuid(x.GoPointer())117 cret := xDBusServerGetGuid(x.GoPointer())
120-
121 return cret118 return cret
122 }119 }
123 120
@@ -127,7 +124,6 @@ var xDBusServerIsActive func(uintptr) bool
127 func (x *DBusServer) IsActive() bool {124 func (x *DBusServer) IsActive() bool {
128 125
129 cret := xDBusServerIsActive(x.GoPointer())126 cret := xDBusServerIsActive(x.GoPointer())
130-
131 return cret127 return cret
132 }128 }
133 129
@@ -300,7 +296,6 @@ func (x *DBusServer) Init(CancellableVar *Cancellable) (bool, error) {
300 var cerr *glib.Error296 var cerr *glib.Error
301 297
302 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)298 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
303-
304 if cerr == nil {299 if cerr == nil {
305 return cret, nil300 return cret, nil
306 }301 }
M v4/gio/gdbusutils.go +0 -11
@@ -14,7 +14,6 @@ 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-
18 return cret17 return cret
19 }18 }
20 19
@@ -39,7 +38,6 @@ var xDbusEscapeObjectPathBytestring func([]byte) string
39 func DbusEscapeObjectPathBytestring(BytesVar []byte) string {38 func DbusEscapeObjectPathBytestring(BytesVar []byte) string {
40 39
41 cret := xDbusEscapeObjectPathBytestring(BytesVar)40 cret := xDbusEscapeObjectPathBytestring(BytesVar)
42-
43 return cret41 return cret
44 }42 }
45 43
@@ -59,7 +57,6 @@ var xDbusGenerateGuid func() string
59 func DbusGenerateGuid() string {57 func DbusGenerateGuid() string {
60 58
61 cret := xDbusGenerateGuid()59 cret := xDbusGenerateGuid()
62-
63 return cret60 return cret
64 }61 }
65 62
@@ -96,7 +93,6 @@ var xDbusGvalueToGvariant func(*gobject.Value, *glib.VariantType) *glib.Variant
96 func DbusGvalueToGvariant(GvalueVar *gobject.Value, TypeVar *glib.VariantType) *glib.Variant {93 func DbusGvalueToGvariant(GvalueVar *gobject.Value, TypeVar *glib.VariantType) *glib.Variant {
97 94
98 cret := xDbusGvalueToGvariant(GvalueVar, TypeVar)95 cret := xDbusGvalueToGvariant(GvalueVar, TypeVar)
99-
100 return cret96 return cret
101 }97 }
102 98
@@ -129,7 +125,6 @@ var xDbusIsErrorName func(string) bool
129 func DbusIsErrorName(StringVar string) bool {125 func DbusIsErrorName(StringVar string) bool {
130 126
131 cret := xDbusIsErrorName(StringVar)127 cret := xDbusIsErrorName(StringVar)
132-
133 return cret128 return cret
134 }129 }
135 130
@@ -142,7 +137,6 @@ var xDbusIsGuid func(string) bool
142 func DbusIsGuid(StringVar string) bool {137 func DbusIsGuid(StringVar string) bool {
143 138
144 cret := xDbusIsGuid(StringVar)139 cret := xDbusIsGuid(StringVar)
145-
146 return cret140 return cret
147 }141 }
148 142
@@ -152,7 +146,6 @@ var xDbusIsInterfaceName func(string) bool
152 func DbusIsInterfaceName(StringVar string) bool {146 func DbusIsInterfaceName(StringVar string) bool {
153 147
154 cret := xDbusIsInterfaceName(StringVar)148 cret := xDbusIsInterfaceName(StringVar)
155-
156 return cret149 return cret
157 }150 }
158 151
@@ -162,7 +155,6 @@ var xDbusIsMemberName func(string) bool
162 func DbusIsMemberName(StringVar string) bool {155 func DbusIsMemberName(StringVar string) bool {
163 156
164 cret := xDbusIsMemberName(StringVar)157 cret := xDbusIsMemberName(StringVar)
165-
166 return cret158 return cret
167 }159 }
168 160
@@ -172,7 +164,6 @@ var xDbusIsName func(string) bool
172 func DbusIsName(StringVar string) bool {164 func DbusIsName(StringVar string) bool {
173 165
174 cret := xDbusIsName(StringVar)166 cret := xDbusIsName(StringVar)
175-
176 return cret167 return cret
177 }168 }
178 169
@@ -182,7 +173,6 @@ var xDbusIsUniqueName func(string) bool
182 func DbusIsUniqueName(StringVar string) bool {173 func DbusIsUniqueName(StringVar string) bool {
183 174
184 cret := xDbusIsUniqueName(StringVar)175 cret := xDbusIsUniqueName(StringVar)
185-
186 return cret176 return cret
187 }177 }
188 178
@@ -199,7 +189,6 @@ var xDbusUnescapeObjectPath func(string) uintptr
199 func DbusUnescapeObjectPath(SVar string) uintptr {189 func DbusUnescapeObjectPath(SVar string) uintptr {
200 190
201 cret := xDbusUnescapeObjectPath(SVar)191 cret := xDbusUnescapeObjectPath(SVar)
202-
203 return cret192 return cret
204 }193 }
205 194
M v4/gio/gdebugcontroller.go +0 -1
@@ -70,7 +70,6 @@ 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-
74 return cret73 return cret
75 }74 }
76 75
M v4/gio/gdebugcontrollerdbus.go +0 -2
@@ -290,7 +290,6 @@ func (x *DebugControllerDBus) ConnectAuthorize(cb *func(DebugControllerDBus, uin
290 func (x *DebugControllerDBus) GetDebugEnabled() bool {290 func (x *DebugControllerDBus) GetDebugEnabled() bool {
291 291
292 cret := XGDebugControllerGetDebugEnabled(x.GoPointer())292 cret := XGDebugControllerGetDebugEnabled(x.GoPointer())
293-
294 return cret293 return cret
295 }294 }
296 295
@@ -343,7 +342,6 @@ func (x *DebugControllerDBus) Init(CancellableVar *Cancellable) (bool, error) {
343 var cerr *glib.Error342 var cerr *glib.Error
344 343
345 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)344 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
346-
347 if cerr == nil {345 if cerr == nil {
348 return cret, nil346 return cret, nil
349 }347 }
M v4/gio/gdrive.go +0 -21
@@ -998,7 +998,6 @@ 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-
1002 return cret1001 return cret
1003 }1002 }
1004 1003
@@ -1006,7 +1005,6 @@ func (x *DriveBase) CanEject() bool {
1006 func (x *DriveBase) CanPollForMedia() bool {1005 func (x *DriveBase) CanPollForMedia() bool {
1007 1006
1008 cret := XGDriveCanPollForMedia(x.GoPointer())1007 cret := XGDriveCanPollForMedia(x.GoPointer())
1009-
1010 return cret1008 return cret
1011 }1009 }
1012 1010
@@ -1014,7 +1012,6 @@ func (x *DriveBase) CanPollForMedia() bool {
1014 func (x *DriveBase) CanStart() bool {1012 func (x *DriveBase) CanStart() bool {
1015 1013
1016 cret := XGDriveCanStart(x.GoPointer())1014 cret := XGDriveCanStart(x.GoPointer())
1017-
1018 return cret1015 return cret
1019 }1016 }
1020 1017
@@ -1022,7 +1019,6 @@ func (x *DriveBase) CanStart() bool {
1022 func (x *DriveBase) CanStartDegraded() bool {1019 func (x *DriveBase) CanStartDegraded() bool {
1023 1020
1024 cret := XGDriveCanStartDegraded(x.GoPointer())1021 cret := XGDriveCanStartDegraded(x.GoPointer())
1025-
1026 return cret1022 return cret
1027 }1023 }
1028 1024
@@ -1030,7 +1026,6 @@ func (x *DriveBase) CanStartDegraded() bool {
1030 func (x *DriveBase) CanStop() bool {1026 func (x *DriveBase) CanStop() bool {
1031 1027
1032 cret := XGDriveCanStop(x.GoPointer())1028 cret := XGDriveCanStop(x.GoPointer())
1033-
1034 return cret1029 return cret
1035 }1030 }
1036 1031
@@ -1050,7 +1045,6 @@ func (x *DriveBase) EjectFinish(ResultVar AsyncResult) (bool, error) {
1050 var cerr *glib.Error1045 var cerr *glib.Error
1051 1046
1052 cret := XGDriveEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1047 cret := XGDriveEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1053-
1054 if cerr == nil {1048 if cerr == nil {
1055 return cret, nil1049 return cret, nil
1056 }1050 }
@@ -1073,7 +1067,6 @@ func (x *DriveBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, error
1073 var cerr *glib.Error1067 var cerr *glib.Error
1074 1068
1075 cret := XGDriveEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1069 cret := XGDriveEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1076-
1077 if cerr == nil {1070 if cerr == nil {
1078 return cret, nil1071 return cret, nil
1079 }1072 }
@@ -1087,7 +1080,6 @@ func (x *DriveBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, error
1087 func (x *DriveBase) EnumerateIdentifiers() []string {1080 func (x *DriveBase) EnumerateIdentifiers() []string {
1088 1081
1089 cret := XGDriveEnumerateIdentifiers(x.GoPointer())1082 cret := XGDriveEnumerateIdentifiers(x.GoPointer())
1090-
1091 return cret1083 return cret
1092 }1084 }
1093 1085
@@ -1111,7 +1103,6 @@ func (x *DriveBase) GetIcon() *IconBase {
1111 func (x *DriveBase) GetIdentifier(KindVar string) string {1103 func (x *DriveBase) GetIdentifier(KindVar string) string {
1112 1104
1113 cret := XGDriveGetIdentifier(x.GoPointer(), KindVar)1105 cret := XGDriveGetIdentifier(x.GoPointer(), KindVar)
1114-
1115 return cret1106 return cret
1116 }1107 }
1117 1108
@@ -1119,7 +1110,6 @@ func (x *DriveBase) GetIdentifier(KindVar string) string {
1119 func (x *DriveBase) GetName() string {1110 func (x *DriveBase) GetName() string {
1120 1111
1121 cret := XGDriveGetName(x.GoPointer())1112 cret := XGDriveGetName(x.GoPointer())
1122-
1123 return cret1113 return cret
1124 }1114 }
1125 1115
@@ -1127,7 +1117,6 @@ func (x *DriveBase) GetName() string {
1127 func (x *DriveBase) GetSortKey() string {1117 func (x *DriveBase) GetSortKey() string {
1128 1118
1129 cret := XGDriveGetSortKey(x.GoPointer())1119 cret := XGDriveGetSortKey(x.GoPointer())
1130-
1131 return cret1120 return cret
1132 }1121 }
1133 1122
@@ -1135,7 +1124,6 @@ func (x *DriveBase) GetSortKey() string {
1135 func (x *DriveBase) GetStartStopType() DriveStartStopType {1124 func (x *DriveBase) GetStartStopType() DriveStartStopType {
1136 1125
1137 cret := XGDriveGetStartStopType(x.GoPointer())1126 cret := XGDriveGetStartStopType(x.GoPointer())
1138-
1139 return cret1127 return cret
1140 }1128 }
1141 1129
@@ -1160,7 +1148,6 @@ func (x *DriveBase) GetSymbolicIcon() *IconBase {
1160 func (x *DriveBase) GetVolumes() *glib.List {1148 func (x *DriveBase) GetVolumes() *glib.List {
1161 1149
1162 cret := XGDriveGetVolumes(x.GoPointer())1150 cret := XGDriveGetVolumes(x.GoPointer())
1163-
1164 return cret1151 return cret
1165 }1152 }
1166 1153
@@ -1170,7 +1157,6 @@ func (x *DriveBase) GetVolumes() *glib.List {
1170 func (x *DriveBase) HasMedia() bool {1157 func (x *DriveBase) HasMedia() bool {
1171 1158
1172 cret := XGDriveHasMedia(x.GoPointer())1159 cret := XGDriveHasMedia(x.GoPointer())
1173-
1174 return cret1160 return cret
1175 }1161 }
1176 1162
@@ -1178,7 +1164,6 @@ func (x *DriveBase) HasMedia() bool {
1178 func (x *DriveBase) HasVolumes() bool {1164 func (x *DriveBase) HasVolumes() bool {
1179 1165
1180 cret := XGDriveHasVolumes(x.GoPointer())1166 cret := XGDriveHasVolumes(x.GoPointer())
1181-
1182 return cret1167 return cret
1183 }1168 }
1184 1169
@@ -1186,7 +1171,6 @@ func (x *DriveBase) HasVolumes() bool {
1186 func (x *DriveBase) IsMediaCheckAutomatic() bool {1171 func (x *DriveBase) IsMediaCheckAutomatic() bool {
1187 1172
1188 cret := XGDriveIsMediaCheckAutomatic(x.GoPointer())1173 cret := XGDriveIsMediaCheckAutomatic(x.GoPointer())
1189-
1190 return cret1174 return cret
1191 }1175 }
1192 1176
@@ -1194,7 +1178,6 @@ func (x *DriveBase) IsMediaCheckAutomatic() bool {
1194 func (x *DriveBase) IsMediaRemovable() bool {1178 func (x *DriveBase) IsMediaRemovable() bool {
1195 1179
1196 cret := XGDriveIsMediaRemovable(x.GoPointer())1180 cret := XGDriveIsMediaRemovable(x.GoPointer())
1197-
1198 return cret1181 return cret
1199 }1182 }
1200 1183
@@ -1203,7 +1186,6 @@ func (x *DriveBase) IsMediaRemovable() bool {
1203 func (x *DriveBase) IsRemovable() bool {1186 func (x *DriveBase) IsRemovable() bool {
1204 1187
1205 cret := XGDriveIsRemovable(x.GoPointer())1188 cret := XGDriveIsRemovable(x.GoPointer())
1206-
1207 return cret1189 return cret
1208 }1190 }
1209 1191
@@ -1223,7 +1205,6 @@ func (x *DriveBase) PollForMediaFinish(ResultVar AsyncResult) (bool, error) {
1223 var cerr *glib.Error1205 var cerr *glib.Error
1224 1206
1225 cret := XGDrivePollForMediaFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1207 cret := XGDrivePollForMediaFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1226-
1227 if cerr == nil {1208 if cerr == nil {
1228 return cret, nil1209 return cret, nil
1229 }1210 }
@@ -1247,7 +1228,6 @@ func (x *DriveBase) StartFinish(ResultVar AsyncResult) (bool, error) {
1247 var cerr *glib.Error1228 var cerr *glib.Error
1248 1229
1249 cret := XGDriveStartFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1230 cret := XGDriveStartFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1250-
1251 if cerr == nil {1231 if cerr == nil {
1252 return cret, nil1232 return cret, nil
1253 }1233 }
@@ -1271,7 +1251,6 @@ func (x *DriveBase) StopFinish(ResultVar AsyncResult) (bool, error) {
1271 var cerr *glib.Error1251 var cerr *glib.Error
1272 1252
1273 cret := XGDriveStopFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1253 cret := XGDriveStopFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1274-
1275 if cerr == nil {1254 if cerr == nil {
1276 return cret, nil1255 return cret, nil
1277 }1256 }
M v4/gio/gdtlsclientconnection.go +0 -2
@@ -66,7 +66,6 @@ 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-
70 return cret69 return cret
71 }70 }
72 71
@@ -93,7 +92,6 @@ func (x *DtlsClientConnectionBase) GetServerIdentity() *SocketConnectableBase {
93 func (x *DtlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags {92 func (x *DtlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags {
94 93
95 cret := XGDtlsClientConnectionGetValidationFlags(x.GoPointer())94 cret := XGDtlsClientConnectionGetValidationFlags(x.GoPointer())
96-
97 return cret95 return cret
98 }96 }
99 97
M v4/gio/gdtlsconnection.go +0 -14
@@ -390,7 +390,6 @@ 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-
394 if cerr == nil {393 if cerr == nil {
395 return cret, nil394 return cret, nil
396 }395 }
@@ -412,7 +411,6 @@ func (x *DtlsConnectionBase) CloseFinish(ResultVar AsyncResult) (bool, error) {
412 var cerr *glib.Error411 var cerr *glib.Error
413 412
414 cret := XGDtlsConnectionCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)413 cret := XGDtlsConnectionCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
415-
416 if cerr == nil {414 if cerr == nil {
417 return cret, nil415 return cret, nil
418 }416 }
@@ -425,7 +423,6 @@ func (x *DtlsConnectionBase) CloseFinish(ResultVar AsyncResult) (bool, error) {
425 func (x *DtlsConnectionBase) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool {423 func (x *DtlsConnectionBase) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool {
426 424
427 cret := XGDtlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar)425 cret := XGDtlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar)
428-
429 return cret426 return cret
430 }427 }
431 428
@@ -462,7 +459,6 @@ func (x *DtlsConnectionBase) GetChannelBindingData(TypeVar TlsChannelBindingType
462 var cerr *glib.Error459 var cerr *glib.Error
463 460
464 cret := XGDtlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)461 cret := XGDtlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)
465-
466 if cerr == nil {462 if cerr == nil {
467 return cret, nil463 return cret, nil
468 }464 }
@@ -481,7 +477,6 @@ func (x *DtlsConnectionBase) GetChannelBindingData(TypeVar TlsChannelBindingType
481 func (x *DtlsConnectionBase) GetCiphersuiteName() string {477 func (x *DtlsConnectionBase) GetCiphersuiteName() string {
482 478
483 cret := XGDtlsConnectionGetCiphersuiteName(x.GoPointer())479 cret := XGDtlsConnectionGetCiphersuiteName(x.GoPointer())
484-
485 return cret480 return cret
486 }481 }
487 482
@@ -528,7 +523,6 @@ func (x *DtlsConnectionBase) GetInteraction() *TlsInteraction {
528 func (x *DtlsConnectionBase) GetNegotiatedProtocol() string {523 func (x *DtlsConnectionBase) GetNegotiatedProtocol() string {
529 524
530 cret := XGDtlsConnectionGetNegotiatedProtocol(x.GoPointer())525 cret := XGDtlsConnectionGetNegotiatedProtocol(x.GoPointer())
531-
532 return cret526 return cret
533 }527 }
534 528
@@ -555,7 +549,6 @@ func (x *DtlsConnectionBase) GetPeerCertificate() *TlsCertificate {
555 func (x *DtlsConnectionBase) GetPeerCertificateErrors() TlsCertificateFlags {549 func (x *DtlsConnectionBase) GetPeerCertificateErrors() TlsCertificateFlags {
556 550
557 cret := XGDtlsConnectionGetPeerCertificateErrors(x.GoPointer())551 cret := XGDtlsConnectionGetPeerCertificateErrors(x.GoPointer())
558-
559 return cret552 return cret
560 }553 }
561 554
@@ -566,7 +559,6 @@ func (x *DtlsConnectionBase) GetPeerCertificateErrors() TlsCertificateFlags {
566 func (x *DtlsConnectionBase) GetProtocolVersion() TlsProtocolVersion {559 func (x *DtlsConnectionBase) GetProtocolVersion() TlsProtocolVersion {
567 560
568 cret := XGDtlsConnectionGetProtocolVersion(x.GoPointer())561 cret := XGDtlsConnectionGetProtocolVersion(x.GoPointer())
569-
570 return cret562 return cret
571 }563 }
572 564
@@ -575,7 +567,6 @@ func (x *DtlsConnectionBase) GetProtocolVersion() TlsProtocolVersion {
575 func (x *DtlsConnectionBase) GetRehandshakeMode() TlsRehandshakeMode {567 func (x *DtlsConnectionBase) GetRehandshakeMode() TlsRehandshakeMode {
576 568
577 cret := XGDtlsConnectionGetRehandshakeMode(x.GoPointer())569 cret := XGDtlsConnectionGetRehandshakeMode(x.GoPointer())
578-
579 return cret570 return cret
580 }571 }
581 572
@@ -585,7 +576,6 @@ func (x *DtlsConnectionBase) GetRehandshakeMode() TlsRehandshakeMode {
585 func (x *DtlsConnectionBase) GetRequireCloseNotify() bool {576 func (x *DtlsConnectionBase) GetRequireCloseNotify() bool {
586 577
587 cret := XGDtlsConnectionGetRequireCloseNotify(x.GoPointer())578 cret := XGDtlsConnectionGetRequireCloseNotify(x.GoPointer())
588-
589 return cret579 return cret
590 }580 }
591 581
@@ -619,7 +609,6 @@ func (x *DtlsConnectionBase) Handshake(CancellableVar *Cancellable) (bool, error
619 var cerr *glib.Error609 var cerr *glib.Error
620 610
621 cret := XGDtlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr)611 cret := XGDtlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
622-
623 if cerr == nil {612 if cerr == nil {
624 return cret, nil613 return cret, nil
625 }614 }
@@ -641,7 +630,6 @@ func (x *DtlsConnectionBase) HandshakeFinish(ResultVar AsyncResult) (bool, error
641 var cerr *glib.Error630 var cerr *glib.Error
642 631
643 cret := XGDtlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)632 cret := XGDtlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
644-
645 if cerr == nil {633 if cerr == nil {
646 return cret, nil634 return cret, nil
647 }635 }
@@ -779,7 +767,6 @@ func (x *DtlsConnectionBase) Shutdown(ShutdownReadVar bool, ShutdownWriteVar boo
779 var cerr *glib.Error767 var cerr *glib.Error
780 768
781 cret := XGDtlsConnectionShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer(), &cerr)769 cret := XGDtlsConnectionShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer(), &cerr)
782-
783 if cerr == nil {770 if cerr == nil {
784 return cret, nil771 return cret, nil
785 }772 }
@@ -801,7 +788,6 @@ func (x *DtlsConnectionBase) ShutdownFinish(ResultVar AsyncResult) (bool, error)
801 var cerr *glib.Error788 var cerr *glib.Error
802 789
803 cret := XGDtlsConnectionShutdownFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)790 cret := XGDtlsConnectionShutdownFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
804-
805 if cerr == nil {791 if cerr == nil {
806 return cret, nil792 return cret, nil
807 }793 }
M v4/gio/gemblem.go +0 -5
@@ -97,7 +97,6 @@ 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-
101 return cret100 return cret
102 }101 }
103 102
@@ -116,7 +115,6 @@ func (c *Emblem) SetGoPointer(ptr uintptr) {
116 func (x *Emblem) Equal(Icon2Var Icon) bool {115 func (x *Emblem) Equal(Icon2Var Icon) bool {
117 116
118 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())117 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
119-
120 return cret118 return cret
121 }119 }
122 120
@@ -124,7 +122,6 @@ func (x *Emblem) Equal(Icon2Var Icon) bool {
124 func (x *Emblem) Hash() uint {122 func (x *Emblem) Hash() uint {
125 123
126 cret := XGIconHash(x.GoPointer())124 cret := XGIconHash(x.GoPointer())
127-
128 return cret125 return cret
129 }126 }
130 127
@@ -136,7 +133,6 @@ func (x *Emblem) Hash() uint {
136 func (x *Emblem) Serialize() *glib.Variant {133 func (x *Emblem) Serialize() *glib.Variant {
137 134
138 cret := XGIconSerialize(x.GoPointer())135 cret := XGIconSerialize(x.GoPointer())
139-
140 return cret136 return cret
141 }137 }
142 138
@@ -159,7 +155,6 @@ func (x *Emblem) Serialize() *glib.Variant {
159 func (x *Emblem) ToString() string {155 func (x *Emblem) ToString() string {
160 156
161 cret := XGIconToString(x.GoPointer())157 cret := XGIconToString(x.GoPointer())
162-
163 return cret158 return cret
164 }159 }
165 160
M v4/gio/gemblemedicon.go +0 -5
@@ -92,7 +92,6 @@ 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-
96 return cret95 return cret
97 }96 }
98 97
@@ -128,7 +127,6 @@ func (c *EmblemedIcon) SetGoPointer(ptr uintptr) {
128 func (x *EmblemedIcon) Equal(Icon2Var Icon) bool {127 func (x *EmblemedIcon) Equal(Icon2Var Icon) bool {
129 128
130 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())129 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
131-
132 return cret130 return cret
133 }131 }
134 132
@@ -136,7 +134,6 @@ func (x *EmblemedIcon) Equal(Icon2Var Icon) bool {
136 func (x *EmblemedIcon) Hash() uint {134 func (x *EmblemedIcon) Hash() uint {
137 135
138 cret := XGIconHash(x.GoPointer())136 cret := XGIconHash(x.GoPointer())
139-
140 return cret137 return cret
141 }138 }
142 139
@@ -148,7 +145,6 @@ func (x *EmblemedIcon) Hash() uint {
148 func (x *EmblemedIcon) Serialize() *glib.Variant {145 func (x *EmblemedIcon) Serialize() *glib.Variant {
149 146
150 cret := XGIconSerialize(x.GoPointer())147 cret := XGIconSerialize(x.GoPointer())
151-
152 return cret148 return cret
153 }149 }
154 150
@@ -171,7 +167,6 @@ func (x *EmblemedIcon) Serialize() *glib.Variant {
171 func (x *EmblemedIcon) ToString() string {167 func (x *EmblemedIcon) ToString() string {
172 168
173 cret := XGIconToString(x.GoPointer())169 cret := XGIconToString(x.GoPointer())
174-
175 return cret170 return cret
176 }171 }
177 172
M v4/gio/gfile.go +20 -90
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -3457,7 +3456,6 @@ func (x *FileBase) BuildAttributeListForCopy(FlagsVar FileCopyFlags, Cancellable
3457 var cerr *glib.Error3456 var cerr *glib.Error
3458 3457
3459 cret := XGFileBuildAttributeListForCopy(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)3458 cret := XGFileBuildAttributeListForCopy(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
3460-
3461 if cerr == nil {3459 if cerr == nil {
3462 return cret, nil3460 return cret, nil
3463 }3461 }
@@ -3509,7 +3507,6 @@ func (x *FileBase) Copy(DestinationVar File, FlagsVar FileCopyFlags, Cancellable
3509 var cerr *glib.Error3507 var cerr *glib.Error
3510 3508
3511 cret := XGFileCopy(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr)3509 cret := XGFileCopy(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr)
3512-
3513 if cerr == nil {3510 if cerr == nil {
3514 return cret, nil3511 return cret, nil
3515 }3512 }
@@ -3553,7 +3550,6 @@ func (x *FileBase) CopyAttributes(DestinationVar File, FlagsVar FileCopyFlags, C
3553 var cerr *glib.Error3550 var cerr *glib.Error
3554 3551
3555 cret := XGFileCopyAttributes(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)3552 cret := XGFileCopyAttributes(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
3556-
3557 if cerr == nil {3553 if cerr == nil {
3558 return cret, nil3554 return cret, nil
3559 }3555 }
@@ -3566,7 +3562,6 @@ func (x *FileBase) CopyFinish(ResVar AsyncResult) (bool, error) {
3566 var cerr *glib.Error3562 var cerr *glib.Error
3567 3563
3568 cret := XGFileCopyFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)3564 cret := XGFileCopyFinish(x.GoPointer(), ResVar.GoPointer(), &cerr)
3569-
3570 if cerr == nil {3565 if cerr == nil {
3571 return cret, nil3566 return cret, nil
3572 }3567 }
@@ -3749,7 +3744,6 @@ func (x *FileBase) Delete(CancellableVar *Cancellable) (bool, error) {
3749 var cerr *glib.Error3744 var cerr *glib.Error
3750 3745
3751 cret := XGFileDelete(x.GoPointer(), CancellableVar.GoPointer(), &cerr)3746 cret := XGFileDelete(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
3752-
3753 if cerr == nil {3747 if cerr == nil {
3754 return cret, nil3748 return cret, nil
3755 }3749 }
@@ -3771,7 +3765,6 @@ func (x *FileBase) DeleteFinish(ResultVar AsyncResult) (bool, error) {
3771 var cerr *glib.Error3765 var cerr *glib.Error
3772 3766
3773 cret := XGFileDeleteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)3767 cret := XGFileDeleteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
3774-
3775 if cerr == nil {3768 if cerr == nil {
3776 return cret, nil3769 return cret, nil
3777 }3770 }
@@ -3822,7 +3815,6 @@ func (x *FileBase) EjectMountableFinish(ResultVar AsyncResult) (bool, error) {
3822 var cerr *glib.Error3815 var cerr *glib.Error
3823 3816
3824 cret := XGFileEjectMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)3817 cret := XGFileEjectMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
3825-
3826 if cerr == nil {3818 if cerr == nil {
3827 return cret, nil3819 return cret, nil
3828 }3820 }
@@ -3850,7 +3842,6 @@ func (x *FileBase) EjectMountableWithOperationFinish(ResultVar AsyncResult) (boo
3850 var cerr *glib.Error3842 var cerr *glib.Error
3851 3843
3852 cret := XGFileEjectMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)3844 cret := XGFileEjectMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
3853-
3854 if cerr == nil {3845 if cerr == nil {
3855 return cret, nil3846 return cret, nil
3856 }3847 }
@@ -3947,7 +3938,6 @@ func (x *FileBase) EnumerateChildrenFinish(ResVar AsyncResult) (*FileEnumerator,
3947 func (x *FileBase) Equal(File2Var File) bool {3938 func (x *FileBase) Equal(File2Var File) bool {
3948 3939
3949 cret := XGFileEqual(x.GoPointer(), File2Var.GoPointer())3940 cret := XGFileEqual(x.GoPointer(), File2Var.GoPointer())
3950-
3951 return cret3941 return cret
3952 }3942 }
3953 3943
@@ -4028,7 +4018,6 @@ func (x *FileBase) FindEnclosingMountFinish(ResVar AsyncResult) (*MountBase, err
4028 func (x *FileBase) GetBasename() string {4018 func (x *FileBase) GetBasename() string {
4029 4019
4030 cret := XGFileGetBasename(x.GoPointer())4020 cret := XGFileGetBasename(x.GoPointer())
4031-
4032 return cret4021 return cret
4033 }4022 }
4034 4023
@@ -4113,7 +4102,6 @@ func (x *FileBase) GetParent() *FileBase {
4113 func (x *FileBase) GetParseName() string {4102 func (x *FileBase) GetParseName() string {
4114 4103
4115 cret := XGFileGetParseName(x.GoPointer())4104 cret := XGFileGetParseName(x.GoPointer())
4116-
4117 return cret4105 return cret
4118 }4106 }
4119 4107
@@ -4124,7 +4112,6 @@ func (x *FileBase) GetParseName() string {
4124 func (x *FileBase) GetPath() string {4112 func (x *FileBase) GetPath() string {
4125 4113
4126 cret := XGFileGetPath(x.GoPointer())4114 cret := XGFileGetPath(x.GoPointer())
4127-
4128 return cret4115 return cret
4129 }4116 }
4130 4117
@@ -4134,7 +4121,6 @@ func (x *FileBase) GetPath() string {
4134 func (x *FileBase) GetRelativePath(DescendantVar File) string {4121 func (x *FileBase) GetRelativePath(DescendantVar File) string {
4135 4122
4136 cret := XGFileGetRelativePath(x.GoPointer(), DescendantVar.GoPointer())4123 cret := XGFileGetRelativePath(x.GoPointer(), DescendantVar.GoPointer())
4137-
4138 return cret4124 return cret
4139 }4125 }
4140 4126
@@ -4144,7 +4130,6 @@ func (x *FileBase) GetRelativePath(DescendantVar File) string {
4144 func (x *FileBase) GetUri() string {4130 func (x *FileBase) GetUri() string {
4145 4131
4146 cret := XGFileGetUri(x.GoPointer())4132 cret := XGFileGetUri(x.GoPointer())
4147-
4148 return cret4133 return cret
4149 }4134 }
4150 4135
@@ -4162,7 +4147,6 @@ func (x *FileBase) GetUri() string {
4162 func (x *FileBase) GetUriScheme() string {4147 func (x *FileBase) GetUriScheme() string {
4163 4148
4164 cret := XGFileGetUriScheme(x.GoPointer())4149 cret := XGFileGetUriScheme(x.GoPointer())
4165-
4166 return cret4150 return cret
4167 }4151 }
4168 4152
@@ -4174,7 +4158,6 @@ func (x *FileBase) GetUriScheme() string {
4174 func (x *FileBase) HasParent(ParentVar File) bool {4158 func (x *FileBase) HasParent(ParentVar File) bool {
4175 4159
4176 cret := XGFileHasParent(x.GoPointer(), ParentVar.GoPointer())4160 cret := XGFileHasParent(x.GoPointer(), ParentVar.GoPointer())
4177-
4178 return cret4161 return cret
4179 }4162 }
4180 4163
@@ -4195,7 +4178,6 @@ func (x *FileBase) HasParent(ParentVar File) bool {
4195 func (x *FileBase) HasPrefix(PrefixVar File) bool {4178 func (x *FileBase) HasPrefix(PrefixVar File) bool {
4196 4179
4197 cret := XGFileHasPrefix(x.GoPointer(), PrefixVar.GoPointer())4180 cret := XGFileHasPrefix(x.GoPointer(), PrefixVar.GoPointer())
4198-
4199 return cret4181 return cret
4200 }4182 }
4201 4183
@@ -4205,7 +4187,6 @@ func (x *FileBase) HasPrefix(PrefixVar File) bool {
4205 func (x *FileBase) HasUriScheme(UriSchemeVar string) bool {4187 func (x *FileBase) HasUriScheme(UriSchemeVar string) bool {
4206 4188
4207 cret := XGFileHasUriScheme(x.GoPointer(), UriSchemeVar)4189 cret := XGFileHasUriScheme(x.GoPointer(), UriSchemeVar)
4208-
4209 return cret4190 return cret
4210 }4191 }
4211 4192
@@ -4215,7 +4196,6 @@ func (x *FileBase) HasUriScheme(UriSchemeVar string) bool {
4215 func (x *FileBase) Hash() uint {4196 func (x *FileBase) Hash() uint {
4216 4197
4217 cret := XGFileHash(x.GoPointer())4198 cret := XGFileHash(x.GoPointer())
4218-
4219 return cret4199 return cret
4220 }4200 }
4221 4201
@@ -4233,7 +4213,6 @@ func (x *FileBase) Hash() uint {
4233 func (x *FileBase) IsNative() bool {4213 func (x *FileBase) IsNative() bool {
4234 4214
4235 cret := XGFileIsNative(x.GoPointer())4215 cret := XGFileIsNative(x.GoPointer())
4236-
4237 return cret4216 return cret
4238 }4217 }
4239 4218
@@ -4252,7 +4231,6 @@ func (x *FileBase) LoadBytes(CancellableVar *Cancellable, EtagOutVar *string) (*
4252 var cerr *glib.Error4231 var cerr *glib.Error
4253 4232
4254 cret := XGFileLoadBytes(x.GoPointer(), CancellableVar.GoPointer(), EtagOutVar, &cerr)4233 cret := XGFileLoadBytes(x.GoPointer(), CancellableVar.GoPointer(), EtagOutVar, &cerr)
4255-
4256 if cerr == nil {4234 if cerr == nil {
4257 return cret, nil4235 return cret, nil
4258 }4236 }
@@ -4289,7 +4267,6 @@ func (x *FileBase) LoadBytesFinish(ResultVar AsyncResult, EtagOutVar *string) (*
4289 var cerr *glib.Error4267 var cerr *glib.Error
4290 4268
4291 cret := XGFileLoadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), EtagOutVar, &cerr)4269 cret := XGFileLoadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), EtagOutVar, &cerr)
4292-
4293 if cerr == nil {4270 if cerr == nil {
4294 return cret, nil4271 return cret, nil
4295 }4272 }
@@ -4309,7 +4286,6 @@ func (x *FileBase) LoadContents(CancellableVar *Cancellable, ContentsVar *[]stri
4309 var cerr *glib.Error4286 var cerr *glib.Error
4310 4287
4311 cret := XGFileLoadContents(x.GoPointer(), CancellableVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)4288 cret := XGFileLoadContents(x.GoPointer(), CancellableVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)
4312-
4313 if cerr == nil {4289 if cerr == nil {
4314 return cret, nil4290 return cret, nil
4315 }4291 }
@@ -4345,7 +4321,6 @@ func (x *FileBase) LoadContentsFinish(ResVar AsyncResult, ContentsVar *[]string,
4345 var cerr *glib.Error4321 var cerr *glib.Error
4346 4322
4347 cret := XGFileLoadContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)4323 cret := XGFileLoadContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)
4348-
4349 if cerr == nil {4324 if cerr == nil {
4350 return cret, nil4325 return cret, nil
4351 }4326 }
@@ -4379,7 +4354,6 @@ func (x *FileBase) LoadPartialContentsFinish(ResVar AsyncResult, ContentsVar *[]
4379 var cerr *glib.Error4354 var cerr *glib.Error
4380 4355
4381 cret := XGFileLoadPartialContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)4356 cret := XGFileLoadPartialContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr)
4382-
4383 if cerr == nil {4357 if cerr == nil {
4384 return cret, nil4358 return cret, nil
4385 }4359 }
@@ -4409,7 +4383,6 @@ func (x *FileBase) MakeDirectory(CancellableVar *Cancellable) (bool, error) {
4409 var cerr *glib.Error4383 var cerr *glib.Error
4410 4384
4411 cret := XGFileMakeDirectory(x.GoPointer(), CancellableVar.GoPointer(), &cerr)4385 cret := XGFileMakeDirectory(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
4412-
4413 if cerr == nil {4386 if cerr == nil {
4414 return cret, nil4387 return cret, nil
4415 }4388 }
@@ -4430,7 +4403,6 @@ func (x *FileBase) MakeDirectoryFinish(ResultVar AsyncResult) (bool, error) {
4430 var cerr *glib.Error4403 var cerr *glib.Error
4431 4404
4432 cret := XGFileMakeDirectoryFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4405 cret := XGFileMakeDirectoryFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4433-
4434 if cerr == nil {4406 if cerr == nil {
4435 return cret, nil4407 return cret, nil
4436 }4408 }
@@ -4455,7 +4427,6 @@ func (x *FileBase) MakeDirectoryWithParents(CancellableVar *Cancellable) (bool,
4455 var cerr *glib.Error4427 var cerr *glib.Error
4456 4428
4457 cret := XGFileMakeDirectoryWithParents(x.GoPointer(), CancellableVar.GoPointer(), &cerr)4429 cret := XGFileMakeDirectoryWithParents(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
4458-
4459 if cerr == nil {4430 if cerr == nil {
4460 return cret, nil4431 return cret, nil
4461 }4432 }
@@ -4473,7 +4444,6 @@ func (x *FileBase) MakeSymbolicLink(SymlinkValueVar string, CancellableVar *Canc
4473 var cerr *glib.Error4444 var cerr *glib.Error
4474 4445
4475 cret := XGFileMakeSymbolicLink(x.GoPointer(), SymlinkValueVar, CancellableVar.GoPointer(), &cerr)4446 cret := XGFileMakeSymbolicLink(x.GoPointer(), SymlinkValueVar, CancellableVar.GoPointer(), &cerr)
4476-
4477 if cerr == nil {4447 if cerr == nil {
4478 return cret, nil4448 return cret, nil
4479 }4449 }
@@ -4495,7 +4465,6 @@ func (x *FileBase) MakeSymbolicLinkFinish(ResultVar AsyncResult) (bool, error) {
4495 var cerr *glib.Error4465 var cerr *glib.Error
4496 4466
4497 cret := XGFileMakeSymbolicLinkFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4467 cret := XGFileMakeSymbolicLinkFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4498-
4499 if cerr == nil {4468 if cerr == nil {
4500 return cret, nil4469 return cret, nil
4501 }4470 }
@@ -4525,7 +4494,6 @@ func (x *FileBase) MeasureDiskUsage(FlagsVar FileMeasureFlags, CancellableVar *C
4525 var cerr *glib.Error4494 var cerr *glib.Error
4526 4495
4527 cret := XGFileMeasureDiskUsage(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, DiskUsageVar, NumDirsVar, NumFilesVar, &cerr)4496 cret := XGFileMeasureDiskUsage(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, DiskUsageVar, NumDirsVar, NumFilesVar, &cerr)
4528-
4529 if cerr == nil {4497 if cerr == nil {
4530 return cret, nil4498 return cret, nil
4531 }4499 }
@@ -4550,7 +4518,6 @@ func (x *FileBase) MeasureDiskUsageFinish(ResultVar AsyncResult, DiskUsageVar *u
4550 var cerr *glib.Error4518 var cerr *glib.Error
4551 4519
4552 cret := XGFileMeasureDiskUsageFinish(x.GoPointer(), ResultVar.GoPointer(), DiskUsageVar, NumDirsVar, NumFilesVar, &cerr)4520 cret := XGFileMeasureDiskUsageFinish(x.GoPointer(), ResultVar.GoPointer(), DiskUsageVar, NumDirsVar, NumFilesVar, &cerr)
4553-
4554 if cerr == nil {4521 if cerr == nil {
4555 return cret, nil4522 return cret, nil
4556 }4523 }
@@ -4665,7 +4632,6 @@ func (x *FileBase) MountEnclosingVolumeFinish(ResultVar AsyncResult) (bool, erro
4665 var cerr *glib.Error4632 var cerr *glib.Error
4666 4633
4667 cret := XGFileMountEnclosingVolumeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4634 cret := XGFileMountEnclosingVolumeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4668-
4669 if cerr == nil {4635 if cerr == nil {
4670 return cret, nil4636 return cret, nil
4671 }4637 }
@@ -4749,7 +4715,6 @@ func (x *FileBase) Move(DestinationVar File, FlagsVar FileCopyFlags, Cancellable
4749 var cerr *glib.Error4715 var cerr *glib.Error
4750 4716
4751 cret := XGFileMove(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr)4717 cret := XGFileMove(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr)
4752-
4753 if cerr == nil {4718 if cerr == nil {
4754 return cret, nil4719 return cret, nil
4755 }4720 }
@@ -4786,7 +4751,6 @@ func (x *FileBase) MoveFinish(ResultVar AsyncResult) (bool, error) {
4786 var cerr *glib.Error4751 var cerr *glib.Error
4787 4752
4788 cret := XGFileMoveFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4753 cret := XGFileMoveFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4789-
4790 if cerr == nil {4754 if cerr == nil {
4791 return cret, nil4755 return cret, nil
4792 }4756 }
@@ -4872,7 +4836,6 @@ func (x *FileBase) OpenReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error
4872 func (x *FileBase) PeekPath() string {4836 func (x *FileBase) PeekPath() string {
4873 4837
4874 cret := XGFilePeekPath(x.GoPointer())4838 cret := XGFilePeekPath(x.GoPointer())
4875-
4876 return cret4839 return cret
4877 }4840 }
4878 4841
@@ -4899,7 +4862,6 @@ func (x *FileBase) PollMountableFinish(ResultVar AsyncResult) (bool, error) {
4899 var cerr *glib.Error4862 var cerr *glib.Error
4900 4863
4901 cret := XGFilePollMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)4864 cret := XGFilePollMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
4902-
4903 if cerr == nil {4865 if cerr == nil {
4904 return cret, nil4866 return cret, nil
4905 }4867 }
@@ -4985,7 +4947,6 @@ func (x *FileBase) QueryDefaultHandlerFinish(ResultVar AsyncResult) (*AppInfoBas
4985 func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool {4947 func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool {
4986 4948
4987 cret := XGFileQueryExists(x.GoPointer(), CancellableVar.GoPointer())4949 cret := XGFileQueryExists(x.GoPointer(), CancellableVar.GoPointer())
4988-
4989 return cret4950 return cret
4990 }4951 }
4991 4952
@@ -4997,7 +4958,6 @@ func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool {
4997 func (x *FileBase) QueryFileType(FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) FileType {4958 func (x *FileBase) QueryFileType(FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) FileType {
4998 4959
4999 cret := XGFileQueryFileType(x.GoPointer(), FlagsVar, CancellableVar.GoPointer())4960 cret := XGFileQueryFileType(x.GoPointer(), FlagsVar, CancellableVar.GoPointer())
5000-
5001 return cret4961 return cret
5002 }4962 }
5003 4963
@@ -5191,7 +5151,6 @@ func (x *FileBase) QuerySettableAttributes(CancellableVar *Cancellable) (*FileAt
5191 var cerr *glib.Error5151 var cerr *glib.Error
5192 5152
5193 cret := XGFileQuerySettableAttributes(x.GoPointer(), CancellableVar.GoPointer(), &cerr)5153 cret := XGFileQuerySettableAttributes(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
5194-
5195 if cerr == nil {5154 if cerr == nil {
5196 return cret, nil5155 return cret, nil
5197 }5156 }
@@ -5210,7 +5169,6 @@ func (x *FileBase) QueryWritableNamespaces(CancellableVar *Cancellable) (*FileAt
5210 var cerr *glib.Error5169 var cerr *glib.Error
5211 5170
5212 cret := XGFileQueryWritableNamespaces(x.GoPointer(), CancellableVar.GoPointer(), &cerr)5171 cret := XGFileQueryWritableNamespaces(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
5213-
5214 if cerr == nil {5172 if cerr == nil {
5215 return cret, nil5173 return cret, nil
5216 }5174 }
@@ -5326,12 +5284,11 @@ func (x *FileBase) Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCre
5326 var cls *FileOutputStream5284 var cls *FileOutputStream
5327 var cerr *glib.Error5285 var cerr *glib.Error
5328 5286
5329- EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)5287+ EtagVarPtr := core.GStrdupNullable(EtagVar)
5288+ defer core.GFreeNullable(EtagVarPtr)
5330 5289
5331 cret := XGFileReplace(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5290 cret := XGFileReplace(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5332 5291
5333- runtime.KeepAlive(EtagVarBytes)
5334-
5335 if cret == 0 {5292 if cret == 0 {
5336 return nil, cerr5293 return nil, cerr
5337 }5294 }
@@ -5355,12 +5312,11 @@ func (x *FileBase) Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCre
5355 // of the operation.5312 // of the operation.
5356 func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5313 func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5357 5314
5358- EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)5315+ EtagVarPtr := core.GStrdupNullable(EtagVar)
5316+ defer core.GFreeNullable(EtagVarPtr)
5359 5317
5360 XGFileReplaceAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5318 XGFileReplaceAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5361 5319
5362- runtime.KeepAlive(EtagVarBytes)
5363-
5364 }5320 }
5365 5321
5366 // Replaces the contents of @file with @contents of @length bytes.5322 // Replaces the contents of @file with @contents of @length bytes.
@@ -5382,12 +5338,10 @@ func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar Fi
5382 func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) {5338 func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) {
5383 var cerr *glib.Error5339 var cerr *glib.Error
5384 5340
5385- EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)5341+ EtagVarPtr := core.GStrdupNullable(EtagVar)
5342+ defer core.GFreeNullable(EtagVarPtr)
5386 5343
5387 cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr)5344 cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr)
5388-
5389- runtime.KeepAlive(EtagVarBytes)
5390-
5391 if cerr == nil {5345 if cerr == nil {
5392 return cret, nil5346 return cret, nil
5393 }5347 }
@@ -5416,12 +5370,11 @@ func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *
5416 // contents (without copying) for the duration of the call.5370 // contents (without copying) for the duration of the call.
5417 func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5371 func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5418 5372
5419- EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)5373+ EtagVarPtr := core.GStrdupNullable(EtagVar)
5374+ defer core.GFreeNullable(EtagVarPtr)
5420 5375
5421 XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5376 XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5422 5377
5423- runtime.KeepAlive(EtagVarBytes)
5424-
5425 }5378 }
5426 5379
5427 // Same as g_file_replace_contents_async() but takes a #GBytes input instead.5380 // Same as g_file_replace_contents_async() but takes a #GBytes input instead.
@@ -5434,12 +5387,11 @@ func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, Etag
5434 // g_file_replace_contents_finish().5387 // g_file_replace_contents_finish().
5435 func (x *FileBase) ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5388 func (x *FileBase) ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5436 5389
5437- EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)5390+ EtagVarPtr := core.GStrdupNullable(EtagVar)
5391+ defer core.GFreeNullable(EtagVarPtr)
5438 5392
5439 XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5393 XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5440 5394
5441- runtime.KeepAlive(EtagVarBytes)
5442-
5443 }5395 }
5444 5396
5445 // Finishes an asynchronous replace of the given @file. See5397 // Finishes an asynchronous replace of the given @file. See
@@ -5449,7 +5401,6 @@ func (x *FileBase) ReplaceContentsFinish(ResVar AsyncResult, NewEtagVar *string)
5449 var cerr *glib.Error5401 var cerr *glib.Error
5450 5402
5451 cret := XGFileReplaceContentsFinish(x.GoPointer(), ResVar.GoPointer(), NewEtagVar, &cerr)5403 cret := XGFileReplaceContentsFinish(x.GoPointer(), ResVar.GoPointer(), NewEtagVar, &cerr)
5452-
5453 if cerr == nil {5404 if cerr == nil {
5454 return cret, nil5405 return cret, nil
5455 }5406 }
@@ -5491,12 +5442,11 @@ func (x *FileBase) ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVa
5491 var cls *FileIOStream5442 var cls *FileIOStream
5492 var cerr *glib.Error5443 var cerr *glib.Error
5493 5444
5494- EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)5445+ EtagVarPtr := core.GStrdupNullable(EtagVar)
5446+ defer core.GFreeNullable(EtagVarPtr)
5495 5447
5496 cret := XGFileReplaceReadwrite(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5448 cret := XGFileReplaceReadwrite(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5497 5449
5498- runtime.KeepAlive(EtagVarBytes)
5499-
5500 if cret == 0 {5450 if cret == 0 {
5501 return nil, cerr5451 return nil, cerr
5502 }5452 }
@@ -5521,12 +5471,11 @@ func (x *FileBase) ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVa
5521 // the result of the operation.5471 // the result of the operation.
5522 func (x *FileBase) ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5472 func (x *FileBase) ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5523 5473
5524- EtagVarPtr, EtagVarBytes := core.NullableStringToPtr(EtagVar)5474+ EtagVarPtr := core.GStrdupNullable(EtagVar)
5475+ defer core.GFreeNullable(EtagVarPtr)
5525 5476
5526 XGFileReplaceReadwriteAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5477 XGFileReplaceReadwriteAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5527 5478
5528- runtime.KeepAlive(EtagVarBytes)
5529-
5530 }5479 }
5531 5480
5532 // Finishes an asynchronous file replace operation started with5481 // Finishes an asynchronous file replace operation started with
@@ -5580,7 +5529,6 @@ func (x *FileBase) SetAttribute(AttributeVar string, TypeVar FileAttributeType,
5580 var cerr *glib.Error5529 var cerr *glib.Error
5581 5530
5582 cret := XGFileSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5531 cret := XGFileSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5583-
5584 if cerr == nil {5532 if cerr == nil {
5585 return cret, nil5533 return cret, nil
5586 }5534 }
@@ -5599,7 +5547,6 @@ func (x *FileBase) SetAttributeByteString(AttributeVar string, ValueVar string,
5599 var cerr *glib.Error5547 var cerr *glib.Error
5600 5548
5601 cret := XGFileSetAttributeByteString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5549 cret := XGFileSetAttributeByteString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5602-
5603 if cerr == nil {5550 if cerr == nil {
5604 return cret, nil5551 return cret, nil
5605 }5552 }
@@ -5617,7 +5564,6 @@ func (x *FileBase) SetAttributeInt32(AttributeVar string, ValueVar int32, FlagsV
5617 var cerr *glib.Error5564 var cerr *glib.Error
5618 5565
5619 cret := XGFileSetAttributeInt32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5566 cret := XGFileSetAttributeInt32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5620-
5621 if cerr == nil {5567 if cerr == nil {
5622 return cret, nil5568 return cret, nil
5623 }5569 }
@@ -5635,7 +5581,6 @@ func (x *FileBase) SetAttributeInt64(AttributeVar string, ValueVar int64, FlagsV
5635 var cerr *glib.Error5581 var cerr *glib.Error
5636 5582
5637 cret := XGFileSetAttributeInt64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5583 cret := XGFileSetAttributeInt64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5638-
5639 if cerr == nil {5584 if cerr == nil {
5640 return cret, nil5585 return cret, nil
5641 }5586 }
@@ -5653,7 +5598,6 @@ func (x *FileBase) SetAttributeString(AttributeVar string, ValueVar string, Flag
5653 var cerr *glib.Error5598 var cerr *glib.Error
5654 5599
5655 cret := XGFileSetAttributeString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5600 cret := XGFileSetAttributeString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5656-
5657 if cerr == nil {5601 if cerr == nil {
5658 return cret, nil5602 return cret, nil
5659 }5603 }
@@ -5671,7 +5615,6 @@ func (x *FileBase) SetAttributeUint32(AttributeVar string, ValueVar uint32, Flag
5671 var cerr *glib.Error5615 var cerr *glib.Error
5672 5616
5673 cret := XGFileSetAttributeUint32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5617 cret := XGFileSetAttributeUint32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5674-
5675 if cerr == nil {5618 if cerr == nil {
5676 return cret, nil5619 return cret, nil
5677 }5620 }
@@ -5689,7 +5632,6 @@ func (x *FileBase) SetAttributeUint64(AttributeVar string, ValueVar uint64, Flag
5689 var cerr *glib.Error5632 var cerr *glib.Error
5690 5633
5691 cret := XGFileSetAttributeUint64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5634 cret := XGFileSetAttributeUint64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5692-
5693 if cerr == nil {5635 if cerr == nil {
5694 return cret, nil5636 return cret, nil
5695 }5637 }
@@ -5716,7 +5658,6 @@ func (x *FileBase) SetAttributesFinish(ResultVar AsyncResult, InfoVar **FileInfo
5716 var cerr *glib.Error5658 var cerr *glib.Error
5717 5659
5718 cret := XGFileSetAttributesFinish(x.GoPointer(), ResultVar.GoPointer(), InfoVar, &cerr)5660 cret := XGFileSetAttributesFinish(x.GoPointer(), ResultVar.GoPointer(), InfoVar, &cerr)
5719-
5720 if cerr == nil {5661 if cerr == nil {
5721 return cret, nil5662 return cret, nil
5722 }5663 }
@@ -5740,7 +5681,6 @@ func (x *FileBase) SetAttributesFromInfo(InfoVar *FileInfo, FlagsVar FileQueryIn
5740 var cerr *glib.Error5681 var cerr *glib.Error
5741 5682
5742 cret := XGFileSetAttributesFromInfo(x.GoPointer(), InfoVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)5683 cret := XGFileSetAttributesFromInfo(x.GoPointer(), InfoVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
5743-
5744 if cerr == nil {5684 if cerr == nil {
5745 return cret, nil5685 return cret, nil
5746 }5686 }
@@ -5840,7 +5780,6 @@ func (x *FileBase) StartMountableFinish(ResultVar AsyncResult) (bool, error) {
5840 var cerr *glib.Error5780 var cerr *glib.Error
5841 5781
5842 cret := XGFileStartMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5782 cret := XGFileStartMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5843-
5844 if cerr == nil {5783 if cerr == nil {
5845 return cret, nil5784 return cret, nil
5846 }5785 }
@@ -5871,7 +5810,6 @@ func (x *FileBase) StopMountableFinish(ResultVar AsyncResult) (bool, error) {
5871 var cerr *glib.Error5810 var cerr *glib.Error
5872 5811
5873 cret := XGFileStopMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5812 cret := XGFileStopMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5874-
5875 if cerr == nil {5813 if cerr == nil {
5876 return cret, nil5814 return cret, nil
5877 }5815 }
@@ -5886,7 +5824,6 @@ func (x *FileBase) StopMountableFinish(ResultVar AsyncResult) (bool, error) {
5886 func (x *FileBase) SupportsThreadContexts() bool {5824 func (x *FileBase) SupportsThreadContexts() bool {
5887 5825
5888 cret := XGFileSupportsThreadContexts(x.GoPointer())5826 cret := XGFileSupportsThreadContexts(x.GoPointer())
5889-
5890 return cret5827 return cret
5891 }5828 }
5892 5829
@@ -5907,7 +5844,6 @@ func (x *FileBase) Trash(CancellableVar *Cancellable) (bool, error) {
5907 var cerr *glib.Error5844 var cerr *glib.Error
5908 5845
5909 cret := XGFileTrash(x.GoPointer(), CancellableVar.GoPointer(), &cerr)5846 cret := XGFileTrash(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
5910-
5911 if cerr == nil {5847 if cerr == nil {
5912 return cret, nil5848 return cret, nil
5913 }5849 }
@@ -5928,7 +5864,6 @@ func (x *FileBase) TrashFinish(ResultVar AsyncResult) (bool, error) {
5928 var cerr *glib.Error5864 var cerr *glib.Error
5929 5865
5930 cret := XGFileTrashFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5866 cret := XGFileTrashFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5931-
5932 if cerr == nil {5867 if cerr == nil {
5933 return cret, nil5868 return cret, nil
5934 }5869 }
@@ -5959,7 +5894,6 @@ func (x *FileBase) UnmountMountableFinish(ResultVar AsyncResult) (bool, error) {
5959 var cerr *glib.Error5894 var cerr *glib.Error
5960 5895
5961 cret := XGFileUnmountMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5896 cret := XGFileUnmountMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5962-
5963 if cerr == nil {5897 if cerr == nil {
5964 return cret, nil5898 return cret, nil
5965 }5899 }
@@ -5991,7 +5925,6 @@ func (x *FileBase) UnmountMountableWithOperationFinish(ResultVar AsyncResult) (b
5991 var cerr *glib.Error5925 var cerr *glib.Error
5992 5926
5993 cret := XGFileUnmountMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)5927 cret := XGFileUnmountMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
5994-
5995 if cerr == nil {5928 if cerr == nil {
5996 return cret, nil5929 return cret, nil
5997 }5930 }
@@ -6259,12 +6192,11 @@ func FileNewTmp(TmplVar *string, IostreamVar **FileIOStream) (*FileBase, error)
6259 var cls *FileBase6192 var cls *FileBase
6260 var cerr *glib.Error6193 var cerr *glib.Error
6261 6194
6262- TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)6195+ TmplVarPtr := core.GStrdupNullable(TmplVar)
6196+ defer core.GFreeNullable(TmplVarPtr)
6263 6197
6264 cret := xFileNewTmp(TmplVarPtr, IostreamVar, &cerr)6198 cret := xFileNewTmp(TmplVarPtr, IostreamVar, &cerr)
6265 6199
6266- runtime.KeepAlive(TmplVarBytes)
6267-
6268 if cret == 0 {6200 if cret == 0 {
6269 return nil, cerr6201 return nil, cerr
6270 }6202 }
@@ -6303,12 +6235,11 @@ func FileNewTmpAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Cancell
6303 }6235 }
6304 }6236 }
6305 6237
6306- TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)6238+ TmplVarPtr := core.GStrdupNullable(TmplVar)
6239+ defer core.GFreeNullable(TmplVarPtr)
6307 6240
6308 xFileNewTmpAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)6241 xFileNewTmpAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
6309 6242
6310- runtime.KeepAlive(TmplVarBytes)
6311-
6312 }6243 }
6313 6244
6314 var xFileNewTmpDirAsync func(uintptr, int, uintptr, uintptr, uintptr)6245 var xFileNewTmpDirAsync func(uintptr, int, uintptr, uintptr, uintptr)
@@ -6336,12 +6267,11 @@ func FileNewTmpDirAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Canc
6336 }6267 }
6337 }6268 }
6338 6269
6339- TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)6270+ TmplVarPtr := core.GStrdupNullable(TmplVar)
6271+ defer core.GFreeNullable(TmplVarPtr)
6340 6272
6341 xFileNewTmpDirAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)6273 xFileNewTmpDirAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
6342 6274
6343- runtime.KeepAlive(TmplVarBytes)
6344-
6345 }6275 }
6346 6276
6347 var xFileNewTmpDirFinish func(uintptr, **glib.Error) uintptr6277 var xFileNewTmpDirFinish func(uintptr, **glib.Error) uintptr
M v4/gio/gfileattribute.go +0 -4
@@ -51,7 +51,6 @@ var xNewFileAttributeInfoList func() *FileAttributeInfoList
51 func NewFileAttributeInfoList() *FileAttributeInfoList {51 func NewFileAttributeInfoList() *FileAttributeInfoList {
52 52
53 cret := xNewFileAttributeInfoList()53 cret := xNewFileAttributeInfoList()
54-
55 return cret54 return cret
56 }55 }
57 56
@@ -71,7 +70,6 @@ var xFileAttributeInfoListDup func(uintptr) *FileAttributeInfoList
71 func (x *FileAttributeInfoList) Dup() *FileAttributeInfoList {70 func (x *FileAttributeInfoList) Dup() *FileAttributeInfoList {
72 71
73 cret := xFileAttributeInfoListDup(x.GoPointer())72 cret := xFileAttributeInfoListDup(x.GoPointer())
74-
75 return cret73 return cret
76 }74 }
77 75
@@ -81,7 +79,6 @@ var xFileAttributeInfoListLookup func(uintptr, string) *FileAttributeInfo
81 func (x *FileAttributeInfoList) Lookup(NameVar string) *FileAttributeInfo {79 func (x *FileAttributeInfoList) Lookup(NameVar string) *FileAttributeInfo {
82 80
83 cret := xFileAttributeInfoListLookup(x.GoPointer(), NameVar)81 cret := xFileAttributeInfoListLookup(x.GoPointer(), NameVar)
84-
85 return cret82 return cret
86 }83 }
87 84
@@ -91,7 +88,6 @@ var xFileAttributeInfoListRef func(uintptr) *FileAttributeInfoList
91 func (x *FileAttributeInfoList) Ref() *FileAttributeInfoList {88 func (x *FileAttributeInfoList) Ref() *FileAttributeInfoList {
92 89
93 cret := xFileAttributeInfoListRef(x.GoPointer())90 cret := xFileAttributeInfoListRef(x.GoPointer())
94-
95 return cret91 return cret
96 }92 }
97 93
M v4/gio/gfileenumerator.go +0 -6
@@ -419,7 +419,6 @@ 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-
423 if cerr == nil {422 if cerr == nil {
424 return cret, nil423 return cret, nil
425 }424 }
@@ -472,7 +471,6 @@ func (x *FileEnumerator) CloseFinish(ResultVar AsyncResult) (bool, error) {
472 var cerr *glib.Error471 var cerr *glib.Error
473 472
474 cret := xFileEnumeratorCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)473 cret := xFileEnumeratorCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
475-
476 if cerr == nil {474 if cerr == nil {
477 return cret, nil475 return cret, nil
478 }476 }
@@ -533,7 +531,6 @@ var xFileEnumeratorHasPending func(uintptr) bool
533 func (x *FileEnumerator) HasPending() bool {531 func (x *FileEnumerator) HasPending() bool {
534 532
535 cret := xFileEnumeratorHasPending(x.GoPointer())533 cret := xFileEnumeratorHasPending(x.GoPointer())
536-
537 return cret534 return cret
538 }535 }
539 536
@@ -543,7 +540,6 @@ var xFileEnumeratorIsClosed func(uintptr) bool
543 func (x *FileEnumerator) IsClosed() bool {540 func (x *FileEnumerator) IsClosed() bool {
544 541
545 cret := xFileEnumeratorIsClosed(x.GoPointer())542 cret := xFileEnumeratorIsClosed(x.GoPointer())
546-
547 return cret543 return cret
548 }544 }
549 545
@@ -594,7 +590,6 @@ func (x *FileEnumerator) Iterate(OutInfoVar **FileInfo, OutChildVar **File, Canc
594 var cerr *glib.Error590 var cerr *glib.Error
595 591
596 cret := xFileEnumeratorIterate(x.GoPointer(), OutInfoVar, OutChildVar, CancellableVar.GoPointer(), &cerr)592 cret := xFileEnumeratorIterate(x.GoPointer(), OutInfoVar, OutChildVar, CancellableVar.GoPointer(), &cerr)
597-
598 if cerr == nil {593 if cerr == nil {
599 return cret, nil594 return cret, nil
600 }595 }
@@ -734,7 +729,6 @@ func (x *FileEnumerator) NextFilesFinish(ResultVar AsyncResult) (*glib.List, err
734 var cerr *glib.Error729 var cerr *glib.Error
735 730
736 cret := xFileEnumeratorNextFilesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)731 cret := xFileEnumeratorNextFilesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
737-
738 if cerr == nil {732 if cerr == nil {
739 return cret, nil733 return cret, nil
740 }734 }
M v4/gio/gfileicon.go +0 -4
@@ -88,7 +88,6 @@ 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-
92 return cret91 return cret
93 }92 }
94 93
@@ -96,7 +95,6 @@ func (x *FileIcon) Equal(Icon2Var Icon) bool {
96 func (x *FileIcon) Hash() uint {95 func (x *FileIcon) Hash() uint {
97 96
98 cret := XGIconHash(x.GoPointer())97 cret := XGIconHash(x.GoPointer())
99-
100 return cret98 return cret
101 }99 }
102 100
@@ -108,7 +106,6 @@ func (x *FileIcon) Hash() uint {
108 func (x *FileIcon) Serialize() *glib.Variant {106 func (x *FileIcon) Serialize() *glib.Variant {
109 107
110 cret := XGIconSerialize(x.GoPointer())108 cret := XGIconSerialize(x.GoPointer())
111-
112 return cret109 return cret
113 }110 }
114 111
@@ -131,7 +128,6 @@ func (x *FileIcon) Serialize() *glib.Variant {
131 func (x *FileIcon) ToString() string {128 func (x *FileIcon) ToString() string {
132 129
133 cret := XGIconToString(x.GoPointer())130 cret := XGIconToString(x.GoPointer())
134-
135 return cret131 return cret
136 }132 }
137 133
M v4/gio/gfileinfo.go +2 -37
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -807,7 +806,6 @@ var xFileInfoGetAccessDateTime func(uintptr) *glib.DateTime
807 func (x *FileInfo) GetAccessDateTime() *glib.DateTime {806 func (x *FileInfo) GetAccessDateTime() *glib.DateTime {
808 807
809 cret := xFileInfoGetAccessDateTime(x.GoPointer())808 cret := xFileInfoGetAccessDateTime(x.GoPointer())
810-
811 return cret809 return cret
812 }810 }
813 811
@@ -836,7 +834,6 @@ var xFileInfoGetAttributeAsString func(uintptr, string) string
836 func (x *FileInfo) GetAttributeAsString(AttributeVar string) string {834 func (x *FileInfo) GetAttributeAsString(AttributeVar string) string {
837 835
838 cret := xFileInfoGetAttributeAsString(x.GoPointer(), AttributeVar)836 cret := xFileInfoGetAttributeAsString(x.GoPointer(), AttributeVar)
839-
840 return cret837 return cret
841 }838 }
842 839
@@ -847,7 +844,6 @@ var xFileInfoGetAttributeBoolean func(uintptr, string) bool
847 func (x *FileInfo) GetAttributeBoolean(AttributeVar string) bool {844 func (x *FileInfo) GetAttributeBoolean(AttributeVar string) bool {
848 845
849 cret := xFileInfoGetAttributeBoolean(x.GoPointer(), AttributeVar)846 cret := xFileInfoGetAttributeBoolean(x.GoPointer(), AttributeVar)
850-
851 return cret847 return cret
852 }848 }
853 849
@@ -858,7 +854,6 @@ var xFileInfoGetAttributeByteString func(uintptr, string) string
858 func (x *FileInfo) GetAttributeByteString(AttributeVar string) string {854 func (x *FileInfo) GetAttributeByteString(AttributeVar string) string {
859 855
860 cret := xFileInfoGetAttributeByteString(x.GoPointer(), AttributeVar)856 cret := xFileInfoGetAttributeByteString(x.GoPointer(), AttributeVar)
861-
862 return cret857 return cret
863 }858 }
864 859
@@ -868,7 +863,6 @@ var xFileInfoGetAttributeData func(uintptr, string, *FileAttributeType, *uintptr
868 func (x *FileInfo) GetAttributeData(AttributeVar string, TypeVar *FileAttributeType, ValuePpVar *uintptr, StatusVar *FileAttributeStatus) bool {863 func (x *FileInfo) GetAttributeData(AttributeVar string, TypeVar *FileAttributeType, ValuePpVar *uintptr, StatusVar *FileAttributeStatus) bool {
869 864
870 cret := xFileInfoGetAttributeData(x.GoPointer(), AttributeVar, TypeVar, ValuePpVar, StatusVar)865 cret := xFileInfoGetAttributeData(x.GoPointer(), AttributeVar, TypeVar, ValuePpVar, StatusVar)
871-
872 return cret866 return cret
873 }867 }
874 868
@@ -883,7 +877,6 @@ var xFileInfoGetAttributeFilePath func(uintptr, string) string
883 func (x *FileInfo) GetAttributeFilePath(AttributeVar string) string {877 func (x *FileInfo) GetAttributeFilePath(AttributeVar string) string {
884 878
885 cret := xFileInfoGetAttributeFilePath(x.GoPointer(), AttributeVar)879 cret := xFileInfoGetAttributeFilePath(x.GoPointer(), AttributeVar)
886-
887 return cret880 return cret
888 }881 }
889 882
@@ -895,7 +888,6 @@ var xFileInfoGetAttributeInt32 func(uintptr, string) int32
895 func (x *FileInfo) GetAttributeInt32(AttributeVar string) int32 {888 func (x *FileInfo) GetAttributeInt32(AttributeVar string) int32 {
896 889
897 cret := xFileInfoGetAttributeInt32(x.GoPointer(), AttributeVar)890 cret := xFileInfoGetAttributeInt32(x.GoPointer(), AttributeVar)
898-
899 return cret891 return cret
900 }892 }
901 893
@@ -907,7 +899,6 @@ var xFileInfoGetAttributeInt64 func(uintptr, string) int64
907 func (x *FileInfo) GetAttributeInt64(AttributeVar string) int64 {899 func (x *FileInfo) GetAttributeInt64(AttributeVar string) int64 {
908 900
909 cret := xFileInfoGetAttributeInt64(x.GoPointer(), AttributeVar)901 cret := xFileInfoGetAttributeInt64(x.GoPointer(), AttributeVar)
910-
911 return cret902 return cret
912 }903 }
913 904
@@ -935,7 +926,6 @@ var xFileInfoGetAttributeStatus func(uintptr, string) FileAttributeStatus
935 func (x *FileInfo) GetAttributeStatus(AttributeVar string) FileAttributeStatus {926 func (x *FileInfo) GetAttributeStatus(AttributeVar string) FileAttributeStatus {
936 927
937 cret := xFileInfoGetAttributeStatus(x.GoPointer(), AttributeVar)928 cret := xFileInfoGetAttributeStatus(x.GoPointer(), AttributeVar)
938-
939 return cret929 return cret
940 }930 }
941 931
@@ -946,7 +936,6 @@ var xFileInfoGetAttributeString func(uintptr, string) string
946 func (x *FileInfo) GetAttributeString(AttributeVar string) string {936 func (x *FileInfo) GetAttributeString(AttributeVar string) string {
947 937
948 cret := xFileInfoGetAttributeString(x.GoPointer(), AttributeVar)938 cret := xFileInfoGetAttributeString(x.GoPointer(), AttributeVar)
949-
950 return cret939 return cret
951 }940 }
952 941
@@ -957,7 +946,6 @@ var xFileInfoGetAttributeStringv func(uintptr, string) []string
957 func (x *FileInfo) GetAttributeStringv(AttributeVar string) []string {946 func (x *FileInfo) GetAttributeStringv(AttributeVar string) []string {
958 947
959 cret := xFileInfoGetAttributeStringv(x.GoPointer(), AttributeVar)948 cret := xFileInfoGetAttributeStringv(x.GoPointer(), AttributeVar)
960-
961 return cret949 return cret
962 }950 }
963 951
@@ -967,7 +955,6 @@ var xFileInfoGetAttributeType func(uintptr, string) FileAttributeType
967 func (x *FileInfo) GetAttributeType(AttributeVar string) FileAttributeType {955 func (x *FileInfo) GetAttributeType(AttributeVar string) FileAttributeType {
968 956
969 cret := xFileInfoGetAttributeType(x.GoPointer(), AttributeVar)957 cret := xFileInfoGetAttributeType(x.GoPointer(), AttributeVar)
970-
971 return cret958 return cret
972 }959 }
973 960
@@ -979,7 +966,6 @@ var xFileInfoGetAttributeUint32 func(uintptr, string) uint32
979 func (x *FileInfo) GetAttributeUint32(AttributeVar string) uint32 {966 func (x *FileInfo) GetAttributeUint32(AttributeVar string) uint32 {
980 967
981 cret := xFileInfoGetAttributeUint32(x.GoPointer(), AttributeVar)968 cret := xFileInfoGetAttributeUint32(x.GoPointer(), AttributeVar)
982-
983 return cret969 return cret
984 }970 }
985 971
@@ -991,7 +977,6 @@ var xFileInfoGetAttributeUint64 func(uintptr, string) uint64
991 func (x *FileInfo) GetAttributeUint64(AttributeVar string) uint64 {977 func (x *FileInfo) GetAttributeUint64(AttributeVar string) uint64 {
992 978
993 cret := xFileInfoGetAttributeUint64(x.GoPointer(), AttributeVar)979 cret := xFileInfoGetAttributeUint64(x.GoPointer(), AttributeVar)
994-
995 return cret980 return cret
996 }981 }
997 982
@@ -1004,7 +989,6 @@ var xFileInfoGetContentType func(uintptr) string
1004 func (x *FileInfo) GetContentType() string {989 func (x *FileInfo) GetContentType() string {
1005 990
1006 cret := xFileInfoGetContentType(x.GoPointer())991 cret := xFileInfoGetContentType(x.GoPointer())
1007-
1008 return cret992 return cret
1009 }993 }
1010 994
@@ -1023,7 +1007,6 @@ var xFileInfoGetCreationDateTime func(uintptr) *glib.DateTime
1023 func (x *FileInfo) GetCreationDateTime() *glib.DateTime {1007 func (x *FileInfo) GetCreationDateTime() *glib.DateTime {
1024 1008
1025 cret := xFileInfoGetCreationDateTime(x.GoPointer())1009 cret := xFileInfoGetCreationDateTime(x.GoPointer())
1026-
1027 return cret1010 return cret
1028 }1011 }
1029 1012
@@ -1035,7 +1018,6 @@ var xFileInfoGetDeletionDate func(uintptr) *glib.DateTime
1035 func (x *FileInfo) GetDeletionDate() *glib.DateTime {1018 func (x *FileInfo) GetDeletionDate() *glib.DateTime {
1036 1019
1037 cret := xFileInfoGetDeletionDate(x.GoPointer())1020 cret := xFileInfoGetDeletionDate(x.GoPointer())
1038-
1039 return cret1021 return cret
1040 }1022 }
1041 1023
@@ -1048,7 +1030,6 @@ var xFileInfoGetDisplayName func(uintptr) string
1048 func (x *FileInfo) GetDisplayName() string {1030 func (x *FileInfo) GetDisplayName() string {
1049 1031
1050 cret := xFileInfoGetDisplayName(x.GoPointer())1032 cret := xFileInfoGetDisplayName(x.GoPointer())
1051-
1052 return cret1033 return cret
1053 }1034 }
1054 1035
@@ -1061,7 +1042,6 @@ var xFileInfoGetEditName func(uintptr) string
1061 func (x *FileInfo) GetEditName() string {1042 func (x *FileInfo) GetEditName() string {
1062 1043
1063 cret := xFileInfoGetEditName(x.GoPointer())1044 cret := xFileInfoGetEditName(x.GoPointer())
1064-
1065 return cret1045 return cret
1066 }1046 }
1067 1047
@@ -1075,7 +1055,6 @@ var xFileInfoGetEtag func(uintptr) string
1075 func (x *FileInfo) GetEtag() string {1055 func (x *FileInfo) GetEtag() string {
1076 1056
1077 cret := xFileInfoGetEtag(x.GoPointer())1057 cret := xFileInfoGetEtag(x.GoPointer())
1078-
1079 return cret1058 return cret
1080 }1059 }
1081 1060
@@ -1089,7 +1068,6 @@ var xFileInfoGetFileType func(uintptr) FileType
1089 func (x *FileInfo) GetFileType() FileType {1068 func (x *FileInfo) GetFileType() FileType {
1090 1069
1091 cret := xFileInfoGetFileType(x.GoPointer())1070 cret := xFileInfoGetFileType(x.GoPointer())
1092-
1093 return cret1071 return cret
1094 }1072 }
1095 1073
@@ -1122,7 +1100,6 @@ var xFileInfoGetIsBackup func(uintptr) bool
1122 func (x *FileInfo) GetIsBackup() bool {1100 func (x *FileInfo) GetIsBackup() bool {
1123 1101
1124 cret := xFileInfoGetIsBackup(x.GoPointer())1102 cret := xFileInfoGetIsBackup(x.GoPointer())
1125-
1126 return cret1103 return cret
1127 }1104 }
1128 1105
@@ -1135,7 +1112,6 @@ var xFileInfoGetIsHidden func(uintptr) bool
1135 func (x *FileInfo) GetIsHidden() bool {1112 func (x *FileInfo) GetIsHidden() bool {
1136 1113
1137 cret := xFileInfoGetIsHidden(x.GoPointer())1114 cret := xFileInfoGetIsHidden(x.GoPointer())
1138-
1139 return cret1115 return cret
1140 }1116 }
1141 1117
@@ -1148,7 +1124,6 @@ var xFileInfoGetIsSymlink func(uintptr) bool
1148 func (x *FileInfo) GetIsSymlink() bool {1124 func (x *FileInfo) GetIsSymlink() bool {
1149 1125
1150 cret := xFileInfoGetIsSymlink(x.GoPointer())1126 cret := xFileInfoGetIsSymlink(x.GoPointer())
1151-
1152 return cret1127 return cret
1153 }1128 }
1154 1129
@@ -1167,7 +1142,6 @@ var xFileInfoGetModificationDateTime func(uintptr) *glib.DateTime
1167 func (x *FileInfo) GetModificationDateTime() *glib.DateTime {1142 func (x *FileInfo) GetModificationDateTime() *glib.DateTime {
1168 1143
1169 cret := xFileInfoGetModificationDateTime(x.GoPointer())1144 cret := xFileInfoGetModificationDateTime(x.GoPointer())
1170-
1171 return cret1145 return cret
1172 }1146 }
1173 1147
@@ -1194,7 +1168,6 @@ var xFileInfoGetName func(uintptr) string
1194 func (x *FileInfo) GetName() string {1168 func (x *FileInfo) GetName() string {
1195 1169
1196 cret := xFileInfoGetName(x.GoPointer())1170 cret := xFileInfoGetName(x.GoPointer())
1197-
1198 return cret1171 return cret
1199 }1172 }
1200 1173
@@ -1209,7 +1182,6 @@ var xFileInfoGetSize func(uintptr) int64
1209 func (x *FileInfo) GetSize() int64 {1182 func (x *FileInfo) GetSize() int64 {
1210 1183
1211 cret := xFileInfoGetSize(x.GoPointer())1184 cret := xFileInfoGetSize(x.GoPointer())
1212-
1213 return cret1185 return cret
1214 }1186 }
1215 1187
@@ -1223,7 +1195,6 @@ var xFileInfoGetSortOrder func(uintptr) int32
1223 func (x *FileInfo) GetSortOrder() int32 {1195 func (x *FileInfo) GetSortOrder() int32 {
1224 1196
1225 cret := xFileInfoGetSortOrder(x.GoPointer())1197 cret := xFileInfoGetSortOrder(x.GoPointer())
1226-
1227 return cret1198 return cret
1228 }1199 }
1229 1200
@@ -1256,7 +1227,6 @@ var xFileInfoGetSymlinkTarget func(uintptr) string
1256 func (x *FileInfo) GetSymlinkTarget() string {1227 func (x *FileInfo) GetSymlinkTarget() string {
1257 1228
1258 cret := xFileInfoGetSymlinkTarget(x.GoPointer())1229 cret := xFileInfoGetSymlinkTarget(x.GoPointer())
1259-
1260 return cret1230 return cret
1261 }1231 }
1262 1232
@@ -1266,7 +1236,6 @@ var xFileInfoHasAttribute func(uintptr, string) bool
1266 func (x *FileInfo) HasAttribute(AttributeVar string) bool {1236 func (x *FileInfo) HasAttribute(AttributeVar string) bool {
1267 1237
1268 cret := xFileInfoHasAttribute(x.GoPointer(), AttributeVar)1238 cret := xFileInfoHasAttribute(x.GoPointer(), AttributeVar)
1269-
1270 return cret1239 return cret
1271 }1240 }
1272 1241
@@ -1277,7 +1246,6 @@ var xFileInfoHasNamespace func(uintptr, string) bool
1277 func (x *FileInfo) HasNamespace(NameSpaceVar string) bool {1246 func (x *FileInfo) HasNamespace(NameSpaceVar string) bool {
1278 1247
1279 cret := xFileInfoHasNamespace(x.GoPointer(), NameSpaceVar)1248 cret := xFileInfoHasNamespace(x.GoPointer(), NameSpaceVar)
1280-
1281 return cret1249 return cret
1282 }1250 }
1283 1251
@@ -1286,12 +1254,10 @@ var xFileInfoListAttributes func(uintptr, uintptr) []string
1286 // Lists the file info structure's attributes.1254 // Lists the file info structure's attributes.
1287 func (x *FileInfo) ListAttributes(NameSpaceVar *string) []string {1255 func (x *FileInfo) ListAttributes(NameSpaceVar *string) []string {
1288 1256
1289- NameSpaceVarPtr, NameSpaceVarBytes := core.NullableStringToPtr(NameSpaceVar)1257+ NameSpaceVarPtr := core.GStrdupNullable(NameSpaceVar)
1258+ defer core.GFreeNullable(NameSpaceVarPtr)
1290 1259
1291 cret := xFileInfoListAttributes(x.GoPointer(), NameSpaceVarPtr)1260 cret := xFileInfoListAttributes(x.GoPointer(), NameSpaceVarPtr)
1292-
1293- runtime.KeepAlive(NameSpaceVarBytes)
1294-
1295 return cret1261 return cret
1296 }1262 }
1297 1263
@@ -1410,7 +1376,6 @@ var xFileInfoSetAttributeStatus func(uintptr, string, FileAttributeStatus) bool
1410 func (x *FileInfo) SetAttributeStatus(AttributeVar string, StatusVar FileAttributeStatus) bool {1376 func (x *FileInfo) SetAttributeStatus(AttributeVar string, StatusVar FileAttributeStatus) bool {
1411 1377
1412 cret := xFileInfoSetAttributeStatus(x.GoPointer(), AttributeVar, StatusVar)1378 cret := xFileInfoSetAttributeStatus(x.GoPointer(), AttributeVar, StatusVar)
1413-
1414 return cret1379 return cret
1415 }1380 }
1416 1381
M v4/gio/gfileinputstream.go +0 -5
@@ -444,7 +444,6 @@ 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-
448 return cret447 return cret
449 }448 }
450 449
@@ -453,7 +452,6 @@ func (x *FileInputStream) CanSeek() bool {
453 func (x *FileInputStream) CanTruncate() bool {452 func (x *FileInputStream) CanTruncate() bool {
454 453
455 cret := XGSeekableCanTruncate(x.GoPointer())454 cret := XGSeekableCanTruncate(x.GoPointer())
456-
457 return cret455 return cret
458 }456 }
459 457
@@ -475,7 +473,6 @@ func (x *FileInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab
475 var cerr *glib.Error473 var cerr *glib.Error
476 474
477 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)475 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
478-
479 if cerr == nil {476 if cerr == nil {
480 return cret, nil477 return cret, nil
481 }478 }
@@ -487,7 +484,6 @@ func (x *FileInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancellab
487 func (x *FileInputStream) Tell() int64 {484 func (x *FileInputStream) Tell() int64 {
488 485
489 cret := XGSeekableTell(x.GoPointer())486 cret := XGSeekableTell(x.GoPointer())
490-
491 return cret487 return cret
492 }488 }
493 489
@@ -504,7 +500,6 @@ func (x *FileInputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable)
504 var cerr *glib.Error500 var cerr *glib.Error
505 501
506 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)502 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
507-
508 if cerr == nil {503 if cerr == nil {
509 return cret, nil504 return cret, nil
510 }505 }
M v4/gio/gfileiostream.go +0 -6
@@ -442,7 +442,6 @@ 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-
446 return cret445 return cret
447 }446 }
448 447
@@ -549,7 +548,6 @@ func (c *FileIOStream) SetGoPointer(ptr uintptr) {
549 func (x *FileIOStream) CanSeek() bool {548 func (x *FileIOStream) CanSeek() bool {
550 549
551 cret := XGSeekableCanSeek(x.GoPointer())550 cret := XGSeekableCanSeek(x.GoPointer())
552-
553 return cret551 return cret
554 }552 }
555 553
@@ -558,7 +556,6 @@ func (x *FileIOStream) CanSeek() bool {
558 func (x *FileIOStream) CanTruncate() bool {556 func (x *FileIOStream) CanTruncate() bool {
559 557
560 cret := XGSeekableCanTruncate(x.GoPointer())558 cret := XGSeekableCanTruncate(x.GoPointer())
561-
562 return cret559 return cret
563 }560 }
564 561
@@ -580,7 +577,6 @@ func (x *FileIOStream) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV
580 var cerr *glib.Error577 var cerr *glib.Error
581 578
582 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)579 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
583-
584 if cerr == nil {580 if cerr == nil {
585 return cret, nil581 return cret, nil
586 }582 }
@@ -592,7 +588,6 @@ func (x *FileIOStream) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV
592 func (x *FileIOStream) Tell() int64 {588 func (x *FileIOStream) Tell() int64 {
593 589
594 cret := XGSeekableTell(x.GoPointer())590 cret := XGSeekableTell(x.GoPointer())
595-
596 return cret591 return cret
597 }592 }
598 593
@@ -609,7 +604,6 @@ func (x *FileIOStream) Truncate(OffsetVar int64, CancellableVar *Cancellable) (b
609 var cerr *glib.Error604 var cerr *glib.Error
610 605
611 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)606 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
612-
613 if cerr == nil {607 if cerr == nil {
614 return cret, nil608 return cret, nil
615 }609 }
M v4/gio/gfilemonitor.go +0 -2
@@ -240,7 +240,6 @@ 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-
244 return cret243 return cret
245 }244 }
246 245
@@ -265,7 +264,6 @@ var xFileMonitorIsCancelled func(uintptr) bool
265 func (x *FileMonitor) IsCancelled() bool {264 func (x *FileMonitor) IsCancelled() bool {
266 265
267 cret := xFileMonitorIsCancelled(x.GoPointer())266 cret := xFileMonitorIsCancelled(x.GoPointer())
268-
269 return cret267 return cret
270 }268 }
271 269
M v4/gio/gfilenamecompleter.go +0 -2
@@ -166,7 +166,6 @@ 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-
170 return cret169 return cret
171 }170 }
172 171
@@ -176,7 +175,6 @@ var xFilenameCompleterGetCompletions func(uintptr, string) []string
176 func (x *FilenameCompleter) GetCompletions(InitialTextVar string) []string {175 func (x *FilenameCompleter) GetCompletions(InitialTextVar string) []string {
177 176
178 cret := xFilenameCompleterGetCompletions(x.GoPointer(), InitialTextVar)177 cret := xFilenameCompleterGetCompletions(x.GoPointer(), InitialTextVar)
179-
180 return cret178 return cret
181 }179 }
182 180
M v4/gio/gfileoutputstream.go +0 -6
@@ -437,7 +437,6 @@ 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-
441 return cret440 return cret
442 }441 }
443 442
@@ -544,7 +543,6 @@ func (c *FileOutputStream) SetGoPointer(ptr uintptr) {
544 func (x *FileOutputStream) CanSeek() bool {543 func (x *FileOutputStream) CanSeek() bool {
545 544
546 cret := XGSeekableCanSeek(x.GoPointer())545 cret := XGSeekableCanSeek(x.GoPointer())
547-
548 return cret546 return cret
549 }547 }
550 548
@@ -553,7 +551,6 @@ func (x *FileOutputStream) CanSeek() bool {
553 func (x *FileOutputStream) CanTruncate() bool {551 func (x *FileOutputStream) CanTruncate() bool {
554 552
555 cret := XGSeekableCanTruncate(x.GoPointer())553 cret := XGSeekableCanTruncate(x.GoPointer())
556-
557 return cret554 return cret
558 }555 }
559 556
@@ -575,7 +572,6 @@ func (x *FileOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella
575 var cerr *glib.Error572 var cerr *glib.Error
576 573
577 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)574 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
578-
579 if cerr == nil {575 if cerr == nil {
580 return cret, nil576 return cret, nil
581 }577 }
@@ -587,7 +583,6 @@ func (x *FileOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancella
587 func (x *FileOutputStream) Tell() int64 {583 func (x *FileOutputStream) Tell() int64 {
588 584
589 cret := XGSeekableTell(x.GoPointer())585 cret := XGSeekableTell(x.GoPointer())
590-
591 return cret586 return cret
592 }587 }
593 588
@@ -604,7 +599,6 @@ func (x *FileOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable
604 var cerr *glib.Error599 var cerr *glib.Error
605 600
606 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)601 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
607-
608 if cerr == nil {602 if cerr == nil {
609 return cret, nil603 return cret, nil
610 }604 }
M v4/gio/gfilterinputstream.go +0 -1
@@ -140,7 +140,6 @@ 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-
144 return cret143 return cret
145 }144 }
146 145
M v4/gio/gfilteroutputstream.go +0 -1
@@ -140,7 +140,6 @@ 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-
144 return cret143 return cret
145 }144 }
146 145
M v4/gio/gicon.go +0 -4
@@ -241,7 +241,6 @@ 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-
245 return cret244 return cret
246 }245 }
247 246
@@ -249,7 +248,6 @@ func (x *IconBase) Equal(Icon2Var Icon) bool {
249 func (x *IconBase) Hash() uint {248 func (x *IconBase) Hash() uint {
250 249
251 cret := XGIconHash(x.GoPointer())250 cret := XGIconHash(x.GoPointer())
252-
253 return cret251 return cret
254 }252 }
255 253
@@ -261,7 +259,6 @@ func (x *IconBase) Hash() uint {
261 func (x *IconBase) Serialize() *glib.Variant {259 func (x *IconBase) Serialize() *glib.Variant {
262 260
263 cret := XGIconSerialize(x.GoPointer())261 cret := XGIconSerialize(x.GoPointer())
264-
265 return cret262 return cret
266 }263 }
267 264
@@ -284,7 +281,6 @@ func (x *IconBase) Serialize() *glib.Variant {
284 func (x *IconBase) ToString() string {281 func (x *IconBase) ToString() string {
285 282
286 cret := XGIconToString(x.GoPointer())283 cret := XGIconToString(x.GoPointer())
287-
288 return cret284 return cret
289 }285 }
290 286
M v4/gio/ginetaddress.go +0 -17
@@ -202,7 +202,6 @@ 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-
206 return cret205 return cret
207 }206 }
208 207
@@ -212,7 +211,6 @@ var xInetAddressGetFamily func(uintptr) SocketFamily
212 func (x *InetAddress) GetFamily() SocketFamily {211 func (x *InetAddress) GetFamily() SocketFamily {
213 212
214 cret := xInetAddressGetFamily(x.GoPointer())213 cret := xInetAddressGetFamily(x.GoPointer())
215-
216 return cret214 return cret
217 }215 }
218 216
@@ -222,7 +220,6 @@ var xInetAddressGetFlowinfo func(uintptr) uint32
222 func (x *InetAddress) GetFlowinfo() uint32 {220 func (x *InetAddress) GetFlowinfo() uint32 {
223 221
224 cret := xInetAddressGetFlowinfo(x.GoPointer())222 cret := xInetAddressGetFlowinfo(x.GoPointer())
225-
226 return cret223 return cret
227 }224 }
228 225
@@ -232,7 +229,6 @@ var xInetAddressGetIsAny func(uintptr) bool
232 func (x *InetAddress) GetIsAny() bool {229 func (x *InetAddress) GetIsAny() bool {
233 230
234 cret := xInetAddressGetIsAny(x.GoPointer())231 cret := xInetAddressGetIsAny(x.GoPointer())
235-
236 return cret232 return cret
237 }233 }
238 234
@@ -244,7 +240,6 @@ var xInetAddressGetIsLinkLocal func(uintptr) bool
244 func (x *InetAddress) GetIsLinkLocal() bool {240 func (x *InetAddress) GetIsLinkLocal() bool {
245 241
246 cret := xInetAddressGetIsLinkLocal(x.GoPointer())242 cret := xInetAddressGetIsLinkLocal(x.GoPointer())
247-
248 return cret243 return cret
249 }244 }
250 245
@@ -254,7 +249,6 @@ var xInetAddressGetIsLoopback func(uintptr) bool
254 func (x *InetAddress) GetIsLoopback() bool {249 func (x *InetAddress) GetIsLoopback() bool {
255 250
256 cret := xInetAddressGetIsLoopback(x.GoPointer())251 cret := xInetAddressGetIsLoopback(x.GoPointer())
257-
258 return cret252 return cret
259 }253 }
260 254
@@ -264,7 +258,6 @@ var xInetAddressGetIsMcGlobal func(uintptr) bool
264 func (x *InetAddress) GetIsMcGlobal() bool {258 func (x *InetAddress) GetIsMcGlobal() bool {
265 259
266 cret := xInetAddressGetIsMcGlobal(x.GoPointer())260 cret := xInetAddressGetIsMcGlobal(x.GoPointer())
267-
268 return cret261 return cret
269 }262 }
270 263
@@ -274,7 +267,6 @@ var xInetAddressGetIsMcLinkLocal func(uintptr) bool
274 func (x *InetAddress) GetIsMcLinkLocal() bool {267 func (x *InetAddress) GetIsMcLinkLocal() bool {
275 268
276 cret := xInetAddressGetIsMcLinkLocal(x.GoPointer())269 cret := xInetAddressGetIsMcLinkLocal(x.GoPointer())
277-
278 return cret270 return cret
279 }271 }
280 272
@@ -284,7 +276,6 @@ var xInetAddressGetIsMcNodeLocal func(uintptr) bool
284 func (x *InetAddress) GetIsMcNodeLocal() bool {276 func (x *InetAddress) GetIsMcNodeLocal() bool {
285 277
286 cret := xInetAddressGetIsMcNodeLocal(x.GoPointer())278 cret := xInetAddressGetIsMcNodeLocal(x.GoPointer())
287-
288 return cret279 return cret
289 }280 }
290 281
@@ -294,7 +285,6 @@ var xInetAddressGetIsMcOrgLocal func(uintptr) bool
294 func (x *InetAddress) GetIsMcOrgLocal() bool {285 func (x *InetAddress) GetIsMcOrgLocal() bool {
295 286
296 cret := xInetAddressGetIsMcOrgLocal(x.GoPointer())287 cret := xInetAddressGetIsMcOrgLocal(x.GoPointer())
297-
298 return cret288 return cret
299 }289 }
300 290
@@ -304,7 +294,6 @@ var xInetAddressGetIsMcSiteLocal func(uintptr) bool
304 func (x *InetAddress) GetIsMcSiteLocal() bool {294 func (x *InetAddress) GetIsMcSiteLocal() bool {
305 295
306 cret := xInetAddressGetIsMcSiteLocal(x.GoPointer())296 cret := xInetAddressGetIsMcSiteLocal(x.GoPointer())
307-
308 return cret297 return cret
309 }298 }
310 299
@@ -314,7 +303,6 @@ var xInetAddressGetIsMulticast func(uintptr) bool
314 func (x *InetAddress) GetIsMulticast() bool {303 func (x *InetAddress) GetIsMulticast() bool {
315 304
316 cret := xInetAddressGetIsMulticast(x.GoPointer())305 cret := xInetAddressGetIsMulticast(x.GoPointer())
317-
318 return cret306 return cret
319 }307 }
320 308
@@ -327,7 +315,6 @@ var xInetAddressGetIsSiteLocal func(uintptr) bool
327 func (x *InetAddress) GetIsSiteLocal() bool {315 func (x *InetAddress) GetIsSiteLocal() bool {
328 316
329 cret := xInetAddressGetIsSiteLocal(x.GoPointer())317 cret := xInetAddressGetIsSiteLocal(x.GoPointer())
330-
331 return cret318 return cret
332 }319 }
333 320
@@ -338,7 +325,6 @@ var xInetAddressGetNativeSize func(uintptr) uint
338 func (x *InetAddress) GetNativeSize() uint {325 func (x *InetAddress) GetNativeSize() uint {
339 326
340 cret := xInetAddressGetNativeSize(x.GoPointer())327 cret := xInetAddressGetNativeSize(x.GoPointer())
341-
342 return cret328 return cret
343 }329 }
344 330
@@ -348,7 +334,6 @@ var xInetAddressGetScopeId func(uintptr) uint32
348 func (x *InetAddress) GetScopeId() uint32 {334 func (x *InetAddress) GetScopeId() uint32 {
349 335
350 cret := xInetAddressGetScopeId(x.GoPointer())336 cret := xInetAddressGetScopeId(x.GoPointer())
351-
352 return cret337 return cret
353 }338 }
354 339
@@ -358,7 +343,6 @@ var xInetAddressToBytes func(uintptr) byte
358 func (x *InetAddress) ToBytes() byte {343 func (x *InetAddress) ToBytes() byte {
359 344
360 cret := xInetAddressToBytes(x.GoPointer())345 cret := xInetAddressToBytes(x.GoPointer())
361-
362 return cret346 return cret
363 }347 }
364 348
@@ -368,7 +352,6 @@ var xInetAddressToString func(uintptr) string
368 func (x *InetAddress) ToString() string {352 func (x *InetAddress) ToString() string {
369 353
370 cret := xInetAddressToString(x.GoPointer())354 cret := xInetAddressToString(x.GoPointer())
371-
372 return cret355 return cret
373 }356 }
374 357
M v4/gio/ginetaddressmask.go +0 -6
@@ -102,7 +102,6 @@ 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-
106 return cret105 return cret
107 }106 }
108 107
@@ -129,7 +128,6 @@ var xInetAddressMaskGetFamily func(uintptr) SocketFamily
129 func (x *InetAddressMask) GetFamily() SocketFamily {128 func (x *InetAddressMask) GetFamily() SocketFamily {
130 129
131 cret := xInetAddressMaskGetFamily(x.GoPointer())130 cret := xInetAddressMaskGetFamily(x.GoPointer())
132-
133 return cret131 return cret
134 }132 }
135 133
@@ -139,7 +137,6 @@ var xInetAddressMaskGetLength func(uintptr) uint
139 func (x *InetAddressMask) GetLength() uint {137 func (x *InetAddressMask) GetLength() uint {
140 138
141 cret := xInetAddressMaskGetLength(x.GoPointer())139 cret := xInetAddressMaskGetLength(x.GoPointer())
142-
143 return cret140 return cret
144 }141 }
145 142
@@ -149,7 +146,6 @@ var xInetAddressMaskMatches func(uintptr, uintptr) bool
149 func (x *InetAddressMask) Matches(AddressVar *InetAddress) bool {146 func (x *InetAddressMask) Matches(AddressVar *InetAddress) bool {
150 147
151 cret := xInetAddressMaskMatches(x.GoPointer(), AddressVar.GoPointer())148 cret := xInetAddressMaskMatches(x.GoPointer(), AddressVar.GoPointer())
152-
153 return cret149 return cret
154 }150 }
155 151
@@ -159,7 +155,6 @@ var xInetAddressMaskToString func(uintptr) string
159 func (x *InetAddressMask) ToString() string {155 func (x *InetAddressMask) ToString() string {
160 156
161 cret := xInetAddressMaskToString(x.GoPointer())157 cret := xInetAddressMaskToString(x.GoPointer())
162-
163 return cret158 return cret
164 }159 }
165 160
@@ -233,7 +228,6 @@ func (x *InetAddressMask) Init(CancellableVar *Cancellable) (bool, error) {
233 var cerr *glib.Error228 var cerr *glib.Error
234 229
235 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)230 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
236-
237 if cerr == nil {231 if cerr == nil {
238 return cret, nil232 return cret, nil
239 }233 }
M v4/gio/ginetsocketaddress.go +0 -4
@@ -112,7 +112,6 @@ 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-
116 return cret115 return cret
117 }116 }
118 117
@@ -122,7 +121,6 @@ var xInetSocketAddressGetPort func(uintptr) uint16
122 func (x *InetSocketAddress) GetPort() uint16 {121 func (x *InetSocketAddress) GetPort() uint16 {
123 122
124 cret := xInetSocketAddressGetPort(x.GoPointer())123 cret := xInetSocketAddressGetPort(x.GoPointer())
125-
126 return cret124 return cret
127 }125 }
128 126
@@ -135,7 +133,6 @@ var xInetSocketAddressGetScopeId func(uintptr) uint32
135 func (x *InetSocketAddress) GetScopeId() uint32 {133 func (x *InetSocketAddress) GetScopeId() uint32 {
136 134
137 cret := xInetSocketAddressGetScopeId(x.GoPointer())135 cret := xInetSocketAddressGetScopeId(x.GoPointer())
138-
139 return cret136 return cret
140 }137 }
141 138
@@ -253,7 +250,6 @@ func (x *InetSocketAddress) ProxyEnumerate() *SocketAddressEnumerator {
253 func (x *InetSocketAddress) ToString() string {250 func (x *InetSocketAddress) ToString() string {
254 251
255 cret := XGSocketConnectableToString(x.GoPointer())252 cret := XGSocketConnectableToString(x.GoPointer())
256-
257 return cret253 return cret
258 }254 }
259 255
M v4/gio/ginitable.go +0 -1
@@ -144,7 +144,6 @@ 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-
148 if cerr == nil {147 if cerr == nil {
149 return cret, nil148 return cret, nil
150 }149 }
M v4/gio/ginputstream.go +0 -13
@@ -447,7 +447,6 @@ 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-
451 if cerr == nil {450 if cerr == nil {
452 return cret, nil451 return cret, nil
453 }452 }
@@ -495,7 +494,6 @@ func (x *InputStream) CloseFinish(ResultVar AsyncResult) (bool, error) {
495 var cerr *glib.Error494 var cerr *glib.Error
496 495
497 cret := xInputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)496 cret := xInputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
498-
499 if cerr == nil {497 if cerr == nil {
500 return cret, nil498 return cret, nil
501 }499 }
@@ -509,7 +507,6 @@ var xInputStreamHasPending func(uintptr) bool
509 func (x *InputStream) HasPending() bool {507 func (x *InputStream) HasPending() bool {
510 508
511 cret := xInputStreamHasPending(x.GoPointer())509 cret := xInputStreamHasPending(x.GoPointer())
512-
513 return cret510 return cret
514 }511 }
515 512
@@ -519,7 +516,6 @@ var xInputStreamIsClosed func(uintptr) bool
519 func (x *InputStream) IsClosed() bool {516 func (x *InputStream) IsClosed() bool {
520 517
521 cret := xInputStreamIsClosed(x.GoPointer())518 cret := xInputStreamIsClosed(x.GoPointer())
522-
523 return cret519 return cret
524 }520 }
525 521
@@ -550,7 +546,6 @@ func (x *InputStream) Read(BufferVar *[]byte, CountVar uint, CancellableVar *Can
550 var cerr *glib.Error546 var cerr *glib.Error
551 547
552 cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)548 cret := xInputStreamRead(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
553-
554 if cerr == nil {549 if cerr == nil {
555 return cret, nil550 return cret, nil
556 }551 }
@@ -583,7 +578,6 @@ func (x *InputStream) ReadAll(BufferVar *[]byte, CountVar uint, BytesReadVar *ui
583 var cerr *glib.Error578 var cerr *glib.Error
584 579
585 cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr)580 cret := xInputStreamReadAll(x.GoPointer(), BufferVar, CountVar, BytesReadVar, CancellableVar.GoPointer(), &cerr)
586-
587 if cerr == nil {581 if cerr == nil {
588 return cret, nil582 return cret, nil
589 }583 }
@@ -639,7 +633,6 @@ func (x *InputStream) ReadAllFinish(ResultVar AsyncResult, BytesReadVar *uint) (
639 var cerr *glib.Error633 var cerr *glib.Error
640 634
641 cret := xInputStreamReadAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesReadVar, &cerr)635 cret := xInputStreamReadAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesReadVar, &cerr)
642-
643 if cerr == nil {636 if cerr == nil {
644 return cret, nil637 return cret, nil
645 }638 }
@@ -722,7 +715,6 @@ func (x *InputStream) ReadBytes(CountVar uint, CancellableVar *Cancellable) (*gl
722 var cerr *glib.Error715 var cerr *glib.Error
723 716
724 cret := xInputStreamReadBytes(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)717 cret := xInputStreamReadBytes(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)
725-
726 if cerr == nil {718 if cerr == nil {
727 return cret, nil719 return cret, nil
728 }720 }
@@ -780,7 +772,6 @@ func (x *InputStream) ReadBytesFinish(ResultVar AsyncResult) (*glib.Bytes, error
780 var cerr *glib.Error772 var cerr *glib.Error
781 773
782 cret := xInputStreamReadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)774 cret := xInputStreamReadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
783-
784 if cerr == nil {775 if cerr == nil {
785 return cret, nil776 return cret, nil
786 }777 }
@@ -795,7 +786,6 @@ func (x *InputStream) ReadFinish(ResultVar AsyncResult) (int, error) {
795 var cerr *glib.Error786 var cerr *glib.Error
796 787
797 cret := xInputStreamReadFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)788 cret := xInputStreamReadFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
798-
799 if cerr == nil {789 if cerr == nil {
800 return cret, nil790 return cret, nil
801 }791 }
@@ -812,7 +802,6 @@ func (x *InputStream) SetPending() (bool, error) {
812 var cerr *glib.Error802 var cerr *glib.Error
813 803
814 cret := xInputStreamSetPending(x.GoPointer())804 cret := xInputStreamSetPending(x.GoPointer())
815-
816 if cerr == nil {805 if cerr == nil {
817 return cret, nil806 return cret, nil
818 }807 }
@@ -840,7 +829,6 @@ func (x *InputStream) Skip(CountVar uint, CancellableVar *Cancellable) (int, err
840 var cerr *glib.Error829 var cerr *glib.Error
841 830
842 cret := xInputStreamSkip(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)831 cret := xInputStreamSkip(x.GoPointer(), CountVar, CancellableVar.GoPointer(), &cerr)
843-
844 if cerr == nil {832 if cerr == nil {
845 return cret, nil833 return cret, nil
846 }834 }
@@ -901,7 +889,6 @@ func (x *InputStream) SkipFinish(ResultVar AsyncResult) (int, error) {
901 var cerr *glib.Error889 var cerr *glib.Error
902 890
903 cret := xInputStreamSkipFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)891 cret := xInputStreamSkipFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
904-
905 if cerr == nil {892 if cerr == nil {
906 return cret, nil893 return cret, nil
907 }894 }
M v4/gio/gioerror.go +0 -3
@@ -32,7 +32,6 @@ 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-
36 return cret35 return cret
37 }36 }
38 37
@@ -42,7 +41,6 @@ var xIoErrorFromFileError func(glib.FileError) IOErrorEnum
42 func IoErrorFromFileError(FileErrorVar glib.FileError) IOErrorEnum {41 func IoErrorFromFileError(FileErrorVar glib.FileError) IOErrorEnum {
43 42
44 cret := xIoErrorFromFileError(FileErrorVar)43 cret := xIoErrorFromFileError(FileErrorVar)
45-
46 return cret44 return cret
47 }45 }
48 46
@@ -52,7 +50,6 @@ var xIoErrorQuark func() glib.Quark
52 func IoErrorQuark() glib.Quark {50 func IoErrorQuark() glib.Quark {
53 51
54 cret := xIoErrorQuark()52 cret := xIoErrorQuark()
55-
56 return cret53 return cret
57 }54 }
58 55
M v4/gio/giomodule.go +0 -6
@@ -63,7 +63,6 @@ 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-
67 return cret66 return cret
68 }67 }
69 68
@@ -73,7 +72,6 @@ var xIoExtensionPointLookup func(string) *IOExtensionPoint
73 func IoExtensionPointLookup(NameVar string) *IOExtensionPoint {72 func IoExtensionPointLookup(NameVar string) *IOExtensionPoint {
74 73
75 cret := xIoExtensionPointLookup(NameVar)74 cret := xIoExtensionPointLookup(NameVar)
76-
77 return cret75 return cret
78 }76 }
79 77
@@ -83,7 +81,6 @@ var xIoExtensionPointRegister func(string) *IOExtensionPoint
83 func IoExtensionPointRegister(NameVar string) *IOExtensionPoint {81 func IoExtensionPointRegister(NameVar string) *IOExtensionPoint {
84 82
85 cret := xIoExtensionPointRegister(NameVar)83 cret := xIoExtensionPointRegister(NameVar)
86-
87 return cret84 return cret
88 }85 }
89 86
@@ -97,7 +94,6 @@ var xIoModulesLoadAllInDirectory func(string) *glib.List
97 func IoModulesLoadAllInDirectory(DirnameVar string) *glib.List {94 func IoModulesLoadAllInDirectory(DirnameVar string) *glib.List {
98 95
99 cret := xIoModulesLoadAllInDirectory(DirnameVar)96 cret := xIoModulesLoadAllInDirectory(DirnameVar)
100-
101 return cret97 return cret
102 }98 }
103 99
@@ -111,7 +107,6 @@ var xIoModulesLoadAllInDirectoryWithScope func(string, *IOModuleScope) *glib.Lis
111 func IoModulesLoadAllInDirectoryWithScope(DirnameVar string, ScopeVar *IOModuleScope) *glib.List {107 func IoModulesLoadAllInDirectoryWithScope(DirnameVar string, ScopeVar *IOModuleScope) *glib.List {
112 108
113 cret := xIoModulesLoadAllInDirectoryWithScope(DirnameVar, ScopeVar)109 cret := xIoModulesLoadAllInDirectoryWithScope(DirnameVar, ScopeVar)
114-
115 return cret110 return cret
116 }111 }
117 112
@@ -313,7 +308,6 @@ var xIOModuleQuery func() []string
313 func IOModuleQuery() []string {308 func IOModuleQuery() []string {
314 309
315 cret := xIOModuleQuery()310 cret := xIOModuleQuery()
316-
317 return cret311 return cret
318 }312 }
319 313
M v4/gio/giostream.go +0 -6
@@ -537,7 +537,6 @@ 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-
541 if cerr == nil {540 if cerr == nil {
542 return cret, nil541 return cret, nil
543 }542 }
@@ -585,7 +584,6 @@ func (x *IOStream) CloseFinish(ResultVar AsyncResult) (bool, error) {
585 var cerr *glib.Error584 var cerr *glib.Error
586 585
587 cret := xIOStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)586 cret := xIOStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
588-
589 if cerr == nil {587 if cerr == nil {
590 return cret, nil588 return cret, nil
591 }589 }
@@ -635,7 +633,6 @@ var xIOStreamHasPending func(uintptr) bool
635 func (x *IOStream) HasPending() bool {633 func (x *IOStream) HasPending() bool {
636 634
637 cret := xIOStreamHasPending(x.GoPointer())635 cret := xIOStreamHasPending(x.GoPointer())
638-
639 return cret636 return cret
640 }637 }
641 638
@@ -645,7 +642,6 @@ var xIOStreamIsClosed func(uintptr) bool
645 func (x *IOStream) IsClosed() bool {642 func (x *IOStream) IsClosed() bool {
646 643
647 cret := xIOStreamIsClosed(x.GoPointer())644 cret := xIOStreamIsClosed(x.GoPointer())
648-
649 return cret645 return cret
650 }646 }
651 647
@@ -658,7 +654,6 @@ func (x *IOStream) SetPending() (bool, error) {
658 var cerr *glib.Error654 var cerr *glib.Error
659 655
660 cret := xIOStreamSetPending(x.GoPointer())656 cret := xIOStreamSetPending(x.GoPointer())
661-
662 if cerr == nil {657 if cerr == nil {
663 return cret, nil658 return cret, nil
664 }659 }
@@ -722,7 +717,6 @@ func IOStreamSpliceFinish(ResultVar AsyncResult) (bool, error) {
722 var cerr *glib.Error717 var cerr *glib.Error
723 718
724 cret := xIOStreamSpliceFinish(ResultVar.GoPointer(), &cerr)719 cret := xIOStreamSpliceFinish(ResultVar.GoPointer(), &cerr)
725-
726 if cerr == nil {720 if cerr == nil {
727 return cret, nil721 return cret, nil
728 }722 }
M v4/gio/giotypes.go +0 -28
@@ -141,7 +141,6 @@ 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-
145 return cret144 return cret
146 }145 }
147 146
@@ -156,7 +155,6 @@ var xFileAttributeMatcherEnumerateNamespace func(uintptr, string) bool
156 func (x *FileAttributeMatcher) EnumerateNamespace(NsVar string) bool {155 func (x *FileAttributeMatcher) EnumerateNamespace(NsVar string) bool {
157 156
158 cret := xFileAttributeMatcherEnumerateNamespace(x.GoPointer(), NsVar)157 cret := xFileAttributeMatcherEnumerateNamespace(x.GoPointer(), NsVar)
159-
160 return cret158 return cret
161 }159 }
162 160
@@ -166,7 +164,6 @@ var xFileAttributeMatcherEnumerateNext func(uintptr) string
166 func (x *FileAttributeMatcher) EnumerateNext() string {164 func (x *FileAttributeMatcher) EnumerateNext() string {
167 165
168 cret := xFileAttributeMatcherEnumerateNext(x.GoPointer())166 cret := xFileAttributeMatcherEnumerateNext(x.GoPointer())
169-
170 return cret167 return cret
171 }168 }
172 169
@@ -178,7 +175,6 @@ var xFileAttributeMatcherMatches func(uintptr, string) bool
178 func (x *FileAttributeMatcher) Matches(AttributeVar string) bool {175 func (x *FileAttributeMatcher) Matches(AttributeVar string) bool {
179 176
180 cret := xFileAttributeMatcherMatches(x.GoPointer(), AttributeVar)177 cret := xFileAttributeMatcherMatches(x.GoPointer(), AttributeVar)
181-
182 return cret178 return cret
183 }179 }
184 180
@@ -189,7 +185,6 @@ var xFileAttributeMatcherMatchesOnly func(uintptr, string) bool
189 func (x *FileAttributeMatcher) MatchesOnly(AttributeVar string) bool {185 func (x *FileAttributeMatcher) MatchesOnly(AttributeVar string) bool {
190 186
191 cret := xFileAttributeMatcherMatchesOnly(x.GoPointer(), AttributeVar)187 cret := xFileAttributeMatcherMatchesOnly(x.GoPointer(), AttributeVar)
192-
193 return cret188 return cret
194 }189 }
195 190
@@ -199,7 +194,6 @@ var xFileAttributeMatcherRef func(uintptr) *FileAttributeMatcher
199 func (x *FileAttributeMatcher) Ref() *FileAttributeMatcher {194 func (x *FileAttributeMatcher) Ref() *FileAttributeMatcher {
200 195
201 cret := xFileAttributeMatcherRef(x.GoPointer())196 cret := xFileAttributeMatcherRef(x.GoPointer())
202-
203 return cret197 return cret
204 }198 }
205 199
@@ -216,7 +210,6 @@ var xFileAttributeMatcherSubtract func(uintptr, *FileAttributeMatcher) *FileAttr
216 func (x *FileAttributeMatcher) Subtract(SubtractVar *FileAttributeMatcher) *FileAttributeMatcher {210 func (x *FileAttributeMatcher) Subtract(SubtractVar *FileAttributeMatcher) *FileAttributeMatcher {
217 211
218 cret := xFileAttributeMatcherSubtract(x.GoPointer(), SubtractVar)212 cret := xFileAttributeMatcherSubtract(x.GoPointer(), SubtractVar)
219-
220 return cret213 return cret
221 }214 }
222 215
@@ -229,7 +222,6 @@ var xFileAttributeMatcherToString func(uintptr) string
229 func (x *FileAttributeMatcher) ToString() string {222 func (x *FileAttributeMatcher) ToString() string {
230 223
231 cret := xFileAttributeMatcherToString(x.GoPointer())224 cret := xFileAttributeMatcherToString(x.GoPointer())
232-
233 return cret225 return cret
234 }226 }
235 227
@@ -262,7 +254,6 @@ var xIOExtensionGetName func(uintptr) string
262 func (x *IOExtension) GetName() string {254 func (x *IOExtension) GetName() string {
263 255
264 cret := xIOExtensionGetName(x.GoPointer())256 cret := xIOExtensionGetName(x.GoPointer())
265-
266 return cret257 return cret
267 }258 }
268 259
@@ -272,7 +263,6 @@ var xIOExtensionGetPriority func(uintptr) int
272 func (x *IOExtension) GetPriority() int {263 func (x *IOExtension) GetPriority() int {
273 264
274 cret := xIOExtensionGetPriority(x.GoPointer())265 cret := xIOExtensionGetPriority(x.GoPointer())
275-
276 return cret266 return cret
277 }267 }
278 268
@@ -282,7 +272,6 @@ var xIOExtensionGetType func(uintptr) types.GType
282 func (x *IOExtension) GetType() types.GType {272 func (x *IOExtension) GetType() types.GType {
283 273
284 cret := xIOExtensionGetType(x.GoPointer())274 cret := xIOExtensionGetType(x.GoPointer())
285-
286 return cret275 return cret
287 }276 }
288 277
@@ -293,7 +282,6 @@ var xIOExtensionRefClass func(uintptr) *gobject.TypeClass
293 func (x *IOExtension) RefClass() *gobject.TypeClass {282 func (x *IOExtension) RefClass() *gobject.TypeClass {
294 283
295 cret := xIOExtensionRefClass(x.GoPointer())284 cret := xIOExtensionRefClass(x.GoPointer())
296-
297 return cret285 return cret
298 }286 }
299 287
@@ -364,7 +352,6 @@ var xIOExtensionPointGetExtensionByName func(uintptr, string) *IOExtension
364 func (x *IOExtensionPoint) GetExtensionByName(NameVar string) *IOExtension {352 func (x *IOExtensionPoint) GetExtensionByName(NameVar string) *IOExtension {
365 353
366 cret := xIOExtensionPointGetExtensionByName(x.GoPointer(), NameVar)354 cret := xIOExtensionPointGetExtensionByName(x.GoPointer(), NameVar)
367-
368 return cret355 return cret
369 }356 }
370 357
@@ -375,7 +362,6 @@ var xIOExtensionPointGetExtensions func(uintptr) *glib.List
375 func (x *IOExtensionPoint) GetExtensions() *glib.List {362 func (x *IOExtensionPoint) GetExtensions() *glib.List {
376 363
377 cret := xIOExtensionPointGetExtensions(x.GoPointer())364 cret := xIOExtensionPointGetExtensions(x.GoPointer())
378-
379 return cret365 return cret
380 }366 }
381 367
@@ -385,7 +371,6 @@ var xIOExtensionPointGetRequiredType func(uintptr) types.GType
385 func (x *IOExtensionPoint) GetRequiredType() types.GType {371 func (x *IOExtensionPoint) GetRequiredType() types.GType {
386 372
387 cret := xIOExtensionPointGetRequiredType(x.GoPointer())373 cret := xIOExtensionPointGetRequiredType(x.GoPointer())
388-
389 return cret374 return cret
390 }375 }
391 376
@@ -446,7 +431,6 @@ func (x *IOSchedulerJob) SendToMainloop(FuncVar *glib.SourceFunc, UserDataVar ui
446 }431 }
447 432
448 cret := xIOSchedulerJobSendToMainloop(x.GoPointer(), FuncVarRef, UserDataVar, NotifyVarRef)433 cret := xIOSchedulerJobSendToMainloop(x.GoPointer(), FuncVarRef, UserDataVar, NotifyVarRef)
449-
450 return cret434 return cret
451 }435 }
452 436
@@ -801,7 +785,6 @@ func NewResourceFromData(DataVar *glib.Bytes) (*Resource, error) {
801 var cerr *glib.Error785 var cerr *glib.Error
802 786
803 cret := xNewResourceFromData(DataVar, &cerr)787 cret := xNewResourceFromData(DataVar, &cerr)
804-
805 if cerr == nil {788 if cerr == nil {
806 return cret, nil789 return cret, nil
807 }790 }
@@ -846,7 +829,6 @@ func (x *Resource) EnumerateChildren(PathVar string, LookupFlagsVar ResourceLook
846 var cerr *glib.Error829 var cerr *glib.Error
847 830
848 cret := xResourceEnumerateChildren(x.GoPointer(), PathVar, LookupFlagsVar, &cerr)831 cret := xResourceEnumerateChildren(x.GoPointer(), PathVar, LookupFlagsVar, &cerr)
849-
850 if cerr == nil {832 if cerr == nil {
851 return cret, nil833 return cret, nil
852 }834 }
@@ -867,7 +849,6 @@ func (x *Resource) GetInfo(PathVar string, LookupFlagsVar ResourceLookupFlags, S
867 var cerr *glib.Error849 var cerr *glib.Error
868 850
869 cret := xResourceGetInfo(x.GoPointer(), PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr)851 cret := xResourceGetInfo(x.GoPointer(), PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr)
870-
871 if cerr == nil {852 if cerr == nil {
872 return cret, nil853 return cret, nil
873 }854 }
@@ -882,7 +863,6 @@ var xResourceHasChildren func(uintptr, string) bool
882 func (x *Resource) HasChildren(PathVar string) bool {863 func (x *Resource) HasChildren(PathVar string) bool {
883 864
884 cret := xResourceHasChildren(x.GoPointer(), PathVar)865 cret := xResourceHasChildren(x.GoPointer(), PathVar)
885-
886 return cret866 return cret
887 }867 }
888 868
@@ -910,7 +890,6 @@ func (x *Resource) LookupData(PathVar string, LookupFlagsVar ResourceLookupFlags
910 var cerr *glib.Error890 var cerr *glib.Error
911 891
912 cret := xResourceLookupData(x.GoPointer(), PathVar, LookupFlagsVar, &cerr)892 cret := xResourceLookupData(x.GoPointer(), PathVar, LookupFlagsVar, &cerr)
913-
914 if cerr == nil {893 if cerr == nil {
915 return cret, nil894 return cret, nil
916 }895 }
@@ -953,7 +932,6 @@ var xResourceRef func(uintptr) *Resource
953 func (x *Resource) Ref() *Resource {932 func (x *Resource) Ref() *Resource {
954 933
955 cret := xResourceRef(x.GoPointer())934 cret := xResourceRef(x.GoPointer())
956-
957 return cret935 return cret
958 }936 }
959 937
@@ -1009,7 +987,6 @@ var xNewSrvTarget func(string, uint16, uint16, uint16) *SrvTarget
1009 func NewSrvTarget(HostnameVar string, PortVar uint16, PriorityVar uint16, WeightVar uint16) *SrvTarget {987 func NewSrvTarget(HostnameVar string, PortVar uint16, PriorityVar uint16, WeightVar uint16) *SrvTarget {
1010 988
1011 cret := xNewSrvTarget(HostnameVar, PortVar, PriorityVar, WeightVar)989 cret := xNewSrvTarget(HostnameVar, PortVar, PriorityVar, WeightVar)
1012-
1013 return cret990 return cret
1014 }991 }
1015 992
@@ -1019,7 +996,6 @@ var xSrvTargetCopy func(uintptr) *SrvTarget
1019 func (x *SrvTarget) Copy() *SrvTarget {996 func (x *SrvTarget) Copy() *SrvTarget {
1020 997
1021 cret := xSrvTargetCopy(x.GoPointer())998 cret := xSrvTargetCopy(x.GoPointer())
1022-
1023 return cret999 return cret
1024 }1000 }
1025 1001
@@ -1041,7 +1017,6 @@ var xSrvTargetGetHostname func(uintptr) string
1041 func (x *SrvTarget) GetHostname() string {1017 func (x *SrvTarget) GetHostname() string {
1042 1018
1043 cret := xSrvTargetGetHostname(x.GoPointer())1019 cret := xSrvTargetGetHostname(x.GoPointer())
1044-
1045 return cret1020 return cret
1046 }1021 }
1047 1022
@@ -1051,7 +1026,6 @@ var xSrvTargetGetPort func(uintptr) uint16
1051 func (x *SrvTarget) GetPort() uint16 {1026 func (x *SrvTarget) GetPort() uint16 {
1052 1027
1053 cret := xSrvTargetGetPort(x.GoPointer())1028 cret := xSrvTargetGetPort(x.GoPointer())
1054-
1055 return cret1029 return cret
1056 }1030 }
1057 1031
@@ -1063,7 +1037,6 @@ var xSrvTargetGetPriority func(uintptr) uint16
1063 func (x *SrvTarget) GetPriority() uint16 {1037 func (x *SrvTarget) GetPriority() uint16 {
1064 1038
1065 cret := xSrvTargetGetPriority(x.GoPointer())1039 cret := xSrvTargetGetPriority(x.GoPointer())
1066-
1067 return cret1040 return cret
1068 }1041 }
1069 1042
@@ -1075,7 +1048,6 @@ var xSrvTargetGetWeight func(uintptr) uint16
1075 func (x *SrvTarget) GetWeight() uint16 {1048 func (x *SrvTarget) GetWeight() uint16 {
1076 1049
1077 cret := xSrvTargetGetWeight(x.GoPointer())1050 cret := xSrvTargetGetWeight(x.GoPointer())
1078-
1079 return cret1051 return cret
1080 }1052 }
1081 1053
M v4/gio/glistmodel.go +0 -3
@@ -224,7 +224,6 @@ 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-
228 return cret227 return cret
229 }228 }
230 229
@@ -239,7 +238,6 @@ func (x *ListModelBase) GetItem(PositionVar uint) uintptr {
239 func (x *ListModelBase) GetItemType() types.GType {238 func (x *ListModelBase) GetItemType() types.GType {
240 239
241 cret := XGListModelGetItemType(x.GoPointer())240 cret := XGListModelGetItemType(x.GoPointer())
242-
243 return cret241 return cret
244 }242 }
245 243
@@ -251,7 +249,6 @@ func (x *ListModelBase) GetItemType() types.GType {
251 func (x *ListModelBase) GetNItems() uint {249 func (x *ListModelBase) GetNItems() uint {
252 250
253 cret := XGListModelGetNItems(x.GoPointer())251 cret := XGListModelGetNItems(x.GoPointer())
254-
255 return cret252 return cret
256 }253 }
257 254
M v4/gio/gliststore.go +0 -7
@@ -85,7 +85,6 @@ 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-
89 return cret88 return cret
90 }89 }
91 90
@@ -117,7 +116,6 @@ func (x *ListStore) FindWithEqualFunc(ItemVar *gobject.Object, EqualFuncVar *gli
117 }116 }
118 117
119 cret := xListStoreFindWithEqualFunc(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, PositionVar)118 cret := xListStoreFindWithEqualFunc(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, PositionVar)
120-
121 return cret119 return cret
122 }120 }
123 121
@@ -147,7 +145,6 @@ func (x *ListStore) FindWithEqualFuncFull(ItemVar *gobject.Object, EqualFuncVar
147 }145 }
148 146
149 cret := xListStoreFindWithEqualFuncFull(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, UserDataVar, PositionVar)147 cret := xListStoreFindWithEqualFuncFull(x.GoPointer(), ItemVar.GoPointer(), EqualFuncVarRef, UserDataVar, PositionVar)
150-
151 return cret148 return cret
152 }149 }
153 150
@@ -195,7 +192,6 @@ func (x *ListStore) InsertSorted(ItemVar *gobject.Object, CompareFuncVar *glib.C
195 }192 }
196 193
197 cret := xListStoreInsertSorted(x.GoPointer(), ItemVar.GoPointer(), CompareFuncVarRef, UserDataVar)194 cret := xListStoreInsertSorted(x.GoPointer(), ItemVar.GoPointer(), CompareFuncVarRef, UserDataVar)
198-
199 return cret195 return cret
200 }196 }
201 197
@@ -297,7 +293,6 @@ func (x *ListStore) GetPropertyNItems() uint {
297 func (x *ListStore) GetItem(PositionVar uint) uintptr {293 func (x *ListStore) GetItem(PositionVar uint) uintptr {
298 294
299 cret := XGListModelGetItem(x.GoPointer(), PositionVar)295 cret := XGListModelGetItem(x.GoPointer(), PositionVar)
300-
301 return cret296 return cret
302 }297 }
303 298
@@ -312,7 +307,6 @@ func (x *ListStore) GetItem(PositionVar uint) uintptr {
312 func (x *ListStore) GetItemType() types.GType {307 func (x *ListStore) GetItemType() types.GType {
313 308
314 cret := XGListModelGetItemType(x.GoPointer())309 cret := XGListModelGetItemType(x.GoPointer())
315-
316 return cret310 return cret
317 }311 }
318 312
@@ -324,7 +318,6 @@ func (x *ListStore) GetItemType() types.GType {
324 func (x *ListStore) GetNItems() uint {318 func (x *ListStore) GetNItems() uint {
325 319
326 cret := XGListModelGetNItems(x.GoPointer())320 cret := XGListModelGetNItems(x.GoPointer())
327-
328 return cret321 return cret
329 }322 }
330 323
M v4/gio/gmemoryinputstream.go +0 -9
@@ -292,7 +292,6 @@ 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-
296 return cret295 return cret
297 }296 }
298 297
@@ -310,7 +309,6 @@ func (x *MemoryInputStream) CanPoll() bool {
310 func (x *MemoryInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {309 func (x *MemoryInputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {
311 310
312 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())311 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
313-
314 return cret312 return cret
315 }313 }
316 314
@@ -328,7 +326,6 @@ func (x *MemoryInputStream) CreateSource(CancellableVar *Cancellable) *glib.Sour
328 func (x *MemoryInputStream) IsReadable() bool {326 func (x *MemoryInputStream) IsReadable() bool {
329 327
330 cret := XGPollableInputStreamIsReadable(x.GoPointer())328 cret := XGPollableInputStreamIsReadable(x.GoPointer())
331-
332 return cret329 return cret
333 }330 }
334 331
@@ -350,7 +347,6 @@ func (x *MemoryInputStream) ReadNonblocking(BufferVar *[]byte, CountVar uint, Ca
350 var cerr *glib.Error347 var cerr *glib.Error
351 348
352 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)349 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
353-
354 if cerr == nil {350 if cerr == nil {
355 return cret, nil351 return cret, nil
356 }352 }
@@ -362,7 +358,6 @@ func (x *MemoryInputStream) ReadNonblocking(BufferVar *[]byte, CountVar uint, Ca
362 func (x *MemoryInputStream) CanSeek() bool {358 func (x *MemoryInputStream) CanSeek() bool {
363 359
364 cret := XGSeekableCanSeek(x.GoPointer())360 cret := XGSeekableCanSeek(x.GoPointer())
365-
366 return cret361 return cret
367 }362 }
368 363
@@ -371,7 +366,6 @@ func (x *MemoryInputStream) CanSeek() bool {
371 func (x *MemoryInputStream) CanTruncate() bool {366 func (x *MemoryInputStream) CanTruncate() bool {
372 367
373 cret := XGSeekableCanTruncate(x.GoPointer())368 cret := XGSeekableCanTruncate(x.GoPointer())
374-
375 return cret369 return cret
376 }370 }
377 371
@@ -393,7 +387,6 @@ func (x *MemoryInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancell
393 var cerr *glib.Error387 var cerr *glib.Error
394 388
395 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)389 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
396-
397 if cerr == nil {390 if cerr == nil {
398 return cret, nil391 return cret, nil
399 }392 }
@@ -405,7 +398,6 @@ func (x *MemoryInputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancell
405 func (x *MemoryInputStream) Tell() int64 {398 func (x *MemoryInputStream) Tell() int64 {
406 399
407 cret := XGSeekableTell(x.GoPointer())400 cret := XGSeekableTell(x.GoPointer())
408-
409 return cret401 return cret
410 }402 }
411 403
@@ -422,7 +414,6 @@ func (x *MemoryInputStream) Truncate(OffsetVar int64, CancellableVar *Cancellabl
422 var cerr *glib.Error414 var cerr *glib.Error
423 415
424 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)416 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
425-
426 if cerr == nil {417 if cerr == nil {
427 return cret, nil418 return cret, nil
428 }419 }
M v4/gio/gmemoryoutputstream.go +0 -15
@@ -294,7 +294,6 @@ 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-
298 return cret297 return cret
299 }298 }
300 299
@@ -305,7 +304,6 @@ var xMemoryOutputStreamGetDataSize func(uintptr) uint
305 func (x *MemoryOutputStream) GetDataSize() uint {304 func (x *MemoryOutputStream) GetDataSize() uint {
306 305
307 cret := xMemoryOutputStreamGetDataSize(x.GoPointer())306 cret := xMemoryOutputStreamGetDataSize(x.GoPointer())
308-
309 return cret307 return cret
310 }308 }
311 309
@@ -329,7 +327,6 @@ var xMemoryOutputStreamGetSize func(uintptr) uint
329 func (x *MemoryOutputStream) GetSize() uint {327 func (x *MemoryOutputStream) GetSize() uint {
330 328
331 cret := xMemoryOutputStreamGetSize(x.GoPointer())329 cret := xMemoryOutputStreamGetSize(x.GoPointer())
332-
333 return cret330 return cret
334 }331 }
335 332
@@ -340,7 +337,6 @@ var xMemoryOutputStreamStealAsBytes func(uintptr) *glib.Bytes
340 func (x *MemoryOutputStream) StealAsBytes() *glib.Bytes {337 func (x *MemoryOutputStream) StealAsBytes() *glib.Bytes {
341 338
342 cret := xMemoryOutputStreamStealAsBytes(x.GoPointer())339 cret := xMemoryOutputStreamStealAsBytes(x.GoPointer())
343-
344 return cret340 return cret
345 }341 }
346 342
@@ -355,7 +351,6 @@ var xMemoryOutputStreamStealData func(uintptr) uintptr
355 func (x *MemoryOutputStream) StealData() uintptr {351 func (x *MemoryOutputStream) StealData() uintptr {
356 352
357 cret := xMemoryOutputStreamStealData(x.GoPointer())353 cret := xMemoryOutputStreamStealData(x.GoPointer())
358-
359 return cret354 return cret
360 }355 }
361 356
@@ -456,7 +451,6 @@ func (x *MemoryOutputStream) GetPropertySize() uint {
456 func (x *MemoryOutputStream) CanPoll() bool {451 func (x *MemoryOutputStream) CanPoll() bool {
457 452
458 cret := XGPollableOutputStreamCanPoll(x.GoPointer())453 cret := XGPollableOutputStreamCanPoll(x.GoPointer())
459-
460 return cret454 return cret
461 }455 }
462 456
@@ -474,7 +468,6 @@ func (x *MemoryOutputStream) CanPoll() bool {
474 func (x *MemoryOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {468 func (x *MemoryOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Source {
475 469
476 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())470 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
477-
478 return cret471 return cret
479 }472 }
480 473
@@ -492,7 +485,6 @@ func (x *MemoryOutputStream) CreateSource(CancellableVar *Cancellable) *glib.Sou
492 func (x *MemoryOutputStream) IsWritable() bool {485 func (x *MemoryOutputStream) IsWritable() bool {
493 486
494 cret := XGPollableOutputStreamIsWritable(x.GoPointer())487 cret := XGPollableOutputStreamIsWritable(x.GoPointer())
495-
496 return cret488 return cret
497 }489 }
498 490
@@ -518,7 +510,6 @@ func (x *MemoryOutputStream) WriteNonblocking(BufferVar []byte, CountVar uint, C
518 var cerr *glib.Error510 var cerr *glib.Error
519 511
520 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)512 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
521-
522 if cerr == nil {513 if cerr == nil {
523 return cret, nil514 return cret, nil
524 }515 }
@@ -549,7 +540,6 @@ func (x *MemoryOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVecto
549 var cerr *glib.Error540 var cerr *glib.Error
550 541
551 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)542 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
552-
553 if cerr == nil {543 if cerr == nil {
554 return cret, nil544 return cret, nil
555 }545 }
@@ -561,7 +551,6 @@ func (x *MemoryOutputStream) WritevNonblocking(VectorsVar []OutputVector, NVecto
561 func (x *MemoryOutputStream) CanSeek() bool {551 func (x *MemoryOutputStream) CanSeek() bool {
562 552
563 cret := XGSeekableCanSeek(x.GoPointer())553 cret := XGSeekableCanSeek(x.GoPointer())
564-
565 return cret554 return cret
566 }555 }
567 556
@@ -570,7 +559,6 @@ func (x *MemoryOutputStream) CanSeek() bool {
570 func (x *MemoryOutputStream) CanTruncate() bool {559 func (x *MemoryOutputStream) CanTruncate() bool {
571 560
572 cret := XGSeekableCanTruncate(x.GoPointer())561 cret := XGSeekableCanTruncate(x.GoPointer())
573-
574 return cret562 return cret
575 }563 }
576 564
@@ -592,7 +580,6 @@ func (x *MemoryOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancel
592 var cerr *glib.Error580 var cerr *glib.Error
593 581
594 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)582 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
595-
596 if cerr == nil {583 if cerr == nil {
597 return cret, nil584 return cret, nil
598 }585 }
@@ -604,7 +591,6 @@ func (x *MemoryOutputStream) Seek(OffsetVar int64, TypeVar glib.SeekType, Cancel
604 func (x *MemoryOutputStream) Tell() int64 {591 func (x *MemoryOutputStream) Tell() int64 {
605 592
606 cret := XGSeekableTell(x.GoPointer())593 cret := XGSeekableTell(x.GoPointer())
607-
608 return cret594 return cret
609 }595 }
610 596
@@ -621,7 +607,6 @@ func (x *MemoryOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellab
621 var cerr *glib.Error607 var cerr *glib.Error
622 608
623 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)609 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
624-
625 if cerr == nil {610 if cerr == nil {
626 return cret, nil611 return cret, nil
627 }612 }
M v4/gio/gmenu.go +42 -67
@@ -2,8 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"7 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -60,16 +58,14 @@ var xMenuAppend func(uintptr, uintptr, uintptr)
60 // flexible alternative.58 // flexible alternative.
61 func (x *Menu) Append(LabelVar *string, DetailedActionVar *string) {59 func (x *Menu) Append(LabelVar *string, DetailedActionVar *string) {
62 60
63- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)61+ LabelVarPtr := core.GStrdupNullable(LabelVar)
62+ defer core.GFreeNullable(LabelVarPtr)
64 63
65- DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar)64+ DetailedActionVarPtr := core.GStrdupNullable(DetailedActionVar)
65+ defer core.GFreeNullable(DetailedActionVarPtr)
66 66
67 xMenuAppend(x.GoPointer(), LabelVarPtr, DetailedActionVarPtr)67 xMenuAppend(x.GoPointer(), LabelVarPtr, DetailedActionVarPtr)
68 68
69- runtime.KeepAlive(LabelVarBytes)
70-
71- runtime.KeepAlive(DetailedActionVarBytes)
72-
73 }69 }
74 70
75 var xMenuAppendItem func(uintptr, uintptr)71 var xMenuAppendItem func(uintptr, uintptr)
@@ -90,12 +86,11 @@ var xMenuAppendSection func(uintptr, uintptr, uintptr)
90 // more flexible alternative.86 // more flexible alternative.
91 func (x *Menu) AppendSection(LabelVar *string, SectionVar *MenuModel) {87 func (x *Menu) AppendSection(LabelVar *string, SectionVar *MenuModel) {
92 88
93- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)89+ LabelVarPtr := core.GStrdupNullable(LabelVar)
90+ defer core.GFreeNullable(LabelVarPtr)
94 91
95 xMenuAppendSection(x.GoPointer(), LabelVarPtr, SectionVar.GoPointer())92 xMenuAppendSection(x.GoPointer(), LabelVarPtr, SectionVar.GoPointer())
96 93
97- runtime.KeepAlive(LabelVarBytes)
98-
99 }94 }
100 95
101 var xMenuAppendSubmenu func(uintptr, uintptr, uintptr)96 var xMenuAppendSubmenu func(uintptr, uintptr, uintptr)
@@ -105,12 +100,11 @@ var xMenuAppendSubmenu func(uintptr, uintptr, uintptr)
105 // more flexible alternative.100 // more flexible alternative.
106 func (x *Menu) AppendSubmenu(LabelVar *string, SubmenuVar *MenuModel) {101 func (x *Menu) AppendSubmenu(LabelVar *string, SubmenuVar *MenuModel) {
107 102
108- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)103+ LabelVarPtr := core.GStrdupNullable(LabelVar)
104+ defer core.GFreeNullable(LabelVarPtr)
109 105
110 xMenuAppendSubmenu(x.GoPointer(), LabelVarPtr, SubmenuVar.GoPointer())106 xMenuAppendSubmenu(x.GoPointer(), LabelVarPtr, SubmenuVar.GoPointer())
111 107
112- runtime.KeepAlive(LabelVarBytes)
113-
114 }108 }
115 109
116 var xMenuFreeze func(uintptr)110 var xMenuFreeze func(uintptr)
@@ -136,16 +130,14 @@ var xMenuInsert func(uintptr, int, uintptr, uintptr)
136 // alternative.130 // alternative.
137 func (x *Menu) Insert(PositionVar int, LabelVar *string, DetailedActionVar *string) {131 func (x *Menu) Insert(PositionVar int, LabelVar *string, DetailedActionVar *string) {
138 132
139- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)133+ LabelVarPtr := core.GStrdupNullable(LabelVar)
134+ defer core.GFreeNullable(LabelVarPtr)
140 135
141- DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar)136+ DetailedActionVarPtr := core.GStrdupNullable(DetailedActionVar)
137+ defer core.GFreeNullable(DetailedActionVarPtr)
142 138
143 xMenuInsert(x.GoPointer(), PositionVar, LabelVarPtr, DetailedActionVarPtr)139 xMenuInsert(x.GoPointer(), PositionVar, LabelVarPtr, DetailedActionVarPtr)
144 140
145- runtime.KeepAlive(LabelVarBytes)
146-
147- runtime.KeepAlive(DetailedActionVarBytes)
148-
149 }141 }
150 142
151 var xMenuInsertItem func(uintptr, int, uintptr)143 var xMenuInsertItem func(uintptr, int, uintptr)
@@ -180,12 +172,11 @@ var xMenuInsertSection func(uintptr, int, uintptr, uintptr)
180 // flexible alternative.172 // flexible alternative.
181 func (x *Menu) InsertSection(PositionVar int, LabelVar *string, SectionVar *MenuModel) {173 func (x *Menu) InsertSection(PositionVar int, LabelVar *string, SectionVar *MenuModel) {
182 174
183- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)175+ LabelVarPtr := core.GStrdupNullable(LabelVar)
176+ defer core.GFreeNullable(LabelVarPtr)
184 177
185 xMenuInsertSection(x.GoPointer(), PositionVar, LabelVarPtr, SectionVar.GoPointer())178 xMenuInsertSection(x.GoPointer(), PositionVar, LabelVarPtr, SectionVar.GoPointer())
186 179
187- runtime.KeepAlive(LabelVarBytes)
188-
189 }180 }
190 181
191 var xMenuInsertSubmenu func(uintptr, int, uintptr, uintptr)182 var xMenuInsertSubmenu func(uintptr, int, uintptr, uintptr)
@@ -195,12 +186,11 @@ var xMenuInsertSubmenu func(uintptr, int, uintptr, uintptr)
195 // flexible alternative.186 // flexible alternative.
196 func (x *Menu) InsertSubmenu(PositionVar int, LabelVar *string, SubmenuVar *MenuModel) {187 func (x *Menu) InsertSubmenu(PositionVar int, LabelVar *string, SubmenuVar *MenuModel) {
197 188
198- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)189+ LabelVarPtr := core.GStrdupNullable(LabelVar)
190+ defer core.GFreeNullable(LabelVarPtr)
199 191
200 xMenuInsertSubmenu(x.GoPointer(), PositionVar, LabelVarPtr, SubmenuVar.GoPointer())192 xMenuInsertSubmenu(x.GoPointer(), PositionVar, LabelVarPtr, SubmenuVar.GoPointer())
201 193
202- runtime.KeepAlive(LabelVarBytes)
203-
204 }194 }
205 195
206 var xMenuPrepend func(uintptr, uintptr, uintptr)196 var xMenuPrepend func(uintptr, uintptr, uintptr)
@@ -210,16 +200,14 @@ var xMenuPrepend func(uintptr, uintptr, uintptr)
210 // flexible alternative.200 // flexible alternative.
211 func (x *Menu) Prepend(LabelVar *string, DetailedActionVar *string) {201 func (x *Menu) Prepend(LabelVar *string, DetailedActionVar *string) {
212 202
213- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)203+ LabelVarPtr := core.GStrdupNullable(LabelVar)
204+ defer core.GFreeNullable(LabelVarPtr)
214 205
215- DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar)206+ DetailedActionVarPtr := core.GStrdupNullable(DetailedActionVar)
207+ defer core.GFreeNullable(DetailedActionVarPtr)
216 208
217 xMenuPrepend(x.GoPointer(), LabelVarPtr, DetailedActionVarPtr)209 xMenuPrepend(x.GoPointer(), LabelVarPtr, DetailedActionVarPtr)
218 210
219- runtime.KeepAlive(LabelVarBytes)
220-
221- runtime.KeepAlive(DetailedActionVarBytes)
222-
223 }211 }
224 212
225 var xMenuPrependItem func(uintptr, uintptr)213 var xMenuPrependItem func(uintptr, uintptr)
@@ -240,12 +228,11 @@ var xMenuPrependSection func(uintptr, uintptr, uintptr)
240 // a more flexible alternative.228 // a more flexible alternative.
241 func (x *Menu) PrependSection(LabelVar *string, SectionVar *MenuModel) {229 func (x *Menu) PrependSection(LabelVar *string, SectionVar *MenuModel) {
242 230
243- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)231+ LabelVarPtr := core.GStrdupNullable(LabelVar)
232+ defer core.GFreeNullable(LabelVarPtr)
244 233
245 xMenuPrependSection(x.GoPointer(), LabelVarPtr, SectionVar.GoPointer())234 xMenuPrependSection(x.GoPointer(), LabelVarPtr, SectionVar.GoPointer())
246 235
247- runtime.KeepAlive(LabelVarBytes)
248-
249 }236 }
250 237
251 var xMenuPrependSubmenu func(uintptr, uintptr, uintptr)238 var xMenuPrependSubmenu func(uintptr, uintptr, uintptr)
@@ -255,12 +242,11 @@ var xMenuPrependSubmenu func(uintptr, uintptr, uintptr)
255 // a more flexible alternative.242 // a more flexible alternative.
256 func (x *Menu) PrependSubmenu(LabelVar *string, SubmenuVar *MenuModel) {243 func (x *Menu) PrependSubmenu(LabelVar *string, SubmenuVar *MenuModel) {
257 244
258- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)245+ LabelVarPtr := core.GStrdupNullable(LabelVar)
246+ defer core.GFreeNullable(LabelVarPtr)
259 247
260 xMenuPrependSubmenu(x.GoPointer(), LabelVarPtr, SubmenuVar.GoPointer())248 xMenuPrependSubmenu(x.GoPointer(), LabelVarPtr, SubmenuVar.GoPointer())
261 249
262- runtime.KeepAlive(LabelVarBytes)
263-
264 }250 }
265 251
266 var xMenuRemove func(uintptr, int)252 var xMenuRemove func(uintptr, int)
@@ -332,16 +318,14 @@ var xNewMenuItem func(uintptr, uintptr) uintptr
332 func NewMenuItem(LabelVar *string, DetailedActionVar *string) *MenuItem {318 func NewMenuItem(LabelVar *string, DetailedActionVar *string) *MenuItem {
333 var cls *MenuItem319 var cls *MenuItem
334 320
335- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)321+ LabelVarPtr := core.GStrdupNullable(LabelVar)
322+ defer core.GFreeNullable(LabelVarPtr)
336 323
337- DetailedActionVarPtr, DetailedActionVarBytes := core.NullableStringToPtr(DetailedActionVar)324+ DetailedActionVarPtr := core.GStrdupNullable(DetailedActionVar)
325+ defer core.GFreeNullable(DetailedActionVarPtr)
338 326
339 cret := xNewMenuItem(LabelVarPtr, DetailedActionVarPtr)327 cret := xNewMenuItem(LabelVarPtr, DetailedActionVarPtr)
340 328
341- runtime.KeepAlive(LabelVarBytes)
342-
343- runtime.KeepAlive(DetailedActionVarBytes)
344-
345 if cret == 0 {329 if cret == 0 {
346 return nil330 return nil
347 }331 }
@@ -439,12 +423,11 @@ var xNewMenuItemSection func(uintptr, uintptr) uintptr
439 func NewMenuItemSection(LabelVar *string, SectionVar *MenuModel) *MenuItem {423 func NewMenuItemSection(LabelVar *string, SectionVar *MenuModel) *MenuItem {
440 var cls *MenuItem424 var cls *MenuItem
441 425
442- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)426+ LabelVarPtr := core.GStrdupNullable(LabelVar)
427+ defer core.GFreeNullable(LabelVarPtr)
443 428
444 cret := xNewMenuItemSection(LabelVarPtr, SectionVar.GoPointer())429 cret := xNewMenuItemSection(LabelVarPtr, SectionVar.GoPointer())
445 430
446- runtime.KeepAlive(LabelVarBytes)
447-
448 if cret == 0 {431 if cret == 0 {
449 return nil432 return nil
450 }433 }
@@ -462,12 +445,11 @@ var xNewMenuItemSubmenu func(uintptr, uintptr) uintptr
462 func NewMenuItemSubmenu(LabelVar *string, SubmenuVar *MenuModel) *MenuItem {445 func NewMenuItemSubmenu(LabelVar *string, SubmenuVar *MenuModel) *MenuItem {
463 var cls *MenuItem446 var cls *MenuItem
464 447
465- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)448+ LabelVarPtr := core.GStrdupNullable(LabelVar)
449+ defer core.GFreeNullable(LabelVarPtr)
466 450
467 cret := xNewMenuItemSubmenu(LabelVarPtr, SubmenuVar.GoPointer())451 cret := xNewMenuItemSubmenu(LabelVarPtr, SubmenuVar.GoPointer())
468 452
469- runtime.KeepAlive(LabelVarBytes)
470-
471 if cret == 0 {453 if cret == 0 {
472 return nil454 return nil
473 }455 }
@@ -490,7 +472,6 @@ var xMenuItemGetAttribute func(uintptr, string, string, ...interface{}) bool
490 func (x *MenuItem) GetAttribute(AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool {472 func (x *MenuItem) GetAttribute(AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool {
491 473
492 cret := xMenuItemGetAttribute(x.GoPointer(), AttributeVar, FormatStringVar, varArgs...)474 cret := xMenuItemGetAttribute(x.GoPointer(), AttributeVar, FormatStringVar, varArgs...)
493-
494 return cret475 return cret
495 }476 }
496 477
@@ -504,7 +485,6 @@ var xMenuItemGetAttributeValue func(uintptr, string, *glib.VariantType) *glib.Va
504 func (x *MenuItem) GetAttributeValue(AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant {485 func (x *MenuItem) GetAttributeValue(AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant {
505 486
506 cret := xMenuItemGetAttributeValue(x.GoPointer(), AttributeVar, ExpectedTypeVar)487 cret := xMenuItemGetAttributeValue(x.GoPointer(), AttributeVar, ExpectedTypeVar)
507-
508 return cret488 return cret
509 }489 }
510 490
@@ -547,16 +527,14 @@ var xMenuItemSetActionAndTarget func(uintptr, uintptr, uintptr, ...interface{})
547 // description of the semantics of the action and target attributes.527 // description of the semantics of the action and target attributes.
548 func (x *MenuItem) SetActionAndTarget(ActionVar *string, FormatStringVar *string, varArgs ...interface{}) {528 func (x *MenuItem) SetActionAndTarget(ActionVar *string, FormatStringVar *string, varArgs ...interface{}) {
549 529
550- ActionVarPtr, ActionVarBytes := core.NullableStringToPtr(ActionVar)530+ ActionVarPtr := core.GStrdupNullable(ActionVar)
531+ defer core.GFreeNullable(ActionVarPtr)
551 532
552- FormatStringVarPtr, FormatStringVarBytes := core.NullableStringToPtr(FormatStringVar)533+ FormatStringVarPtr := core.GStrdupNullable(FormatStringVar)
534+ defer core.GFreeNullable(FormatStringVarPtr)
553 535
554 xMenuItemSetActionAndTarget(x.GoPointer(), ActionVarPtr, FormatStringVarPtr, varArgs...)536 xMenuItemSetActionAndTarget(x.GoPointer(), ActionVarPtr, FormatStringVarPtr, varArgs...)
555 537
556- runtime.KeepAlive(ActionVarBytes)
557-
558- runtime.KeepAlive(FormatStringVarBytes)
559-
560 }538 }
561 539
562 var xMenuItemSetActionAndTargetValue func(uintptr, uintptr, *glib.Variant)540 var xMenuItemSetActionAndTargetValue func(uintptr, uintptr, *glib.Variant)
@@ -599,12 +577,11 @@ var xMenuItemSetActionAndTargetValue func(uintptr, uintptr, *glib.Variant)
599 // probably more convenient for most uses.577 // probably more convenient for most uses.
600 func (x *MenuItem) SetActionAndTargetValue(ActionVar *string, TargetValueVar *glib.Variant) {578 func (x *MenuItem) SetActionAndTargetValue(ActionVar *string, TargetValueVar *glib.Variant) {
601 579
602- ActionVarPtr, ActionVarBytes := core.NullableStringToPtr(ActionVar)580+ ActionVarPtr := core.GStrdupNullable(ActionVar)
581+ defer core.GFreeNullable(ActionVarPtr)
603 582
604 xMenuItemSetActionAndTargetValue(x.GoPointer(), ActionVarPtr, TargetValueVar)583 xMenuItemSetActionAndTargetValue(x.GoPointer(), ActionVarPtr, TargetValueVar)
605 584
606- runtime.KeepAlive(ActionVarBytes)
607-
608 }585 }
609 586
610 var xMenuItemSetAttribute func(uintptr, string, uintptr, ...interface{})587 var xMenuItemSetAttribute func(uintptr, string, uintptr, ...interface{})
@@ -628,12 +605,11 @@ var xMenuItemSetAttribute func(uintptr, string, uintptr, ...interface{})
628 // that directly accepts a #GVariant.605 // that directly accepts a #GVariant.
629 func (x *MenuItem) SetAttribute(AttributeVar string, FormatStringVar *string, varArgs ...interface{}) {606 func (x *MenuItem) SetAttribute(AttributeVar string, FormatStringVar *string, varArgs ...interface{}) {
630 607
631- FormatStringVarPtr, FormatStringVarBytes := core.NullableStringToPtr(FormatStringVar)608+ FormatStringVarPtr := core.GStrdupNullable(FormatStringVar)
609+ defer core.GFreeNullable(FormatStringVarPtr)
632 610
633 xMenuItemSetAttribute(x.GoPointer(), AttributeVar, FormatStringVarPtr, varArgs...)611 xMenuItemSetAttribute(x.GoPointer(), AttributeVar, FormatStringVarPtr, varArgs...)
634 612
635- runtime.KeepAlive(FormatStringVarBytes)
636-
637 }613 }
638 614
639 var xMenuItemSetAttributeValue func(uintptr, string, *glib.Variant)615 var xMenuItemSetAttributeValue func(uintptr, string, *glib.Variant)
@@ -710,12 +686,11 @@ var xMenuItemSetLabel func(uintptr, uintptr)
710 // it is %NULL then the label attribute is unset.686 // it is %NULL then the label attribute is unset.
711 func (x *MenuItem) SetLabel(LabelVar *string) {687 func (x *MenuItem) SetLabel(LabelVar *string) {
712 688
713- LabelVarPtr, LabelVarBytes := core.NullableStringToPtr(LabelVar)689+ LabelVarPtr := core.GStrdupNullable(LabelVar)
690+ defer core.GFreeNullable(LabelVarPtr)
714 691
715 xMenuItemSetLabel(x.GoPointer(), LabelVarPtr)692 xMenuItemSetLabel(x.GoPointer(), LabelVarPtr)
716 693
717- runtime.KeepAlive(LabelVarBytes)
718-
719 }694 }
720 695
721 var xMenuItemSetLink func(uintptr, string, uintptr)696 var xMenuItemSetLink func(uintptr, string, uintptr)
M v4/gio/gmenumodel.go +0 -11
@@ -411,7 +411,6 @@ 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-
415 return cret414 return cret
416 }415 }
417 416
@@ -435,7 +434,6 @@ var xMenuAttributeIterGetNext func(uintptr, *string, **glib.Variant) bool
435 func (x *MenuAttributeIter) GetNext(OutNameVar *string, ValueVar **glib.Variant) bool {434 func (x *MenuAttributeIter) GetNext(OutNameVar *string, ValueVar **glib.Variant) bool {
436 435
437 cret := xMenuAttributeIterGetNext(x.GoPointer(), OutNameVar, ValueVar)436 cret := xMenuAttributeIterGetNext(x.GoPointer(), OutNameVar, ValueVar)
438-
439 return cret437 return cret
440 }438 }
441 439
@@ -447,7 +445,6 @@ var xMenuAttributeIterGetValue func(uintptr) *glib.Variant
447 func (x *MenuAttributeIter) GetValue() *glib.Variant {445 func (x *MenuAttributeIter) GetValue() *glib.Variant {
448 446
449 cret := xMenuAttributeIterGetValue(x.GoPointer())447 cret := xMenuAttributeIterGetValue(x.GoPointer())
450-
451 return cret448 return cret
452 }449 }
453 450
@@ -465,7 +462,6 @@ var xMenuAttributeIterNext func(uintptr) bool
465 func (x *MenuAttributeIter) Next() bool {462 func (x *MenuAttributeIter) Next() bool {
466 463
467 cret := xMenuAttributeIterNext(x.GoPointer())464 cret := xMenuAttributeIterNext(x.GoPointer())
468-
469 return cret465 return cret
470 }466 }
471 467
@@ -506,7 +502,6 @@ var xMenuLinkIterGetName func(uintptr) string
506 func (x *MenuLinkIter) GetName() string {502 func (x *MenuLinkIter) GetName() string {
507 503
508 cret := xMenuLinkIterGetName(x.GoPointer())504 cret := xMenuLinkIterGetName(x.GoPointer())
509-
510 return cret505 return cret
511 }506 }
512 507
@@ -529,7 +524,6 @@ var xMenuLinkIterGetNext func(uintptr, *string, **MenuModel) bool
529 func (x *MenuLinkIter) GetNext(OutLinkVar *string, ValueVar **MenuModel) bool {524 func (x *MenuLinkIter) GetNext(OutLinkVar *string, ValueVar **MenuModel) bool {
530 525
531 cret := xMenuLinkIterGetNext(x.GoPointer(), OutLinkVar, ValueVar)526 cret := xMenuLinkIterGetNext(x.GoPointer(), OutLinkVar, ValueVar)
532-
533 return cret527 return cret
534 }528 }
535 529
@@ -564,7 +558,6 @@ var xMenuLinkIterNext func(uintptr) bool
564 func (x *MenuLinkIter) Next() bool {558 func (x *MenuLinkIter) Next() bool {
565 559
566 cret := xMenuLinkIterNext(x.GoPointer())560 cret := xMenuLinkIterNext(x.GoPointer())
567-
568 return cret561 return cret
569 }562 }
570 563
@@ -737,7 +730,6 @@ var xMenuModelGetItemAttribute func(uintptr, int, string, string, ...interface{}
737 func (x *MenuModel) GetItemAttribute(ItemIndexVar int, AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool {730 func (x *MenuModel) GetItemAttribute(ItemIndexVar int, AttributeVar string, FormatStringVar string, varArgs ...interface{}) bool {
738 731
739 cret := xMenuModelGetItemAttribute(x.GoPointer(), ItemIndexVar, AttributeVar, FormatStringVar, varArgs...)732 cret := xMenuModelGetItemAttribute(x.GoPointer(), ItemIndexVar, AttributeVar, FormatStringVar, varArgs...)
740-
741 return cret733 return cret
742 }734 }
743 735
@@ -757,7 +749,6 @@ var xMenuModelGetItemAttributeValue func(uintptr, int, string, *glib.VariantType
757 func (x *MenuModel) GetItemAttributeValue(ItemIndexVar int, AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant {749 func (x *MenuModel) GetItemAttributeValue(ItemIndexVar int, AttributeVar string, ExpectedTypeVar *glib.VariantType) *glib.Variant {
758 750
759 cret := xMenuModelGetItemAttributeValue(x.GoPointer(), ItemIndexVar, AttributeVar, ExpectedTypeVar)751 cret := xMenuModelGetItemAttributeValue(x.GoPointer(), ItemIndexVar, AttributeVar, ExpectedTypeVar)
760-
761 return cret752 return cret
762 }753 }
763 754
@@ -787,7 +778,6 @@ var xMenuModelGetNItems func(uintptr) int
787 func (x *MenuModel) GetNItems() int {778 func (x *MenuModel) GetNItems() int {
788 779
789 cret := xMenuModelGetNItems(x.GoPointer())780 cret := xMenuModelGetNItems(x.GoPointer())
790-
791 return cret781 return cret
792 }782 }
793 783
@@ -800,7 +790,6 @@ var xMenuModelIsMutable func(uintptr) bool
800 func (x *MenuModel) IsMutable() bool {790 func (x *MenuModel) IsMutable() bool {
801 791
802 cret := xMenuModelIsMutable(x.GoPointer())792 cret := xMenuModelIsMutable(x.GoPointer())
803-
804 return cret793 return cret
805 }794 }
806 795
M v4/gio/gmount.go +0 -13
@@ -899,7 +899,6 @@ 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-
903 return cret902 return cret
904 }903 }
905 904
@@ -907,7 +906,6 @@ func (x *MountBase) CanEject() bool {
907 func (x *MountBase) CanUnmount() bool {906 func (x *MountBase) CanUnmount() bool {
908 907
909 cret := XGMountCanUnmount(x.GoPointer())908 cret := XGMountCanUnmount(x.GoPointer())
910-
911 return cret909 return cret
912 }910 }
913 911
@@ -926,7 +924,6 @@ func (x *MountBase) EjectFinish(ResultVar AsyncResult) (bool, error) {
926 var cerr *glib.Error924 var cerr *glib.Error
927 925
928 cret := XGMountEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)926 cret := XGMountEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
929-
930 if cerr == nil {927 if cerr == nil {
931 return cret, nil928 return cret, nil
932 }929 }
@@ -949,7 +946,6 @@ func (x *MountBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, error
949 var cerr *glib.Error946 var cerr *glib.Error
950 947
951 cret := XGMountEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)948 cret := XGMountEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
952-
953 if cerr == nil {949 if cerr == nil {
954 return cret, nil950 return cret, nil
955 }951 }
@@ -1008,7 +1004,6 @@ func (x *MountBase) GetIcon() *IconBase {
1008 func (x *MountBase) GetName() string {1004 func (x *MountBase) GetName() string {
1009 1005
1010 cret := XGMountGetName(x.GoPointer())1006 cret := XGMountGetName(x.GoPointer())
1011-
1012 return cret1007 return cret
1013 }1008 }
1014 1009
@@ -1030,7 +1025,6 @@ func (x *MountBase) GetRoot() *FileBase {
1030 func (x *MountBase) GetSortKey() string {1025 func (x *MountBase) GetSortKey() string {
1031 1026
1032 cret := XGMountGetSortKey(x.GoPointer())1027 cret := XGMountGetSortKey(x.GoPointer())
1033-
1034 return cret1028 return cret
1035 }1029 }
1036 1030
@@ -1055,7 +1049,6 @@ func (x *MountBase) GetSymbolicIcon() *IconBase {
1055 func (x *MountBase) GetUuid() string {1049 func (x *MountBase) GetUuid() string {
1056 1050
1057 cret := XGMountGetUuid(x.GoPointer())1051 cret := XGMountGetUuid(x.GoPointer())
1058-
1059 return cret1052 return cret
1060 }1053 }
1061 1054
@@ -1099,7 +1092,6 @@ func (x *MountBase) GuessContentTypeFinish(ResultVar AsyncResult) ([]string, err
1099 var cerr *glib.Error1092 var cerr *glib.Error
1100 1093
1101 cret := XGMountGuessContentTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1094 cret := XGMountGuessContentTypeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1102-
1103 if cerr == nil {1095 if cerr == nil {
1104 return cret, nil1096 return cret, nil
1105 }1097 }
@@ -1120,7 +1112,6 @@ func (x *MountBase) GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Ca
1120 var cerr *glib.Error1112 var cerr *glib.Error
1121 1113
1122 cret := XGMountGuessContentTypeSync(x.GoPointer(), ForceRescanVar, CancellableVar.GoPointer(), &cerr)1114 cret := XGMountGuessContentTypeSync(x.GoPointer(), ForceRescanVar, CancellableVar.GoPointer(), &cerr)
1123-
1124 if cerr == nil {1115 if cerr == nil {
1125 return cret, nil1116 return cret, nil
1126 }1117 }
@@ -1154,7 +1145,6 @@ func (x *MountBase) GuessContentTypeSync(ForceRescanVar bool, CancellableVar *Ca
1154 func (x *MountBase) IsShadowed() bool {1145 func (x *MountBase) IsShadowed() bool {
1155 1146
1156 cret := XGMountIsShadowed(x.GoPointer())1147 cret := XGMountIsShadowed(x.GoPointer())
1157-
1158 return cret1148 return cret
1159 }1149 }
1160 1150
@@ -1179,7 +1169,6 @@ func (x *MountBase) RemountFinish(ResultVar AsyncResult) (bool, error) {
1179 var cerr *glib.Error1169 var cerr *glib.Error
1180 1170
1181 cret := XGMountRemountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1171 cret := XGMountRemountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1182-
1183 if cerr == nil {1172 if cerr == nil {
1184 return cret, nil1173 return cret, nil
1185 }1174 }
@@ -1212,7 +1201,6 @@ func (x *MountBase) UnmountFinish(ResultVar AsyncResult) (bool, error) {
1212 var cerr *glib.Error1201 var cerr *glib.Error
1213 1202
1214 cret := XGMountUnmountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1203 cret := XGMountUnmountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1215-
1216 if cerr == nil {1204 if cerr == nil {
1217 return cret, nil1205 return cret, nil
1218 }1206 }
@@ -1235,7 +1223,6 @@ func (x *MountBase) UnmountWithOperationFinish(ResultVar AsyncResult) (bool, err
1235 var cerr *glib.Error1223 var cerr *glib.Error
1236 1224
1237 cret := XGMountUnmountWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1225 cret := XGMountUnmountWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1238-
1239 if cerr == nil {1226 if cerr == nil {
1240 return cret, nil1227 return cret, nil
1241 }1228 }
M v4/gio/gmountoperation.go +6 -19
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -467,7 +466,6 @@ var xMountOperationGetAnonymous func(uintptr) bool
467 func (x *MountOperation) GetAnonymous() bool {466 func (x *MountOperation) GetAnonymous() bool {
468 467
469 cret := xMountOperationGetAnonymous(x.GoPointer())468 cret := xMountOperationGetAnonymous(x.GoPointer())
470-
471 return cret469 return cret
472 }470 }
473 471
@@ -477,7 +475,6 @@ var xMountOperationGetChoice func(uintptr) int
477 func (x *MountOperation) GetChoice() int {475 func (x *MountOperation) GetChoice() int {
478 476
479 cret := xMountOperationGetChoice(x.GoPointer())477 cret := xMountOperationGetChoice(x.GoPointer())
480-
481 return cret478 return cret
482 }479 }
483 480
@@ -487,7 +484,6 @@ var xMountOperationGetDomain func(uintptr) string
487 func (x *MountOperation) GetDomain() string {484 func (x *MountOperation) GetDomain() string {
488 485
489 cret := xMountOperationGetDomain(x.GoPointer())486 cret := xMountOperationGetDomain(x.GoPointer())
490-
491 return cret487 return cret
492 }488 }
493 489
@@ -498,7 +494,6 @@ var xMountOperationGetIsTcryptHiddenVolume func(uintptr) bool
498 func (x *MountOperation) GetIsTcryptHiddenVolume() bool {494 func (x *MountOperation) GetIsTcryptHiddenVolume() bool {
499 495
500 cret := xMountOperationGetIsTcryptHiddenVolume(x.GoPointer())496 cret := xMountOperationGetIsTcryptHiddenVolume(x.GoPointer())
501-
502 return cret497 return cret
503 }498 }
504 499
@@ -509,7 +504,6 @@ var xMountOperationGetIsTcryptSystemVolume func(uintptr) bool
509 func (x *MountOperation) GetIsTcryptSystemVolume() bool {504 func (x *MountOperation) GetIsTcryptSystemVolume() bool {
510 505
511 cret := xMountOperationGetIsTcryptSystemVolume(x.GoPointer())506 cret := xMountOperationGetIsTcryptSystemVolume(x.GoPointer())
512-
513 return cret507 return cret
514 }508 }
515 509
@@ -519,7 +513,6 @@ var xMountOperationGetPassword func(uintptr) string
519 func (x *MountOperation) GetPassword() string {513 func (x *MountOperation) GetPassword() string {
520 514
521 cret := xMountOperationGetPassword(x.GoPointer())515 cret := xMountOperationGetPassword(x.GoPointer())
522-
523 return cret516 return cret
524 }517 }
525 518
@@ -529,7 +522,6 @@ var xMountOperationGetPasswordSave func(uintptr) PasswordSave
529 func (x *MountOperation) GetPasswordSave() PasswordSave {522 func (x *MountOperation) GetPasswordSave() PasswordSave {
530 523
531 cret := xMountOperationGetPasswordSave(x.GoPointer())524 cret := xMountOperationGetPasswordSave(x.GoPointer())
532-
533 return cret525 return cret
534 }526 }
535 527
@@ -539,7 +531,6 @@ var xMountOperationGetPim func(uintptr) uint
539 func (x *MountOperation) GetPim() uint {531 func (x *MountOperation) GetPim() uint {
540 532
541 cret := xMountOperationGetPim(x.GoPointer())533 cret := xMountOperationGetPim(x.GoPointer())
542-
543 return cret534 return cret
544 }535 }
545 536
@@ -549,7 +540,6 @@ var xMountOperationGetUsername func(uintptr) string
549 func (x *MountOperation) GetUsername() string {540 func (x *MountOperation) GetUsername() string {
550 541
551 cret := xMountOperationGetUsername(x.GoPointer())542 cret := xMountOperationGetUsername(x.GoPointer())
552-
553 return cret543 return cret
554 }544 }
555 545
@@ -585,12 +575,11 @@ var xMountOperationSetDomain func(uintptr, uintptr)
585 // Sets the mount operation's domain.575 // Sets the mount operation's domain.
586 func (x *MountOperation) SetDomain(DomainVar *string) {576 func (x *MountOperation) SetDomain(DomainVar *string) {
587 577
588- DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)578+ DomainVarPtr := core.GStrdupNullable(DomainVar)
579+ defer core.GFreeNullable(DomainVarPtr)
589 580
590 xMountOperationSetDomain(x.GoPointer(), DomainVarPtr)581 xMountOperationSetDomain(x.GoPointer(), DomainVarPtr)
591 582
592- runtime.KeepAlive(DomainVarBytes)
593-
594 }583 }
595 584
596 var xMountOperationSetIsTcryptHiddenVolume func(uintptr, bool)585 var xMountOperationSetIsTcryptHiddenVolume func(uintptr, bool)
@@ -616,12 +605,11 @@ var xMountOperationSetPassword func(uintptr, uintptr)
616 // Sets the mount operation's password to @password.605 // Sets the mount operation's password to @password.
617 func (x *MountOperation) SetPassword(PasswordVar *string) {606 func (x *MountOperation) SetPassword(PasswordVar *string) {
618 607
619- PasswordVarPtr, PasswordVarBytes := core.NullableStringToPtr(PasswordVar)608+ PasswordVarPtr := core.GStrdupNullable(PasswordVar)
609+ defer core.GFreeNullable(PasswordVarPtr)
620 610
621 xMountOperationSetPassword(x.GoPointer(), PasswordVarPtr)611 xMountOperationSetPassword(x.GoPointer(), PasswordVarPtr)
622 612
623- runtime.KeepAlive(PasswordVarBytes)
624-
625 }613 }
626 614
627 var xMountOperationSetPasswordSave func(uintptr, PasswordSave)615 var xMountOperationSetPasswordSave func(uintptr, PasswordSave)
@@ -647,12 +635,11 @@ var xMountOperationSetUsername func(uintptr, uintptr)
647 // Sets the user name within @op to @username.635 // Sets the user name within @op to @username.
648 func (x *MountOperation) SetUsername(UsernameVar *string) {636 func (x *MountOperation) SetUsername(UsernameVar *string) {
649 637
650- UsernameVarPtr, UsernameVarBytes := core.NullableStringToPtr(UsernameVar)638+ UsernameVarPtr := core.GStrdupNullable(UsernameVar)
639+ defer core.GFreeNullable(UsernameVarPtr)
651 640
652 xMountOperationSetUsername(x.GoPointer(), UsernameVarPtr)641 xMountOperationSetUsername(x.GoPointer(), UsernameVarPtr)
653 642
654- runtime.KeepAlive(UsernameVarBytes)
655-
656 }643 }
657 644
658 func (c *MountOperation) GoPointer() uintptr {645 func (c *MountOperation) GoPointer() uintptr {
M v4/gio/gnativesocketaddress.go +0 -1
@@ -119,7 +119,6 @@ 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-
123 return cret122 return cret
124 }123 }
125 124
M v4/gio/gnetworkaddress.go +0 -4
@@ -113,7 +113,6 @@ 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-
117 return cret116 return cret
118 }117 }
119 118
@@ -123,7 +122,6 @@ var xNetworkAddressGetPort func(uintptr) uint16
123 func (x *NetworkAddress) GetPort() uint16 {122 func (x *NetworkAddress) GetPort() uint16 {
124 123
125 cret := xNetworkAddressGetPort(x.GoPointer())124 cret := xNetworkAddressGetPort(x.GoPointer())
126-
127 return cret125 return cret
128 }126 }
129 127
@@ -133,7 +131,6 @@ var xNetworkAddressGetScheme func(uintptr) string
133 func (x *NetworkAddress) GetScheme() string {131 func (x *NetworkAddress) GetScheme() string {
134 132
135 cret := xNetworkAddressGetScheme(x.GoPointer())133 cret := xNetworkAddressGetScheme(x.GoPointer())
136-
137 return cret134 return cret
138 }135 }
139 136
@@ -243,7 +240,6 @@ func (x *NetworkAddress) ProxyEnumerate() *SocketAddressEnumerator {
243 func (x *NetworkAddress) ToString() string {240 func (x *NetworkAddress) ToString() string {
244 241
245 cret := XGSocketConnectableToString(x.GoPointer())242 cret := XGSocketConnectableToString(x.GoPointer())
246-
247 return cret243 return cret
248 }244 }
249 245
M v4/gio/gnetworkmonitor.go +0 -5
@@ -202,7 +202,6 @@ 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-
206 if cerr == nil {205 if cerr == nil {
207 return cret, nil206 return cret, nil
208 }207 }
@@ -231,7 +230,6 @@ func (x *NetworkMonitorBase) CanReachFinish(ResultVar AsyncResult) (bool, error)
231 var cerr *glib.Error230 var cerr *glib.Error
232 231
233 cret := XGNetworkMonitorCanReachFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)232 cret := XGNetworkMonitorCanReachFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
234-
235 if cerr == nil {233 if cerr == nil {
236 return cret, nil234 return cret, nil
237 }235 }
@@ -261,7 +259,6 @@ func (x *NetworkMonitorBase) CanReachFinish(ResultVar AsyncResult) (bool, error)
261 func (x *NetworkMonitorBase) GetConnectivity() NetworkConnectivity {259 func (x *NetworkMonitorBase) GetConnectivity() NetworkConnectivity {
262 260
263 cret := XGNetworkMonitorGetConnectivity(x.GoPointer())261 cret := XGNetworkMonitorGetConnectivity(x.GoPointer())
264-
265 return cret262 return cret
266 }263 }
267 264
@@ -272,7 +269,6 @@ func (x *NetworkMonitorBase) GetConnectivity() NetworkConnectivity {
272 func (x *NetworkMonitorBase) GetNetworkAvailable() bool {269 func (x *NetworkMonitorBase) GetNetworkAvailable() bool {
273 270
274 cret := XGNetworkMonitorGetNetworkAvailable(x.GoPointer())271 cret := XGNetworkMonitorGetNetworkAvailable(x.GoPointer())
275-
276 return cret272 return cret
277 }273 }
278 274
@@ -281,7 +277,6 @@ func (x *NetworkMonitorBase) GetNetworkAvailable() bool {
281 func (x *NetworkMonitorBase) GetNetworkMetered() bool {277 func (x *NetworkMonitorBase) GetNetworkMetered() bool {
282 278
283 cret := XGNetworkMonitorGetNetworkMetered(x.GoPointer())279 cret := XGNetworkMonitorGetNetworkMetered(x.GoPointer())
284-
285 return cret280 return cret
286 }281 }
287 282
M v4/gio/gnetworkservice.go +0 -5
@@ -79,7 +79,6 @@ 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-
83 return cret82 return cret
84 }83 }
85 84
@@ -89,7 +88,6 @@ var xNetworkServiceGetProtocol func(uintptr) string
89 func (x *NetworkService) GetProtocol() string {88 func (x *NetworkService) GetProtocol() string {
90 89
91 cret := xNetworkServiceGetProtocol(x.GoPointer())90 cret := xNetworkServiceGetProtocol(x.GoPointer())
92-
93 return cret91 return cret
94 }92 }
95 93
@@ -100,7 +98,6 @@ var xNetworkServiceGetScheme func(uintptr) string
100 func (x *NetworkService) GetScheme() string {98 func (x *NetworkService) GetScheme() string {
101 99
102 cret := xNetworkServiceGetScheme(x.GoPointer())100 cret := xNetworkServiceGetScheme(x.GoPointer())
103-
104 return cret101 return cret
105 }102 }
106 103
@@ -110,7 +107,6 @@ var xNetworkServiceGetService func(uintptr) string
110 func (x *NetworkService) GetService() string {107 func (x *NetworkService) GetService() string {
111 108
112 cret := xNetworkServiceGetService(x.GoPointer())109 cret := xNetworkServiceGetService(x.GoPointer())
113-
114 return cret110 return cret
115 }111 }
116 112
@@ -247,7 +243,6 @@ func (x *NetworkService) ProxyEnumerate() *SocketAddressEnumerator {
247 func (x *NetworkService) ToString() string {243 func (x *NetworkService) ToString() string {
248 244
249 cret := XGSocketConnectableToString(x.GoPointer())245 cret := XGSocketConnectableToString(x.GoPointer())
250-
251 return cret246 return cret
252 }247 }
253 248
M v4/gio/gnotification.go +8 -14
@@ -2,8 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 "github.com/jwijenbergh/puregotk/v4/glib"7 "github.com/jwijenbergh/puregotk/v4/glib"
@@ -120,12 +118,11 @@ var xNotificationAddButtonWithTarget func(uintptr, string, string, uintptr, ...i
120 // parameter.118 // parameter.
121 func (x *Notification) AddButtonWithTarget(LabelVar string, ActionVar string, TargetFormatVar *string, varArgs ...interface{}) {119 func (x *Notification) AddButtonWithTarget(LabelVar string, ActionVar string, TargetFormatVar *string, varArgs ...interface{}) {
122 120
123- TargetFormatVarPtr, TargetFormatVarBytes := core.NullableStringToPtr(TargetFormatVar)121+ TargetFormatVarPtr := core.GStrdupNullable(TargetFormatVar)
122+ defer core.GFreeNullable(TargetFormatVarPtr)
124 123
125 xNotificationAddButtonWithTarget(x.GoPointer(), LabelVar, ActionVar, TargetFormatVarPtr, varArgs...)124 xNotificationAddButtonWithTarget(x.GoPointer(), LabelVar, ActionVar, TargetFormatVarPtr, varArgs...)
126 125
127- runtime.KeepAlive(TargetFormatVarBytes)
128-
129 }126 }
130 127
131 var xNotificationAddButtonWithTargetValue func(uintptr, string, string, *glib.Variant)128 var xNotificationAddButtonWithTargetValue func(uintptr, string, string, *glib.Variant)
@@ -146,12 +143,11 @@ var xNotificationSetBody func(uintptr, uintptr)
146 // Sets the body of @notification to @body.143 // Sets the body of @notification to @body.
147 func (x *Notification) SetBody(BodyVar *string) {144 func (x *Notification) SetBody(BodyVar *string) {
148 145
149- BodyVarPtr, BodyVarBytes := core.NullableStringToPtr(BodyVar)146+ BodyVarPtr := core.GStrdupNullable(BodyVar)
147+ defer core.GFreeNullable(BodyVarPtr)
150 148
151 xNotificationSetBody(x.GoPointer(), BodyVarPtr)149 xNotificationSetBody(x.GoPointer(), BodyVarPtr)
152 150
153- runtime.KeepAlive(BodyVarBytes)
154-
155 }151 }
156 152
157 var xNotificationSetCategory func(uintptr, uintptr)153 var xNotificationSetCategory func(uintptr, uintptr)
@@ -164,12 +160,11 @@ var xNotificationSetCategory func(uintptr, uintptr)
164 // Standard categories are [listed in the specification](https://specifications.freedesktop.org/notification-spec/latest/ar01s06.html).160 // Standard categories are [listed in the specification](https://specifications.freedesktop.org/notification-spec/latest/ar01s06.html).
165 func (x *Notification) SetCategory(CategoryVar *string) {161 func (x *Notification) SetCategory(CategoryVar *string) {
166 162
167- CategoryVarPtr, CategoryVarBytes := core.NullableStringToPtr(CategoryVar)163+ CategoryVarPtr := core.GStrdupNullable(CategoryVar)
164+ defer core.GFreeNullable(CategoryVarPtr)
168 165
169 xNotificationSetCategory(x.GoPointer(), CategoryVarPtr)166 xNotificationSetCategory(x.GoPointer(), CategoryVarPtr)
170 167
171- runtime.KeepAlive(CategoryVarBytes)
172-
173 }168 }
174 169
175 var xNotificationSetDefaultAction func(uintptr, string)170 var xNotificationSetDefaultAction func(uintptr, string)
@@ -206,12 +201,11 @@ var xNotificationSetDefaultActionAndTarget func(uintptr, string, uintptr, ...int
206 // was sent on is activated.201 // was sent on is activated.
207 func (x *Notification) SetDefaultActionAndTarget(ActionVar string, TargetFormatVar *string, varArgs ...interface{}) {202 func (x *Notification) SetDefaultActionAndTarget(ActionVar string, TargetFormatVar *string, varArgs ...interface{}) {
208 203
209- TargetFormatVarPtr, TargetFormatVarBytes := core.NullableStringToPtr(TargetFormatVar)204+ TargetFormatVarPtr := core.GStrdupNullable(TargetFormatVar)
205+ defer core.GFreeNullable(TargetFormatVarPtr)
210 206
211 xNotificationSetDefaultActionAndTarget(x.GoPointer(), ActionVar, TargetFormatVarPtr, varArgs...)207 xNotificationSetDefaultActionAndTarget(x.GoPointer(), ActionVar, TargetFormatVarPtr, varArgs...)
212 208
213- runtime.KeepAlive(TargetFormatVarBytes)
214-
215 }209 }
216 210
217 var xNotificationSetDefaultActionAndTargetValue func(uintptr, string, *glib.Variant)211 var xNotificationSetDefaultActionAndTargetValue func(uintptr, string, *glib.Variant)
M v4/gio/goutputstream.go +0 -22
@@ -607,7 +607,6 @@ 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-
611 if cerr == nil {610 if cerr == nil {
612 return cret, nil611 return cret, nil
613 }612 }
@@ -655,7 +654,6 @@ func (x *OutputStream) CloseFinish(ResultVar AsyncResult) (bool, error) {
655 var cerr *glib.Error654 var cerr *glib.Error
656 655
657 cret := xOutputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)656 cret := xOutputStreamCloseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
658-
659 if cerr == nil {657 if cerr == nil {
660 return cret, nil658 return cret, nil
661 }659 }
@@ -678,7 +676,6 @@ func (x *OutputStream) Flush(CancellableVar *Cancellable) (bool, error) {
678 var cerr *glib.Error676 var cerr *glib.Error
679 677
680 cret := xOutputStreamFlush(x.GoPointer(), CancellableVar.GoPointer(), &cerr)678 cret := xOutputStreamFlush(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
681-
682 if cerr == nil {679 if cerr == nil {
683 return cret, nil680 return cret, nil
684 }681 }
@@ -723,7 +720,6 @@ func (x *OutputStream) FlushFinish(ResultVar AsyncResult) (bool, error) {
723 var cerr *glib.Error720 var cerr *glib.Error
724 721
725 cret := xOutputStreamFlushFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)722 cret := xOutputStreamFlushFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
726-
727 if cerr == nil {723 if cerr == nil {
728 return cret, nil724 return cret, nil
729 }725 }
@@ -737,7 +733,6 @@ var xOutputStreamHasPending func(uintptr) bool
737 func (x *OutputStream) HasPending() bool {733 func (x *OutputStream) HasPending() bool {
738 734
739 cret := xOutputStreamHasPending(x.GoPointer())735 cret := xOutputStreamHasPending(x.GoPointer())
740-
741 return cret736 return cret
742 }737 }
743 738
@@ -747,7 +742,6 @@ var xOutputStreamIsClosed func(uintptr) bool
747 func (x *OutputStream) IsClosed() bool {742 func (x *OutputStream) IsClosed() bool {
748 743
749 cret := xOutputStreamIsClosed(x.GoPointer())744 cret := xOutputStreamIsClosed(x.GoPointer())
750-
751 return cret745 return cret
752 }746 }
753 747
@@ -760,7 +754,6 @@ var xOutputStreamIsClosing func(uintptr) bool
760 func (x *OutputStream) IsClosing() bool {754 func (x *OutputStream) IsClosing() bool {
761 755
762 cret := xOutputStreamIsClosing(x.GoPointer())756 cret := xOutputStreamIsClosing(x.GoPointer())
763-
764 return cret757 return cret
765 }758 }
766 759
@@ -781,7 +774,6 @@ var xOutputStreamPrintf func(uintptr, *uint, uintptr, **glib.Error, string, ...i
781 func (x *OutputStream) Printf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, varArgs ...interface{}) bool {774 func (x *OutputStream) Printf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, varArgs ...interface{}) bool {
782 775
783 cret := xOutputStreamPrintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, varArgs...)776 cret := xOutputStreamPrintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, varArgs...)
784-
785 return cret777 return cret
786 }778 }
787 779
@@ -794,7 +786,6 @@ func (x *OutputStream) SetPending() (bool, error) {
794 var cerr *glib.Error786 var cerr *glib.Error
795 787
796 cret := xOutputStreamSetPending(x.GoPointer())788 cret := xOutputStreamSetPending(x.GoPointer())
797-
798 if cerr == nil {789 if cerr == nil {
799 return cret, nil790 return cret, nil
800 }791 }
@@ -809,7 +800,6 @@ func (x *OutputStream) Splice(SourceVar *InputStream, FlagsVar OutputStreamSplic
809 var cerr *glib.Error800 var cerr *glib.Error
810 801
811 cret := xOutputStreamSplice(x.GoPointer(), SourceVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)802 cret := xOutputStreamSplice(x.GoPointer(), SourceVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
812-
813 if cerr == nil {803 if cerr == nil {
814 return cret, nil804 return cret, nil
815 }805 }
@@ -854,7 +844,6 @@ func (x *OutputStream) SpliceFinish(ResultVar AsyncResult) (int, error) {
854 var cerr *glib.Error844 var cerr *glib.Error
855 845
856 cret := xOutputStreamSpliceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)846 cret := xOutputStreamSpliceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
857-
858 if cerr == nil {847 if cerr == nil {
859 return cret, nil848 return cret, nil
860 }849 }
@@ -879,7 +868,6 @@ var xOutputStreamVprintf func(uintptr, *uint, uintptr, **glib.Error, string, []i
879 func (x *OutputStream) Vprintf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, ArgsVar []interface{}) bool {868 func (x *OutputStream) Vprintf(BytesWrittenVar *uint, CancellableVar *Cancellable, ErrorVar **glib.Error, FormatVar string, ArgsVar []interface{}) bool {
880 869
881 cret := xOutputStreamVprintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, ArgsVar)870 cret := xOutputStreamVprintf(x.GoPointer(), BytesWrittenVar, CancellableVar.GoPointer(), ErrorVar, FormatVar, ArgsVar)
882-
883 return cret871 return cret
884 }872 }
885 873
@@ -909,7 +897,6 @@ func (x *OutputStream) Write(BufferVar []byte, CountVar uint, CancellableVar *Ca
909 var cerr *glib.Error897 var cerr *glib.Error
910 898
911 cret := xOutputStreamWrite(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)899 cret := xOutputStreamWrite(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
912-
913 if cerr == nil {900 if cerr == nil {
914 return cret, nil901 return cret, nil
915 }902 }
@@ -942,7 +929,6 @@ func (x *OutputStream) WriteAll(BufferVar []byte, CountVar uint, BytesWrittenVar
942 var cerr *glib.Error929 var cerr *glib.Error
943 930
944 cret := xOutputStreamWriteAll(x.GoPointer(), BufferVar, CountVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)931 cret := xOutputStreamWriteAll(x.GoPointer(), BufferVar, CountVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
945-
946 if cerr == nil {932 if cerr == nil {
947 return cret, nil933 return cret, nil
948 }934 }
@@ -1004,7 +990,6 @@ func (x *OutputStream) WriteAllFinish(ResultVar AsyncResult, BytesWrittenVar *ui
1004 var cerr *glib.Error990 var cerr *glib.Error
1005 991
1006 cret := xOutputStreamWriteAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)992 cret := xOutputStreamWriteAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)
1007-
1008 if cerr == nil {993 if cerr == nil {
1009 return cret, nil994 return cret, nil
1010 }995 }
@@ -1087,7 +1072,6 @@ func (x *OutputStream) WriteBytes(BytesVar *glib.Bytes, CancellableVar *Cancella
1087 var cerr *glib.Error1072 var cerr *glib.Error
1088 1073
1089 cret := xOutputStreamWriteBytes(x.GoPointer(), BytesVar, CancellableVar.GoPointer(), &cerr)1074 cret := xOutputStreamWriteBytes(x.GoPointer(), BytesVar, CancellableVar.GoPointer(), &cerr)
1090-
1091 if cerr == nil {1075 if cerr == nil {
1092 return cret, nil1076 return cret, nil
1093 }1077 }
@@ -1138,7 +1122,6 @@ func (x *OutputStream) WriteBytesFinish(ResultVar AsyncResult) (int, error) {
1138 var cerr *glib.Error1122 var cerr *glib.Error
1139 1123
1140 cret := xOutputStreamWriteBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1124 cret := xOutputStreamWriteBytesFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1141-
1142 if cerr == nil {1125 if cerr == nil {
1143 return cret, nil1126 return cret, nil
1144 }1127 }
@@ -1153,7 +1136,6 @@ func (x *OutputStream) WriteFinish(ResultVar AsyncResult) (int, error) {
1153 var cerr *glib.Error1136 var cerr *glib.Error
1154 1137
1155 cret := xOutputStreamWriteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)1138 cret := xOutputStreamWriteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
1156-
1157 if cerr == nil {1139 if cerr == nil {
1158 return cret, nil1140 return cret, nil
1159 }1141 }
@@ -1190,7 +1172,6 @@ func (x *OutputStream) Writev(VectorsVar []OutputVector, NVectorsVar uint, Bytes
1190 var cerr *glib.Error1172 var cerr *glib.Error
1191 1173
1192 cret := xOutputStreamWritev(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)1174 cret := xOutputStreamWritev(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
1193-
1194 if cerr == nil {1175 if cerr == nil {
1195 return cret, nil1176 return cret, nil
1196 }1177 }
@@ -1226,7 +1207,6 @@ func (x *OutputStream) WritevAll(VectorsVar []OutputVector, NVectorsVar uint, By
1226 var cerr *glib.Error1207 var cerr *glib.Error
1227 1208
1228 cret := xOutputStreamWritevAll(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)1209 cret := xOutputStreamWritevAll(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
1229-
1230 if cerr == nil {1210 if cerr == nil {
1231 return cret, nil1211 return cret, nil
1232 }1212 }
@@ -1289,7 +1269,6 @@ func (x *OutputStream) WritevAllFinish(ResultVar AsyncResult, BytesWrittenVar *u
1289 var cerr *glib.Error1269 var cerr *glib.Error
1290 1270
1291 cret := xOutputStreamWritevAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)1271 cret := xOutputStreamWritevAllFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)
1292-
1293 if cerr == nil {1272 if cerr == nil {
1294 return cret, nil1273 return cret, nil
1295 }1274 }
@@ -1357,7 +1336,6 @@ func (x *OutputStream) WritevFinish(ResultVar AsyncResult, BytesWrittenVar *uint
1357 var cerr *glib.Error1336 var cerr *glib.Error
1358 1337
1359 cret := xOutputStreamWritevFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)1338 cret := xOutputStreamWritevFinish(x.GoPointer(), ResultVar.GoPointer(), BytesWrittenVar, &cerr)
1360-
1361 if cerr == nil {1339 if cerr == nil {
1362 return cret, nil1340 return cret, nil
1363 }1341 }
M v4/gio/gpermission.go +0 -7
@@ -234,7 +234,6 @@ 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-
238 if cerr == nil {237 if cerr == nil {
239 return cret, nil238 return cret, nil
240 }239 }
@@ -280,7 +279,6 @@ func (x *Permission) AcquireFinish(ResultVar AsyncResult) (bool, error) {
280 var cerr *glib.Error279 var cerr *glib.Error
281 280
282 cret := xPermissionAcquireFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)281 cret := xPermissionAcquireFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
283-
284 if cerr == nil {282 if cerr == nil {
285 return cret, nil283 return cret, nil
286 }284 }
@@ -296,7 +294,6 @@ var xPermissionGetAllowed func(uintptr) bool
296 func (x *Permission) GetAllowed() bool {294 func (x *Permission) GetAllowed() bool {
297 295
298 cret := xPermissionGetAllowed(x.GoPointer())296 cret := xPermissionGetAllowed(x.GoPointer())
299-
300 return cret297 return cret
301 }298 }
302 299
@@ -308,7 +305,6 @@ var xPermissionGetCanAcquire func(uintptr) bool
308 func (x *Permission) GetCanAcquire() bool {305 func (x *Permission) GetCanAcquire() bool {
309 306
310 cret := xPermissionGetCanAcquire(x.GoPointer())307 cret := xPermissionGetCanAcquire(x.GoPointer())
311-
312 return cret308 return cret
313 }309 }
314 310
@@ -320,7 +316,6 @@ var xPermissionGetCanRelease func(uintptr) bool
320 func (x *Permission) GetCanRelease() bool {316 func (x *Permission) GetCanRelease() bool {
321 317
322 cret := xPermissionGetCanRelease(x.GoPointer())318 cret := xPermissionGetCanRelease(x.GoPointer())
323-
324 return cret319 return cret
325 }320 }
326 321
@@ -358,7 +353,6 @@ func (x *Permission) Release(CancellableVar *Cancellable) (bool, error) {
358 var cerr *glib.Error353 var cerr *glib.Error
359 354
360 cret := xPermissionRelease(x.GoPointer(), CancellableVar.GoPointer(), &cerr)355 cret := xPermissionRelease(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
361-
362 if cerr == nil {356 if cerr == nil {
363 return cret, nil357 return cret, nil
364 }358 }
@@ -404,7 +398,6 @@ func (x *Permission) ReleaseFinish(ResultVar AsyncResult) (bool, error) {
404 var cerr *glib.Error398 var cerr *glib.Error
405 399
406 cret := xPermissionReleaseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)400 cret := xPermissionReleaseFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
407-
408 if cerr == nil {401 if cerr == nil {
409 return cret, nil402 return cret, nil
410 }403 }
M v4/gio/gpollableinputstream.go +0 -4
@@ -192,7 +192,6 @@ 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-
196 return cret195 return cret
197 }196 }
198 197
@@ -210,7 +209,6 @@ func (x *PollableInputStreamBase) CanPoll() bool {
210 func (x *PollableInputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source {209 func (x *PollableInputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source {
211 210
212 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())211 cret := XGPollableInputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
213-
214 return cret212 return cret
215 }213 }
216 214
@@ -228,7 +226,6 @@ func (x *PollableInputStreamBase) CreateSource(CancellableVar *Cancellable) *gli
228 func (x *PollableInputStreamBase) IsReadable() bool {226 func (x *PollableInputStreamBase) IsReadable() bool {
229 227
230 cret := XGPollableInputStreamIsReadable(x.GoPointer())228 cret := XGPollableInputStreamIsReadable(x.GoPointer())
231-
232 return cret229 return cret
233 }230 }
234 231
@@ -250,7 +247,6 @@ func (x *PollableInputStreamBase) ReadNonblocking(BufferVar *[]byte, CountVar ui
250 var cerr *glib.Error247 var cerr *glib.Error
251 248
252 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)249 cret := XGPollableInputStreamReadNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
253-
254 if cerr == nil {250 if cerr == nil {
255 return cret, nil251 return cret, nil
256 }252 }
M v4/gio/gpollableoutputstream.go +0 -5
@@ -230,7 +230,6 @@ 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-
234 return cret233 return cret
235 }234 }
236 235
@@ -248,7 +247,6 @@ func (x *PollableOutputStreamBase) CanPoll() bool {
248 func (x *PollableOutputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source {247 func (x *PollableOutputStreamBase) CreateSource(CancellableVar *Cancellable) *glib.Source {
249 248
250 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())249 cret := XGPollableOutputStreamCreateSource(x.GoPointer(), CancellableVar.GoPointer())
251-
252 return cret250 return cret
253 }251 }
254 252
@@ -266,7 +264,6 @@ func (x *PollableOutputStreamBase) CreateSource(CancellableVar *Cancellable) *gl
266 func (x *PollableOutputStreamBase) IsWritable() bool {264 func (x *PollableOutputStreamBase) IsWritable() bool {
267 265
268 cret := XGPollableOutputStreamIsWritable(x.GoPointer())266 cret := XGPollableOutputStreamIsWritable(x.GoPointer())
269-
270 return cret267 return cret
271 }268 }
272 269
@@ -292,7 +289,6 @@ func (x *PollableOutputStreamBase) WriteNonblocking(BufferVar []byte, CountVar u
292 var cerr *glib.Error289 var cerr *glib.Error
293 290
294 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)291 cret := XGPollableOutputStreamWriteNonblocking(x.GoPointer(), BufferVar, CountVar, CancellableVar.GoPointer(), &cerr)
295-
296 if cerr == nil {292 if cerr == nil {
297 return cret, nil293 return cret, nil
298 }294 }
@@ -323,7 +319,6 @@ func (x *PollableOutputStreamBase) WritevNonblocking(VectorsVar []OutputVector,
323 var cerr *glib.Error319 var cerr *glib.Error
324 320
325 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)321 cret := XGPollableOutputStreamWritevNonblocking(x.GoPointer(), VectorsVar, NVectorsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
326-
327 if cerr == nil {322 if cerr == nil {
328 return cret, nil323 return cret, nil
329 }324 }
M v4/gio/gpollableutils.go +0 -5
@@ -18,7 +18,6 @@ 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-
22 return cret21 return cret
23 }22 }
24 23
@@ -31,7 +30,6 @@ var xPollableSourceNewFull func(uintptr, *glib.Source, uintptr) *glib.Source
31 func PollableSourceNewFull(PollableStreamVar *gobject.Object, ChildSourceVar *glib.Source, CancellableVar *Cancellable) *glib.Source {30 func PollableSourceNewFull(PollableStreamVar *gobject.Object, ChildSourceVar *glib.Source, CancellableVar *Cancellable) *glib.Source {
32 31
33 cret := xPollableSourceNewFull(PollableStreamVar.GoPointer(), ChildSourceVar, CancellableVar.GoPointer())32 cret := xPollableSourceNewFull(PollableStreamVar.GoPointer(), ChildSourceVar, CancellableVar.GoPointer())
34-
35 return cret33 return cret
36 }34 }
37 35
@@ -50,7 +48,6 @@ func PollableStreamRead(StreamVar *InputStream, BufferVar []byte, CountVar uint,
50 var cerr *glib.Error48 var cerr *glib.Error
51 49
52 cret := xPollableStreamRead(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)50 cret := xPollableStreamRead(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
53-
54 if cerr == nil {51 if cerr == nil {
55 return cret, nil52 return cret, nil
56 }53 }
@@ -74,7 +71,6 @@ func PollableStreamWrite(StreamVar *OutputStream, BufferVar []byte, CountVar uin
74 var cerr *glib.Error71 var cerr *glib.Error
75 72
76 cret := xPollableStreamWrite(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)73 cret := xPollableStreamWrite(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
77-
78 if cerr == nil {74 if cerr == nil {
79 return cret, nil75 return cret, nil
80 }76 }
@@ -106,7 +102,6 @@ func PollableStreamWriteAll(StreamVar *OutputStream, BufferVar []byte, CountVar
106 var cerr *glib.Error102 var cerr *glib.Error
107 103
108 cret := xPollableStreamWriteAll(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)104 cret := xPollableStreamWriteAll(StreamVar.GoPointer(), BufferVar, CountVar, BlockingVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
109-
110 if cerr == nil {105 if cerr == nil {
111 return cret, nil106 return cret, nil
112 }107 }
M v4/gio/gpowerprofilemonitor.go +0 -1
@@ -81,7 +81,6 @@ 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-
85 return cret84 return cret
86 }85 }
87 86
M v4/gio/gpropertyaction.go +0 -6
@@ -234,7 +234,6 @@ 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-
238 return cret237 return cret
239 }238 }
240 239
@@ -242,7 +241,6 @@ func (x *PropertyAction) GetEnabled() bool {
242 func (x *PropertyAction) GetName() string {241 func (x *PropertyAction) GetName() string {
243 242
244 cret := XGActionGetName(x.GoPointer())243 cret := XGActionGetName(x.GoPointer())
245-
246 return cret244 return cret
247 }245 }
248 246
@@ -258,7 +256,6 @@ func (x *PropertyAction) GetName() string {
258 func (x *PropertyAction) GetParameterType() *glib.VariantType {256 func (x *PropertyAction) GetParameterType() *glib.VariantType {
259 257
260 cret := XGActionGetParameterType(x.GoPointer())258 cret := XGActionGetParameterType(x.GoPointer())
261-
262 return cret259 return cret
263 }260 }
264 261
@@ -273,7 +270,6 @@ func (x *PropertyAction) GetParameterType() *glib.VariantType {
273 func (x *PropertyAction) GetState() *glib.Variant {270 func (x *PropertyAction) GetState() *glib.Variant {
274 271
275 cret := XGActionGetState(x.GoPointer())272 cret := XGActionGetState(x.GoPointer())
276-
277 return cret273 return cret
278 }274 }
279 275
@@ -298,7 +294,6 @@ func (x *PropertyAction) GetState() *glib.Variant {
298 func (x *PropertyAction) GetStateHint() *glib.Variant {294 func (x *PropertyAction) GetStateHint() *glib.Variant {
299 295
300 cret := XGActionGetStateHint(x.GoPointer())296 cret := XGActionGetStateHint(x.GoPointer())
301-
302 return cret297 return cret
303 }298 }
304 299
@@ -317,7 +312,6 @@ func (x *PropertyAction) GetStateHint() *glib.Variant {
317 func (x *PropertyAction) GetStateType() *glib.VariantType {312 func (x *PropertyAction) GetStateType() *glib.VariantType {
318 313
319 cret := XGActionGetStateType(x.GoPointer())314 cret := XGActionGetStateType(x.GoPointer())
320-
321 return cret315 return cret
322 }316 }
323 317
M v4/gio/gproxy.go +0 -1
@@ -248,7 +248,6 @@ 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-
252 return cret251 return cret
253 }252 }
254 253
M v4/gio/gproxyaddress.go +4 -15
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -59,16 +58,14 @@ var xNewProxyAddress func(uintptr, uint16, string, string, uint16, uintptr, uint
59 func NewProxyAddress(InetaddrVar *InetAddress, PortVar uint16, ProtocolVar string, DestHostnameVar string, DestPortVar uint16, UsernameVar *string, PasswordVar *string) *ProxyAddress {58 func NewProxyAddress(InetaddrVar *InetAddress, PortVar uint16, ProtocolVar string, DestHostnameVar string, DestPortVar uint16, UsernameVar *string, PasswordVar *string) *ProxyAddress {
60 var cls *ProxyAddress59 var cls *ProxyAddress
61 60
62- UsernameVarPtr, UsernameVarBytes := core.NullableStringToPtr(UsernameVar)61+ UsernameVarPtr := core.GStrdupNullable(UsernameVar)
62+ defer core.GFreeNullable(UsernameVarPtr)
63 63
64- PasswordVarPtr, PasswordVarBytes := core.NullableStringToPtr(PasswordVar)64+ PasswordVarPtr := core.GStrdupNullable(PasswordVar)
65+ defer core.GFreeNullable(PasswordVarPtr)
65 66
66 cret := xNewProxyAddress(InetaddrVar.GoPointer(), PortVar, ProtocolVar, DestHostnameVar, DestPortVar, UsernameVarPtr, PasswordVarPtr)67 cret := xNewProxyAddress(InetaddrVar.GoPointer(), PortVar, ProtocolVar, DestHostnameVar, DestPortVar, UsernameVarPtr, PasswordVarPtr)
67 68
68- runtime.KeepAlive(UsernameVarBytes)
69-
70- runtime.KeepAlive(PasswordVarBytes)
71-
72 if cret == 0 {69 if cret == 0 {
73 return nil70 return nil
74 }71 }
@@ -85,7 +82,6 @@ var xProxyAddressGetDestinationHostname func(uintptr) string
85 func (x *ProxyAddress) GetDestinationHostname() string {82 func (x *ProxyAddress) GetDestinationHostname() string {
86 83
87 cret := xProxyAddressGetDestinationHostname(x.GoPointer())84 cret := xProxyAddressGetDestinationHostname(x.GoPointer())
88-
89 return cret85 return cret
90 }86 }
91 87
@@ -97,7 +93,6 @@ var xProxyAddressGetDestinationPort func(uintptr) uint16
97 func (x *ProxyAddress) GetDestinationPort() uint16 {93 func (x *ProxyAddress) GetDestinationPort() uint16 {
98 94
99 cret := xProxyAddressGetDestinationPort(x.GoPointer())95 cret := xProxyAddressGetDestinationPort(x.GoPointer())
100-
101 return cret96 return cret
102 }97 }
103 98
@@ -108,7 +103,6 @@ var xProxyAddressGetDestinationProtocol func(uintptr) string
108 func (x *ProxyAddress) GetDestinationProtocol() string {103 func (x *ProxyAddress) GetDestinationProtocol() string {
109 104
110 cret := xProxyAddressGetDestinationProtocol(x.GoPointer())105 cret := xProxyAddressGetDestinationProtocol(x.GoPointer())
111-
112 return cret106 return cret
113 }107 }
114 108
@@ -118,7 +112,6 @@ var xProxyAddressGetPassword func(uintptr) string
118 func (x *ProxyAddress) GetPassword() string {112 func (x *ProxyAddress) GetPassword() string {
119 113
120 cret := xProxyAddressGetPassword(x.GoPointer())114 cret := xProxyAddressGetPassword(x.GoPointer())
121-
122 return cret115 return cret
123 }116 }
124 117
@@ -128,7 +121,6 @@ var xProxyAddressGetProtocol func(uintptr) string
128 func (x *ProxyAddress) GetProtocol() string {121 func (x *ProxyAddress) GetProtocol() string {
129 122
130 cret := xProxyAddressGetProtocol(x.GoPointer())123 cret := xProxyAddressGetProtocol(x.GoPointer())
131-
132 return cret124 return cret
133 }125 }
134 126
@@ -138,7 +130,6 @@ var xProxyAddressGetUri func(uintptr) string
138 func (x *ProxyAddress) GetUri() string {130 func (x *ProxyAddress) GetUri() string {
139 131
140 cret := xProxyAddressGetUri(x.GoPointer())132 cret := xProxyAddressGetUri(x.GoPointer())
141-
142 return cret133 return cret
143 }134 }
144 135
@@ -148,7 +139,6 @@ var xProxyAddressGetUsername func(uintptr) string
148 func (x *ProxyAddress) GetUsername() string {139 func (x *ProxyAddress) GetUsername() string {
149 140
150 cret := xProxyAddressGetUsername(x.GoPointer())141 cret := xProxyAddressGetUsername(x.GoPointer())
151-
152 return cret142 return cret
153 }143 }
154 144
@@ -330,7 +320,6 @@ func (x *ProxyAddress) ProxyEnumerate() *SocketAddressEnumerator {
330 func (x *ProxyAddress) ToString() string {320 func (x *ProxyAddress) ToString() string {
331 321
332 cret := XGSocketConnectableToString(x.GoPointer())322 cret := XGSocketConnectableToString(x.GoPointer())
333-
334 return cret323 return cret
335 }324 }
336 325
M v4/gio/gproxyresolver.go +0 -3
@@ -183,7 +183,6 @@ 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-
187 return cret186 return cret
188 }187 }
189 188
@@ -206,7 +205,6 @@ func (x *ProxyResolverBase) Lookup(UriVar string, CancellableVar *Cancellable) (
206 var cerr *glib.Error205 var cerr *glib.Error
207 206
208 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)207 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)
209-
210 if cerr == nil {208 if cerr == nil {
211 return cret, nil209 return cret, nil
212 }210 }
@@ -229,7 +227,6 @@ func (x *ProxyResolverBase) LookupFinish(ResultVar AsyncResult) ([]string, error
229 var cerr *glib.Error227 var cerr *glib.Error
230 228
231 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)229 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
232-
233 if cerr == nil {230 if cerr == nil {
234 return cret, nil231 return cret, nil
235 }232 }
M v4/gio/gresolver.go +0 -12
@@ -455,7 +455,6 @@ var xResolverErrorQuark func() glib.Quark
455 func ResolverErrorQuark() glib.Quark {455 func ResolverErrorQuark() glib.Quark {
456 456
457 cret := xResolverErrorQuark()457 cret := xResolverErrorQuark()
458-
459 return cret458 return cret
460 }459 }
461 460
@@ -500,7 +499,6 @@ var xResolverGetTimeout func(uintptr) uint
500 func (x *Resolver) GetTimeout() uint {499 func (x *Resolver) GetTimeout() uint {
501 500
502 cret := xResolverGetTimeout(x.GoPointer())501 cret := xResolverGetTimeout(x.GoPointer())
503-
504 return cret502 return cret
505 }503 }
506 504
@@ -519,7 +517,6 @@ func (x *Resolver) LookupByAddress(AddressVar *InetAddress, CancellableVar *Canc
519 var cerr *glib.Error517 var cerr *glib.Error
520 518
521 cret := xResolverLookupByAddress(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)519 cret := xResolverLookupByAddress(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
522-
523 if cerr == nil {520 if cerr == nil {
524 return cret, nil521 return cret, nil
525 }522 }
@@ -565,7 +562,6 @@ func (x *Resolver) LookupByAddressFinish(ResultVar AsyncResult) (string, error)
565 var cerr *glib.Error562 var cerr *glib.Error
566 563
567 cret := xResolverLookupByAddressFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)564 cret := xResolverLookupByAddressFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
568-
569 if cerr == nil {565 if cerr == nil {
570 return cret, nil566 return cret, nil
571 }567 }
@@ -602,7 +598,6 @@ func (x *Resolver) LookupByName(HostnameVar string, CancellableVar *Cancellable)
602 var cerr *glib.Error598 var cerr *glib.Error
603 599
604 cret := xResolverLookupByName(x.GoPointer(), HostnameVar, CancellableVar.GoPointer(), &cerr)600 cret := xResolverLookupByName(x.GoPointer(), HostnameVar, CancellableVar.GoPointer(), &cerr)
605-
606 if cerr == nil {601 if cerr == nil {
607 return cret, nil602 return cret, nil
608 }603 }
@@ -649,7 +644,6 @@ func (x *Resolver) LookupByNameFinish(ResultVar AsyncResult) (*glib.List, error)
649 var cerr *glib.Error644 var cerr *glib.Error
650 645
651 cret := xResolverLookupByNameFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)646 cret := xResolverLookupByNameFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
652-
653 if cerr == nil {647 if cerr == nil {
654 return cret, nil648 return cret, nil
655 }649 }
@@ -666,7 +660,6 @@ func (x *Resolver) LookupByNameWithFlags(HostnameVar string, FlagsVar ResolverNa
666 var cerr *glib.Error660 var cerr *glib.Error
667 661
668 cret := xResolverLookupByNameWithFlags(x.GoPointer(), HostnameVar, FlagsVar, CancellableVar.GoPointer(), &cerr)662 cret := xResolverLookupByNameWithFlags(x.GoPointer(), HostnameVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
669-
670 if cerr == nil {663 if cerr == nil {
671 return cret, nil664 return cret, nil
672 }665 }
@@ -713,7 +706,6 @@ func (x *Resolver) LookupByNameWithFlagsFinish(ResultVar AsyncResult) (*glib.Lis
713 var cerr *glib.Error706 var cerr *glib.Error
714 707
715 cret := xResolverLookupByNameWithFlagsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)708 cret := xResolverLookupByNameWithFlagsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
716-
717 if cerr == nil {709 if cerr == nil {
718 return cret, nil710 return cret, nil
719 }711 }
@@ -737,7 +729,6 @@ func (x *Resolver) LookupRecords(RrnameVar string, RecordTypeVar ResolverRecordT
737 var cerr *glib.Error729 var cerr *glib.Error
738 730
739 cret := xResolverLookupRecords(x.GoPointer(), RrnameVar, RecordTypeVar, CancellableVar.GoPointer(), &cerr)731 cret := xResolverLookupRecords(x.GoPointer(), RrnameVar, RecordTypeVar, CancellableVar.GoPointer(), &cerr)
740-
741 if cerr == nil {732 if cerr == nil {
742 return cret, nil733 return cret, nil
743 }734 }
@@ -786,7 +777,6 @@ func (x *Resolver) LookupRecordsFinish(ResultVar AsyncResult) (*glib.List, error
786 var cerr *glib.Error777 var cerr *glib.Error
787 778
788 cret := xResolverLookupRecordsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)779 cret := xResolverLookupRecordsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
789-
790 if cerr == nil {780 if cerr == nil {
791 return cret, nil781 return cret, nil
792 }782 }
@@ -821,7 +811,6 @@ func (x *Resolver) LookupService(ServiceVar string, ProtocolVar string, DomainVa
821 var cerr *glib.Error811 var cerr *glib.Error
822 812
823 cret := xResolverLookupService(x.GoPointer(), ServiceVar, ProtocolVar, DomainVar, CancellableVar.GoPointer(), &cerr)813 cret := xResolverLookupService(x.GoPointer(), ServiceVar, ProtocolVar, DomainVar, CancellableVar.GoPointer(), &cerr)
824-
825 if cerr == nil {814 if cerr == nil {
826 return cret, nil815 return cret, nil
827 }816 }
@@ -869,7 +858,6 @@ func (x *Resolver) LookupServiceFinish(ResultVar AsyncResult) (*glib.List, error
869 var cerr *glib.Error858 var cerr *glib.Error
870 859
871 cret := xResolverLookupServiceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)860 cret := xResolverLookupServiceFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
872-
873 if cerr == nil {861 if cerr == nil {
874 return cret, nil862 return cret, nil
875 }863 }
M v4/gio/gresource.go +0 -7
@@ -55,7 +55,6 @@ 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-
59 return cret58 return cret
60 }59 }
61 60
@@ -79,7 +78,6 @@ var xResourceErrorQuark func() glib.Quark
79 func ResourceErrorQuark() glib.Quark {78 func ResourceErrorQuark() glib.Quark {
80 79
81 cret := xResourceErrorQuark()80 cret := xResourceErrorQuark()
82-
83 return cret81 return cret
84 }82 }
85 83
@@ -99,7 +97,6 @@ func ResourceLoad(FilenameVar string) (*Resource, error) {
99 var cerr *glib.Error97 var cerr *glib.Error
100 98
101 cret := xResourceLoad(FilenameVar, &cerr)99 cret := xResourceLoad(FilenameVar, &cerr)
102-
103 if cerr == nil {100 if cerr == nil {
104 return cret, nil101 return cret, nil
105 }102 }
@@ -120,7 +117,6 @@ func ResourcesEnumerateChildren(PathVar string, LookupFlagsVar ResourceLookupFla
120 var cerr *glib.Error117 var cerr *glib.Error
121 118
122 cret := xResourcesEnumerateChildren(PathVar, LookupFlagsVar, &cerr)119 cret := xResourcesEnumerateChildren(PathVar, LookupFlagsVar, &cerr)
123-
124 if cerr == nil {120 if cerr == nil {
125 return cret, nil121 return cret, nil
126 }122 }
@@ -138,7 +134,6 @@ func ResourcesGetInfo(PathVar string, LookupFlagsVar ResourceLookupFlags, SizeVa
138 var cerr *glib.Error134 var cerr *glib.Error
139 135
140 cret := xResourcesGetInfo(PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr)136 cret := xResourcesGetInfo(PathVar, LookupFlagsVar, SizeVar, FlagsVar, &cerr)
141-
142 if cerr == nil {137 if cerr == nil {
143 return cret, nil138 return cret, nil
144 }139 }
@@ -153,7 +148,6 @@ var xResourcesHasChildren func(string) bool
153 func ResourcesHasChildren(PathVar string) bool {148 func ResourcesHasChildren(PathVar string) bool {
154 149
155 cret := xResourcesHasChildren(PathVar)150 cret := xResourcesHasChildren(PathVar)
156-
157 return cret151 return cret
158 }152 }
159 153
@@ -177,7 +171,6 @@ func ResourcesLookupData(PathVar string, LookupFlagsVar ResourceLookupFlags) (*g
177 var cerr *glib.Error171 var cerr *glib.Error
178 172
179 cret := xResourcesLookupData(PathVar, LookupFlagsVar, &cerr)173 cret := xResourcesLookupData(PathVar, LookupFlagsVar, &cerr)
180-
181 if cerr == nil {174 if cerr == nil {
182 return cret, nil175 return cret, nil
183 }176 }
M v4/gio/gseekable.go +0 -5
@@ -206,7 +206,6 @@ 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-
210 return cret209 return cret
211 }210 }
212 211
@@ -215,7 +214,6 @@ func (x *SeekableBase) CanSeek() bool {
215 func (x *SeekableBase) CanTruncate() bool {214 func (x *SeekableBase) CanTruncate() bool {
216 215
217 cret := XGSeekableCanTruncate(x.GoPointer())216 cret := XGSeekableCanTruncate(x.GoPointer())
218-
219 return cret217 return cret
220 }218 }
221 219
@@ -237,7 +235,6 @@ func (x *SeekableBase) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV
237 var cerr *glib.Error235 var cerr *glib.Error
238 236
239 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)237 cret := XGSeekableSeek(x.GoPointer(), OffsetVar, TypeVar, CancellableVar.GoPointer(), &cerr)
240-
241 if cerr == nil {238 if cerr == nil {
242 return cret, nil239 return cret, nil
243 }240 }
@@ -249,7 +246,6 @@ func (x *SeekableBase) Seek(OffsetVar int64, TypeVar glib.SeekType, CancellableV
249 func (x *SeekableBase) Tell() int64 {246 func (x *SeekableBase) Tell() int64 {
250 247
251 cret := XGSeekableTell(x.GoPointer())248 cret := XGSeekableTell(x.GoPointer())
252-
253 return cret249 return cret
254 }250 }
255 251
@@ -266,7 +262,6 @@ func (x *SeekableBase) Truncate(OffsetVar int64, CancellableVar *Cancellable) (b
266 var cerr *glib.Error262 var cerr *glib.Error
267 263
268 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)264 cret := XGSeekableTruncate(x.GoPointer(), OffsetVar, CancellableVar.GoPointer(), &cerr)
269-
270 if cerr == nil {265 if cerr == nil {
271 return cret, nil266 return cret, nil
272 }267 }
M v4/gio/gsettings.go +2 -38
@@ -3,7 +3,6 @@ package gio
3 3
4 import (4 import (
5 "fmt"5 "fmt"
6- "runtime"
7 "structs"6 "structs"
8 "unsafe"7 "unsafe"
9 8
@@ -659,12 +658,11 @@ var xNewSettingsFull func(*SettingsSchema, uintptr, uintptr) uintptr
659 func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar *string) *Settings {658 func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar *string) *Settings {
660 var cls *Settings659 var cls *Settings
661 660
662- PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar)661+ PathVarPtr := core.GStrdupNullable(PathVar)
662+ defer core.GFreeNullable(PathVarPtr)
663 663
664 cret := xNewSettingsFull(SchemaVar, BackendVar.GoPointer(), PathVarPtr)664 cret := xNewSettingsFull(SchemaVar, BackendVar.GoPointer(), PathVarPtr)
665 665
666- runtime.KeepAlive(PathVarBytes)
667-
668 if cret == 0 {666 if cret == 0 {
669 return nil667 return nil
670 }668 }
@@ -954,7 +952,6 @@ var xSettingsGetBoolean func(uintptr, string) bool
954 func (x *Settings) GetBoolean(KeyVar string) bool {952 func (x *Settings) GetBoolean(KeyVar string) bool {
955 953
956 cret := xSettingsGetBoolean(x.GoPointer(), KeyVar)954 cret := xSettingsGetBoolean(x.GoPointer(), KeyVar)
957-
958 return cret955 return cret
959 }956 }
960 957
@@ -1008,7 +1005,6 @@ var xSettingsGetDefaultValue func(uintptr, string) *glib.Variant
1008 func (x *Settings) GetDefaultValue(KeyVar string) *glib.Variant {1005 func (x *Settings) GetDefaultValue(KeyVar string) *glib.Variant {
1009 1006
1010 cret := xSettingsGetDefaultValue(x.GoPointer(), KeyVar)1007 cret := xSettingsGetDefaultValue(x.GoPointer(), KeyVar)
1011-
1012 return cret1008 return cret
1013 }1009 }
1014 1010
@@ -1023,7 +1019,6 @@ var xSettingsGetDouble func(uintptr, string) float64
1023 func (x *Settings) GetDouble(KeyVar string) float64 {1019 func (x *Settings) GetDouble(KeyVar string) float64 {
1024 1020
1025 cret := xSettingsGetDouble(x.GoPointer(), KeyVar)1021 cret := xSettingsGetDouble(x.GoPointer(), KeyVar)
1026-
1027 return cret1022 return cret
1028 }1023 }
1029 1024
@@ -1044,7 +1039,6 @@ var xSettingsGetEnum func(uintptr, string) int
1044 func (x *Settings) GetEnum(KeyVar string) int {1039 func (x *Settings) GetEnum(KeyVar string) int {
1045 1040
1046 cret := xSettingsGetEnum(x.GoPointer(), KeyVar)1041 cret := xSettingsGetEnum(x.GoPointer(), KeyVar)
1047-
1048 return cret1042 return cret
1049 }1043 }
1050 1044
@@ -1065,7 +1059,6 @@ var xSettingsGetFlags func(uintptr, string) uint
1065 func (x *Settings) GetFlags(KeyVar string) uint {1059 func (x *Settings) GetFlags(KeyVar string) uint {
1066 1060
1067 cret := xSettingsGetFlags(x.GoPointer(), KeyVar)1061 cret := xSettingsGetFlags(x.GoPointer(), KeyVar)
1068-
1069 return cret1062 return cret
1070 }1063 }
1071 1064
@@ -1079,7 +1072,6 @@ var xSettingsGetHasUnapplied func(uintptr) bool
1079 func (x *Settings) GetHasUnapplied() bool {1072 func (x *Settings) GetHasUnapplied() bool {
1080 1073
1081 cret := xSettingsGetHasUnapplied(x.GoPointer())1074 cret := xSettingsGetHasUnapplied(x.GoPointer())
1082-
1083 return cret1075 return cret
1084 }1076 }
1085 1077
@@ -1094,7 +1086,6 @@ var xSettingsGetInt func(uintptr, string) int
1094 func (x *Settings) GetInt(KeyVar string) int {1086 func (x *Settings) GetInt(KeyVar string) int {
1095 1087
1096 cret := xSettingsGetInt(x.GoPointer(), KeyVar)1088 cret := xSettingsGetInt(x.GoPointer(), KeyVar)
1097-
1098 return cret1089 return cret
1099 }1090 }
1100 1091
@@ -1109,7 +1100,6 @@ var xSettingsGetInt64 func(uintptr, string) int64
1109 func (x *Settings) GetInt64(KeyVar string) int64 {1100 func (x *Settings) GetInt64(KeyVar string) int64 {
1110 1101
1111 cret := xSettingsGetInt64(x.GoPointer(), KeyVar)1102 cret := xSettingsGetInt64(x.GoPointer(), KeyVar)
1112-
1113 return cret1103 return cret
1114 }1104 }
1115 1105
@@ -1160,7 +1150,6 @@ func (x *Settings) GetMapped(KeyVar string, MappingVar *SettingsGetMapping, User
1160 }1150 }
1161 1151
1162 cret := xSettingsGetMapped(x.GoPointer(), KeyVar, MappingVarRef, UserDataVar)1152 cret := xSettingsGetMapped(x.GoPointer(), KeyVar, MappingVarRef, UserDataVar)
1163-
1164 return cret1153 return cret
1165 }1154 }
1166 1155
@@ -1170,7 +1159,6 @@ var xSettingsGetRange func(uintptr, string) *glib.Variant
1170 func (x *Settings) GetRange(KeyVar string) *glib.Variant {1159 func (x *Settings) GetRange(KeyVar string) *glib.Variant {
1171 1160
1172 cret := xSettingsGetRange(x.GoPointer(), KeyVar)1161 cret := xSettingsGetRange(x.GoPointer(), KeyVar)
1173-
1174 return cret1162 return cret
1175 }1163 }
1176 1164
@@ -1185,7 +1173,6 @@ var xSettingsGetString func(uintptr, string) string
1185 func (x *Settings) GetString(KeyVar string) string {1173 func (x *Settings) GetString(KeyVar string) string {
1186 1174
1187 cret := xSettingsGetString(x.GoPointer(), KeyVar)1175 cret := xSettingsGetString(x.GoPointer(), KeyVar)
1188-
1189 return cret1176 return cret
1190 }1177 }
1191 1178
@@ -1198,7 +1185,6 @@ var xSettingsGetStrv func(uintptr, string) []string
1198 func (x *Settings) GetStrv(KeyVar string) []string {1185 func (x *Settings) GetStrv(KeyVar string) []string {
1199 1186
1200 cret := xSettingsGetStrv(x.GoPointer(), KeyVar)1187 cret := xSettingsGetStrv(x.GoPointer(), KeyVar)
1201-
1202 return cret1188 return cret
1203 }1189 }
1204 1190
@@ -1214,7 +1200,6 @@ var xSettingsGetUint func(uintptr, string) uint
1214 func (x *Settings) GetUint(KeyVar string) uint {1200 func (x *Settings) GetUint(KeyVar string) uint {
1215 1201
1216 cret := xSettingsGetUint(x.GoPointer(), KeyVar)1202 cret := xSettingsGetUint(x.GoPointer(), KeyVar)
1217-
1218 return cret1203 return cret
1219 }1204 }
1220 1205
@@ -1230,7 +1215,6 @@ var xSettingsGetUint64 func(uintptr, string) uint64
1230 func (x *Settings) GetUint64(KeyVar string) uint64 {1215 func (x *Settings) GetUint64(KeyVar string) uint64 {
1231 1216
1232 cret := xSettingsGetUint64(x.GoPointer(), KeyVar)1217 cret := xSettingsGetUint64(x.GoPointer(), KeyVar)
1233-
1234 return cret1218 return cret
1235 }1219 }
1236 1220
@@ -1257,7 +1241,6 @@ var xSettingsGetUserValue func(uintptr, string) *glib.Variant
1257 func (x *Settings) GetUserValue(KeyVar string) *glib.Variant {1241 func (x *Settings) GetUserValue(KeyVar string) *glib.Variant {
1258 1242
1259 cret := xSettingsGetUserValue(x.GoPointer(), KeyVar)1243 cret := xSettingsGetUserValue(x.GoPointer(), KeyVar)
1260-
1261 return cret1244 return cret
1262 }1245 }
1263 1246
@@ -1270,7 +1253,6 @@ var xSettingsGetValue func(uintptr, string) *glib.Variant
1270 func (x *Settings) GetValue(KeyVar string) *glib.Variant {1253 func (x *Settings) GetValue(KeyVar string) *glib.Variant {
1271 1254
1272 cret := xSettingsGetValue(x.GoPointer(), KeyVar)1255 cret := xSettingsGetValue(x.GoPointer(), KeyVar)
1273-
1274 return cret1256 return cret
1275 }1257 }
1276 1258
@@ -1280,7 +1262,6 @@ var xSettingsIsWritable func(uintptr, string) bool
1280 func (x *Settings) IsWritable(NameVar string) bool {1262 func (x *Settings) IsWritable(NameVar string) bool {
1281 1263
1282 cret := xSettingsIsWritable(x.GoPointer(), NameVar)1264 cret := xSettingsIsWritable(x.GoPointer(), NameVar)
1283-
1284 return cret1265 return cret
1285 }1266 }
1286 1267
@@ -1300,7 +1281,6 @@ var xSettingsListChildren func(uintptr) []string
1300 func (x *Settings) ListChildren() []string {1281 func (x *Settings) ListChildren() []string {
1301 1282
1302 cret := xSettingsListChildren(x.GoPointer())1283 cret := xSettingsListChildren(x.GoPointer())
1303-
1304 return cret1284 return cret
1305 }1285 }
1306 1286
@@ -1317,7 +1297,6 @@ var xSettingsListKeys func(uintptr) []string
1317 func (x *Settings) ListKeys() []string {1297 func (x *Settings) ListKeys() []string {
1318 1298
1319 cret := xSettingsListKeys(x.GoPointer())1299 cret := xSettingsListKeys(x.GoPointer())
1320-
1321 return cret1300 return cret
1322 }1301 }
1323 1302
@@ -1328,7 +1307,6 @@ var xSettingsRangeCheck func(uintptr, string, *glib.Variant) bool
1328 func (x *Settings) RangeCheck(KeyVar string, ValueVar *glib.Variant) bool {1307 func (x *Settings) RangeCheck(KeyVar string, ValueVar *glib.Variant) bool {
1329 1308
1330 cret := xSettingsRangeCheck(x.GoPointer(), KeyVar, ValueVar)1309 cret := xSettingsRangeCheck(x.GoPointer(), KeyVar, ValueVar)
1331-
1332 return cret1310 return cret
1333 }1311 }
1334 1312
@@ -1373,7 +1351,6 @@ var xSettingsSet func(uintptr, string, string, ...interface{}) bool
1373 func (x *Settings) Set(KeyVar string, FormatVar string, varArgs ...interface{}) bool {1351 func (x *Settings) Set(KeyVar string, FormatVar string, varArgs ...interface{}) bool {
1374 1352
1375 cret := xSettingsSet(x.GoPointer(), KeyVar, FormatVar, varArgs...)1353 cret := xSettingsSet(x.GoPointer(), KeyVar, FormatVar, varArgs...)
1376-
1377 return cret1354 return cret
1378 }1355 }
1379 1356
@@ -1388,7 +1365,6 @@ var xSettingsSetBoolean func(uintptr, string, bool) bool
1388 func (x *Settings) SetBoolean(KeyVar string, ValueVar bool) bool {1365 func (x *Settings) SetBoolean(KeyVar string, ValueVar bool) bool {
1389 1366
1390 cret := xSettingsSetBoolean(x.GoPointer(), KeyVar, ValueVar)1367 cret := xSettingsSetBoolean(x.GoPointer(), KeyVar, ValueVar)
1391-
1392 return cret1368 return cret
1393 }1369 }
1394 1370
@@ -1403,7 +1379,6 @@ var xSettingsSetDouble func(uintptr, string, float64) bool
1403 func (x *Settings) SetDouble(KeyVar string, ValueVar float64) bool {1379 func (x *Settings) SetDouble(KeyVar string, ValueVar float64) bool {
1404 1380
1405 cret := xSettingsSetDouble(x.GoPointer(), KeyVar, ValueVar)1381 cret := xSettingsSetDouble(x.GoPointer(), KeyVar, ValueVar)
1406-
1407 return cret1382 return cret
1408 }1383 }
1409 1384
@@ -1422,7 +1397,6 @@ var xSettingsSetEnum func(uintptr, string, int) bool
1422 func (x *Settings) SetEnum(KeyVar string, ValueVar int) bool {1397 func (x *Settings) SetEnum(KeyVar string, ValueVar int) bool {
1423 1398
1424 cret := xSettingsSetEnum(x.GoPointer(), KeyVar, ValueVar)1399 cret := xSettingsSetEnum(x.GoPointer(), KeyVar, ValueVar)
1425-
1426 return cret1400 return cret
1427 }1401 }
1428 1402
@@ -1442,7 +1416,6 @@ var xSettingsSetFlags func(uintptr, string, uint) bool
1442 func (x *Settings) SetFlags(KeyVar string, ValueVar uint) bool {1416 func (x *Settings) SetFlags(KeyVar string, ValueVar uint) bool {
1443 1417
1444 cret := xSettingsSetFlags(x.GoPointer(), KeyVar, ValueVar)1418 cret := xSettingsSetFlags(x.GoPointer(), KeyVar, ValueVar)
1445-
1446 return cret1419 return cret
1447 }1420 }
1448 1421
@@ -1457,7 +1430,6 @@ var xSettingsSetInt func(uintptr, string, int) bool
1457 func (x *Settings) SetInt(KeyVar string, ValueVar int) bool {1430 func (x *Settings) SetInt(KeyVar string, ValueVar int) bool {
1458 1431
1459 cret := xSettingsSetInt(x.GoPointer(), KeyVar, ValueVar)1432 cret := xSettingsSetInt(x.GoPointer(), KeyVar, ValueVar)
1460-
1461 return cret1433 return cret
1462 }1434 }
1463 1435
@@ -1472,7 +1444,6 @@ var xSettingsSetInt64 func(uintptr, string, int64) bool
1472 func (x *Settings) SetInt64(KeyVar string, ValueVar int64) bool {1444 func (x *Settings) SetInt64(KeyVar string, ValueVar int64) bool {
1473 1445
1474 cret := xSettingsSetInt64(x.GoPointer(), KeyVar, ValueVar)1446 cret := xSettingsSetInt64(x.GoPointer(), KeyVar, ValueVar)
1475-
1476 return cret1447 return cret
1477 }1448 }
1478 1449
@@ -1487,7 +1458,6 @@ var xSettingsSetString func(uintptr, string, string) bool
1487 func (x *Settings) SetString(KeyVar string, ValueVar string) bool {1458 func (x *Settings) SetString(KeyVar string, ValueVar string) bool {
1488 1459
1489 cret := xSettingsSetString(x.GoPointer(), KeyVar, ValueVar)1460 cret := xSettingsSetString(x.GoPointer(), KeyVar, ValueVar)
1490-
1491 return cret1461 return cret
1492 }1462 }
1493 1463
@@ -1503,7 +1473,6 @@ var xSettingsSetStrv func(uintptr, string, []string) bool
1503 func (x *Settings) SetStrv(KeyVar string, ValueVar []string) bool {1473 func (x *Settings) SetStrv(KeyVar string, ValueVar []string) bool {
1504 1474
1505 cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar)1475 cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar)
1506-
1507 return cret1476 return cret
1508 }1477 }
1509 1478
@@ -1519,7 +1488,6 @@ var xSettingsSetUint func(uintptr, string, uint) bool
1519 func (x *Settings) SetUint(KeyVar string, ValueVar uint) bool {1488 func (x *Settings) SetUint(KeyVar string, ValueVar uint) bool {
1520 1489
1521 cret := xSettingsSetUint(x.GoPointer(), KeyVar, ValueVar)1490 cret := xSettingsSetUint(x.GoPointer(), KeyVar, ValueVar)
1522-
1523 return cret1491 return cret
1524 }1492 }
1525 1493
@@ -1535,7 +1503,6 @@ var xSettingsSetUint64 func(uintptr, string, uint64) bool
1535 func (x *Settings) SetUint64(KeyVar string, ValueVar uint64) bool {1503 func (x *Settings) SetUint64(KeyVar string, ValueVar uint64) bool {
1536 1504
1537 cret := xSettingsSetUint64(x.GoPointer(), KeyVar, ValueVar)1505 cret := xSettingsSetUint64(x.GoPointer(), KeyVar, ValueVar)
1538-
1539 return cret1506 return cret
1540 }1507 }
1541 1508
@@ -1551,7 +1518,6 @@ var xSettingsSetValue func(uintptr, string, *glib.Variant) bool
1551 func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool {1518 func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool {
1552 1519
1553 cret := xSettingsSetValue(x.GoPointer(), KeyVar, ValueVar)1520 cret := xSettingsSetValue(x.GoPointer(), KeyVar, ValueVar)
1554-
1555 return cret1521 return cret
1556 }1522 }
1557 1523
@@ -1889,7 +1855,6 @@ var xSettingsListRelocatableSchemas func() []string
1889 func SettingsListRelocatableSchemas() []string {1855 func SettingsListRelocatableSchemas() []string {
1890 1856
1891 cret := xSettingsListRelocatableSchemas()1857 cret := xSettingsListRelocatableSchemas()
1892-
1893 return cret1858 return cret
1894 }1859 }
1895 1860
@@ -1899,7 +1864,6 @@ var xSettingsListSchemas func() []string
1899 func SettingsListSchemas() []string {1864 func SettingsListSchemas() []string {
1900 1865
1901 cret := xSettingsListSchemas()1866 cret := xSettingsListSchemas()
1902-
1903 return cret1867 return cret
1904 }1868 }
1905 1869
M v4/gio/gsettingsbackend.go +2 -4
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -373,12 +372,11 @@ var xKeyfileSettingsBackendNew func(string, string, uintptr) uintptr
373 func KeyfileSettingsBackendNew(FilenameVar string, RootPathVar string, RootGroupVar *string) *SettingsBackend {372 func KeyfileSettingsBackendNew(FilenameVar string, RootPathVar string, RootGroupVar *string) *SettingsBackend {
374 var cls *SettingsBackend373 var cls *SettingsBackend
375 374
376- RootGroupVarPtr, RootGroupVarBytes := core.NullableStringToPtr(RootGroupVar)375+ RootGroupVarPtr := core.GStrdupNullable(RootGroupVar)
376+ defer core.GFreeNullable(RootGroupVarPtr)
377 377
378 cret := xKeyfileSettingsBackendNew(FilenameVar, RootPathVar, RootGroupVarPtr)378 cret := xKeyfileSettingsBackendNew(FilenameVar, RootPathVar, RootGroupVarPtr)
379 379
380- runtime.KeepAlive(RootGroupVarBytes)
381-
382 if cret == 0 {380 if cret == 0 {
383 return nil381 return nil
384 }382 }
M v4/gio/gsettingsschema.go +0 -19
@@ -128,7 +128,6 @@ 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-
132 return cret131 return cret
133 }132 }
134 133
@@ -141,7 +140,6 @@ var xSettingsSchemaGetKey func(uintptr, string) *SettingsSchemaKey
141 func (x *SettingsSchema) GetKey(NameVar string) *SettingsSchemaKey {140 func (x *SettingsSchema) GetKey(NameVar string) *SettingsSchemaKey {
142 141
143 cret := xSettingsSchemaGetKey(x.GoPointer(), NameVar)142 cret := xSettingsSchemaGetKey(x.GoPointer(), NameVar)
144-
145 return cret143 return cret
146 }144 }
147 145
@@ -159,7 +157,6 @@ var xSettingsSchemaGetPath func(uintptr) string
159 func (x *SettingsSchema) GetPath() string {157 func (x *SettingsSchema) GetPath() string {
160 158
161 cret := xSettingsSchemaGetPath(x.GoPointer())159 cret := xSettingsSchemaGetPath(x.GoPointer())
162-
163 return cret160 return cret
164 }161 }
165 162
@@ -169,7 +166,6 @@ var xSettingsSchemaHasKey func(uintptr, string) bool
169 func (x *SettingsSchema) HasKey(NameVar string) bool {166 func (x *SettingsSchema) HasKey(NameVar string) bool {
170 167
171 cret := xSettingsSchemaHasKey(x.GoPointer(), NameVar)168 cret := xSettingsSchemaHasKey(x.GoPointer(), NameVar)
172-
173 return cret169 return cret
174 }170 }
175 171
@@ -182,7 +178,6 @@ var xSettingsSchemaListChildren func(uintptr) []string
182 func (x *SettingsSchema) ListChildren() []string {178 func (x *SettingsSchema) ListChildren() []string {
183 179
184 cret := xSettingsSchemaListChildren(x.GoPointer())180 cret := xSettingsSchemaListChildren(x.GoPointer())
185-
186 return cret181 return cret
187 }182 }
188 183
@@ -196,7 +191,6 @@ var xSettingsSchemaListKeys func(uintptr) []string
196 func (x *SettingsSchema) ListKeys() []string {191 func (x *SettingsSchema) ListKeys() []string {
197 192
198 cret := xSettingsSchemaListKeys(x.GoPointer())193 cret := xSettingsSchemaListKeys(x.GoPointer())
199-
200 return cret194 return cret
201 }195 }
202 196
@@ -206,7 +200,6 @@ var xSettingsSchemaRef func(uintptr) *SettingsSchema
206 func (x *SettingsSchema) Ref() *SettingsSchema {200 func (x *SettingsSchema) Ref() *SettingsSchema {
207 201
208 cret := xSettingsSchemaRef(x.GoPointer())202 cret := xSettingsSchemaRef(x.GoPointer())
209-
210 return cret203 return cret
211 }204 }
212 205
@@ -244,7 +237,6 @@ var xSettingsSchemaKeyGetDefaultValue func(uintptr) *glib.Variant
244 func (x *SettingsSchemaKey) GetDefaultValue() *glib.Variant {237 func (x *SettingsSchemaKey) GetDefaultValue() *glib.Variant {
245 238
246 cret := xSettingsSchemaKeyGetDefaultValue(x.GoPointer())239 cret := xSettingsSchemaKeyGetDefaultValue(x.GoPointer())
247-
248 return cret240 return cret
249 }241 }
250 242
@@ -267,7 +259,6 @@ var xSettingsSchemaKeyGetDescription func(uintptr) string
267 func (x *SettingsSchemaKey) GetDescription() string {259 func (x *SettingsSchemaKey) GetDescription() string {
268 260
269 cret := xSettingsSchemaKeyGetDescription(x.GoPointer())261 cret := xSettingsSchemaKeyGetDescription(x.GoPointer())
270-
271 return cret262 return cret
272 }263 }
273 264
@@ -277,7 +268,6 @@ var xSettingsSchemaKeyGetName func(uintptr) string
277 func (x *SettingsSchemaKey) GetName() string {268 func (x *SettingsSchemaKey) GetName() string {
278 269
279 cret := xSettingsSchemaKeyGetName(x.GoPointer())270 cret := xSettingsSchemaKeyGetName(x.GoPointer())
280-
281 return cret271 return cret
282 }272 }
283 273
@@ -322,7 +312,6 @@ var xSettingsSchemaKeyGetRange func(uintptr) *glib.Variant
322 func (x *SettingsSchemaKey) GetRange() *glib.Variant {312 func (x *SettingsSchemaKey) GetRange() *glib.Variant {
323 313
324 cret := xSettingsSchemaKeyGetRange(x.GoPointer())314 cret := xSettingsSchemaKeyGetRange(x.GoPointer())
325-
326 return cret315 return cret
327 }316 }
328 317
@@ -344,7 +333,6 @@ var xSettingsSchemaKeyGetSummary func(uintptr) string
344 func (x *SettingsSchemaKey) GetSummary() string {333 func (x *SettingsSchemaKey) GetSummary() string {
345 334
346 cret := xSettingsSchemaKeyGetSummary(x.GoPointer())335 cret := xSettingsSchemaKeyGetSummary(x.GoPointer())
347-
348 return cret336 return cret
349 }337 }
350 338
@@ -354,7 +342,6 @@ var xSettingsSchemaKeyGetValueType func(uintptr) *glib.VariantType
354 func (x *SettingsSchemaKey) GetValueType() *glib.VariantType {342 func (x *SettingsSchemaKey) GetValueType() *glib.VariantType {
355 343
356 cret := xSettingsSchemaKeyGetValueType(x.GoPointer())344 cret := xSettingsSchemaKeyGetValueType(x.GoPointer())
357-
358 return cret345 return cret
359 }346 }
360 347
@@ -368,7 +355,6 @@ var xSettingsSchemaKeyRangeCheck func(uintptr, *glib.Variant) bool
368 func (x *SettingsSchemaKey) RangeCheck(ValueVar *glib.Variant) bool {355 func (x *SettingsSchemaKey) RangeCheck(ValueVar *glib.Variant) bool {
369 356
370 cret := xSettingsSchemaKeyRangeCheck(x.GoPointer(), ValueVar)357 cret := xSettingsSchemaKeyRangeCheck(x.GoPointer(), ValueVar)
371-
372 return cret358 return cret
373 }359 }
374 360
@@ -378,7 +364,6 @@ var xSettingsSchemaKeyRef func(uintptr) *SettingsSchemaKey
378 func (x *SettingsSchemaKey) Ref() *SettingsSchemaKey {364 func (x *SettingsSchemaKey) Ref() *SettingsSchemaKey {
379 365
380 cret := xSettingsSchemaKeyRef(x.GoPointer())366 cret := xSettingsSchemaKeyRef(x.GoPointer())
381-
382 return cret367 return cret
383 }368 }
384 369
@@ -443,7 +428,6 @@ func NewSettingsSchemaSourceFromDirectory(DirectoryVar string, ParentVar *Settin
443 var cerr *glib.Error428 var cerr *glib.Error
444 429
445 cret := xNewSettingsSchemaSourceFromDirectory(DirectoryVar, ParentVar, TrustedVar, &cerr)430 cret := xNewSettingsSchemaSourceFromDirectory(DirectoryVar, ParentVar, TrustedVar, &cerr)
446-
447 if cerr == nil {431 if cerr == nil {
448 return cret, nil432 return cret, nil
449 }433 }
@@ -486,7 +470,6 @@ var xSettingsSchemaSourceLookup func(uintptr, string, bool) *SettingsSchema
486 func (x *SettingsSchemaSource) Lookup(SchemaIdVar string, RecursiveVar bool) *SettingsSchema {470 func (x *SettingsSchemaSource) Lookup(SchemaIdVar string, RecursiveVar bool) *SettingsSchema {
487 471
488 cret := xSettingsSchemaSourceLookup(x.GoPointer(), SchemaIdVar, RecursiveVar)472 cret := xSettingsSchemaSourceLookup(x.GoPointer(), SchemaIdVar, RecursiveVar)
489-
490 return cret473 return cret
491 }474 }
492 475
@@ -496,7 +479,6 @@ var xSettingsSchemaSourceRef func(uintptr) *SettingsSchemaSource
496 func (x *SettingsSchemaSource) Ref() *SettingsSchemaSource {479 func (x *SettingsSchemaSource) Ref() *SettingsSchemaSource {
497 480
498 cret := xSettingsSchemaSourceRef(x.GoPointer())481 cret := xSettingsSchemaSourceRef(x.GoPointer())
499-
500 return cret482 return cret
501 }483 }
502 484
@@ -527,7 +509,6 @@ var xSettingsSchemaSourceGetDefault func() *SettingsSchemaSource
527 func SettingsSchemaSourceGetDefault() *SettingsSchemaSource {509 func SettingsSchemaSourceGetDefault() *SettingsSchemaSource {
528 510
529 cret := xSettingsSchemaSourceGetDefault()511 cret := xSettingsSchemaSourceGetDefault()
530-
531 return cret512 return cret
532 }513 }
533 514
M v4/gio/gsimpleaction.go +0 -6
@@ -344,7 +344,6 @@ func (x *SimpleAction) ChangeState(ValueVar *glib.Variant) {
344 func (x *SimpleAction) GetEnabled() bool {344 func (x *SimpleAction) GetEnabled() bool {
345 345
346 cret := XGActionGetEnabled(x.GoPointer())346 cret := XGActionGetEnabled(x.GoPointer())
347-
348 return cret347 return cret
349 }348 }
350 349
@@ -352,7 +351,6 @@ func (x *SimpleAction) GetEnabled() bool {
352 func (x *SimpleAction) GetName() string {351 func (x *SimpleAction) GetName() string {
353 352
354 cret := XGActionGetName(x.GoPointer())353 cret := XGActionGetName(x.GoPointer())
355-
356 return cret354 return cret
357 }355 }
358 356
@@ -368,7 +366,6 @@ func (x *SimpleAction) GetName() string {
368 func (x *SimpleAction) GetParameterType() *glib.VariantType {366 func (x *SimpleAction) GetParameterType() *glib.VariantType {
369 367
370 cret := XGActionGetParameterType(x.GoPointer())368 cret := XGActionGetParameterType(x.GoPointer())
371-
372 return cret369 return cret
373 }370 }
374 371
@@ -383,7 +380,6 @@ func (x *SimpleAction) GetParameterType() *glib.VariantType {
383 func (x *SimpleAction) GetState() *glib.Variant {380 func (x *SimpleAction) GetState() *glib.Variant {
384 381
385 cret := XGActionGetState(x.GoPointer())382 cret := XGActionGetState(x.GoPointer())
386-
387 return cret383 return cret
388 }384 }
389 385
@@ -408,7 +404,6 @@ func (x *SimpleAction) GetState() *glib.Variant {
408 func (x *SimpleAction) GetStateHint() *glib.Variant {404 func (x *SimpleAction) GetStateHint() *glib.Variant {
409 405
410 cret := XGActionGetStateHint(x.GoPointer())406 cret := XGActionGetStateHint(x.GoPointer())
411-
412 return cret407 return cret
413 }408 }
414 409
@@ -427,7 +422,6 @@ func (x *SimpleAction) GetStateHint() *glib.Variant {
427 func (x *SimpleAction) GetStateType() *glib.VariantType {422 func (x *SimpleAction) GetStateType() *glib.VariantType {
428 423
429 cret := XGActionGetStateType(x.GoPointer())424 cret := XGActionGetStateType(x.GoPointer())
430-
431 return cret425 return cret
432 }426 }
433 427
M v4/gio/gsimpleactiongroup.go +0 -8
@@ -231,7 +231,6 @@ 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-
235 return cret234 return cret
236 }235 }
237 236
@@ -251,7 +250,6 @@ func (x *SimpleActionGroup) GetActionEnabled(ActionNameVar string) bool {
251 func (x *SimpleActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType {250 func (x *SimpleActionGroup) GetActionParameterType(ActionNameVar string) *glib.VariantType {
252 251
253 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)252 cret := XGActionGroupGetActionParameterType(x.GoPointer(), ActionNameVar)
254-
255 return cret253 return cret
256 }254 }
257 255
@@ -266,7 +264,6 @@ func (x *SimpleActionGroup) GetActionParameterType(ActionNameVar string) *glib.V
266 func (x *SimpleActionGroup) GetActionState(ActionNameVar string) *glib.Variant {264 func (x *SimpleActionGroup) GetActionState(ActionNameVar string) *glib.Variant {
267 265
268 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)266 cret := XGActionGroupGetActionState(x.GoPointer(), ActionNameVar)
269-
270 return cret267 return cret
271 }268 }
272 269
@@ -291,7 +288,6 @@ func (x *SimpleActionGroup) GetActionState(ActionNameVar string) *glib.Variant {
291 func (x *SimpleActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant {288 func (x *SimpleActionGroup) GetActionStateHint(ActionNameVar string) *glib.Variant {
292 289
293 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)290 cret := XGActionGroupGetActionStateHint(x.GoPointer(), ActionNameVar)
294-
295 return cret291 return cret
296 }292 }
297 293
@@ -314,7 +310,6 @@ func (x *SimpleActionGroup) GetActionStateHint(ActionNameVar string) *glib.Varia
314 func (x *SimpleActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType {310 func (x *SimpleActionGroup) GetActionStateType(ActionNameVar string) *glib.VariantType {
315 311
316 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)312 cret := XGActionGroupGetActionStateType(x.GoPointer(), ActionNameVar)
317-
318 return cret313 return cret
319 }314 }
320 315
@@ -322,7 +317,6 @@ func (x *SimpleActionGroup) GetActionStateType(ActionNameVar string) *glib.Varia
322 func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool {317 func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool {
323 318
324 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)319 cret := XGActionGroupHasAction(x.GoPointer(), ActionNameVar)
325-
326 return cret320 return cret
327 }321 }
328 322
@@ -333,7 +327,6 @@ func (x *SimpleActionGroup) HasAction(ActionNameVar string) bool {
333 func (x *SimpleActionGroup) ListActions() []string {327 func (x *SimpleActionGroup) ListActions() []string {
334 328
335 cret := XGActionGroupListActions(x.GoPointer())329 cret := XGActionGroupListActions(x.GoPointer())
336-
337 return cret330 return cret
338 }331 }
339 332
@@ -367,7 +360,6 @@ func (x *SimpleActionGroup) ListActions() []string {
367 func (x *SimpleActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {360 func (x *SimpleActionGroup) QueryAction(ActionNameVar string, EnabledVar *bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool {
368 361
369 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)362 cret := XGActionGroupQueryAction(x.GoPointer(), ActionNameVar, EnabledVar, ParameterTypeVar, StateTypeVar, StateHintVar, StateVar)
370-
371 return cret363 return cret
372 }364 }
373 365
M v4/gio/gsimpleasyncresult.go +0 -9
@@ -457,7 +457,6 @@ 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-
461 return cret460 return cret
462 }461 }
463 462
@@ -467,7 +466,6 @@ var xSimpleAsyncResultGetOpResGpointer func(uintptr) uintptr
467 func (x *SimpleAsyncResult) GetOpResGpointer() uintptr {466 func (x *SimpleAsyncResult) GetOpResGpointer() uintptr {
468 467
469 cret := xSimpleAsyncResultGetOpResGpointer(x.GoPointer())468 cret := xSimpleAsyncResultGetOpResGpointer(x.GoPointer())
470-
471 return cret469 return cret
472 }470 }
473 471
@@ -477,7 +475,6 @@ var xSimpleAsyncResultGetOpResGssize func(uintptr) int
477 func (x *SimpleAsyncResult) GetOpResGssize() int {475 func (x *SimpleAsyncResult) GetOpResGssize() int {
478 476
479 cret := xSimpleAsyncResultGetOpResGssize(x.GoPointer())477 cret := xSimpleAsyncResultGetOpResGssize(x.GoPointer())
480-
481 return cret478 return cret
482 }479 }
483 480
@@ -487,7 +484,6 @@ var xSimpleAsyncResultGetSourceTag func(uintptr) uintptr
487 func (x *SimpleAsyncResult) GetSourceTag() uintptr {484 func (x *SimpleAsyncResult) GetSourceTag() uintptr {
488 485
489 cret := xSimpleAsyncResultGetSourceTag(x.GoPointer())486 cret := xSimpleAsyncResultGetSourceTag(x.GoPointer())
490-
491 return cret487 return cret
492 }488 }
493 489
@@ -503,7 +499,6 @@ func (x *SimpleAsyncResult) PropagateError() (bool, error) {
503 var cerr *glib.Error499 var cerr *glib.Error
504 500
505 cret := xSimpleAsyncResultPropagateError(x.GoPointer())501 cret := xSimpleAsyncResultPropagateError(x.GoPointer())
506-
507 if cerr == nil {502 if cerr == nil {
508 return cret, nil503 return cret, nil
509 }504 }
@@ -686,7 +681,6 @@ func (x *SimpleAsyncResult) GetSourceObject() *gobject.Object {
686 func (x *SimpleAsyncResult) GetUserData() uintptr {681 func (x *SimpleAsyncResult) GetUserData() uintptr {
687 682
688 cret := XGAsyncResultGetUserData(x.GoPointer())683 cret := XGAsyncResultGetUserData(x.GoPointer())
689-
690 return cret684 return cret
691 }685 }
692 686
@@ -695,7 +689,6 @@ func (x *SimpleAsyncResult) GetUserData() uintptr {
695 func (x *SimpleAsyncResult) IsTagged(SourceTagVar uintptr) bool {689 func (x *SimpleAsyncResult) IsTagged(SourceTagVar uintptr) bool {
696 690
697 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)691 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
698-
699 return cret692 return cret
700 }693 }
701 694
@@ -713,7 +706,6 @@ func (x *SimpleAsyncResult) LegacyPropagateError() (bool, error) {
713 var cerr *glib.Error706 var cerr *glib.Error
714 707
715 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())708 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())
716-
717 if cerr == nil {709 if cerr == nil {
718 return cret, nil710 return cret, nil
719 }711 }
@@ -738,7 +730,6 @@ var xSimpleAsyncResultIsValid func(uintptr, uintptr, uintptr) bool
738 func SimpleAsyncResultIsValid(ResultVar AsyncResult, SourceVar *gobject.Object, SourceTagVar uintptr) bool {730 func SimpleAsyncResultIsValid(ResultVar AsyncResult, SourceVar *gobject.Object, SourceTagVar uintptr) bool {
739 731
740 cret := xSimpleAsyncResultIsValid(ResultVar.GoPointer(), SourceVar.GoPointer(), SourceTagVar)732 cret := xSimpleAsyncResultIsValid(ResultVar.GoPointer(), SourceVar.GoPointer(), SourceTagVar)
741-
742 return cret733 return cret
743 }734 }
744 735
M v4/gio/gsimpleproxyresolver.go +4 -10
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -191,12 +190,11 @@ var xSimpleProxyResolverSetDefaultProxy func(uintptr, uintptr)
191 // the socks5, socks4a, and socks4 proxy types.190 // the socks5, socks4a, and socks4 proxy types.
192 func (x *SimpleProxyResolver) SetDefaultProxy(DefaultProxyVar *string) {191 func (x *SimpleProxyResolver) SetDefaultProxy(DefaultProxyVar *string) {
193 192
194- DefaultProxyVarPtr, DefaultProxyVarBytes := core.NullableStringToPtr(DefaultProxyVar)193+ DefaultProxyVarPtr := core.GStrdupNullable(DefaultProxyVar)
194+ defer core.GFreeNullable(DefaultProxyVarPtr)
195 195
196 xSimpleProxyResolverSetDefaultProxy(x.GoPointer(), DefaultProxyVarPtr)196 xSimpleProxyResolverSetDefaultProxy(x.GoPointer(), DefaultProxyVarPtr)
197 197
198- runtime.KeepAlive(DefaultProxyVarBytes)
199-
200 }198 }
201 199
202 var xSimpleProxyResolverSetIgnoreHosts func(uintptr, []string)200 var xSimpleProxyResolverSetIgnoreHosts func(uintptr, []string)
@@ -356,7 +354,6 @@ func (x *SimpleProxyResolver) GetPropertyIgnoreHosts() []string {
356 func (x *SimpleProxyResolver) IsSupported() bool {354 func (x *SimpleProxyResolver) IsSupported() bool {
357 355
358 cret := XGProxyResolverIsSupported(x.GoPointer())356 cret := XGProxyResolverIsSupported(x.GoPointer())
359-
360 return cret357 return cret
361 }358 }
362 359
@@ -379,7 +376,6 @@ func (x *SimpleProxyResolver) Lookup(UriVar string, CancellableVar *Cancellable)
379 var cerr *glib.Error376 var cerr *glib.Error
380 377
381 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)378 cret := XGProxyResolverLookup(x.GoPointer(), UriVar, CancellableVar.GoPointer(), &cerr)
382-
383 if cerr == nil {379 if cerr == nil {
384 return cret, nil380 return cret, nil
385 }381 }
@@ -402,7 +398,6 @@ func (x *SimpleProxyResolver) LookupFinish(ResultVar AsyncResult) ([]string, err
402 var cerr *glib.Error398 var cerr *glib.Error
403 399
404 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)400 cret := XGProxyResolverLookupFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
405-
406 if cerr == nil {401 if cerr == nil {
407 return cret, nil402 return cret, nil
408 }403 }
@@ -419,12 +414,11 @@ var xSimpleProxyResolverNew func(uintptr, []string) uintptr
419 func SimpleProxyResolverNew(DefaultProxyVar *string, IgnoreHostsVar []string) *ProxyResolverBase {414 func SimpleProxyResolverNew(DefaultProxyVar *string, IgnoreHostsVar []string) *ProxyResolverBase {
420 var cls *ProxyResolverBase415 var cls *ProxyResolverBase
421 416
422- DefaultProxyVarPtr, DefaultProxyVarBytes := core.NullableStringToPtr(DefaultProxyVar)417+ DefaultProxyVarPtr := core.GStrdupNullable(DefaultProxyVar)
418+ defer core.GFreeNullable(DefaultProxyVarPtr)
423 419
424 cret := xSimpleProxyResolverNew(DefaultProxyVarPtr, IgnoreHostsVar)420 cret := xSimpleProxyResolverNew(DefaultProxyVarPtr, IgnoreHostsVar)
425 421
426- runtime.KeepAlive(DefaultProxyVarBytes)
427-
428 if cret == 0 {422 if cret == 0 {
429 return nil423 return nil
430 }424 }
M v4/gio/gsocket.go +8 -59
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -494,7 +493,6 @@ func (x *Socket) Bind(AddressVar *SocketAddress, AllowReuseVar bool) (bool, erro
494 var cerr *glib.Error493 var cerr *glib.Error
495 494
496 cret := xSocketBind(x.GoPointer(), AddressVar.GoPointer(), AllowReuseVar, &cerr)495 cret := xSocketBind(x.GoPointer(), AddressVar.GoPointer(), AllowReuseVar, &cerr)
497-
498 if cerr == nil {496 if cerr == nil {
499 return cret, nil497 return cret, nil
500 }498 }
@@ -511,7 +509,6 @@ func (x *Socket) CheckConnectResult() (bool, error) {
511 var cerr *glib.Error509 var cerr *glib.Error
512 510
513 cret := xSocketCheckConnectResult(x.GoPointer())511 cret := xSocketCheckConnectResult(x.GoPointer())
514-
515 if cerr == nil {512 if cerr == nil {
516 return cret, nil513 return cret, nil
517 }514 }
@@ -554,7 +551,6 @@ func (x *Socket) Close() (bool, error) {
554 var cerr *glib.Error551 var cerr *glib.Error
555 552
556 cret := xSocketClose(x.GoPointer())553 cret := xSocketClose(x.GoPointer())
557-
558 if cerr == nil {554 if cerr == nil {
559 return cret, nil555 return cret, nil
560 }556 }
@@ -584,7 +580,6 @@ var xSocketConditionCheck func(uintptr, glib.IOCondition) glib.IOCondition
584 func (x *Socket) ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition {580 func (x *Socket) ConditionCheck(ConditionVar glib.IOCondition) glib.IOCondition {
585 581
586 cret := xSocketConditionCheck(x.GoPointer(), ConditionVar)582 cret := xSocketConditionCheck(x.GoPointer(), ConditionVar)
587-
588 return cret583 return cret
589 }584 }
590 585
@@ -610,7 +605,6 @@ func (x *Socket) ConditionTimedWait(ConditionVar glib.IOCondition, TimeoutUsVar
610 var cerr *glib.Error605 var cerr *glib.Error
611 606
612 cret := xSocketConditionTimedWait(x.GoPointer(), ConditionVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)607 cret := xSocketConditionTimedWait(x.GoPointer(), ConditionVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)
613-
614 if cerr == nil {608 if cerr == nil {
615 return cret, nil609 return cret, nil
616 }610 }
@@ -634,7 +628,6 @@ func (x *Socket) ConditionWait(ConditionVar glib.IOCondition, CancellableVar *Ca
634 var cerr *glib.Error628 var cerr *glib.Error
635 629
636 cret := xSocketConditionWait(x.GoPointer(), ConditionVar, CancellableVar.GoPointer(), &cerr)630 cret := xSocketConditionWait(x.GoPointer(), ConditionVar, CancellableVar.GoPointer(), &cerr)
637-
638 if cerr == nil {631 if cerr == nil {
639 return cret, nil632 return cret, nil
640 }633 }
@@ -664,7 +657,6 @@ func (x *Socket) Connect(AddressVar *SocketAddress, CancellableVar *Cancellable)
664 var cerr *glib.Error657 var cerr *glib.Error
665 658
666 cret := xSocketConnect(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)659 cret := xSocketConnect(x.GoPointer(), AddressVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
667-
668 if cerr == nil {660 if cerr == nil {
669 return cret, nil661 return cret, nil
670 }662 }
@@ -714,7 +706,6 @@ var xSocketCreateSource func(uintptr, glib.IOCondition, uintptr) *glib.Source
714 func (x *Socket) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source {706 func (x *Socket) CreateSource(ConditionVar glib.IOCondition, CancellableVar *Cancellable) *glib.Source {
715 707
716 cret := xSocketCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer())708 cret := xSocketCreateSource(x.GoPointer(), ConditionVar, CancellableVar.GoPointer())
717-
718 return cret709 return cret
719 }710 }
720 711
@@ -735,7 +726,6 @@ var xSocketGetAvailableBytes func(uintptr) int
735 func (x *Socket) GetAvailableBytes() int {726 func (x *Socket) GetAvailableBytes() int {
736 727
737 cret := xSocketGetAvailableBytes(x.GoPointer())728 cret := xSocketGetAvailableBytes(x.GoPointer())
738-
739 return cret729 return cret
740 }730 }
741 731
@@ -746,7 +736,6 @@ var xSocketGetBlocking func(uintptr) bool
746 func (x *Socket) GetBlocking() bool {736 func (x *Socket) GetBlocking() bool {
747 737
748 cret := xSocketGetBlocking(x.GoPointer())738 cret := xSocketGetBlocking(x.GoPointer())
749-
750 return cret739 return cret
751 }740 }
752 741
@@ -758,7 +747,6 @@ var xSocketGetBroadcast func(uintptr) bool
758 func (x *Socket) GetBroadcast() bool {747 func (x *Socket) GetBroadcast() bool {
759 748
760 cret := xSocketGetBroadcast(x.GoPointer())749 cret := xSocketGetBroadcast(x.GoPointer())
761-
762 return cret750 return cret
763 }751 }
764 752
@@ -808,7 +796,6 @@ var xSocketGetFamily func(uintptr) SocketFamily
808 func (x *Socket) GetFamily() SocketFamily {796 func (x *Socket) GetFamily() SocketFamily {
809 797
810 cret := xSocketGetFamily(x.GoPointer())798 cret := xSocketGetFamily(x.GoPointer())
811-
812 return cret799 return cret
813 }800 }
814 801
@@ -822,7 +809,6 @@ var xSocketGetFd func(uintptr) int
822 func (x *Socket) GetFd() int {809 func (x *Socket) GetFd() int {
823 810
824 cret := xSocketGetFd(x.GoPointer())811 cret := xSocketGetFd(x.GoPointer())
825-
826 return cret812 return cret
827 }813 }
828 814
@@ -833,7 +819,6 @@ var xSocketGetKeepalive func(uintptr) bool
833 func (x *Socket) GetKeepalive() bool {819 func (x *Socket) GetKeepalive() bool {
834 820
835 cret := xSocketGetKeepalive(x.GoPointer())821 cret := xSocketGetKeepalive(x.GoPointer())
836-
837 return cret822 return cret
838 }823 }
839 824
@@ -844,7 +829,6 @@ var xSocketGetListenBacklog func(uintptr) int
844 func (x *Socket) GetListenBacklog() int {829 func (x *Socket) GetListenBacklog() int {
845 830
846 cret := xSocketGetListenBacklog(x.GoPointer())831 cret := xSocketGetListenBacklog(x.GoPointer())
847-
848 return cret832 return cret
849 }833 }
850 834
@@ -879,7 +863,6 @@ var xSocketGetMulticastLoopback func(uintptr) bool
879 func (x *Socket) GetMulticastLoopback() bool {863 func (x *Socket) GetMulticastLoopback() bool {
880 864
881 cret := xSocketGetMulticastLoopback(x.GoPointer())865 cret := xSocketGetMulticastLoopback(x.GoPointer())
882-
883 return cret866 return cret
884 }867 }
885 868
@@ -890,7 +873,6 @@ var xSocketGetMulticastTtl func(uintptr) uint
890 func (x *Socket) GetMulticastTtl() uint {873 func (x *Socket) GetMulticastTtl() uint {
891 874
892 cret := xSocketGetMulticastTtl(x.GoPointer())875 cret := xSocketGetMulticastTtl(x.GoPointer())
893-
894 return cret876 return cret
895 }877 }
896 878
@@ -913,7 +895,6 @@ func (x *Socket) GetOption(LevelVar int, OptnameVar int, ValueVar *int) (bool, e
913 var cerr *glib.Error895 var cerr *glib.Error
914 896
915 cret := xSocketGetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr)897 cret := xSocketGetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr)
916-
917 if cerr == nil {898 if cerr == nil {
918 return cret, nil899 return cret, nil
919 }900 }
@@ -928,7 +909,6 @@ var xSocketGetProtocol func(uintptr) SocketProtocol
928 func (x *Socket) GetProtocol() SocketProtocol {909 func (x *Socket) GetProtocol() SocketProtocol {
929 910
930 cret := xSocketGetProtocol(x.GoPointer())911 cret := xSocketGetProtocol(x.GoPointer())
931-
932 return cret912 return cret
933 }913 }
934 914
@@ -960,7 +940,6 @@ var xSocketGetSocketType func(uintptr) SocketType
960 func (x *Socket) GetSocketType() SocketType {940 func (x *Socket) GetSocketType() SocketType {
961 941
962 cret := xSocketGetSocketType(x.GoPointer())942 cret := xSocketGetSocketType(x.GoPointer())
963-
964 return cret943 return cret
965 }944 }
966 945
@@ -971,7 +950,6 @@ var xSocketGetTimeout func(uintptr) uint
971 func (x *Socket) GetTimeout() uint {950 func (x *Socket) GetTimeout() uint {
972 951
973 cret := xSocketGetTimeout(x.GoPointer())952 cret := xSocketGetTimeout(x.GoPointer())
974-
975 return cret953 return cret
976 }954 }
977 955
@@ -982,7 +960,6 @@ var xSocketGetTtl func(uintptr) uint
982 func (x *Socket) GetTtl() uint {960 func (x *Socket) GetTtl() uint {
983 961
984 cret := xSocketGetTtl(x.GoPointer())962 cret := xSocketGetTtl(x.GoPointer())
985-
986 return cret963 return cret
987 }964 }
988 965
@@ -992,7 +969,6 @@ var xSocketIsClosed func(uintptr) bool
992 func (x *Socket) IsClosed() bool {969 func (x *Socket) IsClosed() bool {
993 970
994 cret := xSocketIsClosed(x.GoPointer())971 cret := xSocketIsClosed(x.GoPointer())
995-
996 return cret972 return cret
997 }973 }
998 974
@@ -1008,7 +984,6 @@ var xSocketIsConnected func(uintptr) bool
1008 func (x *Socket) IsConnected() bool {984 func (x *Socket) IsConnected() bool {
1009 985
1010 cret := xSocketIsConnected(x.GoPointer())986 cret := xSocketIsConnected(x.GoPointer())
1011-
1012 return cret987 return cret
1013 }988 }
1014 989
@@ -1031,12 +1006,10 @@ var xSocketJoinMulticastGroup func(uintptr, uintptr, bool, uintptr, **glib.Error
1031 func (x *Socket) JoinMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) {1006 func (x *Socket) JoinMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) {
1032 var cerr *glib.Error1007 var cerr *glib.Error
1033 1008
1034- IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar)1009+ IfaceVarPtr := core.GStrdupNullable(IfaceVar)
1010+ defer core.GFreeNullable(IfaceVarPtr)
1035 1011
1036 cret := xSocketJoinMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVarPtr, &cerr)1012 cret := xSocketJoinMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVarPtr, &cerr)
1037-
1038- runtime.KeepAlive(IfaceVarBytes)
1039-
1040 if cerr == nil {1013 if cerr == nil {
1041 return cret, nil1014 return cret, nil
1042 }1015 }
@@ -1064,12 +1037,10 @@ var xSocketJoinMulticastGroupSsm func(uintptr, uintptr, uintptr, uintptr, **glib
1064 func (x *Socket) JoinMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {1037 func (x *Socket) JoinMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {
1065 var cerr *glib.Error1038 var cerr *glib.Error
1066 1039
1067- IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar)1040+ IfaceVarPtr := core.GStrdupNullable(IfaceVar)
1041+ defer core.GFreeNullable(IfaceVarPtr)
1068 1042
1069 cret := xSocketJoinMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVarPtr, &cerr)1043 cret := xSocketJoinMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVarPtr, &cerr)
1070-
1071- runtime.KeepAlive(IfaceVarBytes)
1072-
1073 if cerr == nil {1044 if cerr == nil {
1074 return cret, nil1045 return cret, nil
1075 }1046 }
@@ -1091,12 +1062,10 @@ var xSocketLeaveMulticastGroup func(uintptr, uintptr, bool, uintptr, **glib.Erro
1091 func (x *Socket) LeaveMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) {1062 func (x *Socket) LeaveMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) {
1092 var cerr *glib.Error1063 var cerr *glib.Error
1093 1064
1094- IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar)1065+ IfaceVarPtr := core.GStrdupNullable(IfaceVar)
1066+ defer core.GFreeNullable(IfaceVarPtr)
1095 1067
1096 cret := xSocketLeaveMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVarPtr, &cerr)1068 cret := xSocketLeaveMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVarPtr, &cerr)
1097-
1098- runtime.KeepAlive(IfaceVarBytes)
1099-
1100 if cerr == nil {1069 if cerr == nil {
1101 return cret, nil1070 return cret, nil
1102 }1071 }
@@ -1115,12 +1084,10 @@ var xSocketLeaveMulticastGroupSsm func(uintptr, uintptr, uintptr, uintptr, **gli
1115 func (x *Socket) LeaveMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {1084 func (x *Socket) LeaveMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {
1116 var cerr *glib.Error1085 var cerr *glib.Error
1117 1086
1118- IfaceVarPtr, IfaceVarBytes := core.NullableStringToPtr(IfaceVar)1087+ IfaceVarPtr := core.GStrdupNullable(IfaceVar)
1088+ defer core.GFreeNullable(IfaceVarPtr)
1119 1089
1120 cret := xSocketLeaveMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVarPtr, &cerr)1090 cret := xSocketLeaveMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVarPtr, &cerr)
1121-
1122- runtime.KeepAlive(IfaceVarBytes)
1123-
1124 if cerr == nil {1091 if cerr == nil {
1125 return cret, nil1092 return cret, nil
1126 }1093 }
@@ -1142,7 +1109,6 @@ func (x *Socket) Listen() (bool, error) {
1142 var cerr *glib.Error1109 var cerr *glib.Error
1143 1110
1144 cret := xSocketListen(x.GoPointer())1111 cret := xSocketListen(x.GoPointer())
1145-
1146 if cerr == nil {1112 if cerr == nil {
1147 return cret, nil1113 return cret, nil
1148 }1114 }
@@ -1179,7 +1145,6 @@ func (x *Socket) Receive(BufferVar *[]byte, SizeVar uint, CancellableVar *Cancel
1179 var cerr *glib.Error1145 var cerr *glib.Error
1180 1146
1181 cret := xSocketReceive(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1147 cret := xSocketReceive(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
1182-
1183 if cerr == nil {1148 if cerr == nil {
1184 return cret, nil1149 return cret, nil
1185 }1150 }
@@ -1202,7 +1167,6 @@ func (x *Socket) ReceiveBytes(SizeVar uint, TimeoutUsVar int64, CancellableVar *
1202 var cerr *glib.Error1167 var cerr *glib.Error
1203 1168
1204 cret := xSocketReceiveBytes(x.GoPointer(), SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)1169 cret := xSocketReceiveBytes(x.GoPointer(), SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)
1205-
1206 if cerr == nil {1170 if cerr == nil {
1207 return cret, nil1171 return cret, nil
1208 }1172 }
@@ -1230,7 +1194,6 @@ func (x *Socket) ReceiveBytesFrom(AddressVar **SocketAddress, SizeVar uint, Time
1230 var cerr *glib.Error1194 var cerr *glib.Error
1231 1195
1232 cret := xSocketReceiveBytesFrom(x.GoPointer(), AddressVar, SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)1196 cret := xSocketReceiveBytesFrom(x.GoPointer(), AddressVar, SizeVar, TimeoutUsVar, CancellableVar.GoPointer(), &cerr)
1233-
1234 if cerr == nil {1197 if cerr == nil {
1235 return cret, nil1198 return cret, nil
1236 }1199 }
@@ -1251,7 +1214,6 @@ func (x *Socket) ReceiveFrom(AddressVar **SocketAddress, BufferVar *[]byte, Size
1251 var cerr *glib.Error1214 var cerr *glib.Error
1252 1215
1253 cret := xSocketReceiveFrom(x.GoPointer(), AddressVar, BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1216 cret := xSocketReceiveFrom(x.GoPointer(), AddressVar, BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
1254-
1255 if cerr == nil {1217 if cerr == nil {
1256 return cret, nil1218 return cret, nil
1257 }1219 }
@@ -1324,7 +1286,6 @@ func (x *Socket) ReceiveMessage(AddressVar **SocketAddress, VectorsVar []InputVe
1324 var cerr *glib.Error1286 var cerr *glib.Error
1325 1287
1326 cret := xSocketReceiveMessage(x.GoPointer(), AddressVar, VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1288 cret := xSocketReceiveMessage(x.GoPointer(), AddressVar, VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
1327-
1328 if cerr == nil {1289 if cerr == nil {
1329 return cret, nil1290 return cret, nil
1330 }1291 }
@@ -1386,7 +1347,6 @@ func (x *Socket) ReceiveMessages(MessagesVar []InputMessage, NumMessagesVar uint
1386 var cerr *glib.Error1347 var cerr *glib.Error
1387 1348
1388 cret := xSocketReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1349 cret := xSocketReceiveMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
1389-
1390 if cerr == nil {1350 if cerr == nil {
1391 return cret, nil1351 return cret, nil
1392 }1352 }
@@ -1403,7 +1363,6 @@ func (x *Socket) ReceiveWithBlocking(BufferVar *[]byte, SizeVar uint, BlockingVa
1403 var cerr *glib.Error1363 var cerr *glib.Error
1404 1364
1405 cret := xSocketReceiveWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)1365 cret := xSocketReceiveWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
1406-
1407 if cerr == nil {1366 if cerr == nil {
1408 return cret, nil1367 return cret, nil
1409 }1368 }
@@ -1431,7 +1390,6 @@ func (x *Socket) Send(BufferVar []byte, SizeVar uint, CancellableVar *Cancellabl
1431 var cerr *glib.Error1390 var cerr *glib.Error
1432 1391
1433 cret := xSocketSend(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1392 cret := xSocketSend(x.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
1434-
1435 if cerr == nil {1393 if cerr == nil {
1436 return cret, nil1394 return cret, nil
1437 }1395 }
@@ -1487,7 +1445,6 @@ func (x *Socket) SendMessage(AddressVar *SocketAddress, VectorsVar []OutputVecto
1487 var cerr *glib.Error1445 var cerr *glib.Error
1488 1446
1489 cret := xSocketSendMessage(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1447 cret := xSocketSendMessage(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
1490-
1491 if cerr == nil {1448 if cerr == nil {
1492 return cret, nil1449 return cret, nil
1493 }1450 }
@@ -1508,7 +1465,6 @@ func (x *Socket) SendMessageWithTimeout(AddressVar *SocketAddress, VectorsVar []
1508 var cerr *glib.Error1465 var cerr *glib.Error
1509 1466
1510 cret := xSocketSendMessageWithTimeout(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, TimeoutUsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)1467 cret := xSocketSendMessageWithTimeout(x.GoPointer(), AddressVar.GoPointer(), VectorsVar, NumVectorsVar, MessagesVar, NumMessagesVar, FlagsVar, TimeoutUsVar, BytesWrittenVar, CancellableVar.GoPointer(), &cerr)
1511-
1512 if cerr == nil {1468 if cerr == nil {
1513 return cret, nil1469 return cret, nil
1514 }1470 }
@@ -1556,7 +1512,6 @@ func (x *Socket) SendMessages(MessagesVar []OutputMessage, NumMessagesVar uint,
1556 var cerr *glib.Error1512 var cerr *glib.Error
1557 1513
1558 cret := xSocketSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)1514 cret := xSocketSendMessages(x.GoPointer(), MessagesVar, NumMessagesVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
1559-
1560 if cerr == nil {1515 if cerr == nil {
1561 return cret, nil1516 return cret, nil
1562 }1517 }
@@ -1575,7 +1530,6 @@ func (x *Socket) SendTo(AddressVar *SocketAddress, BufferVar []byte, SizeVar uin
1575 var cerr *glib.Error1530 var cerr *glib.Error
1576 1531
1577 cret := xSocketSendTo(x.GoPointer(), AddressVar.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)1532 cret := xSocketSendTo(x.GoPointer(), AddressVar.GoPointer(), BufferVar, SizeVar, CancellableVar.GoPointer(), &cerr)
1578-
1579 if cerr == nil {1533 if cerr == nil {
1580 return cret, nil1534 return cret, nil
1581 }1535 }
@@ -1592,7 +1546,6 @@ func (x *Socket) SendWithBlocking(BufferVar []byte, SizeVar uint, BlockingVar bo
1592 var cerr *glib.Error1546 var cerr *glib.Error
1593 1547
1594 cret := xSocketSendWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)1548 cret := xSocketSendWithBlocking(x.GoPointer(), BufferVar, SizeVar, BlockingVar, CancellableVar.GoPointer(), &cerr)
1595-
1596 if cerr == nil {1549 if cerr == nil {
1597 return cret, nil1550 return cret, nil
1598 }1551 }
@@ -1702,7 +1655,6 @@ func (x *Socket) SetOption(LevelVar int, OptnameVar int, ValueVar int) (bool, er
1702 var cerr *glib.Error1655 var cerr *glib.Error
1703 1656
1704 cret := xSocketSetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr)1657 cret := xSocketSetOption(x.GoPointer(), LevelVar, OptnameVar, ValueVar, &cerr)
1705-
1706 if cerr == nil {1658 if cerr == nil {
1707 return cret, nil1659 return cret, nil
1708 }1660 }
@@ -1768,7 +1720,6 @@ func (x *Socket) Shutdown(ShutdownReadVar bool, ShutdownWriteVar bool) (bool, er
1768 var cerr *glib.Error1720 var cerr *glib.Error
1769 1721
1770 cret := xSocketShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, &cerr)1722 cret := xSocketShutdown(x.GoPointer(), ShutdownReadVar, ShutdownWriteVar, &cerr)
1771-
1772 if cerr == nil {1723 if cerr == nil {
1773 return cret, nil1724 return cret, nil
1774 }1725 }
@@ -1790,7 +1741,6 @@ var xSocketSpeaksIpv4 func(uintptr) bool
1790 func (x *Socket) SpeaksIpv4() bool {1741 func (x *Socket) SpeaksIpv4() bool {
1791 1742
1792 cret := xSocketSpeaksIpv4(x.GoPointer())1743 cret := xSocketSpeaksIpv4(x.GoPointer())
1793-
1794 return cret1744 return cret
1795 }1745 }
1796 1746
@@ -2000,7 +1950,6 @@ func (x *Socket) Init(CancellableVar *Cancellable) (bool, error) {
2000 var cerr *glib.Error1950 var cerr *glib.Error
2001 1951
2002 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)1952 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
2003-
2004 if cerr == nil {1953 if cerr == nil {
2005 return cret, nil1954 return cret, nil
2006 }1955 }
M v4/gio/gsocketaddress.go +0 -4
@@ -140,7 +140,6 @@ 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-
144 return cret143 return cret
145 }144 }
146 145
@@ -152,7 +151,6 @@ var xSocketAddressGetNativeSize func(uintptr) int
152 func (x *SocketAddress) GetNativeSize() int {151 func (x *SocketAddress) GetNativeSize() int {
153 152
154 cret := xSocketAddressGetNativeSize(x.GoPointer())153 cret := xSocketAddressGetNativeSize(x.GoPointer())
155-
156 return cret154 return cret
157 }155 }
158 156
@@ -168,7 +166,6 @@ func (x *SocketAddress) ToNative(DestVar uintptr, DestlenVar uint) (bool, error)
168 var cerr *glib.Error166 var cerr *glib.Error
169 167
170 cret := xSocketAddressToNative(x.GoPointer(), DestVar, DestlenVar, &cerr)168 cret := xSocketAddressToNative(x.GoPointer(), DestVar, DestlenVar, &cerr)
171-
172 if cerr == nil {169 if cerr == nil {
173 return cret, nil170 return cret, nil
174 }171 }
@@ -231,7 +228,6 @@ func (x *SocketAddress) ProxyEnumerate() *SocketAddressEnumerator {
231 func (x *SocketAddress) ToString() string {228 func (x *SocketAddress) ToString() string {
232 229
233 cret := XGSocketConnectableToString(x.GoPointer())230 cret := XGSocketConnectableToString(x.GoPointer())
234-
235 return cret231 return cret
236 }232 }
237 233
M v4/gio/gsocketclient.go +0 -7
@@ -598,7 +598,6 @@ 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-
602 return cret601 return cret
603 }602 }
604 603
@@ -610,7 +609,6 @@ var xSocketClientGetFamily func(uintptr) SocketFamily
610 func (x *SocketClient) GetFamily() SocketFamily {609 func (x *SocketClient) GetFamily() SocketFamily {
611 610
612 cret := xSocketClientGetFamily(x.GoPointer())611 cret := xSocketClientGetFamily(x.GoPointer())
613-
614 return cret612 return cret
615 }613 }
616 614
@@ -641,7 +639,6 @@ var xSocketClientGetProtocol func(uintptr) SocketProtocol
641 func (x *SocketClient) GetProtocol() SocketProtocol {639 func (x *SocketClient) GetProtocol() SocketProtocol {
642 640
643 cret := xSocketClientGetProtocol(x.GoPointer())641 cret := xSocketClientGetProtocol(x.GoPointer())
644-
645 return cret642 return cret
646 }643 }
647 644
@@ -672,7 +669,6 @@ var xSocketClientGetSocketType func(uintptr) SocketType
672 func (x *SocketClient) GetSocketType() SocketType {669 func (x *SocketClient) GetSocketType() SocketType {
673 670
674 cret := xSocketClientGetSocketType(x.GoPointer())671 cret := xSocketClientGetSocketType(x.GoPointer())
675-
676 return cret672 return cret
677 }673 }
678 674
@@ -684,7 +680,6 @@ var xSocketClientGetTimeout func(uintptr) uint
684 func (x *SocketClient) GetTimeout() uint {680 func (x *SocketClient) GetTimeout() uint {
685 681
686 cret := xSocketClientGetTimeout(x.GoPointer())682 cret := xSocketClientGetTimeout(x.GoPointer())
687-
688 return cret683 return cret
689 }684 }
690 685
@@ -695,7 +690,6 @@ var xSocketClientGetTls func(uintptr) bool
695 func (x *SocketClient) GetTls() bool {690 func (x *SocketClient) GetTls() bool {
696 691
697 cret := xSocketClientGetTls(x.GoPointer())692 cret := xSocketClientGetTls(x.GoPointer())
698-
699 return cret693 return cret
700 }694 }
701 695
@@ -710,7 +704,6 @@ var xSocketClientGetTlsValidationFlags func(uintptr) TlsCertificateFlags
710 func (x *SocketClient) GetTlsValidationFlags() TlsCertificateFlags {704 func (x *SocketClient) GetTlsValidationFlags() TlsCertificateFlags {
711 705
712 cret := xSocketClientGetTlsValidationFlags(x.GoPointer())706 cret := xSocketClientGetTlsValidationFlags(x.GoPointer())
713-
714 return cret707 return cret
715 }708 }
716 709
M v4/gio/gsocketconnectable.go +0 -1
@@ -260,7 +260,6 @@ 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-
264 return cret263 return cret
265 }264 }
266 265
M v4/gio/gsocketconnection.go +0 -4
@@ -219,7 +219,6 @@ 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-
223 if cerr == nil {222 if cerr == nil {
224 return cret, nil223 return cret, nil
225 }224 }
@@ -267,7 +266,6 @@ func (x *SocketConnection) ConnectFinish(ResultVar AsyncResult) (bool, error) {
267 var cerr *glib.Error266 var cerr *glib.Error
268 267
269 cret := xSocketConnectionConnectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)268 cret := xSocketConnectionConnectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
270-
271 if cerr == nil {269 if cerr == nil {
272 return cret, nil270 return cret, nil
273 }271 }
@@ -350,7 +348,6 @@ var xSocketConnectionIsConnected func(uintptr) bool
350 func (x *SocketConnection) IsConnected() bool {348 func (x *SocketConnection) IsConnected() bool {
351 349
352 cret := xSocketConnectionIsConnected(x.GoPointer())350 cret := xSocketConnectionIsConnected(x.GoPointer())
353-
354 return cret351 return cret
355 }352 }
356 353
@@ -374,7 +371,6 @@ var xSocketConnectionFactoryLookupType func(SocketFamily, SocketType, int) types
374 func SocketConnectionFactoryLookupType(FamilyVar SocketFamily, TypeVar SocketType, ProtocolIdVar int) types.GType {371 func SocketConnectionFactoryLookupType(FamilyVar SocketFamily, TypeVar SocketType, ProtocolIdVar int) types.GType {
375 372
376 cret := xSocketConnectionFactoryLookupType(FamilyVar, TypeVar, ProtocolIdVar)373 cret := xSocketConnectionFactoryLookupType(FamilyVar, TypeVar, ProtocolIdVar)
377-
378 return cret374 return cret
379 }375 }
380 376
M v4/gio/gsocketcontrolmessage.go +0 -3
@@ -343,7 +343,6 @@ 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-
347 return cret346 return cret
348 }347 }
349 348
@@ -354,7 +353,6 @@ var xSocketControlMessageGetMsgType func(uintptr) int
354 func (x *SocketControlMessage) GetMsgType() int {353 func (x *SocketControlMessage) GetMsgType() int {
355 354
356 cret := xSocketControlMessageGetMsgType(x.GoPointer())355 cret := xSocketControlMessageGetMsgType(x.GoPointer())
357-
358 return cret356 return cret
359 }357 }
360 358
@@ -365,7 +363,6 @@ var xSocketControlMessageGetSize func(uintptr) uint
365 func (x *SocketControlMessage) GetSize() uint {363 func (x *SocketControlMessage) GetSize() uint {
366 364
367 cret := xSocketControlMessageGetSize(x.GoPointer())365 cret := xSocketControlMessageGetSize(x.GoPointer())
368-
369 return cret366 return cret
370 }367 }
371 368
M v4/gio/gsocketlistener.go +0 -4
@@ -449,7 +449,6 @@ 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-
453 if cerr == nil {452 if cerr == nil {
454 return cret, nil453 return cret, nil
455 }454 }
@@ -481,7 +480,6 @@ func (x *SocketListener) AddAnyInetPort(SourceObjectVar *gobject.Object) (uint16
481 var cerr *glib.Error480 var cerr *glib.Error
482 481
483 cret := xSocketListenerAddAnyInetPort(x.GoPointer(), SourceObjectVar.GoPointer(), &cerr)482 cret := xSocketListenerAddAnyInetPort(x.GoPointer(), SourceObjectVar.GoPointer(), &cerr)
484-
485 if cerr == nil {483 if cerr == nil {
486 return cret, nil484 return cret, nil
487 }485 }
@@ -515,7 +513,6 @@ func (x *SocketListener) AddInetPort(PortVar uint16, SourceObjectVar *gobject.Ob
515 var cerr *glib.Error513 var cerr *glib.Error
516 514
517 cret := xSocketListenerAddInetPort(x.GoPointer(), PortVar, SourceObjectVar.GoPointer(), &cerr)515 cret := xSocketListenerAddInetPort(x.GoPointer(), PortVar, SourceObjectVar.GoPointer(), &cerr)
518-
519 if cerr == nil {516 if cerr == nil {
520 return cret, nil517 return cret, nil
521 }518 }
@@ -545,7 +542,6 @@ func (x *SocketListener) AddSocket(SocketVar *Socket, SourceObjectVar *gobject.O
545 var cerr *glib.Error542 var cerr *glib.Error
546 543
547 cret := xSocketListenerAddSocket(x.GoPointer(), SocketVar.GoPointer(), SourceObjectVar.GoPointer(), &cerr)544 cret := xSocketListenerAddSocket(x.GoPointer(), SocketVar.GoPointer(), SourceObjectVar.GoPointer(), &cerr)
548-
549 if cerr == nil {545 if cerr == nil {
550 return cret, nil546 return cret, nil
551 }547 }
M v4/gio/gsocketservice.go +0 -1
@@ -281,7 +281,6 @@ 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-
285 return cret284 return cret
286 }285 }
287 286
M v4/gio/gsrvtarget.go +0 -1
@@ -13,7 +13,6 @@ 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-
17 return cret16 return cret
18 }17 }
19 18
M v4/gio/gsubprocess.go +4 -23
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "unsafe"5 "unsafe"
7 6
8 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
@@ -183,7 +182,6 @@ func (x *Subprocess) Communicate(StdinBufVar *glib.Bytes, CancellableVar *Cancel
183 var cerr *glib.Error182 var cerr *glib.Error
184 183
185 cret := xSubprocessCommunicate(x.GoPointer(), StdinBufVar, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)184 cret := xSubprocessCommunicate(x.GoPointer(), StdinBufVar, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)
186-
187 if cerr == nil {185 if cerr == nil {
188 return cret, nil186 return cret, nil
189 }187 }
@@ -223,7 +221,6 @@ func (x *Subprocess) CommunicateFinish(ResultVar AsyncResult, StdoutBufVar **gli
223 var cerr *glib.Error221 var cerr *glib.Error
224 222
225 cret := xSubprocessCommunicateFinish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)223 cret := xSubprocessCommunicateFinish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)
226-
227 if cerr == nil {224 if cerr == nil {
228 return cret, nil225 return cret, nil
229 }226 }
@@ -241,12 +238,10 @@ var xSubprocessCommunicateUtf8 func(uintptr, uintptr, uintptr, *string, *string,
241 func (x *Subprocess) CommunicateUtf8(StdinBufVar *string, CancellableVar *Cancellable, StdoutBufVar *string, StderrBufVar *string) (bool, error) {238 func (x *Subprocess) CommunicateUtf8(StdinBufVar *string, CancellableVar *Cancellable, StdoutBufVar *string, StderrBufVar *string) (bool, error) {
242 var cerr *glib.Error239 var cerr *glib.Error
243 240
244- StdinBufVarPtr, StdinBufVarBytes := core.NullableStringToPtr(StdinBufVar)241+ StdinBufVarPtr := core.GStrdupNullable(StdinBufVar)
242+ defer core.GFreeNullable(StdinBufVarPtr)
245 243
246 cret := xSubprocessCommunicateUtf8(x.GoPointer(), StdinBufVarPtr, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)244 cret := xSubprocessCommunicateUtf8(x.GoPointer(), StdinBufVarPtr, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)
247-
248- runtime.KeepAlive(StdinBufVarBytes)
249-
250 if cerr == nil {245 if cerr == nil {
251 return cret, nil246 return cret, nil
252 }247 }
@@ -275,12 +270,11 @@ func (x *Subprocess) CommunicateUtf8Async(StdinBufVar *string, CancellableVar *C
275 }270 }
276 }271 }
277 272
278- StdinBufVarPtr, StdinBufVarBytes := core.NullableStringToPtr(StdinBufVar)273+ StdinBufVarPtr := core.GStrdupNullable(StdinBufVar)
274+ defer core.GFreeNullable(StdinBufVarPtr)
279 275
280 xSubprocessCommunicateUtf8Async(x.GoPointer(), StdinBufVarPtr, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)276 xSubprocessCommunicateUtf8Async(x.GoPointer(), StdinBufVarPtr, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
281 277
282- runtime.KeepAlive(StdinBufVarBytes)
283-
284 }278 }
285 279
286 var xSubprocessCommunicateUtf8Finish func(uintptr, uintptr, *string, *string, **glib.Error) bool280 var xSubprocessCommunicateUtf8Finish func(uintptr, uintptr, *string, *string, **glib.Error) bool
@@ -290,7 +284,6 @@ func (x *Subprocess) CommunicateUtf8Finish(ResultVar AsyncResult, StdoutBufVar *
290 var cerr *glib.Error284 var cerr *glib.Error
291 285
292 cret := xSubprocessCommunicateUtf8Finish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)286 cret := xSubprocessCommunicateUtf8Finish(x.GoPointer(), ResultVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)
293-
294 if cerr == nil {287 if cerr == nil {
295 return cret, nil288 return cret, nil
296 }289 }
@@ -326,7 +319,6 @@ var xSubprocessGetExitStatus func(uintptr) int
326 func (x *Subprocess) GetExitStatus() int {319 func (x *Subprocess) GetExitStatus() int {
327 320
328 cret := xSubprocessGetExitStatus(x.GoPointer())321 cret := xSubprocessGetExitStatus(x.GoPointer())
329-
330 return cret322 return cret
331 }323 }
332 324
@@ -338,7 +330,6 @@ var xSubprocessGetIdentifier func(uintptr) string
338 func (x *Subprocess) GetIdentifier() string {330 func (x *Subprocess) GetIdentifier() string {
339 331
340 cret := xSubprocessGetIdentifier(x.GoPointer())332 cret := xSubprocessGetIdentifier(x.GoPointer())
341-
342 return cret333 return cret
343 }334 }
344 335
@@ -354,7 +345,6 @@ var xSubprocessGetIfExited func(uintptr) bool
354 func (x *Subprocess) GetIfExited() bool {345 func (x *Subprocess) GetIfExited() bool {
355 346
356 cret := xSubprocessGetIfExited(x.GoPointer())347 cret := xSubprocessGetIfExited(x.GoPointer())
357-
358 return cret348 return cret
359 }349 }
360 350
@@ -369,7 +359,6 @@ var xSubprocessGetIfSignaled func(uintptr) bool
369 func (x *Subprocess) GetIfSignaled() bool {359 func (x *Subprocess) GetIfSignaled() bool {
370 360
371 cret := xSubprocessGetIfSignaled(x.GoPointer())361 cret := xSubprocessGetIfSignaled(x.GoPointer())
372-
373 return cret362 return cret
374 }363 }
375 364
@@ -389,7 +378,6 @@ var xSubprocessGetStatus func(uintptr) int
389 func (x *Subprocess) GetStatus() int {378 func (x *Subprocess) GetStatus() int {
390 379
391 cret := xSubprocessGetStatus(x.GoPointer())380 cret := xSubprocessGetStatus(x.GoPointer())
392-
393 return cret381 return cret
394 }382 }
395 383
@@ -467,7 +455,6 @@ var xSubprocessGetSuccessful func(uintptr) bool
467 func (x *Subprocess) GetSuccessful() bool {455 func (x *Subprocess) GetSuccessful() bool {
468 456
469 cret := xSubprocessGetSuccessful(x.GoPointer())457 cret := xSubprocessGetSuccessful(x.GoPointer())
470-
471 return cret458 return cret
472 }459 }
473 460
@@ -483,7 +470,6 @@ var xSubprocessGetTermSig func(uintptr) int
483 func (x *Subprocess) GetTermSig() int {470 func (x *Subprocess) GetTermSig() int {
484 471
485 cret := xSubprocessGetTermSig(x.GoPointer())472 cret := xSubprocessGetTermSig(x.GoPointer())
486-
487 return cret473 return cret
488 }474 }
489 475
@@ -519,7 +505,6 @@ func (x *Subprocess) Wait(CancellableVar *Cancellable) (bool, error) {
519 var cerr *glib.Error505 var cerr *glib.Error
520 506
521 cret := xSubprocessWait(x.GoPointer(), CancellableVar.GoPointer(), &cerr)507 cret := xSubprocessWait(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
522-
523 if cerr == nil {508 if cerr == nil {
524 return cret, nil509 return cret, nil
525 }510 }
@@ -560,7 +545,6 @@ func (x *Subprocess) WaitCheck(CancellableVar *Cancellable) (bool, error) {
560 var cerr *glib.Error545 var cerr *glib.Error
561 546
562 cret := xSubprocessWaitCheck(x.GoPointer(), CancellableVar.GoPointer(), &cerr)547 cret := xSubprocessWaitCheck(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
563-
564 if cerr == nil {548 if cerr == nil {
565 return cret, nil549 return cret, nil
566 }550 }
@@ -602,7 +586,6 @@ func (x *Subprocess) WaitCheckFinish(ResultVar AsyncResult) (bool, error) {
602 var cerr *glib.Error586 var cerr *glib.Error
603 587
604 cret := xSubprocessWaitCheckFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)588 cret := xSubprocessWaitCheckFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
605-
606 if cerr == nil {589 if cerr == nil {
607 return cret, nil590 return cret, nil
608 }591 }
@@ -618,7 +601,6 @@ func (x *Subprocess) WaitFinish(ResultVar AsyncResult) (bool, error) {
618 var cerr *glib.Error601 var cerr *glib.Error
619 602
620 cret := xSubprocessWaitFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)603 cret := xSubprocessWaitFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
621-
622 if cerr == nil {604 if cerr == nil {
623 return cret, nil605 return cret, nil
624 }606 }
@@ -688,7 +670,6 @@ func (x *Subprocess) Init(CancellableVar *Cancellable) (bool, error) {
688 var cerr *glib.Error670 var cerr *glib.Error
689 671
690 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)672 cret := XGInitableInit(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
691-
692 if cerr == nil {673 if cerr == nil {
693 return cret, nil674 return cret, nil
694 }675 }
M v4/gio/gsubprocesslauncher.go +6 -11
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "unsafe"5 "unsafe"
7 6
8 "github.com/jwijenbergh/purego"7 "github.com/jwijenbergh/purego"
@@ -84,7 +83,6 @@ var xSubprocessLauncherGetenv func(uintptr, string) string
84 func (x *SubprocessLauncher) Getenv(VariableVar string) string {83 func (x *SubprocessLauncher) Getenv(VariableVar string) string {
85 84
86 cret := xSubprocessLauncherGetenv(x.GoPointer(), VariableVar)85 cret := xSubprocessLauncherGetenv(x.GoPointer(), VariableVar)
87-
88 return cret86 return cret
89 }87 }
90 88
@@ -217,12 +215,11 @@ var xSubprocessLauncherSetStderrFilePath func(uintptr, uintptr)
217 // This feature is only available on UNIX.215 // This feature is only available on UNIX.
218 func (x *SubprocessLauncher) SetStderrFilePath(PathVar *string) {216 func (x *SubprocessLauncher) SetStderrFilePath(PathVar *string) {
219 217
220- PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar)218+ PathVarPtr := core.GStrdupNullable(PathVar)
219+ defer core.GFreeNullable(PathVarPtr)
221 220
222 xSubprocessLauncherSetStderrFilePath(x.GoPointer(), PathVarPtr)221 xSubprocessLauncherSetStderrFilePath(x.GoPointer(), PathVarPtr)
223 222
224- runtime.KeepAlive(PathVarBytes)
225-
226 }223 }
227 224
228 var xSubprocessLauncherSetStdinFilePath func(uintptr, uintptr)225 var xSubprocessLauncherSetStdinFilePath func(uintptr, uintptr)
@@ -239,12 +236,11 @@ var xSubprocessLauncherSetStdinFilePath func(uintptr, uintptr)
239 // This feature is only available on UNIX.236 // This feature is only available on UNIX.
240 func (x *SubprocessLauncher) SetStdinFilePath(PathVar *string) {237 func (x *SubprocessLauncher) SetStdinFilePath(PathVar *string) {
241 238
242- PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar)239+ PathVarPtr := core.GStrdupNullable(PathVar)
240+ defer core.GFreeNullable(PathVarPtr)
243 241
244 xSubprocessLauncherSetStdinFilePath(x.GoPointer(), PathVarPtr)242 xSubprocessLauncherSetStdinFilePath(x.GoPointer(), PathVarPtr)
245 243
246- runtime.KeepAlive(PathVarBytes)
247-
248 }244 }
249 245
250 var xSubprocessLauncherSetStdoutFilePath func(uintptr, uintptr)246 var xSubprocessLauncherSetStdoutFilePath func(uintptr, uintptr)
@@ -262,12 +258,11 @@ var xSubprocessLauncherSetStdoutFilePath func(uintptr, uintptr)
262 // This feature is only available on UNIX.258 // This feature is only available on UNIX.
263 func (x *SubprocessLauncher) SetStdoutFilePath(PathVar *string) {259 func (x *SubprocessLauncher) SetStdoutFilePath(PathVar *string) {
264 260
265- PathVarPtr, PathVarBytes := core.NullableStringToPtr(PathVar)261+ PathVarPtr := core.GStrdupNullable(PathVar)
262+ defer core.GFreeNullable(PathVarPtr)
266 263
267 xSubprocessLauncherSetStdoutFilePath(x.GoPointer(), PathVarPtr)264 xSubprocessLauncherSetStdoutFilePath(x.GoPointer(), PathVarPtr)
268 265
269- runtime.KeepAlive(PathVarBytes)
270-
271 }266 }
272 267
273 var xSubprocessLauncherSetenv func(uintptr, string, string, bool)268 var xSubprocessLauncherSetenv func(uintptr, string, string, bool)
M v4/gio/gtask.go +4 -26
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -717,7 +716,6 @@ var xTaskGetCheckCancellable func(uintptr) bool
717 func (x *Task) GetCheckCancellable() bool {716 func (x *Task) GetCheckCancellable() bool {
718 717
719 cret := xTaskGetCheckCancellable(x.GoPointer())718 cret := xTaskGetCheckCancellable(x.GoPointer())
720-
721 return cret719 return cret
722 }720 }
723 721
@@ -729,7 +727,6 @@ var xTaskGetCompleted func(uintptr) bool
729 func (x *Task) GetCompleted() bool {727 func (x *Task) GetCompleted() bool {
730 728
731 cret := xTaskGetCompleted(x.GoPointer())729 cret := xTaskGetCompleted(x.GoPointer())
732-
733 return cret730 return cret
734 }731 }
735 732
@@ -745,7 +742,6 @@ var xTaskGetContext func(uintptr) *glib.MainContext
745 func (x *Task) GetContext() *glib.MainContext {742 func (x *Task) GetContext() *glib.MainContext {
746 743
747 cret := xTaskGetContext(x.GoPointer())744 cret := xTaskGetContext(x.GoPointer())
748-
749 return cret745 return cret
750 }746 }
751 747
@@ -755,7 +751,6 @@ var xTaskGetName func(uintptr) string
755 func (x *Task) GetName() string {751 func (x *Task) GetName() string {
756 752
757 cret := xTaskGetName(x.GoPointer())753 cret := xTaskGetName(x.GoPointer())
758-
759 return cret754 return cret
760 }755 }
761 756
@@ -765,7 +760,6 @@ var xTaskGetPriority func(uintptr) int
765 func (x *Task) GetPriority() int {760 func (x *Task) GetPriority() int {
766 761
767 cret := xTaskGetPriority(x.GoPointer())762 cret := xTaskGetPriority(x.GoPointer())
768-
769 return cret763 return cret
770 }764 }
771 765
@@ -776,7 +770,6 @@ var xTaskGetReturnOnCancel func(uintptr) bool
776 func (x *Task) GetReturnOnCancel() bool {770 func (x *Task) GetReturnOnCancel() bool {
777 771
778 cret := xTaskGetReturnOnCancel(x.GoPointer())772 cret := xTaskGetReturnOnCancel(x.GoPointer())
779-
780 return cret773 return cret
781 }774 }
782 775
@@ -804,7 +797,6 @@ var xTaskGetSourceTag func(uintptr) uintptr
804 func (x *Task) GetSourceTag() uintptr {797 func (x *Task) GetSourceTag() uintptr {
805 798
806 cret := xTaskGetSourceTag(x.GoPointer())799 cret := xTaskGetSourceTag(x.GoPointer())
807-
808 return cret800 return cret
809 }801 }
810 802
@@ -814,7 +806,6 @@ var xTaskGetTaskData func(uintptr) uintptr
814 func (x *Task) GetTaskData() uintptr {806 func (x *Task) GetTaskData() uintptr {
815 807
816 cret := xTaskGetTaskData(x.GoPointer())808 cret := xTaskGetTaskData(x.GoPointer())
817-
818 return cret809 return cret
819 }810 }
820 811
@@ -824,7 +815,6 @@ var xTaskHadError func(uintptr) bool
824 func (x *Task) HadError() bool {815 func (x *Task) HadError() bool {
825 816
826 cret := xTaskHadError(x.GoPointer())817 cret := xTaskHadError(x.GoPointer())
827-
828 return cret818 return cret
829 }819 }
830 820
@@ -841,7 +831,6 @@ func (x *Task) PropagateBoolean() (bool, error) {
841 var cerr *glib.Error831 var cerr *glib.Error
842 832
843 cret := xTaskPropagateBoolean(x.GoPointer())833 cret := xTaskPropagateBoolean(x.GoPointer())
844-
845 if cerr == nil {834 if cerr == nil {
846 return cret, nil835 return cret, nil
847 }836 }
@@ -862,7 +851,6 @@ func (x *Task) PropagateInt() (int, error) {
862 var cerr *glib.Error851 var cerr *glib.Error
863 852
864 cret := xTaskPropagateInt(x.GoPointer())853 cret := xTaskPropagateInt(x.GoPointer())
865-
866 if cerr == nil {854 if cerr == nil {
867 return cret, nil855 return cret, nil
868 }856 }
@@ -884,7 +872,6 @@ func (x *Task) PropagatePointer() (uintptr, error) {
884 var cerr *glib.Error872 var cerr *glib.Error
885 873
886 cret := xTaskPropagatePointer(x.GoPointer())874 cret := xTaskPropagatePointer(x.GoPointer())
887-
888 if cerr == nil {875 if cerr == nil {
889 return cret, nil876 return cret, nil
890 }877 }
@@ -908,7 +895,6 @@ func (x *Task) PropagateValue(ValueVar *gobject.Value) (bool, error) {
908 var cerr *glib.Error895 var cerr *glib.Error
909 896
910 cret := xTaskPropagateValue(x.GoPointer(), ValueVar, &cerr)897 cret := xTaskPropagateValue(x.GoPointer(), ValueVar, &cerr)
911-
912 if cerr == nil {898 if cerr == nil {
913 return cret, nil899 return cret, nil
914 }900 }
@@ -956,7 +942,6 @@ var xTaskReturnErrorIfCancelled func(uintptr) bool
956 func (x *Task) ReturnErrorIfCancelled() bool {942 func (x *Task) ReturnErrorIfCancelled() bool {
957 943
958 cret := xTaskReturnErrorIfCancelled(x.GoPointer())944 cret := xTaskReturnErrorIfCancelled(x.GoPointer())
959-
960 return cret945 return cret
961 }946 }
962 947
@@ -1193,12 +1178,11 @@ var xTaskSetName func(uintptr, uintptr)
1193 // other than the one it was constructed in.1178 // other than the one it was constructed in.
1194 func (x *Task) SetName(NameVar *string) {1179 func (x *Task) SetName(NameVar *string) {
1195 1180
1196- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)1181+ NameVarPtr := core.GStrdupNullable(NameVar)
1182+ defer core.GFreeNullable(NameVarPtr)
1197 1183
1198 xTaskSetName(x.GoPointer(), NameVarPtr)1184 xTaskSetName(x.GoPointer(), NameVarPtr)
1199 1185
1200- runtime.KeepAlive(NameVarBytes)
1201-
1202 }1186 }
1203 1187
1204 var xTaskSetPriority func(uintptr, int)1188 var xTaskSetPriority func(uintptr, int)
@@ -1249,7 +1233,6 @@ var xTaskSetReturnOnCancel func(uintptr, bool) bool
1249 func (x *Task) SetReturnOnCancel(ReturnOnCancelVar bool) bool {1233 func (x *Task) SetReturnOnCancel(ReturnOnCancelVar bool) bool {
1250 1234
1251 cret := xTaskSetReturnOnCancel(x.GoPointer(), ReturnOnCancelVar)1235 cret := xTaskSetReturnOnCancel(x.GoPointer(), ReturnOnCancelVar)
1252-
1253 return cret1236 return cret
1254 }1237 }
1255 1238
@@ -1283,12 +1266,11 @@ var xTaskSetStaticName func(uintptr, uintptr)
1283 // unless a name is set.1266 // unless a name is set.
1284 func (x *Task) SetStaticName(NameVar *string) {1267 func (x *Task) SetStaticName(NameVar *string) {
1285 1268
1286- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)1269+ NameVarPtr := core.GStrdupNullable(NameVar)
1270+ defer core.GFreeNullable(NameVarPtr)
1287 1271
1288 xTaskSetStaticName(x.GoPointer(), NameVarPtr)1272 xTaskSetStaticName(x.GoPointer(), NameVarPtr)
1289 1273
1290- runtime.KeepAlive(NameVarBytes)
1291-
1292 }1274 }
1293 1275
1294 var xTaskSetTaskData func(uintptr, uintptr, uintptr)1276 var xTaskSetTaskData func(uintptr, uintptr, uintptr)
@@ -1355,7 +1337,6 @@ func (x *Task) GetPropertyCompleted() bool {
1355 func (x *Task) GetUserData() uintptr {1337 func (x *Task) GetUserData() uintptr {
1356 1338
1357 cret := XGAsyncResultGetUserData(x.GoPointer())1339 cret := XGAsyncResultGetUserData(x.GoPointer())
1358-
1359 return cret1340 return cret
1360 }1341 }
1361 1342
@@ -1364,7 +1345,6 @@ func (x *Task) GetUserData() uintptr {
1364 func (x *Task) IsTagged(SourceTagVar uintptr) bool {1345 func (x *Task) IsTagged(SourceTagVar uintptr) bool {
1365 1346
1366 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)1347 cret := XGAsyncResultIsTagged(x.GoPointer(), SourceTagVar)
1367-
1368 return cret1348 return cret
1369 }1349 }
1370 1350
@@ -1382,7 +1362,6 @@ func (x *Task) LegacyPropagateError() (bool, error) {
1382 var cerr *glib.Error1362 var cerr *glib.Error
1383 1363
1384 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())1364 cret := XGAsyncResultLegacyPropagateError(x.GoPointer())
1385-
1386 if cerr == nil {1365 if cerr == nil {
1387 return cret, nil1366 return cret, nil
1388 }1367 }
@@ -1398,7 +1377,6 @@ var xTaskIsValid func(uintptr, uintptr) bool
1398 func TaskIsValid(ResultVar AsyncResult, SourceObjectVar *gobject.Object) bool {1377 func TaskIsValid(ResultVar AsyncResult, SourceObjectVar *gobject.Object) bool {
1399 1378
1400 cret := xTaskIsValid(ResultVar.GoPointer(), SourceObjectVar.GoPointer())1379 cret := xTaskIsValid(ResultVar.GoPointer(), SourceObjectVar.GoPointer())
1401-
1402 return cret1380 return cret
1403 }1381 }
1404 1382
M v4/gio/gtcpconnection.go +0 -1
@@ -54,7 +54,6 @@ 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-
58 return cret57 return cret
59 }58 }
60 59
M v4/gio/gtestdbus.go +0 -2
@@ -152,7 +152,6 @@ 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-
156 return cret155 return cret
157 }156 }
158 157
@@ -162,7 +161,6 @@ var xTestDBusGetFlags func(uintptr) TestDBusFlags
162 func (x *TestDBus) GetFlags() TestDBusFlags {161 func (x *TestDBus) GetFlags() TestDBusFlags {
163 162
164 cret := xTestDBusGetFlags(x.GoPointer())163 cret := xTestDBusGetFlags(x.GoPointer())
165-
166 return cret164 return cret
167 }165 }
168 166
M v4/gio/gthemedicon.go +0 -5
@@ -126,7 +126,6 @@ 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-
130 return cret129 return cret
131 }130 }
132 131
@@ -232,7 +231,6 @@ func (x *ThemedIcon) GetPropertyUseDefaultFallbacks() bool {
232 func (x *ThemedIcon) Equal(Icon2Var Icon) bool {231 func (x *ThemedIcon) Equal(Icon2Var Icon) bool {
233 232
234 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())233 cret := XGIconEqual(x.GoPointer(), Icon2Var.GoPointer())
235-
236 return cret234 return cret
237 }235 }
238 236
@@ -240,7 +238,6 @@ func (x *ThemedIcon) Equal(Icon2Var Icon) bool {
240 func (x *ThemedIcon) Hash() uint {238 func (x *ThemedIcon) Hash() uint {
241 239
242 cret := XGIconHash(x.GoPointer())240 cret := XGIconHash(x.GoPointer())
243-
244 return cret241 return cret
245 }242 }
246 243
@@ -252,7 +249,6 @@ func (x *ThemedIcon) Hash() uint {
252 func (x *ThemedIcon) Serialize() *glib.Variant {249 func (x *ThemedIcon) Serialize() *glib.Variant {
253 250
254 cret := XGIconSerialize(x.GoPointer())251 cret := XGIconSerialize(x.GoPointer())
255-
256 return cret252 return cret
257 }253 }
258 254
@@ -275,7 +271,6 @@ func (x *ThemedIcon) Serialize() *glib.Variant {
275 func (x *ThemedIcon) ToString() string {271 func (x *ThemedIcon) ToString() string {
276 272
277 cret := XGIconToString(x.GoPointer())273 cret := XGIconToString(x.GoPointer())
278-
279 return cret274 return cret
280 }275 }
281 276
M v4/gio/gtlsbackend.go +0 -8
@@ -318,7 +318,6 @@ 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-
322 return cret321 return cret
323 }322 }
324 323
@@ -326,7 +325,6 @@ func (x *TlsBackendBase) GetCertificateType() types.GType {
326 func (x *TlsBackendBase) GetClientConnectionType() types.GType {325 func (x *TlsBackendBase) GetClientConnectionType() types.GType {
327 326
328 cret := XGTlsBackendGetClientConnectionType(x.GoPointer())327 cret := XGTlsBackendGetClientConnectionType(x.GoPointer())
329-
330 return cret328 return cret
331 }329 }
332 330
@@ -348,7 +346,6 @@ func (x *TlsBackendBase) GetDefaultDatabase() *TlsDatabase {
348 func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType {346 func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType {
349 347
350 cret := XGTlsBackendGetDtlsClientConnectionType(x.GoPointer())348 cret := XGTlsBackendGetDtlsClientConnectionType(x.GoPointer())
351-
352 return cret349 return cret
353 }350 }
354 351
@@ -356,7 +353,6 @@ func (x *TlsBackendBase) GetDtlsClientConnectionType() types.GType {
356 func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType {353 func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType {
357 354
358 cret := XGTlsBackendGetDtlsServerConnectionType(x.GoPointer())355 cret := XGTlsBackendGetDtlsServerConnectionType(x.GoPointer())
359-
360 return cret356 return cret
361 }357 }
362 358
@@ -364,7 +360,6 @@ func (x *TlsBackendBase) GetDtlsServerConnectionType() types.GType {
364 func (x *TlsBackendBase) GetFileDatabaseType() types.GType {360 func (x *TlsBackendBase) GetFileDatabaseType() types.GType {
365 361
366 cret := XGTlsBackendGetFileDatabaseType(x.GoPointer())362 cret := XGTlsBackendGetFileDatabaseType(x.GoPointer())
367-
368 return cret363 return cret
369 }364 }
370 365
@@ -372,7 +367,6 @@ func (x *TlsBackendBase) GetFileDatabaseType() types.GType {
372 func (x *TlsBackendBase) GetServerConnectionType() types.GType {367 func (x *TlsBackendBase) GetServerConnectionType() types.GType {
373 368
374 cret := XGTlsBackendGetServerConnectionType(x.GoPointer())369 cret := XGTlsBackendGetServerConnectionType(x.GoPointer())
375-
376 return cret370 return cret
377 }371 }
378 372
@@ -395,7 +389,6 @@ func (x *TlsBackendBase) SetDefaultDatabase(DatabaseVar *TlsDatabase) {
395 func (x *TlsBackendBase) SupportsDtls() bool {389 func (x *TlsBackendBase) SupportsDtls() bool {
396 390
397 cret := XGTlsBackendSupportsDtls(x.GoPointer())391 cret := XGTlsBackendSupportsDtls(x.GoPointer())
398-
399 return cret392 return cret
400 }393 }
401 394
@@ -404,7 +397,6 @@ func (x *TlsBackendBase) SupportsDtls() bool {
404 func (x *TlsBackendBase) SupportsTls() bool {397 func (x *TlsBackendBase) SupportsTls() bool {
405 398
406 cret := XGTlsBackendSupportsTls(x.GoPointer())399 cret := XGTlsBackendSupportsTls(x.GoPointer())
407-
408 return cret400 return cret
409 }401 }
410 402
M v4/gio/gtlscertificate.go +4 -16
@@ -2,7 +2,6 @@
2 package gio2 package gio
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -237,12 +236,11 @@ func NewTlsCertificateFromPkcs11Uris(Pkcs11UriVar string, PrivateKeyPkcs11UriVar
237 var cls *TlsCertificate236 var cls *TlsCertificate
238 var cerr *glib.Error237 var cerr *glib.Error
239 238
240- PrivateKeyPkcs11UriVarPtr, PrivateKeyPkcs11UriVarBytes := core.NullableStringToPtr(PrivateKeyPkcs11UriVar)239+ PrivateKeyPkcs11UriVarPtr := core.GStrdupNullable(PrivateKeyPkcs11UriVar)
240+ defer core.GFreeNullable(PrivateKeyPkcs11UriVarPtr)
241 241
242 cret := xNewTlsCertificateFromPkcs11Uris(Pkcs11UriVar, PrivateKeyPkcs11UriVarPtr, &cerr)242 cret := xNewTlsCertificateFromPkcs11Uris(Pkcs11UriVar, PrivateKeyPkcs11UriVarPtr, &cerr)
243 243
244- runtime.KeepAlive(PrivateKeyPkcs11UriVarBytes)
245-
246 if cret == 0 {244 if cret == 0 {
247 return nil, cerr245 return nil, cerr
248 }246 }
@@ -278,12 +276,11 @@ func NewTlsCertificateFromPkcs12(DataVar []byte, LengthVar uint, PasswordVar *st
278 var cls *TlsCertificate276 var cls *TlsCertificate
279 var cerr *glib.Error277 var cerr *glib.Error
280 278
281- PasswordVarPtr, PasswordVarBytes := core.NullableStringToPtr(PasswordVar)279+ PasswordVarPtr := core.GStrdupNullable(PasswordVar)
280+ defer core.GFreeNullable(PasswordVarPtr)
282 281
283 cret := xNewTlsCertificateFromPkcs12(DataVar, LengthVar, PasswordVarPtr, &cerr)282 cret := xNewTlsCertificateFromPkcs12(DataVar, LengthVar, PasswordVarPtr, &cerr)
284 283
285- runtime.KeepAlive(PasswordVarBytes)
286-
287 if cret == 0 {284 if cret == 0 {
288 return nil, cerr285 return nil, cerr
289 }286 }
@@ -302,7 +299,6 @@ var xTlsCertificateGetDnsNames func(uintptr) uintptr
302 func (x *TlsCertificate) GetDnsNames() uintptr {299 func (x *TlsCertificate) GetDnsNames() uintptr {
303 300
304 cret := xTlsCertificateGetDnsNames(x.GoPointer())301 cret := xTlsCertificateGetDnsNames(x.GoPointer())
305-
306 return cret302 return cret
307 }303 }
308 304
@@ -312,7 +308,6 @@ var xTlsCertificateGetIpAddresses func(uintptr) uintptr
312 func (x *TlsCertificate) GetIpAddresses() uintptr {308 func (x *TlsCertificate) GetIpAddresses() uintptr {
313 309
314 cret := xTlsCertificateGetIpAddresses(x.GoPointer())310 cret := xTlsCertificateGetIpAddresses(x.GoPointer())
315-
316 return cret311 return cret
317 }312 }
318 313
@@ -339,7 +334,6 @@ var xTlsCertificateGetIssuerName func(uintptr) string
339 func (x *TlsCertificate) GetIssuerName() string {334 func (x *TlsCertificate) GetIssuerName() string {
340 335
341 cret := xTlsCertificateGetIssuerName(x.GoPointer())336 cret := xTlsCertificateGetIssuerName(x.GoPointer())
342-
343 return cret337 return cret
344 }338 }
345 339
@@ -349,7 +343,6 @@ var xTlsCertificateGetNotValidAfter func(uintptr) *glib.DateTime
349 func (x *TlsCertificate) GetNotValidAfter() *glib.DateTime {343 func (x *TlsCertificate) GetNotValidAfter() *glib.DateTime {
350 344
351 cret := xTlsCertificateGetNotValidAfter(x.GoPointer())345 cret := xTlsCertificateGetNotValidAfter(x.GoPointer())
352-
353 return cret346 return cret
354 }347 }
355 348
@@ -359,7 +352,6 @@ var xTlsCertificateGetNotValidBefore func(uintptr) *glib.DateTime
359 func (x *TlsCertificate) GetNotValidBefore() *glib.DateTime {352 func (x *TlsCertificate) GetNotValidBefore() *glib.DateTime {
360 353
361 cret := xTlsCertificateGetNotValidBefore(x.GoPointer())354 cret := xTlsCertificateGetNotValidBefore(x.GoPointer())
362-
363 return cret355 return cret
364 }356 }
365 357
@@ -369,7 +361,6 @@ var xTlsCertificateGetSubjectName func(uintptr) string
369 func (x *TlsCertificate) GetSubjectName() string {361 func (x *TlsCertificate) GetSubjectName() string {
370 362
371 cret := xTlsCertificateGetSubjectName(x.GoPointer())363 cret := xTlsCertificateGetSubjectName(x.GoPointer())
372-
373 return cret364 return cret
374 }365 }
375 366
@@ -383,7 +374,6 @@ var xTlsCertificateIsSame func(uintptr, uintptr) bool
383 func (x *TlsCertificate) IsSame(CertTwoVar *TlsCertificate) bool {374 func (x *TlsCertificate) IsSame(CertTwoVar *TlsCertificate) bool {
384 375
385 cret := xTlsCertificateIsSame(x.GoPointer(), CertTwoVar.GoPointer())376 cret := xTlsCertificateIsSame(x.GoPointer(), CertTwoVar.GoPointer())
386-
387 return cret377 return cret
388 }378 }
389 379
@@ -425,7 +415,6 @@ var xTlsCertificateVerify func(uintptr, uintptr, uintptr) TlsCertificateFlags
425 func (x *TlsCertificate) Verify(IdentityVar SocketConnectable, TrustedCaVar *TlsCertificate) TlsCertificateFlags {415 func (x *TlsCertificate) Verify(IdentityVar SocketConnectable, TrustedCaVar *TlsCertificate) TlsCertificateFlags {
426 416
427 cret := xTlsCertificateVerify(x.GoPointer(), IdentityVar.GoPointer(), TrustedCaVar.GoPointer())417 cret := xTlsCertificateVerify(x.GoPointer(), IdentityVar.GoPointer(), TrustedCaVar.GoPointer())
428-
429 return cret418 return cret
430 }419 }
431 420
@@ -751,7 +740,6 @@ func TlsCertificateListNewFromFile(FileVar string) (*glib.List, error) {
751 var cerr *glib.Error740 var cerr *glib.Error
752 741
753 cret := xTlsCertificateListNewFromFile(FileVar, &cerr)742 cret := xTlsCertificateListNewFromFile(FileVar, &cerr)
754-
755 if cerr == nil {743 if cerr == nil {
756 return cret, nil744 return cret, nil
757 }745 }
M v4/gio/gtlsclientconnection.go +0 -3
@@ -130,7 +130,6 @@ 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-
134 return cret133 return cret
135 }134 }
136 135
@@ -154,7 +153,6 @@ func (x *TlsClientConnectionBase) GetServerIdentity() *SocketConnectableBase {
154 func (x *TlsClientConnectionBase) GetUseSsl3() bool {153 func (x *TlsClientConnectionBase) GetUseSsl3() bool {
155 154
156 cret := XGTlsClientConnectionGetUseSsl3(x.GoPointer())155 cret := XGTlsClientConnectionGetUseSsl3(x.GoPointer())
157-
158 return cret156 return cret
159 }157 }
160 158
@@ -166,7 +164,6 @@ func (x *TlsClientConnectionBase) GetUseSsl3() bool {
166 func (x *TlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags {164 func (x *TlsClientConnectionBase) GetValidationFlags() TlsCertificateFlags {
167 165
168 cret := XGTlsClientConnectionGetValidationFlags(x.GoPointer())166 cret := XGTlsClientConnectionGetValidationFlags(x.GoPointer())
169-
170 return cret167 return cret
171 }168 }
172 169
M v4/gio/gtlsconnection.go +0 -13
@@ -201,7 +201,6 @@ var xTlsChannelBindingErrorQuark func() glib.Quark
201 func TlsChannelBindingErrorQuark() glib.Quark {201 func TlsChannelBindingErrorQuark() glib.Quark {
202 202
203 cret := xTlsChannelBindingErrorQuark()203 cret := xTlsChannelBindingErrorQuark()
204-
205 return cret204 return cret
206 }205 }
207 206
@@ -211,7 +210,6 @@ var xTlsErrorQuark func() glib.Quark
211 func TlsErrorQuark() glib.Quark {210 func TlsErrorQuark() glib.Quark {
212 211
213 cret := xTlsErrorQuark()212 cret := xTlsErrorQuark()
214-
215 return cret213 return cret
216 }214 }
217 215
@@ -245,7 +243,6 @@ var xTlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFla
245 func (x *TlsConnection) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool {243 func (x *TlsConnection) EmitAcceptCertificate(PeerCertVar *TlsCertificate, ErrorsVar TlsCertificateFlags) bool {
246 244
247 cret := xTlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar)245 cret := xTlsConnectionEmitAcceptCertificate(x.GoPointer(), PeerCertVar.GoPointer(), ErrorsVar)
248-
249 return cret246 return cret
250 }247 }
251 248
@@ -286,7 +283,6 @@ func (x *TlsConnection) GetChannelBindingData(TypeVar TlsChannelBindingType, Dat
286 var cerr *glib.Error283 var cerr *glib.Error
287 284
288 cret := xTlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)285 cret := xTlsConnectionGetChannelBindingData(x.GoPointer(), TypeVar, DataVar, &cerr)
289-
290 if cerr == nil {286 if cerr == nil {
291 return cret, nil287 return cret, nil
292 }288 }
@@ -307,7 +303,6 @@ var xTlsConnectionGetCiphersuiteName func(uintptr) string
307 func (x *TlsConnection) GetCiphersuiteName() string {303 func (x *TlsConnection) GetCiphersuiteName() string {
308 304
309 cret := xTlsConnectionGetCiphersuiteName(x.GoPointer())305 cret := xTlsConnectionGetCiphersuiteName(x.GoPointer())
310-
311 return cret306 return cret
312 }307 }
313 308
@@ -360,7 +355,6 @@ var xTlsConnectionGetNegotiatedProtocol func(uintptr) string
360 func (x *TlsConnection) GetNegotiatedProtocol() string {355 func (x *TlsConnection) GetNegotiatedProtocol() string {
361 356
362 cret := xTlsConnectionGetNegotiatedProtocol(x.GoPointer())357 cret := xTlsConnectionGetNegotiatedProtocol(x.GoPointer())
363-
364 return cret358 return cret
365 }359 }
366 360
@@ -393,7 +387,6 @@ var xTlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags
393 func (x *TlsConnection) GetPeerCertificateErrors() TlsCertificateFlags {387 func (x *TlsConnection) GetPeerCertificateErrors() TlsCertificateFlags {
394 388
395 cret := xTlsConnectionGetPeerCertificateErrors(x.GoPointer())389 cret := xTlsConnectionGetPeerCertificateErrors(x.GoPointer())
396-
397 return cret390 return cret
398 }391 }
399 392
@@ -406,7 +399,6 @@ var xTlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion
406 func (x *TlsConnection) GetProtocolVersion() TlsProtocolVersion {399 func (x *TlsConnection) GetProtocolVersion() TlsProtocolVersion {
407 400
408 cret := xTlsConnectionGetProtocolVersion(x.GoPointer())401 cret := xTlsConnectionGetProtocolVersion(x.GoPointer())
409-
410 return cret402 return cret
411 }403 }
412 404
@@ -417,7 +409,6 @@ var xTlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode
417 func (x *TlsConnection) GetRehandshakeMode() TlsRehandshakeMode {409 func (x *TlsConnection) GetRehandshakeMode() TlsRehandshakeMode {
418 410
419 cret := xTlsConnectionGetRehandshakeMode(x.GoPointer())411 cret := xTlsConnectionGetRehandshakeMode(x.GoPointer())
420-
421 return cret412 return cret
422 }413 }
423 414
@@ -429,7 +420,6 @@ var xTlsConnectionGetRequireCloseNotify func(uintptr) bool
429 func (x *TlsConnection) GetRequireCloseNotify() bool {420 func (x *TlsConnection) GetRequireCloseNotify() bool {
430 421
431 cret := xTlsConnectionGetRequireCloseNotify(x.GoPointer())422 cret := xTlsConnectionGetRequireCloseNotify(x.GoPointer())
432-
433 return cret423 return cret
434 }424 }
435 425
@@ -440,7 +430,6 @@ var xTlsConnectionGetUseSystemCertdb func(uintptr) bool
440 func (x *TlsConnection) GetUseSystemCertdb() bool {430 func (x *TlsConnection) GetUseSystemCertdb() bool {
441 431
442 cret := xTlsConnectionGetUseSystemCertdb(x.GoPointer())432 cret := xTlsConnectionGetUseSystemCertdb(x.GoPointer())
443-
444 return cret433 return cret
445 }434 }
446 435
@@ -481,7 +470,6 @@ func (x *TlsConnection) Handshake(CancellableVar *Cancellable) (bool, error) {
481 var cerr *glib.Error470 var cerr *glib.Error
482 471
483 cret := xTlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr)472 cret := xTlsConnectionHandshake(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
484-
485 if cerr == nil {473 if cerr == nil {
486 return cret, nil474 return cret, nil
487 }475 }
@@ -522,7 +510,6 @@ func (x *TlsConnection) HandshakeFinish(ResultVar AsyncResult) (bool, error) {
522 var cerr *glib.Error510 var cerr *glib.Error
523 511
524 cret := xTlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)512 cret := xTlsConnectionHandshakeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
525-
526 if cerr == nil {513 if cerr == nil {
527 return cret, nil514 return cret, nil
528 }515 }
M v4/gio/gtlsdatabase.go +0 -5
@@ -525,7 +525,6 @@ 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-
529 return cret528 return cret
530 }529 }
531 530
@@ -708,7 +707,6 @@ func (x *TlsDatabase) LookupCertificatesIssuedBy(IssuerRawDnVar []byte, Interact
708 var cerr *glib.Error707 var cerr *glib.Error
709 708
710 cret := xTlsDatabaseLookupCertificatesIssuedBy(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)709 cret := xTlsDatabaseLookupCertificatesIssuedBy(x.GoPointer(), IssuerRawDnVar, InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
711-
712 if cerr == nil {710 if cerr == nil {
713 return cret, nil711 return cret, nil
714 }712 }
@@ -753,7 +751,6 @@ func (x *TlsDatabase) LookupCertificatesIssuedByFinish(ResultVar AsyncResult) (*
753 var cerr *glib.Error751 var cerr *glib.Error
754 752
755 cret := xTlsDatabaseLookupCertificatesIssuedByFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)753 cret := xTlsDatabaseLookupCertificatesIssuedByFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
756-
757 if cerr == nil {754 if cerr == nil {
758 return cret, nil755 return cret, nil
759 }756 }
@@ -827,7 +824,6 @@ func (x *TlsDatabase) VerifyChain(ChainVar *TlsCertificate, PurposeVar string, I
827 var cerr *glib.Error824 var cerr *glib.Error
828 825
829 cret := xTlsDatabaseVerifyChain(x.GoPointer(), ChainVar.GoPointer(), PurposeVar, IdentityVar.GoPointer(), InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)826 cret := xTlsDatabaseVerifyChain(x.GoPointer(), ChainVar.GoPointer(), PurposeVar, IdentityVar.GoPointer(), InteractionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
830-
831 if cerr == nil {827 if cerr == nil {
832 return cret, nil828 return cret, nil
833 }829 }
@@ -878,7 +874,6 @@ func (x *TlsDatabase) VerifyChainFinish(ResultVar AsyncResult) (TlsCertificateFl
878 var cerr *glib.Error874 var cerr *glib.Error
879 875
880 cret := xTlsDatabaseVerifyChainFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)876 cret := xTlsDatabaseVerifyChainFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
881-
882 if cerr == nil {877 if cerr == nil {
883 return cret, nil878 return cret, nil
884 }879 }
M v4/gio/gtlsinteraction.go +0 -6
@@ -295,7 +295,6 @@ 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-
299 if cerr == nil {298 if cerr == nil {
300 return cret, nil299 return cret, nil
301 }300 }
@@ -356,7 +355,6 @@ func (x *TlsInteraction) AskPasswordFinish(ResultVar AsyncResult) (TlsInteractio
356 var cerr *glib.Error355 var cerr *glib.Error
357 356
358 cret := xTlsInteractionAskPasswordFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)357 cret := xTlsInteractionAskPasswordFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
359-
360 if cerr == nil {358 if cerr == nil {
361 return cret, nil359 return cret, nil
362 }360 }
@@ -389,7 +387,6 @@ func (x *TlsInteraction) InvokeAskPassword(PasswordVar *TlsPassword, Cancellable
389 var cerr *glib.Error387 var cerr *glib.Error
390 388
391 cret := xTlsInteractionInvokeAskPassword(x.GoPointer(), PasswordVar.GoPointer(), CancellableVar.GoPointer(), &cerr)389 cret := xTlsInteractionInvokeAskPassword(x.GoPointer(), PasswordVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
392-
393 if cerr == nil {390 if cerr == nil {
394 return cret, nil391 return cret, nil
395 }392 }
@@ -423,7 +420,6 @@ func (x *TlsInteraction) InvokeRequestCertificate(ConnectionVar *TlsConnection,
423 var cerr *glib.Error420 var cerr *glib.Error
424 421
425 cret := xTlsInteractionInvokeRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)422 cret := xTlsInteractionInvokeRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
426-
427 if cerr == nil {423 if cerr == nil {
428 return cret, nil424 return cret, nil
429 }425 }
@@ -453,7 +449,6 @@ func (x *TlsInteraction) RequestCertificate(ConnectionVar *TlsConnection, FlagsV
453 var cerr *glib.Error449 var cerr *glib.Error
454 450
455 cret := xTlsInteractionRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)451 cret := xTlsInteractionRequestCertificate(x.GoPointer(), ConnectionVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr)
456-
457 if cerr == nil {452 if cerr == nil {
458 return cret, nil453 return cret, nil
459 }454 }
@@ -508,7 +503,6 @@ func (x *TlsInteraction) RequestCertificateFinish(ResultVar AsyncResult) (TlsInt
508 var cerr *glib.Error503 var cerr *glib.Error
509 504
510 cret := xTlsInteractionRequestCertificateFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)505 cret := xTlsInteractionRequestCertificateFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
511-
512 if cerr == nil {506 if cerr == nil {
513 return cret, nil507 return cret, nil
514 }508 }
M v4/gio/gtlspassword.go +0 -4
@@ -158,7 +158,6 @@ 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-
162 return cret161 return cret
163 }162 }
164 163
@@ -168,7 +167,6 @@ var xTlsPasswordGetFlags func(uintptr) TlsPasswordFlags
168 func (x *TlsPassword) GetFlags() TlsPasswordFlags {167 func (x *TlsPassword) GetFlags() TlsPasswordFlags {
169 168
170 cret := xTlsPasswordGetFlags(x.GoPointer())169 cret := xTlsPasswordGetFlags(x.GoPointer())
171-
172 return cret170 return cret
173 }171 }
174 172
@@ -182,7 +180,6 @@ var xTlsPasswordGetValue func(uintptr, *uint) uintptr
182 func (x *TlsPassword) GetValue(LengthVar *uint) uintptr {180 func (x *TlsPassword) GetValue(LengthVar *uint) uintptr {
183 181
184 cret := xTlsPasswordGetValue(x.GoPointer(), LengthVar)182 cret := xTlsPasswordGetValue(x.GoPointer(), LengthVar)
185-
186 return cret183 return cret
187 }184 }
188 185
@@ -194,7 +191,6 @@ var xTlsPasswordGetWarning func(uintptr) string
194 func (x *TlsPassword) GetWarning() string {191 func (x *TlsPassword) GetWarning() string {
195 192
196 cret := xTlsPasswordGetWarning(x.GoPointer())193 cret := xTlsPasswordGetWarning(x.GoPointer())
197-
198 return cret194 return cret
199 }195 }
200 196
M v4/gio/gunixconnection.go +0 -4
@@ -160,7 +160,6 @@ 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-
164 if cerr == nil {163 if cerr == nil {
165 return cret, nil164 return cret, nil
166 }165 }
@@ -193,7 +192,6 @@ func (x *UnixConnection) SendCredentials(CancellableVar *Cancellable) (bool, err
193 var cerr *glib.Error192 var cerr *glib.Error
194 193
195 cret := xUnixConnectionSendCredentials(x.GoPointer(), CancellableVar.GoPointer(), &cerr)194 cret := xUnixConnectionSendCredentials(x.GoPointer(), CancellableVar.GoPointer(), &cerr)
196-
197 if cerr == nil {195 if cerr == nil {
198 return cret, nil196 return cret, nil
199 }197 }
@@ -239,7 +237,6 @@ func (x *UnixConnection) SendCredentialsFinish(ResultVar AsyncResult) (bool, err
239 var cerr *glib.Error237 var cerr *glib.Error
240 238
241 cret := xUnixConnectionSendCredentialsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)239 cret := xUnixConnectionSendCredentialsFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
242-
243 if cerr == nil {240 if cerr == nil {
244 return cret, nil241 return cret, nil
245 }242 }
@@ -260,7 +257,6 @@ func (x *UnixConnection) SendFd(FdVar int, CancellableVar *Cancellable) (bool, e
260 var cerr *glib.Error257 var cerr *glib.Error
261 258
262 cret := xUnixConnectionSendFd(x.GoPointer(), FdVar, CancellableVar.GoPointer(), &cerr)259 cret := xUnixConnectionSendFd(x.GoPointer(), FdVar, CancellableVar.GoPointer(), &cerr)
263-
264 if cerr == nil {260 if cerr == nil {
265 return cret, nil261 return cret, nil
266 }262 }
M v4/gio/gunixcredentialsmessage.go +0 -1
@@ -181,7 +181,6 @@ var xUnixCredentialsMessageIsSupported func() bool
181 func UnixCredentialsMessageIsSupported() bool {181 func UnixCredentialsMessageIsSupported() bool {
182 182
183 cret := xUnixCredentialsMessageIsSupported()183 cret := xUnixCredentialsMessageIsSupported()
184-
185 return cret184 return cret
186 }185 }
187 186
M v4/gio/gunixfdlist.go +0 -5
@@ -242,7 +242,6 @@ 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-
246 if cerr == nil {245 if cerr == nil {
247 return cret, nil246 return cret, nil
248 }247 }
@@ -268,7 +267,6 @@ func (x *UnixFDList) Get(IndexVar int) (int, error) {
268 var cerr *glib.Error267 var cerr *glib.Error
269 268
270 cret := xUnixFDListGet(x.GoPointer(), IndexVar, &cerr)269 cret := xUnixFDListGet(x.GoPointer(), IndexVar, &cerr)
271-
272 if cerr == nil {270 if cerr == nil {
273 return cret, nil271 return cret, nil
274 }272 }
@@ -283,7 +281,6 @@ var xUnixFDListGetLength func(uintptr) int
283 func (x *UnixFDList) GetLength() int {281 func (x *UnixFDList) GetLength() int {
284 282
285 cret := xUnixFDListGetLength(x.GoPointer())283 cret := xUnixFDListGetLength(x.GoPointer())
286-
287 return cret284 return cret
288 }285 }
289 286
@@ -305,7 +302,6 @@ var xUnixFDListPeekFds func(uintptr, *int) uintptr
305 func (x *UnixFDList) PeekFds(LengthVar *int) uintptr {302 func (x *UnixFDList) PeekFds(LengthVar *int) uintptr {
306 303
307 cret := xUnixFDListPeekFds(x.GoPointer(), LengthVar)304 cret := xUnixFDListPeekFds(x.GoPointer(), LengthVar)
308-
309 return cret305 return cret
310 }306 }
311 307
@@ -332,7 +328,6 @@ var xUnixFDListStealFds func(uintptr, *int) uintptr
332 func (x *UnixFDList) StealFds(LengthVar *int) uintptr {328 func (x *UnixFDList) StealFds(LengthVar *int) uintptr {
333 329
334 cret := xUnixFDListStealFds(x.GoPointer(), LengthVar)330 cret := xUnixFDListStealFds(x.GoPointer(), LengthVar)
335-
336 return cret331 return cret
337 }332 }
338 333
M v4/gio/gunixsocketaddress.go +0 -6
@@ -153,7 +153,6 @@ 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-
157 return cret156 return cret
158 }157 }
159 158
@@ -163,7 +162,6 @@ var xUnixSocketAddressGetIsAbstract func(uintptr) bool
163 func (x *UnixSocketAddress) GetIsAbstract() bool {162 func (x *UnixSocketAddress) GetIsAbstract() bool {
164 163
165 cret := xUnixSocketAddressGetIsAbstract(x.GoPointer())164 cret := xUnixSocketAddressGetIsAbstract(x.GoPointer())
166-
167 return cret165 return cret
168 }166 }
169 167
@@ -178,7 +176,6 @@ var xUnixSocketAddressGetPath func(uintptr) string
178 func (x *UnixSocketAddress) GetPath() string {176 func (x *UnixSocketAddress) GetPath() string {
179 177
180 cret := xUnixSocketAddressGetPath(x.GoPointer())178 cret := xUnixSocketAddressGetPath(x.GoPointer())
181-
182 return cret179 return cret
183 }180 }
184 181
@@ -190,7 +187,6 @@ var xUnixSocketAddressGetPathLen func(uintptr) uint
190 func (x *UnixSocketAddress) GetPathLen() uint {187 func (x *UnixSocketAddress) GetPathLen() uint {
191 188
192 cret := xUnixSocketAddressGetPathLen(x.GoPointer())189 cret := xUnixSocketAddressGetPathLen(x.GoPointer())
193-
194 return cret190 return cret
195 }191 }
196 192
@@ -310,7 +306,6 @@ func (x *UnixSocketAddress) ProxyEnumerate() *SocketAddressEnumerator {
310 func (x *UnixSocketAddress) ToString() string {306 func (x *UnixSocketAddress) ToString() string {
311 307
312 cret := XGSocketConnectableToString(x.GoPointer())308 cret := XGSocketConnectableToString(x.GoPointer())
313-
314 return cret309 return cret
315 }310 }
316 311
@@ -320,7 +315,6 @@ var xUnixSocketAddressAbstractNamesSupported func() bool
320 func UnixSocketAddressAbstractNamesSupported() bool {315 func UnixSocketAddressAbstractNamesSupported() bool {
321 316
322 cret := xUnixSocketAddressAbstractNamesSupported()317 cret := xUnixSocketAddressAbstractNamesSupported()
323-
324 return cret318 return cret
325 }319 }
326 320
M v4/gio/gvfs.go +0 -4
@@ -560,7 +560,6 @@ 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-
564 return cret563 return cret
565 }564 }
566 565
@@ -570,7 +569,6 @@ var xVfsIsActive func(uintptr) bool
570 func (x *Vfs) IsActive() bool {569 func (x *Vfs) IsActive() bool {
571 570
572 cret := xVfsIsActive(x.GoPointer())571 cret := xVfsIsActive(x.GoPointer())
573-
574 return cret572 return cret
575 }573 }
576 574
@@ -677,7 +675,6 @@ func (x *Vfs) RegisterUriScheme(SchemeVar string, UriFuncVar *VfsFileLookupFunc,
677 }675 }
678 676
679 cret := xVfsRegisterUriScheme(x.GoPointer(), SchemeVar, UriFuncVarRef, UriDataVar, UriDestroyVarRef, ParseNameFuncVarRef, ParseNameDataVar, ParseNameDestroyVarRef)677 cret := xVfsRegisterUriScheme(x.GoPointer(), SchemeVar, UriFuncVarRef, UriDataVar, UriDestroyVarRef, ParseNameFuncVarRef, ParseNameDataVar, ParseNameDestroyVarRef)
680-
681 return cret678 return cret
682 }679 }
683 680
@@ -688,7 +685,6 @@ var xVfsUnregisterUriScheme func(uintptr, string) bool
688 func (x *Vfs) UnregisterUriScheme(SchemeVar string) bool {685 func (x *Vfs) UnregisterUriScheme(SchemeVar string) bool {
689 686
690 cret := xVfsUnregisterUriScheme(x.GoPointer(), SchemeVar)687 cret := xVfsUnregisterUriScheme(x.GoPointer(), SchemeVar)
691-
692 return cret688 return cret
693 }689 }
694 690
M v4/gio/gvolume.go +0 -11
@@ -755,7 +755,6 @@ 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-
759 return cret758 return cret
760 }759 }
761 760
@@ -763,7 +762,6 @@ func (x *VolumeBase) CanEject() bool {
763 func (x *VolumeBase) CanMount() bool {762 func (x *VolumeBase) CanMount() bool {
764 763
765 cret := XGVolumeCanMount(x.GoPointer())764 cret := XGVolumeCanMount(x.GoPointer())
766-
767 return cret765 return cret
768 }766 }
769 767
@@ -782,7 +780,6 @@ func (x *VolumeBase) EjectFinish(ResultVar AsyncResult) (bool, error) {
782 var cerr *glib.Error780 var cerr *glib.Error
783 781
784 cret := XGVolumeEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)782 cret := XGVolumeEjectFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
785-
786 if cerr == nil {783 if cerr == nil {
787 return cret, nil784 return cret, nil
788 }785 }
@@ -805,7 +802,6 @@ func (x *VolumeBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, erro
805 var cerr *glib.Error802 var cerr *glib.Error
806 803
807 cret := XGVolumeEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)804 cret := XGVolumeEjectWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
808-
809 if cerr == nil {805 if cerr == nil {
810 return cret, nil806 return cret, nil
811 }807 }
@@ -818,7 +814,6 @@ func (x *VolumeBase) EjectWithOperationFinish(ResultVar AsyncResult) (bool, erro
818 func (x *VolumeBase) EnumerateIdentifiers() []string {814 func (x *VolumeBase) EnumerateIdentifiers() []string {
819 815
820 cret := XGVolumeEnumerateIdentifiers(x.GoPointer())816 cret := XGVolumeEnumerateIdentifiers(x.GoPointer())
821-
822 return cret817 return cret
823 }818 }
824 819
@@ -899,7 +894,6 @@ func (x *VolumeBase) GetIcon() *IconBase {
899 func (x *VolumeBase) GetIdentifier(KindVar string) string {894 func (x *VolumeBase) GetIdentifier(KindVar string) string {
900 895
901 cret := XGVolumeGetIdentifier(x.GoPointer(), KindVar)896 cret := XGVolumeGetIdentifier(x.GoPointer(), KindVar)
902-
903 return cret897 return cret
904 }898 }
905 899
@@ -921,7 +915,6 @@ func (x *VolumeBase) GetMount() *MountBase {
921 func (x *VolumeBase) GetName() string {915 func (x *VolumeBase) GetName() string {
922 916
923 cret := XGVolumeGetName(x.GoPointer())917 cret := XGVolumeGetName(x.GoPointer())
924-
925 return cret918 return cret
926 }919 }
927 920
@@ -929,7 +922,6 @@ func (x *VolumeBase) GetName() string {
929 func (x *VolumeBase) GetSortKey() string {922 func (x *VolumeBase) GetSortKey() string {
930 923
931 cret := XGVolumeGetSortKey(x.GoPointer())924 cret := XGVolumeGetSortKey(x.GoPointer())
932-
933 return cret925 return cret
934 }926 }
935 927
@@ -954,7 +946,6 @@ func (x *VolumeBase) GetSymbolicIcon() *IconBase {
954 func (x *VolumeBase) GetUuid() string {946 func (x *VolumeBase) GetUuid() string {
955 947
956 cret := XGVolumeGetUuid(x.GoPointer())948 cret := XGVolumeGetUuid(x.GoPointer())
957-
958 return cret949 return cret
959 }950 }
960 951
@@ -978,7 +969,6 @@ func (x *VolumeBase) MountFinish(ResultVar AsyncResult) (bool, error) {
978 var cerr *glib.Error969 var cerr *glib.Error
979 970
980 cret := XGVolumeMountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)971 cret := XGVolumeMountFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr)
981-
982 if cerr == nil {972 if cerr == nil {
983 return cret, nil973 return cret, nil
984 }974 }
@@ -990,7 +980,6 @@ func (x *VolumeBase) MountFinish(ResultVar AsyncResult) (bool, error) {
990 func (x *VolumeBase) ShouldAutomount() bool {980 func (x *VolumeBase) ShouldAutomount() bool {
991 981
992 cret := XGVolumeShouldAutomount(x.GoPointer())982 cret := XGVolumeShouldAutomount(x.GoPointer())
993-
994 return cret983 return cret
995 }984 }
996 985
M v4/gio/gvolumemonitor.go +0 -3
@@ -719,7 +719,6 @@ 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-
723 return cret722 return cret
724 }723 }
725 724
@@ -748,7 +747,6 @@ var xVolumeMonitorGetMounts func(uintptr) *glib.List
748 func (x *VolumeMonitor) GetMounts() *glib.List {747 func (x *VolumeMonitor) GetMounts() *glib.List {
749 748
750 cret := xVolumeMonitorGetMounts(x.GoPointer())749 cret := xVolumeMonitorGetMounts(x.GoPointer())
751-
752 return cret750 return cret
753 }751 }
754 752
@@ -777,7 +775,6 @@ var xVolumeMonitorGetVolumes func(uintptr) *glib.List
777 func (x *VolumeMonitor) GetVolumes() *glib.List {775 func (x *VolumeMonitor) GetVolumes() *glib.List {
778 776
779 cret := xVolumeMonitorGetVolumes(x.GoPointer())777 cret := xVolumeMonitorGetVolumes(x.GoPointer())
780-
781 return cret778 return cret
782 }779 }
783 780
M v4/gio/gzlibcompressor.go +0 -3
@@ -79,7 +79,6 @@ 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-
83 return cret82 return cret
84 }83 }
85 84
@@ -264,7 +263,6 @@ func (x *ZlibCompressor) Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar [
264 var cerr *glib.Error263 var cerr *glib.Error
265 264
266 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)265 cret := XGConverterConvert(x.GoPointer(), InbufVar, InbufSizeVar, OutbufVar, OutbufSizeVar, FlagsVar, BytesReadVar, BytesWrittenVar, &cerr)
267-
268 if cerr == nil {266 if cerr == nil {
269 return cret, nil267 return cret, nil
270 }268 }
@@ -277,7 +275,6 @@ func (x *ZlibCompressor) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, error)
277 var cerr *glib.Error275 var cerr *glib.Error
278 276
279 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)277 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)
280-
281 if cerr == nil {278 if cerr == nil {
282 return cret, nil279 return cret, nil
283 }280 }
M v4/gio/gzlibdecompressor.go +0 -2
@@ -170,7 +170,6 @@ 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-
174 if cerr == nil {173 if cerr == nil {
175 return cret, nil174 return cret, nil
176 }175 }
@@ -183,7 +182,6 @@ func (x *ZlibDecompressor) ConvertBytes(BytesVar *glib.Bytes) (*glib.Bytes, erro
183 var cerr *glib.Error182 var cerr *glib.Error
184 183
185 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)184 cret := XGConverterConvertBytes(x.GoPointer(), BytesVar, &cerr)
186-
187 if cerr == nil {185 if cerr == nil {
188 return cret, nil186 return cret, nil
189 }187 }
M v4/gio/main.go +0 -1
@@ -12,7 +12,6 @@ var xDbusErrorQuark func() glib.Quark
12 func DbusErrorQuark() glib.Quark {12 func DbusErrorQuark() glib.Quark {
13 13
14 cret := xDbusErrorQuark()14 cret := xDbusErrorQuark()
15-
16 return cret15 return cret
17 }16 }
18 17
M v4/glib/gallocator.go +0 -2
@@ -38,7 +38,6 @@ 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-
42 return cret41 return cret
43 }42 }
44 43
@@ -47,7 +46,6 @@ var xMemChunkAlloc0 func(uintptr) uintptr
47 func (x *MemChunk) Alloc0() uintptr {46 func (x *MemChunk) Alloc0() uintptr {
48 47
49 cret := xMemChunkAlloc0(x.GoPointer())48 cret := xMemChunkAlloc0(x.GoPointer())
50-
51 return cret49 return cret
52 }50 }
53 51
M v4/glib/garray.go +0 -35
@@ -101,7 +101,6 @@ 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-
105 return cret104 return cret
106 }105 }
107 106
@@ -114,7 +113,6 @@ var xNewBytesStatic func([]byte, uint) *Bytes
114 func NewBytesStatic(DataVar []byte, SizeVar uint) *Bytes {113 func NewBytesStatic(DataVar []byte, SizeVar uint) *Bytes {
115 114
116 cret := xNewBytesStatic(DataVar, SizeVar)115 cret := xNewBytesStatic(DataVar, SizeVar)
117-
118 return cret116 return cret
119 }117 }
120 118
@@ -133,7 +131,6 @@ var xNewBytesTake func(uintptr, uint) *Bytes
133 func NewBytesTake(DataVar uintptr, SizeVar uint) *Bytes {131 func NewBytesTake(DataVar uintptr, SizeVar uint) *Bytes {
134 132
135 cret := xNewBytesTake(DataVar, SizeVar)133 cret := xNewBytesTake(DataVar, SizeVar)
136-
137 return cret134 return cret
138 }135 }
139 136
@@ -166,7 +163,6 @@ func NewBytesWithFreeFunc(DataVar []byte, SizeVar uint, FreeFuncVar *DestroyNoti
166 }163 }
167 164
168 cret := xNewBytesWithFreeFunc(DataVar, SizeVar, FreeFuncVarRef, UserDataVar)165 cret := xNewBytesWithFreeFunc(DataVar, SizeVar, FreeFuncVarRef, UserDataVar)
169-
170 return cret166 return cret
171 }167 }
172 168
@@ -185,7 +181,6 @@ var xBytesCompare func(uintptr, uintptr) int
185 func (x *Bytes) Compare(Bytes2Var uintptr) int {181 func (x *Bytes) Compare(Bytes2Var uintptr) int {
186 182
187 cret := xBytesCompare(x.GoPointer(), Bytes2Var)183 cret := xBytesCompare(x.GoPointer(), Bytes2Var)
188-
189 return cret184 return cret
190 }185 }
191 186
@@ -200,7 +195,6 @@ var xBytesEqual func(uintptr, uintptr) bool
200 func (x *Bytes) Equal(Bytes2Var uintptr) bool {195 func (x *Bytes) Equal(Bytes2Var uintptr) bool {
201 196
202 cret := xBytesEqual(x.GoPointer(), Bytes2Var)197 cret := xBytesEqual(x.GoPointer(), Bytes2Var)
203-
204 return cret198 return cret
205 }199 }
206 200
@@ -218,7 +212,6 @@ var xBytesGetData func(uintptr, *uint) uintptr
218 func (x *Bytes) GetData(SizeVar *uint) uintptr {212 func (x *Bytes) GetData(SizeVar *uint) uintptr {
219 213
220 cret := xBytesGetData(x.GoPointer(), SizeVar)214 cret := xBytesGetData(x.GoPointer(), SizeVar)
221-
222 return cret215 return cret
223 }216 }
224 217
@@ -247,7 +240,6 @@ var xBytesGetRegion func(uintptr, uint, uint, uint) uintptr
247 func (x *Bytes) GetRegion(ElementSizeVar uint, OffsetVar uint, NElementsVar uint) uintptr {240 func (x *Bytes) GetRegion(ElementSizeVar uint, OffsetVar uint, NElementsVar uint) uintptr {
248 241
249 cret := xBytesGetRegion(x.GoPointer(), ElementSizeVar, OffsetVar, NElementsVar)242 cret := xBytesGetRegion(x.GoPointer(), ElementSizeVar, OffsetVar, NElementsVar)
250-
251 return cret243 return cret
252 }244 }
253 245
@@ -259,7 +251,6 @@ var xBytesGetSize func(uintptr) uint
259 func (x *Bytes) GetSize() uint {251 func (x *Bytes) GetSize() uint {
260 252
261 cret := xBytesGetSize(x.GoPointer())253 cret := xBytesGetSize(x.GoPointer())
262-
263 return cret254 return cret
264 }255 }
265 256
@@ -273,7 +264,6 @@ var xBytesHash func(uintptr) uint
273 func (x *Bytes) Hash() uint {264 func (x *Bytes) Hash() uint {
274 265
275 cret := xBytesHash(x.GoPointer())266 cret := xBytesHash(x.GoPointer())
276-
277 return cret267 return cret
278 }268 }
279 269
@@ -294,7 +284,6 @@ var xBytesNewFromBytes func(uintptr, uint, uint) *Bytes
294 func (x *Bytes) NewFromBytes(OffsetVar uint, LengthVar uint) *Bytes {284 func (x *Bytes) NewFromBytes(OffsetVar uint, LengthVar uint) *Bytes {
295 285
296 cret := xBytesNewFromBytes(x.GoPointer(), OffsetVar, LengthVar)286 cret := xBytesNewFromBytes(x.GoPointer(), OffsetVar, LengthVar)
297-
298 return cret287 return cret
299 }288 }
300 289
@@ -304,7 +293,6 @@ var xBytesRef func(uintptr) *Bytes
304 func (x *Bytes) Ref() *Bytes {293 func (x *Bytes) Ref() *Bytes {
305 294
306 cret := xBytesRef(x.GoPointer())295 cret := xBytesRef(x.GoPointer())
307-
308 return cret296 return cret
309 }297 }
310 298
@@ -338,7 +326,6 @@ var xBytesUnrefToArray func(uintptr) uintptr
338 func (x *Bytes) UnrefToArray() uintptr {326 func (x *Bytes) UnrefToArray() uintptr {
339 327
340 cret := xBytesUnrefToArray(x.GoPointer())328 cret := xBytesUnrefToArray(x.GoPointer())
341-
342 return cret329 return cret
343 }330 }
344 331
@@ -356,7 +343,6 @@ var xBytesUnrefToData func(uintptr, *uint) uintptr
356 func (x *Bytes) UnrefToData(SizeVar *uint) uintptr {343 func (x *Bytes) UnrefToData(SizeVar *uint) uintptr {
357 344
358 cret := xBytesUnrefToData(x.GoPointer(), SizeVar)345 cret := xBytesUnrefToData(x.GoPointer(), SizeVar)
359-
360 return cret346 return cret
361 }347 }
362 348
@@ -401,7 +387,6 @@ var xArrayNewTake func(uintptr, uint, bool, uint) uintptr
401 func ArrayNewTake(DataVar uintptr, LenVar uint, ClearVar bool, ElementSizeVar uint) uintptr {387 func ArrayNewTake(DataVar uintptr, LenVar uint, ClearVar bool, ElementSizeVar uint) uintptr {
402 388
403 cret := xArrayNewTake(DataVar, LenVar, ClearVar, ElementSizeVar)389 cret := xArrayNewTake(DataVar, LenVar, ClearVar, ElementSizeVar)
404-
405 return cret390 return cret
406 }391 }
407 392
@@ -429,7 +414,6 @@ var xArrayNewTakeZeroTerminated func(uintptr, bool, uint) uintptr
429 func ArrayNewTakeZeroTerminated(DataVar uintptr, ClearVar bool, ElementSizeVar uint) uintptr {414 func ArrayNewTakeZeroTerminated(DataVar uintptr, ClearVar bool, ElementSizeVar uint) uintptr {
430 415
431 cret := xArrayNewTakeZeroTerminated(DataVar, ClearVar, ElementSizeVar)416 cret := xArrayNewTakeZeroTerminated(DataVar, ClearVar, ElementSizeVar)
432-
433 return cret417 return cret
434 }418 }
435 419
@@ -440,7 +424,6 @@ var xByteArrayAppend func([]byte, []byte, uint) uintptr
440 func ByteArrayAppend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr {424 func ByteArrayAppend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr {
441 425
442 cret := xByteArrayAppend(ArrayVar, DataVar, LenVar)426 cret := xByteArrayAppend(ArrayVar, DataVar, LenVar)
443-
444 return cret427 return cret
445 }428 }
446 429
@@ -453,7 +436,6 @@ var xByteArrayFree func([]byte, bool) uintptr
453 func ByteArrayFree(ArrayVar []byte, FreeSegmentVar bool) uintptr {436 func ByteArrayFree(ArrayVar []byte, FreeSegmentVar bool) uintptr {
454 437
455 cret := xByteArrayFree(ArrayVar, FreeSegmentVar)438 cret := xByteArrayFree(ArrayVar, FreeSegmentVar)
456-
457 return cret439 return cret
458 }440 }
459 441
@@ -471,7 +453,6 @@ var xByteArrayFreeToBytes func([]byte) *Bytes
471 func ByteArrayFreeToBytes(ArrayVar []byte) *Bytes {453 func ByteArrayFreeToBytes(ArrayVar []byte) *Bytes {
472 454
473 cret := xByteArrayFreeToBytes(ArrayVar)455 cret := xByteArrayFreeToBytes(ArrayVar)
474-
475 return cret456 return cret
476 }457 }
477 458
@@ -481,7 +462,6 @@ var xByteArrayNew func() uintptr
481 func ByteArrayNew() uintptr {462 func ByteArrayNew() uintptr {
482 463
483 cret := xByteArrayNew()464 cret := xByteArrayNew()
484-
485 return cret465 return cret
486 }466 }
487 467
@@ -498,7 +478,6 @@ var xByteArrayNewTake func([]byte, uint) uintptr
498 func ByteArrayNewTake(DataVar []byte, LenVar uint) uintptr {478 func ByteArrayNewTake(DataVar []byte, LenVar uint) uintptr {
499 479
500 cret := xByteArrayNewTake(DataVar, LenVar)480 cret := xByteArrayNewTake(DataVar, LenVar)
501-
502 return cret481 return cret
503 }482 }
504 483
@@ -509,7 +488,6 @@ var xByteArrayPrepend func([]byte, []byte, uint) uintptr
509 func ByteArrayPrepend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr {488 func ByteArrayPrepend(ArrayVar []byte, DataVar []byte, LenVar uint) uintptr {
510 489
511 cret := xByteArrayPrepend(ArrayVar, DataVar, LenVar)490 cret := xByteArrayPrepend(ArrayVar, DataVar, LenVar)
512-
513 return cret491 return cret
514 }492 }
515 493
@@ -520,7 +498,6 @@ var xByteArrayRef func([]byte) uintptr
520 func ByteArrayRef(ArrayVar []byte) uintptr {498 func ByteArrayRef(ArrayVar []byte) uintptr {
521 499
522 cret := xByteArrayRef(ArrayVar)500 cret := xByteArrayRef(ArrayVar)
523-
524 return cret501 return cret
525 }502 }
526 503
@@ -531,7 +508,6 @@ var xByteArrayRemoveIndex func([]byte, uint) uintptr
531 func ByteArrayRemoveIndex(ArrayVar []byte, IndexVar uint) uintptr {508 func ByteArrayRemoveIndex(ArrayVar []byte, IndexVar uint) uintptr {
532 509
533 cret := xByteArrayRemoveIndex(ArrayVar, IndexVar)510 cret := xByteArrayRemoveIndex(ArrayVar, IndexVar)
534-
535 return cret511 return cret
536 }512 }
537 513
@@ -544,7 +520,6 @@ var xByteArrayRemoveIndexFast func([]byte, uint) uintptr
544 func ByteArrayRemoveIndexFast(ArrayVar []byte, IndexVar uint) uintptr {520 func ByteArrayRemoveIndexFast(ArrayVar []byte, IndexVar uint) uintptr {
545 521
546 cret := xByteArrayRemoveIndexFast(ArrayVar, IndexVar)522 cret := xByteArrayRemoveIndexFast(ArrayVar, IndexVar)
547-
548 return cret523 return cret
549 }524 }
550 525
@@ -555,7 +530,6 @@ var xByteArrayRemoveRange func([]byte, uint, uint) uintptr
555 func ByteArrayRemoveRange(ArrayVar []byte, IndexVar uint, LengthVar uint) uintptr {530 func ByteArrayRemoveRange(ArrayVar []byte, IndexVar uint, LengthVar uint) uintptr {
556 531
557 cret := xByteArrayRemoveRange(ArrayVar, IndexVar, LengthVar)532 cret := xByteArrayRemoveRange(ArrayVar, IndexVar, LengthVar)
558-
559 return cret533 return cret
560 }534 }
561 535
@@ -565,7 +539,6 @@ var xByteArraySetSize func([]byte, uint) uintptr
565 func ByteArraySetSize(ArrayVar []byte, LengthVar uint) uintptr {539 func ByteArraySetSize(ArrayVar []byte, LengthVar uint) uintptr {
566 540
567 cret := xByteArraySetSize(ArrayVar, LengthVar)541 cret := xByteArraySetSize(ArrayVar, LengthVar)
568-
569 return cret542 return cret
570 }543 }
571 544
@@ -578,7 +551,6 @@ var xByteArraySizedNew func(uint) uintptr
578 func ByteArraySizedNew(ReservedSizeVar uint) uintptr {551 func ByteArraySizedNew(ReservedSizeVar uint) uintptr {
579 552
580 cret := xByteArraySizedNew(ReservedSizeVar)553 cret := xByteArraySizedNew(ReservedSizeVar)
581-
582 return cret554 return cret
583 }555 }
584 556
@@ -648,7 +620,6 @@ var xByteArraySteal func([]byte, *uint) uintptr
648 func ByteArraySteal(ArrayVar []byte, LenVar *uint) uintptr {620 func ByteArraySteal(ArrayVar []byte, LenVar *uint) uintptr {
649 621
650 cret := xByteArraySteal(ArrayVar, LenVar)622 cret := xByteArraySteal(ArrayVar, LenVar)
651-
652 return cret623 return cret
653 }624 }
654 625
@@ -677,7 +648,6 @@ var xPtrArrayFind func([]uintptr, uintptr, *uint) bool
677 func PtrArrayFind(HaystackVar []uintptr, NeedleVar uintptr, IndexVar *uint) bool {648 func PtrArrayFind(HaystackVar []uintptr, NeedleVar uintptr, IndexVar *uint) bool {
678 649
679 cret := xPtrArrayFind(HaystackVar, NeedleVar, IndexVar)650 cret := xPtrArrayFind(HaystackVar, NeedleVar, IndexVar)
680-
681 return cret651 return cret
682 }652 }
683 653
@@ -710,7 +680,6 @@ func PtrArrayFindWithEqualFunc(HaystackVar []uintptr, NeedleVar uintptr, EqualFu
710 }680 }
711 681
712 cret := xPtrArrayFindWithEqualFunc(HaystackVar, NeedleVar, EqualFuncVarRef, IndexVar)682 cret := xPtrArrayFindWithEqualFunc(HaystackVar, NeedleVar, EqualFuncVarRef, IndexVar)
713-
714 return cret683 return cret
715 }684 }
716 685
@@ -766,7 +735,6 @@ func PtrArrayNewFromArray(DataVar []uintptr, LenVar uint, CopyFuncVar *CopyFunc,
766 }735 }
767 736
768 cret := xPtrArrayNewFromArray(DataVar, LenVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef)737 cret := xPtrArrayNewFromArray(DataVar, LenVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef)
769-
770 return cret738 return cret
771 }739 }
772 740
@@ -818,7 +786,6 @@ func PtrArrayNewFromNullTerminatedArray(DataVar []uintptr, CopyFuncVar *CopyFunc
818 }786 }
819 787
820 cret := xPtrArrayNewFromNullTerminatedArray(DataVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef)788 cret := xPtrArrayNewFromNullTerminatedArray(DataVar, CopyFuncVarRef, CopyFuncUserDataVar, ElementFreeFuncVarRef)
821-
822 return cret789 return cret
823 }790 }
824 791
@@ -858,7 +825,6 @@ func PtrArrayNewTake(DataVar []uintptr, LenVar uint, ElementFreeFuncVar *Destroy
858 }825 }
859 826
860 cret := xPtrArrayNewTake(DataVar, LenVar, ElementFreeFuncVarRef)827 cret := xPtrArrayNewTake(DataVar, LenVar, ElementFreeFuncVarRef)
861-
862 return cret828 return cret
863 }829 }
864 830
@@ -901,7 +867,6 @@ func PtrArrayNewTakeNullTerminated(DataVar []uintptr, ElementFreeFuncVar *Destro
901 }867 }
902 868
903 cret := xPtrArrayNewTakeNullTerminated(DataVar, ElementFreeFuncVarRef)869 cret := xPtrArrayNewTakeNullTerminated(DataVar, ElementFreeFuncVarRef)
904-
905 return cret870 return cret
906 }871 }
907 872
M v4/glib/gasyncqueue.go +0 -15
@@ -33,7 +33,6 @@ 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-
37 return cret36 return cret
38 }37 }
39 38
@@ -52,7 +51,6 @@ var xAsyncQueueLengthUnlocked func(uintptr) int
52 func (x *AsyncQueue) LengthUnlocked() int {51 func (x *AsyncQueue) LengthUnlocked() int {
53 52
54 cret := xAsyncQueueLengthUnlocked(x.GoPointer())53 cret := xAsyncQueueLengthUnlocked(x.GoPointer())
55-
56 return cret54 return cret
57 }55 }
58 56
@@ -80,7 +78,6 @@ var xAsyncQueuePop func(uintptr) uintptr
80 func (x *AsyncQueue) Pop() uintptr {78 func (x *AsyncQueue) Pop() uintptr {
81 79
82 cret := xAsyncQueuePop(x.GoPointer())80 cret := xAsyncQueuePop(x.GoPointer())
83-
84 return cret81 return cret
85 }82 }
86 83
@@ -93,7 +90,6 @@ var xAsyncQueuePopUnlocked func(uintptr) uintptr
93 func (x *AsyncQueue) PopUnlocked() uintptr {90 func (x *AsyncQueue) PopUnlocked() uintptr {
94 91
95 cret := xAsyncQueuePopUnlocked(x.GoPointer())92 cret := xAsyncQueuePopUnlocked(x.GoPointer())
96-
97 return cret93 return cret
98 }94 }
99 95
@@ -225,7 +221,6 @@ var xAsyncQueueRef func(uintptr) *AsyncQueue
225 func (x *AsyncQueue) Ref() *AsyncQueue {221 func (x *AsyncQueue) Ref() *AsyncQueue {
226 222
227 cret := xAsyncQueueRef(x.GoPointer())223 cret := xAsyncQueueRef(x.GoPointer())
228-
229 return cret224 return cret
230 }225 }
231 226
@@ -244,7 +239,6 @@ var xAsyncQueueRemove func(uintptr, uintptr) bool
244 func (x *AsyncQueue) Remove(ItemVar uintptr) bool {239 func (x *AsyncQueue) Remove(ItemVar uintptr) bool {
245 240
246 cret := xAsyncQueueRemove(x.GoPointer(), ItemVar)241 cret := xAsyncQueueRemove(x.GoPointer(), ItemVar)
247-
248 return cret242 return cret
249 }243 }
250 244
@@ -256,7 +250,6 @@ var xAsyncQueueRemoveUnlocked func(uintptr, uintptr) bool
256 func (x *AsyncQueue) RemoveUnlocked(ItemVar uintptr) bool {250 func (x *AsyncQueue) RemoveUnlocked(ItemVar uintptr) bool {
257 251
258 cret := xAsyncQueueRemoveUnlocked(x.GoPointer(), ItemVar)252 cret := xAsyncQueueRemoveUnlocked(x.GoPointer(), ItemVar)
259-
260 return cret253 return cret
261 }254 }
262 255
@@ -351,7 +344,6 @@ var xAsyncQueueTimedPop func(uintptr, *TimeVal) uintptr
351 func (x *AsyncQueue) TimedPop(EndTimeVar *TimeVal) uintptr {344 func (x *AsyncQueue) TimedPop(EndTimeVar *TimeVal) uintptr {
352 345
353 cret := xAsyncQueueTimedPop(x.GoPointer(), EndTimeVar)346 cret := xAsyncQueueTimedPop(x.GoPointer(), EndTimeVar)
354-
355 return cret347 return cret
356 }348 }
357 349
@@ -369,7 +361,6 @@ var xAsyncQueueTimedPopUnlocked func(uintptr, *TimeVal) uintptr
369 func (x *AsyncQueue) TimedPopUnlocked(EndTimeVar *TimeVal) uintptr {361 func (x *AsyncQueue) TimedPopUnlocked(EndTimeVar *TimeVal) uintptr {
370 362
371 cret := xAsyncQueueTimedPopUnlocked(x.GoPointer(), EndTimeVar)363 cret := xAsyncQueueTimedPopUnlocked(x.GoPointer(), EndTimeVar)
372-
373 return cret364 return cret
374 }365 }
375 366
@@ -382,7 +373,6 @@ var xAsyncQueueTimeoutPop func(uintptr, uint64) uintptr
382 func (x *AsyncQueue) TimeoutPop(TimeoutVar uint64) uintptr {373 func (x *AsyncQueue) TimeoutPop(TimeoutVar uint64) uintptr {
383 374
384 cret := xAsyncQueueTimeoutPop(x.GoPointer(), TimeoutVar)375 cret := xAsyncQueueTimeoutPop(x.GoPointer(), TimeoutVar)
385-
386 return cret376 return cret
387 }377 }
388 378
@@ -397,7 +387,6 @@ var xAsyncQueueTimeoutPopUnlocked func(uintptr, uint64) uintptr
397 func (x *AsyncQueue) TimeoutPopUnlocked(TimeoutVar uint64) uintptr {387 func (x *AsyncQueue) TimeoutPopUnlocked(TimeoutVar uint64) uintptr {
398 388
399 cret := xAsyncQueueTimeoutPopUnlocked(x.GoPointer(), TimeoutVar)389 cret := xAsyncQueueTimeoutPopUnlocked(x.GoPointer(), TimeoutVar)
400-
401 return cret390 return cret
402 }391 }
403 392
@@ -408,7 +397,6 @@ var xAsyncQueueTryPop func(uintptr) uintptr
408 func (x *AsyncQueue) TryPop() uintptr {397 func (x *AsyncQueue) TryPop() uintptr {
409 398
410 cret := xAsyncQueueTryPop(x.GoPointer())399 cret := xAsyncQueueTryPop(x.GoPointer())
411-
412 return cret400 return cret
413 }401 }
414 402
@@ -421,7 +409,6 @@ var xAsyncQueueTryPopUnlocked func(uintptr) uintptr
421 func (x *AsyncQueue) TryPopUnlocked() uintptr {409 func (x *AsyncQueue) TryPopUnlocked() uintptr {
422 410
423 cret := xAsyncQueueTryPopUnlocked(x.GoPointer())411 cret := xAsyncQueueTryPopUnlocked(x.GoPointer())
424-
425 return cret412 return cret
426 }413 }
427 414
@@ -470,7 +457,6 @@ var xAsyncQueueNew func() *AsyncQueue
470 func AsyncQueueNew() *AsyncQueue {457 func AsyncQueueNew() *AsyncQueue {
471 458
472 cret := xAsyncQueueNew()459 cret := xAsyncQueueNew()
473-
474 return cret460 return cret
475 }461 }
476 462
@@ -497,7 +483,6 @@ func AsyncQueueNewFull(ItemFreeFuncVar *DestroyNotify) *AsyncQueue {
497 }483 }
498 484
499 cret := xAsyncQueueNewFull(ItemFreeFuncVarRef)485 cret := xAsyncQueueNewFull(ItemFreeFuncVarRef)
500-
501 return cret486 return cret
502 }487 }
503 488
M v4/glib/gatomic.go +0 -18
@@ -23,7 +23,6 @@ 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-
27 return cret26 return cret
28 }27 }
29 28
@@ -42,7 +41,6 @@ var xAtomicIntAnd func(uintptr, uint) uint
42 func AtomicIntAnd(AtomicVar uintptr, ValVar uint) uint {41 func AtomicIntAnd(AtomicVar uintptr, ValVar uint) uint {
43 42
44 cret := xAtomicIntAnd(AtomicVar, ValVar)43 cret := xAtomicIntAnd(AtomicVar, ValVar)
45-
46 return cret44 return cret
47 }45 }
48 46
@@ -63,7 +61,6 @@ var xAtomicIntCompareAndExchange func(uintptr, int, int) bool
63 func AtomicIntCompareAndExchange(AtomicVar uintptr, OldvalVar int, NewvalVar int) bool {61 func AtomicIntCompareAndExchange(AtomicVar uintptr, OldvalVar int, NewvalVar int) bool {
64 62
65 cret := xAtomicIntCompareAndExchange(AtomicVar, OldvalVar, NewvalVar)63 cret := xAtomicIntCompareAndExchange(AtomicVar, OldvalVar, NewvalVar)
66-
67 return cret64 return cret
68 }65 }
69 66
@@ -84,7 +81,6 @@ var xAtomicIntCompareAndExchangeFull func(uintptr, int, int, *int) bool
84 func AtomicIntCompareAndExchangeFull(AtomicVar uintptr, OldvalVar int, NewvalVar int, PrevalVar *int) bool {81 func AtomicIntCompareAndExchangeFull(AtomicVar uintptr, OldvalVar int, NewvalVar int, PrevalVar *int) bool {
85 82
86 cret := xAtomicIntCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar)83 cret := xAtomicIntCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar)
87-
88 return cret84 return cret
89 }85 }
90 86
@@ -102,7 +98,6 @@ var xAtomicIntDecAndTest func(uintptr) bool
102 func AtomicIntDecAndTest(AtomicVar uintptr) bool {98 func AtomicIntDecAndTest(AtomicVar uintptr) bool {
103 99
104 cret := xAtomicIntDecAndTest(AtomicVar)100 cret := xAtomicIntDecAndTest(AtomicVar)
105-
106 return cret101 return cret
107 }102 }
108 103
@@ -119,7 +114,6 @@ var xAtomicIntExchange func(uintptr, int) int
119 func AtomicIntExchange(AtomicVar uintptr, NewvalVar int) int {114 func AtomicIntExchange(AtomicVar uintptr, NewvalVar int) int {
120 115
121 cret := xAtomicIntExchange(AtomicVar, NewvalVar)116 cret := xAtomicIntExchange(AtomicVar, NewvalVar)
122-
123 return cret117 return cret
124 }118 }
125 119
@@ -131,7 +125,6 @@ var xAtomicIntExchangeAndAdd func(uintptr, int) int
131 func AtomicIntExchangeAndAdd(AtomicVar uintptr, ValVar int) int {125 func AtomicIntExchangeAndAdd(AtomicVar uintptr, ValVar int) int {
132 126
133 cret := xAtomicIntExchangeAndAdd(AtomicVar, ValVar)127 cret := xAtomicIntExchangeAndAdd(AtomicVar, ValVar)
134-
135 return cret128 return cret
136 }129 }
137 130
@@ -147,7 +140,6 @@ var xAtomicIntGet func(uintptr) int
147 func AtomicIntGet(AtomicVar uintptr) int {140 func AtomicIntGet(AtomicVar uintptr) int {
148 141
149 cret := xAtomicIntGet(AtomicVar)142 cret := xAtomicIntGet(AtomicVar)
150-
151 return cret143 return cret
152 }144 }
153 145
@@ -182,7 +174,6 @@ var xAtomicIntOr func(uintptr, uint) uint
182 func AtomicIntOr(AtomicVar uintptr, ValVar uint) uint {174 func AtomicIntOr(AtomicVar uintptr, ValVar uint) uint {
183 175
184 cret := xAtomicIntOr(AtomicVar, ValVar)176 cret := xAtomicIntOr(AtomicVar, ValVar)
185-
186 return cret177 return cret
187 }178 }
188 179
@@ -216,7 +207,6 @@ var xAtomicIntXor func(uintptr, uint) uint
216 func AtomicIntXor(AtomicVar uintptr, ValVar uint) uint {207 func AtomicIntXor(AtomicVar uintptr, ValVar uint) uint {
217 208
218 cret := xAtomicIntXor(AtomicVar, ValVar)209 cret := xAtomicIntXor(AtomicVar, ValVar)
219-
220 return cret210 return cret
221 }211 }
222 212
@@ -238,7 +228,6 @@ var xAtomicPointerAdd func(uintptr, int) int
238 func AtomicPointerAdd(AtomicVar uintptr, ValVar int) int {228 func AtomicPointerAdd(AtomicVar uintptr, ValVar int) int {
239 229
240 cret := xAtomicPointerAdd(AtomicVar, ValVar)230 cret := xAtomicPointerAdd(AtomicVar, ValVar)
241-
242 return cret231 return cret
243 }232 }
244 233
@@ -261,7 +250,6 @@ var xAtomicPointerAnd func(uintptr, uint) uintptr
261 func AtomicPointerAnd(AtomicVar uintptr, ValVar uint) uintptr {250 func AtomicPointerAnd(AtomicVar uintptr, ValVar uint) uintptr {
262 251
263 cret := xAtomicPointerAnd(AtomicVar, ValVar)252 cret := xAtomicPointerAnd(AtomicVar, ValVar)
264-
265 return cret253 return cret
266 }254 }
267 255
@@ -282,7 +270,6 @@ var xAtomicPointerCompareAndExchange func(uintptr, uintptr, uintptr) bool
282 func AtomicPointerCompareAndExchange(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr) bool {270 func AtomicPointerCompareAndExchange(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr) bool {
283 271
284 cret := xAtomicPointerCompareAndExchange(AtomicVar, OldvalVar, NewvalVar)272 cret := xAtomicPointerCompareAndExchange(AtomicVar, OldvalVar, NewvalVar)
285-
286 return cret273 return cret
287 }274 }
288 275
@@ -303,7 +290,6 @@ var xAtomicPointerCompareAndExchangeFull func(uintptr, uintptr, uintptr, *uintpt
303 func AtomicPointerCompareAndExchangeFull(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr, PrevalVar *uintptr) bool {290 func AtomicPointerCompareAndExchangeFull(AtomicVar uintptr, OldvalVar uintptr, NewvalVar uintptr, PrevalVar *uintptr) bool {
304 291
305 cret := xAtomicPointerCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar)292 cret := xAtomicPointerCompareAndExchangeFull(AtomicVar, OldvalVar, NewvalVar, PrevalVar)
306-
307 return cret293 return cret
308 }294 }
309 295
@@ -320,7 +306,6 @@ var xAtomicPointerExchange func(uintptr, uintptr) uintptr
320 func AtomicPointerExchange(AtomicVar uintptr, NewvalVar uintptr) uintptr {306 func AtomicPointerExchange(AtomicVar uintptr, NewvalVar uintptr) uintptr {
321 307
322 cret := xAtomicPointerExchange(AtomicVar, NewvalVar)308 cret := xAtomicPointerExchange(AtomicVar, NewvalVar)
323-
324 return cret309 return cret
325 }310 }
326 311
@@ -336,7 +321,6 @@ var xAtomicPointerGet func(uintptr) uintptr
336 func AtomicPointerGet(AtomicVar uintptr) uintptr {321 func AtomicPointerGet(AtomicVar uintptr) uintptr {
337 322
338 cret := xAtomicPointerGet(AtomicVar)323 cret := xAtomicPointerGet(AtomicVar)
339-
340 return cret324 return cret
341 }325 }
342 326
@@ -359,7 +343,6 @@ var xAtomicPointerOr func(uintptr, uint) uintptr
359 func AtomicPointerOr(AtomicVar uintptr, ValVar uint) uintptr {343 func AtomicPointerOr(AtomicVar uintptr, ValVar uint) uintptr {
360 344
361 cret := xAtomicPointerOr(AtomicVar, ValVar)345 cret := xAtomicPointerOr(AtomicVar, ValVar)
362-
363 return cret346 return cret
364 }347 }
365 348
@@ -397,7 +380,6 @@ var xAtomicPointerXor func(uintptr, uint) uintptr
397 func AtomicPointerXor(AtomicVar uintptr, ValVar uint) uintptr {380 func AtomicPointerXor(AtomicVar uintptr, ValVar uint) uintptr {
398 381
399 cret := xAtomicPointerXor(AtomicVar, ValVar)382 cret := xAtomicPointerXor(AtomicVar, ValVar)
400-
401 return cret383 return cret
402 }384 }
403 385
M v4/glib/gbacktrace.go +2 -5
@@ -2,8 +2,6 @@
2 package glib2 package glib
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 )7 )
@@ -83,12 +81,11 @@ var xOnErrorStackTrace func(uintptr)
83 // handle that exception (see [Running GLib Applications](running.html)).81 // handle that exception (see [Running GLib Applications](running.html)).
84 func OnErrorStackTrace(PrgNameVar *string) {82 func OnErrorStackTrace(PrgNameVar *string) {
85 83
86- PrgNameVarPtr, PrgNameVarBytes := core.NullableStringToPtr(PrgNameVar)84+ PrgNameVarPtr := core.GStrdupNullable(PrgNameVar)
85+ defer core.GFreeNullable(PrgNameVarPtr)
87 86
88 xOnErrorStackTrace(PrgNameVarPtr)87 xOnErrorStackTrace(PrgNameVarPtr)
89 88
90- runtime.KeepAlive(PrgNameVarBytes)
91-
92 }89 }
93 90
94 func init() {91 func init() {
M v4/glib/gbase64.go +0 -6
@@ -14,7 +14,6 @@ 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-
18 return cret17 return cret
19 }18 }
20 19
@@ -25,7 +24,6 @@ var xBase64DecodeInplace func([]byte, uint) byte
25 func Base64DecodeInplace(TextVar []byte, OutLenVar uint) byte {24 func Base64DecodeInplace(TextVar []byte, OutLenVar uint) byte {
26 25
27 cret := xBase64DecodeInplace(TextVar, OutLenVar)26 cret := xBase64DecodeInplace(TextVar, OutLenVar)
28-
29 return cret27 return cret
30 }28 }
31 29
@@ -42,7 +40,6 @@ var xBase64DecodeStep func([]byte, uint, *[]byte, int, uint) uint
42 func Base64DecodeStep(InVar []byte, LenVar uint, OutVar *[]byte, StateVar int, SaveVar uint) uint {40 func Base64DecodeStep(InVar []byte, LenVar uint, OutVar *[]byte, StateVar int, SaveVar uint) uint {
43 41
44 cret := xBase64DecodeStep(InVar, LenVar, OutVar, StateVar, SaveVar)42 cret := xBase64DecodeStep(InVar, LenVar, OutVar, StateVar, SaveVar)
45-
46 return cret43 return cret
47 }44 }
48 45
@@ -53,7 +50,6 @@ var xBase64Encode func([]byte, uint) string
53 func Base64Encode(DataVar []byte, LenVar uint) string {50 func Base64Encode(DataVar []byte, LenVar uint) string {
54 51
55 cret := xBase64Encode(DataVar, LenVar)52 cret := xBase64Encode(DataVar, LenVar)
56-
57 return cret53 return cret
58 }54 }
59 55
@@ -69,7 +65,6 @@ var xBase64EncodeClose func(bool, *[]byte, int, int) uint
69 func Base64EncodeClose(BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint {65 func Base64EncodeClose(BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint {
70 66
71 cret := xBase64EncodeClose(BreakLinesVar, OutVar, StateVar, SaveVar)67 cret := xBase64EncodeClose(BreakLinesVar, OutVar, StateVar, SaveVar)
72-
73 return cret68 return cret
74 }69 }
75 70
@@ -97,7 +92,6 @@ var xBase64EncodeStep func([]byte, uint, bool, *[]byte, int, int) uint
97 func Base64EncodeStep(InVar []byte, LenVar uint, BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint {92 func Base64EncodeStep(InVar []byte, LenVar uint, BreakLinesVar bool, OutVar *[]byte, StateVar int, SaveVar int) uint {
98 93
99 cret := xBase64EncodeStep(InVar, LenVar, BreakLinesVar, OutVar, StateVar, SaveVar)94 cret := xBase64EncodeStep(InVar, LenVar, BreakLinesVar, OutVar, StateVar, SaveVar)
100-
101 return cret95 return cret
102 }96 }
103 97
M v4/glib/gbitlock.go +0 -3
@@ -59,7 +59,6 @@ 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-
63 return cret62 return cret
64 }63 }
65 64
@@ -131,7 +130,6 @@ var xPointerBitLockMaskPtr func(uintptr, uint, bool, uintptr, uintptr) uintptr
131 func PointerBitLockMaskPtr(PtrVar uintptr, LockBitVar uint, SetVar bool, PreserveMaskVar uintptr, PreservePtrVar uintptr) uintptr {130 func PointerBitLockMaskPtr(PtrVar uintptr, LockBitVar uint, SetVar bool, PreserveMaskVar uintptr, PreservePtrVar uintptr) uintptr {
132 131
133 cret := xPointerBitLockMaskPtr(PtrVar, LockBitVar, SetVar, PreserveMaskVar, PreservePtrVar)132 cret := xPointerBitLockMaskPtr(PtrVar, LockBitVar, SetVar, PreserveMaskVar, PreservePtrVar)
134-
135 return cret133 return cret
136 }134 }
137 135
@@ -148,7 +146,6 @@ var xPointerBitTrylock func(uintptr, int) bool
148 func PointerBitTrylock(AddressVar uintptr, LockBitVar int) bool {146 func PointerBitTrylock(AddressVar uintptr, LockBitVar int) bool {
149 147
150 cret := xPointerBitTrylock(AddressVar, LockBitVar)148 cret := xPointerBitTrylock(AddressVar, LockBitVar)
151-
152 return cret149 return cret
153 }150 }
154 151
M v4/glib/gbookmarkfile.go +14 -55
@@ -2,7 +2,6 @@
2 package glib2 package glib
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -72,7 +71,6 @@ var xNewBookmarkFile func() *BookmarkFile
72 func NewBookmarkFile() *BookmarkFile {71 func NewBookmarkFile() *BookmarkFile {
73 72
74 cret := xNewBookmarkFile()73 cret := xNewBookmarkFile()
75-
76 return cret74 return cret
77 }75 }
78 76
@@ -102,16 +100,14 @@ var xBookmarkFileAddApplication func(uintptr, string, uintptr, uintptr)
102 // If no bookmark for @uri is found, one is created.100 // If no bookmark for @uri is found, one is created.
103 func (x *BookmarkFile) AddApplication(UriVar string, NameVar *string, ExecVar *string) {101 func (x *BookmarkFile) AddApplication(UriVar string, NameVar *string, ExecVar *string) {
104 102
105- NameVarPtr, NameVarBytes := core.NullableStringToPtr(NameVar)103+ NameVarPtr := core.GStrdupNullable(NameVar)
104+ defer core.GFreeNullable(NameVarPtr)
106 105
107- ExecVarPtr, ExecVarBytes := core.NullableStringToPtr(ExecVar)106+ ExecVarPtr := core.GStrdupNullable(ExecVar)
107+ defer core.GFreeNullable(ExecVarPtr)
108 108
109 xBookmarkFileAddApplication(x.GoPointer(), UriVar, NameVarPtr, ExecVarPtr)109 xBookmarkFileAddApplication(x.GoPointer(), UriVar, NameVarPtr, ExecVarPtr)
110 110
111- runtime.KeepAlive(NameVarBytes)
112-
113- runtime.KeepAlive(ExecVarBytes)
114-
115 }111 }
116 112
117 var xBookmarkFileAddGroup func(uintptr, string, string)113 var xBookmarkFileAddGroup func(uintptr, string, string)
@@ -132,7 +128,6 @@ var xBookmarkFileCopy func(uintptr) *BookmarkFile
132 func (x *BookmarkFile) Copy() *BookmarkFile {128 func (x *BookmarkFile) Copy() *BookmarkFile {
133 129
134 cret := xBookmarkFileCopy(x.GoPointer())130 cret := xBookmarkFileCopy(x.GoPointer())
135-
136 return cret131 return cret
137 }132 }
138 133
@@ -155,7 +150,6 @@ func (x *BookmarkFile) GetAdded(UriVar string) (int, error) {
155 var cerr *Error150 var cerr *Error
156 151
157 cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr)152 cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr)
158-
159 if cerr == nil {153 if cerr == nil {
160 return cret, nil154 return cret, nil
161 }155 }
@@ -173,7 +167,6 @@ func (x *BookmarkFile) GetAddedDateTime(UriVar string) (*DateTime, error) {
173 var cerr *Error167 var cerr *Error
174 168
175 cret := xBookmarkFileGetAddedDateTime(x.GoPointer(), UriVar, &cerr)169 cret := xBookmarkFileGetAddedDateTime(x.GoPointer(), UriVar, &cerr)
176-
177 if cerr == nil {170 if cerr == nil {
178 return cret, nil171 return cret, nil
179 }172 }
@@ -200,7 +193,6 @@ func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar *string
200 var cerr *Error193 var cerr *Error
201 194
202 cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)195 cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)
203-
204 if cerr == nil {196 if cerr == nil {
205 return cret, nil197 return cret, nil
206 }198 }
@@ -227,7 +219,6 @@ func (x *BookmarkFile) GetApplicationInfo(UriVar string, NameVar string, ExecVar
227 var cerr *Error219 var cerr *Error
228 220
229 cret := xBookmarkFileGetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)221 cret := xBookmarkFileGetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)
230-
231 if cerr == nil {222 if cerr == nil {
232 return cret, nil223 return cret, nil
233 }224 }
@@ -246,7 +237,6 @@ func (x *BookmarkFile) GetApplications(UriVar string, LengthVar *uint) ([]string
246 var cerr *Error237 var cerr *Error
247 238
248 cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr)239 cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr)
249-
250 if cerr == nil {240 if cerr == nil {
251 return cret, nil241 return cret, nil
252 }242 }
@@ -264,7 +254,6 @@ func (x *BookmarkFile) GetDescription(UriVar string) (string, error) {
264 var cerr *Error254 var cerr *Error
265 255
266 cret := xBookmarkFileGetDescription(x.GoPointer(), UriVar, &cerr)256 cret := xBookmarkFileGetDescription(x.GoPointer(), UriVar, &cerr)
267-
268 if cerr == nil {257 if cerr == nil {
269 return cret, nil258 return cret, nil
270 }259 }
@@ -285,7 +274,6 @@ func (x *BookmarkFile) GetGroups(UriVar string, LengthVar *uint) ([]string, erro
285 var cerr *Error274 var cerr *Error
286 275
287 cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr)276 cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr)
288-
289 if cerr == nil {277 if cerr == nil {
290 return cret, nil278 return cret, nil
291 }279 }
@@ -303,7 +291,6 @@ func (x *BookmarkFile) GetIcon(UriVar string, HrefVar *string, MimeTypeVar *stri
303 var cerr *Error291 var cerr *Error
304 292
305 cret := xBookmarkFileGetIcon(x.GoPointer(), UriVar, HrefVar, MimeTypeVar, &cerr)293 cret := xBookmarkFileGetIcon(x.GoPointer(), UriVar, HrefVar, MimeTypeVar, &cerr)
306-
307 if cerr == nil {294 if cerr == nil {
308 return cret, nil295 return cret, nil
309 }296 }
@@ -323,7 +310,6 @@ func (x *BookmarkFile) GetIsPrivate(UriVar string) (bool, error) {
323 var cerr *Error310 var cerr *Error
324 311
325 cret := xBookmarkFileGetIsPrivate(x.GoPointer(), UriVar, &cerr)312 cret := xBookmarkFileGetIsPrivate(x.GoPointer(), UriVar, &cerr)
326-
327 if cerr == nil {313 if cerr == nil {
328 return cret, nil314 return cret, nil
329 }315 }
@@ -343,7 +329,6 @@ func (x *BookmarkFile) GetMimeType(UriVar string) (string, error) {
343 var cerr *Error329 var cerr *Error
344 330
345 cret := xBookmarkFileGetMimeType(x.GoPointer(), UriVar, &cerr)331 cret := xBookmarkFileGetMimeType(x.GoPointer(), UriVar, &cerr)
346-
347 if cerr == nil {332 if cerr == nil {
348 return cret, nil333 return cret, nil
349 }334 }
@@ -361,7 +346,6 @@ func (x *BookmarkFile) GetModified(UriVar string) (int, error) {
361 var cerr *Error346 var cerr *Error
362 347
363 cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr)348 cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr)
364-
365 if cerr == nil {349 if cerr == nil {
366 return cret, nil350 return cret, nil
367 }351 }
@@ -379,7 +363,6 @@ func (x *BookmarkFile) GetModifiedDateTime(UriVar string) (*DateTime, error) {
379 var cerr *Error363 var cerr *Error
380 364
381 cret := xBookmarkFileGetModifiedDateTime(x.GoPointer(), UriVar, &cerr)365 cret := xBookmarkFileGetModifiedDateTime(x.GoPointer(), UriVar, &cerr)
382-
383 if cerr == nil {366 if cerr == nil {
384 return cret, nil367 return cret, nil
385 }368 }
@@ -393,7 +376,6 @@ var xBookmarkFileGetSize func(uintptr) int
393 func (x *BookmarkFile) GetSize() int {376 func (x *BookmarkFile) GetSize() int {
394 377
395 cret := xBookmarkFileGetSize(x.GoPointer())378 cret := xBookmarkFileGetSize(x.GoPointer())
396-
397 return cret379 return cret
398 }380 }
399 381
@@ -408,12 +390,10 @@ var xBookmarkFileGetTitle func(uintptr, uintptr, **Error) string
408 func (x *BookmarkFile) GetTitle(UriVar *string) (string, error) {390 func (x *BookmarkFile) GetTitle(UriVar *string) (string, error) {
409 var cerr *Error391 var cerr *Error
410 392
411- UriVarPtr, UriVarBytes := core.NullableStringToPtr(UriVar)393+ UriVarPtr := core.GStrdupNullable(UriVar)
394+ defer core.GFreeNullable(UriVarPtr)
412 395
413 cret := xBookmarkFileGetTitle(x.GoPointer(), UriVarPtr, &cerr)396 cret := xBookmarkFileGetTitle(x.GoPointer(), UriVarPtr, &cerr)
414-
415- runtime.KeepAlive(UriVarBytes)
416-
417 if cerr == nil {397 if cerr == nil {
418 return cret, nil398 return cret, nil
419 }399 }
@@ -429,7 +409,6 @@ var xBookmarkFileGetUris func(uintptr, *uint) []string
429 func (x *BookmarkFile) GetUris(LengthVar *uint) []string {409 func (x *BookmarkFile) GetUris(LengthVar *uint) []string {
430 410
431 cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar)411 cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar)
432-
433 return cret412 return cret
434 }413 }
435 414
@@ -443,7 +422,6 @@ func (x *BookmarkFile) GetVisited(UriVar string) (int, error) {
443 var cerr *Error422 var cerr *Error
444 423
445 cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr)424 cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr)
446-
447 if cerr == nil {425 if cerr == nil {
448 return cret, nil426 return cret, nil
449 }427 }
@@ -461,7 +439,6 @@ func (x *BookmarkFile) GetVisitedDateTime(UriVar string) (*DateTime, error) {
461 var cerr *Error439 var cerr *Error
462 440
463 cret := xBookmarkFileGetVisitedDateTime(x.GoPointer(), UriVar, &cerr)441 cret := xBookmarkFileGetVisitedDateTime(x.GoPointer(), UriVar, &cerr)
464-
465 if cerr == nil {442 if cerr == nil {
466 return cret, nil443 return cret, nil
467 }444 }
@@ -480,7 +457,6 @@ func (x *BookmarkFile) HasApplication(UriVar string, NameVar string) (bool, erro
480 var cerr *Error457 var cerr *Error
481 458
482 cret := xBookmarkFileHasApplication(x.GoPointer(), UriVar, NameVar, &cerr)459 cret := xBookmarkFileHasApplication(x.GoPointer(), UriVar, NameVar, &cerr)
483-
484 if cerr == nil {460 if cerr == nil {
485 return cret, nil461 return cret, nil
486 }462 }
@@ -499,7 +475,6 @@ func (x *BookmarkFile) HasGroup(UriVar string, GroupVar string) (bool, error) {
499 var cerr *Error475 var cerr *Error
500 476
501 cret := xBookmarkFileHasGroup(x.GoPointer(), UriVar, GroupVar, &cerr)477 cret := xBookmarkFileHasGroup(x.GoPointer(), UriVar, GroupVar, &cerr)
502-
503 if cerr == nil {478 if cerr == nil {
504 return cret, nil479 return cret, nil
505 }480 }
@@ -513,7 +488,6 @@ var xBookmarkFileHasItem func(uintptr, string) bool
513 func (x *BookmarkFile) HasItem(UriVar string) bool {488 func (x *BookmarkFile) HasItem(UriVar string) bool {
514 489
515 cret := xBookmarkFileHasItem(x.GoPointer(), UriVar)490 cret := xBookmarkFileHasItem(x.GoPointer(), UriVar)
516-
517 return cret491 return cret
518 }492 }
519 493
@@ -526,7 +500,6 @@ func (x *BookmarkFile) LoadFromData(DataVar []byte, LengthVar uint) (bool, error
526 var cerr *Error500 var cerr *Error
527 501
528 cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr)502 cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr)
529-
530 if cerr == nil {503 if cerr == nil {
531 return cret, nil504 return cret, nil
532 }505 }
@@ -545,7 +518,6 @@ func (x *BookmarkFile) LoadFromDataDirs(FileVar string, FullPathVar *string) (bo
545 var cerr *Error518 var cerr *Error
546 519
547 cret := xBookmarkFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, &cerr)520 cret := xBookmarkFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, &cerr)
548-
549 if cerr == nil {521 if cerr == nil {
550 return cret, nil522 return cret, nil
551 }523 }
@@ -562,7 +534,6 @@ func (x *BookmarkFile) LoadFromFile(FilenameVar string) (bool, error) {
562 var cerr *Error534 var cerr *Error
563 535
564 cret := xBookmarkFileLoadFromFile(x.GoPointer(), FilenameVar, &cerr)536 cret := xBookmarkFileLoadFromFile(x.GoPointer(), FilenameVar, &cerr)
565-
566 if cerr == nil {537 if cerr == nil {
567 return cret, nil538 return cret, nil
568 }539 }
@@ -581,12 +552,10 @@ var xBookmarkFileMoveItem func(uintptr, string, uintptr, **Error) bool
581 func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar *string) (bool, error) {552 func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar *string) (bool, error) {
582 var cerr *Error553 var cerr *Error
583 554
584- NewUriVarPtr, NewUriVarBytes := core.NullableStringToPtr(NewUriVar)555+ NewUriVarPtr := core.GStrdupNullable(NewUriVar)
556+ defer core.GFreeNullable(NewUriVarPtr)
585 557
586 cret := xBookmarkFileMoveItem(x.GoPointer(), OldUriVar, NewUriVarPtr, &cerr)558 cret := xBookmarkFileMoveItem(x.GoPointer(), OldUriVar, NewUriVarPtr, &cerr)
587-
588- runtime.KeepAlive(NewUriVarBytes)
589-
590 if cerr == nil {559 if cerr == nil {
591 return cret, nil560 return cret, nil
592 }561 }
@@ -608,7 +577,6 @@ func (x *BookmarkFile) RemoveApplication(UriVar string, NameVar string) (bool, e
608 var cerr *Error577 var cerr *Error
609 578
610 cret := xBookmarkFileRemoveApplication(x.GoPointer(), UriVar, NameVar, &cerr)579 cret := xBookmarkFileRemoveApplication(x.GoPointer(), UriVar, NameVar, &cerr)
611-
612 if cerr == nil {580 if cerr == nil {
613 return cret, nil581 return cret, nil
614 }582 }
@@ -629,7 +597,6 @@ func (x *BookmarkFile) RemoveGroup(UriVar string, GroupVar string) (bool, error)
629 var cerr *Error597 var cerr *Error
630 598
631 cret := xBookmarkFileRemoveGroup(x.GoPointer(), UriVar, GroupVar, &cerr)599 cret := xBookmarkFileRemoveGroup(x.GoPointer(), UriVar, GroupVar, &cerr)
632-
633 if cerr == nil {600 if cerr == nil {
634 return cret, nil601 return cret, nil
635 }602 }
@@ -644,7 +611,6 @@ func (x *BookmarkFile) RemoveItem(UriVar string) (bool, error) {
644 var cerr *Error611 var cerr *Error
645 612
646 cret := xBookmarkFileRemoveItem(x.GoPointer(), UriVar, &cerr)613 cret := xBookmarkFileRemoveItem(x.GoPointer(), UriVar, &cerr)
647-
648 if cerr == nil {614 if cerr == nil {
649 return cret, nil615 return cret, nil
650 }616 }
@@ -708,7 +674,6 @@ func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string,
708 var cerr *Error674 var cerr *Error
709 675
710 cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)676 cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)
711-
712 if cerr == nil {677 if cerr == nil {
713 return cret, nil678 return cret, nil
714 }679 }
@@ -749,7 +714,6 @@ func (x *BookmarkFile) SetApplicationInfo(UriVar string, NameVar string, ExecVar
749 var cerr *Error714 var cerr *Error
750 715
751 cret := xBookmarkFileSetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)716 cret := xBookmarkFileSetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr)
752-
753 if cerr == nil {717 if cerr == nil {
754 return cret, nil718 return cret, nil
755 }719 }
@@ -766,12 +730,11 @@ var xBookmarkFileSetDescription func(uintptr, uintptr, string)
766 // If a bookmark for @uri cannot be found then it is created.730 // If a bookmark for @uri cannot be found then it is created.
767 func (x *BookmarkFile) SetDescription(UriVar *string, DescriptionVar string) {731 func (x *BookmarkFile) SetDescription(UriVar *string, DescriptionVar string) {
768 732
769- UriVarPtr, UriVarBytes := core.NullableStringToPtr(UriVar)733+ UriVarPtr := core.GStrdupNullable(UriVar)
734+ defer core.GFreeNullable(UriVarPtr)
770 735
771 xBookmarkFileSetDescription(x.GoPointer(), UriVarPtr, DescriptionVar)736 xBookmarkFileSetDescription(x.GoPointer(), UriVarPtr, DescriptionVar)
772 737
773- runtime.KeepAlive(UriVarBytes)
774-
775 }738 }
776 739
777 var xBookmarkFileSetGroups func(uintptr, string, []string, uint)740 var xBookmarkFileSetGroups func(uintptr, string, []string, uint)
@@ -795,12 +758,11 @@ var xBookmarkFileSetIcon func(uintptr, string, uintptr, string)
795 // If no bookmark for @uri is found one is created.758 // If no bookmark for @uri is found one is created.
796 func (x *BookmarkFile) SetIcon(UriVar string, HrefVar *string, MimeTypeVar string) {759 func (x *BookmarkFile) SetIcon(UriVar string, HrefVar *string, MimeTypeVar string) {
797 760
798- HrefVarPtr, HrefVarBytes := core.NullableStringToPtr(HrefVar)761+ HrefVarPtr := core.GStrdupNullable(HrefVar)
762+ defer core.GFreeNullable(HrefVarPtr)
799 763
800 xBookmarkFileSetIcon(x.GoPointer(), UriVar, HrefVarPtr, MimeTypeVar)764 xBookmarkFileSetIcon(x.GoPointer(), UriVar, HrefVarPtr, MimeTypeVar)
801 765
802- runtime.KeepAlive(HrefVarBytes)
803-
804 }766 }
805 767
806 var xBookmarkFileSetIsPrivate func(uintptr, string, bool)768 var xBookmarkFileSetIsPrivate func(uintptr, string, bool)
@@ -867,12 +829,11 @@ var xBookmarkFileSetTitle func(uintptr, uintptr, string)
867 // If a bookmark for @uri cannot be found then it is created.829 // If a bookmark for @uri cannot be found then it is created.
868 func (x *BookmarkFile) SetTitle(UriVar *string, TitleVar string) {830 func (x *BookmarkFile) SetTitle(UriVar *string, TitleVar string) {
869 831
870- UriVarPtr, UriVarBytes := core.NullableStringToPtr(UriVar)832+ UriVarPtr := core.GStrdupNullable(UriVar)
833+ defer core.GFreeNullable(UriVarPtr)
871 834
872 xBookmarkFileSetTitle(x.GoPointer(), UriVarPtr, TitleVar)835 xBookmarkFileSetTitle(x.GoPointer(), UriVarPtr, TitleVar)
873 836
874- runtime.KeepAlive(UriVarBytes)
875-
876 }837 }
877 838
878 var xBookmarkFileSetVisited func(uintptr, string, int)839 var xBookmarkFileSetVisited func(uintptr, string, int)
@@ -916,7 +877,6 @@ func (x *BookmarkFile) ToData(LengthVar *uint) (uintptr, error) {
916 var cerr *Error877 var cerr *Error
917 878
918 cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr)879 cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr)
919-
920 if cerr == nil {880 if cerr == nil {
921 return cret, nil881 return cret, nil
922 }882 }
@@ -932,7 +892,6 @@ func (x *BookmarkFile) ToFile(FilenameVar string) (bool, error) {
932 var cerr *Error892 var cerr *Error
933 893
934 cret := xBookmarkFileToFile(x.GoPointer(), FilenameVar, &cerr)894 cret := xBookmarkFileToFile(x.GoPointer(), FilenameVar, &cerr)
935-
936 if cerr == nil {895 if cerr == nil {
937 return cret, nil896 return cret, nil
938 }897 }
M v4/glib/gcache.go +0 -1
@@ -67,7 +67,6 @@ 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-
71 return cret70 return cret
72 }71 }
73 72
M v4/glib/gcharset.go +0 -6
@@ -32,7 +32,6 @@ 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-
36 return cret35 return cret
37 }36 }
38 37
@@ -42,7 +41,6 @@ var xGetCodeset func() string
42 func GetCodeset() string {41 func GetCodeset() string {
43 42
44 cret := xGetCodeset()43 cret := xGetCodeset()
45-
46 return cret44 return cret
47 }45 }
48 46
@@ -68,7 +66,6 @@ var xGetConsoleCharset func(*string) bool
68 func GetConsoleCharset(CharsetVar *string) bool {66 func GetConsoleCharset(CharsetVar *string) bool {
69 67
70 cret := xGetConsoleCharset(CharsetVar)68 cret := xGetConsoleCharset(CharsetVar)
71-
72 return cret69 return cret
73 }70 }
74 71
@@ -88,7 +85,6 @@ var xGetLanguageNames func() []string
88 func GetLanguageNames() []string {85 func GetLanguageNames() []string {
89 86
90 cret := xGetLanguageNames()87 cret := xGetLanguageNames()
91-
92 return cret88 return cret
93 }89 }
94 90
@@ -107,7 +103,6 @@ var xGetLanguageNamesWithCategory func(string) []string
107 func GetLanguageNamesWithCategory(CategoryNameVar string) []string {103 func GetLanguageNamesWithCategory(CategoryNameVar string) []string {
108 104
109 cret := xGetLanguageNamesWithCategory(CategoryNameVar)105 cret := xGetLanguageNamesWithCategory(CategoryNameVar)
110-
111 return cret106 return cret
112 }107 }
113 108
@@ -131,7 +126,6 @@ var xGetLocaleVariants func(string) []string
131 func GetLocaleVariants(LocaleVar string) []string {126 func GetLocaleVariants(LocaleVar string) []string {
132 127
133 cret := xGetLocaleVariants(LocaleVar)128 cret := xGetLocaleVariants(LocaleVar)
134-
135 return cret129 return cret
136 }130 }
137 131
M v4/glib/gchecksum.go +0 -7
@@ -58,7 +58,6 @@ 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-
62 return cret61 return cret
63 }62 }
64 63
@@ -70,7 +69,6 @@ var xChecksumCopy func(uintptr) *Checksum
70 func (x *Checksum) Copy() *Checksum {69 func (x *Checksum) Copy() *Checksum {
71 70
72 cret := xChecksumCopy(x.GoPointer())71 cret := xChecksumCopy(x.GoPointer())
73-
74 return cret72 return cret
75 }73 }
76 74
@@ -107,7 +105,6 @@ var xChecksumGetString func(uintptr) string
107 func (x *Checksum) GetString() string {105 func (x *Checksum) GetString() string {
108 106
109 cret := xChecksumGetString(x.GoPointer())107 cret := xChecksumGetString(x.GoPointer())
110-
111 return cret108 return cret
112 }109 }
113 110
@@ -158,7 +155,6 @@ var xChecksumTypeGetLength func(ChecksumType) int
158 func ChecksumTypeGetLength(ChecksumTypeVar ChecksumType) int {155 func ChecksumTypeGetLength(ChecksumTypeVar ChecksumType) int {
159 156
160 cret := xChecksumTypeGetLength(ChecksumTypeVar)157 cret := xChecksumTypeGetLength(ChecksumTypeVar)
161-
162 return cret158 return cret
163 }159 }
164 160
@@ -172,7 +168,6 @@ var xComputeChecksumForBytes func(ChecksumType, *Bytes) string
172 func ComputeChecksumForBytes(ChecksumTypeVar ChecksumType, DataVar *Bytes) string {168 func ComputeChecksumForBytes(ChecksumTypeVar ChecksumType, DataVar *Bytes) string {
173 169
174 cret := xComputeChecksumForBytes(ChecksumTypeVar, DataVar)170 cret := xComputeChecksumForBytes(ChecksumTypeVar, DataVar)
175-
176 return cret171 return cret
177 }172 }
178 173
@@ -186,7 +181,6 @@ var xComputeChecksumForData func(ChecksumType, []byte, uint) string
186 func ComputeChecksumForData(ChecksumTypeVar ChecksumType, DataVar []byte, LengthVar uint) string {181 func ComputeChecksumForData(ChecksumTypeVar ChecksumType, DataVar []byte, LengthVar uint) string {
187 182
188 cret := xComputeChecksumForData(ChecksumTypeVar, DataVar, LengthVar)183 cret := xComputeChecksumForData(ChecksumTypeVar, DataVar, LengthVar)
189-
190 return cret184 return cret
191 }185 }
192 186
@@ -198,7 +192,6 @@ var xComputeChecksumForString func(ChecksumType, string, int) string
198 func ComputeChecksumForString(ChecksumTypeVar ChecksumType, StrVar string, LengthVar int) string {192 func ComputeChecksumForString(ChecksumTypeVar ChecksumType, StrVar string, LengthVar int) string {
199 193
200 cret := xComputeChecksumForString(ChecksumTypeVar, StrVar, LengthVar)194 cret := xComputeChecksumForString(ChecksumTypeVar, StrVar, LengthVar)
201-
202 return cret195 return cret
203 }196 }
204 197
M v4/glib/gcompletion.go +0 -2
@@ -85,7 +85,6 @@ 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-
89 return cret88 return cret
90 }89 }
91 90
@@ -101,7 +100,6 @@ var xCompletionCompleteUtf8 func(uintptr, string, string) *List
101 func (x *Completion) CompleteUtf8(PrefixVar string, NewPrefixVar string) *List {100 func (x *Completion) CompleteUtf8(PrefixVar string, NewPrefixVar string) *List {
102 101
103 cret := xCompletionCompleteUtf8(x.GoPointer(), PrefixVar, NewPrefixVar)102 cret := xCompletionCompleteUtf8(x.GoPointer(), PrefixVar, NewPrefixVar)
104-
105 return cret103 return cret
106 }104 }
107 105
M v4/glib/gconvert.go +2 -21
@@ -2,7 +2,6 @@
2 package glib2 package glib
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -41,7 +40,6 @@ var xIConvGIconv func(uintptr, string, uint, string, uint) uint
41 func (x *IConv) GIconv(InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint {40 func (x *IConv) GIconv(InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint {
42 41
43 cret := xIConvGIconv(x.GoPointer(), InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar)42 cret := xIConvGIconv(x.GoPointer(), InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar)
44-
45 return cret43 return cret
46 }44 }
47 45
@@ -58,7 +56,6 @@ var xIConvClose func(uintptr) int
58 func (x *IConv) Close() int {56 func (x *IConv) Close() int {
59 57
60 cret := xIConvClose(x.GoPointer())58 cret := xIConvClose(x.GoPointer())
61-
62 return cret59 return cret
63 }60 }
64 61
@@ -110,7 +107,6 @@ func Convert(StrVar []byte, LenVar int, ToCodesetVar string, FromCodesetVar stri
110 var cerr *Error107 var cerr *Error
111 108
112 cret := xConvert(StrVar, LenVar, ToCodesetVar, FromCodesetVar, BytesReadVar, BytesWrittenVar, &cerr)109 cret := xConvert(StrVar, LenVar, ToCodesetVar, FromCodesetVar, BytesReadVar, BytesWrittenVar, &cerr)
113-
114 if cerr == nil {110 if cerr == nil {
115 return cret, nil111 return cret, nil
116 }112 }
@@ -141,7 +137,6 @@ func ConvertWithFallback(StrVar []byte, LenVar int, ToCodesetVar string, FromCod
141 var cerr *Error137 var cerr *Error
142 138
143 cret := xConvertWithFallback(StrVar, LenVar, ToCodesetVar, FromCodesetVar, FallbackVar, BytesReadVar, BytesWrittenVar, &cerr)139 cret := xConvertWithFallback(StrVar, LenVar, ToCodesetVar, FromCodesetVar, FallbackVar, BytesReadVar, BytesWrittenVar, &cerr)
144-
145 if cerr == nil {140 if cerr == nil {
146 return cret, nil141 return cret, nil
147 }142 }
@@ -174,7 +169,6 @@ func ConvertWithIconv(StrVar []byte, LenVar int, ConverterVar uintptr, BytesRead
174 var cerr *Error169 var cerr *Error
175 170
176 cret := xConvertWithIconv(StrVar, LenVar, ConverterVar, BytesReadVar, BytesWrittenVar, &cerr)171 cret := xConvertWithIconv(StrVar, LenVar, ConverterVar, BytesReadVar, BytesWrittenVar, &cerr)
177-
178 if cerr == nil {172 if cerr == nil {
179 return cret, nil173 return cret, nil
180 }174 }
@@ -203,7 +197,6 @@ var xFilenameDisplayBasename func(string) string
203 func FilenameDisplayBasename(FilenameVar string) string {197 func FilenameDisplayBasename(FilenameVar string) string {
204 198
205 cret := xFilenameDisplayBasename(FilenameVar)199 cret := xFilenameDisplayBasename(FilenameVar)
206-
207 return cret200 return cret
208 }201 }
209 202
@@ -227,7 +220,6 @@ var xFilenameDisplayName func(string) string
227 func FilenameDisplayName(FilenameVar string) string {220 func FilenameDisplayName(FilenameVar string) string {
228 221
229 cret := xFilenameDisplayName(FilenameVar)222 cret := xFilenameDisplayName(FilenameVar)
230-
231 return cret223 return cret
232 }224 }
233 225
@@ -244,7 +236,6 @@ func FilenameFromUri(UriVar string, HostnameVar *string) (string, error) {
244 var cerr *Error236 var cerr *Error
245 237
246 cret := xFilenameFromUri(UriVar, HostnameVar, &cerr)238 cret := xFilenameFromUri(UriVar, HostnameVar, &cerr)
247-
248 if cerr == nil {239 if cerr == nil {
249 return cret, nil240 return cret, nil
250 }241 }
@@ -268,7 +259,6 @@ func FilenameFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar *uint, Byte
268 var cerr *Error259 var cerr *Error
269 260
270 cret := xFilenameFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)261 cret := xFilenameFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
271-
272 if cerr == nil {262 if cerr == nil {
273 return cret, nil263 return cret, nil
274 }264 }
@@ -283,12 +273,10 @@ var xFilenameToUri func(string, uintptr, **Error) string
283 func FilenameToUri(FilenameVar string, HostnameVar *string) (string, error) {273 func FilenameToUri(FilenameVar string, HostnameVar *string) (string, error) {
284 var cerr *Error274 var cerr *Error
285 275
286- HostnameVarPtr, HostnameVarBytes := core.NullableStringToPtr(HostnameVar)276+ HostnameVarPtr := core.GStrdupNullable(HostnameVar)
277+ defer core.GFreeNullable(HostnameVarPtr)
287 278
288 cret := xFilenameToUri(FilenameVar, HostnameVarPtr, &cerr)279 cret := xFilenameToUri(FilenameVar, HostnameVarPtr, &cerr)
289-
290- runtime.KeepAlive(HostnameVarBytes)
291-
292 if cerr == nil {280 if cerr == nil {
293 return cret, nil281 return cret, nil
294 }282 }
@@ -314,7 +302,6 @@ func FilenameToUtf8(OpsysstringVar string, LenVar int, BytesReadVar *uint, Bytes
314 var cerr *Error302 var cerr *Error
315 303
316 cret := xFilenameToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)304 cret := xFilenameToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
317-
318 if cerr == nil {305 if cerr == nil {
319 return cret, nil306 return cret, nil
320 }307 }
@@ -351,7 +338,6 @@ var xGetFilenameCharsets func(*[]string) bool
351 func GetFilenameCharsets(FilenameCharsetsVar *[]string) bool {338 func GetFilenameCharsets(FilenameCharsetsVar *[]string) bool {
352 339
353 cret := xGetFilenameCharsets(FilenameCharsetsVar)340 cret := xGetFilenameCharsets(FilenameCharsetsVar)
354-
355 return cret341 return cret
356 }342 }
357 343
@@ -376,7 +362,6 @@ var xIconv func(uintptr, string, uint, string, uint) uint
376 func Iconv(ConverterVar uintptr, InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint {362 func Iconv(ConverterVar uintptr, InbufVar string, InbytesLeftVar uint, OutbufVar string, OutbytesLeftVar uint) uint {
377 363
378 cret := xIconv(ConverterVar, InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar)364 cret := xIconv(ConverterVar, InbufVar, InbytesLeftVar, OutbufVar, OutbytesLeftVar)
379-
380 return cret365 return cret
381 }366 }
382 367
@@ -391,7 +376,6 @@ var xIconvOpen func(string, string) uintptr
391 func IconvOpen(ToCodesetVar string, FromCodesetVar string) uintptr {376 func IconvOpen(ToCodesetVar string, FromCodesetVar string) uintptr {
392 377
393 cret := xIconvOpen(ToCodesetVar, FromCodesetVar)378 cret := xIconvOpen(ToCodesetVar, FromCodesetVar)
394-
395 return cret379 return cret
396 }380 }
397 381
@@ -410,7 +394,6 @@ func LocaleFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar *uint, BytesW
410 var cerr *Error394 var cerr *Error
411 395
412 cret := xLocaleFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)396 cret := xLocaleFromUtf8(Utf8stringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
413-
414 if cerr == nil {397 if cerr == nil {
415 return cret, nil398 return cret, nil
416 }399 }
@@ -435,7 +418,6 @@ func LocaleToUtf8(OpsysstringVar []byte, LenVar int, BytesReadVar *uint, BytesWr
435 var cerr *Error418 var cerr *Error
436 419
437 cret := xLocaleToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)420 cret := xLocaleToUtf8(OpsysstringVar, LenVar, BytesReadVar, BytesWrittenVar, &cerr)
438-
439 if cerr == nil {421 if cerr == nil {
440 return cret, nil422 return cret, nil
441 }423 }
@@ -451,7 +433,6 @@ var xUriListExtractUris func(string) []string
451 func UriListExtractUris(UriListVar string) []string {433 func UriListExtractUris(UriListVar string) []string {
452 434
453 cret := xUriListExtractUris(UriListVar)435 cret := xUriListExtractUris(UriListVar)
454-
455 return cret436 return cret
456 }437 }
457 438
M v4/glib/gdataset.go +0 -8
@@ -89,7 +89,6 @@ 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-
93 return cret92 return cret
94 }93 }
95 94
@@ -100,7 +99,6 @@ var xDatalistGetFlags func(**Data) uint
100 func DatalistGetFlags(DatalistVar **Data) uint {99 func DatalistGetFlags(DatalistVar **Data) uint {
101 100
102 cret := xDatalistGetFlags(DatalistVar)101 cret := xDatalistGetFlags(DatalistVar)
103-
104 return cret102 return cret
105 }103 }
106 104
@@ -137,7 +135,6 @@ func DatalistIdDupData(DatalistVar **Data, KeyIdVar Quark, DupFuncVar *Duplicate
137 }135 }
138 136
139 cret := xDatalistIdDupData(DatalistVar, KeyIdVar, DupFuncVarRef, UserDataVar)137 cret := xDatalistIdDupData(DatalistVar, KeyIdVar, DupFuncVarRef, UserDataVar)
140-
141 return cret138 return cret
142 }139 }
143 140
@@ -147,7 +144,6 @@ var xDatalistIdGetData func(**Data, Quark) uintptr
147 func DatalistIdGetData(DatalistVar **Data, KeyIdVar Quark) uintptr {144 func DatalistIdGetData(DatalistVar **Data, KeyIdVar Quark) uintptr {
148 145
149 cret := xDatalistIdGetData(DatalistVar, KeyIdVar)146 cret := xDatalistIdGetData(DatalistVar, KeyIdVar)
150-
151 return cret147 return cret
152 }148 }
153 149
@@ -173,7 +169,6 @@ var xDatalistIdRemoveNoNotify func(**Data, Quark) uintptr
173 func DatalistIdRemoveNoNotify(DatalistVar **Data, KeyIdVar Quark) uintptr {169 func DatalistIdRemoveNoNotify(DatalistVar **Data, KeyIdVar Quark) uintptr {
174 170
175 cret := xDatalistIdRemoveNoNotify(DatalistVar, KeyIdVar)171 cret := xDatalistIdRemoveNoNotify(DatalistVar, KeyIdVar)
176-
177 return cret172 return cret
178 }173 }
179 174
@@ -210,7 +205,6 @@ func DatalistIdReplaceData(DatalistVar **Data, KeyIdVar Quark, OldvalVar uintptr
210 }205 }
211 206
212 cret := xDatalistIdReplaceData(DatalistVar, KeyIdVar, OldvalVar, NewvalVar, DestroyVarRef, OldDestroyVar)207 cret := xDatalistIdReplaceData(DatalistVar, KeyIdVar, OldvalVar, NewvalVar, DestroyVarRef, OldDestroyVar)
213-
214 return cret208 return cret
215 }209 }
216 210
@@ -321,7 +315,6 @@ var xDatasetIdGetData func(uintptr, Quark) uintptr
321 func DatasetIdGetData(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr {315 func DatasetIdGetData(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr {
322 316
323 cret := xDatasetIdGetData(DatasetLocationVar, KeyIdVar)317 cret := xDatasetIdGetData(DatasetLocationVar, KeyIdVar)
324-
325 return cret318 return cret
326 }319 }
327 320
@@ -332,7 +325,6 @@ var xDatasetIdRemoveNoNotify func(uintptr, Quark) uintptr
332 func DatasetIdRemoveNoNotify(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr {325 func DatasetIdRemoveNoNotify(DatasetLocationVar uintptr, KeyIdVar Quark) uintptr {
333 326
334 cret := xDatasetIdRemoveNoNotify(DatasetLocationVar, KeyIdVar)327 cret := xDatasetIdRemoveNoNotify(DatasetLocationVar, KeyIdVar)
335-
336 return cret328 return cret
337 }329 }
338 330
M v4/glib/gdate.go +0 -31
@@ -84,7 +84,6 @@ var xNewDate func() *Date
84 func NewDate() *Date {84 func NewDate() *Date {
85 85
86 cret := xNewDate()86 cret := xNewDate()
87-
88 return cret87 return cret
89 }88 }
90 89
@@ -98,7 +97,6 @@ var xNewDateDmy func(DateDay, DateMonth, DateYear) *Date
98 func NewDateDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) *Date {97 func NewDateDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) *Date {
99 98
100 cret := xNewDateDmy(DayVar, MonthVar, YearVar)99 cret := xNewDateDmy(DayVar, MonthVar, YearVar)
101-
102 return cret100 return cret
103 }101 }
104 102
@@ -112,7 +110,6 @@ var xNewDateJulian func(uint32) *Date
112 func NewDateJulian(JulianDayVar uint32) *Date {110 func NewDateJulian(JulianDayVar uint32) *Date {
113 111
114 cret := xNewDateJulian(JulianDayVar)112 cret := xNewDateJulian(JulianDayVar)
115-
116 return cret113 return cret
117 }114 }
118 115
@@ -184,7 +181,6 @@ var xDateCompare func(uintptr, *Date) int
184 func (x *Date) Compare(RhsVar *Date) int {181 func (x *Date) Compare(RhsVar *Date) int {
185 182
186 cret := xDateCompare(x.GoPointer(), RhsVar)183 cret := xDateCompare(x.GoPointer(), RhsVar)
187-
188 return cret184 return cret
189 }185 }
190 186
@@ -196,7 +192,6 @@ var xDateCopy func(uintptr) *Date
196 func (x *Date) Copy() *Date {192 func (x *Date) Copy() *Date {
197 193
198 cret := xDateCopy(x.GoPointer())194 cret := xDateCopy(x.GoPointer())
199-
200 return cret195 return cret
201 }196 }
202 197
@@ -208,7 +203,6 @@ var xDateDaysBetween func(uintptr, *Date) int
208 func (x *Date) DaysBetween(Date2Var *Date) int {203 func (x *Date) DaysBetween(Date2Var *Date) int {
209 204
210 cret := xDateDaysBetween(x.GoPointer(), Date2Var)205 cret := xDateDaysBetween(x.GoPointer(), Date2Var)
211-
212 return cret206 return cret
213 }207 }
214 208
@@ -227,7 +221,6 @@ var xDateGetDay func(uintptr) DateDay
227 func (x *Date) GetDay() DateDay {221 func (x *Date) GetDay() DateDay {
228 222
229 cret := xDateGetDay(x.GoPointer())223 cret := xDateGetDay(x.GoPointer())
230-
231 return cret224 return cret
232 }225 }
233 226
@@ -238,7 +231,6 @@ var xDateGetDayOfYear func(uintptr) uint
238 func (x *Date) GetDayOfYear() uint {231 func (x *Date) GetDayOfYear() uint {
239 232
240 cret := xDateGetDayOfYear(x.GoPointer())233 cret := xDateGetDayOfYear(x.GoPointer())
241-
242 return cret234 return cret
243 }235 }
244 236
@@ -249,7 +241,6 @@ var xDateGetIso8601WeekOfYear func(uintptr) uint
249 func (x *Date) GetIso8601WeekOfYear() uint {241 func (x *Date) GetIso8601WeekOfYear() uint {
250 242
251 cret := xDateGetIso8601WeekOfYear(x.GoPointer())243 cret := xDateGetIso8601WeekOfYear(x.GoPointer())
252-
253 return cret244 return cret
254 }245 }
255 246
@@ -262,7 +253,6 @@ var xDateGetJulian func(uintptr) uint32
262 func (x *Date) GetJulian() uint32 {253 func (x *Date) GetJulian() uint32 {
263 254
264 cret := xDateGetJulian(x.GoPointer())255 cret := xDateGetJulian(x.GoPointer())
265-
266 return cret256 return cret
267 }257 }
268 258
@@ -274,7 +264,6 @@ var xDateGetMondayWeekOfYear func(uintptr) uint
274 func (x *Date) GetMondayWeekOfYear() uint {264 func (x *Date) GetMondayWeekOfYear() uint {
275 265
276 cret := xDateGetMondayWeekOfYear(x.GoPointer())266 cret := xDateGetMondayWeekOfYear(x.GoPointer())
277-
278 return cret267 return cret
279 }268 }
280 269
@@ -284,7 +273,6 @@ var xDateGetMonth func(uintptr) DateMonth
284 func (x *Date) GetMonth() DateMonth {273 func (x *Date) GetMonth() DateMonth {
285 274
286 cret := xDateGetMonth(x.GoPointer())275 cret := xDateGetMonth(x.GoPointer())
287-
288 return cret276 return cret
289 }277 }
290 278
@@ -296,7 +284,6 @@ var xDateGetSundayWeekOfYear func(uintptr) uint
296 func (x *Date) GetSundayWeekOfYear() uint {284 func (x *Date) GetSundayWeekOfYear() uint {
297 285
298 cret := xDateGetSundayWeekOfYear(x.GoPointer())286 cret := xDateGetSundayWeekOfYear(x.GoPointer())
299-
300 return cret287 return cret
301 }288 }
302 289
@@ -313,7 +300,6 @@ var xDateGetWeekOfYear func(uintptr, DateWeekday) uint
313 func (x *Date) GetWeekOfYear(FirstDayOfWeekVar DateWeekday) uint {300 func (x *Date) GetWeekOfYear(FirstDayOfWeekVar DateWeekday) uint {
314 301
315 cret := xDateGetWeekOfYear(x.GoPointer(), FirstDayOfWeekVar)302 cret := xDateGetWeekOfYear(x.GoPointer(), FirstDayOfWeekVar)
316-
317 return cret303 return cret
318 }304 }
319 305
@@ -323,7 +309,6 @@ var xDateGetWeekday func(uintptr) DateWeekday
323 func (x *Date) GetWeekday() DateWeekday {309 func (x *Date) GetWeekday() DateWeekday {
324 310
325 cret := xDateGetWeekday(x.GoPointer())311 cret := xDateGetWeekday(x.GoPointer())
326-
327 return cret312 return cret
328 }313 }
329 314
@@ -333,7 +318,6 @@ var xDateGetYear func(uintptr) DateYear
333 func (x *Date) GetYear() DateYear {318 func (x *Date) GetYear() DateYear {
334 319
335 cret := xDateGetYear(x.GoPointer())320 cret := xDateGetYear(x.GoPointer())
336-
337 return cret321 return cret
338 }322 }
339 323
@@ -344,7 +328,6 @@ var xDateIsFirstOfMonth func(uintptr) bool
344 func (x *Date) IsFirstOfMonth() bool {328 func (x *Date) IsFirstOfMonth() bool {
345 329
346 cret := xDateIsFirstOfMonth(x.GoPointer())330 cret := xDateIsFirstOfMonth(x.GoPointer())
347-
348 return cret331 return cret
349 }332 }
350 333
@@ -355,7 +338,6 @@ var xDateIsLastOfMonth func(uintptr) bool
355 func (x *Date) IsLastOfMonth() bool {338 func (x *Date) IsLastOfMonth() bool {
356 339
357 cret := xDateIsLastOfMonth(x.GoPointer())340 cret := xDateIsLastOfMonth(x.GoPointer())
358-
359 return cret341 return cret
360 }342 }
361 343
@@ -537,7 +519,6 @@ var xDateValid func(uintptr) bool
537 func (x *Date) Valid() bool {519 func (x *Date) Valid() bool {
538 520
539 cret := xDateValid(x.GoPointer())521 cret := xDateValid(x.GoPointer())
540-
541 return cret522 return cret
542 }523 }
543 524
@@ -666,7 +647,6 @@ var xDateGetDaysInMonth func(DateMonth, DateYear) byte
666 func DateGetDaysInMonth(MonthVar DateMonth, YearVar DateYear) byte {647 func DateGetDaysInMonth(MonthVar DateMonth, YearVar DateYear) byte {
667 648
668 cret := xDateGetDaysInMonth(MonthVar, YearVar)649 cret := xDateGetDaysInMonth(MonthVar, YearVar)
669-
670 return cret650 return cret
671 }651 }
672 652
@@ -682,7 +662,6 @@ var xDateGetMondayWeeksInYear func(DateYear) byte
682 func DateGetMondayWeeksInYear(YearVar DateYear) byte {662 func DateGetMondayWeeksInYear(YearVar DateYear) byte {
683 663
684 cret := xDateGetMondayWeeksInYear(YearVar)664 cret := xDateGetMondayWeeksInYear(YearVar)
685-
686 return cret665 return cret
687 }666 }
688 667
@@ -698,7 +677,6 @@ var xDateGetSundayWeeksInYear func(DateYear) byte
698 func DateGetSundayWeeksInYear(YearVar DateYear) byte {677 func DateGetSundayWeeksInYear(YearVar DateYear) byte {
699 678
700 cret := xDateGetSundayWeeksInYear(YearVar)679 cret := xDateGetSundayWeeksInYear(YearVar)
701-
702 return cret680 return cret
703 }681 }
704 682
@@ -716,7 +694,6 @@ var xDateGetWeeksInYear func(DateYear, DateWeekday) byte
716 func DateGetWeeksInYear(YearVar DateYear, FirstDayOfWeekVar DateWeekday) byte {694 func DateGetWeeksInYear(YearVar DateYear, FirstDayOfWeekVar DateWeekday) byte {
717 695
718 cret := xDateGetWeeksInYear(YearVar, FirstDayOfWeekVar)696 cret := xDateGetWeeksInYear(YearVar, FirstDayOfWeekVar)
719-
720 return cret697 return cret
721 }698 }
722 699
@@ -731,7 +708,6 @@ var xDateIsLeapYear func(DateYear) bool
731 func DateIsLeapYear(YearVar DateYear) bool {708 func DateIsLeapYear(YearVar DateYear) bool {
732 709
733 cret := xDateIsLeapYear(YearVar)710 cret := xDateIsLeapYear(YearVar)
734-
735 return cret711 return cret
736 }712 }
737 713
@@ -753,7 +729,6 @@ var xDateStrftime func(string, uint, string, *Date) uint
753 func DateStrftime(SVar string, SlenVar uint, FormatVar string, DateVar *Date) uint {729 func DateStrftime(SVar string, SlenVar uint, FormatVar string, DateVar *Date) uint {
754 730
755 cret := xDateStrftime(SVar, SlenVar, FormatVar, DateVar)731 cret := xDateStrftime(SVar, SlenVar, FormatVar, DateVar)
756-
757 return cret732 return cret
758 }733 }
759 734
@@ -764,7 +739,6 @@ var xDateValidDay func(DateDay) bool
764 func DateValidDay(DayVar DateDay) bool {739 func DateValidDay(DayVar DateDay) bool {
765 740
766 cret := xDateValidDay(DayVar)741 cret := xDateValidDay(DayVar)
767-
768 return cret742 return cret
769 }743 }
770 744
@@ -776,7 +750,6 @@ var xDateValidDmy func(DateDay, DateMonth, DateYear) bool
776 func DateValidDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) bool {750 func DateValidDmy(DayVar DateDay, MonthVar DateMonth, YearVar DateYear) bool {
777 751
778 cret := xDateValidDmy(DayVar, MonthVar, YearVar)752 cret := xDateValidDmy(DayVar, MonthVar, YearVar)
779-
780 return cret753 return cret
781 }754 }
782 755
@@ -787,7 +760,6 @@ var xDateValidJulian func(uint32) bool
787 func DateValidJulian(JulianDateVar uint32) bool {760 func DateValidJulian(JulianDateVar uint32) bool {
788 761
789 cret := xDateValidJulian(JulianDateVar)762 cret := xDateValidJulian(JulianDateVar)
790-
791 return cret763 return cret
792 }764 }
793 765
@@ -798,7 +770,6 @@ var xDateValidMonth func(DateMonth) bool
798 func DateValidMonth(MonthVar DateMonth) bool {770 func DateValidMonth(MonthVar DateMonth) bool {
799 771
800 cret := xDateValidMonth(MonthVar)772 cret := xDateValidMonth(MonthVar)
801-
802 return cret773 return cret
803 }774 }
804 775
@@ -809,7 +780,6 @@ var xDateValidWeekday func(DateWeekday) bool
809 func DateValidWeekday(WeekdayVar DateWeekday) bool {780 func DateValidWeekday(WeekdayVar DateWeekday) bool {
810 781
811 cret := xDateValidWeekday(WeekdayVar)782 cret := xDateValidWeekday(WeekdayVar)
812-
813 return cret783 return cret
814 }784 }
815 785
@@ -820,7 +790,6 @@ var xDateValidYear func(DateYear) bool
820 func DateValidYear(YearVar DateYear) bool {790 func DateValidYear(YearVar DateYear) bool {
821 791
822 cret := xDateValidYear(YearVar)792 cret := xDateValidYear(YearVar)
823-
824 return cret793 return cret
825 }794 }
826 795
M v4/glib/gdatetime.go +0 -51
@@ -82,7 +82,6 @@ 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-
86 return cret85 return cret
87 }86 }
88 87
@@ -134,7 +133,6 @@ var xNewDateTimeFromIso8601 func(string, *TimeZone) *DateTime
134 func NewDateTimeFromIso8601(TextVar string, DefaultTzVar *TimeZone) *DateTime {133 func NewDateTimeFromIso8601(TextVar string, DefaultTzVar *TimeZone) *DateTime {
135 134
136 cret := xNewDateTimeFromIso8601(TextVar, DefaultTzVar)135 cret := xNewDateTimeFromIso8601(TextVar, DefaultTzVar)
137-
138 return cret136 return cret
139 }137 }
140 138
@@ -155,7 +153,6 @@ var xNewDateTimeFromTimevalLocal func(*TimeVal) *DateTime
155 func NewDateTimeFromTimevalLocal(TvVar *TimeVal) *DateTime {153 func NewDateTimeFromTimevalLocal(TvVar *TimeVal) *DateTime {
156 154
157 cret := xNewDateTimeFromTimevalLocal(TvVar)155 cret := xNewDateTimeFromTimevalLocal(TvVar)
158-
159 return cret156 return cret
160 }157 }
161 158
@@ -174,7 +171,6 @@ var xNewDateTimeFromTimevalUtc func(*TimeVal) *DateTime
174 func NewDateTimeFromTimevalUtc(TvVar *TimeVal) *DateTime {171 func NewDateTimeFromTimevalUtc(TvVar *TimeVal) *DateTime {
175 172
176 cret := xNewDateTimeFromTimevalUtc(TvVar)173 cret := xNewDateTimeFromTimevalUtc(TvVar)
177-
178 return cret174 return cret
179 }175 }
180 176
@@ -194,7 +190,6 @@ var xNewDateTimeFromUnixLocal func(int64) *DateTime
194 func NewDateTimeFromUnixLocal(TVar int64) *DateTime {190 func NewDateTimeFromUnixLocal(TVar int64) *DateTime {
195 191
196 cret := xNewDateTimeFromUnixLocal(TVar)192 cret := xNewDateTimeFromUnixLocal(TVar)
197-
198 return cret193 return cret
199 }194 }
200 195
@@ -214,7 +209,6 @@ var xNewDateTimeFromUnixLocalUsec func(int64) *DateTime
214 func NewDateTimeFromUnixLocalUsec(UsecsVar int64) *DateTime {209 func NewDateTimeFromUnixLocalUsec(UsecsVar int64) *DateTime {
215 210
216 cret := xNewDateTimeFromUnixLocalUsec(UsecsVar)211 cret := xNewDateTimeFromUnixLocalUsec(UsecsVar)
217-
218 return cret212 return cret
219 }213 }
220 214
@@ -233,7 +227,6 @@ var xNewDateTimeFromUnixUtc func(int64) *DateTime
233 func NewDateTimeFromUnixUtc(TVar int64) *DateTime {227 func NewDateTimeFromUnixUtc(TVar int64) *DateTime {
234 228
235 cret := xNewDateTimeFromUnixUtc(TVar)229 cret := xNewDateTimeFromUnixUtc(TVar)
236-
237 return cret230 return cret
238 }231 }
239 232
@@ -252,7 +245,6 @@ var xNewDateTimeFromUnixUtcUsec func(int64) *DateTime
252 func NewDateTimeFromUnixUtcUsec(UsecsVar int64) *DateTime {245 func NewDateTimeFromUnixUtcUsec(UsecsVar int64) *DateTime {
253 246
254 cret := xNewDateTimeFromUnixUtcUsec(UsecsVar)247 cret := xNewDateTimeFromUnixUtcUsec(UsecsVar)
255-
256 return cret248 return cret
257 }249 }
258 250
@@ -266,7 +258,6 @@ var xNewDateTimeLocal func(int, int, int, int, int, float64) *DateTime
266 func NewDateTimeLocal(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {258 func NewDateTimeLocal(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {
267 259
268 cret := xNewDateTimeLocal(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)260 cret := xNewDateTimeLocal(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)
269-
270 return cret261 return cret
271 }262 }
272 263
@@ -284,7 +275,6 @@ var xNewDateTimeNow func(*TimeZone) *DateTime
284 func NewDateTimeNow(TzVar *TimeZone) *DateTime {275 func NewDateTimeNow(TzVar *TimeZone) *DateTime {
285 276
286 cret := xNewDateTimeNow(TzVar)277 cret := xNewDateTimeNow(TzVar)
287-
288 return cret278 return cret
289 }279 }
290 280
@@ -298,7 +288,6 @@ var xNewDateTimeNowLocal func() *DateTime
298 func NewDateTimeNowLocal() *DateTime {288 func NewDateTimeNowLocal() *DateTime {
299 289
300 cret := xNewDateTimeNowLocal()290 cret := xNewDateTimeNowLocal()
301-
302 return cret291 return cret
303 }292 }
304 293
@@ -311,7 +300,6 @@ var xNewDateTimeNowUtc func() *DateTime
311 func NewDateTimeNowUtc() *DateTime {300 func NewDateTimeNowUtc() *DateTime {
312 301
313 cret := xNewDateTimeNowUtc()302 cret := xNewDateTimeNowUtc()
314-
315 return cret303 return cret
316 }304 }
317 305
@@ -325,7 +313,6 @@ var xNewDateTimeUtc func(int, int, int, int, int, float64) *DateTime
325 func NewDateTimeUtc(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {313 func NewDateTimeUtc(YearVar int, MonthVar int, DayVar int, HourVar int, MinuteVar int, SecondsVar float64) *DateTime {
326 314
327 cret := xNewDateTimeUtc(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)315 cret := xNewDateTimeUtc(YearVar, MonthVar, DayVar, HourVar, MinuteVar, SecondsVar)
328-
329 return cret316 return cret
330 }317 }
331 318
@@ -335,7 +322,6 @@ var xDateTimeAdd func(uintptr, TimeSpan) *DateTime
335 func (x *DateTime) Add(TimespanVar TimeSpan) *DateTime {322 func (x *DateTime) Add(TimespanVar TimeSpan) *DateTime {
336 323
337 cret := xDateTimeAdd(x.GoPointer(), TimespanVar)324 cret := xDateTimeAdd(x.GoPointer(), TimespanVar)
338-
339 return cret325 return cret
340 }326 }
341 327
@@ -346,7 +332,6 @@ var xDateTimeAddDays func(uintptr, int) *DateTime
346 func (x *DateTime) AddDays(DaysVar int) *DateTime {332 func (x *DateTime) AddDays(DaysVar int) *DateTime {
347 333
348 cret := xDateTimeAddDays(x.GoPointer(), DaysVar)334 cret := xDateTimeAddDays(x.GoPointer(), DaysVar)
349-
350 return cret335 return cret
351 }336 }
352 337
@@ -357,7 +342,6 @@ var xDateTimeAddFull func(uintptr, int, int, int, int, int, float64) *DateTime
357 func (x *DateTime) AddFull(YearsVar int, MonthsVar int, DaysVar int, HoursVar int, MinutesVar int, SecondsVar float64) *DateTime {342 func (x *DateTime) AddFull(YearsVar int, MonthsVar int, DaysVar int, HoursVar int, MinutesVar int, SecondsVar float64) *DateTime {
358 343
359 cret := xDateTimeAddFull(x.GoPointer(), YearsVar, MonthsVar, DaysVar, HoursVar, MinutesVar, SecondsVar)344 cret := xDateTimeAddFull(x.GoPointer(), YearsVar, MonthsVar, DaysVar, HoursVar, MinutesVar, SecondsVar)
360-
361 return cret345 return cret
362 }346 }
363 347
@@ -368,7 +352,6 @@ var xDateTimeAddHours func(uintptr, int) *DateTime
368 func (x *DateTime) AddHours(HoursVar int) *DateTime {352 func (x *DateTime) AddHours(HoursVar int) *DateTime {
369 353
370 cret := xDateTimeAddHours(x.GoPointer(), HoursVar)354 cret := xDateTimeAddHours(x.GoPointer(), HoursVar)
371-
372 return cret355 return cret
373 }356 }
374 357
@@ -379,7 +362,6 @@ var xDateTimeAddMinutes func(uintptr, int) *DateTime
379 func (x *DateTime) AddMinutes(MinutesVar int) *DateTime {362 func (x *DateTime) AddMinutes(MinutesVar int) *DateTime {
380 363
381 cret := xDateTimeAddMinutes(x.GoPointer(), MinutesVar)364 cret := xDateTimeAddMinutes(x.GoPointer(), MinutesVar)
382-
383 return cret365 return cret
384 }366 }
385 367
@@ -395,7 +377,6 @@ var xDateTimeAddMonths func(uintptr, int) *DateTime
395 func (x *DateTime) AddMonths(MonthsVar int) *DateTime {377 func (x *DateTime) AddMonths(MonthsVar int) *DateTime {
396 378
397 cret := xDateTimeAddMonths(x.GoPointer(), MonthsVar)379 cret := xDateTimeAddMonths(x.GoPointer(), MonthsVar)
398-
399 return cret380 return cret
400 }381 }
401 382
@@ -406,7 +387,6 @@ var xDateTimeAddSeconds func(uintptr, float64) *DateTime
406 func (x *DateTime) AddSeconds(SecondsVar float64) *DateTime {387 func (x *DateTime) AddSeconds(SecondsVar float64) *DateTime {
407 388
408 cret := xDateTimeAddSeconds(x.GoPointer(), SecondsVar)389 cret := xDateTimeAddSeconds(x.GoPointer(), SecondsVar)
409-
410 return cret390 return cret
411 }391 }
412 392
@@ -417,7 +397,6 @@ var xDateTimeAddWeeks func(uintptr, int) *DateTime
417 func (x *DateTime) AddWeeks(WeeksVar int) *DateTime {397 func (x *DateTime) AddWeeks(WeeksVar int) *DateTime {
418 398
419 cret := xDateTimeAddWeeks(x.GoPointer(), WeeksVar)399 cret := xDateTimeAddWeeks(x.GoPointer(), WeeksVar)
420-
421 return cret400 return cret
422 }401 }
423 402
@@ -431,7 +410,6 @@ var xDateTimeAddYears func(uintptr, int) *DateTime
431 func (x *DateTime) AddYears(YearsVar int) *DateTime {410 func (x *DateTime) AddYears(YearsVar int) *DateTime {
432 411
433 cret := xDateTimeAddYears(x.GoPointer(), YearsVar)412 cret := xDateTimeAddYears(x.GoPointer(), YearsVar)
434-
435 return cret413 return cret
436 }414 }
437 415
@@ -442,7 +420,6 @@ var xDateTimeCompare func(uintptr, uintptr) int
442 func (x *DateTime) Compare(Dt2Var uintptr) int {420 func (x *DateTime) Compare(Dt2Var uintptr) int {
443 421
444 cret := xDateTimeCompare(x.GoPointer(), Dt2Var)422 cret := xDateTimeCompare(x.GoPointer(), Dt2Var)
445-
446 return cret423 return cret
447 }424 }
448 425
@@ -454,7 +431,6 @@ var xDateTimeDifference func(uintptr, *DateTime) TimeSpan
454 func (x *DateTime) Difference(BeginVar *DateTime) TimeSpan {431 func (x *DateTime) Difference(BeginVar *DateTime) TimeSpan {
455 432
456 cret := xDateTimeDifference(x.GoPointer(), BeginVar)433 cret := xDateTimeDifference(x.GoPointer(), BeginVar)
457-
458 return cret434 return cret
459 }435 }
460 436
@@ -467,7 +443,6 @@ var xDateTimeEqual func(uintptr, uintptr) bool
467 func (x *DateTime) Equal(Dt2Var uintptr) bool {443 func (x *DateTime) Equal(Dt2Var uintptr) bool {
468 444
469 cret := xDateTimeEqual(x.GoPointer(), Dt2Var)445 cret := xDateTimeEqual(x.GoPointer(), Dt2Var)
470-
471 return cret446 return cret
472 }447 }
473 448
@@ -600,7 +575,6 @@ var xDateTimeFormat func(uintptr, string) string
600 func (x *DateTime) Format(FormatVar string) string {575 func (x *DateTime) Format(FormatVar string) string {
601 576
602 cret := xDateTimeFormat(x.GoPointer(), FormatVar)577 cret := xDateTimeFormat(x.GoPointer(), FormatVar)
603-
604 return cret578 return cret
605 }579 }
606 580
@@ -614,7 +588,6 @@ var xDateTimeFormatIso8601 func(uintptr) string
614 func (x *DateTime) FormatIso8601() string {588 func (x *DateTime) FormatIso8601() string {
615 589
616 cret := xDateTimeFormatIso8601(x.GoPointer())590 cret := xDateTimeFormatIso8601(x.GoPointer())
617-
618 return cret591 return cret
619 }592 }
620 593
@@ -625,7 +598,6 @@ var xDateTimeGetDayOfMonth func(uintptr) int
625 func (x *DateTime) GetDayOfMonth() int {598 func (x *DateTime) GetDayOfMonth() int {
626 599
627 cret := xDateTimeGetDayOfMonth(x.GoPointer())600 cret := xDateTimeGetDayOfMonth(x.GoPointer())
628-
629 return cret601 return cret
630 }602 }
631 603
@@ -636,7 +608,6 @@ var xDateTimeGetDayOfWeek func(uintptr) int
636 func (x *DateTime) GetDayOfWeek() int {608 func (x *DateTime) GetDayOfWeek() int {
637 609
638 cret := xDateTimeGetDayOfWeek(x.GoPointer())610 cret := xDateTimeGetDayOfWeek(x.GoPointer())
639-
640 return cret611 return cret
641 }612 }
642 613
@@ -647,7 +618,6 @@ var xDateTimeGetDayOfYear func(uintptr) int
647 func (x *DateTime) GetDayOfYear() int {618 func (x *DateTime) GetDayOfYear() int {
648 619
649 cret := xDateTimeGetDayOfYear(x.GoPointer())620 cret := xDateTimeGetDayOfYear(x.GoPointer())
650-
651 return cret621 return cret
652 }622 }
653 623
@@ -657,7 +627,6 @@ var xDateTimeGetHour func(uintptr) int
657 func (x *DateTime) GetHour() int {627 func (x *DateTime) GetHour() int {
658 628
659 cret := xDateTimeGetHour(x.GoPointer())629 cret := xDateTimeGetHour(x.GoPointer())
660-
661 return cret630 return cret
662 }631 }
663 632
@@ -667,7 +636,6 @@ var xDateTimeGetMicrosecond func(uintptr) int
667 func (x *DateTime) GetMicrosecond() int {636 func (x *DateTime) GetMicrosecond() int {
668 637
669 cret := xDateTimeGetMicrosecond(x.GoPointer())638 cret := xDateTimeGetMicrosecond(x.GoPointer())
670-
671 return cret639 return cret
672 }640 }
673 641
@@ -677,7 +645,6 @@ var xDateTimeGetMinute func(uintptr) int
677 func (x *DateTime) GetMinute() int {645 func (x *DateTime) GetMinute() int {
678 646
679 cret := xDateTimeGetMinute(x.GoPointer())647 cret := xDateTimeGetMinute(x.GoPointer())
680-
681 return cret648 return cret
682 }649 }
683 650
@@ -688,7 +655,6 @@ var xDateTimeGetMonth func(uintptr) int
688 func (x *DateTime) GetMonth() int {655 func (x *DateTime) GetMonth() int {
689 656
690 cret := xDateTimeGetMonth(x.GoPointer())657 cret := xDateTimeGetMonth(x.GoPointer())
691-
692 return cret658 return cret
693 }659 }
694 660
@@ -698,7 +664,6 @@ var xDateTimeGetSecond func(uintptr) int
698 func (x *DateTime) GetSecond() int {664 func (x *DateTime) GetSecond() int {
699 665
700 cret := xDateTimeGetSecond(x.GoPointer())666 cret := xDateTimeGetSecond(x.GoPointer())
701-
702 return cret667 return cret
703 }668 }
704 669
@@ -709,7 +674,6 @@ var xDateTimeGetSeconds func(uintptr) float64
709 func (x *DateTime) GetSeconds() float64 {674 func (x *DateTime) GetSeconds() float64 {
710 675
711 cret := xDateTimeGetSeconds(x.GoPointer())676 cret := xDateTimeGetSeconds(x.GoPointer())
712-
713 return cret677 return cret
714 }678 }
715 679
@@ -719,7 +683,6 @@ var xDateTimeGetTimezone func(uintptr) *TimeZone
719 func (x *DateTime) GetTimezone() *TimeZone {683 func (x *DateTime) GetTimezone() *TimeZone {
720 684
721 cret := xDateTimeGetTimezone(x.GoPointer())685 cret := xDateTimeGetTimezone(x.GoPointer())
722-
723 return cret686 return cret
724 }687 }
725 688
@@ -734,7 +697,6 @@ var xDateTimeGetTimezoneAbbreviation func(uintptr) string
734 func (x *DateTime) GetTimezoneAbbreviation() string {697 func (x *DateTime) GetTimezoneAbbreviation() string {
735 698
736 cret := xDateTimeGetTimezoneAbbreviation(x.GoPointer())699 cret := xDateTimeGetTimezoneAbbreviation(x.GoPointer())
737-
738 return cret700 return cret
739 }701 }
740 702
@@ -751,7 +713,6 @@ var xDateTimeGetUtcOffset func(uintptr) TimeSpan
751 func (x *DateTime) GetUtcOffset() TimeSpan {713 func (x *DateTime) GetUtcOffset() TimeSpan {
752 714
753 cret := xDateTimeGetUtcOffset(x.GoPointer())715 cret := xDateTimeGetUtcOffset(x.GoPointer())
754-
755 return cret716 return cret
756 }717 }
757 718
@@ -791,7 +752,6 @@ var xDateTimeGetWeekNumberingYear func(uintptr) int
791 func (x *DateTime) GetWeekNumberingYear() int {752 func (x *DateTime) GetWeekNumberingYear() int {
792 753
793 cret := xDateTimeGetWeekNumberingYear(x.GoPointer())754 cret := xDateTimeGetWeekNumberingYear(x.GoPointer())
794-
795 return cret755 return cret
796 }756 }
797 757
@@ -815,7 +775,6 @@ var xDateTimeGetWeekOfYear func(uintptr) int
815 func (x *DateTime) GetWeekOfYear() int {775 func (x *DateTime) GetWeekOfYear() int {
816 776
817 cret := xDateTimeGetWeekOfYear(x.GoPointer())777 cret := xDateTimeGetWeekOfYear(x.GoPointer())
818-
819 return cret778 return cret
820 }779 }
821 780
@@ -825,7 +784,6 @@ var xDateTimeGetYear func(uintptr) int
825 func (x *DateTime) GetYear() int {784 func (x *DateTime) GetYear() int {
826 785
827 cret := xDateTimeGetYear(x.GoPointer())786 cret := xDateTimeGetYear(x.GoPointer())
828-
829 return cret787 return cret
830 }788 }
831 789
@@ -844,7 +802,6 @@ var xDateTimeHash func(uintptr) uint
844 func (x *DateTime) Hash() uint {802 func (x *DateTime) Hash() uint {
845 803
846 cret := xDateTimeHash(x.GoPointer())804 cret := xDateTimeHash(x.GoPointer())
847-
848 return cret805 return cret
849 }806 }
850 807
@@ -855,7 +812,6 @@ var xDateTimeIsDaylightSavings func(uintptr) bool
855 func (x *DateTime) IsDaylightSavings() bool {812 func (x *DateTime) IsDaylightSavings() bool {
856 813
857 cret := xDateTimeIsDaylightSavings(x.GoPointer())814 cret := xDateTimeIsDaylightSavings(x.GoPointer())
858-
859 return cret815 return cret
860 }816 }
861 817
@@ -865,7 +821,6 @@ var xDateTimeRef func(uintptr) *DateTime
865 func (x *DateTime) Ref() *DateTime {821 func (x *DateTime) Ref() *DateTime {
866 822
867 cret := xDateTimeRef(x.GoPointer())823 cret := xDateTimeRef(x.GoPointer())
868-
869 return cret824 return cret
870 }825 }
871 826
@@ -879,7 +834,6 @@ var xDateTimeToLocal func(uintptr) *DateTime
879 func (x *DateTime) ToLocal() *DateTime {834 func (x *DateTime) ToLocal() *DateTime {
880 835
881 cret := xDateTimeToLocal(x.GoPointer())836 cret := xDateTimeToLocal(x.GoPointer())
882-
883 return cret837 return cret
884 }838 }
885 839
@@ -901,7 +855,6 @@ var xDateTimeToTimeval func(uintptr, *TimeVal) bool
901 func (x *DateTime) ToTimeval(TvVar *TimeVal) bool {855 func (x *DateTime) ToTimeval(TvVar *TimeVal) bool {
902 856
903 cret := xDateTimeToTimeval(x.GoPointer(), TvVar)857 cret := xDateTimeToTimeval(x.GoPointer(), TvVar)
904-
905 return cret858 return cret
906 }859 }
907 860
@@ -916,7 +869,6 @@ var xDateTimeToTimezone func(uintptr, *TimeZone) *DateTime
916 func (x *DateTime) ToTimezone(TzVar *TimeZone) *DateTime {869 func (x *DateTime) ToTimezone(TzVar *TimeZone) *DateTime {
917 870
918 cret := xDateTimeToTimezone(x.GoPointer(), TzVar)871 cret := xDateTimeToTimezone(x.GoPointer(), TzVar)
919-
920 return cret872 return cret
921 }873 }
922 874
@@ -930,7 +882,6 @@ var xDateTimeToUnix func(uintptr) int64
930 func (x *DateTime) ToUnix() int64 {882 func (x *DateTime) ToUnix() int64 {
931 883
932 cret := xDateTimeToUnix(x.GoPointer())884 cret := xDateTimeToUnix(x.GoPointer())
933-
934 return cret885 return cret
935 }886 }
936 887
@@ -943,7 +894,6 @@ var xDateTimeToUnixUsec func(uintptr) int64
943 func (x *DateTime) ToUnixUsec() int64 {894 func (x *DateTime) ToUnixUsec() int64 {
944 895
945 cret := xDateTimeToUnixUsec(x.GoPointer())896 cret := xDateTimeToUnixUsec(x.GoPointer())
946-
947 return cret897 return cret
948 }898 }
949 899
@@ -957,7 +907,6 @@ var xDateTimeToUtc func(uintptr) *DateTime
957 func (x *DateTime) ToUtc() *DateTime {907 func (x *DateTime) ToUtc() *DateTime {
958 908
959 cret := xDateTimeToUtc(x.GoPointer())909 cret := xDateTimeToUtc(x.GoPointer())
960-
961 return cret910 return cret
962 }911 }
963 912
M v4/glib/gdir.go +0 -3
@@ -34,7 +34,6 @@ 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-
38 if cerr == nil {37 if cerr == nil {
39 return cret, nil38 return cret, nil
40 }39 }
@@ -76,7 +75,6 @@ var xDirReadName func(uintptr) string
76 func (x *Dir) ReadName() string {75 func (x *Dir) ReadName() string {
77 76
78 cret := xDirReadName(x.GoPointer())77 cret := xDirReadName(x.GoPointer())
79-
80 return cret78 return cret
81 }79 }
82 80
@@ -86,7 +84,6 @@ var xDirRef func(uintptr) *Dir
86 func (x *Dir) Ref() *Dir {84 func (x *Dir) Ref() *Dir {
87 85
88 cret := xDirRef(x.GoPointer())86 cret := xDirRef(x.GoPointer())
89-
90 return cret87 return cret
91 }88 }
92 89
M v4/glib/genviron.go +0 -7
@@ -13,7 +13,6 @@ 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-
17 return cret16 return cret
18 }17 }
19 18
@@ -24,7 +23,6 @@ var xEnvironSetenv func([]string, string, string, bool) []string
24 func EnvironSetenv(EnvpVar []string, VariableVar string, ValueVar string, OverwriteVar bool) []string {23 func EnvironSetenv(EnvpVar []string, VariableVar string, ValueVar string, OverwriteVar bool) []string {
25 24
26 cret := xEnvironSetenv(EnvpVar, VariableVar, ValueVar, OverwriteVar)25 cret := xEnvironSetenv(EnvpVar, VariableVar, ValueVar, OverwriteVar)
27-
28 return cret26 return cret
29 }27 }
30 28
@@ -35,7 +33,6 @@ var xEnvironUnsetenv func([]string, string) []string
35 func EnvironUnsetenv(EnvpVar []string, VariableVar string) []string {33 func EnvironUnsetenv(EnvpVar []string, VariableVar string) []string {
36 34
37 cret := xEnvironUnsetenv(EnvpVar, VariableVar)35 cret := xEnvironUnsetenv(EnvpVar, VariableVar)
38-
39 return cret36 return cret
40 }37 }
41 38
@@ -54,7 +51,6 @@ var xGetEnviron func() []string
54 func GetEnviron() []string {51 func GetEnviron() []string {
55 52
56 cret := xGetEnviron()53 cret := xGetEnviron()
57-
58 return cret54 return cret
59 }55 }
60 56
@@ -70,7 +66,6 @@ var xGetenv func(string) string
70 func Getenv(VariableVar string) string {66 func Getenv(VariableVar string) string {
71 67
72 cret := xGetenv(VariableVar)68 cret := xGetenv(VariableVar)
73-
74 return cret69 return cret
75 }70 }
76 71
@@ -87,7 +82,6 @@ var xListenv func() []string
87 func Listenv() []string {82 func Listenv() []string {
88 83
89 cret := xListenv()84 cret := xListenv()
90-
91 return cret85 return cret
92 }86 }
93 87
@@ -115,7 +109,6 @@ var xSetenv func(string, string, bool) bool
115 func Setenv(VariableVar string, ValueVar string, OverwriteVar bool) bool {109 func Setenv(VariableVar string, ValueVar string, OverwriteVar bool) bool {
116 110
117 cret := xSetenv(VariableVar, ValueVar, OverwriteVar)111 cret := xSetenv(VariableVar, ValueVar, OverwriteVar)
118-
119 return cret112 return cret
120 }113 }
121 114
M v4/glib/gerror.go +0 -8
@@ -66,7 +66,6 @@ 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-
70 return cret69 return cret
71 }70 }
72 71
@@ -79,7 +78,6 @@ var xNewErrorLiteral func(Quark, int, string) *Error
79 func NewErrorLiteral(DomainVar Quark, CodeVar int, MessageVar string) *Error {78 func NewErrorLiteral(DomainVar Quark, CodeVar int, MessageVar string) *Error {
80 79
81 cret := xNewErrorLiteral(DomainVar, CodeVar, MessageVar)80 cret := xNewErrorLiteral(DomainVar, CodeVar, MessageVar)
82-
83 return cret81 return cret
84 }82 }
85 83
@@ -90,7 +88,6 @@ var xNewErrorValist func(Quark, int, string, []interface{}) *Error
90 func NewErrorValist(DomainVar Quark, CodeVar int, FormatVar string, ArgsVar []interface{}) *Error {88 func NewErrorValist(DomainVar Quark, CodeVar int, FormatVar string, ArgsVar []interface{}) *Error {
91 89
92 cret := xNewErrorValist(DomainVar, CodeVar, FormatVar, ArgsVar)90 cret := xNewErrorValist(DomainVar, CodeVar, FormatVar, ArgsVar)
93-
94 return cret91 return cret
95 }92 }
96 93
@@ -100,7 +97,6 @@ var xErrorCopy func(uintptr) *Error
100 func (x *Error) Copy() *Error {97 func (x *Error) Copy() *Error {
101 98
102 cret := xErrorCopy(x.GoPointer())99 cret := xErrorCopy(x.GoPointer())
103-
104 return cret100 return cret
105 }101 }
106 102
@@ -128,7 +124,6 @@ var xErrorMatches func(uintptr, Quark, int) bool
128 func (x *Error) Matches(DomainVar Quark, CodeVar int) bool {124 func (x *Error) Matches(DomainVar Quark, CodeVar int) bool {
129 125
130 cret := xErrorMatches(x.GoPointer(), DomainVar, CodeVar)126 cret := xErrorMatches(x.GoPointer(), DomainVar, CodeVar)
131-
132 return cret127 return cret
133 }128 }
134 129
@@ -140,7 +135,6 @@ func ClearError() error {
140 var cerr *Error135 var cerr *Error
141 136
142 xClearError()137 xClearError()
143-
144 if cerr == nil {138 if cerr == nil {
145 return nil139 return nil
146 }140 }
@@ -201,7 +195,6 @@ func ErrorDomainRegister(ErrorTypeNameVar string, ErrorTypePrivateSizeVar uint,
201 }195 }
202 196
203 cret := xErrorDomainRegister(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef)197 cret := xErrorDomainRegister(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef)
204-
205 return cret198 return cret
206 }199 }
207 200
@@ -272,7 +265,6 @@ func ErrorDomainRegisterStatic(ErrorTypeNameVar string, ErrorTypePrivateSizeVar
272 }265 }
273 266
274 cret := xErrorDomainRegisterStatic(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef)267 cret := xErrorDomainRegisterStatic(ErrorTypeNameVar, ErrorTypePrivateSizeVar, ErrorTypeInitVarRef, ErrorTypeCopyVarRef, ErrorTypeClearVarRef)
275-
276 return cret268 return cret
277 }269 }
278 270
M v4/glib/gfileutils.go +6 -36
@@ -2,8 +2,6 @@
2 package glib2 package glib
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 )7 )
@@ -174,7 +172,6 @@ var xBasename func(string) string
174 func Basename(FileNameVar string) string {172 func Basename(FileNameVar string) string {
175 173
176 cret := xBasename(FileNameVar)174 cret := xBasename(FileNameVar)
177-
178 return cret175 return cret
179 }176 }
180 177
@@ -201,7 +198,6 @@ var xBuildFilename func(string, ...interface{}) string
201 func BuildFilename(FirstElementVar string, varArgs ...interface{}) string {198 func BuildFilename(FirstElementVar string, varArgs ...interface{}) string {
202 199
203 cret := xBuildFilename(FirstElementVar, varArgs...)200 cret := xBuildFilename(FirstElementVar, varArgs...)
204-
205 return cret201 return cret
206 }202 }
207 203
@@ -218,7 +214,6 @@ var xBuildFilenameValist func(string, []interface{}) string
218 func BuildFilenameValist(FirstElementVar string, ArgsVar []interface{}) string {214 func BuildFilenameValist(FirstElementVar string, ArgsVar []interface{}) string {
219 215
220 cret := xBuildFilenameValist(FirstElementVar, ArgsVar)216 cret := xBuildFilenameValist(FirstElementVar, ArgsVar)
221-
222 return cret217 return cret
223 }218 }
224 219
@@ -236,7 +231,6 @@ var xBuildFilenamev func([]string) string
236 func BuildFilenamev(ArgsVar []string) string {231 func BuildFilenamev(ArgsVar []string) string {
237 232
238 cret := xBuildFilenamev(ArgsVar)233 cret := xBuildFilenamev(ArgsVar)
239-
240 return cret234 return cret
241 }235 }
242 236
@@ -273,7 +267,6 @@ var xBuildPath func(string, string, ...interface{}) string
273 func BuildPath(SeparatorVar string, FirstElementVar string, varArgs ...interface{}) string {267 func BuildPath(SeparatorVar string, FirstElementVar string, varArgs ...interface{}) string {
274 268
275 cret := xBuildPath(SeparatorVar, FirstElementVar, varArgs...)269 cret := xBuildPath(SeparatorVar, FirstElementVar, varArgs...)
276-
277 return cret270 return cret
278 }271 }
279 272
@@ -286,7 +279,6 @@ var xBuildPathv func(string, []string) string
286 func BuildPathv(SeparatorVar string, ArgsVar []string) string {279 func BuildPathv(SeparatorVar string, ArgsVar []string) string {
287 280
288 cret := xBuildPathv(SeparatorVar, ArgsVar)281 cret := xBuildPathv(SeparatorVar, ArgsVar)
289-
290 return cret282 return cret
291 }283 }
292 284
@@ -308,12 +300,10 @@ var xCanonicalizeFilename func(string, uintptr) string
308 // No file system I/O is done.300 // No file system I/O is done.
309 func CanonicalizeFilename(FilenameVar string, RelativeToVar *string) string {301 func CanonicalizeFilename(FilenameVar string, RelativeToVar *string) string {
310 302
311- RelativeToVarPtr, RelativeToVarBytes := core.NullableStringToPtr(RelativeToVar)303+ RelativeToVarPtr := core.GStrdupNullable(RelativeToVar)
304+ defer core.GFreeNullable(RelativeToVarPtr)
312 305
313 cret := xCanonicalizeFilename(FilenameVar, RelativeToVarPtr)306 cret := xCanonicalizeFilename(FilenameVar, RelativeToVarPtr)
314-
315- runtime.KeepAlive(RelativeToVarBytes)
316-
317 return cret307 return cret
318 }308 }
319 309
@@ -333,12 +323,10 @@ var xDirMakeTmp func(uintptr, **Error) string
333 func DirMakeTmp(TmplVar *string) (string, error) {323 func DirMakeTmp(TmplVar *string) (string, error) {
334 var cerr *Error324 var cerr *Error
335 325
336- TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)326+ TmplVarPtr := core.GStrdupNullable(TmplVar)
327+ defer core.GFreeNullable(TmplVarPtr)
337 328
338 cret := xDirMakeTmp(TmplVarPtr, &cerr)329 cret := xDirMakeTmp(TmplVarPtr, &cerr)
339-
340- runtime.KeepAlive(TmplVarBytes)
341-
342 if cerr == nil {330 if cerr == nil {
343 return cret, nil331 return cret, nil
344 }332 }
@@ -360,7 +348,6 @@ var xFileErrorFromErrno func(int) FileError
360 func FileErrorFromErrno(ErrNoVar int) FileError {348 func FileErrorFromErrno(ErrNoVar int) FileError {
361 349
362 cret := xFileErrorFromErrno(ErrNoVar)350 cret := xFileErrorFromErrno(ErrNoVar)
363-
364 return cret351 return cret
365 }352 }
366 353
@@ -380,7 +367,6 @@ func FileGetContents(FilenameVar string, ContentsVar *[]byte, LengthVar *uint) (
380 var cerr *Error367 var cerr *Error
381 368
382 cret := xFileGetContents(FilenameVar, ContentsVar, LengthVar, &cerr)369 cret := xFileGetContents(FilenameVar, ContentsVar, LengthVar, &cerr)
383-
384 if cerr == nil {370 if cerr == nil {
385 return cret, nil371 return cret, nil
386 }372 }
@@ -409,12 +395,10 @@ var xFileOpenTmp func(uintptr, *string, **Error) int
409 func FileOpenTmp(TmplVar *string, NameUsedVar *string) (int, error) {395 func FileOpenTmp(TmplVar *string, NameUsedVar *string) (int, error) {
410 var cerr *Error396 var cerr *Error
411 397
412- TmplVarPtr, TmplVarBytes := core.NullableStringToPtr(TmplVar)398+ TmplVarPtr := core.GStrdupNullable(TmplVar)
399+ defer core.GFreeNullable(TmplVarPtr)
413 400
414 cret := xFileOpenTmp(TmplVarPtr, NameUsedVar, &cerr)401 cret := xFileOpenTmp(TmplVarPtr, NameUsedVar, &cerr)
415-
416- runtime.KeepAlive(TmplVarBytes)
417-
418 if cerr == nil {402 if cerr == nil {
419 return cret, nil403 return cret, nil
420 }404 }
@@ -454,7 +438,6 @@ func FileReadLink(FilenameVar string) (string, error) {
454 var cerr *Error438 var cerr *Error
455 439
456 cret := xFileReadLink(FilenameVar, &cerr)440 cret := xFileReadLink(FilenameVar, &cerr)
457-
458 if cerr == nil {441 if cerr == nil {
459 return cret, nil442 return cret, nil
460 }443 }
@@ -472,7 +455,6 @@ func FileSetContents(FilenameVar string, ContentsVar []byte, LengthVar int) (boo
472 var cerr *Error455 var cerr *Error
473 456
474 cret := xFileSetContents(FilenameVar, ContentsVar, LengthVar, &cerr)457 cret := xFileSetContents(FilenameVar, ContentsVar, LengthVar, &cerr)
475-
476 if cerr == nil {458 if cerr == nil {
477 return cret, nil459 return cret, nil
478 }460 }
@@ -540,7 +522,6 @@ func FileSetContentsFull(FilenameVar string, ContentsVar []byte, LengthVar int,
540 var cerr *Error522 var cerr *Error
541 523
542 cret := xFileSetContentsFull(FilenameVar, ContentsVar, LengthVar, FlagsVar, ModeVar, &cerr)524 cret := xFileSetContentsFull(FilenameVar, ContentsVar, LengthVar, FlagsVar, ModeVar, &cerr)
543-
544 if cerr == nil {525 if cerr == nil {
545 return cret, nil526 return cret, nil
546 }527 }
@@ -614,7 +595,6 @@ var xNewFileTest func(string, FileTest) bool
614 func NewFileTest(FilenameVar string, TestVar FileTest) bool {595 func NewFileTest(FilenameVar string, TestVar FileTest) bool {
615 596
616 cret := xNewFileTest(FilenameVar, TestVar)597 cret := xNewFileTest(FilenameVar, TestVar)
617-
618 return cret598 return cret
619 }599 }
620 600
@@ -633,7 +613,6 @@ var xGetCurrentDir func() string
633 func GetCurrentDir() string {613 func GetCurrentDir() string {
634 614
635 cret := xGetCurrentDir()615 cret := xGetCurrentDir()
636-
637 return cret616 return cret
638 }617 }
639 618
@@ -644,7 +623,6 @@ var xMkdirWithParents func(string, int) int
644 func MkdirWithParents(PathnameVar string, ModeVar int) int {623 func MkdirWithParents(PathnameVar string, ModeVar int) int {
645 624
646 cret := xMkdirWithParents(PathnameVar, ModeVar)625 cret := xMkdirWithParents(PathnameVar, ModeVar)
647-
648 return cret626 return cret
649 }627 }
650 628
@@ -669,7 +647,6 @@ var xMkdtemp func(string) string
669 func Mkdtemp(TmplVar string) string {647 func Mkdtemp(TmplVar string) string {
670 648
671 cret := xMkdtemp(TmplVar)649 cret := xMkdtemp(TmplVar)
672-
673 return cret650 return cret
674 }651 }
675 652
@@ -694,7 +671,6 @@ var xMkdtempFull func(string, int) string
694 func MkdtempFull(TmplVar string, ModeVar int) string {671 func MkdtempFull(TmplVar string, ModeVar int) string {
695 672
696 cret := xMkdtempFull(TmplVar, ModeVar)673 cret := xMkdtempFull(TmplVar, ModeVar)
697-
698 return cret674 return cret
699 }675 }
700 676
@@ -714,7 +690,6 @@ var xMkstemp func(string) int
714 func Mkstemp(TmplVar string) int {690 func Mkstemp(TmplVar string) int {
715 691
716 cret := xMkstemp(TmplVar)692 cret := xMkstemp(TmplVar)
717-
718 return cret693 return cret
719 }694 }
720 695
@@ -735,7 +710,6 @@ var xMkstempFull func(string, int, int) int
735 func MkstempFull(TmplVar string, FlagsVar int, ModeVar int) int {710 func MkstempFull(TmplVar string, FlagsVar int, ModeVar int) int {
736 711
737 cret := xMkstempFull(TmplVar, FlagsVar, ModeVar)712 cret := xMkstempFull(TmplVar, FlagsVar, ModeVar)
738-
739 return cret713 return cret
740 }714 }
741 715
@@ -750,7 +724,6 @@ var xPathGetBasename func(string) string
750 func PathGetBasename(FileNameVar string) string {724 func PathGetBasename(FileNameVar string) string {
751 725
752 cret := xPathGetBasename(FileNameVar)726 cret := xPathGetBasename(FileNameVar)
753-
754 return cret727 return cret
755 }728 }
756 729
@@ -765,7 +738,6 @@ var xPathGetDirname func(string) string
765 func PathGetDirname(FileNameVar string) string {738 func PathGetDirname(FileNameVar string) string {
766 739
767 cret := xPathGetDirname(FileNameVar)740 cret := xPathGetDirname(FileNameVar)
768-
769 return cret741 return cret
770 }742 }
771 743
@@ -798,7 +770,6 @@ var xPathIsAbsolute func(string) bool
798 func PathIsAbsolute(FileNameVar string) bool {770 func PathIsAbsolute(FileNameVar string) bool {
799 771
800 cret := xPathIsAbsolute(FileNameVar)772 cret := xPathIsAbsolute(FileNameVar)
801-
802 return cret773 return cret
803 }774 }
804 775
@@ -810,7 +781,6 @@ var xPathSkipRoot func(string) string
810 func PathSkipRoot(FileNameVar string) string {781 func PathSkipRoot(FileNameVar string) string {
811 782
812 cret := xPathSkipRoot(FileNameVar)783 cret := xPathSkipRoot(FileNameVar)
813-
814 return cret784 return cret
815 }785 }
816 786
M v4/glib/ggettext.go +10 -23
@@ -2,8 +2,6 @@
2 package glib2 package glib
3 3
4 import (4 import (
5- "runtime"
6-
7 "github.com/jwijenbergh/purego"5 "github.com/jwijenbergh/purego"
8 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
9 )7 )
@@ -16,12 +14,10 @@ var xDcgettext func(uintptr, string, int) string
16 // dcgettext() directly.14 // dcgettext() directly.
17 func Dcgettext(DomainVar *string, MsgidVar string, CategoryVar int) string {15 func Dcgettext(DomainVar *string, MsgidVar string, CategoryVar int) string {
18 16
19- DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)17+ DomainVarPtr := core.GStrdupNullable(DomainVar)
18+ defer core.GFreeNullable(DomainVarPtr)
20 19
21 cret := xDcgettext(DomainVarPtr, MsgidVar, CategoryVar)20 cret := xDcgettext(DomainVarPtr, MsgidVar, CategoryVar)
22-
23- runtime.KeepAlive(DomainVarBytes)
24-
25 return cret21 return cret
26 }22 }
27 23
@@ -61,12 +57,10 @@ var xDgettext func(uintptr, string) string
61 // but use the _() macro for translations.57 // but use the _() macro for translations.
62 func Dgettext(DomainVar *string, MsgidVar string) string {58 func Dgettext(DomainVar *string, MsgidVar string) string {
63 59
64- DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)60+ DomainVarPtr := core.GStrdupNullable(DomainVar)
61+ defer core.GFreeNullable(DomainVarPtr)
65 62
66 cret := xDgettext(DomainVarPtr, MsgidVar)63 cret := xDgettext(DomainVarPtr, MsgidVar)
67-
68- runtime.KeepAlive(DomainVarBytes)
69-
70 return cret64 return cret
71 }65 }
72 66
@@ -80,12 +74,10 @@ var xDngettext func(uintptr, string, string, uint) string
80 // proper.74 // proper.
81 func Dngettext(DomainVar *string, MsgidVar string, MsgidPluralVar string, NVar uint) string {75 func Dngettext(DomainVar *string, MsgidVar string, MsgidPluralVar string, NVar uint) string {
82 76
83- DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)77+ DomainVarPtr := core.GStrdupNullable(DomainVar)
78+ defer core.GFreeNullable(DomainVarPtr)
84 79
85 cret := xDngettext(DomainVarPtr, MsgidVar, MsgidPluralVar, NVar)80 cret := xDngettext(DomainVarPtr, MsgidVar, MsgidPluralVar, NVar)
86-
87- runtime.KeepAlive(DomainVarBytes)
88-
89 return cret81 return cret
90 }82 }
91 83
@@ -106,12 +98,10 @@ var xDpgettext func(uintptr, string, uint) string
106 // but use the C_() macro for translations with context.98 // but use the C_() macro for translations with context.
107 func Dpgettext(DomainVar *string, MsgctxtidVar string, MsgidoffsetVar uint) string {99 func Dpgettext(DomainVar *string, MsgctxtidVar string, MsgidoffsetVar uint) string {
108 100
109- DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)101+ DomainVarPtr := core.GStrdupNullable(DomainVar)
102+ defer core.GFreeNullable(DomainVarPtr)
110 103
111 cret := xDpgettext(DomainVarPtr, MsgctxtidVar, MsgidoffsetVar)104 cret := xDpgettext(DomainVarPtr, MsgctxtidVar, MsgidoffsetVar)
112-
113- runtime.KeepAlive(DomainVarBytes)
114-
115 return cret105 return cret
116 }106 }
117 107
@@ -129,12 +119,10 @@ var xDpgettext2 func(uintptr, string, string) string
129 // thus you may use non-string-literals as context and msgid arguments.119 // thus you may use non-string-literals as context and msgid arguments.
130 func Dpgettext2(DomainVar *string, ContextVar string, MsgidVar string) string {120 func Dpgettext2(DomainVar *string, ContextVar string, MsgidVar string) string {
131 121
132- DomainVarPtr, DomainVarBytes := core.NullableStringToPtr(DomainVar)122+ DomainVarPtr := core.GStrdupNullable(DomainVar)
123+ defer core.GFreeNullable(DomainVarPtr)
133 124
134 cret := xDpgettext2(DomainVarPtr, ContextVar, MsgidVar)125 cret := xDpgettext2(DomainVarPtr, ContextVar, MsgidVar)
135-
136- runtime.KeepAlive(DomainVarBytes)
137-
138 return cret126 return cret
139 }127 }
140 128
@@ -144,7 +132,6 @@ var xStripContext func(string, string) string
144 func StripContext(MsgidVar string, MsgvalVar string) string {132 func StripContext(MsgidVar string, MsgvalVar string) string {
145 133
146 cret := xStripContext(MsgidVar, MsgvalVar)134 cret := xStripContext(MsgidVar, MsgvalVar)
147-
148 return cret135 return cret
149 }136 }
150 137
M v4/glib/ghash.go +0 -31
@@ -72,7 +72,6 @@ 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-
76 return cret75 return cret
77 }76 }
78 77
@@ -111,7 +110,6 @@ var xHashTableIterNext func(uintptr, *uintptr, *uintptr) bool
111 func (x *HashTableIter) Next(KeyVar *uintptr, ValueVar *uintptr) bool {110 func (x *HashTableIter) Next(KeyVar *uintptr, ValueVar *uintptr) bool {
112 111
113 cret := xHashTableIterNext(x.GoPointer(), KeyVar, ValueVar)112 cret := xHashTableIterNext(x.GoPointer(), KeyVar, ValueVar)
114-
115 return cret113 return cret
116 }114 }
117 115
@@ -182,7 +180,6 @@ var xDirectEqual func(uintptr, uintptr) bool
182 func DirectEqual(V1Var uintptr, V2Var uintptr) bool {180 func DirectEqual(V1Var uintptr, V2Var uintptr) bool {
183 181
184 cret := xDirectEqual(V1Var, V2Var)182 cret := xDirectEqual(V1Var, V2Var)
185-
186 return cret183 return cret
187 }184 }
188 185
@@ -198,7 +195,6 @@ var xDirectHash func(uintptr) uint
198 func DirectHash(VVar uintptr) uint {195 func DirectHash(VVar uintptr) uint {
199 196
200 cret := xDirectHash(VVar)197 cret := xDirectHash(VVar)
201-
202 return cret198 return cret
203 }199 }
204 200
@@ -212,7 +208,6 @@ var xDoubleEqual func(uintptr, uintptr) bool
212 func DoubleEqual(V1Var uintptr, V2Var uintptr) bool {208 func DoubleEqual(V1Var uintptr, V2Var uintptr) bool {
213 209
214 cret := xDoubleEqual(V1Var, V2Var)210 cret := xDoubleEqual(V1Var, V2Var)
215-
216 return cret211 return cret
217 }212 }
218 213
@@ -225,7 +220,6 @@ var xDoubleHash func(uintptr) uint
225 func DoubleHash(VVar uintptr) uint {220 func DoubleHash(VVar uintptr) uint {
226 221
227 cret := xDoubleHash(VVar)222 cret := xDoubleHash(VVar)
228-
229 return cret223 return cret
230 }224 }
231 225
@@ -249,7 +243,6 @@ var xHashTableAdd func(*HashTable, uintptr) bool
249 func HashTableAdd(HashTableVar *HashTable, KeyVar uintptr) bool {243 func HashTableAdd(HashTableVar *HashTable, KeyVar uintptr) bool {
250 244
251 cret := xHashTableAdd(HashTableVar, KeyVar)245 cret := xHashTableAdd(HashTableVar, KeyVar)
252-
253 return cret246 return cret
254 }247 }
255 248
@@ -259,7 +252,6 @@ var xHashTableContains func(*HashTable, uintptr) bool
259 func HashTableContains(HashTableVar *HashTable, KeyVar uintptr) bool {252 func HashTableContains(HashTableVar *HashTable, KeyVar uintptr) bool {
260 253
261 cret := xHashTableContains(HashTableVar, KeyVar)254 cret := xHashTableContains(HashTableVar, KeyVar)
262-
263 return cret255 return cret
264 }256 }
265 257
@@ -310,7 +302,6 @@ func HashTableFind(HashTableVar *HashTable, PredicateVar *HRFunc, UserDataVar ui
310 }302 }
311 303
312 cret := xHashTableFind(HashTableVar, PredicateVarRef, UserDataVar)304 cret := xHashTableFind(HashTableVar, PredicateVarRef, UserDataVar)
313-
314 return cret305 return cret
315 }306 }
316 307
@@ -377,7 +368,6 @@ func HashTableForeachRemove(HashTableVar *HashTable, FuncVar *HRFunc, UserDataVa
377 }368 }
378 369
379 cret := xHashTableForeachRemove(HashTableVar, FuncVarRef, UserDataVar)370 cret := xHashTableForeachRemove(HashTableVar, FuncVarRef, UserDataVar)
380-
381 return cret371 return cret
382 }372 }
383 373
@@ -408,7 +398,6 @@ func HashTableForeachSteal(HashTableVar *HashTable, FuncVar *HRFunc, UserDataVar
408 }398 }
409 399
410 cret := xHashTableForeachSteal(HashTableVar, FuncVarRef, UserDataVar)400 cret := xHashTableForeachSteal(HashTableVar, FuncVarRef, UserDataVar)
411-
412 return cret401 return cret
413 }402 }
414 403
@@ -425,7 +414,6 @@ var xHashTableGetKeysAsPtrArray func(*HashTable) uintptr
425 func HashTableGetKeysAsPtrArray(HashTableVar *HashTable) uintptr {414 func HashTableGetKeysAsPtrArray(HashTableVar *HashTable) uintptr {
426 415
427 cret := xHashTableGetKeysAsPtrArray(HashTableVar)416 cret := xHashTableGetKeysAsPtrArray(HashTableVar)
428-
429 return cret417 return cret
430 }418 }
431 419
@@ -442,7 +430,6 @@ var xHashTableGetValuesAsPtrArray func(*HashTable) uintptr
442 func HashTableGetValuesAsPtrArray(HashTableVar *HashTable) uintptr {430 func HashTableGetValuesAsPtrArray(HashTableVar *HashTable) uintptr {
443 431
444 cret := xHashTableGetValuesAsPtrArray(HashTableVar)432 cret := xHashTableGetValuesAsPtrArray(HashTableVar)
445-
446 return cret433 return cret
447 }434 }
448 435
@@ -463,7 +450,6 @@ var xHashTableInsert func(*HashTable, uintptr, uintptr) bool
463 func HashTableInsert(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool {450 func HashTableInsert(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool {
464 451
465 cret := xHashTableInsert(HashTableVar, KeyVar, ValueVar)452 cret := xHashTableInsert(HashTableVar, KeyVar, ValueVar)
466-
467 return cret453 return cret
468 }454 }
469 455
@@ -476,7 +462,6 @@ var xHashTableLookup func(*HashTable, uintptr) uintptr
476 func HashTableLookup(HashTableVar *HashTable, KeyVar uintptr) uintptr {462 func HashTableLookup(HashTableVar *HashTable, KeyVar uintptr) uintptr {
477 463
478 cret := xHashTableLookup(HashTableVar, KeyVar)464 cret := xHashTableLookup(HashTableVar, KeyVar)
479-
480 return cret465 return cret
481 }466 }
482 467
@@ -493,7 +478,6 @@ var xHashTableLookupExtended func(*HashTable, uintptr, *uintptr, *uintptr) bool
493 func HashTableLookupExtended(HashTableVar *HashTable, LookupKeyVar uintptr, OrigKeyVar *uintptr, ValueVar *uintptr) bool {478 func HashTableLookupExtended(HashTableVar *HashTable, LookupKeyVar uintptr, OrigKeyVar *uintptr, ValueVar *uintptr) bool {
494 479
495 cret := xHashTableLookupExtended(HashTableVar, LookupKeyVar, OrigKeyVar, ValueVar)480 cret := xHashTableLookupExtended(HashTableVar, LookupKeyVar, OrigKeyVar, ValueVar)
496-
497 return cret481 return cret
498 }482 }
499 483
@@ -510,7 +494,6 @@ var xHashTableNewSimilar func(*HashTable) *HashTable
510 func HashTableNewSimilar(OtherHashTableVar *HashTable) *HashTable {494 func HashTableNewSimilar(OtherHashTableVar *HashTable) *HashTable {
511 495
512 cret := xHashTableNewSimilar(OtherHashTableVar)496 cret := xHashTableNewSimilar(OtherHashTableVar)
513-
514 return cret497 return cret
515 }498 }
516 499
@@ -521,7 +504,6 @@ var xHashTableRef func(*HashTable) *HashTable
521 func HashTableRef(HashTableVar *HashTable) *HashTable {504 func HashTableRef(HashTableVar *HashTable) *HashTable {
522 505
523 cret := xHashTableRef(HashTableVar)506 cret := xHashTableRef(HashTableVar)
524-
525 return cret507 return cret
526 }508 }
527 509
@@ -536,7 +518,6 @@ var xHashTableRemove func(*HashTable, uintptr) bool
536 func HashTableRemove(HashTableVar *HashTable, KeyVar uintptr) bool {518 func HashTableRemove(HashTableVar *HashTable, KeyVar uintptr) bool {
537 519
538 cret := xHashTableRemove(HashTableVar, KeyVar)520 cret := xHashTableRemove(HashTableVar, KeyVar)
539-
540 return cret521 return cret
541 }522 }
542 523
@@ -570,7 +551,6 @@ var xHashTableReplace func(*HashTable, uintptr, uintptr) bool
570 func HashTableReplace(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool {551 func HashTableReplace(HashTableVar *HashTable, KeyVar uintptr, ValueVar uintptr) bool {
571 552
572 cret := xHashTableReplace(HashTableVar, KeyVar, ValueVar)553 cret := xHashTableReplace(HashTableVar, KeyVar, ValueVar)
573-
574 return cret554 return cret
575 }555 }
576 556
@@ -580,7 +560,6 @@ var xHashTableSize func(*HashTable) uint
580 func HashTableSize(HashTableVar *HashTable) uint {560 func HashTableSize(HashTableVar *HashTable) uint {
581 561
582 cret := xHashTableSize(HashTableVar)562 cret := xHashTableSize(HashTableVar)
583-
584 return cret563 return cret
585 }564 }
586 565
@@ -591,7 +570,6 @@ var xHashTableSteal func(*HashTable, uintptr) bool
591 func HashTableSteal(HashTableVar *HashTable, KeyVar uintptr) bool {570 func HashTableSteal(HashTableVar *HashTable, KeyVar uintptr) bool {
592 571
593 cret := xHashTableSteal(HashTableVar, KeyVar)572 cret := xHashTableSteal(HashTableVar, KeyVar)
594-
595 return cret573 return cret
596 }574 }
597 575
@@ -614,7 +592,6 @@ var xHashTableStealAllKeys func(*HashTable) uintptr
614 func HashTableStealAllKeys(HashTableVar *HashTable) uintptr {592 func HashTableStealAllKeys(HashTableVar *HashTable) uintptr {
615 593
616 cret := xHashTableStealAllKeys(HashTableVar)594 cret := xHashTableStealAllKeys(HashTableVar)
617-
618 return cret595 return cret
619 }596 }
620 597
@@ -627,7 +604,6 @@ var xHashTableStealAllValues func(*HashTable) uintptr
627 func HashTableStealAllValues(HashTableVar *HashTable) uintptr {604 func HashTableStealAllValues(HashTableVar *HashTable) uintptr {
628 605
629 cret := xHashTableStealAllValues(HashTableVar)606 cret := xHashTableStealAllValues(HashTableVar)
630-
631 return cret607 return cret
632 }608 }
633 609
@@ -653,7 +629,6 @@ var xHashTableStealExtended func(*HashTable, uintptr, *uintptr, *uintptr) bool
653 func HashTableStealExtended(HashTableVar *HashTable, LookupKeyVar uintptr, StolenKeyVar *uintptr, StolenValueVar *uintptr) bool {629 func HashTableStealExtended(HashTableVar *HashTable, LookupKeyVar uintptr, StolenKeyVar *uintptr, StolenValueVar *uintptr) bool {
654 630
655 cret := xHashTableStealExtended(HashTableVar, LookupKeyVar, StolenKeyVar, StolenValueVar)631 cret := xHashTableStealExtended(HashTableVar, LookupKeyVar, StolenKeyVar, StolenValueVar)
656-
657 return cret632 return cret
658 }633 }
659 634
@@ -679,7 +654,6 @@ var xInt64Equal func(uintptr, uintptr) bool
679 func Int64Equal(V1Var uintptr, V2Var uintptr) bool {654 func Int64Equal(V1Var uintptr, V2Var uintptr) bool {
680 655
681 cret := xInt64Equal(V1Var, V2Var)656 cret := xInt64Equal(V1Var, V2Var)
682-
683 return cret657 return cret
684 }658 }
685 659
@@ -693,7 +667,6 @@ var xInt64Hash func(uintptr) uint
693 func Int64Hash(VVar uintptr) uint {667 func Int64Hash(VVar uintptr) uint {
694 668
695 cret := xInt64Hash(VVar)669 cret := xInt64Hash(VVar)
696-
697 return cret670 return cret
698 }671 }
699 672
@@ -711,7 +684,6 @@ var xIntEqual func(uintptr, uintptr) bool
711 func IntEqual(V1Var uintptr, V2Var uintptr) bool {684 func IntEqual(V1Var uintptr, V2Var uintptr) bool {
712 685
713 cret := xIntEqual(V1Var, V2Var)686 cret := xIntEqual(V1Var, V2Var)
714-
715 return cret687 return cret
716 }688 }
717 689
@@ -727,7 +699,6 @@ var xIntHash func(uintptr) uint
727 func IntHash(VVar uintptr) uint {699 func IntHash(VVar uintptr) uint {
728 700
729 cret := xIntHash(VVar)701 cret := xIntHash(VVar)
730-
731 return cret702 return cret
732 }703 }
733 704
@@ -744,7 +715,6 @@ var xStrEqual func(uintptr, uintptr) bool
744 func StrEqual(V1Var uintptr, V2Var uintptr) bool {715 func StrEqual(V1Var uintptr, V2Var uintptr) bool {
745 716
746 cret := xStrEqual(V1Var, V2Var)717 cret := xStrEqual(V1Var, V2Var)
747-
748 return cret718 return cret
749 }719 }
750 720
@@ -767,7 +737,6 @@ var xStrHash func(uintptr) uint
767 func StrHash(VVar uintptr) uint {737 func StrHash(VVar uintptr) uint {
768 738
769 cret := xStrHash(VVar)739 cret := xStrHash(VVar)
770-
771 return cret740 return cret
772 }741 }
773 742
M v4/glib/ghmac.go +0 -7
@@ -60,7 +60,6 @@ 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-
64 return cret63 return cret
65 }64 }
66 65
@@ -72,7 +71,6 @@ var xHmacCopy func(uintptr) *Hmac
72 func (x *Hmac) Copy() *Hmac {71 func (x *Hmac) Copy() *Hmac {
73 72
74 cret := xHmacCopy(x.GoPointer())73 cret := xHmacCopy(x.GoPointer())
75-
76 return cret74 return cret
77 }75 }
78 76
@@ -100,7 +98,6 @@ var xHmacGetString func(uintptr) string
100 func (x *Hmac) GetString() string {98 func (x *Hmac) GetString() string {
101 99
102 cret := xHmacGetString(x.GoPointer())100 cret := xHmacGetString(x.GoPointer())
103-
104 return cret101 return cret
105 }102 }
106 103
@@ -112,7 +109,6 @@ var xHmacRef func(uintptr) *Hmac
112 func (x *Hmac) Ref() *Hmac {109 func (x *Hmac) Ref() *Hmac {
113 110
114 cret := xHmacRef(x.GoPointer())111 cret := xHmacRef(x.GoPointer())
115-
116 return cret112 return cret
117 }113 }
118 114
@@ -152,7 +148,6 @@ var xComputeHmacForBytes func(ChecksumType, *Bytes, *Bytes) string
152 func ComputeHmacForBytes(DigestTypeVar ChecksumType, KeyVar *Bytes, DataVar *Bytes) string {148 func ComputeHmacForBytes(DigestTypeVar ChecksumType, KeyVar *Bytes, DataVar *Bytes) string {
153 149
154 cret := xComputeHmacForBytes(DigestTypeVar, KeyVar, DataVar)150 cret := xComputeHmacForBytes(DigestTypeVar, KeyVar, DataVar)
155-
156 return cret151 return cret
157 }152 }
158 153
@@ -166,7 +161,6 @@ var xComputeHmacForData func(ChecksumType, []byte, uint, []byte, uint) string
166 func ComputeHmacForData(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, DataVar []byte, LengthVar uint) string {161 func ComputeHmacForData(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, DataVar []byte, LengthVar uint) string {
167 162
168 cret := xComputeHmacForData(DigestTypeVar, KeyVar, KeyLenVar, DataVar, LengthVar)163 cret := xComputeHmacForData(DigestTypeVar, KeyVar, KeyLenVar, DataVar, LengthVar)
169-
170 return cret164 return cret
171 }165 }
172 166
@@ -178,7 +172,6 @@ var xComputeHmacForString func(ChecksumType, []byte, uint, string, int) string
178 func ComputeHmacForString(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, StrVar string, LengthVar int) string {172 func ComputeHmacForString(DigestTypeVar ChecksumType, KeyVar []byte, KeyLenVar uint, StrVar string, LengthVar int) string {
179 173
180 cret := xComputeHmacForString(DigestTypeVar, KeyVar, KeyLenVar, StrVar, LengthVar)174 cret := xComputeHmacForString(DigestTypeVar, KeyVar, KeyLenVar, StrVar, LengthVar)
181-
182 return cret175 return cret
183 }176 }
184 177
M v4/glib/ghook.go +0 -2
@@ -66,7 +66,6 @@ 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-
70 return cret69 return cret
71 }70 }
72 71
@@ -208,7 +207,6 @@ var xHookDestroy func(*HookList, uint) bool
208 func HookDestroy(HookListVar *HookList, HookIdVar uint) bool {207 func HookDestroy(HookListVar *HookList, HookIdVar uint) bool {
209 208
210 cret := xHookDestroy(HookListVar, HookIdVar)209 cret := xHookDestroy(HookListVar, HookIdVar)
211-
212 return cret210 return cret
213 }211 }
214 212
M v4/glib/ghostutils.go +0 -5
@@ -19,7 +19,6 @@ 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-
23 return cret22 return cret
24 }23 }
25 24
@@ -32,7 +31,6 @@ var xHostnameIsIpAddress func(string) bool
32 func HostnameIsIpAddress(HostnameVar string) bool {31 func HostnameIsIpAddress(HostnameVar string) bool {
33 32
34 cret := xHostnameIsIpAddress(HostnameVar)33 cret := xHostnameIsIpAddress(HostnameVar)
35-
36 return cret34 return cret
37 }35 }
38 36
@@ -48,7 +46,6 @@ var xHostnameIsNonAscii func(string) bool
48 func HostnameIsNonAscii(HostnameVar string) bool {46 func HostnameIsNonAscii(HostnameVar string) bool {
49 47
50 cret := xHostnameIsNonAscii(HostnameVar)48 cret := xHostnameIsNonAscii(HostnameVar)
51-
52 return cret49 return cret
53 }50 }
54 51
@@ -60,7 +57,6 @@ var xHostnameToAscii func(string) string
60 func HostnameToAscii(HostnameVar string) string {57 func HostnameToAscii(HostnameVar string) string {
61 58
62 cret := xHostnameToAscii(HostnameVar)59 cret := xHostnameToAscii(HostnameVar)
63-
64 return cret60 return cret
65 }61 }
66 62
@@ -76,7 +72,6 @@ var xHostnameToUnicode func(string) string
76 func HostnameToUnicode(HostnameVar string) string {72 func HostnameToUnicode(HostnameVar string) string {
77 73
78 cret := xHostnameToUnicode(HostnameVar)74 cret := xHostnameToUnicode(HostnameVar)
79-
80 return cret75 return cret
81 }76 }
82 77
M v4/glib/giochannel.go +4 -37
@@ -2,7 +2,6 @@
2 package glib2 package glib
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -117,7 +116,6 @@ func NewIOChannelFile(FilenameVar string, ModeVar string) (*IOChannel, error) {
117 var cerr *Error116 var cerr *Error
118 117
119 cret := xNewIOChannelFile(FilenameVar, ModeVar, &cerr)118 cret := xNewIOChannelFile(FilenameVar, ModeVar, &cerr)
120-
121 if cerr == nil {119 if cerr == nil {
122 return cret, nil120 return cret, nil
123 }121 }
@@ -152,7 +150,6 @@ var xIOChannelUnixNew func(int) *IOChannel
152 func IOChannelUnixNew(FdVar int) *IOChannel {150 func IOChannelUnixNew(FdVar int) *IOChannel {
153 151
154 cret := xIOChannelUnixNew(FdVar)152 cret := xIOChannelUnixNew(FdVar)
155-
156 return cret153 return cret
157 }154 }
158 155
@@ -174,7 +171,6 @@ func (x *IOChannel) Flush() (IOStatus, error) {
174 var cerr *Error171 var cerr *Error
175 172
176 cret := xIOChannelFlush(x.GoPointer())173 cret := xIOChannelFlush(x.GoPointer())
177-
178 if cerr == nil {174 if cerr == nil {
179 return cret, nil175 return cret, nil
180 }176 }
@@ -190,7 +186,6 @@ var xIOChannelGetBufferCondition func(uintptr) IOCondition
190 func (x *IOChannel) GetBufferCondition() IOCondition {186 func (x *IOChannel) GetBufferCondition() IOCondition {
191 187
192 cret := xIOChannelGetBufferCondition(x.GoPointer())188 cret := xIOChannelGetBufferCondition(x.GoPointer())
193-
194 return cret189 return cret
195 }190 }
196 191
@@ -200,7 +195,6 @@ var xIOChannelGetBufferSize func(uintptr) uint
200 func (x *IOChannel) GetBufferSize() uint {195 func (x *IOChannel) GetBufferSize() uint {
201 196
202 cret := xIOChannelGetBufferSize(x.GoPointer())197 cret := xIOChannelGetBufferSize(x.GoPointer())
203-
204 return cret198 return cret
205 }199 }
206 200
@@ -210,7 +204,6 @@ var xIOChannelGetBuffered func(uintptr) bool
210 func (x *IOChannel) GetBuffered() bool {204 func (x *IOChannel) GetBuffered() bool {
211 205
212 cret := xIOChannelGetBuffered(x.GoPointer())206 cret := xIOChannelGetBuffered(x.GoPointer())
213-
214 return cret207 return cret
215 }208 }
216 209
@@ -223,7 +216,6 @@ var xIOChannelGetCloseOnUnref func(uintptr) bool
223 func (x *IOChannel) GetCloseOnUnref() bool {216 func (x *IOChannel) GetCloseOnUnref() bool {
224 217
225 cret := xIOChannelGetCloseOnUnref(x.GoPointer())218 cret := xIOChannelGetCloseOnUnref(x.GoPointer())
226-
227 return cret219 return cret
228 }220 }
229 221
@@ -235,7 +227,6 @@ var xIOChannelGetEncoding func(uintptr) string
235 func (x *IOChannel) GetEncoding() string {227 func (x *IOChannel) GetEncoding() string {
236 228
237 cret := xIOChannelGetEncoding(x.GoPointer())229 cret := xIOChannelGetEncoding(x.GoPointer())
238-
239 return cret230 return cret
240 }231 }
241 232
@@ -253,7 +244,6 @@ var xIOChannelGetFlags func(uintptr) IOFlags
253 func (x *IOChannel) GetFlags() IOFlags {244 func (x *IOChannel) GetFlags() IOFlags {
254 245
255 cret := xIOChannelGetFlags(x.GoPointer())246 cret := xIOChannelGetFlags(x.GoPointer())
256-
257 return cret247 return cret
258 }248 }
259 249
@@ -266,7 +256,6 @@ var xIOChannelGetLineTerm func(uintptr, *int) string
266 func (x *IOChannel) GetLineTerm(LengthVar *int) string {256 func (x *IOChannel) GetLineTerm(LengthVar *int) string {
267 257
268 cret := xIOChannelGetLineTerm(x.GoPointer(), LengthVar)258 cret := xIOChannelGetLineTerm(x.GoPointer(), LengthVar)
269-
270 return cret259 return cret
271 }260 }
272 261
@@ -289,7 +278,6 @@ var xIOChannelRead func(uintptr, string, uint, uint) IOError
289 func (x *IOChannel) Read(BufVar string, CountVar uint, BytesReadVar uint) IOError {278 func (x *IOChannel) Read(BufVar string, CountVar uint, BytesReadVar uint) IOError {
290 279
291 cret := xIOChannelRead(x.GoPointer(), BufVar, CountVar, BytesReadVar)280 cret := xIOChannelRead(x.GoPointer(), BufVar, CountVar, BytesReadVar)
292-
293 return cret281 return cret
294 }282 }
295 283
@@ -300,7 +288,6 @@ func (x *IOChannel) ReadChars(BufVar *[]byte, CountVar uint, BytesReadVar *uint)
300 var cerr *Error288 var cerr *Error
301 289
302 cret := xIOChannelReadChars(x.GoPointer(), BufVar, CountVar, BytesReadVar, &cerr)290 cret := xIOChannelReadChars(x.GoPointer(), BufVar, CountVar, BytesReadVar, &cerr)
303-
304 if cerr == nil {291 if cerr == nil {
305 return cret, nil292 return cret, nil
306 }293 }
@@ -318,7 +305,6 @@ func (x *IOChannel) ReadLine(StrReturnVar *string, LengthVar *uint, TerminatorPo
318 var cerr *Error305 var cerr *Error
319 306
320 cret := xIOChannelReadLine(x.GoPointer(), StrReturnVar, LengthVar, TerminatorPosVar, &cerr)307 cret := xIOChannelReadLine(x.GoPointer(), StrReturnVar, LengthVar, TerminatorPosVar, &cerr)
321-
322 if cerr == nil {308 if cerr == nil {
323 return cret, nil309 return cret, nil
324 }310 }
@@ -333,7 +319,6 @@ func (x *IOChannel) ReadLineString(BufferVar *String, TerminatorPosVar uint) (IO
333 var cerr *Error319 var cerr *Error
334 320
335 cret := xIOChannelReadLineString(x.GoPointer(), BufferVar, TerminatorPosVar, &cerr)321 cret := xIOChannelReadLineString(x.GoPointer(), BufferVar, TerminatorPosVar, &cerr)
336-
337 if cerr == nil {322 if cerr == nil {
338 return cret, nil323 return cret, nil
339 }324 }
@@ -348,7 +333,6 @@ func (x *IOChannel) ReadToEnd(StrReturnVar *[]byte, LengthVar *uint) (IOStatus,
348 var cerr *Error333 var cerr *Error
349 334
350 cret := xIOChannelReadToEnd(x.GoPointer(), StrReturnVar, LengthVar, &cerr)335 cret := xIOChannelReadToEnd(x.GoPointer(), StrReturnVar, LengthVar, &cerr)
351-
352 if cerr == nil {336 if cerr == nil {
353 return cret, nil337 return cret, nil
354 }338 }
@@ -364,7 +348,6 @@ func (x *IOChannel) ReadUnichar(ThecharVar *uint32) (IOStatus, error) {
364 var cerr *Error348 var cerr *Error
365 349
366 cret := xIOChannelReadUnichar(x.GoPointer(), ThecharVar, &cerr)350 cret := xIOChannelReadUnichar(x.GoPointer(), ThecharVar, &cerr)
367-
368 if cerr == nil {351 if cerr == nil {
369 return cret, nil352 return cret, nil
370 }353 }
@@ -378,7 +361,6 @@ var xIOChannelRef func(uintptr) *IOChannel
378 func (x *IOChannel) Ref() *IOChannel {361 func (x *IOChannel) Ref() *IOChannel {
379 362
380 cret := xIOChannelRef(x.GoPointer())363 cret := xIOChannelRef(x.GoPointer())
381-
382 return cret364 return cret
383 }365 }
384 366
@@ -389,7 +371,6 @@ var xIOChannelSeek func(uintptr, int64, SeekType) IOError
389 func (x *IOChannel) Seek(OffsetVar int64, TypeVar SeekType) IOError {371 func (x *IOChannel) Seek(OffsetVar int64, TypeVar SeekType) IOError {
390 372
391 cret := xIOChannelSeek(x.GoPointer(), OffsetVar, TypeVar)373 cret := xIOChannelSeek(x.GoPointer(), OffsetVar, TypeVar)
392-
393 return cret374 return cret
394 }375 }
395 376
@@ -400,7 +381,6 @@ func (x *IOChannel) SeekPosition(OffsetVar int64, TypeVar SeekType) (IOStatus, e
400 var cerr *Error381 var cerr *Error
401 382
402 cret := xIOChannelSeekPosition(x.GoPointer(), OffsetVar, TypeVar, &cerr)383 cret := xIOChannelSeekPosition(x.GoPointer(), OffsetVar, TypeVar, &cerr)
403-
404 if cerr == nil {384 if cerr == nil {
405 return cret, nil385 return cret, nil
406 }386 }
@@ -497,12 +477,10 @@ var xIOChannelSetEncoding func(uintptr, uintptr, **Error) IOStatus
497 func (x *IOChannel) SetEncoding(EncodingVar *string) (IOStatus, error) {477 func (x *IOChannel) SetEncoding(EncodingVar *string) (IOStatus, error) {
498 var cerr *Error478 var cerr *Error
499 479
500- EncodingVarPtr, EncodingVarBytes := core.NullableStringToPtr(EncodingVar)480+ EncodingVarPtr := core.GStrdupNullable(EncodingVar)
481+ defer core.GFreeNullable(EncodingVarPtr)
501 482
502 cret := xIOChannelSetEncoding(x.GoPointer(), EncodingVarPtr, &cerr)483 cret := xIOChannelSetEncoding(x.GoPointer(), EncodingVarPtr, &cerr)
503-
504- runtime.KeepAlive(EncodingVarBytes)
505-
506 if cerr == nil {484 if cerr == nil {
507 return cret, nil485 return cret, nil
508 }486 }
@@ -517,7 +495,6 @@ func (x *IOChannel) SetFlags(FlagsVar IOFlags) (IOStatus, error) {
517 var cerr *Error495 var cerr *Error
518 496
519 cret := xIOChannelSetFlags(x.GoPointer(), FlagsVar, &cerr)497 cret := xIOChannelSetFlags(x.GoPointer(), FlagsVar, &cerr)
520-
521 if cerr == nil {498 if cerr == nil {
522 return cret, nil499 return cret, nil
523 }500 }
@@ -531,12 +508,11 @@ var xIOChannelSetLineTerm func(uintptr, uintptr, int)
531 // where in the file a line break occurs.508 // where in the file a line break occurs.
532 func (x *IOChannel) SetLineTerm(LineTermVar *string, LengthVar int) {509 func (x *IOChannel) SetLineTerm(LineTermVar *string, LengthVar int) {
533 510
534- LineTermVarPtr, LineTermVarBytes := core.NullableStringToPtr(LineTermVar)511+ LineTermVarPtr := core.GStrdupNullable(LineTermVar)
512+ defer core.GFreeNullable(LineTermVarPtr)
535 513
536 xIOChannelSetLineTerm(x.GoPointer(), LineTermVarPtr, LengthVar)514 xIOChannelSetLineTerm(x.GoPointer(), LineTermVarPtr, LengthVar)
537 515
538- runtime.KeepAlive(LineTermVarBytes)
539-
540 }516 }
541 517
542 var xIOChannelShutdown func(uintptr, bool, **Error) IOStatus518 var xIOChannelShutdown func(uintptr, bool, **Error) IOStatus
@@ -548,7 +524,6 @@ func (x *IOChannel) Shutdown(FlushVar bool) (IOStatus, error) {
548 var cerr *Error524 var cerr *Error
549 525
550 cret := xIOChannelShutdown(x.GoPointer(), FlushVar, &cerr)526 cret := xIOChannelShutdown(x.GoPointer(), FlushVar, &cerr)
551-
552 if cerr == nil {527 if cerr == nil {
553 return cret, nil528 return cret, nil
554 }529 }
@@ -565,7 +540,6 @@ var xIOChannelUnixGetFd func(uintptr) int
565 func (x *IOChannel) UnixGetFd() int {540 func (x *IOChannel) UnixGetFd() int {
566 541
567 cret := xIOChannelUnixGetFd(x.GoPointer())542 cret := xIOChannelUnixGetFd(x.GoPointer())
568-
569 return cret543 return cret
570 }544 }
571 545
@@ -584,7 +558,6 @@ var xIOChannelWrite func(uintptr, string, uint, uint) IOError
584 func (x *IOChannel) Write(BufVar string, CountVar uint, BytesWrittenVar uint) IOError {558 func (x *IOChannel) Write(BufVar string, CountVar uint, BytesWrittenVar uint) IOError {
585 559
586 cret := xIOChannelWrite(x.GoPointer(), BufVar, CountVar, BytesWrittenVar)560 cret := xIOChannelWrite(x.GoPointer(), BufVar, CountVar, BytesWrittenVar)
587-
588 return cret561 return cret
589 }562 }
590 563
@@ -600,7 +573,6 @@ func (x *IOChannel) WriteChars(BufVar []byte, CountVar int, BytesWrittenVar *uin
600 var cerr *Error573 var cerr *Error
601 574
602 cret := xIOChannelWriteChars(x.GoPointer(), BufVar, CountVar, BytesWrittenVar, &cerr)575 cret := xIOChannelWriteChars(x.GoPointer(), BufVar, CountVar, BytesWrittenVar, &cerr)
603-
604 if cerr == nil {576 if cerr == nil {
605 return cret, nil577 return cret, nil
606 }578 }
@@ -616,7 +588,6 @@ func (x *IOChannel) WriteUnichar(ThecharVar uint32) (IOStatus, error) {
616 var cerr *Error588 var cerr *Error
617 589
618 cret := xIOChannelWriteUnichar(x.GoPointer(), ThecharVar, &cerr)590 cret := xIOChannelWriteUnichar(x.GoPointer(), ThecharVar, &cerr)
619-
620 if cerr == nil {591 if cerr == nil {
621 return cret, nil592 return cret, nil
622 }593 }
@@ -1069,7 +1040,6 @@ func IoAddWatch(ChannelVar *IOChannel, ConditionVar IOCondition, FuncVar *IOFunc
1069 }1040 }
1070 1041
1071 cret := xIoAddWatch(ChannelVar, ConditionVar, FuncVarRef, UserDataVar)1042 cret := xIoAddWatch(ChannelVar, ConditionVar, FuncVarRef, UserDataVar)
1072-
1073 return cret1043 return cret
1074 }1044 }
1075 1045
@@ -1114,7 +1084,6 @@ func IoAddWatchFull(ChannelVar *IOChannel, PriorityVar int, ConditionVar IOCondi
1114 }1084 }
1115 1085
1116 cret := xIoAddWatchFull(ChannelVar, PriorityVar, ConditionVar, FuncVarRef, UserDataVar, NotifyVarRef)1086 cret := xIoAddWatchFull(ChannelVar, PriorityVar, ConditionVar, FuncVarRef, UserDataVar, NotifyVarRef)
1117-
1118 return cret1087 return cret
1119 }1088 }
1120 1089
@@ -1124,7 +1093,6 @@ var xIoChannelErrorFromErrno func(int) IOChannelError
1124 func IoChannelErrorFromErrno(EnVar int) IOChannelError {1093 func IoChannelErrorFromErrno(EnVar int) IOChannelError {
1125 1094
1126 cret := xIoChannelErrorFromErrno(EnVar)1095 cret := xIoChannelErrorFromErrno(EnVar)
1127-
1128 return cret1096 return cret
1129 }1097 }
1130 1098
@@ -1147,7 +1115,6 @@ var xIoCreateWatch func(*IOChannel, IOCondition) *Source
1147 func IoCreateWatch(ChannelVar *IOChannel, ConditionVar IOCondition) *Source {1115 func IoCreateWatch(ChannelVar *IOChannel, ConditionVar IOCondition) *Source {
1148 1116
1149 cret := xIoCreateWatch(ChannelVar, ConditionVar)1117 cret := xIoCreateWatch(ChannelVar, ConditionVar)
1150-
1151 return cret1118 return cret
1152 }1119 }
1153 1120
M v4/glib/gkeyfile.go +18 -61
@@ -2,7 +2,6 @@
2 package glib2 package glib
3 3
4 import (4 import (
5- "runtime"
6 "structs"5 "structs"
7 "unsafe"6 "unsafe"
8 7
@@ -177,7 +176,6 @@ var xNewKeyFile func() *KeyFile
177 func NewKeyFile() *KeyFile {176 func NewKeyFile() *KeyFile {
178 177
179 cret := xNewKeyFile()178 cret := xNewKeyFile()
180-
181 return cret179 return cret
182 }180 }
183 181
@@ -206,7 +204,6 @@ func (x *KeyFile) GetBoolean(GroupNameVar string, KeyVar string) (bool, error) {
206 var cerr *Error204 var cerr *Error
207 205
208 cret := xKeyFileGetBoolean(x.GoPointer(), GroupNameVar, KeyVar, &cerr)206 cret := xKeyFileGetBoolean(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
209-
210 if cerr == nil {207 if cerr == nil {
211 return cret, nil208 return cret, nil
212 }209 }
@@ -226,7 +223,6 @@ func (x *KeyFile) GetBooleanList(GroupNameVar string, KeyVar string, LengthVar *
226 var cerr *Error223 var cerr *Error
227 224
228 cret := xKeyFileGetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)225 cret := xKeyFileGetBooleanList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
229-
230 if cerr == nil {226 if cerr == nil {
231 return cret, nil227 return cret, nil
232 }228 }
@@ -248,16 +244,13 @@ var xKeyFileGetComment func(uintptr, uintptr, uintptr, **Error) string
248 func (x *KeyFile) GetComment(GroupNameVar *string, KeyVar *string) (string, error) {244 func (x *KeyFile) GetComment(GroupNameVar *string, KeyVar *string) (string, error) {
249 var cerr *Error245 var cerr *Error
250 246
251- GroupNameVarPtr, GroupNameVarBytes := core.NullableStringToPtr(GroupNameVar)247+ GroupNameVarPtr := core.GStrdupNullable(GroupNameVar)
248+ defer core.GFreeNullable(GroupNameVarPtr)
252 249
253- KeyVarPtr, KeyVarBytes := core.NullableStringToPtr(KeyVar)250+ KeyVarPtr := core.GStrdupNullable(KeyVar)
251+ defer core.GFreeNullable(KeyVarPtr)
254 252
255 cret := xKeyFileGetComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, &cerr)253 cret := xKeyFileGetComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, &cerr)
256-
257- runtime.KeepAlive(GroupNameVarBytes)
258-
259- runtime.KeepAlive(KeyVarBytes)
260-
261 if cerr == nil {254 if cerr == nil {
262 return cret, nil255 return cret, nil
263 }256 }
@@ -276,7 +269,6 @@ func (x *KeyFile) GetDouble(GroupNameVar string, KeyVar string) (float64, error)
276 var cerr *Error269 var cerr *Error
277 270
278 cret := xKeyFileGetDouble(x.GoPointer(), GroupNameVar, KeyVar, &cerr)271 cret := xKeyFileGetDouble(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
279-
280 if cerr == nil {272 if cerr == nil {
281 return cret, nil273 return cret, nil
282 }274 }
@@ -296,7 +288,6 @@ func (x *KeyFile) GetDoubleList(GroupNameVar string, KeyVar string, LengthVar *u
296 var cerr *Error288 var cerr *Error
297 289
298 cret := xKeyFileGetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)290 cret := xKeyFileGetDoubleList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
299-
300 if cerr == nil {291 if cerr == nil {
301 return cret, nil292 return cret, nil
302 }293 }
@@ -313,7 +304,6 @@ var xKeyFileGetGroups func(uintptr, *uint) []string
313 func (x *KeyFile) GetGroups(LengthVar *uint) []string {304 func (x *KeyFile) GetGroups(LengthVar *uint) []string {
314 305
315 cret := xKeyFileGetGroups(x.GoPointer(), LengthVar)306 cret := xKeyFileGetGroups(x.GoPointer(), LengthVar)
316-
317 return cret307 return cret
318 }308 }
319 309
@@ -328,7 +318,6 @@ func (x *KeyFile) GetInt64(GroupNameVar string, KeyVar string) (int64, error) {
328 var cerr *Error318 var cerr *Error
329 319
330 cret := xKeyFileGetInt64(x.GoPointer(), GroupNameVar, KeyVar, &cerr)320 cret := xKeyFileGetInt64(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
331-
332 if cerr == nil {321 if cerr == nil {
333 return cret, nil322 return cret, nil
334 }323 }
@@ -349,7 +338,6 @@ func (x *KeyFile) GetInteger(GroupNameVar string, KeyVar string) (int, error) {
349 var cerr *Error338 var cerr *Error
350 339
351 cret := xKeyFileGetInteger(x.GoPointer(), GroupNameVar, KeyVar, &cerr)340 cret := xKeyFileGetInteger(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
352-
353 if cerr == nil {341 if cerr == nil {
354 return cret, nil342 return cret, nil
355 }343 }
@@ -370,7 +358,6 @@ func (x *KeyFile) GetIntegerList(GroupNameVar string, KeyVar string, LengthVar *
370 var cerr *Error358 var cerr *Error
371 359
372 cret := xKeyFileGetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)360 cret := xKeyFileGetIntegerList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
373-
374 if cerr == nil {361 if cerr == nil {
375 return cret, nil362 return cret, nil
376 }363 }
@@ -389,7 +376,6 @@ func (x *KeyFile) GetKeys(GroupNameVar string, LengthVar *uint) ([]string, error
389 var cerr *Error376 var cerr *Error
390 377
391 cret := xKeyFileGetKeys(x.GoPointer(), GroupNameVar, LengthVar, &cerr)378 cret := xKeyFileGetKeys(x.GoPointer(), GroupNameVar, LengthVar, &cerr)
392-
393 if cerr == nil {379 if cerr == nil {
394 return cret, nil380 return cret, nil
395 }381 }
@@ -410,12 +396,10 @@ var xKeyFileGetLocaleForKey func(uintptr, string, string, uintptr) string
410 // this function.396 // this function.
411 func (x *KeyFile) GetLocaleForKey(GroupNameVar string, KeyVar string, LocaleVar *string) string {397 func (x *KeyFile) GetLocaleForKey(GroupNameVar string, KeyVar string, LocaleVar *string) string {
412 398
413- LocaleVarPtr, LocaleVarBytes := core.NullableStringToPtr(LocaleVar)399+ LocaleVarPtr := core.GStrdupNullable(LocaleVar)
400+ defer core.GFreeNullable(LocaleVarPtr)
414 401
415 cret := xKeyFileGetLocaleForKey(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr)402 cret := xKeyFileGetLocaleForKey(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr)
416-
417- runtime.KeepAlive(LocaleVarBytes)
418-
419 return cret403 return cret
420 }404 }
421 405
@@ -440,12 +424,10 @@ var xKeyFileGetLocaleString func(uintptr, string, string, uintptr, **Error) stri
440 func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar *string) (string, error) {424 func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar *string) (string, error) {
441 var cerr *Error425 var cerr *Error
442 426
443- LocaleVarPtr, LocaleVarBytes := core.NullableStringToPtr(LocaleVar)427+ LocaleVarPtr := core.GStrdupNullable(LocaleVar)
428+ defer core.GFreeNullable(LocaleVarPtr)
444 429
445 cret := xKeyFileGetLocaleString(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr, &cerr)430 cret := xKeyFileGetLocaleString(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr, &cerr)
446-
447- runtime.KeepAlive(LocaleVarBytes)
448-
449 if cerr == nil {431 if cerr == nil {
450 return cret, nil432 return cret, nil
451 }433 }
@@ -476,12 +458,10 @@ var xKeyFileGetLocaleStringList func(uintptr, string, string, uintptr, *uint, **
476 func (x *KeyFile) GetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar *string, LengthVar *uint) ([]string, error) {458 func (x *KeyFile) GetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar *string, LengthVar *uint) ([]string, error) {
477 var cerr *Error459 var cerr *Error
478 460
479- LocaleVarPtr, LocaleVarBytes := core.NullableStringToPtr(LocaleVar)461+ LocaleVarPtr := core.GStrdupNullable(LocaleVar)
462+ defer core.GFreeNullable(LocaleVarPtr)
480 463
481 cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr, LengthVar, &cerr)464 cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVarPtr, LengthVar, &cerr)
482-
483- runtime.KeepAlive(LocaleVarBytes)
484-
485 if cerr == nil {465 if cerr == nil {
486 return cret, nil466 return cret, nil
487 }467 }
@@ -495,7 +475,6 @@ var xKeyFileGetStartGroup func(uintptr) string
495 func (x *KeyFile) GetStartGroup() string {475 func (x *KeyFile) GetStartGroup() string {
496 476
497 cret := xKeyFileGetStartGroup(x.GoPointer())477 cret := xKeyFileGetStartGroup(x.GoPointer())
498-
499 return cret478 return cret
500 }479 }
501 480
@@ -513,7 +492,6 @@ func (x *KeyFile) GetString(GroupNameVar string, KeyVar string) (string, error)
513 var cerr *Error492 var cerr *Error
514 493
515 cret := xKeyFileGetString(x.GoPointer(), GroupNameVar, KeyVar, &cerr)494 cret := xKeyFileGetString(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
516-
517 if cerr == nil {495 if cerr == nil {
518 return cret, nil496 return cret, nil
519 }497 }
@@ -532,7 +510,6 @@ func (x *KeyFile) GetStringList(GroupNameVar string, KeyVar string, LengthVar *u
532 var cerr *Error510 var cerr *Error
533 511
534 cret := xKeyFileGetStringList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)512 cret := xKeyFileGetStringList(x.GoPointer(), GroupNameVar, KeyVar, LengthVar, &cerr)
535-
536 if cerr == nil {513 if cerr == nil {
537 return cret, nil514 return cret, nil
538 }515 }
@@ -551,7 +528,6 @@ func (x *KeyFile) GetUint64(GroupNameVar string, KeyVar string) (uint64, error)
551 var cerr *Error528 var cerr *Error
552 529
553 cret := xKeyFileGetUint64(x.GoPointer(), GroupNameVar, KeyVar, &cerr)530 cret := xKeyFileGetUint64(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
554-
555 if cerr == nil {531 if cerr == nil {
556 return cret, nil532 return cret, nil
557 }533 }
@@ -572,7 +548,6 @@ func (x *KeyFile) GetValue(GroupNameVar string, KeyVar string) (string, error) {
572 var cerr *Error548 var cerr *Error
573 549
574 cret := xKeyFileGetValue(x.GoPointer(), GroupNameVar, KeyVar, &cerr)550 cret := xKeyFileGetValue(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
575-
576 if cerr == nil {551 if cerr == nil {
577 return cret, nil552 return cret, nil
578 }553 }
@@ -586,7 +561,6 @@ var xKeyFileHasGroup func(uintptr, string) bool
586 func (x *KeyFile) HasGroup(GroupNameVar string) bool {561 func (x *KeyFile) HasGroup(GroupNameVar string) bool {
587 562
588 cret := xKeyFileHasGroup(x.GoPointer(), GroupNameVar)563 cret := xKeyFileHasGroup(x.GoPointer(), GroupNameVar)
589-
590 return cret564 return cret
591 }565 }
592 566
@@ -607,7 +581,6 @@ func (x *KeyFile) HasKey(GroupNameVar string, KeyVar string) (bool, error) {
607 var cerr *Error581 var cerr *Error
608 582
609 cret := xKeyFileHasKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr)583 cret := xKeyFileHasKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
610-
611 if cerr == nil {584 if cerr == nil {
612 return cret, nil585 return cret, nil
613 }586 }
@@ -625,7 +598,6 @@ func (x *KeyFile) LoadFromBytes(BytesVar *Bytes, FlagsVar KeyFileFlags) (bool, e
625 var cerr *Error598 var cerr *Error
626 599
627 cret := xKeyFileLoadFromBytes(x.GoPointer(), BytesVar, FlagsVar, &cerr)600 cret := xKeyFileLoadFromBytes(x.GoPointer(), BytesVar, FlagsVar, &cerr)
628-
629 if cerr == nil {601 if cerr == nil {
630 return cret, nil602 return cret, nil
631 }603 }
@@ -642,7 +614,6 @@ func (x *KeyFile) LoadFromData(DataVar string, LengthVar uint, FlagsVar KeyFileF
642 var cerr *Error614 var cerr *Error
643 615
644 cret := xKeyFileLoadFromData(x.GoPointer(), DataVar, LengthVar, FlagsVar, &cerr)616 cret := xKeyFileLoadFromData(x.GoPointer(), DataVar, LengthVar, FlagsVar, &cerr)
645-
646 if cerr == nil {617 if cerr == nil {
647 return cret, nil618 return cret, nil
648 }619 }
@@ -665,7 +636,6 @@ func (x *KeyFile) LoadFromDataDirs(FileVar string, FullPathVar *string, FlagsVar
665 var cerr *Error636 var cerr *Error
666 637
667 cret := xKeyFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, FlagsVar, &cerr)638 cret := xKeyFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, FlagsVar, &cerr)
668-
669 if cerr == nil {639 if cerr == nil {
670 return cret, nil640 return cret, nil
671 }641 }
@@ -694,7 +664,6 @@ func (x *KeyFile) LoadFromDirs(FileVar string, SearchDirsVar []string, FullPathV
694 var cerr *Error664 var cerr *Error
695 665
696 cret := xKeyFileLoadFromDirs(x.GoPointer(), FileVar, SearchDirsVar, FullPathVar, FlagsVar, &cerr)666 cret := xKeyFileLoadFromDirs(x.GoPointer(), FileVar, SearchDirsVar, FullPathVar, FlagsVar, &cerr)
697-
698 if cerr == nil {667 if cerr == nil {
699 return cret, nil668 return cret, nil
700 }669 }
@@ -716,7 +685,6 @@ func (x *KeyFile) LoadFromFile(FileVar string, FlagsVar KeyFileFlags) (bool, err
716 var cerr *Error685 var cerr *Error
717 686
718 cret := xKeyFileLoadFromFile(x.GoPointer(), FileVar, FlagsVar, &cerr)687 cret := xKeyFileLoadFromFile(x.GoPointer(), FileVar, FlagsVar, &cerr)
719-
720 if cerr == nil {688 if cerr == nil {
721 return cret, nil689 return cret, nil
722 }690 }
@@ -730,7 +698,6 @@ var xKeyFileRef func(uintptr) *KeyFile
730 func (x *KeyFile) Ref() *KeyFile {698 func (x *KeyFile) Ref() *KeyFile {
731 699
732 cret := xKeyFileRef(x.GoPointer())700 cret := xKeyFileRef(x.GoPointer())
733-
734 return cret701 return cret
735 }702 }
736 703
@@ -744,16 +711,13 @@ var xKeyFileRemoveComment func(uintptr, uintptr, uintptr, **Error) bool
744 func (x *KeyFile) RemoveComment(GroupNameVar *string, KeyVar *string) (bool, error) {711 func (x *KeyFile) RemoveComment(GroupNameVar *string, KeyVar *string) (bool, error) {
745 var cerr *Error712 var cerr *Error
746 713
747- GroupNameVarPtr, GroupNameVarBytes := core.NullableStringToPtr(GroupNameVar)714+ GroupNameVarPtr := core.GStrdupNullable(GroupNameVar)
715+ defer core.GFreeNullable(GroupNameVarPtr)
748 716
749- KeyVarPtr, KeyVarBytes := core.NullableStringToPtr(KeyVar)717+ KeyVarPtr := core.GStrdupNullable(KeyVar)
718+ defer core.GFreeNullable(KeyVarPtr)
750 719
751 cret := xKeyFileRemoveComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, &cerr)720 cret := xKeyFileRemoveComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, &cerr)
752-
753- runtime.KeepAlive(GroupNameVarBytes)
754-
755- runtime.KeepAlive(KeyVarBytes)
756-
757 if cerr == nil {721 if cerr == nil {
758 return cret, nil722 return cret, nil
759 }723 }
@@ -769,7 +733,6 @@ func (x *KeyFile) RemoveGroup(GroupNameVar string) (bool, error) {
769 var cerr *Error733 var cerr *Error
770 734
771 cret := xKeyFileRemoveGroup(x.GoPointer(), GroupNameVar, &cerr)735 cret := xKeyFileRemoveGroup(x.GoPointer(), GroupNameVar, &cerr)
772-
773 if cerr == nil {736 if cerr == nil {
774 return cret, nil737 return cret, nil
775 }738 }
@@ -784,7 +747,6 @@ func (x *KeyFile) RemoveKey(GroupNameVar string, KeyVar string) (bool, error) {
784 var cerr *Error747 var cerr *Error
785 748
786 cret := xKeyFileRemoveKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr)749 cret := xKeyFileRemoveKey(x.GoPointer(), GroupNameVar, KeyVar, &cerr)
787-
788 if cerr == nil {750 if cerr == nil {
789 return cret, nil751 return cret, nil
790 }752 }
@@ -808,7 +770,6 @@ func (x *KeyFile) SaveToFile(FilenameVar string) (bool, error) {
808 var cerr *Error770 var cerr *Error
809 771
810 cret := xKeyFileSaveToFile(x.GoPointer(), FilenameVar, &cerr)772 cret := xKeyFileSaveToFile(x.GoPointer(), FilenameVar, &cerr)
811-
812 if cerr == nil {773 if cerr == nil {
813 return cret, nil774 return cret, nil
814 }775 }
@@ -856,16 +817,13 @@ var xKeyFileSetComment func(uintptr, uintptr, uintptr, string, **Error) bool
856 func (x *KeyFile) SetComment(GroupNameVar *string, KeyVar *string, CommentVar string) (bool, error) {817 func (x *KeyFile) SetComment(GroupNameVar *string, KeyVar *string, CommentVar string) (bool, error) {
857 var cerr *Error818 var cerr *Error
858 819
859- GroupNameVarPtr, GroupNameVarBytes := core.NullableStringToPtr(GroupNameVar)820+ GroupNameVarPtr := core.GStrdupNullable(GroupNameVar)
821+ defer core.GFreeNullable(GroupNameVarPtr)
860 822
861- KeyVarPtr, KeyVarBytes := core.NullableStringToPtr(KeyVar)823+ KeyVarPtr := core.GStrdupNullable(KeyVar)
824+ defer core.GFreeNullable(KeyVarPtr)
862 825
863 cret := xKeyFileSetComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, CommentVar, &cerr)826 cret := xKeyFileSetComment(x.GoPointer(), GroupNameVarPtr, KeyVarPtr, CommentVar, &cerr)
864-
865- runtime.KeepAlive(GroupNameVarBytes)
866-
867- runtime.KeepAlive(KeyVarBytes)
868-
869 if cerr == nil {827 if cerr == nil {
870 return cret, nil828 return cret, nil
871 }829 }
@@ -1027,7 +985,6 @@ func (x *KeyFile) ToData(LengthVar *uint) (string, error) {
1027 var cerr *Error985 var cerr *Error
1028 986
1029 cret := xKeyFileToData(x.GoPointer(), LengthVar, &cerr)987 cret := xKeyFileToData(x.GoPointer(), LengthVar, &cerr)
1030-
1031 if cerr == nil {988 if cerr == nil {
1032 return cret, nil989 return cret, nil
1033 }990 }
M v4/glib/glib-types.go +0 -2
@@ -12,7 +12,6 @@ var xStrvGetType func() types.GType
12 func StrvGetType() types.GType {12 func StrvGetType() types.GType {
13 13
14 cret := xStrvGetType()14 cret := xStrvGetType()
15-
16 return cret15 return cret
17 }16 }
18 17
@@ -21,7 +20,6 @@ var xVariantGetGtype func() types.GType
21 func VariantGetGtype() types.GType {20 func VariantGetGtype() types.GType {
22 21
23 cret := xVariantGetGtype()22 cret := xVariantGetGtype()
24-
25 return cret23 return cret
26 }24 }
27 25
M v4/glib/glib-unix.go +0 -11
@@ -57,7 +57,6 @@ 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-
61 return cret60 return cret
62 }61 }
63 62
@@ -80,7 +79,6 @@ var xFdwalkSetCloexec func(int) int
80 func FdwalkSetCloexec(LowfdVar int) int {79 func FdwalkSetCloexec(LowfdVar int) int {
81 80
82 cret := xFdwalkSetCloexec(LowfdVar)81 cret := xFdwalkSetCloexec(LowfdVar)
83-
84 return cret82 return cret
85 }83 }
86 84
@@ -117,7 +115,6 @@ func UnixFdAdd(FdVar int, ConditionVar IOCondition, FunctionVar *UnixFDSourceFun
117 }115 }
118 116
119 cret := xUnixFdAdd(FdVar, ConditionVar, FunctionVarRef, UserDataVar)117 cret := xUnixFdAdd(FdVar, ConditionVar, FunctionVarRef, UserDataVar)
120-
121 return cret118 return cret
122 }119 }
123 120
@@ -162,7 +159,6 @@ func UnixFdAddFull(PriorityVar int, FdVar int, ConditionVar IOCondition, Functio
162 }159 }
163 160
164 cret := xUnixFdAddFull(PriorityVar, FdVar, ConditionVar, FunctionVarRef, UserDataVar, NotifyVarRef)161 cret := xUnixFdAddFull(PriorityVar, FdVar, ConditionVar, FunctionVarRef, UserDataVar, NotifyVarRef)
165-
166 return cret162 return cret
167 }163 }
168 164
@@ -178,7 +174,6 @@ var xUnixFdSourceNew func(int, IOCondition) *Source
178 func UnixFdSourceNew(FdVar int, ConditionVar IOCondition) *Source {174 func UnixFdSourceNew(FdVar int, ConditionVar IOCondition) *Source {
179 175
180 cret := xUnixFdSourceNew(FdVar, ConditionVar)176 cret := xUnixFdSourceNew(FdVar, ConditionVar)
181-
182 return cret177 return cret
183 }178 }
184 179
@@ -199,7 +194,6 @@ func UnixGetPasswdEntry(UserNameVar string) (uintptr, error) {
199 var cerr *Error194 var cerr *Error
200 195
201 cret := xUnixGetPasswdEntry(UserNameVar, &cerr)196 cret := xUnixGetPasswdEntry(UserNameVar, &cerr)
202-
203 if cerr == nil {197 if cerr == nil {
204 return cret, nil198 return cret, nil
205 }199 }
@@ -232,7 +226,6 @@ func UnixOpenPipe(FdsVar [2]int, FlagsVar int) (bool, error) {
232 var cerr *Error226 var cerr *Error
233 227
234 cret := xUnixOpenPipe(FdsVar, FlagsVar, &cerr)228 cret := xUnixOpenPipe(FdsVar, FlagsVar, &cerr)
235-
236 if cerr == nil {229 if cerr == nil {
237 return cret, nil230 return cret, nil
238 }231 }
@@ -249,7 +242,6 @@ func UnixSetFdNonblocking(FdVar int, NonblockVar bool) (bool, error) {
249 var cerr *Error242 var cerr *Error
250 243
251 cret := xUnixSetFdNonblocking(FdVar, NonblockVar, &cerr)244 cret := xUnixSetFdNonblocking(FdVar, NonblockVar, &cerr)
252-
253 if cerr == nil {245 if cerr == nil {
254 return cret, nil246 return cret, nil
255 }247 }
@@ -280,7 +272,6 @@ func UnixSignalAdd(SignumVar int, HandlerVar *SourceFunc, UserDataVar uintptr) u
280 }272 }
281 273
282 cret := xUnixSignalAdd(SignumVar, HandlerVarRef, UserDataVar)274 cret := xUnixSignalAdd(SignumVar, HandlerVarRef, UserDataVar)
283-
284 return cret275 return cret
285 }276 }
286 277
@@ -322,7 +313,6 @@ func UnixSignalAddFull(PriorityVar int, SignumVar int, HandlerVar *SourceFunc, U
322 }313 }
323 314
324 cret := xUnixSignalAddFull(PriorityVar, SignumVar, HandlerVarRef, UserDataVar, NotifyVarRef)315 cret := xUnixSignalAddFull(PriorityVar, SignumVar, HandlerVarRef, UserDataVar, NotifyVarRef)
325-
326 return cret316 return cret
327 }317 }
328 318
@@ -354,7 +344,6 @@ var xUnixSignalSourceNew func(int) *Source
354 func UnixSignalSourceNew(SignumVar int) *Source {344 func UnixSignalSourceNew(SignumVar int) *Source {
355 345
356 cret := xUnixSignalSourceNew(SignumVar)346 cret := xUnixSignalSourceNew(SignumVar)
357-
358 return cret347 return cret
359 }348 }
360 349
M v4/glib/gmain.go +0 -60 collapsed to keep the page light
M v4/glib/gmappedfile.go +0 -6 collapsed to keep the page light
M v4/glib/gmarkup.go +0 -12 collapsed to keep the page light
M v4/glib/gmem.go +0 -15 collapsed to keep the page light
M v4/glib/gmessages.go +26 -58 collapsed to keep the page light
M v4/glib/gnode.go +0 -20 collapsed to keep the page light
M v4/glib/goption.go +6 -21 collapsed to keep the page light
M v4/glib/gpathbuf.go +4 -18 collapsed to keep the page light
M v4/glib/gpattern.go +4 -15 collapsed to keep the page light
M v4/glib/gpoll.go +0 -1 collapsed to keep the page light
M v4/glib/gprimes.go +0 -1 collapsed to keep the page light
M v4/glib/gprintf.go +0 -7 collapsed to keep the page light
M v4/glib/gquark.go +10 -23 collapsed to keep the page light
M v4/glib/gqueue.go +0 -21 collapsed to keep the page light
M v4/glib/grand.go +0 -12 collapsed to keep the page light
M v4/glib/grcbox.go +0 -10 collapsed to keep the page light
M v4/glib/grefcount.go +0 -4 collapsed to keep the page light
M v4/glib/grefstring.go +0 -6 collapsed to keep the page light
M v4/glib/gregex.go +0 -37 collapsed to keep the page light
M v4/glib/grel.go +0 -5 collapsed to keep the page light
M v4/glib/gscanner.go +0 -10 collapsed to keep the page light
M v4/glib/gsequence.go +0 -24 collapsed to keep the page light
M v4/glib/gshell.go +0 -3 collapsed to keep the page light
M v4/glib/gslice.go +0 -5 collapsed to keep the page light
M v4/glib/gspawn.go +10 -25 collapsed to keep the page light
M v4/glib/gstdio.go +0 -17 collapsed to keep the page light
M v4/glib/gstrfuncs.go +16 -83 collapsed to keep the page light
M v4/glib/gstring.go +2 -38 collapsed to keep the page light
M v4/glib/gstringchunk.go +0 -3 collapsed to keep the page light
M v4/glib/gstrvbuilder.go +0 -4 collapsed to keep the page light
M v4/glib/gtestutils.go +18 -51 collapsed to keep the page light
M v4/glib/gthread.go +4 -36 collapsed to keep the page light
M v4/glib/gthreadpool.go +0 -9 collapsed to keep the page light
M v4/glib/gtimer.go +0 -3 collapsed to keep the page light
M v4/glib/gtimezone.go +4 -19 collapsed to keep the page light
M v4/glib/gtrashstack.go +0 -3 collapsed to keep the page light
M v4/glib/gtree.go +0 -23 collapsed to keep the page light
M v4/glib/gtypes.go +0 -1 collapsed to keep the page light
M v4/glib/gunicode.go +2 -71 collapsed to keep the page light
M v4/glib/guri.go +60 -125 collapsed to keep the page light
M v4/glib/gutils.go +2 -30 collapsed to keep the page light
M v4/glib/guuid.go +0 -2 collapsed to keep the page light
M v4/glib/gvariant-parser.go +0 -1 collapsed to keep the page light
M v4/glib/gvariant.go +8 -113 collapsed to keep the page light
M v4/glib/gvarianttype.go +2 -34 collapsed to keep the page light
M v4/glib/gversion.go +0 -1 collapsed to keep the page light
M v4/glib/main.go +0 -16 collapsed to keep the page light
M v4/gmodule/gmodule.go +2 -10 collapsed to keep the page light
M v4/gmodule/main.go +0 -1 collapsed to keep the page light
M v4/gobject/gbinding.go +0 -3 collapsed to keep the page light
M v4/gobject/gboxed.go +0 -2 collapsed to keep the page light
M v4/gobject/gclosure.go +0 -6 collapsed to keep the page light
M v4/gobject/genums.go +0 -10 collapsed to keep the page light
M v4/gobject/glib-types.go +0 -1 collapsed to keep the page light
M v4/gobject/gobject.go +0 -15 collapsed to keep the page light
M v4/gobject/gparam.go +4 -23 collapsed to keep the page light
M v4/gobject/gparamspecs.go +90 -137 collapsed to keep the page light
M v4/gobject/gsignal.go +0 -22 collapsed to keep the page light
M v4/gobject/gtype.go +0 -47 collapsed to keep the page light
M v4/gobject/gtypemodule.go +0 -4 collapsed to keep the page light
M v4/gobject/gvalue.go +8 -43 collapsed to keep the page light
M v4/gobject/gvaluearray.go +0 -9 collapsed to keep the page light
M v4/gobject/gvaluetypes.go +0 -3 collapsed to keep the page light
M v4/graphene/graphene-box.go +0 -19 collapsed to keep the page light
M v4/graphene/graphene-euler.go +0 -16 collapsed to keep the page light
M v4/graphene/graphene-frustum.go +0 -8 collapsed to keep the page light
M v4/graphene/graphene-matrix.go +0 -33 collapsed to keep the page light
M v4/graphene/graphene-plane.go +0 -9 collapsed to keep the page light
M v4/graphene/graphene-point.go +0 -8 collapsed to keep the page light
M v4/graphene/graphene-point3d.go +0 -10 collapsed to keep the page light
M v4/graphene/graphene-quad.go +0 -6 collapsed to keep the page light
M v4/graphene/graphene-quaternion.go +0 -12 collapsed to keep the page light
M v4/graphene/graphene-ray.go +0 -13 collapsed to keep the page light
M v4/graphene/graphene-rect.go +0 -17 collapsed to keep the page light
M v4/graphene/graphene-size.go +0 -5 collapsed to keep the page light
M v4/graphene/graphene-sphere.go +0 -9 collapsed to keep the page light
M v4/graphene/graphene-triangle.go +0 -9 collapsed to keep the page light
M v4/graphene/graphene-vec2.go +0 -14 collapsed to keep the page light
M v4/graphene/graphene-vec3.go +0 -16 collapsed to keep the page light
M v4/graphene/graphene-vec4.go +0 -20 collapsed to keep the page light
M v4/gsk/gskcomponenttransfer.go +0 -1 collapsed to keep the page light
M v4/gsk/gskglshader.go +0 -20 collapsed to keep the page light
M v4/gsk/gskpath.go +0 -1 collapsed to keep the page light
M v4/gsk/gskpathpoint.go +0 -6 collapsed to keep the page light
M v4/gsk/gskrenderer.go +0 -3 collapsed to keep the page light
M v4/gsk/gskrendernode.go +0 -5 collapsed to keep the page light
M v4/gsk/gskrendernodeimpl.go +0 -62 collapsed to keep the page light
M v4/gsk/gskroundedrect.go +0 -10 collapsed to keep the page light
M v4/gsk/gskstroke.go +0 -1 collapsed to keep the page light
M v4/gsk/gsktransform.go +0 -1 collapsed to keep the page light
M v4/gsk/gsktypes.go +0 -56 collapsed to keep the page light
M v4/gsk/main.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkaboutdialog.go +18 -47 collapsed to keep the page light
M v4/gtk/gtkaccelgroup.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkaccessible.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkactionable.go +2 -6 collapsed to keep the page light
M v4/gtk/gtkactionbar.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkadjustment.go +0 -7 collapsed to keep the page light
M v4/gtk/gtkalertdialog.go +0 -7 collapsed to keep the page light
M v4/gtk/gtkappchooser.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkappchooserbutton.go +0 -9 collapsed to keep the page light
M v4/gtk/gtkappchooserdialog.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkappchooserwidget.go +0 -11 collapsed to keep the page light
M v4/gtk/gtkapplication.go +4 -20 collapsed to keep the page light
M v4/gtk/gtkapplicationwindow.go +0 -14 collapsed to keep the page light
M v4/gtk/gtkaspectframe.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkassistant.go +0 -12 collapsed to keep the page light
M v4/gtk/gtkatcontext.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkbitset.go +0 -7 collapsed to keep the page light
M v4/gtk/gtkbookmarklist.go +6 -17 collapsed to keep the page light
M v4/gtk/gtkboolfilter.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkborder.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkbox.go +0 -9 collapsed to keep the page light
M v4/gtk/gtkboxlayout.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkbuildable.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkbuilder.go +2 -18 collapsed to keep the page light
M v4/gtk/gtkbuilderlistitemfactory.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkbuilderscope.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkbutton.go +2 -15 collapsed to keep the page light
M v4/gtk/gtkcalendar.go +0 -12 collapsed to keep the page light
M v4/gtk/gtkcellarea.go +0 -14 collapsed to keep the page light
M v4/gtk/gtkcellareabox.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkcelllayout.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkcellrenderer.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkcellrendererprogress.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkcellrenderertoggle.go +0 -3 collapsed to keep the page light
M v4/gtk/gtkcellview.go +0 -9 collapsed to keep the page light
M v4/gtk/gtkcenterbox.go +0 -7 collapsed to keep the page light
M v4/gtk/gtkcenterlayout.go +0 -3 collapsed to keep the page light
M v4/gtk/gtkcheckbutton.go +8 -23 collapsed to keep the page light
M v4/gtk/gtkcolorbutton.go +0 -7 collapsed to keep the page light
M v4/gtk/gtkcolorchooser.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkcolorchooserdialog.go +2 -10 collapsed to keep the page light
M v4/gtk/gtkcolorchooserwidget.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkcolordialog.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkcolordialogbutton.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkcolumnview.go +0 -13 collapsed to keep the page light
M v4/gtk/gtkcolumnviewcell.go +0 -3 collapsed to keep the page light
M v4/gtk/gtkcolumnviewcolumn.go +6 -16 collapsed to keep the page light
M v4/gtk/gtkcolumnviewrow.go +0 -7 collapsed to keep the page light
M v4/gtk/gtkcolumnviewsorter.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkcombobox.go +2 -19 collapsed to keep the page light
M v4/gtk/gtkcomboboxtext.go +6 -17 collapsed to keep the page light
M v4/gtk/gtkconstraint.go +0 -9 collapsed to keep the page light
M v4/gtk/gtkconstraintguide.go +2 -6 collapsed to keep the page light
M v4/gtk/gtkconstraintlayout.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkcsserror.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkcssprovider.go +2 -5 collapsed to keep the page light
M v4/gtk/gtkcsssection.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkdebug.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkdialog.go +4 -12 collapsed to keep the page light
M v4/gtk/gtkdialogerror.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkdirectorylist.go +4 -15 collapsed to keep the page light
M v4/gtk/gtkdragicon.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkdragsource.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkdrawingarea.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkdropcontrollermotion.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkdropdown.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkdroptarget.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkdroptargetasync.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkeditable.go +0 -13 collapsed to keep the page light
M v4/gtk/gtkeditablelabel.go +0 -15 collapsed to keep the page light
M v4/gtk/gtkemojichooser.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkentry.go +8 -51 collapsed to keep the page light
M v4/gtk/gtkentrybuffer.go +2 -10 collapsed to keep the page light
M v4/gtk/gtkentrycompletion.go +0 -11 collapsed to keep the page light
M v4/gtk/gtkenums.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkeventcontroller.go +4 -12 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerfocus.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerkey.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkeventcontrollermotion.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerscroll.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkexpander.go +6 -19 collapsed to keep the page light
M v4/gtk/gtkexpression.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkfilechooser.go +0 -10 collapsed to keep the page light
M v4/gtk/gtkfilechooserdialog.go +4 -21 collapsed to keep the page light
M v4/gtk/gtkfilechoosernative.go +10 -27 collapsed to keep the page light
M v4/gtk/gtkfilechooserwidget.go +0 -13 collapsed to keep the page light
M v4/gtk/gtkfiledialog.go +4 -11 collapsed to keep the page light
M v4/gtk/gtkfilefilter.go +2 -8 collapsed to keep the page light
M v4/gtk/gtkfilelauncher.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkfilter.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkfilterlistmodel.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkfixed.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkfixedlayout.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkflattenlistmodel.go +0 -3 collapsed to keep the page light
M v4/gtk/gtkflowbox.go +0 -19 collapsed to keep the page light
M v4/gtk/gtkfontbutton.go +0 -16 collapsed to keep the page light
M v4/gtk/gtkfontchooser.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkfontchooserdialog.go +2 -17 collapsed to keep the page light
M v4/gtk/gtkfontchooserwidget.go +0 -12 collapsed to keep the page light
M v4/gtk/gtkfontdialog.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkfontdialogbutton.go +2 -14 collapsed to keep the page light
M v4/gtk/gtkframe.go +4 -13 collapsed to keep the page light
M v4/gtk/gtkgesture.go +0 -13 collapsed to keep the page light
M v4/gtk/gtkgesturedrag.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkgesturelongpress.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkgesturepan.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkgesturerotate.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkgesturesingle.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkgesturestylus.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkgestureswipe.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkgesturezoom.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkglarea.go +0 -11 collapsed to keep the page light
M v4/gtk/gtkgraphicsoffload.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkgrid.go +0 -11 collapsed to keep the page light
M v4/gtk/gtkgridlayout.go +0 -10 collapsed to keep the page light
M v4/gtk/gtkgridview.go +0 -13 collapsed to keep the page light
M v4/gtk/gtkheaderbar.go +2 -12 collapsed to keep the page light
M v4/gtk/gtkiconpaintable.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkicontheme.go +2 -12 collapsed to keep the page light
M v4/gtk/gtkiconview.go +0 -34 collapsed to keep the page light
M v4/gtk/gtkimage.go +8 -22 collapsed to keep the page light
M v4/gtk/gtkimcontext.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkimmulticontext.go +2 -5 collapsed to keep the page light
M v4/gtk/gtkinfobar.go +2 -11 collapsed to keep the page light
M v4/gtk/gtkinscription.go +6 -24 collapsed to keep the page light
M v4/gtk/gtklabel.go +4 -32 collapsed to keep the page light
M v4/gtk/gtklayoutmanager.go +0 -1 collapsed to keep the page light
M v4/gtk/gtklevelbar.go +4 -18 collapsed to keep the page light
M v4/gtk/gtklinkbutton.go +4 -15 collapsed to keep the page light
M v4/gtk/gtklistbase.go +0 -8 collapsed to keep the page light
M v4/gtk/gtklistbox.go +2 -23 collapsed to keep the page light
M v4/gtk/gtklistheader.go +0 -3 collapsed to keep the page light
M v4/gtk/gtklistitem.go +0 -7 collapsed to keep the page light
M v4/gtk/gtkliststore.go +0 -24 collapsed to keep the page light
M v4/gtk/gtklistview.go +0 -12 collapsed to keep the page light
M v4/gtk/gtklockbutton.go +2 -11 collapsed to keep the page light
M v4/gtk/gtkmain.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkmaplistmodel.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkmediacontrols.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkmediafile.go +4 -11 collapsed to keep the page light
M v4/gtk/gtkmediastream.go +0 -17 collapsed to keep the page light
M v4/gtk/gtkmenubutton.go +0 -13 collapsed to keep the page light
M v4/gtk/gtkmessagedialog.go +6 -14 collapsed to keep the page light
M v4/gtk/gtkmountoperation.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkmultifilter.go +0 -12 collapsed to keep the page light
M v4/gtk/gtkmultiselection.go +0 -13 collapsed to keep the page light
M v4/gtk/gtkmultisorter.go +0 -4 collapsed to keep the page light
M v4/gtk/gtknativedialog.go +0 -3 collapsed to keep the page light
M v4/gtk/gtknoselection.go +0 -13 collapsed to keep the page light
M v4/gtk/gtknotebook.go +2 -26 collapsed to keep the page light
M v4/gtk/gtknumericsorter.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkorientable.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkoverlay.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkoverlaylayout.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkpagesetup.go +6 -25 collapsed to keep the page light
M v4/gtk/gtkpagesetupunixdialog.go +2 -9 collapsed to keep the page light
M v4/gtk/gtkpaned.go +0 -11 collapsed to keep the page light
M v4/gtk/gtkpapersize.go +4 -29 collapsed to keep the page light
M v4/gtk/gtkpasswordentry.go +0 -15 collapsed to keep the page light
M v4/gtk/gtkpicture.go +10 -24 collapsed to keep the page light
M v4/gtk/gtkpopover.go +0 -10 collapsed to keep the page light
M v4/gtk/gtkpopovermenu.go +0 -7 collapsed to keep the page light
M v4/gtk/gtkpopovermenubar.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkprintcontext.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkprintdialog.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkprinter.go +0 -20 collapsed to keep the page light
M v4/gtk/gtkprintjob.go +0 -16 collapsed to keep the page light
M v4/gtk/gtkprintoperation.go +2 -15 collapsed to keep the page light
M v4/gtk/gtkprintoperationpreview.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkprintsettings.go +8 -51 collapsed to keep the page light
M v4/gtk/gtkprintunixdialog.go +2 -15 collapsed to keep the page light
M v4/gtk/gtkprogressbar.go +2 -16 collapsed to keep the page light
M v4/gtk/gtkrange.go +0 -13 collapsed to keep the page light
M v4/gtk/gtkrecentmanager.go +4 -37 collapsed to keep the page light
M v4/gtk/gtkrevealer.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkscale.go +2 -13 collapsed to keep the page light
M v4/gtk/gtkscalebutton.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkscrollable.go +0 -3 collapsed to keep the page light
M v4/gtk/gtkscrollbar.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkscrolledwindow.go +0 -14 collapsed to keep the page light
M v4/gtk/gtksearchbar.go +0 -6 collapsed to keep the page light
M v4/gtk/gtksearchentry.go +2 -22 collapsed to keep the page light
M v4/gtk/gtkselectionfiltermodel.go +0 -3 collapsed to keep the page light
M v4/gtk/gtkselectionmodel.go +0 -10 collapsed to keep the page light
M v4/gtk/gtkseparator.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkshortcut.go +2 -5 collapsed to keep the page light
M v4/gtk/gtkshortcutaction.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkshortcutcontroller.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkshortcutlabel.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkshortcutsgroup.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkshortcutssection.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkshortcutsshortcut.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkshortcutswindow.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkshortcuttrigger.go +0 -10 collapsed to keep the page light
M v4/gtk/gtkshow.go +0 -1 collapsed to keep the page light
M v4/gtk/gtksingleselection.go +0 -16 collapsed to keep the page light
M v4/gtk/gtksizegroup.go +0 -3 collapsed to keep the page light
M v4/gtk/gtksizerequest.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkslicelistmodel.go +0 -5 collapsed to keep the page light
M v4/gtk/gtksnapshot.go +0 -1 collapsed to keep the page light
M v4/gtk/gtksorter.go +0 -2 collapsed to keep the page light
M v4/gtk/gtksortlistmodel.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkspinbutton.go +0 -24 collapsed to keep the page light
M v4/gtk/gtkspinner.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkstack.go +4 -28 collapsed to keep the page light
M v4/gtk/gtkstacksidebar.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkstackswitcher.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkstatusbar.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkstringfilter.go +2 -7 collapsed to keep the page light
M v4/gtk/gtkstringlist.go +0 -7 collapsed to keep the page light
M v4/gtk/gtkstringsorter.go +0 -2 collapsed to keep the page light
M v4/gtk/gtkstylecontext.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkswitch.go +2 -12 collapsed to keep the page light
M v4/gtk/gtktestatcontext.go +0 -7 collapsed to keep the page light
M v4/gtk/gtktestutils.go +0 -1 collapsed to keep the page light
M v4/gtk/gtktext.go +2 -33 collapsed to keep the page light
M v4/gtk/gtktextbuffer.go +6 -31 collapsed to keep the page light
M v4/gtk/gtktextchild.go +0 -2 collapsed to keep the page light
M v4/gtk/gtktextiter.go +0 -77 collapsed to keep the page light
M v4/gtk/gtktextmark.go +2 -8 collapsed to keep the page light
M v4/gtk/gtktexttag.go +2 -5 collapsed to keep the page light
M v4/gtk/gtktexttagtable.go +0 -3 collapsed to keep the page light
M v4/gtk/gtktextview.go +0 -37 collapsed to keep the page light
M v4/gtk/gtktogglebutton.go +2 -11 collapsed to keep the page light
M v4/gtk/gtktooltip.go +6 -11 collapsed to keep the page light
M v4/gtk/gtktreednd.go +0 -5 collapsed to keep the page light
M v4/gtk/gtktreeexpander.go +0 -7 collapsed to keep the page light
M v4/gtk/gtktreelistmodel.go +0 -9 collapsed to keep the page light
M v4/gtk/gtktreemodel.go +0 -36 collapsed to keep the page light
M v4/gtk/gtktreemodelfilter.go +0 -20 collapsed to keep the page light
M v4/gtk/gtktreemodelsort.go +0 -23 collapsed to keep the page light
M v4/gtk/gtktreeselection.go +0 -8 collapsed to keep the page light
M v4/gtk/gtktreesortable.go +0 -2 collapsed to keep the page light
M v4/gtk/gtktreestore.go +0 -26 collapsed to keep the page light
M v4/gtk/gtktreeview.go +0 -40 collapsed to keep the page light
M v4/gtk/gtktreeviewcolumn.go +0 -21 collapsed to keep the page light
M v4/gtk/gtktypes.go +0 -18 collapsed to keep the page light
M v4/gtk/gtkurilauncher.go +4 -10 collapsed to keep the page light
M v4/gtk/gtkversion.go +0 -6 collapsed to keep the page light
M v4/gtk/gtkvideo.go +8 -20 collapsed to keep the page light
M v4/gtk/gtkviewport.go +0 -8 collapsed to keep the page light
M v4/gtk/gtkvolumebutton.go +0 -5 collapsed to keep the page light
M v4/gtk/gtkwidget.go +18 -108 collapsed to keep the page light
M v4/gtk/gtkwidgetpaintable.go +0 -4 collapsed to keep the page light
M v4/gtk/gtkwindow.go +4 -30 collapsed to keep the page light
M v4/gtk/gtkwindowcontrols.go +2 -12 collapsed to keep the page light
M v4/gtk/gtkwindowgroup.go +0 -1 collapsed to keep the page light
M v4/gtk/gtkwindowhandle.go +0 -4 collapsed to keep the page light
M v4/pango/main.go +0 -1 collapsed to keep the page light
M v4/pango/pango-attributes.go +0 -64 collapsed to keep the page light
M v4/pango/pango-bidi-type.go +0 -4 collapsed to keep the page light
M v4/pango/pango-color.go +0 -4 collapsed to keep the page light
M v4/pango/pango-context.go +0 -10 collapsed to keep the page light
M v4/pango/pango-coverage.go +0 -1 collapsed to keep the page light
M v4/pango/pango-font.go +6 -57 collapsed to keep the page light
M v4/pango/pango-fontmap.go +2 -9 collapsed to keep the page light
M v4/pango/pango-fontset-simple.go +0 -1 collapsed to keep the page light
M v4/pango/pango-fontset.go +0 -1 collapsed to keep the page light
M v4/pango/pango-glyph-item.go +0 -8 collapsed to keep the page light
M v4/pango/pango-glyph.go +6 -13 collapsed to keep the page light
M v4/pango/pango-gravity.go +0 -4 collapsed to keep the page light
M v4/pango/pango-item.go +0 -7 collapsed to keep the page light
M v4/pango/pango-language.go +2 -8 collapsed to keep the page light
M v4/pango/pango-layout.go +0 -52 collapsed to keep the page light
M v4/pango/pango-markup.go +0 -3 collapsed to keep the page light
M v4/pango/pango-matrix.go +0 -3 collapsed to keep the page light
M v4/pango/pango-renderer.go +2 -8 collapsed to keep the page light
M v4/pango/pango-script.go +0 -4 collapsed to keep the page light
M v4/pango/pango-tabs.go +0 -8 collapsed to keep the page light
M v4/pango/pango-types.go +0 -7 collapsed to keep the page light
M v4/pango/pango-utils.go +2 -22 collapsed to keep the page light
M v4/pangocairo/pangocairo.go +0 -6 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