detached 12c19f8

Handle nullable strings for nullable params

commit
12c19f81e55cce2de0160c409be434ba66c53f58
author
brice · · 2025-12-12 18:35 UTC
parent
eb0e2e4
signature
unsigned
228 files · +1669 -1564
M internal/core/core.go +17 -0
@@ -226,3 +226,20 @@ func GoString(c uintptr) string {
226 }226 }
227 return string(unsafe.Slice((*byte)(ptr), length))227 return string(unsafe.Slice((*byte)(ptr), length))
228 }228 }
229+
230+// NullableStringToPtr converts a nullable Go string to a uintptr suitable for C calls.
231+func NullableStringToPtr(s *string) uintptr {
232+ if s == nil {
233+ return 0
234+ }
235+ return uintptr(unsafe.Pointer(CString(*s)))
236+}
237+
238+// PtrToNullableString converts a nullable char* to a Go *string (nil when NULL).
239+func PtrToNullableString(ptr uintptr) *string {
240+ if ptr == 0 {
241+ return nil
242+ }
243+ str := GoString(ptr)
244+ return &str
245+}
M internal/gir/pass/pass.go +48 -9
@@ -134,7 +134,7 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
134 Name: util.ConstructorName(c.Name, rec.Name),134 Name: util.ConstructorName(c.Name, rec.Name),
135 CName: c.CIdentifier,135 CName: c.CIdentifier,
136 Doc: c.Doc.StringSafe(),136 Doc: c.Doc.StringSafe(),
137- Args: c.Parameters.Template(ns.Name, "", p.Types, c.Throws),137+ Args: c.Parameters.Template(ns.Name, "", p.Types, c.Throws, types.ArgsFromGoToC),
138 Ret: c.ReturnValue.Template(ns.Name, "", p.Types, c.Throws),138 Ret: c.ReturnValue.Template(ns.Name, "", p.Types, c.Throws),
139 }139 }
140 }140 }
@@ -148,7 +148,7 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
148 fieldName = "x" + util.SnakeToCamel(f.Name) // Prefix callback pointer fields with `x` to make them private148 fieldName = "x" + util.SnakeToCamel(f.Name) // Prefix callback pointer fields with `x` to make them private
149 149
150 callbackName := util.SnakeToCamel(f.Name)150 callbackName := util.SnakeToCamel(f.Name)
151- args := f.Callback.Parameters.Template(ns.Name, "", p.Types, f.Callback.Throws)151+ args := f.Callback.Parameters.Template(ns.Name, "", p.Types, f.Callback.Throws, types.ArgsFromCToGo)
152 ret := f.Callback.ReturnValue.Template(ns.Name, "", p.Types, f.Callback.Throws)152 ret := f.Callback.ReturnValue.Template(ns.Name, "", p.Types, f.Callback.Throws)
153 153
154 apiTypes := args.API.Types154 apiTypes := args.API.Types
@@ -228,7 +228,7 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
228 Doc: f.Doc.StringSafe(),228 Doc: f.Doc.StringSafe(),
229 Name: name,229 Name: name,
230 CName: f.CIdentifier,230 CName: f.CIdentifier,
231- Args: f.Parameters.Template(ns.Name, "", p.Types, f.Throws),231+ Args: f.Parameters.Template(ns.Name, "", p.Types, f.Throws, types.ArgsFromGoToC),
232 Ret: f.ReturnValue.Template(ns.Name, "", p.Types, f.Throws),232 Ret: f.ReturnValue.Template(ns.Name, "", p.Types, f.Throws),
233 })233 })
234 }234 }
@@ -252,7 +252,7 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
252 cbT := types.CallbackTemplate{252 cbT := types.CallbackTemplate{
253 Doc: cb.Doc.StringSafe(),253 Doc: cb.Doc.StringSafe(),
254 Name: cb.Name,254 Name: cb.Name,
255- Args: cb.Parameters.Template(ns.Name, "", p.Types, cb.Throws),255+ Args: cb.Parameters.Template(ns.Name, "", p.Types, cb.Throws, types.ArgsFromCToGo),
256 Ret: cb.ReturnValue.Template(ns.Name, "", p.Types, cb.Throws),256 Ret: cb.ReturnValue.Template(ns.Name, "", p.Types, cb.Throws),
257 }257 }
258 callbacks[fn] = append(callbacks[fn], cbT)258 callbacks[fn] = append(callbacks[fn], cbT)
@@ -307,7 +307,7 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
307 Name: name,307 Name: name,
308 CName: f.CIdentifier,308 CName: f.CIdentifier,
309 Doc: f.Doc.StringSafe(),309 Doc: f.Doc.StringSafe(),
310- Args: f.Parameters.Template(ns.Name, "", p.Types, f.Throws),310+ Args: f.Parameters.Template(ns.Name, "", p.Types, f.Throws, types.ArgsFromGoToC),
311 Ret: f.ReturnValue.Template(ns.Name, "", p.Types, f.Throws),311 Ret: f.ReturnValue.Template(ns.Name, "", p.Types, f.Throws),
312 })312 })
313 }313 }
@@ -326,7 +326,7 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
326 Name: util.ConstructorName(c.Name, cls.Name),326 Name: util.ConstructorName(c.Name, cls.Name),
327 CName: c.CIdentifier,327 CName: c.CIdentifier,
328 Doc: c.Doc.StringSafe(),328 Doc: c.Doc.StringSafe(),
329- Args: c.Parameters.Template(ns.Name, "", p.Types, c.Throws),329+ Args: c.Parameters.Template(ns.Name, "", p.Types, c.Throws, types.ArgsFromGoToC),
330 Ret: c.ReturnValue.Template(ns.Name, "", p.Types, c.Throws),330 Ret: c.ReturnValue.Template(ns.Name, "", p.Types, c.Throws),
331 }331 }
332 }332 }
@@ -336,7 +336,7 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
336 Doc: s.Doc.StringSafe(),336 Doc: s.Doc.StringSafe(),
337 Name: util.DashToCamel(s.Name),337 Name: util.DashToCamel(s.Name),
338 CName: s.Name,338 CName: s.Name,
339- Args: s.Parameters.Template(ns.Name, "", p.Types, false),339+ Args: s.Parameters.Template(ns.Name, "", p.Types, false, types.ArgsFromCToGo),
340 Ret: s.ReturnValue.Template(ns.Name, "", p.Types, false),340 Ret: s.ReturnValue.Template(ns.Name, "", p.Types, false),
341 }341 }
342 }342 }
@@ -348,7 +348,7 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
348 Doc: f.Doc.StringSafe(),348 Doc: f.Doc.StringSafe(),
349 Name: name,349 Name: name,
350 CName: f.CIdentifier,350 CName: f.CIdentifier,
351- Args: f.Parameters.Template(ns.Name, "", p.Types, f.Throws),351+ Args: f.Parameters.Template(ns.Name, "", p.Types, f.Throws, types.ArgsFromGoToC),
352 Ret: f.ReturnValue.Template(ns.Name, "", p.Types, f.Throws),352 Ret: f.ReturnValue.Template(ns.Name, "", p.Types, f.Throws),
353 }353 }
354 }354 }
@@ -359,7 +359,7 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
359 Name: name,359 Name: name,
360 CName: f.CIdentifier,360 CName: f.CIdentifier,
361 Doc: f.Doc.StringSafe(),361 Doc: f.Doc.StringSafe(),
362- Args: f.Parameters.Template(ns.Name, "", p.Types, f.Throws),362+ Args: f.Parameters.Template(ns.Name, "", p.Types, f.Throws, types.ArgsFromGoToC),
363 Ret: f.ReturnValue.Template(ns.Name, "", p.Types, f.Throws),363 Ret: f.ReturnValue.Template(ns.Name, "", p.Types, f.Throws),
364 }364 }
365 }365 }
@@ -460,12 +460,51 @@ func (p *Pass) writeGo(r types.Repository, gotemp *template.Template, dir string
460 }460 }
461 }461 }
462 462
463+ needsCoreHelpers := false
464+ checkFuncArgs := func(funcs []types.FuncTemplate) {
465+ if needsCoreHelpers {
466+ return
467+ }
468+ for _, f := range funcs {
469+ if f.Args.NeedsCore() {
470+ needsCoreHelpers = true
471+ return
472+ }
473+ }
474+ }
475+ checkInterfaceArgs := func(funcs []types.InterfaceFuncTemplate) {
476+ if needsCoreHelpers {
477+ return
478+ }
479+ for _, f := range funcs {
480+ if f.Args.NeedsCore() {
481+ needsCoreHelpers = true
482+ return
483+ }
484+ }
485+ }
486+
487+ for _, rec := range records[fn] {
488+ checkFuncArgs(rec.Constructors)
489+ checkFuncArgs(rec.Receivers)
490+ }
491+ for _, cls := range classes[fn] {
492+ checkFuncArgs(cls.Constructors)
493+ checkFuncArgs(cls.Receivers)
494+ checkFuncArgs(cls.Functions)
495+ }
496+ checkFuncArgs(functions[fn])
497+ for _, inter := range interfaces[fn] {
498+ checkInterfaceArgs(inter.Methods)
499+ }
500+
463 args := types.TemplateArg{501 args := types.TemplateArg{
464 PkgName: pkgName,502 PkgName: pkgName,
465 PkgEnv: strings.ToUpper(pkgName),503 PkgEnv: strings.ToUpper(pkgName),
466 PkgConfigName: pkgConfigName,504 PkgConfigName: pkgConfigName,
467 SharedLibraries: sharedLibraries,505 SharedLibraries: sharedLibraries,
468 NeedsInit: needsInit,506 NeedsInit: needsInit,
507+ NeedsCore: needsCoreHelpers,
469 HasReceiverCallbacks: hasReceiverCallbacks,508 HasReceiverCallbacks: hasReceiverCallbacks,
470 HasFunctionCallbacks: hasFunctionCallbacks,509 HasFunctionCallbacks: hasFunctionCallbacks,
471 Aliases: aliases[fn],510 Aliases: aliases[fn],
M internal/gir/types/interface.go +1 -1
@@ -28,7 +28,7 @@ func ConvertInterface(currns string, ins string, inter Interface, implemented ma
28 Doc: m.Doc.StringSafe(),28 Doc: m.Doc.StringSafe(),
29 CName: m.CIdentifier,29 CName: m.CIdentifier,
30 Name: name,30 Name: name,
31- Args: m.Parameters.Template(currns, ins, kinds, m.Throws),31+ Args: m.Parameters.Template(currns, ins, kinds, m.Throws, ArgsFromGoToC),
32 Ret: m.ReturnValue.Template(currns, ins, kinds, m.Throws),32 Ret: m.ReturnValue.Template(currns, ins, kinds, m.Throws),
33 },33 },
34 })34 })
M internal/gir/types/template.go +49 -6
@@ -48,6 +48,32 @@ type funcArgsTemplate struct {
48 48
49 // Callbacks tracks callback parameters for proper closure generation49 // Callbacks tracks callback parameters for proper closure generation
50 Callbacks []CallbackParam50 Callbacks []CallbackParam
51+
52+ // UsesNullableHelper indicates nullable string handling that needs core import.
53+ UsesNullableHelper bool
54+}
55+
56+// ArgContext indicates where the arguments are flowing so we can handle
57+// direction-sensitive cases (e.g. nullable strings) differently.
58+type ArgContext int
59+
60+const (
61+ // ArgsFromGoToC covers regular functions/methods where Go calls into C.
62+ ArgsFromGoToC ArgContext = iota
63+ // ArgsFromCToGo covers callbacks/signals where C calls into Go.
64+ ArgsFromCToGo
65+)
66+
67+func isStringType(t string) bool {
68+ if strings.HasPrefix(t, "[]") {
69+ return false
70+ }
71+ return strings.TrimLeft(t, "*") == "string"
72+}
73+
74+// NeedsCore reports whether this argument set requires core helpers.
75+func (f funcArgsTemplate) NeedsCore() bool {
76+ return f.UsesNullableHelper
51 }77 }
52 78
53 func qualifyCallbackType(t string, callbackNS string, currentNS string) string {79 func qualifyCallbackType(t string, callbackNS string, currentNS string) string {
@@ -103,7 +129,7 @@ func qualifyCallbackTypes(types []string, callbackNS string, currentNS string) [
103 return qualified129 return qualified
104 }130 }
105 131
106-func (f *funcArgsTemplate) AddAPI(t string, n string, k Kind, ns string, nullable bool, isOut bool) {132+func (f *funcArgsTemplate) AddAPI(t string, n string, k Kind, ns string, nullable bool, isOut bool, ctx ArgContext) {
107 c := n133 c := n
108 cRef := n // For CallWithRefs, defaults to same as Call134 cRef := n // For CallWithRefs, defaults to same as Call
109 stars := strings.Count(t, "*")135 stars := strings.Count(t, "*")
@@ -125,6 +151,15 @@ func (f *funcArgsTemplate) AddAPI(t string, n string, k Kind, ns string, nullabl
125 c = n151 c = n
126 cRef = n152 cRef = n
127 } else {153 } else {
154+ // Nullable strings differ based on direction. For Go->C we need a *string API type
155+ // and pass a pointer (or nil) to C. For C->Go we keep the string as-is.
156+ if ctx == ArgsFromGoToC && nullable && isStringType(t) {
157+ f.UsesNullableHelper = true
158+ t = "*string"
159+ c = fmt.Sprintf("core.NullableStringToPtr(%s)", n)
160+ cRef = c
161+ }
162+
128 switch k {163 switch k {
129 case CallbackType:164 case CallbackType:
130 // Call uses glib.NewCallback for contexts like callback accessor getters165 // Call uses glib.NewCallback for contexts like callback accessor getters
@@ -176,7 +211,7 @@ func (f *funcArgsTemplate) AddAPI(t string, n string, k Kind, ns string, nullabl
176 f.API.Full = append(f.API.Full, n+" "+t)211 f.API.Full = append(f.API.Full, n+" "+t)
177 }212 }
178 213
179-func (f *funcArgsTemplate) AddPure(t string, n string, k Kind, isOut bool) {214+func (f *funcArgsTemplate) AddPure(t string, n string, k Kind, isOut bool, nullable bool, ctx ArgContext) {
180 n += "p"215 n += "p"
181 c := n216 c := n
182 stars := strings.Count(t, "*")217 stars := strings.Count(t, "*")
@@ -189,6 +224,12 @@ func (f *funcArgsTemplate) AddPure(t string, n string, k Kind, isOut bool) {
189 }224 }
190 c = n225 c = n
191 } else {226 } else {
227+ if ctx == ArgsFromGoToC && nullable && isStringType(t) {
228+ f.UsesNullableHelper = true
229+ t = "uintptr"
230+ c = fmt.Sprintf("core.NullableStringToPtr(%s)", strings.TrimSuffix(n, "p"))
231+ }
232+
192 switch k {233 switch k {
193 case RecordsType:234 case RecordsType:
194 if stars == 0 {235 if stars == 0 {
@@ -228,7 +269,7 @@ func (f *funcArgsTemplate) AddPure(t string, n string, k Kind, isOut bool) {
228 f.Pure.Full = append(f.Pure.Full, n+" "+t)269 f.Pure.Full = append(f.Pure.Full, n+" "+t)
229 }270 }
230 271
231-func (f *funcArgsTemplate) Add(p Parameter, ins string, ns string, kinds KindMap) {272+func (f *funcArgsTemplate) Add(p Parameter, ins string, ns string, kinds KindMap, ctx ArgContext) {
232 // get the lookup namespace273 // get the lookup namespace
233 // as if the interface namespace is non-empty274 // as if the interface namespace is non-empty
234 // means we can also lookup in the namespace of the interface275 // means we can also lookup in the namespace of the interface
@@ -257,8 +298,8 @@ func (f *funcArgsTemplate) Add(p Parameter, ins string, ns string, kinds KindMap
257 298
258 isOut := p.Direction == "out"299 isOut := p.Direction == "out"
259 300
260- f.AddAPI(goType, varName, kind, ns, p.Nullable, isOut)301+ f.AddAPI(goType, varName, kind, ns, p.Nullable, isOut, ctx)
261- f.AddPure(goType, varName, kind, isOut)302+ f.AddPure(goType, varName, kind, isOut, p.Nullable, ctx)
262 303
263 // For callback parameters (not out parameters), populate callback metadata304 // For callback parameters (not out parameters), populate callback metadata
264 // This enables the template to generate proper closure wrapping305 // This enables the template to generate proper closure wrapping
@@ -273,7 +314,7 @@ func (f *funcArgsTemplate) Add(p Parameter, ins string, ns string, kinds KindMap
273 314
274 // Get the callback's pure argument types and return type315 // Get the callback's pure argument types and return type
275 // Use cbNs (callback's namespace) for proper type lookups316 // Use cbNs (callback's namespace) for proper type lookups
276- cbArgs := cb.Parameters.Template(cbNs, "", kinds, cb.Throws)317+ cbArgs := cb.Parameters.Template(cbNs, "", kinds, cb.Throws, ArgsFromCToGo)
277 var retRaw string318 var retRaw string
278 if cb.ReturnValue != nil {319 if cb.ReturnValue != nil {
279 cbRet := cb.ReturnValue.Template(cbNs, "", kinds, cb.Throws)320 cbRet := cb.ReturnValue.Template(cbNs, "", kinds, cb.Throws)
@@ -611,6 +652,8 @@ type TemplateArg struct {
611 SharedLibraries []string652 SharedLibraries []string
612 // NeedsInit declares whether or not this file needs an init code to register functions with purego653 // NeedsInit declares whether or not this file needs an init code to register functions with purego
613 NeedsInit bool654 NeedsInit bool
655+ // NeedsCore indicates if core helpers are required even without init.
656+ NeedsCore bool
614 // HasReceiverCallbacks indicates if any receiver method has callback parameters657 // HasReceiverCallbacks indicates if any receiver method has callback parameters
615 // This is used to conditionally import unsafe and purego658 // This is used to conditionally import unsafe and purego
616 HasReceiverCallbacks bool659 HasReceiverCallbacks bool
M internal/gir/types/types.go +2 -2
@@ -658,7 +658,7 @@ func (p *Parameter) VarName() string {
658 return snaked + "Var"658 return snaked + "Var"
659 }659 }
660 660
661-func (p *Parameters) Template(ns string, ifacens string, kinds KindMap, throws bool) funcArgsTemplate {661+func (p *Parameters) Template(ns string, ifacens string, kinds KindMap, throws bool, ctx ArgContext) funcArgsTemplate {
662 if p == nil {662 if p == nil {
663 return funcArgsTemplate{}663 return funcArgsTemplate{}
664 }664 }
@@ -668,7 +668,7 @@ func (p *Parameters) Template(ns string, ifacens string, kinds KindMap, throws b
668 }668 }
669 args := funcArgsTemplate{}669 args := funcArgsTemplate{}
670 for _, par := range params {670 for _, par := range params {
671- args.Add(par, ifacens, ns, kinds)671+ args.Add(par, ifacens, ns, kinds, ctx)
672 }672 }
673 if throws {673 if throws {
674 args.AddThrows(ns)674 args.AddThrows(ns)
M internal/gir/util/util.go +3 -0
@@ -252,6 +252,9 @@ func PropertyScalarSet(notGObject bool, gvalueType, setMethod string) string {
252 if notGObject {252 if notGObject {
253 prefix = "gobject."253 prefix = "gobject."
254 }254 }
255+ if setMethod == "SetString" {
256+ return prefix + gvalueType + ")\n\tv." + setMethod + "(&value"
257+ }
255 return prefix + gvalueType + ")\n\tv." + setMethod + "(value"258 return prefix + gvalueType + ")\n\tv." + setMethod + "(value"
256 }259 }
257 260
M pkg/core/core.go +9 -7
@@ -3,11 +3,13 @@ package core
3 import "github.com/jwijenbergh/puregotk/internal/core"3 import "github.com/jwijenbergh/puregotk/internal/core"
4 4
5 var (5 var (
6- GetPaths = core.GetPaths6+ GetPaths = core.GetPaths
7- ByteSlice = core.ByteSlice7+ ByteSlice = core.ByteSlice
8- GoStringSlice = core.GoStringSlice8+ GoStringSlice = core.GoStringSlice
9- GoString = core.GoString9+ GoString = core.GoString
10- SetPackageName = core.SetPackageName10+ NullableStringToPtr = core.NullableStringToPtr
11- SetSharedLibraries = core.SetSharedLibraries11+ PtrToNullableString = core.PtrToNullableString
12- PuregoSafeRegister = core.PuregoSafeRegister12+ SetPackageName = core.SetPackageName
13+ SetSharedLibraries = core.SetSharedLibraries
14+ PuregoSafeRegister = core.PuregoSafeRegister
13 )15 )
M templates/go +3 -2
@@ -12,7 +12,8 @@ package {{.PkgName}}
12 {{ $HasCallbacks := or .HasReceiverCallbacks .HasFunctionCallbacks }}12 {{ $HasCallbacks := or .HasReceiverCallbacks .HasFunctionCallbacks }}
13 {{ $NeedsUnsafe := or .Records $HasSignals $HasCallbacks }}13 {{ $NeedsUnsafe := or .Records $HasSignals $HasCallbacks }}
14 {{ $NeedsPurego := or .NeedsInit $HasSignals $HasCallbacks }}14 {{ $NeedsPurego := or .NeedsInit $HasSignals $HasCallbacks }}
15-{{ $AnyImports := or .NeedsInit .Records $HasSignals $HasCallbacks }}15+{{ $NeedsCore := or .NeedsInit .NeedsCore }}
16+{{ $AnyImports := or $NeedsCore .Records $HasSignals $HasCallbacks }}
16 17
17 {{if $AnyImports}}18 {{if $AnyImports}}
18 import (19 import (
@@ -25,7 +26,7 @@ import (
25 {{- if $NeedsPurego}}26 {{- if $NeedsPurego}}
26 "github.com/jwijenbergh/purego"27 "github.com/jwijenbergh/purego"
27 {{- end}}28 {{- end}}
28-{{- if .NeedsInit}}29+{{- if $NeedsCore}}
29 "github.com/jwijenbergh/puregotk/pkg/core"30 "github.com/jwijenbergh/puregotk/pkg/core"
30 {{- end}}31 {{- end}}
31 )32 )
M v4/adw/adw-about-dialog.go +30 -30
@@ -32,15 +32,15 @@ func ShowAboutDialog(ParentVar *gtk.Widget, FirstPropertyNameVar string, varArgs
32 32
33 }33 }
34 34
35-var xShowAboutDialogFromAppdata func(uintptr, string, string, string, ...interface{})35+var xShowAboutDialogFromAppdata func(uintptr, string, uintptr, string, ...interface{})
36 36
37 // A convenience function for showing an application’s about dialog from37 // A convenience function for showing an application’s about dialog from
38 // AppStream metadata.38 // AppStream metadata.
39 //39 //
40 // See [ctor@AboutDialog.new_from_appdata] for details.40 // See [ctor@AboutDialog.new_from_appdata] for details.
41-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{}) {
42 42
43- xShowAboutDialogFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVar, FirstPropertyNameVar, varArgs...)43+ xShowAboutDialogFromAppdata(ParentVar.GoPointer(), ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar), FirstPropertyNameVar, varArgs...)
44 44
45 }45 }
46 46
@@ -253,7 +253,7 @@ func NewAboutDialog() *AboutDialog {
253 return cls253 return cls
254 }254 }
255 255
256-var xNewAboutDialogFromAppdata func(string, string) uintptr256+var xNewAboutDialogFromAppdata func(string, uintptr) uintptr
257 257
258 // Creates a new `AdwAboutDialog` using AppStream metadata.258 // Creates a new `AdwAboutDialog` using AppStream metadata.
259 //259 //
@@ -276,10 +276,10 @@ var xNewAboutDialogFromAppdata func(string, string) uintptr
276 // [property@AboutDialog:release-notes-version] is set to match it, while276 // [property@AboutDialog:release-notes-version] is set to match it, while
277 // [property@AboutDialog:release-notes] is set from the AppStream release277 // [property@AboutDialog:release-notes] is set from the AppStream release
278 // description for that version.278 // description for that version.
279-func NewAboutDialogFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar string) *AboutDialog {279+func NewAboutDialogFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutDialog {
280 var cls *AboutDialog280 var cls *AboutDialog
281 281
282- cret := xNewAboutDialogFromAppdata(ResourcePathVar, ReleaseNotesVersionVar)282+ cret := xNewAboutDialogFromAppdata(ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar))
283 283
284 if cret == 0 {284 if cret == 0 {
285 return nil285 return nil
@@ -290,7 +290,7 @@ func NewAboutDialogFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar st
290 return cls290 return cls
291 }291 }
292 292
293-var xAboutDialogAddAcknowledgementSection func(uintptr, string, []string)293+var xAboutDialogAddAcknowledgementSection func(uintptr, uintptr, []string)
294 294
295 // Adds a section to the Acknowledgements page.295 // Adds a section to the Acknowledgements page.
296 //296 //
@@ -309,13 +309,13 @@ var xAboutDialogAddAcknowledgementSection func(uintptr, string, []string)
309 // * [property@AboutDialog:documenters]309 // * [property@AboutDialog:documenters]
310 // * [property@AboutDialog:translator-credits]310 // * [property@AboutDialog:translator-credits]
311 // * [method@AboutDialog.add_credit_section]311 // * [method@AboutDialog.add_credit_section]
312-func (x *AboutDialog) AddAcknowledgementSection(NameVar string, PeopleVar []string) {312+func (x *AboutDialog) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {
313 313
314- xAboutDialogAddAcknowledgementSection(x.GoPointer(), NameVar, PeopleVar)314+ xAboutDialogAddAcknowledgementSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar)
315 315
316 }316 }
317 317
318-var xAboutDialogAddCreditSection func(uintptr, string, []string)318+var xAboutDialogAddCreditSection func(uintptr, uintptr, []string)
319 319
320 // Adds an extra section to the Credits page.320 // Adds an extra section to the Credits page.
321 //321 //
@@ -332,13 +332,13 @@ var xAboutDialogAddCreditSection func(uintptr, string, []string)
332 // * [property@AboutDialog:documenters]332 // * [property@AboutDialog:documenters]
333 // * [property@AboutDialog:translator-credits]333 // * [property@AboutDialog:translator-credits]
334 // * [method@AboutDialog.add_acknowledgement_section]334 // * [method@AboutDialog.add_acknowledgement_section]
335-func (x *AboutDialog) AddCreditSection(NameVar string, PeopleVar []string) {335+func (x *AboutDialog) AddCreditSection(NameVar *string, PeopleVar []string) {
336 336
337- xAboutDialogAddCreditSection(x.GoPointer(), NameVar, PeopleVar)337+ xAboutDialogAddCreditSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar)
338 338
339 }339 }
340 340
341-var xAboutDialogAddLegalSection func(uintptr, string, string, gtk.License, string)341+var xAboutDialogAddLegalSection func(uintptr, string, uintptr, gtk.License, uintptr)
342 342
343 // Adds an extra section to the Legal page.343 // Adds an extra section to the Legal page.
344 //344 //
@@ -385,9 +385,9 @@ var xAboutDialogAddLegalSection func(uintptr, string, string, gtk.License, strin
385 // "Something completely custom here.");385 // "Something completely custom here.");
386 //386 //
387 // ```387 // ```
388-func (x *AboutDialog) AddLegalSection(TitleVar string, CopyrightVar string, LicenseTypeVar gtk.License, LicenseVar string) {388+func (x *AboutDialog) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {
389 389
390- xAboutDialogAddLegalSection(x.GoPointer(), TitleVar, CopyrightVar, LicenseTypeVar, LicenseVar)390+ xAboutDialogAddLegalSection(x.GoPointer(), TitleVar, core.NullableStringToPtr(CopyrightVar), LicenseTypeVar, core.NullableStringToPtr(LicenseVar))
391 391
392 }392 }
393 393
@@ -1002,7 +1002,7 @@ func (c *AboutDialog) SetGoPointer(ptr uintptr) {
1002 func (x *AboutDialog) SetPropertyApplicationIcon(value string) {1002 func (x *AboutDialog) SetPropertyApplicationIcon(value string) {
1003 var v gobject.Value1003 var v gobject.Value
1004 v.Init(gobject.TypeStringVal)1004 v.Init(gobject.TypeStringVal)
1005- v.SetString(value)1005+ v.SetString(&value)
1006 x.SetProperty("application-icon", &v)1006 x.SetProperty("application-icon", &v)
1007 }1007 }
1008 1008
@@ -1023,7 +1023,7 @@ func (x *AboutDialog) GetPropertyApplicationIcon() string {
1023 func (x *AboutDialog) SetPropertyApplicationName(value string) {1023 func (x *AboutDialog) SetPropertyApplicationName(value string) {
1024 var v gobject.Value1024 var v gobject.Value
1025 v.Init(gobject.TypeStringVal)1025 v.Init(gobject.TypeStringVal)
1026- v.SetString(value)1026+ v.SetString(&value)
1027 x.SetProperty("application-name", &v)1027 x.SetProperty("application-name", &v)
1028 }1028 }
1029 1029
@@ -1092,7 +1092,7 @@ func (x *AboutDialog) GetPropertyArtists() []string {
1092 func (x *AboutDialog) SetPropertyComments(value string) {1092 func (x *AboutDialog) SetPropertyComments(value string) {
1093 var v gobject.Value1093 var v gobject.Value
1094 v.Init(gobject.TypeStringVal)1094 v.Init(gobject.TypeStringVal)
1095- v.SetString(value)1095+ v.SetString(&value)
1096 x.SetProperty("comments", &v)1096 x.SetProperty("comments", &v)
1097 }1097 }
1098 1098
@@ -1123,7 +1123,7 @@ func (x *AboutDialog) GetPropertyComments() string {
1123 func (x *AboutDialog) SetPropertyCopyright(value string) {1123 func (x *AboutDialog) SetPropertyCopyright(value string) {
1124 var v gobject.Value1124 var v gobject.Value
1125 v.Init(gobject.TypeStringVal)1125 v.Init(gobject.TypeStringVal)
1126- v.SetString(value)1126+ v.SetString(&value)
1127 x.SetProperty("copyright", &v)1127 x.SetProperty("copyright", &v)
1128 }1128 }
1129 1129
@@ -1159,7 +1159,7 @@ func (x *AboutDialog) GetPropertyCopyright() string {
1159 func (x *AboutDialog) SetPropertyDebugInfo(value string) {1159 func (x *AboutDialog) SetPropertyDebugInfo(value string) {
1160 var v gobject.Value1160 var v gobject.Value
1161 v.Init(gobject.TypeStringVal)1161 v.Init(gobject.TypeStringVal)
1162- v.SetString(value)1162+ v.SetString(&value)
1163 x.SetProperty("debug-info", &v)1163 x.SetProperty("debug-info", &v)
1164 }1164 }
1165 1165
@@ -1191,7 +1191,7 @@ func (x *AboutDialog) GetPropertyDebugInfo() string {
1191 func (x *AboutDialog) SetPropertyDebugInfoFilename(value string) {1191 func (x *AboutDialog) SetPropertyDebugInfoFilename(value string) {
1192 var v gobject.Value1192 var v gobject.Value
1193 v.Init(gobject.TypeStringVal)1193 v.Init(gobject.TypeStringVal)
1194- v.SetString(value)1194+ v.SetString(&value)
1195 x.SetProperty("debug-info-filename", &v)1195 x.SetProperty("debug-info-filename", &v)
1196 }1196 }
1197 1197
@@ -1267,7 +1267,7 @@ func (x *AboutDialog) GetPropertyDesigners() []string {
1267 func (x *AboutDialog) SetPropertyDeveloperName(value string) {1267 func (x *AboutDialog) SetPropertyDeveloperName(value string) {
1268 var v gobject.Value1268 var v gobject.Value
1269 v.Init(gobject.TypeStringVal)1269 v.Init(gobject.TypeStringVal)
1270- v.SetString(value)1270+ v.SetString(&value)
1271 x.SetProperty("developer-name", &v)1271 x.SetProperty("developer-name", &v)
1272 }1272 }
1273 1273
@@ -1385,7 +1385,7 @@ func (x *AboutDialog) GetPropertyDocumenters() []string {
1385 func (x *AboutDialog) SetPropertyIssueUrl(value string) {1385 func (x *AboutDialog) SetPropertyIssueUrl(value string) {
1386 var v gobject.Value1386 var v gobject.Value
1387 v.Init(gobject.TypeStringVal)1387 v.Init(gobject.TypeStringVal)
1388- v.SetString(value)1388+ v.SetString(&value)
1389 x.SetProperty("issue-url", &v)1389 x.SetProperty("issue-url", &v)
1390 }1390 }
1391 1391
@@ -1418,7 +1418,7 @@ func (x *AboutDialog) GetPropertyIssueUrl() string {
1418 func (x *AboutDialog) SetPropertyLicense(value string) {1418 func (x *AboutDialog) SetPropertyLicense(value string) {
1419 var v gobject.Value1419 var v gobject.Value
1420 v.Init(gobject.TypeStringVal)1420 v.Init(gobject.TypeStringVal)
1421- v.SetString(value)1421+ v.SetString(&value)
1422 x.SetProperty("license", &v)1422 x.SetProperty("license", &v)
1423 }1423 }
1424 1424
@@ -1472,7 +1472,7 @@ func (x *AboutDialog) GetPropertyLicense() string {
1472 func (x *AboutDialog) SetPropertyReleaseNotes(value string) {1472 func (x *AboutDialog) SetPropertyReleaseNotes(value string) {
1473 var v gobject.Value1473 var v gobject.Value
1474 v.Init(gobject.TypeStringVal)1474 v.Init(gobject.TypeStringVal)
1475- v.SetString(value)1475+ v.SetString(&value)
1476 x.SetProperty("release-notes", &v)1476 x.SetProperty("release-notes", &v)
1477 }1477 }
1478 1478
@@ -1523,7 +1523,7 @@ func (x *AboutDialog) GetPropertyReleaseNotes() string {
1523 func (x *AboutDialog) SetPropertyReleaseNotesVersion(value string) {1523 func (x *AboutDialog) SetPropertyReleaseNotesVersion(value string) {
1524 var v gobject.Value1524 var v gobject.Value
1525 v.Init(gobject.TypeStringVal)1525 v.Init(gobject.TypeStringVal)
1526- v.SetString(value)1526+ v.SetString(&value)
1527 x.SetProperty("release-notes-version", &v)1527 x.SetProperty("release-notes-version", &v)
1528 }1528 }
1529 1529
@@ -1553,7 +1553,7 @@ func (x *AboutDialog) GetPropertyReleaseNotesVersion() string {
1553 func (x *AboutDialog) SetPropertySupportUrl(value string) {1553 func (x *AboutDialog) SetPropertySupportUrl(value string) {
1554 var v gobject.Value1554 var v gobject.Value
1555 v.Init(gobject.TypeStringVal)1555 v.Init(gobject.TypeStringVal)
1556- v.SetString(value)1556+ v.SetString(&value)
1557 x.SetProperty("support-url", &v)1557 x.SetProperty("support-url", &v)
1558 }1558 }
1559 1559
@@ -1589,7 +1589,7 @@ func (x *AboutDialog) GetPropertySupportUrl() string {
1589 func (x *AboutDialog) SetPropertyTranslatorCredits(value string) {1589 func (x *AboutDialog) SetPropertyTranslatorCredits(value string) {
1590 var v gobject.Value1590 var v gobject.Value
1591 v.Init(gobject.TypeStringVal)1591 v.Init(gobject.TypeStringVal)
1592- v.SetString(value)1592+ v.SetString(&value)
1593 x.SetProperty("translator-credits", &v)1593 x.SetProperty("translator-credits", &v)
1594 }1594 }
1595 1595
@@ -1628,7 +1628,7 @@ func (x *AboutDialog) GetPropertyTranslatorCredits() string {
1628 func (x *AboutDialog) SetPropertyVersion(value string) {1628 func (x *AboutDialog) SetPropertyVersion(value string) {
1629 var v gobject.Value1629 var v gobject.Value
1630 v.Init(gobject.TypeStringVal)1630 v.Init(gobject.TypeStringVal)
1631- v.SetString(value)1631+ v.SetString(&value)
1632 x.SetProperty("version", &v)1632 x.SetProperty("version", &v)
1633 }1633 }
1634 1634
@@ -1655,7 +1655,7 @@ func (x *AboutDialog) GetPropertyVersion() string {
1655 func (x *AboutDialog) SetPropertyWebsite(value string) {1655 func (x *AboutDialog) SetPropertyWebsite(value string) {
1656 var v gobject.Value1656 var v gobject.Value
1657 v.Init(gobject.TypeStringVal)1657 v.Init(gobject.TypeStringVal)
1658- v.SetString(value)1658+ v.SetString(&value)
1659 x.SetProperty("website", &v)1659 x.SetProperty("website", &v)
1660 }1660 }
1661 1661
M v4/adw/adw-about-window.go +30 -30
@@ -34,15 +34,15 @@ func ShowAboutWindow(ParentVar *gtk.Window, FirstPropertyNameVar string, varArgs
34 34
35 }35 }
36 36
37-var xShowAboutWindowFromAppdata func(uintptr, string, string, string, ...interface{})37+var xShowAboutWindowFromAppdata func(uintptr, string, uintptr, string, ...interface{})
38 38
39 // A convenience function for showing an application’s about window from39 // A convenience function for showing an application’s about window from
40 // AppStream metadata.40 // AppStream metadata.
41 //41 //
42 // See [ctor@AboutWindow.new_from_appdata] for details.42 // See [ctor@AboutWindow.new_from_appdata] for details.
43-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{}) {
44 44
45- xShowAboutWindowFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVar, FirstPropertyNameVar, varArgs...)45+ xShowAboutWindowFromAppdata(ParentVar.GoPointer(), ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar), FirstPropertyNameVar, varArgs...)
46 46
47 }47 }
48 48
@@ -250,7 +250,7 @@ func NewAboutWindow() *AboutWindow {
250 return cls250 return cls
251 }251 }
252 252
253-var xNewAboutWindowFromAppdata func(string, string) uintptr253+var xNewAboutWindowFromAppdata func(string, uintptr) uintptr
254 254
255 // Creates a new `AdwAboutWindow` using AppStream metadata.255 // Creates a new `AdwAboutWindow` using AppStream metadata.
256 //256 //
@@ -273,10 +273,10 @@ var xNewAboutWindowFromAppdata func(string, string) uintptr
273 // [property@AboutWindow:release-notes-version] is set to match it, while273 // [property@AboutWindow:release-notes-version] is set to match it, while
274 // [property@AboutWindow:release-notes] is set from the AppStream release274 // [property@AboutWindow:release-notes] is set from the AppStream release
275 // description for that version.275 // description for that version.
276-func NewAboutWindowFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar string) *AboutWindow {276+func NewAboutWindowFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutWindow {
277 var cls *AboutWindow277 var cls *AboutWindow
278 278
279- cret := xNewAboutWindowFromAppdata(ResourcePathVar, ReleaseNotesVersionVar)279+ cret := xNewAboutWindowFromAppdata(ResourcePathVar, core.NullableStringToPtr(ReleaseNotesVersionVar))
280 280
281 if cret == 0 {281 if cret == 0 {
282 return nil282 return nil
@@ -287,7 +287,7 @@ func NewAboutWindowFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar st
287 return cls287 return cls
288 }288 }
289 289
290-var xAboutWindowAddAcknowledgementSection func(uintptr, string, []string)290+var xAboutWindowAddAcknowledgementSection func(uintptr, uintptr, []string)
291 291
292 // Adds a section to the Acknowledgements page.292 // Adds a section to the Acknowledgements page.
293 //293 //
@@ -306,13 +306,13 @@ var xAboutWindowAddAcknowledgementSection func(uintptr, string, []string)
306 // * [property@AboutWindow:documenters]306 // * [property@AboutWindow:documenters]
307 // * [property@AboutWindow:translator-credits]307 // * [property@AboutWindow:translator-credits]
308 // * [method@AboutWindow.add_credit_section]308 // * [method@AboutWindow.add_credit_section]
309-func (x *AboutWindow) AddAcknowledgementSection(NameVar string, PeopleVar []string) {309+func (x *AboutWindow) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {
310 310
311- xAboutWindowAddAcknowledgementSection(x.GoPointer(), NameVar, PeopleVar)311+ xAboutWindowAddAcknowledgementSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar)
312 312
313 }313 }
314 314
315-var xAboutWindowAddCreditSection func(uintptr, string, []string)315+var xAboutWindowAddCreditSection func(uintptr, uintptr, []string)
316 316
317 // Adds an extra section to the Credits page.317 // Adds an extra section to the Credits page.
318 //318 //
@@ -329,13 +329,13 @@ var xAboutWindowAddCreditSection func(uintptr, string, []string)
329 // * [property@AboutWindow:documenters]329 // * [property@AboutWindow:documenters]
330 // * [property@AboutWindow:translator-credits]330 // * [property@AboutWindow:translator-credits]
331 // * [method@AboutWindow.add_acknowledgement_section]331 // * [method@AboutWindow.add_acknowledgement_section]
332-func (x *AboutWindow) AddCreditSection(NameVar string, PeopleVar []string) {332+func (x *AboutWindow) AddCreditSection(NameVar *string, PeopleVar []string) {
333 333
334- xAboutWindowAddCreditSection(x.GoPointer(), NameVar, PeopleVar)334+ xAboutWindowAddCreditSection(x.GoPointer(), core.NullableStringToPtr(NameVar), PeopleVar)
335 335
336 }336 }
337 337
338-var xAboutWindowAddLegalSection func(uintptr, string, string, gtk.License, string)338+var xAboutWindowAddLegalSection func(uintptr, string, uintptr, gtk.License, uintptr)
339 339
340 // Adds an extra section to the Legal page.340 // Adds an extra section to the Legal page.
341 //341 //
@@ -382,9 +382,9 @@ var xAboutWindowAddLegalSection func(uintptr, string, string, gtk.License, strin
382 // "Something completely custom here.");382 // "Something completely custom here.");
383 //383 //
384 // ```384 // ```
385-func (x *AboutWindow) AddLegalSection(TitleVar string, CopyrightVar string, LicenseTypeVar gtk.License, LicenseVar string) {385+func (x *AboutWindow) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {
386 386
387- xAboutWindowAddLegalSection(x.GoPointer(), TitleVar, CopyrightVar, LicenseTypeVar, LicenseVar)387+ xAboutWindowAddLegalSection(x.GoPointer(), TitleVar, core.NullableStringToPtr(CopyrightVar), LicenseTypeVar, core.NullableStringToPtr(LicenseVar))
388 388
389 }389 }
390 390
@@ -972,7 +972,7 @@ func (c *AboutWindow) SetGoPointer(ptr uintptr) {
972 func (x *AboutWindow) SetPropertyApplicationIcon(value string) {972 func (x *AboutWindow) SetPropertyApplicationIcon(value string) {
973 var v gobject.Value973 var v gobject.Value
974 v.Init(gobject.TypeStringVal)974 v.Init(gobject.TypeStringVal)
975- v.SetString(value)975+ v.SetString(&value)
976 x.SetProperty("application-icon", &v)976 x.SetProperty("application-icon", &v)
977 }977 }
978 978
@@ -993,7 +993,7 @@ func (x *AboutWindow) GetPropertyApplicationIcon() string {
993 func (x *AboutWindow) SetPropertyApplicationName(value string) {993 func (x *AboutWindow) SetPropertyApplicationName(value string) {
994 var v gobject.Value994 var v gobject.Value
995 v.Init(gobject.TypeStringVal)995 v.Init(gobject.TypeStringVal)
996- v.SetString(value)996+ v.SetString(&value)
997 x.SetProperty("application-name", &v)997 x.SetProperty("application-name", &v)
998 }998 }
999 999
@@ -1062,7 +1062,7 @@ func (x *AboutWindow) GetPropertyArtists() []string {
1062 func (x *AboutWindow) SetPropertyComments(value string) {1062 func (x *AboutWindow) SetPropertyComments(value string) {
1063 var v gobject.Value1063 var v gobject.Value
1064 v.Init(gobject.TypeStringVal)1064 v.Init(gobject.TypeStringVal)
1065- v.SetString(value)1065+ v.SetString(&value)
1066 x.SetProperty("comments", &v)1066 x.SetProperty("comments", &v)
1067 }1067 }
1068 1068
@@ -1093,7 +1093,7 @@ func (x *AboutWindow) GetPropertyComments() string {
1093 func (x *AboutWindow) SetPropertyCopyright(value string) {1093 func (x *AboutWindow) SetPropertyCopyright(value string) {
1094 var v gobject.Value1094 var v gobject.Value
1095 v.Init(gobject.TypeStringVal)1095 v.Init(gobject.TypeStringVal)
1096- v.SetString(value)1096+ v.SetString(&value)
1097 x.SetProperty("copyright", &v)1097 x.SetProperty("copyright", &v)
1098 }1098 }
1099 1099
@@ -1129,7 +1129,7 @@ func (x *AboutWindow) GetPropertyCopyright() string {
1129 func (x *AboutWindow) SetPropertyDebugInfo(value string) {1129 func (x *AboutWindow) SetPropertyDebugInfo(value string) {
1130 var v gobject.Value1130 var v gobject.Value
1131 v.Init(gobject.TypeStringVal)1131 v.Init(gobject.TypeStringVal)
1132- v.SetString(value)1132+ v.SetString(&value)
1133 x.SetProperty("debug-info", &v)1133 x.SetProperty("debug-info", &v)
1134 }1134 }
1135 1135
@@ -1161,7 +1161,7 @@ func (x *AboutWindow) GetPropertyDebugInfo() string {
1161 func (x *AboutWindow) SetPropertyDebugInfoFilename(value string) {1161 func (x *AboutWindow) SetPropertyDebugInfoFilename(value string) {
1162 var v gobject.Value1162 var v gobject.Value
1163 v.Init(gobject.TypeStringVal)1163 v.Init(gobject.TypeStringVal)
1164- v.SetString(value)1164+ v.SetString(&value)
1165 x.SetProperty("debug-info-filename", &v)1165 x.SetProperty("debug-info-filename", &v)
1166 }1166 }
1167 1167
@@ -1237,7 +1237,7 @@ func (x *AboutWindow) GetPropertyDesigners() []string {
1237 func (x *AboutWindow) SetPropertyDeveloperName(value string) {1237 func (x *AboutWindow) SetPropertyDeveloperName(value string) {
1238 var v gobject.Value1238 var v gobject.Value
1239 v.Init(gobject.TypeStringVal)1239 v.Init(gobject.TypeStringVal)
1240- v.SetString(value)1240+ v.SetString(&value)
1241 x.SetProperty("developer-name", &v)1241 x.SetProperty("developer-name", &v)
1242 }1242 }
1243 1243
@@ -1355,7 +1355,7 @@ func (x *AboutWindow) GetPropertyDocumenters() []string {
1355 func (x *AboutWindow) SetPropertyIssueUrl(value string) {1355 func (x *AboutWindow) SetPropertyIssueUrl(value string) {
1356 var v gobject.Value1356 var v gobject.Value
1357 v.Init(gobject.TypeStringVal)1357 v.Init(gobject.TypeStringVal)
1358- v.SetString(value)1358+ v.SetString(&value)
1359 x.SetProperty("issue-url", &v)1359 x.SetProperty("issue-url", &v)
1360 }1360 }
1361 1361
@@ -1388,7 +1388,7 @@ func (x *AboutWindow) GetPropertyIssueUrl() string {
1388 func (x *AboutWindow) SetPropertyLicense(value string) {1388 func (x *AboutWindow) SetPropertyLicense(value string) {
1389 var v gobject.Value1389 var v gobject.Value
1390 v.Init(gobject.TypeStringVal)1390 v.Init(gobject.TypeStringVal)
1391- v.SetString(value)1391+ v.SetString(&value)
1392 x.SetProperty("license", &v)1392 x.SetProperty("license", &v)
1393 }1393 }
1394 1394
@@ -1442,7 +1442,7 @@ func (x *AboutWindow) GetPropertyLicense() string {
1442 func (x *AboutWindow) SetPropertyReleaseNotes(value string) {1442 func (x *AboutWindow) SetPropertyReleaseNotes(value string) {
1443 var v gobject.Value1443 var v gobject.Value
1444 v.Init(gobject.TypeStringVal)1444 v.Init(gobject.TypeStringVal)
1445- v.SetString(value)1445+ v.SetString(&value)
1446 x.SetProperty("release-notes", &v)1446 x.SetProperty("release-notes", &v)
1447 }1447 }
1448 1448
@@ -1493,7 +1493,7 @@ func (x *AboutWindow) GetPropertyReleaseNotes() string {
1493 func (x *AboutWindow) SetPropertyReleaseNotesVersion(value string) {1493 func (x *AboutWindow) SetPropertyReleaseNotesVersion(value string) {
1494 var v gobject.Value1494 var v gobject.Value
1495 v.Init(gobject.TypeStringVal)1495 v.Init(gobject.TypeStringVal)
1496- v.SetString(value)1496+ v.SetString(&value)
1497 x.SetProperty("release-notes-version", &v)1497 x.SetProperty("release-notes-version", &v)
1498 }1498 }
1499 1499
@@ -1523,7 +1523,7 @@ func (x *AboutWindow) GetPropertyReleaseNotesVersion() string {
1523 func (x *AboutWindow) SetPropertySupportUrl(value string) {1523 func (x *AboutWindow) SetPropertySupportUrl(value string) {
1524 var v gobject.Value1524 var v gobject.Value
1525 v.Init(gobject.TypeStringVal)1525 v.Init(gobject.TypeStringVal)
1526- v.SetString(value)1526+ v.SetString(&value)
1527 x.SetProperty("support-url", &v)1527 x.SetProperty("support-url", &v)
1528 }1528 }
1529 1529
@@ -1559,7 +1559,7 @@ func (x *AboutWindow) GetPropertySupportUrl() string {
1559 func (x *AboutWindow) SetPropertyTranslatorCredits(value string) {1559 func (x *AboutWindow) SetPropertyTranslatorCredits(value string) {
1560 var v gobject.Value1560 var v gobject.Value
1561 v.Init(gobject.TypeStringVal)1561 v.Init(gobject.TypeStringVal)
1562- v.SetString(value)1562+ v.SetString(&value)
1563 x.SetProperty("translator-credits", &v)1563 x.SetProperty("translator-credits", &v)
1564 }1564 }
1565 1565
@@ -1598,7 +1598,7 @@ func (x *AboutWindow) GetPropertyTranslatorCredits() string {
1598 func (x *AboutWindow) SetPropertyVersion(value string) {1598 func (x *AboutWindow) SetPropertyVersion(value string) {
1599 var v gobject.Value1599 var v gobject.Value
1600 v.Init(gobject.TypeStringVal)1600 v.Init(gobject.TypeStringVal)
1601- v.SetString(value)1601+ v.SetString(&value)
1602 x.SetProperty("version", &v)1602 x.SetProperty("version", &v)
1603 }1603 }
1604 1604
@@ -1625,7 +1625,7 @@ func (x *AboutWindow) GetPropertyVersion() string {
1625 func (x *AboutWindow) SetPropertyWebsite(value string) {1625 func (x *AboutWindow) SetPropertyWebsite(value string) {
1626 var v gobject.Value1626 var v gobject.Value
1627 v.Init(gobject.TypeStringVal)1627 v.Init(gobject.TypeStringVal)
1628- v.SetString(value)1628+ v.SetString(&value)
1629 x.SetProperty("website", &v)1629 x.SetProperty("website", &v)
1630 }1630 }
1631 1631
M v4/adw/adw-action-row.go +7 -7
@@ -253,12 +253,12 @@ func (x *ActionRow) SetActivatableWidget(WidgetVar *gtk.Widget) {
253 253
254 }254 }
255 255
256-var xActionRowSetIconName func(uintptr, string)256+var xActionRowSetIconName func(uintptr, uintptr)
257 257
258 // Sets the icon name for @self.258 // Sets the icon name for @self.
259-func (x *ActionRow) SetIconName(IconNameVar string) {259+func (x *ActionRow) SetIconName(IconNameVar *string) {
260 260
261- xActionRowSetIconName(x.GoPointer(), IconNameVar)261+ xActionRowSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
262 262
263 }263 }
264 264
@@ -325,7 +325,7 @@ func (c *ActionRow) SetGoPointer(ptr uintptr) {
325 func (x *ActionRow) SetPropertyIconName(value string) {325 func (x *ActionRow) SetPropertyIconName(value string) {
326 var v gobject.Value326 var v gobject.Value
327 v.Init(gobject.TypeStringVal)327 v.Init(gobject.TypeStringVal)
328- v.SetString(value)328+ v.SetString(&value)
329 x.SetProperty("icon-name", &v)329 x.SetProperty("icon-name", &v)
330 }330 }
331 331
@@ -345,7 +345,7 @@ func (x *ActionRow) GetPropertyIconName() string {
345 func (x *ActionRow) SetPropertySubtitle(value string) {345 func (x *ActionRow) SetPropertySubtitle(value string) {
346 var v gobject.Value346 var v gobject.Value
347 v.Init(gobject.TypeStringVal)347 v.Init(gobject.TypeStringVal)
348- v.SetString(value)348+ v.SetString(&value)
349 x.SetProperty("subtitle", &v)349 x.SetProperty("subtitle", &v)
350 }350 }
351 351
@@ -740,9 +740,9 @@ func (x *ActionRow) GetActionTargetValue() *glib.Variant {
740 // containing [class@ApplicationWindow] or its associated [class@Application],740 // containing [class@ApplicationWindow] or its associated [class@Application],
741 // respectively. This is the same form used for actions in the [class@Gio.Menu]741 // respectively. This is the same form used for actions in the [class@Gio.Menu]
742 // associated with the window.742 // associated with the window.
743-func (x *ActionRow) SetActionName(ActionNameVar string) {743+func (x *ActionRow) SetActionName(ActionNameVar *string) {
744 744
745- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)745+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
746 746
747 }747 }
748 748
M v4/adw/adw-alert-dialog.go +13 -13
@@ -232,7 +232,7 @@ func AlertDialogNewFromInternalPtr(ptr uintptr) *AlertDialog {
232 return cls232 return cls
233 }233 }
234 234
235-var xNewAlertDialog func(string, string) uintptr235+var xNewAlertDialog func(uintptr, uintptr) uintptr
236 236
237 // Creates a new `AdwAlertDialog`.237 // Creates a new `AdwAlertDialog`.
238 //238 //
@@ -250,10 +250,10 @@ var xNewAlertDialog func(string, string) uintptr
250 // filename);250 // filename);
251 //251 //
252 // ```252 // ```
253-func NewAlertDialog(HeadingVar string, BodyVar string) *AlertDialog {253+func NewAlertDialog(HeadingVar *string, BodyVar *string) *AlertDialog {
254 var cls *AlertDialog254 var cls *AlertDialog
255 255
256- cret := xNewAlertDialog(HeadingVar, BodyVar)256+ cret := xNewAlertDialog(core.NullableStringToPtr(HeadingVar), core.NullableStringToPtr(BodyVar))
257 257
258 if cret == 0 {258 if cret == 0 {
259 return nil259 return nil
@@ -572,7 +572,7 @@ func (x *AlertDialog) SetCloseResponse(ResponseVar string) {
572 572
573 }573 }
574 574
575-var xAlertDialogSetDefaultResponse func(uintptr, string)575+var xAlertDialogSetDefaultResponse func(uintptr, uintptr)
576 576
577 // Sets the ID of the default response of @self.577 // Sets the ID of the default response of @self.
578 //578 //
@@ -583,9 +583,9 @@ var xAlertDialogSetDefaultResponse func(uintptr, string)
583 // will be focused by default.583 // will be focused by default.
584 //584 //
585 // See [property@Dialog:default-widget].585 // See [property@Dialog:default-widget].
586-func (x *AlertDialog) SetDefaultResponse(ResponseVar string) {586+func (x *AlertDialog) SetDefaultResponse(ResponseVar *string) {
587 587
588- xAlertDialogSetDefaultResponse(x.GoPointer(), ResponseVar)588+ xAlertDialogSetDefaultResponse(x.GoPointer(), core.NullableStringToPtr(ResponseVar))
589 589
590 }590 }
591 591
@@ -600,12 +600,12 @@ func (x *AlertDialog) SetExtraChild(ChildVar *gtk.Widget) {
600 600
601 }601 }
602 602
603-var xAlertDialogSetHeading func(uintptr, string)603+var xAlertDialogSetHeading func(uintptr, uintptr)
604 604
605 // Sets the heading of @self.605 // Sets the heading of @self.
606-func (x *AlertDialog) SetHeading(HeadingVar string) {606+func (x *AlertDialog) SetHeading(HeadingVar *string) {
607 607
608- xAlertDialogSetHeading(x.GoPointer(), HeadingVar)608+ xAlertDialogSetHeading(x.GoPointer(), core.NullableStringToPtr(HeadingVar))
609 609
610 }610 }
611 611
@@ -705,7 +705,7 @@ func (c *AlertDialog) SetGoPointer(ptr uintptr) {
705 func (x *AlertDialog) SetPropertyBody(value string) {705 func (x *AlertDialog) SetPropertyBody(value string) {
706 var v gobject.Value706 var v gobject.Value
707 v.Init(gobject.TypeStringVal)707 v.Init(gobject.TypeStringVal)
708- v.SetString(value)708+ v.SetString(&value)
709 x.SetProperty("body", &v)709 x.SetProperty("body", &v)
710 }710 }
711 711
@@ -750,7 +750,7 @@ func (x *AlertDialog) GetPropertyBodyUseMarkup() bool {
750 func (x *AlertDialog) SetPropertyCloseResponse(value string) {750 func (x *AlertDialog) SetPropertyCloseResponse(value string) {
751 var v gobject.Value751 var v gobject.Value
752 v.Init(gobject.TypeStringVal)752 v.Init(gobject.TypeStringVal)
753- v.SetString(value)753+ v.SetString(&value)
754 x.SetProperty("close-response", &v)754 x.SetProperty("close-response", &v)
755 }755 }
756 756
@@ -782,7 +782,7 @@ func (x *AlertDialog) GetPropertyCloseResponse() string {
782 func (x *AlertDialog) SetPropertyDefaultResponse(value string) {782 func (x *AlertDialog) SetPropertyDefaultResponse(value string) {
783 var v gobject.Value783 var v gobject.Value
784 v.Init(gobject.TypeStringVal)784 v.Init(gobject.TypeStringVal)
785- v.SetString(value)785+ v.SetString(&value)
786 x.SetProperty("default-response", &v)786 x.SetProperty("default-response", &v)
787 }787 }
788 788
@@ -807,7 +807,7 @@ func (x *AlertDialog) GetPropertyDefaultResponse() string {
807 func (x *AlertDialog) SetPropertyHeading(value string) {807 func (x *AlertDialog) SetPropertyHeading(value string) {
808 var v gobject.Value808 var v gobject.Value
809 v.Init(gobject.TypeStringVal)809 v.Init(gobject.TypeStringVal)
810- v.SetString(value)810+ v.SetString(&value)
811 x.SetProperty("heading", &v)811 x.SetProperty("heading", &v)
812 }812 }
813 813
M v4/adw/adw-application.go +3 -3
@@ -86,7 +86,7 @@ func ApplicationNewFromInternalPtr(ptr uintptr) *Application {
86 return cls86 return cls
87 }87 }
88 88
89-var xNewApplication func(string, gio.ApplicationFlags) uintptr89+var xNewApplication func(uintptr, gio.ApplicationFlags) uintptr
90 90
91 // Creates a new `AdwApplication`.91 // Creates a new `AdwApplication`.
92 //92 //
@@ -95,10 +95,10 @@ var xNewApplication func(string, gio.ApplicationFlags) uintptr
95 //95 //
96 // If no application ID is given then some features (most notably application96 // If no application ID is given then some features (most notably application
97 // uniqueness) will be disabled.97 // uniqueness) will be disabled.
98-func NewApplication(ApplicationIdVar string, FlagsVar gio.ApplicationFlags) *Application {98+func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application {
99 var cls *Application99 var cls *Application
100 100
101- cret := xNewApplication(ApplicationIdVar, FlagsVar)101+ cret := xNewApplication(core.NullableStringToPtr(ApplicationIdVar), FlagsVar)
102 102
103 if cret == 0 {103 if cret == 0 {
104 return nil104 return nil
M v4/adw/adw-avatar.go +11 -11
@@ -68,13 +68,13 @@ func AvatarNewFromInternalPtr(ptr uintptr) *Avatar {
68 return cls68 return cls
69 }69 }
70 70
71-var xNewAvatar func(int, string, bool) uintptr71+var xNewAvatar func(int, uintptr, bool) uintptr
72 72
73 // Creates a new `AdwAvatar`.73 // Creates a new `AdwAvatar`.
74-func NewAvatar(SizeVar int, TextVar string, ShowInitialsVar bool) *Avatar {74+func NewAvatar(SizeVar int, TextVar *string, ShowInitialsVar bool) *Avatar {
75 var cls *Avatar75 var cls *Avatar
76 76
77- cret := xNewAvatar(SizeVar, TextVar, ShowInitialsVar)77+ cret := xNewAvatar(SizeVar, core.NullableStringToPtr(TextVar), ShowInitialsVar)
78 78
79 if cret == 0 {79 if cret == 0 {
80 return nil80 return nil
@@ -167,14 +167,14 @@ func (x *Avatar) SetCustomImage(CustomImageVar gdk.Paintable) {
167 167
168 }168 }
169 169
170-var xAvatarSetIconName func(uintptr, string)170+var xAvatarSetIconName func(uintptr, uintptr)
171 171
172 // Sets the name of an icon to use as a fallback.172 // Sets the name of an icon to use as a fallback.
173 //173 //
174 // If no name is set, `avatar-default-symbolic` will be used.174 // If no name is set, `avatar-default-symbolic` will be used.
175-func (x *Avatar) SetIconName(IconNameVar string) {175+func (x *Avatar) SetIconName(IconNameVar *string) {
176 176
177- xAvatarSetIconName(x.GoPointer(), IconNameVar)177+ xAvatarSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
178 178
179 }179 }
180 180
@@ -198,15 +198,15 @@ func (x *Avatar) SetSize(SizeVar int) {
198 198
199 }199 }
200 200
201-var xAvatarSetText func(uintptr, string)201+var xAvatarSetText func(uintptr, uintptr)
202 202
203 // Sets the text used to generate the fallback initials and color.203 // Sets the text used to generate the fallback initials and color.
204 //204 //
205 // It's only used to generate the color if [property@Avatar:show-initials] is205 // It's only used to generate the color if [property@Avatar:show-initials] is
206 // `FALSE`.206 // `FALSE`.
207-func (x *Avatar) SetText(TextVar string) {207+func (x *Avatar) SetText(TextVar *string) {
208 208
209- xAvatarSetText(x.GoPointer(), TextVar)209+ xAvatarSetText(x.GoPointer(), core.NullableStringToPtr(TextVar))
210 210
211 }211 }
212 212
@@ -228,7 +228,7 @@ func (c *Avatar) SetGoPointer(ptr uintptr) {
228 func (x *Avatar) SetPropertyIconName(value string) {228 func (x *Avatar) SetPropertyIconName(value string) {
229 var v gobject.Value229 var v gobject.Value
230 v.Init(gobject.TypeStringVal)230 v.Init(gobject.TypeStringVal)
231- v.SetString(value)231+ v.SetString(&value)
232 x.SetProperty("icon-name", &v)232 x.SetProperty("icon-name", &v)
233 }233 }
234 234
@@ -288,7 +288,7 @@ func (x *Avatar) GetPropertySize() int {
288 func (x *Avatar) SetPropertyText(value string) {288 func (x *Avatar) SetPropertyText(value string) {
289 var v gobject.Value289 var v gobject.Value
290 v.Init(gobject.TypeStringVal)290 v.Init(gobject.TypeStringVal)
291- v.SetString(value)291+ v.SetString(&value)
292 x.SetProperty("text", &v)292 x.SetProperty("text", &v)
293 }293 }
294 294
M v4/adw/adw-banner.go +7 -7
@@ -154,7 +154,7 @@ func (x *Banner) GetUseMarkup() bool {
154 return cret154 return cret
155 }155 }
156 156
157-var xBannerSetButtonLabel func(uintptr, string)157+var xBannerSetButtonLabel func(uintptr, uintptr)
158 158
159 // Sets the button label for @self.159 // Sets the button label for @self.
160 //160 //
@@ -162,9 +162,9 @@ var xBannerSetButtonLabel func(uintptr, string)
162 //162 //
163 // The button can be used with a `GAction`, or with the163 // The button can be used with a `GAction`, or with the
164 // [signal@Banner::button-clicked] signal.164 // [signal@Banner::button-clicked] signal.
165-func (x *Banner) SetButtonLabel(LabelVar string) {165+func (x *Banner) SetButtonLabel(LabelVar *string) {
166 166
167- xBannerSetButtonLabel(x.GoPointer(), LabelVar)167+ xBannerSetButtonLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))
168 168
169 }169 }
170 170
@@ -239,7 +239,7 @@ func (c *Banner) SetGoPointer(ptr uintptr) {
239 func (x *Banner) SetPropertyButtonLabel(value string) {239 func (x *Banner) SetPropertyButtonLabel(value string) {
240 var v gobject.Value240 var v gobject.Value
241 v.Init(gobject.TypeStringVal)241 v.Init(gobject.TypeStringVal)
242- v.SetString(value)242+ v.SetString(&value)
243 x.SetProperty("button-label", &v)243 x.SetProperty("button-label", &v)
244 }244 }
245 245
@@ -280,7 +280,7 @@ func (x *Banner) GetPropertyRevealed() bool {
280 func (x *Banner) SetPropertyTitle(value string) {280 func (x *Banner) SetPropertyTitle(value string) {
281 var v gobject.Value281 var v gobject.Value
282 v.Init(gobject.TypeStringVal)282 v.Init(gobject.TypeStringVal)
283- v.SetString(value)283+ v.SetString(&value)
284 x.SetProperty("title", &v)284 x.SetProperty("title", &v)
285 }285 }
286 286
@@ -632,9 +632,9 @@ func (x *Banner) GetActionTargetValue() *glib.Variant {
632 // containing [class@ApplicationWindow] or its associated [class@Application],632 // containing [class@ApplicationWindow] or its associated [class@Application],
633 // respectively. This is the same form used for actions in the [class@Gio.Menu]633 // respectively. This is the same form used for actions in the [class@Gio.Menu]
634 // associated with the window.634 // associated with the window.
635-func (x *Banner) SetActionName(ActionNameVar string) {635+func (x *Banner) SetActionName(ActionNameVar *string) {
636 636
637- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)637+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
638 638
639 }639 }
640 640
M v4/adw/adw-button-content.go +2 -2
@@ -233,7 +233,7 @@ func (x *ButtonContent) GetPropertyCanShrink() bool {
233 func (x *ButtonContent) SetPropertyIconName(value string) {233 func (x *ButtonContent) SetPropertyIconName(value string) {
234 var v gobject.Value234 var v gobject.Value
235 v.Init(gobject.TypeStringVal)235 v.Init(gobject.TypeStringVal)
236- v.SetString(value)236+ v.SetString(&value)
237 x.SetProperty("icon-name", &v)237 x.SetProperty("icon-name", &v)
238 }238 }
239 239
@@ -252,7 +252,7 @@ func (x *ButtonContent) GetPropertyIconName() string {
252 func (x *ButtonContent) SetPropertyLabel(value string) {252 func (x *ButtonContent) SetPropertyLabel(value string) {
253 var v gobject.Value253 var v gobject.Value
254 v.Init(gobject.TypeStringVal)254 v.Init(gobject.TypeStringVal)
255- v.SetString(value)255+ v.SetString(&value)
256 x.SetProperty("label", &v)256 x.SetProperty("label", &v)
257 }257 }
258 258
M v4/adw/adw-button-row.go +10 -10
@@ -124,21 +124,21 @@ func (x *ButtonRow) GetStartIconName() string {
124 return cret124 return cret
125 }125 }
126 126
127-var xButtonRowSetEndIconName func(uintptr, string)127+var xButtonRowSetEndIconName func(uintptr, uintptr)
128 128
129 // Sets the end icon name for @self.129 // Sets the end icon name for @self.
130-func (x *ButtonRow) SetEndIconName(IconNameVar string) {130+func (x *ButtonRow) SetEndIconName(IconNameVar *string) {
131 131
132- xButtonRowSetEndIconName(x.GoPointer(), IconNameVar)132+ xButtonRowSetEndIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
133 133
134 }134 }
135 135
136-var xButtonRowSetStartIconName func(uintptr, string)136+var xButtonRowSetStartIconName func(uintptr, uintptr)
137 137
138 // Sets the start icon name for @self.138 // Sets the start icon name for @self.
139-func (x *ButtonRow) SetStartIconName(IconNameVar string) {139+func (x *ButtonRow) SetStartIconName(IconNameVar *string) {
140 140
141- xButtonRowSetStartIconName(x.GoPointer(), IconNameVar)141+ xButtonRowSetStartIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
142 142
143 }143 }
144 144
@@ -158,7 +158,7 @@ func (c *ButtonRow) SetGoPointer(ptr uintptr) {
158 func (x *ButtonRow) SetPropertyEndIconName(value string) {158 func (x *ButtonRow) SetPropertyEndIconName(value string) {
159 var v gobject.Value159 var v gobject.Value
160 v.Init(gobject.TypeStringVal)160 v.Init(gobject.TypeStringVal)
161- v.SetString(value)161+ v.SetString(&value)
162 x.SetProperty("end-icon-name", &v)162 x.SetProperty("end-icon-name", &v)
163 }163 }
164 164
@@ -175,7 +175,7 @@ func (x *ButtonRow) GetPropertyEndIconName() string {
175 func (x *ButtonRow) SetPropertyStartIconName(value string) {175 func (x *ButtonRow) SetPropertyStartIconName(value string) {
176 var v gobject.Value176 var v gobject.Value
177 v.Init(gobject.TypeStringVal)177 v.Init(gobject.TypeStringVal)
178- v.SetString(value)178+ v.SetString(&value)
179 x.SetProperty("start-icon-name", &v)179 x.SetProperty("start-icon-name", &v)
180 }180 }
181 181
@@ -502,9 +502,9 @@ func (x *ButtonRow) GetActionTargetValue() *glib.Variant {
502 // containing [class@ApplicationWindow] or its associated [class@Application],502 // containing [class@ApplicationWindow] or its associated [class@Application],
503 // respectively. This is the same form used for actions in the [class@Gio.Menu]503 // respectively. This is the same form used for actions in the [class@Gio.Menu]
504 // associated with the window.504 // associated with the window.
505-func (x *ButtonRow) SetActionName(ActionNameVar string) {505+func (x *ButtonRow) SetActionName(ActionNameVar *string) {
506 506
507- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)507+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
508 508
509 }509 }
510 510
M v4/adw/adw-combo-row.go +2 -2
@@ -747,9 +747,9 @@ func (x *ComboRow) GetActionTargetValue() *glib.Variant {
747 // containing [class@ApplicationWindow] or its associated [class@Application],747 // containing [class@ApplicationWindow] or its associated [class@Application],
748 // respectively. This is the same form used for actions in the [class@Gio.Menu]748 // respectively. This is the same form used for actions in the [class@Gio.Menu]
749 // associated with the window.749 // associated with the window.
750-func (x *ComboRow) SetActionName(ActionNameVar string) {750+func (x *ComboRow) SetActionName(ActionNameVar *string) {
751 751
752- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)752+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
753 753
754 }754 }
755 755
M v4/adw/adw-dialog.go +1 -1
@@ -605,7 +605,7 @@ func (x *Dialog) GetPropertyFollowsContentSize() bool {
605 func (x *Dialog) SetPropertyTitle(value string) {605 func (x *Dialog) SetPropertyTitle(value string) {
606 var v gobject.Value606 var v gobject.Value
607 v.Init(gobject.TypeStringVal)607 v.Init(gobject.TypeStringVal)
608- v.SetString(value)608+ v.SetString(&value)
609 x.SetProperty("title", &v)609 x.SetProperty("title", &v)
610 }610 }
611 611
M v4/adw/adw-entry-row.go +2 -2
@@ -752,9 +752,9 @@ func (x *EntryRow) GetActionTargetValue() *glib.Variant {
752 // containing [class@ApplicationWindow] or its associated [class@Application],752 // containing [class@ApplicationWindow] or its associated [class@Application],
753 // respectively. This is the same form used for actions in the [class@Gio.Menu]753 // respectively. This is the same form used for actions in the [class@Gio.Menu]
754 // associated with the window.754 // associated with the window.
755-func (x *EntryRow) SetActionName(ActionNameVar string) {755+func (x *EntryRow) SetActionName(ActionNameVar *string) {
756 756
757- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)757+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
758 758
759 }759 }
760 760
M v4/adw/adw-expander-row.go +7 -7
@@ -227,12 +227,12 @@ func (x *ExpanderRow) SetExpanded(ExpandedVar bool) {
227 227
228 }228 }
229 229
230-var xExpanderRowSetIconName func(uintptr, string)230+var xExpanderRowSetIconName func(uintptr, uintptr)
231 231
232 // Sets the icon name for @self.232 // Sets the icon name for @self.
233-func (x *ExpanderRow) SetIconName(IconNameVar string) {233+func (x *ExpanderRow) SetIconName(IconNameVar *string) {
234 234
235- xExpanderRowSetIconName(x.GoPointer(), IconNameVar)235+ xExpanderRowSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
236 236
237 }237 }
238 238
@@ -331,7 +331,7 @@ func (x *ExpanderRow) GetPropertyExpanded() bool {
331 func (x *ExpanderRow) SetPropertyIconName(value string) {331 func (x *ExpanderRow) SetPropertyIconName(value string) {
332 var v gobject.Value332 var v gobject.Value
333 v.Init(gobject.TypeStringVal)333 v.Init(gobject.TypeStringVal)
334- v.SetString(value)334+ v.SetString(&value)
335 x.SetProperty("icon-name", &v)335 x.SetProperty("icon-name", &v)
336 }336 }
337 337
@@ -368,7 +368,7 @@ func (x *ExpanderRow) GetPropertyShowEnableSwitch() bool {
368 func (x *ExpanderRow) SetPropertySubtitle(value string) {368 func (x *ExpanderRow) SetPropertySubtitle(value string) {
369 var v gobject.Value369 var v gobject.Value
370 v.Init(gobject.TypeStringVal)370 v.Init(gobject.TypeStringVal)
371- v.SetString(value)371+ v.SetString(&value)
372 x.SetProperty("subtitle", &v)372 x.SetProperty("subtitle", &v)
373 }373 }
374 374
@@ -722,9 +722,9 @@ func (x *ExpanderRow) GetActionTargetValue() *glib.Variant {
722 // containing [class@ApplicationWindow] or its associated [class@Application],722 // containing [class@ApplicationWindow] or its associated [class@Application],
723 // respectively. This is the same form used for actions in the [class@Gio.Menu]723 // respectively. This is the same form used for actions in the [class@Gio.Menu]
724 // associated with the window.724 // associated with the window.
725-func (x *ExpanderRow) SetActionName(ActionNameVar string) {725+func (x *ExpanderRow) SetActionName(ActionNameVar *string) {
726 726
727- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)727+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
728 728
729 }729 }
730 730
M v4/adw/adw-header-bar.go +4 -4
@@ -280,7 +280,7 @@ func (x *HeaderBar) SetCenteringPolicy(CenteringPolicyVar CenteringPolicy) {
280 280
281 }281 }
282 282
283-var xHeaderBarSetDecorationLayout func(uintptr, string)283+var xHeaderBarSetDecorationLayout func(uintptr, uintptr)
284 284
285 // Sets the decoration layout for @self.285 // Sets the decoration layout for @self.
286 //286 //
@@ -294,9 +294,9 @@ var xHeaderBarSetDecorationLayout func(uintptr, string)
294 //294 //
295 // For example, “icon:minimize,maximize,close” specifies an icon at the start,295 // For example, “icon:minimize,maximize,close” specifies an icon at the start,
296 // and minimize, maximize and close buttons at the end.296 // and minimize, maximize and close buttons at the end.
297-func (x *HeaderBar) SetDecorationLayout(LayoutVar string) {297+func (x *HeaderBar) SetDecorationLayout(LayoutVar *string) {
298 298
299- xHeaderBarSetDecorationLayout(x.GoPointer(), LayoutVar)299+ xHeaderBarSetDecorationLayout(x.GoPointer(), core.NullableStringToPtr(LayoutVar))
300 300
301 }301 }
302 302
@@ -404,7 +404,7 @@ func (c *HeaderBar) SetGoPointer(ptr uintptr) {
404 func (x *HeaderBar) SetPropertyDecorationLayout(value string) {404 func (x *HeaderBar) SetPropertyDecorationLayout(value string) {
405 var v gobject.Value405 var v gobject.Value
406 v.Init(gobject.TypeStringVal)406 v.Init(gobject.TypeStringVal)
407- v.SetString(value)407+ v.SetString(&value)
408 x.SetProperty("decoration-layout", &v)408 x.SetProperty("decoration-layout", &v)
409 }409 }
410 410
M v4/adw/adw-layout-slot.go +1 -1
@@ -88,7 +88,7 @@ func (c *LayoutSlot) SetGoPointer(ptr uintptr) {
88 func (x *LayoutSlot) SetPropertyId(value string) {88 func (x *LayoutSlot) SetPropertyId(value string) {
89 var v gobject.Value89 var v gobject.Value
90 v.Init(gobject.TypeStringVal)90 v.Init(gobject.TypeStringVal)
91- v.SetString(value)91+ v.SetString(&value)
92 x.SetProperty("id", &v)92 x.SetProperty("id", &v)
93 }93 }
94 94
M v4/adw/adw-layout.go +4 -4
@@ -81,12 +81,12 @@ func (x *Layout) GetName() string {
81 return cret81 return cret
82 }82 }
83 83
84-var xLayoutSetName func(uintptr, string)84+var xLayoutSetName func(uintptr, uintptr)
85 85
86 // Sets the name of the layout.86 // Sets the name of the layout.
87-func (x *Layout) SetName(NameVar string) {87+func (x *Layout) SetName(NameVar *string) {
88 88
89- xLayoutSetName(x.GoPointer(), NameVar)89+ xLayoutSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))
90 90
91 }91 }
92 92
@@ -106,7 +106,7 @@ func (c *Layout) SetGoPointer(ptr uintptr) {
106 func (x *Layout) SetPropertyName(value string) {106 func (x *Layout) SetPropertyName(value string) {
107 var v gobject.Value107 var v gobject.Value
108 v.Init(gobject.TypeStringVal)108 v.Init(gobject.TypeStringVal)
109- v.SetString(value)109+ v.SetString(&value)
110 x.SetProperty("name", &v)110 x.SetProperty("name", &v)
111 }111 }
112 112
M v4/adw/adw-leaflet.go +5 -5
@@ -783,7 +783,7 @@ func (x *Leaflet) GetPropertyModeTransitionDuration() uint {
783 func (x *Leaflet) SetPropertyVisibleChildName(value string) {783 func (x *Leaflet) SetPropertyVisibleChildName(value string) {
784 var v gobject.Value784 var v gobject.Value
785 v.Init(gobject.TypeStringVal)785 v.Init(gobject.TypeStringVal)
786- v.SetString(value)786+ v.SetString(&value)
787 x.SetProperty("visible-child-name", &v)787 x.SetProperty("visible-child-name", &v)
788 }788 }
789 789
@@ -1189,12 +1189,12 @@ func (x *LeafletPage) GetNavigatable() bool {
1189 return cret1189 return cret
1190 }1190 }
1191 1191
1192-var xLeafletPageSetName func(uintptr, string)1192+var xLeafletPageSetName func(uintptr, uintptr)
1193 1193
1194 // Sets the name of the @self.1194 // Sets the name of the @self.
1195-func (x *LeafletPage) SetName(NameVar string) {1195+func (x *LeafletPage) SetName(NameVar *string) {
1196 1196
1197- xLeafletPageSetName(x.GoPointer(), NameVar)1197+ xLeafletPageSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))
1198 1198
1199 }1199 }
1200 1200
@@ -1228,7 +1228,7 @@ func (c *LeafletPage) SetGoPointer(ptr uintptr) {
1228 func (x *LeafletPage) SetPropertyName(value string) {1228 func (x *LeafletPage) SetPropertyName(value string) {
1229 var v gobject.Value1229 var v gobject.Value
1230 v.Init(gobject.TypeStringVal)1230 v.Init(gobject.TypeStringVal)
1231- v.SetString(value)1231+ v.SetString(&value)
1232 x.SetProperty("name", &v)1232 x.SetProperty("name", &v)
1233 }1233 }
1234 1234
M v4/adw/adw-message-dialog.go +13 -13
@@ -208,7 +208,7 @@ func MessageDialogNewFromInternalPtr(ptr uintptr) *MessageDialog {
208 return cls208 return cls
209 }209 }
210 210
211-var xNewMessageDialog func(uintptr, string, string) uintptr211+var xNewMessageDialog func(uintptr, uintptr, uintptr) uintptr
212 212
213 // Creates a new `AdwMessageDialog`.213 // Creates a new `AdwMessageDialog`.
214 //214 //
@@ -226,10 +226,10 @@ var xNewMessageDialog func(uintptr, string, string) uintptr
226 // filename);226 // filename);
227 //227 //
228 // ```228 // ```
229-func NewMessageDialog(ParentVar *gtk.Window, HeadingVar string, BodyVar string) *MessageDialog {229+func NewMessageDialog(ParentVar *gtk.Window, HeadingVar *string, BodyVar *string) *MessageDialog {
230 var cls *MessageDialog230 var cls *MessageDialog
231 231
232- cret := xNewMessageDialog(ParentVar.GoPointer(), HeadingVar, BodyVar)232+ cret := xNewMessageDialog(ParentVar.GoPointer(), core.NullableStringToPtr(HeadingVar), core.NullableStringToPtr(BodyVar))
233 233
234 if cret == 0 {234 if cret == 0 {
235 return nil235 return nil
@@ -547,7 +547,7 @@ func (x *MessageDialog) SetCloseResponse(ResponseVar string) {
547 547
548 }548 }
549 549
550-var xMessageDialogSetDefaultResponse func(uintptr, string)550+var xMessageDialogSetDefaultResponse func(uintptr, uintptr)
551 551
552 // Sets the ID of the default response of @self.552 // Sets the ID of the default response of @self.
553 //553 //
@@ -558,9 +558,9 @@ var xMessageDialogSetDefaultResponse func(uintptr, string)
558 // will be focused by default.558 // will be focused by default.
559 //559 //
560 // See [property@Gtk.Window:default-widget].560 // See [property@Gtk.Window:default-widget].
561-func (x *MessageDialog) SetDefaultResponse(ResponseVar string) {561+func (x *MessageDialog) SetDefaultResponse(ResponseVar *string) {
562 562
563- xMessageDialogSetDefaultResponse(x.GoPointer(), ResponseVar)563+ xMessageDialogSetDefaultResponse(x.GoPointer(), core.NullableStringToPtr(ResponseVar))
564 564
565 }565 }
566 566
@@ -575,12 +575,12 @@ func (x *MessageDialog) SetExtraChild(ChildVar *gtk.Widget) {
575 575
576 }576 }
577 577
578-var xMessageDialogSetHeading func(uintptr, string)578+var xMessageDialogSetHeading func(uintptr, uintptr)
579 579
580 // Sets the heading of @self.580 // Sets the heading of @self.
581-func (x *MessageDialog) SetHeading(HeadingVar string) {581+func (x *MessageDialog) SetHeading(HeadingVar *string) {
582 582
583- xMessageDialogSetHeading(x.GoPointer(), HeadingVar)583+ xMessageDialogSetHeading(x.GoPointer(), core.NullableStringToPtr(HeadingVar))
584 584
585 }585 }
586 586
@@ -668,7 +668,7 @@ func (c *MessageDialog) SetGoPointer(ptr uintptr) {
668 func (x *MessageDialog) SetPropertyBody(value string) {668 func (x *MessageDialog) SetPropertyBody(value string) {
669 var v gobject.Value669 var v gobject.Value
670 v.Init(gobject.TypeStringVal)670 v.Init(gobject.TypeStringVal)
671- v.SetString(value)671+ v.SetString(&value)
672 x.SetProperty("body", &v)672 x.SetProperty("body", &v)
673 }673 }
674 674
@@ -713,7 +713,7 @@ func (x *MessageDialog) GetPropertyBodyUseMarkup() bool {
713 func (x *MessageDialog) SetPropertyCloseResponse(value string) {713 func (x *MessageDialog) SetPropertyCloseResponse(value string) {
714 var v gobject.Value714 var v gobject.Value
715 v.Init(gobject.TypeStringVal)715 v.Init(gobject.TypeStringVal)
716- v.SetString(value)716+ v.SetString(&value)
717 x.SetProperty("close-response", &v)717 x.SetProperty("close-response", &v)
718 }718 }
719 719
@@ -745,7 +745,7 @@ func (x *MessageDialog) GetPropertyCloseResponse() string {
745 func (x *MessageDialog) SetPropertyDefaultResponse(value string) {745 func (x *MessageDialog) SetPropertyDefaultResponse(value string) {
746 var v gobject.Value746 var v gobject.Value
747 v.Init(gobject.TypeStringVal)747 v.Init(gobject.TypeStringVal)
748- v.SetString(value)748+ v.SetString(&value)
749 x.SetProperty("default-response", &v)749 x.SetProperty("default-response", &v)
750 }750 }
751 751
@@ -770,7 +770,7 @@ func (x *MessageDialog) GetPropertyDefaultResponse() string {
770 func (x *MessageDialog) SetPropertyHeading(value string) {770 func (x *MessageDialog) SetPropertyHeading(value string) {
771 var v gobject.Value771 var v gobject.Value
772 v.Init(gobject.TypeStringVal)772 v.Init(gobject.TypeStringVal)
773- v.SetString(value)773+ v.SetString(&value)
774 x.SetProperty("heading", &v)774 x.SetProperty("heading", &v)
775 }775 }
776 776
M v4/adw/adw-multi-layout-view.go +1 -1
@@ -266,7 +266,7 @@ func (c *MultiLayoutView) SetGoPointer(ptr uintptr) {
266 func (x *MultiLayoutView) SetPropertyLayoutName(value string) {266 func (x *MultiLayoutView) SetPropertyLayoutName(value string) {
267 var v gobject.Value267 var v gobject.Value
268 v.Init(gobject.TypeStringVal)268 v.Init(gobject.TypeStringVal)
269- v.SetString(value)269+ v.SetString(&value)
270 x.SetProperty("layout-name", &v)270 x.SetProperty("layout-name", &v)
271 }271 }
272 272
M v4/adw/adw-navigation-view.go +5 -5
@@ -284,7 +284,7 @@ func (x *NavigationPage) SetChild(ChildVar *gtk.Widget) {
284 284
285 }285 }
286 286
287-var xNavigationPageSetTag func(uintptr, string)287+var xNavigationPageSetTag func(uintptr, uintptr)
288 288
289 // Sets the tag for @self.289 // Sets the tag for @self.
290 //290 //
@@ -296,9 +296,9 @@ var xNavigationPageSetTag func(uintptr, string)
296 // Tags must be unique within each [class@NavigationView].296 // Tags must be unique within each [class@NavigationView].
297 //297 //
298 // 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.
299-func (x *NavigationPage) SetTag(TagVar string) {299+func (x *NavigationPage) SetTag(TagVar *string) {
300 300
301- xNavigationPageSetTag(x.GoPointer(), TagVar)301+ xNavigationPageSetTag(x.GoPointer(), core.NullableStringToPtr(TagVar))
302 302
303 }303 }
304 304
@@ -374,7 +374,7 @@ func (x *NavigationPage) GetPropertyCanPop() bool {
374 func (x *NavigationPage) SetPropertyTag(value string) {374 func (x *NavigationPage) SetPropertyTag(value string) {
375 var v gobject.Value375 var v gobject.Value
376 v.Init(gobject.TypeStringVal)376 v.Init(gobject.TypeStringVal)
377- v.SetString(value)377+ v.SetString(&value)
378 x.SetProperty("tag", &v)378 x.SetProperty("tag", &v)
379 }379 }
380 380
@@ -403,7 +403,7 @@ func (x *NavigationPage) GetPropertyTag() string {
403 func (x *NavigationPage) SetPropertyTitle(value string) {403 func (x *NavigationPage) SetPropertyTitle(value string) {
404 var v gobject.Value404 var v gobject.Value
405 v.Init(gobject.TypeStringVal)405 v.Init(gobject.TypeStringVal)
406- v.SetString(value)406+ v.SetString(&value)
407 x.SetProperty("title", &v)407 x.SetProperty("title", &v)
408 }408 }
409 409
M v4/adw/adw-password-entry-row.go +2 -2
@@ -383,9 +383,9 @@ func (x *PasswordEntryRow) GetActionTargetValue() *glib.Variant {
383 // containing [class@ApplicationWindow] or its associated [class@Application],383 // containing [class@ApplicationWindow] or its associated [class@Application],
384 // respectively. This is the same form used for actions in the [class@Gio.Menu]384 // respectively. This is the same form used for actions in the [class@Gio.Menu]
385 // associated with the window.385 // associated with the window.
386-func (x *PasswordEntryRow) SetActionName(ActionNameVar string) {386+func (x *PasswordEntryRow) SetActionName(ActionNameVar *string) {
387 387
388- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)388+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
389 389
390 }390 }
391 391
M v4/adw/adw-preferences-dialog.go +1 -1
@@ -227,7 +227,7 @@ func (x *PreferencesDialog) GetPropertySearchEnabled() bool {
227 func (x *PreferencesDialog) SetPropertyVisiblePageName(value string) {227 func (x *PreferencesDialog) SetPropertyVisiblePageName(value string) {
228 var v gobject.Value228 var v gobject.Value
229 v.Init(gobject.TypeStringVal)229 v.Init(gobject.TypeStringVal)
230- v.SetString(value)230+ v.SetString(&value)
231 x.SetProperty("visible-page-name", &v)231 x.SetProperty("visible-page-name", &v)
232 }232 }
233 233
M v4/adw/adw-preferences-group.go +5 -5
@@ -219,12 +219,12 @@ func (x *PreferencesGroup) Remove(ChildVar *gtk.Widget) {
219 219
220 }220 }
221 221
222-var xPreferencesGroupSetDescription func(uintptr, string)222+var xPreferencesGroupSetDescription func(uintptr, uintptr)
223 223
224 // Sets the description for @self.224 // Sets the description for @self.
225-func (x *PreferencesGroup) SetDescription(DescriptionVar string) {225+func (x *PreferencesGroup) SetDescription(DescriptionVar *string) {
226 226
227- xPreferencesGroupSetDescription(x.GoPointer(), DescriptionVar)227+ xPreferencesGroupSetDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar))
228 228
229 }229 }
230 230
@@ -279,7 +279,7 @@ func (c *PreferencesGroup) SetGoPointer(ptr uintptr) {
279 func (x *PreferencesGroup) SetPropertyDescription(value string) {279 func (x *PreferencesGroup) SetPropertyDescription(value string) {
280 var v gobject.Value280 var v gobject.Value
281 v.Init(gobject.TypeStringVal)281 v.Init(gobject.TypeStringVal)
282- v.SetString(value)282+ v.SetString(&value)
283 x.SetProperty("description", &v)283 x.SetProperty("description", &v)
284 }284 }
285 285
@@ -321,7 +321,7 @@ func (x *PreferencesGroup) GetPropertySeparateRows() bool {
321 func (x *PreferencesGroup) SetPropertyTitle(value string) {321 func (x *PreferencesGroup) SetPropertyTitle(value string) {
322 var v gobject.Value322 var v gobject.Value
323 v.Init(gobject.TypeStringVal)323 v.Init(gobject.TypeStringVal)
324- v.SetString(value)324+ v.SetString(&value)
325 x.SetProperty("title", &v)325 x.SetProperty("title", &v)
326 }326 }
327 327
M v4/adw/adw-preferences-page.go +10 -10
@@ -234,21 +234,21 @@ func (x *PreferencesPage) SetDescriptionCentered(CenteredVar bool) {
234 234
235 }235 }
236 236
237-var xPreferencesPageSetIconName func(uintptr, string)237+var xPreferencesPageSetIconName func(uintptr, uintptr)
238 238
239 // Sets the icon name for @self.239 // Sets the icon name for @self.
240-func (x *PreferencesPage) SetIconName(IconNameVar string) {240+func (x *PreferencesPage) SetIconName(IconNameVar *string) {
241 241
242- xPreferencesPageSetIconName(x.GoPointer(), IconNameVar)242+ xPreferencesPageSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
243 243
244 }244 }
245 245
246-var xPreferencesPageSetName func(uintptr, string)246+var xPreferencesPageSetName func(uintptr, uintptr)
247 247
248 // Sets the name of @self.248 // Sets the name of @self.
249-func (x *PreferencesPage) SetName(NameVar string) {249+func (x *PreferencesPage) SetName(NameVar *string) {
250 250
251- xPreferencesPageSetName(x.GoPointer(), NameVar)251+ xPreferencesPageSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))
252 252
253 }253 }
254 254
@@ -286,7 +286,7 @@ func (c *PreferencesPage) SetGoPointer(ptr uintptr) {
286 func (x *PreferencesPage) SetPropertyDescription(value string) {286 func (x *PreferencesPage) SetPropertyDescription(value string) {
287 var v gobject.Value287 var v gobject.Value
288 v.Init(gobject.TypeStringVal)288 v.Init(gobject.TypeStringVal)
289- v.SetString(value)289+ v.SetString(&value)
290 x.SetProperty("description", &v)290 x.SetProperty("description", &v)
291 }291 }
292 292
@@ -320,7 +320,7 @@ func (x *PreferencesPage) GetPropertyDescriptionCentered() bool {
320 func (x *PreferencesPage) SetPropertyIconName(value string) {320 func (x *PreferencesPage) SetPropertyIconName(value string) {
321 var v gobject.Value321 var v gobject.Value
322 v.Init(gobject.TypeStringVal)322 v.Init(gobject.TypeStringVal)
323- v.SetString(value)323+ v.SetString(&value)
324 x.SetProperty("icon-name", &v)324 x.SetProperty("icon-name", &v)
325 }325 }
326 326
@@ -337,7 +337,7 @@ func (x *PreferencesPage) GetPropertyIconName() string {
337 func (x *PreferencesPage) SetPropertyName(value string) {337 func (x *PreferencesPage) SetPropertyName(value string) {
338 var v gobject.Value338 var v gobject.Value
339 v.Init(gobject.TypeStringVal)339 v.Init(gobject.TypeStringVal)
340- v.SetString(value)340+ v.SetString(&value)
341 x.SetProperty("name", &v)341 x.SetProperty("name", &v)
342 }342 }
343 343
@@ -354,7 +354,7 @@ func (x *PreferencesPage) GetPropertyName() string {
354 func (x *PreferencesPage) SetPropertyTitle(value string) {354 func (x *PreferencesPage) SetPropertyTitle(value string) {
355 var v gobject.Value355 var v gobject.Value
356 v.Init(gobject.TypeStringVal)356 v.Init(gobject.TypeStringVal)
357- v.SetString(value)357+ v.SetString(&value)
358 x.SetProperty("title", &v)358 x.SetProperty("title", &v)
359 }359 }
360 360
M v4/adw/adw-preferences-row.go +3 -3
@@ -167,7 +167,7 @@ func (c *PreferencesRow) SetGoPointer(ptr uintptr) {
167 func (x *PreferencesRow) SetPropertyTitle(value string) {167 func (x *PreferencesRow) SetPropertyTitle(value string) {
168 var v gobject.Value168 var v gobject.Value
169 v.Init(gobject.TypeStringVal)169 v.Init(gobject.TypeStringVal)
170- v.SetString(value)170+ v.SetString(&value)
171 x.SetProperty("title", &v)171 x.SetProperty("title", &v)
172 }172 }
173 173
@@ -540,9 +540,9 @@ func (x *PreferencesRow) GetActionTargetValue() *glib.Variant {
540 // containing [class@ApplicationWindow] or its associated [class@Application],540 // containing [class@ApplicationWindow] or its associated [class@Application],
541 // respectively. This is the same form used for actions in the [class@Gio.Menu]541 // respectively. This is the same form used for actions in the [class@Gio.Menu]
542 // associated with the window.542 // associated with the window.
543-func (x *PreferencesRow) SetActionName(ActionNameVar string) {543+func (x *PreferencesRow) SetActionName(ActionNameVar *string) {
544 544
545- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)545+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
546 546
547 }547 }
548 548
M v4/adw/adw-preferences-window.go +1 -1
@@ -322,7 +322,7 @@ func (x *PreferencesWindow) GetPropertySearchEnabled() bool {
322 func (x *PreferencesWindow) SetPropertyVisiblePageName(value string) {322 func (x *PreferencesWindow) SetPropertyVisiblePageName(value string) {
323 var v gobject.Value323 var v gobject.Value
324 v.Init(gobject.TypeStringVal)324 v.Init(gobject.TypeStringVal)
325- v.SetString(value)325+ v.SetString(&value)
326 x.SetProperty("visible-page-name", &v)326 x.SetProperty("visible-page-name", &v)
327 }327 }
328 328
M v4/adw/adw-shortcut-label.go +2 -2
@@ -174,7 +174,7 @@ func (c *ShortcutLabel) SetGoPointer(ptr uintptr) {
174 func (x *ShortcutLabel) SetPropertyAccelerator(value string) {174 func (x *ShortcutLabel) SetPropertyAccelerator(value string) {
175 var v gobject.Value175 var v gobject.Value
176 v.Init(gobject.TypeStringVal)176 v.Init(gobject.TypeStringVal)
177- v.SetString(value)177+ v.SetString(&value)
178 x.SetProperty("accelerator", &v)178 x.SetProperty("accelerator", &v)
179 }179 }
180 180
@@ -191,7 +191,7 @@ func (x *ShortcutLabel) GetPropertyAccelerator() string {
191 func (x *ShortcutLabel) SetPropertyDisabledText(value string) {191 func (x *ShortcutLabel) SetPropertyDisabledText(value string) {
192 var v gobject.Value192 var v gobject.Value
193 v.Init(gobject.TypeStringVal)193 v.Init(gobject.TypeStringVal)
194- v.SetString(value)194+ v.SetString(&value)
195 x.SetProperty("disabled-text", &v)195 x.SetProperty("disabled-text", &v)
196 }196 }
197 197
M v4/adw/adw-shortcuts-item.go +4 -4
@@ -199,7 +199,7 @@ func (c *ShortcutsItem) SetGoPointer(ptr uintptr) {
199 func (x *ShortcutsItem) SetPropertyAccelerator(value string) {199 func (x *ShortcutsItem) SetPropertyAccelerator(value string) {
200 var v gobject.Value200 var v gobject.Value
201 v.Init(gobject.TypeStringVal)201 v.Init(gobject.TypeStringVal)
202- v.SetString(value)202+ v.SetString(&value)
203 x.SetProperty("accelerator", &v)203 x.SetProperty("accelerator", &v)
204 }204 }
205 205
@@ -218,7 +218,7 @@ func (x *ShortcutsItem) GetPropertyAccelerator() string {
218 func (x *ShortcutsItem) SetPropertyActionName(value string) {218 func (x *ShortcutsItem) SetPropertyActionName(value string) {
219 var v gobject.Value219 var v gobject.Value
220 v.Init(gobject.TypeStringVal)220 v.Init(gobject.TypeStringVal)
221- v.SetString(value)221+ v.SetString(&value)
222 x.SetProperty("action-name", &v)222 x.SetProperty("action-name", &v)
223 }223 }
224 224
@@ -235,7 +235,7 @@ func (x *ShortcutsItem) GetPropertyActionName() string {
235 func (x *ShortcutsItem) SetPropertySubtitle(value string) {235 func (x *ShortcutsItem) SetPropertySubtitle(value string) {
236 var v gobject.Value236 var v gobject.Value
237 v.Init(gobject.TypeStringVal)237 v.Init(gobject.TypeStringVal)
238- v.SetString(value)238+ v.SetString(&value)
239 x.SetProperty("subtitle", &v)239 x.SetProperty("subtitle", &v)
240 }240 }
241 241
@@ -252,7 +252,7 @@ func (x *ShortcutsItem) GetPropertySubtitle() string {
252 func (x *ShortcutsItem) SetPropertyTitle(value string) {252 func (x *ShortcutsItem) SetPropertyTitle(value string) {
253 var v gobject.Value253 var v gobject.Value
254 v.Init(gobject.TypeStringVal)254 v.Init(gobject.TypeStringVal)
255- v.SetString(value)255+ v.SetString(&value)
256 x.SetProperty("title", &v)256 x.SetProperty("title", &v)
257 }257 }
258 258
M v4/adw/adw-shortcuts-section.go +7 -7
@@ -50,13 +50,13 @@ func ShortcutsSectionNewFromInternalPtr(ptr uintptr) *ShortcutsSection {
50 return cls50 return cls
51 }51 }
52 52
53-var xNewShortcutsSection func(string) uintptr53+var xNewShortcutsSection func(uintptr) uintptr
54 54
55 // Creates a new `AdwShortcutsSection` with @title as its title if provided.55 // Creates a new `AdwShortcutsSection` with @title as its title if provided.
56-func NewShortcutsSection(TitleVar string) *ShortcutsSection {56+func NewShortcutsSection(TitleVar *string) *ShortcutsSection {
57 var cls *ShortcutsSection57 var cls *ShortcutsSection
58 58
59- cret := xNewShortcutsSection(TitleVar)59+ cret := xNewShortcutsSection(core.NullableStringToPtr(TitleVar))
60 60
61 if cret == 0 {61 if cret == 0 {
62 return nil62 return nil
@@ -84,12 +84,12 @@ func (x *ShortcutsSection) GetTitle() string {
84 return cret84 return cret
85 }85 }
86 86
87-var xShortcutsSectionSetTitle func(uintptr, string)87+var xShortcutsSectionSetTitle func(uintptr, uintptr)
88 88
89 // Sets the title of @self.89 // Sets the title of @self.
90-func (x *ShortcutsSection) SetTitle(TitleVar string) {90+func (x *ShortcutsSection) SetTitle(TitleVar *string) {
91 91
92- xShortcutsSectionSetTitle(x.GoPointer(), TitleVar)92+ xShortcutsSectionSetTitle(x.GoPointer(), core.NullableStringToPtr(TitleVar))
93 93
94 }94 }
95 95
@@ -109,7 +109,7 @@ func (c *ShortcutsSection) SetGoPointer(ptr uintptr) {
109 func (x *ShortcutsSection) SetPropertyTitle(value string) {109 func (x *ShortcutsSection) SetPropertyTitle(value string) {
110 var v gobject.Value110 var v gobject.Value
111 v.Init(gobject.TypeStringVal)111 v.Init(gobject.TypeStringVal)
112- v.SetString(value)112+ v.SetString(&value)
113 x.SetProperty("title", &v)113 x.SetProperty("title", &v)
114 }114 }
115 115
M v4/adw/adw-spin-row.go +2 -2
@@ -789,9 +789,9 @@ func (x *SpinRow) GetActionTargetValue() *glib.Variant {
789 // containing [class@ApplicationWindow] or its associated [class@Application],789 // containing [class@ApplicationWindow] or its associated [class@Application],
790 // respectively. This is the same form used for actions in the [class@Gio.Menu]790 // respectively. This is the same form used for actions in the [class@Gio.Menu]
791 // associated with the window.791 // associated with the window.
792-func (x *SpinRow) SetActionName(ActionNameVar string) {792+func (x *SpinRow) SetActionName(ActionNameVar *string) {
793 793
794- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)794+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
795 795
796 }796 }
797 797
M v4/adw/adw-split-button.go +5 -5
@@ -396,7 +396,7 @@ func (x *SplitButton) GetPropertyCanShrink() bool {
396 func (x *SplitButton) SetPropertyDropdownTooltip(value string) {396 func (x *SplitButton) SetPropertyDropdownTooltip(value string) {
397 var v gobject.Value397 var v gobject.Value
398 v.Init(gobject.TypeStringVal)398 v.Init(gobject.TypeStringVal)
399- v.SetString(value)399+ v.SetString(&value)
400 x.SetProperty("dropdown-tooltip", &v)400 x.SetProperty("dropdown-tooltip", &v)
401 }401 }
402 402
@@ -418,7 +418,7 @@ func (x *SplitButton) GetPropertyDropdownTooltip() string {
418 func (x *SplitButton) SetPropertyIconName(value string) {418 func (x *SplitButton) SetPropertyIconName(value string) {
419 var v gobject.Value419 var v gobject.Value
420 v.Init(gobject.TypeStringVal)420 v.Init(gobject.TypeStringVal)
421- v.SetString(value)421+ v.SetString(&value)
422 x.SetProperty("icon-name", &v)422 x.SetProperty("icon-name", &v)
423 }423 }
424 424
@@ -441,7 +441,7 @@ func (x *SplitButton) GetPropertyIconName() string {
441 func (x *SplitButton) SetPropertyLabel(value string) {441 func (x *SplitButton) SetPropertyLabel(value string) {
442 var v gobject.Value442 var v gobject.Value
443 v.Init(gobject.TypeStringVal)443 v.Init(gobject.TypeStringVal)
444- v.SetString(value)444+ v.SetString(&value)
445 x.SetProperty("label", &v)445 x.SetProperty("label", &v)
446 }446 }
447 447
@@ -815,9 +815,9 @@ func (x *SplitButton) GetActionTargetValue() *glib.Variant {
815 // containing [class@ApplicationWindow] or its associated [class@Application],815 // containing [class@ApplicationWindow] or its associated [class@Application],
816 // respectively. This is the same form used for actions in the [class@Gio.Menu]816 // respectively. This is the same form used for actions in the [class@Gio.Menu]
817 // associated with the window.817 // associated with the window.
818-func (x *SplitButton) SetActionName(ActionNameVar string) {818+func (x *SplitButton) SetActionName(ActionNameVar *string) {
819 819
820- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)820+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
821 821
822 }822 }
823 823
M v4/adw/adw-status-page.go +9 -9
@@ -159,25 +159,25 @@ func (x *StatusPage) SetChild(ChildVar *gtk.Widget) {
159 159
160 }160 }
161 161
162-var xStatusPageSetDescription func(uintptr, string)162+var xStatusPageSetDescription func(uintptr, uintptr)
163 163
164 // Sets the description markup for @self.164 // Sets the description markup for @self.
165 //165 //
166 // 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.
167-func (x *StatusPage) SetDescription(DescriptionVar string) {167+func (x *StatusPage) SetDescription(DescriptionVar *string) {
168 168
169- xStatusPageSetDescription(x.GoPointer(), DescriptionVar)169+ xStatusPageSetDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar))
170 170
171 }171 }
172 172
173-var xStatusPageSetIconName func(uintptr, string)173+var xStatusPageSetIconName func(uintptr, uintptr)
174 174
175 // Sets the icon name for @self.175 // Sets the icon name for @self.
176 //176 //
177 // Changing this will set [property@StatusPage:paintable] to `NULL`.177 // Changing this will set [property@StatusPage:paintable] to `NULL`.
178-func (x *StatusPage) SetIconName(IconNameVar string) {178+func (x *StatusPage) SetIconName(IconNameVar *string) {
179 179
180- xStatusPageSetIconName(x.GoPointer(), IconNameVar)180+ xStatusPageSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
181 181
182 }182 }
183 183
@@ -219,7 +219,7 @@ func (c *StatusPage) SetGoPointer(ptr uintptr) {
219 func (x *StatusPage) SetPropertyDescription(value string) {219 func (x *StatusPage) SetPropertyDescription(value string) {
220 var v gobject.Value220 var v gobject.Value
221 v.Init(gobject.TypeStringVal)221 v.Init(gobject.TypeStringVal)
222- v.SetString(value)222+ v.SetString(&value)
223 x.SetProperty("description", &v)223 x.SetProperty("description", &v)
224 }224 }
225 225
@@ -238,7 +238,7 @@ func (x *StatusPage) GetPropertyDescription() string {
238 func (x *StatusPage) SetPropertyIconName(value string) {238 func (x *StatusPage) SetPropertyIconName(value string) {
239 var v gobject.Value239 var v gobject.Value
240 v.Init(gobject.TypeStringVal)240 v.Init(gobject.TypeStringVal)
241- v.SetString(value)241+ v.SetString(&value)
242 x.SetProperty("icon-name", &v)242 x.SetProperty("icon-name", &v)
243 }243 }
244 244
@@ -259,7 +259,7 @@ func (x *StatusPage) GetPropertyIconName() string {
259 func (x *StatusPage) SetPropertyTitle(value string) {259 func (x *StatusPage) SetPropertyTitle(value string) {
260 var v gobject.Value260 var v gobject.Value
261 v.Init(gobject.TypeStringVal)261 v.Init(gobject.TypeStringVal)
262- v.SetString(value)262+ v.SetString(&value)
263 x.SetProperty("title", &v)263 x.SetProperty("title", &v)
264 }264 }
265 265
M v4/adw/adw-switch-row.go +2 -2
@@ -431,9 +431,9 @@ func (x *SwitchRow) GetActionTargetValue() *glib.Variant {
431 // containing [class@ApplicationWindow] or its associated [class@Application],431 // containing [class@ApplicationWindow] or its associated [class@Application],
432 // respectively. This is the same form used for actions in the [class@Gio.Menu]432 // respectively. This is the same form used for actions in the [class@Gio.Menu]
433 // associated with the window.433 // associated with the window.
434-func (x *SwitchRow) SetActionName(ActionNameVar string) {434+func (x *SwitchRow) SetActionName(ActionNameVar *string) {
435 435
436- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)436+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
437 437
438 }438 }
439 439
M v4/adw/adw-tab-button.go +2 -2
@@ -463,9 +463,9 @@ func (x *TabButton) GetActionTargetValue() *glib.Variant {
463 // containing [class@ApplicationWindow] or its associated [class@Application],463 // containing [class@ApplicationWindow] or its associated [class@Application],
464 // respectively. This is the same form used for actions in the [class@Gio.Menu]464 // respectively. This is the same form used for actions in the [class@Gio.Menu]
465 // associated with the window.465 // associated with the window.
466-func (x *TabButton) SetActionName(ActionNameVar string) {466+func (x *TabButton) SetActionName(ActionNameVar *string) {
467 467
468- gtk.XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)468+ gtk.XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
469 469
470 }470 }
471 471
M v4/adw/adw-tab-view.go +4 -4
@@ -544,7 +544,7 @@ func (x *TabPage) GetPropertyIndicatorActivatable() bool {
544 func (x *TabPage) SetPropertyIndicatorTooltip(value string) {544 func (x *TabPage) SetPropertyIndicatorTooltip(value string) {
545 var v gobject.Value545 var v gobject.Value
546 v.Init(gobject.TypeStringVal)546 v.Init(gobject.TypeStringVal)
547- v.SetString(value)547+ v.SetString(&value)
548 x.SetProperty("indicator-tooltip", &v)548 x.SetProperty("indicator-tooltip", &v)
549 }549 }
550 550
@@ -570,7 +570,7 @@ func (x *TabPage) GetPropertyIndicatorTooltip() string {
570 func (x *TabPage) SetPropertyKeyword(value string) {570 func (x *TabPage) SetPropertyKeyword(value string) {
571 var v gobject.Value571 var v gobject.Value
572 v.Init(gobject.TypeStringVal)572 v.Init(gobject.TypeStringVal)
573- v.SetString(value)573+ v.SetString(&value)
574 x.SetProperty("keyword", &v)574 x.SetProperty("keyword", &v)
575 }575 }
576 576
@@ -786,7 +786,7 @@ func (x *TabPage) GetPropertyThumbnailYalign() float32 {
786 func (x *TabPage) SetPropertyTitle(value string) {786 func (x *TabPage) SetPropertyTitle(value string) {
787 var v gobject.Value787 var v gobject.Value
788 v.Init(gobject.TypeStringVal)788 v.Init(gobject.TypeStringVal)
789- v.SetString(value)789+ v.SetString(&value)
790 x.SetProperty("title", &v)790 x.SetProperty("title", &v)
791 }791 }
792 792
@@ -815,7 +815,7 @@ func (x *TabPage) GetPropertyTitle() string {
815 func (x *TabPage) SetPropertyTooltip(value string) {815 func (x *TabPage) SetPropertyTooltip(value string) {
816 var v gobject.Value816 var v gobject.Value
817 v.Init(gobject.TypeStringVal)817 v.Init(gobject.TypeStringVal)
818- v.SetString(value)818+ v.SetString(&value)
819 x.SetProperty("tooltip", &v)819 x.SetProperty("tooltip", &v)
820 }820 }
821 821
M v4/adw/adw-toast.go +15 -15
@@ -327,20 +327,20 @@ func (x *Toast) GetUseMarkup() bool {
327 return cret327 return cret
328 }328 }
329 329
330-var xToastSetActionName func(uintptr, string)330+var xToastSetActionName func(uintptr, uintptr)
331 331
332 // Sets the name of the associated action.332 // Sets the name of the associated action.
333 //333 //
334 // It will be activated when clicking the button.334 // It will be activated when clicking the button.
335 //335 //
336 // See [property@Toast:action-target].336 // See [property@Toast:action-target].
337-func (x *Toast) SetActionName(ActionNameVar string) {337+func (x *Toast) SetActionName(ActionNameVar *string) {
338 338
339- xToastSetActionName(x.GoPointer(), ActionNameVar)339+ xToastSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
340 340
341 }341 }
342 342
343-var xToastSetActionTarget func(uintptr, string, ...interface{})343+var xToastSetActionTarget func(uintptr, uintptr, ...interface{})
344 344
345 // Sets the parameter for action invocations.345 // Sets the parameter for action invocations.
346 //346 //
@@ -351,9 +351,9 @@ var xToastSetActionTarget func(uintptr, string, ...interface{})
351 // If you are setting a string-valued target and want to set351 // If you are setting a string-valued target and want to set
352 // the action name at the same time, you can use352 // the action name at the same time, you can use
353 // [method@Toast.set_detailed_action_name].353 // [method@Toast.set_detailed_action_name].
354-func (x *Toast) SetActionTarget(FormatStringVar string, varArgs ...interface{}) {354+func (x *Toast) SetActionTarget(FormatStringVar *string, varArgs ...interface{}) {
355 355
356- xToastSetActionTarget(x.GoPointer(), FormatStringVar, varArgs...)356+ xToastSetActionTarget(x.GoPointer(), core.NullableStringToPtr(FormatStringVar), varArgs...)
357 357
358 }358 }
359 359
@@ -369,7 +369,7 @@ func (x *Toast) SetActionTargetValue(ActionTargetVar *glib.Variant) {
369 369
370 }370 }
371 371
372-var xToastSetButtonLabel func(uintptr, string)372+var xToastSetButtonLabel func(uintptr, uintptr)
373 373
374 // Sets the label to show on the button.374 // Sets the label to show on the button.
375 //375 //
@@ -378,9 +378,9 @@ var xToastSetButtonLabel func(uintptr, string)
378 // If set to `NULL`, the button won't be shown.378 // If set to `NULL`, the button won't be shown.
379 //379 //
380 // See [property@Toast:action-name].380 // See [property@Toast:action-name].
381-func (x *Toast) SetButtonLabel(ButtonLabelVar string) {381+func (x *Toast) SetButtonLabel(ButtonLabelVar *string) {
382 382
383- xToastSetButtonLabel(x.GoPointer(), ButtonLabelVar)383+ xToastSetButtonLabel(x.GoPointer(), core.NullableStringToPtr(ButtonLabelVar))
384 384
385 }385 }
386 386
@@ -398,15 +398,15 @@ func (x *Toast) SetCustomTitle(WidgetVar *gtk.Widget) {
398 398
399 }399 }
400 400
401-var xToastSetDetailedActionName func(uintptr, string)401+var xToastSetDetailedActionName func(uintptr, uintptr)
402 402
403 // Sets the action name and its parameter.403 // Sets the action name and its parameter.
404 //404 //
405 // @detailed_action_name is a string in the format accepted by405 // @detailed_action_name is a string in the format accepted by
406 // [func@Gio.Action.parse_detailed_name].406 // [func@Gio.Action.parse_detailed_name].
407-func (x *Toast) SetDetailedActionName(DetailedActionNameVar string) {407+func (x *Toast) SetDetailedActionName(DetailedActionNameVar *string) {
408 408
409- xToastSetDetailedActionName(x.GoPointer(), DetailedActionNameVar)409+ xToastSetDetailedActionName(x.GoPointer(), core.NullableStringToPtr(DetailedActionNameVar))
410 410
411 }411 }
412 412
@@ -488,7 +488,7 @@ func (c *Toast) SetGoPointer(ptr uintptr) {
488 func (x *Toast) SetPropertyActionName(value string) {488 func (x *Toast) SetPropertyActionName(value string) {
489 var v gobject.Value489 var v gobject.Value
490 v.Init(gobject.TypeStringVal)490 v.Init(gobject.TypeStringVal)
491- v.SetString(value)491+ v.SetString(&value)
492 x.SetProperty("action-name", &v)492 x.SetProperty("action-name", &v)
493 }493 }
494 494
@@ -532,7 +532,7 @@ func (x *Toast) GetPropertyActionTarget() uintptr {
532 func (x *Toast) SetPropertyButtonLabel(value string) {532 func (x *Toast) SetPropertyButtonLabel(value string) {
533 var v gobject.Value533 var v gobject.Value
534 v.Init(gobject.TypeStringVal)534 v.Init(gobject.TypeStringVal)
535- v.SetString(value)535+ v.SetString(&value)
536 x.SetProperty("button-label", &v)536 x.SetProperty("button-label", &v)
537 }537 }
538 538
@@ -590,7 +590,7 @@ func (x *Toast) GetPropertyTimeout() uint {
590 func (x *Toast) SetPropertyTitle(value string) {590 func (x *Toast) SetPropertyTitle(value string) {
591 var v gobject.Value591 var v gobject.Value
592 v.Init(gobject.TypeStringVal)592 v.Init(gobject.TypeStringVal)
593- v.SetString(value)593+ v.SetString(&value)
594 x.SetProperty("title", &v)594 x.SetProperty("title", &v)
595 }595 }
596 596
M v4/adw/adw-toggle-group.go +17 -17
@@ -172,41 +172,41 @@ func (x *Toggle) SetEnabled(EnabledVar bool) {
172 172
173 }173 }
174 174
175-var xToggleSetIconName func(uintptr, string)175+var xToggleSetIconName func(uintptr, uintptr)
176 176
177 // Sets the icon name of @self to @icon_name.177 // Sets the icon name of @self to @icon_name.
178 //178 //
179 // The icon will be displayed alone or next to the label, unless179 // The icon will be displayed alone or next to the label, unless
180 // [property@Toggle:child] is set.180 // [property@Toggle:child] is set.
181-func (x *Toggle) SetIconName(IconNameVar string) {181+func (x *Toggle) SetIconName(IconNameVar *string) {
182 182
183- xToggleSetIconName(x.GoPointer(), IconNameVar)183+ xToggleSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
184 184
185 }185 }
186 186
187-var xToggleSetLabel func(uintptr, string)187+var xToggleSetLabel func(uintptr, uintptr)
188 188
189 // Sets the label of @self to @label.189 // Sets the label of @self to @label.
190 //190 //
191 // The label will be displayed alone or next to the icon, unless191 // The label will be displayed alone or next to the icon, unless
192 // [property@Toggle:child] is set, but will still be read out by the screen192 // [property@Toggle:child] is set, but will still be read out by the screen
193 // reader.193 // reader.
194-func (x *Toggle) SetLabel(LabelVar string) {194+func (x *Toggle) SetLabel(LabelVar *string) {
195 195
196- xToggleSetLabel(x.GoPointer(), LabelVar)196+ xToggleSetLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))
197 197
198 }198 }
199 199
200-var xToggleSetName func(uintptr, string)200+var xToggleSetName func(uintptr, uintptr)
201 201
202 // Sets the name of @self to @name.202 // Sets the name of @self to @name.
203 //203 //
204 // Allows accessing @self by its name instead of index.204 // Allows accessing @self by its name instead of index.
205 //205 //
206 // See [property@ToggleGroup:active-name].206 // See [property@ToggleGroup:active-name].
207-func (x *Toggle) SetName(NameVar string) {207+func (x *Toggle) SetName(NameVar *string) {
208 208
209- xToggleSetName(x.GoPointer(), NameVar)209+ xToggleSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))
210 210
211 }211 }
212 212
@@ -268,7 +268,7 @@ func (x *Toggle) GetPropertyEnabled() bool {
268 func (x *Toggle) SetPropertyIconName(value string) {268 func (x *Toggle) SetPropertyIconName(value string) {
269 var v gobject.Value269 var v gobject.Value
270 v.Init(gobject.TypeStringVal)270 v.Init(gobject.TypeStringVal)
271- v.SetString(value)271+ v.SetString(&value)
272 x.SetProperty("icon-name", &v)272 x.SetProperty("icon-name", &v)
273 }273 }
274 274
@@ -292,7 +292,7 @@ func (x *Toggle) GetPropertyIconName() string {
292 func (x *Toggle) SetPropertyLabel(value string) {292 func (x *Toggle) SetPropertyLabel(value string) {
293 var v gobject.Value293 var v gobject.Value
294 v.Init(gobject.TypeStringVal)294 v.Init(gobject.TypeStringVal)
295- v.SetString(value)295+ v.SetString(&value)
296 x.SetProperty("label", &v)296 x.SetProperty("label", &v)
297 }297 }
298 298
@@ -317,7 +317,7 @@ func (x *Toggle) GetPropertyLabel() string {
317 func (x *Toggle) SetPropertyName(value string) {317 func (x *Toggle) SetPropertyName(value string) {
318 var v gobject.Value318 var v gobject.Value
319 v.Init(gobject.TypeStringVal)319 v.Init(gobject.TypeStringVal)
320- v.SetString(value)320+ v.SetString(&value)
321 x.SetProperty("name", &v)321 x.SetProperty("name", &v)
322 }322 }
323 323
@@ -340,7 +340,7 @@ func (x *Toggle) GetPropertyName() string {
340 func (x *Toggle) SetPropertyTooltip(value string) {340 func (x *Toggle) SetPropertyTooltip(value string) {
341 var v gobject.Value341 var v gobject.Value
342 v.Init(gobject.TypeStringVal)342 v.Init(gobject.TypeStringVal)
343- v.SetString(value)343+ v.SetString(&value)
344 x.SetProperty("tooltip", &v)344 x.SetProperty("tooltip", &v)
345 }345 }
346 346
@@ -659,16 +659,16 @@ func (x *ToggleGroup) SetActive(ActiveVar uint) {
659 659
660 }660 }
661 661
662-var xToggleGroupSetActiveName func(uintptr, string)662+var xToggleGroupSetActiveName func(uintptr, uintptr)
663 663
664 // Sets the active toggle for @self.664 // Sets the active toggle for @self.
665 //665 //
666 // The name can be set via [property@Toggle:name].666 // The name can be set via [property@Toggle:name].
667 //667 //
668 // If @name is `NULL`, unset the current active toggle instead.668 // If @name is `NULL`, unset the current active toggle instead.
669-func (x *ToggleGroup) SetActiveName(NameVar string) {669+func (x *ToggleGroup) SetActiveName(NameVar *string) {
670 670
671- xToggleGroupSetActiveName(x.GoPointer(), NameVar)671+ xToggleGroupSetActiveName(x.GoPointer(), core.NullableStringToPtr(NameVar))
672 672
673 }673 }
674 674
@@ -745,7 +745,7 @@ func (x *ToggleGroup) GetPropertyActive() uint {
745 func (x *ToggleGroup) SetPropertyActiveName(value string) {745 func (x *ToggleGroup) SetPropertyActiveName(value string) {
746 var v gobject.Value746 var v gobject.Value
747 v.Init(gobject.TypeStringVal)747 v.Init(gobject.TypeStringVal)
748- v.SetString(value)748+ v.SetString(&value)
749 x.SetProperty("active-name", &v)749 x.SetProperty("active-name", &v)
750 }750 }
751 751
M v4/adw/adw-view-stack.go +22 -22
@@ -151,15 +151,15 @@ func (x *ViewStack) Add(ChildVar *gtk.Widget) *ViewStackPage {
151 return cls151 return cls
152 }152 }
153 153
154-var xViewStackAddNamed func(uintptr, uintptr, string) uintptr154+var xViewStackAddNamed func(uintptr, uintptr, uintptr) uintptr
155 155
156 // Adds a child to @self.156 // Adds a child to @self.
157 //157 //
158 // The child is identified by the @name.158 // The child is identified by the @name.
159-func (x *ViewStack) AddNamed(ChildVar *gtk.Widget, NameVar string) *ViewStackPage {159+func (x *ViewStack) AddNamed(ChildVar *gtk.Widget, NameVar *string) *ViewStackPage {
160 var cls *ViewStackPage160 var cls *ViewStackPage
161 161
162- cret := xViewStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), NameVar)162+ cret := xViewStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar))
163 163
164 if cret == 0 {164 if cret == 0 {
165 return nil165 return nil
@@ -170,16 +170,16 @@ func (x *ViewStack) AddNamed(ChildVar *gtk.Widget, NameVar string) *ViewStackPag
170 return cls170 return cls
171 }171 }
172 172
173-var xViewStackAddTitled func(uintptr, uintptr, string, string) uintptr173+var xViewStackAddTitled func(uintptr, uintptr, uintptr, string) uintptr
174 174
175 // Adds a child to @self.175 // Adds a child to @self.
176 //176 //
177 // The child is identified by the @name. The @title will be used by177 // The child is identified by the @name. The @title will be used by
178 // [class@ViewSwitcher] to represent @child, so it should be short.178 // [class@ViewSwitcher] to represent @child, so it should be short.
179-func (x *ViewStack) AddTitled(ChildVar *gtk.Widget, NameVar string, TitleVar string) *ViewStackPage {179+func (x *ViewStack) AddTitled(ChildVar *gtk.Widget, NameVar *string, TitleVar string) *ViewStackPage {
180 var cls *ViewStackPage180 var cls *ViewStackPage
181 181
182- cret := xViewStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), NameVar, TitleVar)182+ cret := xViewStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar), TitleVar)
183 183
184 if cret == 0 {184 if cret == 0 {
185 return nil185 return nil
@@ -190,16 +190,16 @@ func (x *ViewStack) AddTitled(ChildVar *gtk.Widget, NameVar string, TitleVar str
190 return cls190 return cls
191 }191 }
192 192
193-var xViewStackAddTitledWithIcon func(uintptr, uintptr, string, string, string) uintptr193+var xViewStackAddTitledWithIcon func(uintptr, uintptr, uintptr, string, string) uintptr
194 194
195 // Adds a child to @self.195 // Adds a child to @self.
196 //196 //
197 // The child is identified by the @name. The @title and @icon_name will be used197 // The child is identified by the @name. The @title and @icon_name will be used
198 // by [class@ViewSwitcher] to represent @child.198 // by [class@ViewSwitcher] to represent @child.
199-func (x *ViewStack) AddTitledWithIcon(ChildVar *gtk.Widget, NameVar string, TitleVar string, IconNameVar string) *ViewStackPage {199+func (x *ViewStack) AddTitledWithIcon(ChildVar *gtk.Widget, NameVar *string, TitleVar string, IconNameVar string) *ViewStackPage {
200 var cls *ViewStackPage200 var cls *ViewStackPage
201 201
202- cret := xViewStackAddTitledWithIcon(x.GoPointer(), ChildVar.GoPointer(), NameVar, TitleVar, IconNameVar)202+ cret := xViewStackAddTitledWithIcon(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar), TitleVar, IconNameVar)
203 203
204 if cret == 0 {204 if cret == 0 {
205 return nil205 return nil
@@ -556,7 +556,7 @@ func (x *ViewStack) GetPropertyVhomogeneous() bool {
556 func (x *ViewStack) SetPropertyVisibleChildName(value string) {556 func (x *ViewStack) SetPropertyVisibleChildName(value string) {
557 var v gobject.Value557 var v gobject.Value
558 v.Init(gobject.TypeStringVal)558 v.Init(gobject.TypeStringVal)
559- v.SetString(value)559+ v.SetString(&value)
560 x.SetProperty("visible-child-name", &v)560 x.SetProperty("visible-child-name", &v)
561 }561 }
562 562
@@ -962,21 +962,21 @@ func (x *ViewStackPage) SetBadgeNumber(BadgeNumberVar uint) {
962 962
963 }963 }
964 964
965-var xViewStackPageSetIconName func(uintptr, string)965+var xViewStackPageSetIconName func(uintptr, uintptr)
966 966
967 // Sets the icon name of the page.967 // Sets the icon name of the page.
968-func (x *ViewStackPage) SetIconName(IconNameVar string) {968+func (x *ViewStackPage) SetIconName(IconNameVar *string) {
969 969
970- xViewStackPageSetIconName(x.GoPointer(), IconNameVar)970+ xViewStackPageSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
971 971
972 }972 }
973 973
974-var xViewStackPageSetName func(uintptr, string)974+var xViewStackPageSetName func(uintptr, uintptr)
975 975
976 // Sets the name of the page.976 // Sets the name of the page.
977-func (x *ViewStackPage) SetName(NameVar string) {977+func (x *ViewStackPage) SetName(NameVar *string) {
978 978
979- xViewStackPageSetName(x.GoPointer(), NameVar)979+ xViewStackPageSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))
980 980
981 }981 }
982 982
@@ -991,12 +991,12 @@ func (x *ViewStackPage) SetNeedsAttention(NeedsAttentionVar bool) {
991 991
992 }992 }
993 993
994-var xViewStackPageSetTitle func(uintptr, string)994+var xViewStackPageSetTitle func(uintptr, uintptr)
995 995
996 // Sets the page title.996 // Sets the page title.
997-func (x *ViewStackPage) SetTitle(TitleVar string) {997+func (x *ViewStackPage) SetTitle(TitleVar *string) {
998 998
999- xViewStackPageSetTitle(x.GoPointer(), TitleVar)999+ xViewStackPageSetTitle(x.GoPointer(), core.NullableStringToPtr(TitleVar))
1000 1000
1001 }1001 }
1002 1002
@@ -1064,7 +1064,7 @@ func (x *ViewStackPage) GetPropertyBadgeNumber() uint {
1064 func (x *ViewStackPage) SetPropertyIconName(value string) {1064 func (x *ViewStackPage) SetPropertyIconName(value string) {
1065 var v gobject.Value1065 var v gobject.Value
1066 v.Init(gobject.TypeStringVal)1066 v.Init(gobject.TypeStringVal)
1067- v.SetString(value)1067+ v.SetString(&value)
1068 x.SetProperty("icon-name", &v)1068 x.SetProperty("icon-name", &v)
1069 }1069 }
1070 1070
@@ -1081,7 +1081,7 @@ func (x *ViewStackPage) GetPropertyIconName() string {
1081 func (x *ViewStackPage) SetPropertyName(value string) {1081 func (x *ViewStackPage) SetPropertyName(value string) {
1082 var v gobject.Value1082 var v gobject.Value
1083 v.Init(gobject.TypeStringVal)1083 v.Init(gobject.TypeStringVal)
1084- v.SetString(value)1084+ v.SetString(&value)
1085 x.SetProperty("name", &v)1085 x.SetProperty("name", &v)
1086 }1086 }
1087 1087
@@ -1119,7 +1119,7 @@ func (x *ViewStackPage) GetPropertyNeedsAttention() bool {
1119 func (x *ViewStackPage) SetPropertyTitle(value string) {1119 func (x *ViewStackPage) SetPropertyTitle(value string) {
1120 var v gobject.Value1120 var v gobject.Value
1121 v.Init(gobject.TypeStringVal)1121 v.Init(gobject.TypeStringVal)
1122- v.SetString(value)1122+ v.SetString(&value)
1123 x.SetProperty("title", &v)1123 x.SetProperty("title", &v)
1124 }1124 }
1125 1125
M v4/adw/adw-view-switcher-title.go +2 -2
@@ -240,7 +240,7 @@ func (c *ViewSwitcherTitle) SetGoPointer(ptr uintptr) {
240 func (x *ViewSwitcherTitle) SetPropertySubtitle(value string) {240 func (x *ViewSwitcherTitle) SetPropertySubtitle(value string) {
241 var v gobject.Value241 var v gobject.Value
242 v.Init(gobject.TypeStringVal)242 v.Init(gobject.TypeStringVal)
243- v.SetString(value)243+ v.SetString(&value)
244 x.SetProperty("subtitle", &v)244 x.SetProperty("subtitle", &v)
245 }245 }
246 246
@@ -262,7 +262,7 @@ func (x *ViewSwitcherTitle) GetPropertySubtitle() string {
262 func (x *ViewSwitcherTitle) SetPropertyTitle(value string) {262 func (x *ViewSwitcherTitle) SetPropertyTitle(value string) {
263 var v gobject.Value263 var v gobject.Value
264 v.Init(gobject.TypeStringVal)264 v.Init(gobject.TypeStringVal)
265- v.SetString(value)265+ v.SetString(&value)
266 x.SetProperty("title", &v)266 x.SetProperty("title", &v)
267 }267 }
268 268
M v4/adw/adw-window-title.go +2 -2
@@ -129,7 +129,7 @@ func (c *WindowTitle) SetGoPointer(ptr uintptr) {
129 func (x *WindowTitle) SetPropertySubtitle(value string) {129 func (x *WindowTitle) SetPropertySubtitle(value string) {
130 var v gobject.Value130 var v gobject.Value
131 v.Init(gobject.TypeStringVal)131 v.Init(gobject.TypeStringVal)
132- v.SetString(value)132+ v.SetString(&value)
133 x.SetProperty("subtitle", &v)133 x.SetProperty("subtitle", &v)
134 }134 }
135 135
@@ -151,7 +151,7 @@ func (x *WindowTitle) GetPropertySubtitle() string {
151 func (x *WindowTitle) SetPropertyTitle(value string) {151 func (x *WindowTitle) SetPropertyTitle(value string) {
152 var v gobject.Value152 var v gobject.Value
153 v.Init(gobject.TypeStringVal)153 v.Init(gobject.TypeStringVal)
154- v.SetString(value)154+ v.SetString(&value)
155 x.SetProperty("title", &v)155 x.SetProperty("title", &v)
156 }156 }
157 157
M v4/gdk/gdkapplaunchcontext.go +3 -3
@@ -98,7 +98,7 @@ func (x *AppLaunchContext) SetIcon(IconVar gio.Icon) {
98 98
99 }99 }
100 100
101-var xAppLaunchContextSetIconName func(uintptr, string)101+var xAppLaunchContextSetIconName func(uintptr, uintptr)
102 102
103 // Sets the icon for applications that are launched with this context.103 // Sets the icon for applications that are launched with this context.
104 //104 //
@@ -109,9 +109,9 @@ var xAppLaunchContextSetIconName func(uintptr, string)
109 // If neither @icon or @icon_name is set, the icon is taken from either109 // If neither @icon or @icon_name is set, the icon is taken from either
110 // the file that is passed to launched application or from the `GAppInfo`110 // the file that is passed to launched application or from the `GAppInfo`
111 // for the launched application itself.111 // for the launched application itself.
112-func (x *AppLaunchContext) SetIconName(IconNameVar string) {112+func (x *AppLaunchContext) SetIconName(IconNameVar *string) {
113 113
114- xAppLaunchContextSetIconName(x.GoPointer(), IconNameVar)114+ xAppLaunchContextSetIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
115 115
116 }116 }
117 117
M v4/gdk/gdkcursor.go +1 -1
@@ -335,7 +335,7 @@ func (x *Cursor) GetPropertyHotspotY() int {
335 func (x *Cursor) SetPropertyName(value string) {335 func (x *Cursor) SetPropertyName(value string) {
336 var v gobject.Value336 var v gobject.Value
337 v.Init(gobject.TypeStringVal)337 v.Init(gobject.TypeStringVal)
338- v.SetString(value)338+ v.SetString(&value)
339 x.SetProperty("name", &v)339 x.SetProperty("name", &v)
340 }340 }
341 341
M v4/gdk/gdkdevice.go +3 -3
@@ -436,7 +436,7 @@ func (x *Device) GetPropertyNAxes() uint {
436 func (x *Device) SetPropertyName(value string) {436 func (x *Device) SetPropertyName(value string) {
437 var v gobject.Value437 var v gobject.Value
438 v.Init(gobject.TypeStringVal)438 v.Init(gobject.TypeStringVal)
439- v.SetString(value)439+ v.SetString(&value)
440 x.SetProperty("name", &v)440 x.SetProperty("name", &v)
441 }441 }
442 442
@@ -488,7 +488,7 @@ func (x *Device) GetPropertyNumTouches() uint {
488 func (x *Device) SetPropertyProductId(value string) {488 func (x *Device) SetPropertyProductId(value string) {
489 var v gobject.Value489 var v gobject.Value
490 v.Init(gobject.TypeStringVal)490 v.Init(gobject.TypeStringVal)
491- v.SetString(value)491+ v.SetString(&value)
492 x.SetProperty("product-id", &v)492 x.SetProperty("product-id", &v)
493 }493 }
494 494
@@ -519,7 +519,7 @@ func (x *Device) GetPropertyScrollLockState() bool {
519 func (x *Device) SetPropertyVendorId(value string) {519 func (x *Device) SetPropertyVendorId(value string) {
520 var v gobject.Value520 var v gobject.Value
521 v.Init(gobject.TypeStringVal)521 v.Init(gobject.TypeStringVal)
522- v.SetString(value)522+ v.SetString(&value)
523 x.SetProperty("vendor-id", &v)523 x.SetProperty("vendor-id", &v)
524 }524 }
525 525
M v4/gdk/gdkdisplay.go +3 -3
@@ -670,15 +670,15 @@ func DisplayGetDefault() *Display {
670 return cls670 return cls
671 }671 }
672 672
673-var xDisplayOpen func(string) uintptr673+var xDisplayOpen func(uintptr) uintptr
674 674
675 // Opens a display.675 // Opens a display.
676 //676 //
677 // If opening the display fails, `NULL` is returned.677 // If opening the display fails, `NULL` is returned.
678-func DisplayOpen(DisplayNameVar string) *Display {678+func DisplayOpen(DisplayNameVar *string) *Display {
679 var cls *Display679 var cls *Display
680 680
681- cret := xDisplayOpen(DisplayNameVar)681+ cret := xDisplayOpen(core.NullableStringToPtr(DisplayNameVar))
682 682
683 if cret == 0 {683 if cret == 0 {
684 return nil684 return nil
M v4/gdk/gdkdisplaymanager.go +3 -3
@@ -143,13 +143,13 @@ func (x *DisplayManager) ListDisplays() *glib.SList {
143 return cret143 return cret
144 }144 }
145 145
146-var xDisplayManagerOpenDisplay func(uintptr, string) uintptr146+var xDisplayManagerOpenDisplay func(uintptr, uintptr) uintptr
147 147
148 // Opens a display.148 // Opens a display.
149-func (x *DisplayManager) OpenDisplay(NameVar string) *Display {149+func (x *DisplayManager) OpenDisplay(NameVar *string) *Display {
150 var cls *Display150 var cls *Display
151 151
152- cret := xDisplayManagerOpenDisplay(x.GoPointer(), NameVar)152+ cret := xDisplayManagerOpenDisplay(x.GoPointer(), core.NullableStringToPtr(NameVar))
153 153
154 if cret == 0 {154 if cret == 0 {
155 return nil155 return nil
M v4/gdk/gdktoplevel.go +2 -2
@@ -423,7 +423,7 @@ func (x *ToplevelBase) SetPropertyStartupId(value string) {
423 obj.Ptr = x.GoPointer()423 obj.Ptr = x.GoPointer()
424 var v gobject.Value424 var v gobject.Value
425 v.Init(gobject.TypeStringVal)425 v.Init(gobject.TypeStringVal)
426- v.SetString(value)426+ v.SetString(&value)
427 obj.SetProperty("startup-id", &v)427 obj.SetProperty("startup-id", &v)
428 }428 }
429 429
@@ -447,7 +447,7 @@ func (x *ToplevelBase) SetPropertyTitle(value string) {
447 obj.Ptr = x.GoPointer()447 obj.Ptr = x.GoPointer()
448 var v gobject.Value448 var v gobject.Value
449 v.Init(gobject.TypeStringVal)449 v.Init(gobject.TypeStringVal)
450- v.SetString(value)450+ v.SetString(&value)
451 obj.SetProperty("title", &v)451 obj.SetProperty("title", &v)
452 }452 }
453 453
M v4/gio/gappinfo.go +3 -3
@@ -1435,7 +1435,7 @@ var XGAppInfoShouldShow func(uintptr) bool
1435 var XGAppInfoSupportsFiles func(uintptr) bool1435 var XGAppInfoSupportsFiles func(uintptr) bool
1436 var XGAppInfoSupportsUris func(uintptr) bool1436 var XGAppInfoSupportsUris func(uintptr) bool
1437 1437
1438-var xAppInfoCreateFromCommandline func(string, string, AppInfoCreateFlags, **glib.Error) uintptr1438+var xAppInfoCreateFromCommandline func(string, uintptr, AppInfoCreateFlags, **glib.Error) uintptr
1439 1439
1440 // Creates a new [iface@Gio.AppInfo] from the given information.1440 // Creates a new [iface@Gio.AppInfo] from the given information.
1441 //1441 //
@@ -1446,11 +1446,11 @@ var xAppInfoCreateFromCommandline func(string, string, AppInfoCreateFlags, **gli
1446 // being swallowed by `Exec` key unquoting. See1446 // being swallowed by `Exec` key unquoting. See
1447 // [the specification](https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html)1447 // [the specification](https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html)
1448 // for exact quoting rules.1448 // for exact quoting rules.
1449-func AppInfoCreateFromCommandline(CommandlineVar string, ApplicationNameVar string, FlagsVar AppInfoCreateFlags) (*AppInfoBase, error) {1449+func AppInfoCreateFromCommandline(CommandlineVar string, ApplicationNameVar *string, FlagsVar AppInfoCreateFlags) (*AppInfoBase, error) {
1450 var cls *AppInfoBase1450 var cls *AppInfoBase
1451 var cerr *glib.Error1451 var cerr *glib.Error
1452 1452
1453- cret := xAppInfoCreateFromCommandline(CommandlineVar, ApplicationNameVar, FlagsVar, &cerr)1453+ cret := xAppInfoCreateFromCommandline(CommandlineVar, core.NullableStringToPtr(ApplicationNameVar), FlagsVar, &cerr)
1454 1454
1455 if cret == 0 {1455 if cret == 0 {
1456 return nil, cerr1456 return nil, cerr
M v4/gio/gapplication.go +27 -27
@@ -649,7 +649,7 @@ func ApplicationNewFromInternalPtr(ptr uintptr) *Application {
649 return cls649 return cls
650 }650 }
651 651
652-var xNewApplication func(string, ApplicationFlags) uintptr652+var xNewApplication func(uintptr, ApplicationFlags) uintptr
653 653
654 // Creates a new #GApplication instance.654 // Creates a new #GApplication instance.
655 //655 //
@@ -658,10 +658,10 @@ var xNewApplication func(string, ApplicationFlags) uintptr
658 //658 //
659 // If no application ID is given then some features of #GApplication659 // If no application ID is given then some features of #GApplication
660 // (most notably application uniqueness) will be disabled.660 // (most notably application uniqueness) will be disabled.
661-func NewApplication(ApplicationIdVar string, FlagsVar ApplicationFlags) *Application {661+func NewApplication(ApplicationIdVar *string, FlagsVar ApplicationFlags) *Application {
662 var cls *Application662 var cls *Application
663 663
664- cret := xNewApplication(ApplicationIdVar, FlagsVar)664+ cret := xNewApplication(core.NullableStringToPtr(ApplicationIdVar), FlagsVar)
665 665
666 if cret == 0 {666 if cret == 0 {
667 return nil667 return nil
@@ -685,7 +685,7 @@ func (x *Application) Activate() {
685 685
686 }686 }
687 687
688-var xApplicationAddMainOption func(uintptr, string, byte, glib.OptionFlags, glib.OptionArg, string, string)688+var xApplicationAddMainOption func(uintptr, string, byte, glib.OptionFlags, glib.OptionArg, string, uintptr)
689 689
690 // Add an option to be handled by @application.690 // Add an option to be handled by @application.
691 //691 //
@@ -700,9 +700,9 @@ var xApplicationAddMainOption func(uintptr, string, byte, glib.OptionFlags, glib
700 // g_application_add_main_option_entries() for more details.700 // g_application_add_main_option_entries() for more details.
701 //701 //
702 // See #GOptionEntry for more documentation of the arguments.702 // See #GOptionEntry for more documentation of the arguments.
703-func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar string) {703+func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar *string) {
704 704
705- xApplicationAddMainOption(x.GoPointer(), LongNameVar, ShortNameVar, FlagsVar, ArgVar, DescriptionVar, ArgDescriptionVar)705+ xApplicationAddMainOption(x.GoPointer(), LongNameVar, ShortNameVar, FlagsVar, ArgVar, DescriptionVar, core.NullableStringToPtr(ArgDescriptionVar))
706 706
707 }707 }
708 708
@@ -1178,7 +1178,7 @@ func (x *Application) Run(ArgcVar int, ArgvVar []string) int {
1178 return cret1178 return cret
1179 }1179 }
1180 1180
1181-var xApplicationSendNotification func(uintptr, string, uintptr)1181+var xApplicationSendNotification func(uintptr, uintptr, uintptr)
1182 1182
1183 // Sends a notification on behalf of @application to the desktop shell.1183 // Sends a notification on behalf of @application to the desktop shell.
1184 // There is no guarantee that the notification is displayed immediately,1184 // There is no guarantee that the notification is displayed immediately,
@@ -1209,9 +1209,9 @@ var xApplicationSendNotification func(uintptr, string, uintptr)
1209 //1209 //
1210 // It is an error to call this function if @application has no1210 // It is an error to call this function if @application has no
1211 // application ID.1211 // application ID.
1212-func (x *Application) SendNotification(IdVar string, NotificationVar *Notification) {1212+func (x *Application) SendNotification(IdVar *string, NotificationVar *Notification) {
1213 1213
1214- xApplicationSendNotification(x.GoPointer(), IdVar, NotificationVar.GoPointer())1214+ xApplicationSendNotification(x.GoPointer(), core.NullableStringToPtr(IdVar), NotificationVar.GoPointer())
1215 1215
1216 }1216 }
1217 1217
@@ -1225,7 +1225,7 @@ func (x *Application) SetActionGroup(ActionGroupVar ActionGroup) {
1225 1225
1226 }1226 }
1227 1227
1228-var xApplicationSetApplicationId func(uintptr, string)1228+var xApplicationSetApplicationId func(uintptr, uintptr)
1229 1229
1230 // Sets the unique identifier for @application.1230 // Sets the unique identifier for @application.
1231 //1231 //
@@ -1234,9 +1234,9 @@ var xApplicationSetApplicationId func(uintptr, string)
1234 //1234 //
1235 // If non-%NULL, the application id must be valid. See1235 // If non-%NULL, the application id must be valid. See
1236 // g_application_id_is_valid().1236 // g_application_id_is_valid().
1237-func (x *Application) SetApplicationId(ApplicationIdVar string) {1237+func (x *Application) SetApplicationId(ApplicationIdVar *string) {
1238 1238
1239- xApplicationSetApplicationId(x.GoPointer(), ApplicationIdVar)1239+ xApplicationSetApplicationId(x.GoPointer(), core.NullableStringToPtr(ApplicationIdVar))
1240 1240
1241 }1241 }
1242 1242
@@ -1284,18 +1284,18 @@ func (x *Application) SetInactivityTimeout(InactivityTimeoutVar uint) {
1284 1284
1285 }1285 }
1286 1286
1287-var xApplicationSetOptionContextDescription func(uintptr, string)1287+var xApplicationSetOptionContextDescription func(uintptr, uintptr)
1288 1288
1289 // Adds a description to the @application option context.1289 // Adds a description to the @application option context.
1290 //1290 //
1291 // See g_option_context_set_description() for more information.1291 // See g_option_context_set_description() for more information.
1292-func (x *Application) SetOptionContextDescription(DescriptionVar string) {1292+func (x *Application) SetOptionContextDescription(DescriptionVar *string) {
1293 1293
1294- xApplicationSetOptionContextDescription(x.GoPointer(), DescriptionVar)1294+ xApplicationSetOptionContextDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar))
1295 1295
1296 }1296 }
1297 1297
1298-var xApplicationSetOptionContextParameterString func(uintptr, string)1298+var xApplicationSetOptionContextParameterString func(uintptr, uintptr)
1299 1299
1300 // Sets the parameter string to be used by the commandline handling of @application.1300 // Sets the parameter string to be used by the commandline handling of @application.
1301 //1301 //
@@ -1303,24 +1303,24 @@ var xApplicationSetOptionContextParameterString func(uintptr, string)
1303 // when the internal #GOptionContext of @application is created.1303 // when the internal #GOptionContext of @application is created.
1304 //1304 //
1305 // See g_option_context_new() for more information about @parameter_string.1305 // See g_option_context_new() for more information about @parameter_string.
1306-func (x *Application) SetOptionContextParameterString(ParameterStringVar string) {1306+func (x *Application) SetOptionContextParameterString(ParameterStringVar *string) {
1307 1307
1308- xApplicationSetOptionContextParameterString(x.GoPointer(), ParameterStringVar)1308+ xApplicationSetOptionContextParameterString(x.GoPointer(), core.NullableStringToPtr(ParameterStringVar))
1309 1309
1310 }1310 }
1311 1311
1312-var xApplicationSetOptionContextSummary func(uintptr, string)1312+var xApplicationSetOptionContextSummary func(uintptr, uintptr)
1313 1313
1314 // Adds a summary to the @application option context.1314 // Adds a summary to the @application option context.
1315 //1315 //
1316 // See g_option_context_set_summary() for more information.1316 // See g_option_context_set_summary() for more information.
1317-func (x *Application) SetOptionContextSummary(SummaryVar string) {1317+func (x *Application) SetOptionContextSummary(SummaryVar *string) {
1318 1318
1319- xApplicationSetOptionContextSummary(x.GoPointer(), SummaryVar)1319+ xApplicationSetOptionContextSummary(x.GoPointer(), core.NullableStringToPtr(SummaryVar))
1320 1320
1321 }1321 }
1322 1322
1323-var xApplicationSetResourceBasePath func(uintptr, string)1323+var xApplicationSetResourceBasePath func(uintptr, uintptr)
1324 1324
1325 // Sets (or unsets) the base resource path of @application.1325 // Sets (or unsets) the base resource path of @application.
1326 //1326 //
@@ -1355,9 +1355,9 @@ var xApplicationSetResourceBasePath func(uintptr, string)
1355 // this function during the instance initialization. Alternatively, you1355 // this function during the instance initialization. Alternatively, you
1356 // can call this function in the #GApplicationClass.startup virtual function,1356 // can call this function in the #GApplicationClass.startup virtual function,
1357 // before chaining up to the parent implementation.1357 // before chaining up to the parent implementation.
1358-func (x *Application) SetResourceBasePath(ResourcePathVar string) {1358+func (x *Application) SetResourceBasePath(ResourcePathVar *string) {
1359 1359
1360- xApplicationSetResourceBasePath(x.GoPointer(), ResourcePathVar)1360+ xApplicationSetResourceBasePath(x.GoPointer(), core.NullableStringToPtr(ResourcePathVar))
1361 1361
1362 }1362 }
1363 1363
@@ -1437,7 +1437,7 @@ func (c *Application) SetGoPointer(ptr uintptr) {
1437 func (x *Application) SetPropertyApplicationId(value string) {1437 func (x *Application) SetPropertyApplicationId(value string) {
1438 var v gobject.Value1438 var v gobject.Value
1439 v.Init(gobject.TypeStringVal)1439 v.Init(gobject.TypeStringVal)
1440- v.SetString(value)1440+ v.SetString(&value)
1441 x.SetProperty("application-id", &v)1441 x.SetProperty("application-id", &v)
1442 }1442 }
1443 1443
@@ -1496,7 +1496,7 @@ func (x *Application) GetPropertyIsRemote() bool {
1496 func (x *Application) SetPropertyResourceBasePath(value string) {1496 func (x *Application) SetPropertyResourceBasePath(value string) {
1497 var v gobject.Value1497 var v gobject.Value
1498 v.Init(gobject.TypeStringVal)1498 v.Init(gobject.TypeStringVal)
1499- v.SetString(value)1499+ v.SetString(&value)
1500 x.SetProperty("resource-base-path", &v)1500 x.SetProperty("resource-base-path", &v)
1501 }1501 }
1502 1502
@@ -1513,7 +1513,7 @@ func (x *Application) GetPropertyResourceBasePath() string {
1513 func (x *Application) SetPropertyVersion(value string) {1513 func (x *Application) SetPropertyVersion(value string) {
1514 var v gobject.Value1514 var v gobject.Value
1515 v.Init(gobject.TypeStringVal)1515 v.Init(gobject.TypeStringVal)
1516- v.SetString(value)1516+ v.SetString(&value)
1517 x.SetProperty("version", &v)1517 x.SetProperty("version", &v)
1518 }1518 }
1519 1519
M v4/gio/gcharsetconverter.go +2 -2
@@ -104,7 +104,7 @@ func (c *CharsetConverter) SetGoPointer(ptr uintptr) {
104 func (x *CharsetConverter) SetPropertyFromCharset(value string) {104 func (x *CharsetConverter) SetPropertyFromCharset(value string) {
105 var v gobject.Value105 var v gobject.Value
106 v.Init(gobject.TypeStringVal)106 v.Init(gobject.TypeStringVal)
107- v.SetString(value)107+ v.SetString(&value)
108 x.SetProperty("from-charset", &v)108 x.SetProperty("from-charset", &v)
109 }109 }
110 110
@@ -121,7 +121,7 @@ func (x *CharsetConverter) GetPropertyFromCharset() string {
121 func (x *CharsetConverter) SetPropertyToCharset(value string) {121 func (x *CharsetConverter) SetPropertyToCharset(value string) {
122 var v gobject.Value122 var v gobject.Value
123 v.Init(gobject.TypeStringVal)123 v.Init(gobject.TypeStringVal)
124- v.SetString(value)124+ v.SetString(&value)
125 x.SetProperty("to-charset", &v)125 x.SetProperty("to-charset", &v)
126 }126 }
127 127
M v4/gio/gcontenttype.go +3 -3
@@ -108,15 +108,15 @@ func ContentTypeGetSymbolicIcon(TypeVar string) *IconBase {
108 return cls108 return cls
109 }109 }
110 110
111-var xContentTypeGuess func(string, []byte, uint, *bool) string111+var xContentTypeGuess func(uintptr, []byte, uint, *bool) string
112 112
113 // Guesses the content type based on example data. If the function is113 // Guesses the content type based on example data. If the function is
114 // uncertain, @result_uncertain will be set to %TRUE. Either @filename114 // uncertain, @result_uncertain will be set to %TRUE. Either @filename
115 // or @data may be %NULL, in which case the guess will be based solely115 // or @data may be %NULL, in which case the guess will be based solely
116 // on the other argument.116 // on the other argument.
117-func ContentTypeGuess(FilenameVar string, DataVar []byte, DataSizeVar uint, ResultUncertainVar *bool) string {117+func ContentTypeGuess(FilenameVar *string, DataVar []byte, DataSizeVar uint, ResultUncertainVar *bool) string {
118 118
119- cret := xContentTypeGuess(FilenameVar, DataVar, DataSizeVar, ResultUncertainVar)119+ cret := xContentTypeGuess(core.NullableStringToPtr(FilenameVar), DataVar, DataSizeVar, ResultUncertainVar)
120 return cret120 return cret
121 }121 }
122 122
M v4/gio/gdbusactiongroup.go +3 -3
@@ -302,7 +302,7 @@ func (x *DBusActionGroup) ChangeActionStateFull(ActionNameVar string, ValueVar *
302 302
303 }303 }
304 304
305-var xDBusActionGroupGet func(uintptr, string, string) uintptr305+var xDBusActionGroupGet func(uintptr, uintptr, string) uintptr
306 306
307 // Obtains a #GDBusActionGroup for the action group which is exported at307 // Obtains a #GDBusActionGroup for the action group which is exported at
308 // the given @bus_name and @object_path.308 // the given @bus_name and @object_path.
@@ -317,10 +317,10 @@ var xDBusActionGroupGet func(uintptr, string, string) uintptr
317 // already be filled in. The correct thing to do is connect the signals317 // already be filled in. The correct thing to do is connect the signals
318 // for the action group to monitor for changes and then to call318 // for the action group to monitor for changes and then to call
319 // g_action_group_list_actions() to get the initial list.319 // g_action_group_list_actions() to get the initial list.
320-func DBusActionGroupGet(ConnectionVar *DBusConnection, BusNameVar string, ObjectPathVar string) *DBusActionGroup {320+func DBusActionGroupGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusActionGroup {
321 var cls *DBusActionGroup321 var cls *DBusActionGroup
322 322
323- cret := xDBusActionGroupGet(ConnectionVar.GoPointer(), BusNameVar, ObjectPathVar)323+ cret := xDBusActionGroupGet(ConnectionVar.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar)
324 324
325 if cret == 0 {325 if cret == 0 {
326 return nil326 return nil
M v4/gio/gdbusconnection.go +26 -26
@@ -461,7 +461,7 @@ func NewDBusConnectionForAddressSync(AddressVar string, FlagsVar DBusConnectionF
461 461
462 }462 }
463 463
464-var xNewDBusConnectionSync func(uintptr, string, DBusConnectionFlags, uintptr, uintptr, **glib.Error) uintptr464+var xNewDBusConnectionSync func(uintptr, uintptr, DBusConnectionFlags, uintptr, uintptr, **glib.Error) uintptr
465 465
466 // Synchronously sets up a D-Bus connection for exchanging D-Bus messages466 // Synchronously sets up a D-Bus connection for exchanging D-Bus messages
467 // with the end represented by @stream.467 // with the end represented by @stream.
@@ -478,11 +478,11 @@ var xNewDBusConnectionSync func(uintptr, string, DBusConnectionFlags, uintptr, u
478 //478 //
479 // This is a synchronous failable constructor. See479 // This is a synchronous failable constructor. See
480 // g_dbus_connection_new() for the asynchronous version.480 // g_dbus_connection_new() for the asynchronous version.
481-func NewDBusConnectionSync(StreamVar *IOStream, GuidVar string, FlagsVar DBusConnectionFlags, ObserverVar *DBusAuthObserver, CancellableVar *Cancellable) (*DBusConnection, error) {481+func NewDBusConnectionSync(StreamVar *IOStream, GuidVar *string, FlagsVar DBusConnectionFlags, ObserverVar *DBusAuthObserver, CancellableVar *Cancellable) (*DBusConnection, error) {
482 var cls *DBusConnection482 var cls *DBusConnection
483 var cerr *glib.Error483 var cerr *glib.Error
484 484
485- cret := xNewDBusConnectionSync(StreamVar.GoPointer(), GuidVar, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), &cerr)485+ cret := xNewDBusConnectionSync(StreamVar.GoPointer(), core.NullableStringToPtr(GuidVar), FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), &cerr)
486 486
487 if cret == 0 {487 if cret == 0 {
488 return nil, cerr488 return nil, cerr
@@ -561,7 +561,7 @@ func (x *DBusConnection) AddFilter(FilterFunctionVar *DBusMessageFilterFunction,
561 return cret561 return cret
562 }562 }
563 563
564-var xDBusConnectionCall func(uintptr, string, string, string, string, *glib.Variant, *glib.VariantType, DBusCallFlags, int, uintptr, uintptr, uintptr)564+var xDBusConnectionCall func(uintptr, uintptr, string, string, string, *glib.Variant, *glib.VariantType, DBusCallFlags, int, uintptr, uintptr, uintptr)
565 565
566 // Asynchronously invokes the @method_name method on the566 // Asynchronously invokes the @method_name method on the
567 // @interface_name D-Bus interface on the remote object at567 // @interface_name D-Bus interface on the remote object at
@@ -610,7 +610,7 @@ var xDBusConnectionCall func(uintptr, string, string, string, string, *glib.Vari
610 //610 //
611 // If @callback is %NULL then the D-Bus method call message will be sent with611 // If @callback is %NULL then the D-Bus method call message will be sent with
612 // the %G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED flag set.612 // the %G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED flag set.
613-func (x *DBusConnection) Call(BusNameVar string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {613+func (x *DBusConnection) Call(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
614 614
615 var CallbackVarRef uintptr615 var CallbackVarRef uintptr
616 if CallbackVar != nil {616 if CallbackVar != nil {
@@ -627,7 +627,7 @@ func (x *DBusConnection) Call(BusNameVar string, ObjectPathVar string, Interface
627 }627 }
628 }628 }
629 629
630- xDBusConnectionCall(x.GoPointer(), BusNameVar, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)630+ xDBusConnectionCall(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
631 631
632 }632 }
633 633
@@ -645,7 +645,7 @@ func (x *DBusConnection) CallFinish(ResVar AsyncResult) (*glib.Variant, error) {
645 645
646 }646 }
647 647
648-var xDBusConnectionCallSync func(uintptr, string, string, string, string, *glib.Variant, *glib.VariantType, DBusCallFlags, int, uintptr, **glib.Error) *glib.Variant648+var xDBusConnectionCallSync func(uintptr, uintptr, string, string, string, *glib.Variant, *glib.VariantType, DBusCallFlags, int, uintptr, **glib.Error) *glib.Variant
649 649
650 // Synchronously invokes the @method_name method on the650 // Synchronously invokes the @method_name method on the
651 // @interface_name D-Bus interface on the remote object at651 // @interface_name D-Bus interface on the remote object at
@@ -685,10 +685,10 @@ var xDBusConnectionCallSync func(uintptr, string, string, string, string, *glib.
685 // The calling thread is blocked until a reply is received. See685 // The calling thread is blocked until a reply is received. See
686 // g_dbus_connection_call() for the asynchronous version of686 // g_dbus_connection_call() for the asynchronous version of
687 // this method.687 // this method.
688-func (x *DBusConnection) CallSync(BusNameVar string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable) (*glib.Variant, error) {688+func (x *DBusConnection) CallSync(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable) (*glib.Variant, error) {
689 var cerr *glib.Error689 var cerr *glib.Error
690 690
691- cret := xDBusConnectionCallSync(x.GoPointer(), BusNameVar, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)691+ cret := xDBusConnectionCallSync(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr)
692 if cerr == nil {692 if cerr == nil {
693 return cret, nil693 return cret, nil
694 }694 }
@@ -696,7 +696,7 @@ func (x *DBusConnection) CallSync(BusNameVar string, ObjectPathVar string, Inter
696 696
697 }697 }
698 698
699-var xDBusConnectionCallWithUnixFdList func(uintptr, string, string, string, string, *glib.Variant, *glib.VariantType, DBusCallFlags, int, uintptr, uintptr, uintptr, uintptr)699+var xDBusConnectionCallWithUnixFdList func(uintptr, uintptr, string, string, string, *glib.Variant, *glib.VariantType, DBusCallFlags, int, uintptr, uintptr, uintptr, uintptr)
700 700
701 // Like g_dbus_connection_call() but also takes a #GUnixFDList object.701 // Like g_dbus_connection_call() but also takes a #GUnixFDList object.
702 //702 //
@@ -713,7 +713,7 @@ var xDBusConnectionCallWithUnixFdList func(uintptr, string, string, string, stri
713 // value of type %G_VARIANT_TYPE_HANDLE in the body of the message.713 // value of type %G_VARIANT_TYPE_HANDLE in the body of the message.
714 //714 //
715 // This method is only available on UNIX.715 // This method is only available on UNIX.
716-func (x *DBusConnection) CallWithUnixFdList(BusNameVar string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {716+func (x *DBusConnection) CallWithUnixFdList(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
717 717
718 var CallbackVarRef uintptr718 var CallbackVarRef uintptr
719 if CallbackVar != nil {719 if CallbackVar != nil {
@@ -730,7 +730,7 @@ func (x *DBusConnection) CallWithUnixFdList(BusNameVar string, ObjectPathVar str
730 }730 }
731 }731 }
732 732
733- xDBusConnectionCallWithUnixFdList(x.GoPointer(), BusNameVar, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)733+ xDBusConnectionCallWithUnixFdList(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
734 734
735 }735 }
736 736
@@ -759,17 +759,17 @@ func (x *DBusConnection) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, Res
759 759
760 }760 }
761 761
762-var xDBusConnectionCallWithUnixFdListSync func(uintptr, string, string, string, string, *glib.Variant, *glib.VariantType, DBusCallFlags, int, uintptr, **UnixFDList, uintptr, **glib.Error) *glib.Variant762+var xDBusConnectionCallWithUnixFdListSync func(uintptr, uintptr, string, string, string, *glib.Variant, *glib.VariantType, DBusCallFlags, int, uintptr, **UnixFDList, uintptr, **glib.Error) *glib.Variant
763 763
764 // Like g_dbus_connection_call_sync() but also takes and returns #GUnixFDList objects.764 // Like g_dbus_connection_call_sync() but also takes and returns #GUnixFDList objects.
765 // See g_dbus_connection_call_with_unix_fd_list() and765 // See g_dbus_connection_call_with_unix_fd_list() and
766 // g_dbus_connection_call_with_unix_fd_list_finish() for more details.766 // g_dbus_connection_call_with_unix_fd_list_finish() for more details.
767 //767 //
768 // This method is only available on UNIX.768 // This method is only available on UNIX.
769-func (x *DBusConnection) CallWithUnixFdListSync(BusNameVar string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, OutFdListVar **UnixFDList, CancellableVar *Cancellable) (*glib.Variant, error) {769+func (x *DBusConnection) CallWithUnixFdListSync(BusNameVar *string, ObjectPathVar string, InterfaceNameVar string, MethodNameVar string, ParametersVar *glib.Variant, ReplyTypeVar *glib.VariantType, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, OutFdListVar **UnixFDList, CancellableVar *Cancellable) (*glib.Variant, error) {
770 var cerr *glib.Error770 var cerr *glib.Error
771 771
772- cret := xDBusConnectionCallWithUnixFdListSync(x.GoPointer(), BusNameVar, ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)772+ cret := xDBusConnectionCallWithUnixFdListSync(x.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar, InterfaceNameVar, MethodNameVar, ParametersVar, ReplyTypeVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr)
773 if cerr == nil {773 if cerr == nil {
774 return cret, nil774 return cret, nil
775 }775 }
@@ -855,7 +855,7 @@ func (x *DBusConnection) CloseSync(CancellableVar *Cancellable) (bool, error) {
855 855
856 }856 }
857 857
858-var xDBusConnectionEmitSignal func(uintptr, string, string, string, string, *glib.Variant, **glib.Error) bool858+var xDBusConnectionEmitSignal func(uintptr, uintptr, string, string, string, *glib.Variant, **glib.Error) bool
859 859
860 // Emits a signal.860 // Emits a signal.
861 //861 //
@@ -864,10 +864,10 @@ var xDBusConnectionEmitSignal func(uintptr, string, string, string, string, *gli
864 // This can only fail if @parameters is not compatible with the D-Bus protocol864 // This can only fail if @parameters is not compatible with the D-Bus protocol
865 // (%G_IO_ERROR_INVALID_ARGUMENT), or if @connection has been closed865 // (%G_IO_ERROR_INVALID_ARGUMENT), or if @connection has been closed
866 // (%G_IO_ERROR_CLOSED).866 // (%G_IO_ERROR_CLOSED).
867-func (x *DBusConnection) EmitSignal(DestinationBusNameVar string, ObjectPathVar string, InterfaceNameVar string, SignalNameVar string, ParametersVar *glib.Variant) (bool, error) {867+func (x *DBusConnection) EmitSignal(DestinationBusNameVar *string, ObjectPathVar string, InterfaceNameVar string, SignalNameVar string, ParametersVar *glib.Variant) (bool, error) {
868 var cerr *glib.Error868 var cerr *glib.Error
869 869
870- cret := xDBusConnectionEmitSignal(x.GoPointer(), DestinationBusNameVar, ObjectPathVar, InterfaceNameVar, SignalNameVar, ParametersVar, &cerr)870+ cret := xDBusConnectionEmitSignal(x.GoPointer(), core.NullableStringToPtr(DestinationBusNameVar), ObjectPathVar, InterfaceNameVar, SignalNameVar, ParametersVar, &cerr)
871 if cerr == nil {871 if cerr == nil {
872 return cret, nil872 return cret, nil
873 }873 }
@@ -1502,7 +1502,7 @@ func (x *DBusConnection) SetExitOnClose(ExitOnCloseVar bool) {
1502 1502
1503 }1503 }
1504 1504
1505-var xDBusConnectionSignalSubscribe func(uintptr, string, string, string, string, string, DBusSignalFlags, uintptr, uintptr, uintptr) uint1505+var xDBusConnectionSignalSubscribe func(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, DBusSignalFlags, uintptr, uintptr, uintptr) uint
1506 1506
1507 // Subscribes to signals on @connection and invokes @callback whenever1507 // Subscribes to signals on @connection and invokes @callback whenever
1508 // the signal is received. Note that @callback will be invoked in the1508 // the signal is received. Note that @callback will be invoked in the
@@ -1553,7 +1553,7 @@ var xDBusConnectionSignalSubscribe func(uintptr, string, string, string, string,
1553 // to never be zero.1553 // to never be zero.
1554 //1554 //
1555 // This function can never fail.1555 // This function can never fail.
1556-func (x *DBusConnection) SignalSubscribe(SenderVar string, InterfaceNameVar string, MemberVar string, ObjectPathVar string, Arg0Var string, FlagsVar DBusSignalFlags, CallbackVar *DBusSignalCallback, UserDataVar uintptr, UserDataFreeFuncVar *glib.DestroyNotify) uint {1556+func (x *DBusConnection) SignalSubscribe(SenderVar *string, InterfaceNameVar *string, MemberVar *string, ObjectPathVar *string, Arg0Var *string, FlagsVar DBusSignalFlags, CallbackVar *DBusSignalCallback, UserDataVar uintptr, UserDataFreeFuncVar *glib.DestroyNotify) uint {
1557 1557
1558 var CallbackVarRef uintptr1558 var CallbackVarRef uintptr
1559 if CallbackVar != nil {1559 if CallbackVar != nil {
@@ -1585,7 +1585,7 @@ func (x *DBusConnection) SignalSubscribe(SenderVar string, InterfaceNameVar stri
1585 }1585 }
1586 }1586 }
1587 1587
1588- cret := xDBusConnectionSignalSubscribe(x.GoPointer(), SenderVar, InterfaceNameVar, MemberVar, ObjectPathVar, Arg0Var, FlagsVar, CallbackVarRef, UserDataVar, UserDataFreeFuncVarRef)1588+ cret := xDBusConnectionSignalSubscribe(x.GoPointer(), core.NullableStringToPtr(SenderVar), core.NullableStringToPtr(InterfaceNameVar), core.NullableStringToPtr(MemberVar), core.NullableStringToPtr(ObjectPathVar), core.NullableStringToPtr(Arg0Var), FlagsVar, CallbackVarRef, UserDataVar, UserDataFreeFuncVarRef)
1589 return cret1589 return cret
1590 }1590 }
1591 1591
@@ -1684,7 +1684,7 @@ func (c *DBusConnection) SetGoPointer(ptr uintptr) {
1684 func (x *DBusConnection) SetPropertyAddress(value string) {1684 func (x *DBusConnection) SetPropertyAddress(value string) {
1685 var v gobject.Value1685 var v gobject.Value
1686 v.Init(gobject.TypeStringVal)1686 v.Init(gobject.TypeStringVal)
1687- v.SetString(value)1687+ v.SetString(&value)
1688 x.SetProperty("address", &v)1688 x.SetProperty("address", &v)
1689 }1689 }
1690 1690
@@ -1749,7 +1749,7 @@ func (x *DBusConnection) GetPropertyExitOnClose() bool {
1749 func (x *DBusConnection) SetPropertyGuid(value string) {1749 func (x *DBusConnection) SetPropertyGuid(value string) {
1750 var v gobject.Value1750 var v gobject.Value
1751 v.Init(gobject.TypeStringVal)1751 v.Init(gobject.TypeStringVal)
1752- v.SetString(value)1752+ v.SetString(&value)
1753 x.SetProperty("guid", &v)1753 x.SetProperty("guid", &v)
1754 }1754 }
1755 1755
@@ -1950,7 +1950,7 @@ func (x *DBusConnection) Init(CancellableVar *Cancellable) (bool, error) {
1950 1950
1951 }1951 }
1952 1952
1953-var xDBusConnectionNew func(uintptr, string, DBusConnectionFlags, uintptr, uintptr, uintptr, uintptr)1953+var xDBusConnectionNew func(uintptr, uintptr, DBusConnectionFlags, uintptr, uintptr, uintptr, uintptr)
1954 1954
1955 // Asynchronously sets up a D-Bus connection for exchanging D-Bus messages1955 // Asynchronously sets up a D-Bus connection for exchanging D-Bus messages
1956 // with the end represented by @stream.1956 // with the end represented by @stream.
@@ -1972,7 +1972,7 @@ var xDBusConnectionNew func(uintptr, string, DBusConnectionFlags, uintptr, uintp
1972 // This is an asynchronous failable constructor. See1972 // This is an asynchronous failable constructor. See
1973 // g_dbus_connection_new_sync() for the synchronous1973 // g_dbus_connection_new_sync() for the synchronous
1974 // version.1974 // version.
1975-func DBusConnectionNew(StreamVar *IOStream, GuidVar string, FlagsVar DBusConnectionFlags, ObserverVar *DBusAuthObserver, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {1975+func DBusConnectionNew(StreamVar *IOStream, GuidVar *string, FlagsVar DBusConnectionFlags, ObserverVar *DBusAuthObserver, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
1976 1976
1977 var CallbackVarRef uintptr1977 var CallbackVarRef uintptr
1978 if CallbackVar != nil {1978 if CallbackVar != nil {
@@ -1989,7 +1989,7 @@ func DBusConnectionNew(StreamVar *IOStream, GuidVar string, FlagsVar DBusConnect
1989 }1989 }
1990 }1990 }
1991 1991
1992- xDBusConnectionNew(StreamVar.GoPointer(), GuidVar, FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)1992+ xDBusConnectionNew(StreamVar.GoPointer(), core.NullableStringToPtr(GuidVar), FlagsVar, ObserverVar.GoPointer(), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
1993 1993
1994 }1994 }
1995 1995
M v4/gio/gdbusmenumodel.go +3 -3
@@ -37,7 +37,7 @@ func (c *DBusMenuModel) SetGoPointer(ptr uintptr) {
37 c.Ptr = ptr37 c.Ptr = ptr
38 }38 }
39 39
40-var xDBusMenuModelGet func(uintptr, string, string) uintptr40+var xDBusMenuModelGet func(uintptr, uintptr, string) uintptr
41 41
42 // Obtains a #GDBusMenuModel for the menu model which is exported42 // Obtains a #GDBusMenuModel for the menu model which is exported
43 // at the given @bus_name and @object_path.43 // at the given @bus_name and @object_path.
@@ -47,10 +47,10 @@ var xDBusMenuModelGet func(uintptr, string, string) uintptr
47 // with respect to this context. All calls on the returned menu model47 // with respect to this context. All calls on the returned menu model
48 // (and linked models) must also originate from this same context, with48 // (and linked models) must also originate from this same context, with
49 // the thread default main context unchanged.49 // the thread default main context unchanged.
50-func DBusMenuModelGet(ConnectionVar *DBusConnection, BusNameVar string, ObjectPathVar string) *DBusMenuModel {50+func DBusMenuModelGet(ConnectionVar *DBusConnection, BusNameVar *string, ObjectPathVar string) *DBusMenuModel {
51 var cls *DBusMenuModel51 var cls *DBusMenuModel
52 52
53- cret := xDBusMenuModelGet(ConnectionVar.GoPointer(), BusNameVar, ObjectPathVar)53+ cret := xDBusMenuModelGet(ConnectionVar.GoPointer(), core.NullableStringToPtr(BusNameVar), ObjectPathVar)
54 54
55 if cret == 0 {55 if cret == 0 {
56 return nil56 return nil
M v4/gio/gdbusmessage.go +21 -21
@@ -69,13 +69,13 @@ func NewDBusMessageFromBlob(BlobVar []byte, BlobLenVar uint, CapabilitiesVar DBu
69 69
70 }70 }
71 71
72-var xNewDBusMessageMethodCall func(string, string, string, string) uintptr72+var xNewDBusMessageMethodCall func(uintptr, string, uintptr, string) uintptr
73 73
74 // Creates a new #GDBusMessage for a method call.74 // Creates a new #GDBusMessage for a method call.
75-func NewDBusMessageMethodCall(NameVar string, PathVar string, InterfaceVar string, MethodVar string) *DBusMessage {75+func NewDBusMessageMethodCall(NameVar *string, PathVar string, InterfaceVar *string, MethodVar string) *DBusMessage {
76 var cls *DBusMessage76 var cls *DBusMessage
77 77
78- cret := xNewDBusMessageMethodCall(NameVar, PathVar, InterfaceVar, MethodVar)78+ cret := xNewDBusMessageMethodCall(core.NullableStringToPtr(NameVar), PathVar, core.NullableStringToPtr(InterfaceVar), MethodVar)
79 79
80 if cret == 0 {80 if cret == 0 {
81 return nil81 return nil
@@ -478,12 +478,12 @@ func (x *DBusMessage) SetByteOrder(ByteOrderVar DBusMessageByteOrder) {
478 478
479 }479 }
480 480
481-var xDBusMessageSetDestination func(uintptr, string)481+var xDBusMessageSetDestination func(uintptr, uintptr)
482 482
483 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION header field.483 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION header field.
484-func (x *DBusMessage) SetDestination(ValueVar string) {484+func (x *DBusMessage) SetDestination(ValueVar *string) {
485 485
486- xDBusMessageSetDestination(x.GoPointer(), ValueVar)486+ xDBusMessageSetDestination(x.GoPointer(), core.NullableStringToPtr(ValueVar))
487 487
488 }488 }
489 489
@@ -516,21 +516,21 @@ func (x *DBusMessage) SetHeader(HeaderFieldVar DBusMessageHeaderField, ValueVar
516 516
517 }517 }
518 518
519-var xDBusMessageSetInterface func(uintptr, string)519+var xDBusMessageSetInterface func(uintptr, uintptr)
520 520
521 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE header field.521 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE header field.
522-func (x *DBusMessage) SetInterface(ValueVar string) {522+func (x *DBusMessage) SetInterface(ValueVar *string) {
523 523
524- xDBusMessageSetInterface(x.GoPointer(), ValueVar)524+ xDBusMessageSetInterface(x.GoPointer(), core.NullableStringToPtr(ValueVar))
525 525
526 }526 }
527 527
528-var xDBusMessageSetMember func(uintptr, string)528+var xDBusMessageSetMember func(uintptr, uintptr)
529 529
530 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_MEMBER header field.530 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_MEMBER header field.
531-func (x *DBusMessage) SetMember(ValueVar string) {531+func (x *DBusMessage) SetMember(ValueVar *string) {
532 532
533- xDBusMessageSetMember(x.GoPointer(), ValueVar)533+ xDBusMessageSetMember(x.GoPointer(), core.NullableStringToPtr(ValueVar))
534 534
535 }535 }
536 536
@@ -552,12 +552,12 @@ func (x *DBusMessage) SetNumUnixFds(ValueVar uint32) {
552 552
553 }553 }
554 554
555-var xDBusMessageSetPath func(uintptr, string)555+var xDBusMessageSetPath func(uintptr, uintptr)
556 556
557 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_PATH header field.557 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_PATH header field.
558-func (x *DBusMessage) SetPath(ValueVar string) {558+func (x *DBusMessage) SetPath(ValueVar *string) {
559 559
560- xDBusMessageSetPath(x.GoPointer(), ValueVar)560+ xDBusMessageSetPath(x.GoPointer(), core.NullableStringToPtr(ValueVar))
561 561
562 }562 }
563 563
@@ -570,12 +570,12 @@ func (x *DBusMessage) SetReplySerial(ValueVar uint32) {
570 570
571 }571 }
572 572
573-var xDBusMessageSetSender func(uintptr, string)573+var xDBusMessageSetSender func(uintptr, uintptr)
574 574
575 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SENDER header field.575 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SENDER header field.
576-func (x *DBusMessage) SetSender(ValueVar string) {576+func (x *DBusMessage) SetSender(ValueVar *string) {
577 577
578- xDBusMessageSetSender(x.GoPointer(), ValueVar)578+ xDBusMessageSetSender(x.GoPointer(), core.NullableStringToPtr(ValueVar))
579 579
580 }580 }
581 581
@@ -591,12 +591,12 @@ func (x *DBusMessage) SetSerial(SerialVar uint32) {
591 591
592 }592 }
593 593
594-var xDBusMessageSetSignature func(uintptr, string)594+var xDBusMessageSetSignature func(uintptr, uintptr)
595 595
596 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE header field.596 // Convenience setter for the %G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE header field.
597-func (x *DBusMessage) SetSignature(ValueVar string) {597+func (x *DBusMessage) SetSignature(ValueVar *string) {
598 598
599- xDBusMessageSetSignature(x.GoPointer(), ValueVar)599+ xDBusMessageSetSignature(x.GoPointer(), core.NullableStringToPtr(ValueVar))
600 600
601 }601 }
602 602
M v4/gio/gdbusobjectmanagerclient.go +5 -5
@@ -279,14 +279,14 @@ func NewDBusObjectManagerClientForBusSync(BusTypeVar BusType, FlagsVar DBusObjec
279 279
280 }280 }
281 281
282-var xNewDBusObjectManagerClientSync func(uintptr, DBusObjectManagerClientFlags, string, string, uintptr, uintptr, uintptr, uintptr, **glib.Error) uintptr282+var xNewDBusObjectManagerClientSync func(uintptr, DBusObjectManagerClientFlags, uintptr, string, uintptr, uintptr, uintptr, uintptr, **glib.Error) uintptr
283 283
284 // Creates a new #GDBusObjectManagerClient object.284 // Creates a new #GDBusObjectManagerClient object.
285 //285 //
286 // This is a synchronous failable constructor - the calling thread is286 // This is a synchronous failable constructor - the calling thread is
287 // blocked until a reply is received. See g_dbus_object_manager_client_new()287 // blocked until a reply is received. See g_dbus_object_manager_client_new()
288 // for the asynchronous version.288 // for the asynchronous version.
289-func NewDBusObjectManagerClientSync(ConnectionVar *DBusConnection, FlagsVar DBusObjectManagerClientFlags, NameVar string, ObjectPathVar string, GetProxyTypeFuncVar *DBusProxyTypeFunc, GetProxyTypeUserDataVar uintptr, GetProxyTypeDestroyNotifyVar *glib.DestroyNotify, CancellableVar *Cancellable) (*DBusObjectManagerClient, error) {289+func NewDBusObjectManagerClientSync(ConnectionVar *DBusConnection, FlagsVar DBusObjectManagerClientFlags, NameVar *string, ObjectPathVar string, GetProxyTypeFuncVar *DBusProxyTypeFunc, GetProxyTypeUserDataVar uintptr, GetProxyTypeDestroyNotifyVar *glib.DestroyNotify, CancellableVar *Cancellable) (*DBusObjectManagerClient, error) {
290 var cls *DBusObjectManagerClient290 var cls *DBusObjectManagerClient
291 var cerr *glib.Error291 var cerr *glib.Error
292 292
@@ -320,7 +320,7 @@ func NewDBusObjectManagerClientSync(ConnectionVar *DBusConnection, FlagsVar DBus
320 }320 }
321 }321 }
322 322
323- cret := xNewDBusObjectManagerClientSync(ConnectionVar.GoPointer(), FlagsVar, NameVar, ObjectPathVar, GetProxyTypeFuncVarRef, GetProxyTypeUserDataVar, GetProxyTypeDestroyNotifyVarRef, CancellableVar.GoPointer(), &cerr)323+ cret := xNewDBusObjectManagerClientSync(ConnectionVar.GoPointer(), FlagsVar, core.NullableStringToPtr(NameVar), ObjectPathVar, GetProxyTypeFuncVarRef, GetProxyTypeUserDataVar, GetProxyTypeDestroyNotifyVarRef, CancellableVar.GoPointer(), &cerr)
324 324
325 if cret == 0 {325 if cret == 0 {
326 return nil, cerr326 return nil, cerr
@@ -451,7 +451,7 @@ func (x *DBusObjectManagerClient) GetPropertyGetProxyTypeUserData() uintptr {
451 func (x *DBusObjectManagerClient) SetPropertyName(value string) {451 func (x *DBusObjectManagerClient) SetPropertyName(value string) {
452 var v gobject.Value452 var v gobject.Value
453 v.Init(gobject.TypeStringVal)453 v.Init(gobject.TypeStringVal)
454- v.SetString(value)454+ v.SetString(&value)
455 x.SetProperty("name", &v)455 x.SetProperty("name", &v)
456 }456 }
457 457
@@ -478,7 +478,7 @@ func (x *DBusObjectManagerClient) GetPropertyNameOwner() string {
478 func (x *DBusObjectManagerClient) SetPropertyObjectPath(value string) {478 func (x *DBusObjectManagerClient) SetPropertyObjectPath(value string) {
479 var v gobject.Value479 var v gobject.Value
480 v.Init(gobject.TypeStringVal)480 v.Init(gobject.TypeStringVal)
481- v.SetString(value)481+ v.SetString(&value)
482 x.SetProperty("object-path", &v)482 x.SetProperty("object-path", &v)
483 }483 }
484 484
M v4/gio/gdbusobjectmanagerserver.go +1 -1
@@ -186,7 +186,7 @@ func (c *DBusObjectManagerServer) SetGoPointer(ptr uintptr) {
186 func (x *DBusObjectManagerServer) SetPropertyObjectPath(value string) {186 func (x *DBusObjectManagerServer) SetPropertyObjectPath(value string) {
187 var v gobject.Value187 var v gobject.Value
188 v.Init(gobject.TypeStringVal)188 v.Init(gobject.TypeStringVal)
189- v.SetString(value)189+ v.SetString(&value)
190 x.SetProperty("object-path", &v)190 x.SetProperty("object-path", &v)
191 }191 }
192 192
M v4/gio/gdbusobjectproxy.go +1 -1
@@ -103,7 +103,7 @@ func (c *DBusObjectProxy) SetGoPointer(ptr uintptr) {
103 func (x *DBusObjectProxy) SetPropertyGObjectPath(value string) {103 func (x *DBusObjectProxy) SetPropertyGObjectPath(value string) {
104 var v gobject.Value104 var v gobject.Value
105 v.Init(gobject.TypeStringVal)105 v.Init(gobject.TypeStringVal)
106- v.SetString(value)106+ v.SetString(&value)
107 x.SetProperty("g-object-path", &v)107 x.SetProperty("g-object-path", &v)
108 }108 }
109 109
M v4/gio/gdbusobjectskeleton.go +1 -1
@@ -169,7 +169,7 @@ func (c *DBusObjectSkeleton) SetGoPointer(ptr uintptr) {
169 func (x *DBusObjectSkeleton) SetPropertyGObjectPath(value string) {169 func (x *DBusObjectSkeleton) SetPropertyGObjectPath(value string) {
170 var v gobject.Value170 var v gobject.Value
171 v.Init(gobject.TypeStringVal)171 v.Init(gobject.TypeStringVal)
172- v.SetString(value)172+ v.SetString(&value)
173 x.SetProperty("g-object-path", &v)173 x.SetProperty("g-object-path", &v)
174 }174 }
175 175
M v4/gio/gdbusproxy.go +9 -9
@@ -215,7 +215,7 @@ func NewDBusProxyForBusSync(BusTypeVar BusType, FlagsVar DBusProxyFlags, InfoVar
215 215
216 }216 }
217 217
218-var xNewDBusProxySync func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, string, string, string, uintptr, **glib.Error) uintptr218+var xNewDBusProxySync func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, uintptr, string, string, uintptr, **glib.Error) uintptr
219 219
220 // Creates a proxy for accessing @interface_name on the remote object220 // Creates a proxy for accessing @interface_name on the remote object
221 // at @object_path owned by @name at @connection and synchronously221 // at @object_path owned by @name at @connection and synchronously
@@ -239,11 +239,11 @@ var xNewDBusProxySync func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, string,
239 // and g_dbus_proxy_new_finish() for the asynchronous version.239 // and g_dbus_proxy_new_finish() for the asynchronous version.
240 //240 //
241 // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example].241 // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example].
242-func NewDBusProxySync(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable) (*DBusProxy, error) {242+func NewDBusProxySync(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar *string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable) (*DBusProxy, error) {
243 var cls *DBusProxy243 var cls *DBusProxy
244 var cerr *glib.Error244 var cerr *glib.Error
245 245
246- cret := xNewDBusProxySync(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVar, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), &cerr)246+ cret := xNewDBusProxySync(ConnectionVar.GoPointer(), FlagsVar, InfoVar, core.NullableStringToPtr(NameVar), ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), &cerr)
247 247
248 if cret == 0 {248 if cret == 0 {
249 return nil, cerr249 return nil, cerr
@@ -738,7 +738,7 @@ func (x *DBusProxy) GetPropertyGInterfaceInfo() uintptr {
738 func (x *DBusProxy) SetPropertyGInterfaceName(value string) {738 func (x *DBusProxy) SetPropertyGInterfaceName(value string) {
739 var v gobject.Value739 var v gobject.Value
740 v.Init(gobject.TypeStringVal)740 v.Init(gobject.TypeStringVal)
741- v.SetString(value)741+ v.SetString(&value)
742 x.SetProperty("g-interface-name", &v)742 x.SetProperty("g-interface-name", &v)
743 }743 }
744 744
@@ -755,7 +755,7 @@ func (x *DBusProxy) GetPropertyGInterfaceName() string {
755 func (x *DBusProxy) SetPropertyGName(value string) {755 func (x *DBusProxy) SetPropertyGName(value string) {
756 var v gobject.Value756 var v gobject.Value
757 v.Init(gobject.TypeStringVal)757 v.Init(gobject.TypeStringVal)
758- v.SetString(value)758+ v.SetString(&value)
759 x.SetProperty("g-name", &v)759 x.SetProperty("g-name", &v)
760 }760 }
761 761
@@ -782,7 +782,7 @@ func (x *DBusProxy) GetPropertyGNameOwner() string {
782 func (x *DBusProxy) SetPropertyGObjectPath(value string) {782 func (x *DBusProxy) SetPropertyGObjectPath(value string) {
783 var v gobject.Value783 var v gobject.Value
784 v.Init(gobject.TypeStringVal)784 v.Init(gobject.TypeStringVal)
785- v.SetString(value)785+ v.SetString(&value)
786 x.SetProperty("g-object-path", &v)786 x.SetProperty("g-object-path", &v)
787 }787 }
788 788
@@ -1023,7 +1023,7 @@ func (x *DBusProxy) Init(CancellableVar *Cancellable) (bool, error) {
1023 1023
1024 }1024 }
1025 1025
1026-var xDBusProxyNew func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, string, string, string, uintptr, uintptr, uintptr)1026+var xDBusProxyNew func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, uintptr, string, string, uintptr, uintptr, uintptr)
1027 1027
1028 // Creates a proxy for accessing @interface_name on the remote object1028 // Creates a proxy for accessing @interface_name on the remote object
1029 // at @object_path owned by @name at @connection and asynchronously1029 // at @object_path owned by @name at @connection and asynchronously
@@ -1052,7 +1052,7 @@ var xDBusProxyNew func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, string, stri
1052 // See g_dbus_proxy_new_sync() and for a synchronous version of this constructor.1052 // See g_dbus_proxy_new_sync() and for a synchronous version of this constructor.
1053 //1053 //
1054 // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example].1054 // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example].
1055-func DBusProxyNew(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {1055+func DBusProxyNew(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar *string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
1056 1056
1057 var CallbackVarRef uintptr1057 var CallbackVarRef uintptr
1058 if CallbackVar != nil {1058 if CallbackVar != nil {
@@ -1069,7 +1069,7 @@ func DBusProxyNew(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVa
1069 }1069 }
1070 }1070 }
1071 1071
1072- xDBusProxyNew(ConnectionVar.GoPointer(), FlagsVar, InfoVar, NameVar, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)1072+ xDBusProxyNew(ConnectionVar.GoPointer(), FlagsVar, InfoVar, core.NullableStringToPtr(NameVar), ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
1073 1073
1074 }1074 }
1075 1075
M v4/gio/gdbusserver.go +2 -2
@@ -169,7 +169,7 @@ func (x *DBusServer) GetPropertyActive() bool {
169 func (x *DBusServer) SetPropertyAddress(value string) {169 func (x *DBusServer) SetPropertyAddress(value string) {
170 var v gobject.Value170 var v gobject.Value
171 v.Init(gobject.TypeStringVal)171 v.Init(gobject.TypeStringVal)
172- v.SetString(value)172+ v.SetString(&value)
173 x.SetProperty("address", &v)173 x.SetProperty("address", &v)
174 }174 }
175 175
@@ -196,7 +196,7 @@ func (x *DBusServer) GetPropertyClientAddress() string {
196 func (x *DBusServer) SetPropertyGuid(value string) {196 func (x *DBusServer) SetPropertyGuid(value string) {
197 var v gobject.Value197 var v gobject.Value
198 v.Init(gobject.TypeStringVal)198 v.Init(gobject.TypeStringVal)
199- v.SetString(value)199+ v.SetString(&value)
200 x.SetProperty("guid", &v)200 x.SetProperty("guid", &v)
201 }201 }
202 202
M v4/gio/gfile.go +37 -37
@@ -3315,15 +3315,15 @@ type File interface {
3315 Read(CancellableVar *Cancellable) (*FileInputStream, error)3315 Read(CancellableVar *Cancellable) (*FileInputStream, error)
3316 ReadAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)3316 ReadAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
3317 ReadFinish(ResVar AsyncResult) (*FileInputStream, error)3317 ReadFinish(ResVar AsyncResult) (*FileInputStream, error)
3318- Replace(EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error)3318+ Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error)
3319- ReplaceAsync(EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)3319+ ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
3320- ReplaceContents(ContentsVar string, LengthVar uint, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error)3320+ ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error)
3321- ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)3321+ ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
3322- ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)3322+ ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
3323 ReplaceContentsFinish(ResVar AsyncResult, NewEtagVar *string) (bool, error)3323 ReplaceContentsFinish(ResVar AsyncResult, NewEtagVar *string) (bool, error)
3324 ReplaceFinish(ResVar AsyncResult) (*FileOutputStream, error)3324 ReplaceFinish(ResVar AsyncResult) (*FileOutputStream, error)
3325- ReplaceReadwrite(EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error)3325+ ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error)
3326- ReplaceReadwriteAsync(EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)3326+ ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
3327 ReplaceReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error)3327 ReplaceReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error)
3328 ResolveRelativePath(RelativePathVar string) *FileBase3328 ResolveRelativePath(RelativePathVar string) *FileBase
3329 SetAttribute(AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error)3329 SetAttribute(AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error)
@@ -5280,11 +5280,11 @@ func (x *FileBase) ReadFinish(ResVar AsyncResult) (*FileInputStream, error) {
5280 // %G_IO_ERROR_INVALID_FILENAME error, and if the name is to long5280 // %G_IO_ERROR_INVALID_FILENAME error, and if the name is to long
5281 // %G_IO_ERROR_FILENAME_TOO_LONG will be returned. Other errors are5281 // %G_IO_ERROR_FILENAME_TOO_LONG will be returned. Other errors are
5282 // possible too, and depend on what kind of filesystem the file is on.5282 // possible too, and depend on what kind of filesystem the file is on.
5283-func (x *FileBase) Replace(EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) {5283+func (x *FileBase) Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) {
5284 var cls *FileOutputStream5284 var cls *FileOutputStream
5285 var cerr *glib.Error5285 var cerr *glib.Error
5286 5286
5287- cret := XGFileReplace(x.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5287+ cret := XGFileReplace(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5288 5288
5289 if cret == 0 {5289 if cret == 0 {
5290 return nil, cerr5290 return nil, cerr
@@ -5307,9 +5307,9 @@ func (x *FileBase) Replace(EtagVar string, MakeBackupVar bool, FlagsVar FileCrea
5307 // When the operation is finished, @callback will be called.5307 // When the operation is finished, @callback will be called.
5308 // You can then call g_file_replace_finish() to get the result5308 // You can then call g_file_replace_finish() to get the result
5309 // of the operation.5309 // of the operation.
5310-func (x *FileBase) ReplaceAsync(EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5310+func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5311 5311
5312- XGFileReplaceAsync(x.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5312+ XGFileReplaceAsync(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5313 5313
5314 }5314 }
5315 5315
@@ -5329,10 +5329,10 @@ func (x *FileBase) ReplaceAsync(EtagVar string, MakeBackupVar bool, FlagsVar Fil
5329 //5329 //
5330 // The returned @new_etag can be used to verify that the file hasn't5330 // The returned @new_etag can be used to verify that the file hasn't
5331 // changed the next time it is saved over.5331 // changed the next time it is saved over.
5332-func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) {5332+func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) {
5333 var cerr *glib.Error5333 var cerr *glib.Error
5334 5334
5335- cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, EtagVar, MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr)5335+ cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr)
5336 if cerr == nil {5336 if cerr == nil {
5337 return cret, nil5337 return cret, nil
5338 }5338 }
@@ -5359,9 +5359,9 @@ func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar s
5359 // until @callback is called. See g_file_replace_contents_bytes_async()5359 // until @callback is called. See g_file_replace_contents_bytes_async()
5360 // for a #GBytes version that will automatically hold a reference to the5360 // for a #GBytes version that will automatically hold a reference to the
5361 // contents (without copying) for the duration of the call.5361 // contents (without copying) for the duration of the call.
5362-func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5362+func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5363 5363
5364- XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, EtagVar, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5364+ XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5365 5365
5366 }5366 }
5367 5367
@@ -5373,9 +5373,9 @@ func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, Etag
5373 // When this operation has completed, @callback will be called with5373 // When this operation has completed, @callback will be called with
5374 // @user_user data, and the operation can be finalized with5374 // @user_user data, and the operation can be finalized with
5375 // g_file_replace_contents_finish().5375 // g_file_replace_contents_finish().
5376-func (x *FileBase) ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5376+func (x *FileBase) ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5377 5377
5378- XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, EtagVar, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5378+ XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5379 5379
5380 }5380 }
5381 5381
@@ -5423,11 +5423,11 @@ func (x *FileBase) ReplaceFinish(ResVar AsyncResult) (*FileOutputStream, error)
5423 // Note that in many non-local file cases read and write streams are not5423 // Note that in many non-local file cases read and write streams are not
5424 // supported, so make sure you really need to do read and write streaming,5424 // supported, so make sure you really need to do read and write streaming,
5425 // rather than just opening for reading or writing.5425 // rather than just opening for reading or writing.
5426-func (x *FileBase) ReplaceReadwrite(EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) {5426+func (x *FileBase) ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) {
5427 var cls *FileIOStream5427 var cls *FileIOStream
5428 var cerr *glib.Error5428 var cerr *glib.Error
5429 5429
5430- cret := XGFileReplaceReadwrite(x.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)5430+ cret := XGFileReplaceReadwrite(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr)
5431 5431
5432 if cret == 0 {5432 if cret == 0 {
5433 return nil, cerr5433 return nil, cerr
@@ -5451,9 +5451,9 @@ func (x *FileBase) ReplaceReadwrite(EtagVar string, MakeBackupVar bool, FlagsVar
5451 // When the operation is finished, @callback will be called.5451 // When the operation is finished, @callback will be called.
5452 // You can then call g_file_replace_readwrite_finish() to get5452 // You can then call g_file_replace_readwrite_finish() to get
5453 // the result of the operation.5453 // the result of the operation.
5454-func (x *FileBase) ReplaceReadwriteAsync(EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {5454+func (x *FileBase) ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
5455 5455
5456- XGFileReplaceReadwriteAsync(x.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)5456+ XGFileReplaceReadwriteAsync(x.GoPointer(), core.NullableStringToPtr(EtagVar), MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar)
5457 5457
5458 }5458 }
5459 5459
@@ -6006,15 +6006,15 @@ var XGFileQueryWritableNamespaces func(uintptr, uintptr, **glib.Error) *FileAttr
6006 var XGFileRead func(uintptr, uintptr, **glib.Error) uintptr6006 var XGFileRead func(uintptr, uintptr, **glib.Error) uintptr
6007 var XGFileReadAsync func(uintptr, int, uintptr, uintptr, uintptr)6007 var XGFileReadAsync func(uintptr, int, uintptr, uintptr, uintptr)
6008 var XGFileReadFinish func(uintptr, uintptr, **glib.Error) uintptr6008 var XGFileReadFinish func(uintptr, uintptr, **glib.Error) uintptr
6009-var XGFileReplace func(uintptr, string, bool, FileCreateFlags, uintptr, **glib.Error) uintptr6009+var XGFileReplace func(uintptr, uintptr, bool, FileCreateFlags, uintptr, **glib.Error) uintptr
6010-var XGFileReplaceAsync func(uintptr, string, bool, FileCreateFlags, int, uintptr, uintptr, uintptr)6010+var XGFileReplaceAsync func(uintptr, uintptr, bool, FileCreateFlags, int, uintptr, uintptr, uintptr)
6011-var XGFileReplaceContents func(uintptr, string, uint, string, bool, FileCreateFlags, *string, uintptr, **glib.Error) bool6011+var XGFileReplaceContents func(uintptr, string, uint, uintptr, bool, FileCreateFlags, *string, uintptr, **glib.Error) bool
6012-var XGFileReplaceContentsAsync func(uintptr, string, uint, string, bool, FileCreateFlags, uintptr, uintptr, uintptr)6012+var XGFileReplaceContentsAsync func(uintptr, string, uint, uintptr, bool, FileCreateFlags, uintptr, uintptr, uintptr)
6013-var XGFileReplaceContentsBytesAsync func(uintptr, *glib.Bytes, string, bool, FileCreateFlags, uintptr, uintptr, uintptr)6013+var XGFileReplaceContentsBytesAsync func(uintptr, *glib.Bytes, uintptr, bool, FileCreateFlags, uintptr, uintptr, uintptr)
6014 var XGFileReplaceContentsFinish func(uintptr, uintptr, *string, **glib.Error) bool6014 var XGFileReplaceContentsFinish func(uintptr, uintptr, *string, **glib.Error) bool
6015 var XGFileReplaceFinish func(uintptr, uintptr, **glib.Error) uintptr6015 var XGFileReplaceFinish func(uintptr, uintptr, **glib.Error) uintptr
6016-var XGFileReplaceReadwrite func(uintptr, string, bool, FileCreateFlags, uintptr, **glib.Error) uintptr6016+var XGFileReplaceReadwrite func(uintptr, uintptr, bool, FileCreateFlags, uintptr, **glib.Error) uintptr
6017-var XGFileReplaceReadwriteAsync func(uintptr, string, bool, FileCreateFlags, int, uintptr, uintptr, uintptr)6017+var XGFileReplaceReadwriteAsync func(uintptr, uintptr, bool, FileCreateFlags, int, uintptr, uintptr, uintptr)
6018 var XGFileReplaceReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr6018 var XGFileReplaceReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr
6019 var XGFileResolveRelativePath func(uintptr, string) uintptr6019 var XGFileResolveRelativePath func(uintptr, string) uintptr
6020 var XGFileSetAttribute func(uintptr, string, FileAttributeType, uintptr, FileQueryInfoFlags, uintptr, **glib.Error) bool6020 var XGFileSetAttribute func(uintptr, string, FileAttributeType, uintptr, FileQueryInfoFlags, uintptr, **glib.Error) bool
@@ -6155,7 +6155,7 @@ func FileNewForUri(UriVar string) *FileBase {
6155 return cls6155 return cls
6156 }6156 }
6157 6157
6158-var xFileNewTmp func(string, **FileIOStream, **glib.Error) uintptr6158+var xFileNewTmp func(uintptr, **FileIOStream, **glib.Error) uintptr
6159 6159
6160 // Opens a file in the preferred directory for temporary files (as6160 // Opens a file in the preferred directory for temporary files (as
6161 // returned by g_get_tmp_dir()) and returns a #GFile and6161 // returned by g_get_tmp_dir()) and returns a #GFile and
@@ -6167,11 +6167,11 @@ var xFileNewTmp func(string, **FileIOStream, **glib.Error) uintptr
6167 //6167 //
6168 // Unlike the other #GFile constructors, this will return %NULL if6168 // Unlike the other #GFile constructors, this will return %NULL if
6169 // a temporary file could not be created.6169 // a temporary file could not be created.
6170-func FileNewTmp(TmplVar string, IostreamVar **FileIOStream) (*FileBase, error) {6170+func FileNewTmp(TmplVar *string, IostreamVar **FileIOStream) (*FileBase, error) {
6171 var cls *FileBase6171 var cls *FileBase
6172 var cerr *glib.Error6172 var cerr *glib.Error
6173 6173
6174- cret := xFileNewTmp(TmplVar, IostreamVar, &cerr)6174+ cret := xFileNewTmp(core.NullableStringToPtr(TmplVar), IostreamVar, &cerr)
6175 6175
6176 if cret == 0 {6176 if cret == 0 {
6177 return nil, cerr6177 return nil, cerr
@@ -6185,7 +6185,7 @@ func FileNewTmp(TmplVar string, IostreamVar **FileIOStream) (*FileBase, error) {
6185 6185
6186 }6186 }
6187 6187
6188-var xFileNewTmpAsync func(string, int, uintptr, uintptr, uintptr)6188+var xFileNewTmpAsync func(uintptr, int, uintptr, uintptr, uintptr)
6189 6189
6190 // Asynchronously opens a file in the preferred directory for temporary files6190 // Asynchronously opens a file in the preferred directory for temporary files
6191 //6191 //
@@ -6194,7 +6194,7 @@ var xFileNewTmpAsync func(string, int, uintptr, uintptr, uintptr)
6194 // @tmpl should be a string in the GLib file name encoding6194 // @tmpl should be a string in the GLib file name encoding
6195 // containing a sequence of six 'X' characters, and containing no6195 // containing a sequence of six 'X' characters, and containing no
6196 // directory components. If it is %NULL, a default template is used.6196 // directory components. If it is %NULL, a default template is used.
6197-func FileNewTmpAsync(TmplVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {6197+func FileNewTmpAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
6198 6198
6199 var CallbackVarRef uintptr6199 var CallbackVarRef uintptr
6200 if CallbackVar != nil {6200 if CallbackVar != nil {
@@ -6211,11 +6211,11 @@ func FileNewTmpAsync(TmplVar string, IoPriorityVar int, CancellableVar *Cancella
6211 }6211 }
6212 }6212 }
6213 6213
6214- xFileNewTmpAsync(TmplVar, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)6214+ xFileNewTmpAsync(core.NullableStringToPtr(TmplVar), IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
6215 6215
6216 }6216 }
6217 6217
6218-var xFileNewTmpDirAsync func(string, int, uintptr, uintptr, uintptr)6218+var xFileNewTmpDirAsync func(uintptr, int, uintptr, uintptr, uintptr)
6219 6219
6220 // Asynchronously creates a directory in the preferred directory for6220 // Asynchronously creates a directory in the preferred directory for
6221 // temporary files (as returned by g_get_tmp_dir()) as g_dir_make_tmp().6221 // temporary files (as returned by g_get_tmp_dir()) as g_dir_make_tmp().
@@ -6223,7 +6223,7 @@ var xFileNewTmpDirAsync func(string, int, uintptr, uintptr, uintptr)
6223 // @tmpl should be a string in the GLib file name encoding6223 // @tmpl should be a string in the GLib file name encoding
6224 // containing a sequence of six 'X' characters, and containing no6224 // containing a sequence of six 'X' characters, and containing no
6225 // directory components. If it is %NULL, a default template is used.6225 // directory components. If it is %NULL, a default template is used.
6226-func FileNewTmpDirAsync(TmplVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {6226+func FileNewTmpDirAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
6227 6227
6228 var CallbackVarRef uintptr6228 var CallbackVarRef uintptr
6229 if CallbackVar != nil {6229 if CallbackVar != nil {
@@ -6240,7 +6240,7 @@ func FileNewTmpDirAsync(TmplVar string, IoPriorityVar int, CancellableVar *Cance
6240 }6240 }
6241 }6241 }
6242 6242
6243- xFileNewTmpDirAsync(TmplVar, IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)6243+ xFileNewTmpDirAsync(core.NullableStringToPtr(TmplVar), IoPriorityVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
6244 6244
6245 }6245 }
6246 6246
M v4/gio/gfileinfo.go +3 -3
@@ -1249,12 +1249,12 @@ func (x *FileInfo) HasNamespace(NameSpaceVar string) bool {
1249 return cret1249 return cret
1250 }1250 }
1251 1251
1252-var xFileInfoListAttributes func(uintptr, string) []string1252+var xFileInfoListAttributes func(uintptr, uintptr) []string
1253 1253
1254 // Lists the file info structure's attributes.1254 // Lists the file info structure's attributes.
1255-func (x *FileInfo) ListAttributes(NameSpaceVar string) []string {1255+func (x *FileInfo) ListAttributes(NameSpaceVar *string) []string {
1256 1256
1257- cret := xFileInfoListAttributes(x.GoPointer(), NameSpaceVar)1257+ cret := xFileInfoListAttributes(x.GoPointer(), core.NullableStringToPtr(NameSpaceVar))
1258 return cret1258 return cret
1259 }1259 }
1260 1260
M v4/gio/gmenu.go +48 -48
@@ -51,14 +51,14 @@ func NewMenu() *Menu {
51 return cls51 return cls
52 }52 }
53 53
54-var xMenuAppend func(uintptr, string, string)54+var xMenuAppend func(uintptr, uintptr, uintptr)
55 55
56 // Convenience function for appending a normal menu item to the end of56 // Convenience function for appending a normal menu item to the end of
57 // @menu. Combine g_menu_item_new() and g_menu_insert_item() for a more57 // @menu. Combine g_menu_item_new() and g_menu_insert_item() for a more
58 // flexible alternative.58 // flexible alternative.
59-func (x *Menu) Append(LabelVar string, DetailedActionVar string) {59+func (x *Menu) Append(LabelVar *string, DetailedActionVar *string) {
60 60
61- xMenuAppend(x.GoPointer(), LabelVar, DetailedActionVar)61+ xMenuAppend(x.GoPointer(), core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar))
62 62
63 }63 }
64 64
@@ -73,25 +73,25 @@ func (x *Menu) AppendItem(ItemVar *MenuItem) {
73 73
74 }74 }
75 75
76-var xMenuAppendSection func(uintptr, string, uintptr)76+var xMenuAppendSection func(uintptr, uintptr, uintptr)
77 77
78 // Convenience function for appending a section menu item to the end of78 // Convenience function for appending a section menu item to the end of
79 // @menu. Combine g_menu_item_new_section() and g_menu_insert_item() for a79 // @menu. Combine g_menu_item_new_section() and g_menu_insert_item() for a
80 // more flexible alternative.80 // more flexible alternative.
81-func (x *Menu) AppendSection(LabelVar string, SectionVar *MenuModel) {81+func (x *Menu) AppendSection(LabelVar *string, SectionVar *MenuModel) {
82 82
83- xMenuAppendSection(x.GoPointer(), LabelVar, SectionVar.GoPointer())83+ xMenuAppendSection(x.GoPointer(), core.NullableStringToPtr(LabelVar), SectionVar.GoPointer())
84 84
85 }85 }
86 86
87-var xMenuAppendSubmenu func(uintptr, string, uintptr)87+var xMenuAppendSubmenu func(uintptr, uintptr, uintptr)
88 88
89 // Convenience function for appending a submenu menu item to the end of89 // Convenience function for appending a submenu menu item to the end of
90 // @menu. Combine g_menu_item_new_submenu() and g_menu_insert_item() for a90 // @menu. Combine g_menu_item_new_submenu() and g_menu_insert_item() for a
91 // more flexible alternative.91 // more flexible alternative.
92-func (x *Menu) AppendSubmenu(LabelVar string, SubmenuVar *MenuModel) {92+func (x *Menu) AppendSubmenu(LabelVar *string, SubmenuVar *MenuModel) {
93 93
94- xMenuAppendSubmenu(x.GoPointer(), LabelVar, SubmenuVar.GoPointer())94+ xMenuAppendSubmenu(x.GoPointer(), core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer())
95 95
96 }96 }
97 97
@@ -111,14 +111,14 @@ func (x *Menu) Freeze() {
111 111
112 }112 }
113 113
114-var xMenuInsert func(uintptr, int, string, string)114+var xMenuInsert func(uintptr, int, uintptr, uintptr)
115 115
116 // Convenience function for inserting a normal menu item into @menu.116 // Convenience function for inserting a normal menu item into @menu.
117 // Combine g_menu_item_new() and g_menu_insert_item() for a more flexible117 // Combine g_menu_item_new() and g_menu_insert_item() for a more flexible
118 // alternative.118 // alternative.
119-func (x *Menu) Insert(PositionVar int, LabelVar string, DetailedActionVar string) {119+func (x *Menu) Insert(PositionVar int, LabelVar *string, DetailedActionVar *string) {
120 120
121- xMenuInsert(x.GoPointer(), PositionVar, LabelVar, DetailedActionVar)121+ xMenuInsert(x.GoPointer(), PositionVar, core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar))
122 122
123 }123 }
124 124
@@ -147,36 +147,36 @@ func (x *Menu) InsertItem(PositionVar int, ItemVar *MenuItem) {
147 147
148 }148 }
149 149
150-var xMenuInsertSection func(uintptr, int, string, uintptr)150+var xMenuInsertSection func(uintptr, int, uintptr, uintptr)
151 151
152 // Convenience function for inserting a section menu item into @menu.152 // Convenience function for inserting a section menu item into @menu.
153 // Combine g_menu_item_new_section() and g_menu_insert_item() for a more153 // Combine g_menu_item_new_section() and g_menu_insert_item() for a more
154 // flexible alternative.154 // flexible alternative.
155-func (x *Menu) InsertSection(PositionVar int, LabelVar string, SectionVar *MenuModel) {155+func (x *Menu) InsertSection(PositionVar int, LabelVar *string, SectionVar *MenuModel) {
156 156
157- xMenuInsertSection(x.GoPointer(), PositionVar, LabelVar, SectionVar.GoPointer())157+ xMenuInsertSection(x.GoPointer(), PositionVar, core.NullableStringToPtr(LabelVar), SectionVar.GoPointer())
158 158
159 }159 }
160 160
161-var xMenuInsertSubmenu func(uintptr, int, string, uintptr)161+var xMenuInsertSubmenu func(uintptr, int, uintptr, uintptr)
162 162
163 // Convenience function for inserting a submenu menu item into @menu.163 // Convenience function for inserting a submenu menu item into @menu.
164 // Combine g_menu_item_new_submenu() and g_menu_insert_item() for a more164 // Combine g_menu_item_new_submenu() and g_menu_insert_item() for a more
165 // flexible alternative.165 // flexible alternative.
166-func (x *Menu) InsertSubmenu(PositionVar int, LabelVar string, SubmenuVar *MenuModel) {166+func (x *Menu) InsertSubmenu(PositionVar int, LabelVar *string, SubmenuVar *MenuModel) {
167 167
168- xMenuInsertSubmenu(x.GoPointer(), PositionVar, LabelVar, SubmenuVar.GoPointer())168+ xMenuInsertSubmenu(x.GoPointer(), PositionVar, core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer())
169 169
170 }170 }
171 171
172-var xMenuPrepend func(uintptr, string, string)172+var xMenuPrepend func(uintptr, uintptr, uintptr)
173 173
174 // Convenience function for prepending a normal menu item to the start174 // Convenience function for prepending a normal menu item to the start
175 // of @menu. Combine g_menu_item_new() and g_menu_insert_item() for a more175 // of @menu. Combine g_menu_item_new() and g_menu_insert_item() for a more
176 // flexible alternative.176 // flexible alternative.
177-func (x *Menu) Prepend(LabelVar string, DetailedActionVar string) {177+func (x *Menu) Prepend(LabelVar *string, DetailedActionVar *string) {
178 178
179- xMenuPrepend(x.GoPointer(), LabelVar, DetailedActionVar)179+ xMenuPrepend(x.GoPointer(), core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar))
180 180
181 }181 }
182 182
@@ -191,25 +191,25 @@ func (x *Menu) PrependItem(ItemVar *MenuItem) {
191 191
192 }192 }
193 193
194-var xMenuPrependSection func(uintptr, string, uintptr)194+var xMenuPrependSection func(uintptr, uintptr, uintptr)
195 195
196 // Convenience function for prepending a section menu item to the start196 // Convenience function for prepending a section menu item to the start
197 // of @menu. Combine g_menu_item_new_section() and g_menu_insert_item() for197 // of @menu. Combine g_menu_item_new_section() and g_menu_insert_item() for
198 // a more flexible alternative.198 // a more flexible alternative.
199-func (x *Menu) PrependSection(LabelVar string, SectionVar *MenuModel) {199+func (x *Menu) PrependSection(LabelVar *string, SectionVar *MenuModel) {
200 200
201- xMenuPrependSection(x.GoPointer(), LabelVar, SectionVar.GoPointer())201+ xMenuPrependSection(x.GoPointer(), core.NullableStringToPtr(LabelVar), SectionVar.GoPointer())
202 202
203 }203 }
204 204
205-var xMenuPrependSubmenu func(uintptr, string, uintptr)205+var xMenuPrependSubmenu func(uintptr, uintptr, uintptr)
206 206
207 // Convenience function for prepending a submenu menu item to the start207 // Convenience function for prepending a submenu menu item to the start
208 // of @menu. Combine g_menu_item_new_submenu() and g_menu_insert_item() for208 // of @menu. Combine g_menu_item_new_submenu() and g_menu_insert_item() for
209 // a more flexible alternative.209 // a more flexible alternative.
210-func (x *Menu) PrependSubmenu(LabelVar string, SubmenuVar *MenuModel) {210+func (x *Menu) PrependSubmenu(LabelVar *string, SubmenuVar *MenuModel) {
211 211
212- xMenuPrependSubmenu(x.GoPointer(), LabelVar, SubmenuVar.GoPointer())212+ xMenuPrependSubmenu(x.GoPointer(), core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer())
213 213
214 }214 }
215 215
@@ -269,7 +269,7 @@ func MenuItemNewFromInternalPtr(ptr uintptr) *MenuItem {
269 return cls269 return cls
270 }270 }
271 271
272-var xNewMenuItem func(string, string) uintptr272+var xNewMenuItem func(uintptr, uintptr) uintptr
273 273
274 // Creates a new #GMenuItem.274 // Creates a new #GMenuItem.
275 //275 //
@@ -279,10 +279,10 @@ var xNewMenuItem func(string, string) uintptr
279 // If @detailed_action is non-%NULL it is used to set the "action" and279 // If @detailed_action is non-%NULL it is used to set the "action" and
280 // possibly the "target" attribute of the new item. See280 // possibly the "target" attribute of the new item. See
281 // g_menu_item_set_detailed_action() for more information.281 // g_menu_item_set_detailed_action() for more information.
282-func NewMenuItem(LabelVar string, DetailedActionVar string) *MenuItem {282+func NewMenuItem(LabelVar *string, DetailedActionVar *string) *MenuItem {
283 var cls *MenuItem283 var cls *MenuItem
284 284
285- cret := xNewMenuItem(LabelVar, DetailedActionVar)285+ cret := xNewMenuItem(core.NullableStringToPtr(LabelVar), core.NullableStringToPtr(DetailedActionVar))
286 286
287 if cret == 0 {287 if cret == 0 {
288 return nil288 return nil
@@ -312,7 +312,7 @@ func NewMenuItemFromModel(ModelVar *MenuModel, ItemIndexVar int) *MenuItem {
312 return cls312 return cls
313 }313 }
314 314
315-var xNewMenuItemSection func(string, uintptr) uintptr315+var xNewMenuItemSection func(uintptr, uintptr) uintptr
316 316
317 // Creates a new #GMenuItem representing a section.317 // Creates a new #GMenuItem representing a section.
318 //318 //
@@ -378,10 +378,10 @@ var xNewMenuItemSection func(string, uintptr) uintptr
378 //378 //
379 // </menu>379 // </menu>
380 // ]|380 // ]|
381-func NewMenuItemSection(LabelVar string, SectionVar *MenuModel) *MenuItem {381+func NewMenuItemSection(LabelVar *string, SectionVar *MenuModel) *MenuItem {
382 var cls *MenuItem382 var cls *MenuItem
383 383
384- cret := xNewMenuItemSection(LabelVar, SectionVar.GoPointer())384+ cret := xNewMenuItemSection(core.NullableStringToPtr(LabelVar), SectionVar.GoPointer())
385 385
386 if cret == 0 {386 if cret == 0 {
387 return nil387 return nil
@@ -391,16 +391,16 @@ func NewMenuItemSection(LabelVar string, SectionVar *MenuModel) *MenuItem {
391 return cls391 return cls
392 }392 }
393 393
394-var xNewMenuItemSubmenu func(string, uintptr) uintptr394+var xNewMenuItemSubmenu func(uintptr, uintptr) uintptr
395 395
396 // Creates a new #GMenuItem representing a submenu.396 // Creates a new #GMenuItem representing a submenu.
397 //397 //
398 // This is a convenience API around g_menu_item_new() and398 // This is a convenience API around g_menu_item_new() and
399 // g_menu_item_set_submenu().399 // g_menu_item_set_submenu().
400-func NewMenuItemSubmenu(LabelVar string, SubmenuVar *MenuModel) *MenuItem {400+func NewMenuItemSubmenu(LabelVar *string, SubmenuVar *MenuModel) *MenuItem {
401 var cls *MenuItem401 var cls *MenuItem
402 402
403- cret := xNewMenuItemSubmenu(LabelVar, SubmenuVar.GoPointer())403+ cret := xNewMenuItemSubmenu(core.NullableStringToPtr(LabelVar), SubmenuVar.GoPointer())
404 404
405 if cret == 0 {405 if cret == 0 {
406 return nil406 return nil
@@ -456,7 +456,7 @@ func (x *MenuItem) GetLink(LinkVar string) *MenuModel {
456 return cls456 return cls
457 }457 }
458 458
459-var xMenuItemSetActionAndTarget func(uintptr, string, string, ...interface{})459+var xMenuItemSetActionAndTarget func(uintptr, uintptr, uintptr, ...interface{})
460 460
461 // Sets or unsets the "action" and "target" attributes of @menu_item.461 // Sets or unsets the "action" and "target" attributes of @menu_item.
462 //462 //
@@ -477,13 +477,13 @@ var xMenuItemSetActionAndTarget func(uintptr, string, string, ...interface{})
477 //477 //
478 // See also g_menu_item_set_action_and_target_value() for a478 // See also g_menu_item_set_action_and_target_value() for a
479 // description of the semantics of the action and target attributes.479 // description of the semantics of the action and target attributes.
480-func (x *MenuItem) SetActionAndTarget(ActionVar string, FormatStringVar string, varArgs ...interface{}) {480+func (x *MenuItem) SetActionAndTarget(ActionVar *string, FormatStringVar *string, varArgs ...interface{}) {
481 481
482- xMenuItemSetActionAndTarget(x.GoPointer(), ActionVar, FormatStringVar, varArgs...)482+ xMenuItemSetActionAndTarget(x.GoPointer(), core.NullableStringToPtr(ActionVar), core.NullableStringToPtr(FormatStringVar), varArgs...)
483 483
484 }484 }
485 485
486-var xMenuItemSetActionAndTargetValue func(uintptr, string, *glib.Variant)486+var xMenuItemSetActionAndTargetValue func(uintptr, uintptr, *glib.Variant)
487 487
488 // Sets or unsets the "action" and "target" attributes of @menu_item.488 // Sets or unsets the "action" and "target" attributes of @menu_item.
489 //489 //
@@ -521,13 +521,13 @@ var xMenuItemSetActionAndTargetValue func(uintptr, string, *glib.Variant)
521 // See g_menu_item_set_action_and_target() or521 // See g_menu_item_set_action_and_target() or
522 // g_menu_item_set_detailed_action() for two equivalent calls that are522 // g_menu_item_set_detailed_action() for two equivalent calls that are
523 // probably more convenient for most uses.523 // probably more convenient for most uses.
524-func (x *MenuItem) SetActionAndTargetValue(ActionVar string, TargetValueVar *glib.Variant) {524+func (x *MenuItem) SetActionAndTargetValue(ActionVar *string, TargetValueVar *glib.Variant) {
525 525
526- xMenuItemSetActionAndTargetValue(x.GoPointer(), ActionVar, TargetValueVar)526+ xMenuItemSetActionAndTargetValue(x.GoPointer(), core.NullableStringToPtr(ActionVar), TargetValueVar)
527 527
528 }528 }
529 529
530-var xMenuItemSetAttribute func(uintptr, string, string, ...interface{})530+var xMenuItemSetAttribute func(uintptr, string, uintptr, ...interface{})
531 531
532 // Sets or unsets an attribute on @menu_item.532 // Sets or unsets an attribute on @menu_item.
533 //533 //
@@ -546,9 +546,9 @@ var xMenuItemSetAttribute func(uintptr, string, string, ...interface{})
546 //546 //
547 // See also g_menu_item_set_attribute_value() for an equivalent call547 // See also g_menu_item_set_attribute_value() for an equivalent call
548 // that directly accepts a #GVariant.548 // that directly accepts a #GVariant.
549-func (x *MenuItem) SetAttribute(AttributeVar string, FormatStringVar string, varArgs ...interface{}) {549+func (x *MenuItem) SetAttribute(AttributeVar string, FormatStringVar *string, varArgs ...interface{}) {
550 550
551- xMenuItemSetAttribute(x.GoPointer(), AttributeVar, FormatStringVar, varArgs...)551+ xMenuItemSetAttribute(x.GoPointer(), AttributeVar, core.NullableStringToPtr(FormatStringVar), varArgs...)
552 552
553 }553 }
554 554
@@ -618,15 +618,15 @@ func (x *MenuItem) SetIcon(IconVar Icon) {
618 618
619 }619 }
620 620
621-var xMenuItemSetLabel func(uintptr, string)621+var xMenuItemSetLabel func(uintptr, uintptr)
622 622
623 // Sets or unsets the "label" attribute of @menu_item.623 // Sets or unsets the "label" attribute of @menu_item.
624 //624 //
625 // If @label is non-%NULL it is used as the label for the menu item. If625 // If @label is non-%NULL it is used as the label for the menu item. If
626 // it is %NULL then the label attribute is unset.626 // it is %NULL then the label attribute is unset.
627-func (x *MenuItem) SetLabel(LabelVar string) {627+func (x *MenuItem) SetLabel(LabelVar *string) {
628 628
629- xMenuItemSetLabel(x.GoPointer(), LabelVar)629+ xMenuItemSetLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))
630 630
631 }631 }
632 632
M v4/gio/gmountoperation.go +12 -12
@@ -570,12 +570,12 @@ func (x *MountOperation) SetChoice(ChoiceVar int) {
570 570
571 }571 }
572 572
573-var xMountOperationSetDomain func(uintptr, string)573+var xMountOperationSetDomain func(uintptr, uintptr)
574 574
575 // Sets the mount operation's domain.575 // Sets the mount operation's domain.
576-func (x *MountOperation) SetDomain(DomainVar string) {576+func (x *MountOperation) SetDomain(DomainVar *string) {
577 577
578- xMountOperationSetDomain(x.GoPointer(), DomainVar)578+ xMountOperationSetDomain(x.GoPointer(), core.NullableStringToPtr(DomainVar))
579 579
580 }580 }
581 581
@@ -597,12 +597,12 @@ func (x *MountOperation) SetIsTcryptSystemVolume(SystemVolumeVar bool) {
597 597
598 }598 }
599 599
600-var xMountOperationSetPassword func(uintptr, string)600+var xMountOperationSetPassword func(uintptr, uintptr)
601 601
602 // Sets the mount operation's password to @password.602 // Sets the mount operation's password to @password.
603-func (x *MountOperation) SetPassword(PasswordVar string) {603+func (x *MountOperation) SetPassword(PasswordVar *string) {
604 604
605- xMountOperationSetPassword(x.GoPointer(), PasswordVar)605+ xMountOperationSetPassword(x.GoPointer(), core.NullableStringToPtr(PasswordVar))
606 606
607 }607 }
608 608
@@ -624,12 +624,12 @@ func (x *MountOperation) SetPim(PimVar uint) {
624 624
625 }625 }
626 626
627-var xMountOperationSetUsername func(uintptr, string)627+var xMountOperationSetUsername func(uintptr, uintptr)
628 628
629 // Sets the user name within @op to @username.629 // Sets the user name within @op to @username.
630-func (x *MountOperation) SetUsername(UsernameVar string) {630+func (x *MountOperation) SetUsername(UsernameVar *string) {
631 631
632- xMountOperationSetUsername(x.GoPointer(), UsernameVar)632+ xMountOperationSetUsername(x.GoPointer(), core.NullableStringToPtr(UsernameVar))
633 633
634 }634 }
635 635
@@ -685,7 +685,7 @@ func (x *MountOperation) GetPropertyChoice() int {
685 func (x *MountOperation) SetPropertyDomain(value string) {685 func (x *MountOperation) SetPropertyDomain(value string) {
686 var v gobject.Value686 var v gobject.Value
687 v.Init(gobject.TypeStringVal)687 v.Init(gobject.TypeStringVal)
688- v.SetString(value)688+ v.SetString(&value)
689 x.SetProperty("domain", &v)689 x.SetProperty("domain", &v)
690 }690 }
691 691
@@ -747,7 +747,7 @@ func (x *MountOperation) GetPropertyIsTcryptSystemVolume() bool {
747 func (x *MountOperation) SetPropertyPassword(value string) {747 func (x *MountOperation) SetPropertyPassword(value string) {
748 var v gobject.Value748 var v gobject.Value
749 v.Init(gobject.TypeStringVal)749 v.Init(gobject.TypeStringVal)
750- v.SetString(value)750+ v.SetString(&value)
751 x.SetProperty("password", &v)751 x.SetProperty("password", &v)
752 }752 }
753 753
@@ -785,7 +785,7 @@ func (x *MountOperation) GetPropertyPim() uint {
785 func (x *MountOperation) SetPropertyUsername(value string) {785 func (x *MountOperation) SetPropertyUsername(value string) {
786 var v gobject.Value786 var v gobject.Value
787 v.Init(gobject.TypeStringVal)787 v.Init(gobject.TypeStringVal)
788- v.SetString(value)788+ v.SetString(&value)
789 x.SetProperty("username", &v)789 x.SetProperty("username", &v)
790 }790 }
791 791
M v4/gio/gnetworkaddress.go +2 -2
@@ -150,7 +150,7 @@ func (c *NetworkAddress) SetGoPointer(ptr uintptr) {
150 func (x *NetworkAddress) SetPropertyHostname(value string) {150 func (x *NetworkAddress) SetPropertyHostname(value string) {
151 var v gobject.Value151 var v gobject.Value
152 v.Init(gobject.TypeStringVal)152 v.Init(gobject.TypeStringVal)
153- v.SetString(value)153+ v.SetString(&value)
154 x.SetProperty("hostname", &v)154 x.SetProperty("hostname", &v)
155 }155 }
156 156
@@ -184,7 +184,7 @@ func (x *NetworkAddress) GetPropertyPort() uint {
184 func (x *NetworkAddress) SetPropertyScheme(value string) {184 func (x *NetworkAddress) SetPropertyScheme(value string) {
185 var v gobject.Value185 var v gobject.Value
186 v.Init(gobject.TypeStringVal)186 v.Init(gobject.TypeStringVal)
187- v.SetString(value)187+ v.SetString(&value)
188 x.SetProperty("scheme", &v)188 x.SetProperty("scheme", &v)
189 }189 }
190 190
M v4/gio/gnetworkservice.go +4 -4
@@ -136,7 +136,7 @@ func (c *NetworkService) SetGoPointer(ptr uintptr) {
136 func (x *NetworkService) SetPropertyDomain(value string) {136 func (x *NetworkService) SetPropertyDomain(value string) {
137 var v gobject.Value137 var v gobject.Value
138 v.Init(gobject.TypeStringVal)138 v.Init(gobject.TypeStringVal)
139- v.SetString(value)139+ v.SetString(&value)
140 x.SetProperty("domain", &v)140 x.SetProperty("domain", &v)
141 }141 }
142 142
@@ -153,7 +153,7 @@ func (x *NetworkService) GetPropertyDomain() string {
153 func (x *NetworkService) SetPropertyProtocol(value string) {153 func (x *NetworkService) SetPropertyProtocol(value string) {
154 var v gobject.Value154 var v gobject.Value
155 v.Init(gobject.TypeStringVal)155 v.Init(gobject.TypeStringVal)
156- v.SetString(value)156+ v.SetString(&value)
157 x.SetProperty("protocol", &v)157 x.SetProperty("protocol", &v)
158 }158 }
159 159
@@ -170,7 +170,7 @@ func (x *NetworkService) GetPropertyProtocol() string {
170 func (x *NetworkService) SetPropertyScheme(value string) {170 func (x *NetworkService) SetPropertyScheme(value string) {
171 var v gobject.Value171 var v gobject.Value
172 v.Init(gobject.TypeStringVal)172 v.Init(gobject.TypeStringVal)
173- v.SetString(value)173+ v.SetString(&value)
174 x.SetProperty("scheme", &v)174 x.SetProperty("scheme", &v)
175 }175 }
176 176
@@ -187,7 +187,7 @@ func (x *NetworkService) GetPropertyScheme() string {
187 func (x *NetworkService) SetPropertyService(value string) {187 func (x *NetworkService) SetPropertyService(value string) {
188 var v gobject.Value188 var v gobject.Value
189 v.Init(gobject.TypeStringVal)189 v.Init(gobject.TypeStringVal)
190- v.SetString(value)190+ v.SetString(&value)
191 x.SetProperty("service", &v)191 x.SetProperty("service", &v)
192 }192 }
193 193
M v4/gio/gnotification.go +12 -12
@@ -107,7 +107,7 @@ func (x *Notification) AddButton(LabelVar string, DetailedActionVar string) {
107 107
108 }108 }
109 109
110-var xNotificationAddButtonWithTarget func(uintptr, string, string, string, ...interface{})110+var xNotificationAddButtonWithTarget func(uintptr, string, string, uintptr, ...interface{})
111 111
112 // Adds a button to @notification that activates @action when clicked.112 // Adds a button to @notification that activates @action when clicked.
113 // @action must be an application-wide action (it must start with "app.").113 // @action must be an application-wide action (it must start with "app.").
@@ -116,9 +116,9 @@ var xNotificationAddButtonWithTarget func(uintptr, string, string, string, ...in
116 // positional parameters into a #GVariant instance, similar to116 // positional parameters into a #GVariant instance, similar to
117 // g_variant_new(). @action will be activated with that #GVariant as its117 // g_variant_new(). @action will be activated with that #GVariant as its
118 // parameter.118 // parameter.
119-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{}) {
120 120
121- xNotificationAddButtonWithTarget(x.GoPointer(), LabelVar, ActionVar, TargetFormatVar, varArgs...)121+ xNotificationAddButtonWithTarget(x.GoPointer(), LabelVar, ActionVar, core.NullableStringToPtr(TargetFormatVar), varArgs...)
122 122
123 }123 }
124 124
@@ -135,16 +135,16 @@ func (x *Notification) AddButtonWithTargetValue(LabelVar string, ActionVar strin
135 135
136 }136 }
137 137
138-var xNotificationSetBody func(uintptr, string)138+var xNotificationSetBody func(uintptr, uintptr)
139 139
140 // Sets the body of @notification to @body.140 // Sets the body of @notification to @body.
141-func (x *Notification) SetBody(BodyVar string) {141+func (x *Notification) SetBody(BodyVar *string) {
142 142
143- xNotificationSetBody(x.GoPointer(), BodyVar)143+ xNotificationSetBody(x.GoPointer(), core.NullableStringToPtr(BodyVar))
144 144
145 }145 }
146 146
147-var xNotificationSetCategory func(uintptr, string)147+var xNotificationSetCategory func(uintptr, uintptr)
148 148
149 // Sets the type of @notification to @category. Categories have a main149 // Sets the type of @notification to @category. Categories have a main
150 // type like `email`, `im` or `device` and can have a detail separated150 // type like `email`, `im` or `device` and can have a detail separated
@@ -152,9 +152,9 @@ var xNotificationSetCategory func(uintptr, string)
152 // helps the notification server to select proper feedback to the user.152 // helps the notification server to select proper feedback to the user.
153 //153 //
154 // Standard categories are [listed in the specification](https://specifications.freedesktop.org/notification-spec/latest/ar01s06.html).154 // Standard categories are [listed in the specification](https://specifications.freedesktop.org/notification-spec/latest/ar01s06.html).
155-func (x *Notification) SetCategory(CategoryVar string) {155+func (x *Notification) SetCategory(CategoryVar *string) {
156 156
157- xNotificationSetCategory(x.GoPointer(), CategoryVar)157+ xNotificationSetCategory(x.GoPointer(), core.NullableStringToPtr(CategoryVar))
158 158
159 }159 }
160 160
@@ -177,7 +177,7 @@ func (x *Notification) SetDefaultAction(DetailedActionVar string) {
177 177
178 }178 }
179 179
180-var xNotificationSetDefaultActionAndTarget func(uintptr, string, string, ...interface{})180+var xNotificationSetDefaultActionAndTarget func(uintptr, string, uintptr, ...interface{})
181 181
182 // Sets the default action of @notification to @action. This action is182 // Sets the default action of @notification to @action. This action is
183 // activated when the notification is clicked on. It must be an183 // activated when the notification is clicked on. It must be an
@@ -190,9 +190,9 @@ var xNotificationSetDefaultActionAndTarget func(uintptr, string, string, ...inte
190 //190 //
191 // When no default action is set, the application that the notification191 // When no default action is set, the application that the notification
192 // was sent on is activated.192 // was sent on is activated.
193-func (x *Notification) SetDefaultActionAndTarget(ActionVar string, TargetFormatVar string, varArgs ...interface{}) {193+func (x *Notification) SetDefaultActionAndTarget(ActionVar string, TargetFormatVar *string, varArgs ...interface{}) {
194 194
195- xNotificationSetDefaultActionAndTarget(x.GoPointer(), ActionVar, TargetFormatVar, varArgs...)195+ xNotificationSetDefaultActionAndTarget(x.GoPointer(), ActionVar, core.NullableStringToPtr(TargetFormatVar), varArgs...)
196 196
197 }197 }
198 198
M v4/gio/gpropertyaction.go +2 -2
@@ -147,7 +147,7 @@ func (x *PropertyAction) GetPropertyInvertBoolean() bool {
147 func (x *PropertyAction) SetPropertyName(value string) {147 func (x *PropertyAction) SetPropertyName(value string) {
148 var v gobject.Value148 var v gobject.Value
149 v.Init(gobject.TypeStringVal)149 v.Init(gobject.TypeStringVal)
150- v.SetString(value)150+ v.SetString(&value)
151 x.SetProperty("name", &v)151 x.SetProperty("name", &v)
152 }152 }
153 153
@@ -177,7 +177,7 @@ func (x *PropertyAction) GetPropertyParameterType() uintptr {
177 func (x *PropertyAction) SetPropertyPropertyName(value string) {177 func (x *PropertyAction) SetPropertyPropertyName(value string) {
178 var v gobject.Value178 var v gobject.Value
179 v.Init(gobject.TypeStringVal)179 v.Init(gobject.TypeStringVal)
180- v.SetString(value)180+ v.SetString(&value)
181 x.SetProperty("property-name", &v)181 x.SetProperty("property-name", &v)
182 }182 }
183 183
M v4/gio/gproxyaddress.go +9 -9
@@ -47,7 +47,7 @@ func ProxyAddressNewFromInternalPtr(ptr uintptr) *ProxyAddress {
47 return cls47 return cls
48 }48 }
49 49
50-var xNewProxyAddress func(uintptr, uint16, string, string, uint16, string, string) uintptr50+var xNewProxyAddress func(uintptr, uint16, string, string, uint16, uintptr, uintptr) uintptr
51 51
52 // Creates a new #GProxyAddress for @inetaddr with @protocol that should52 // Creates a new #GProxyAddress for @inetaddr with @protocol that should
53 // tunnel through @dest_hostname and @dest_port.53 // tunnel through @dest_hostname and @dest_port.
@@ -55,10 +55,10 @@ var xNewProxyAddress func(uintptr, uint16, string, string, uint16, string, strin
55 // (Note that this method doesn't set the #GProxyAddress:uri or55 // (Note that this method doesn't set the #GProxyAddress:uri or
56 // #GProxyAddress:destination-protocol fields; use g_object_new()56 // #GProxyAddress:destination-protocol fields; use g_object_new()
57 // directly if you want to set those.)57 // directly if you want to set those.)
58-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 {
59 var cls *ProxyAddress59 var cls *ProxyAddress
60 60
61- cret := xNewProxyAddress(InetaddrVar.GoPointer(), PortVar, ProtocolVar, DestHostnameVar, DestPortVar, UsernameVar, PasswordVar)61+ cret := xNewProxyAddress(InetaddrVar.GoPointer(), PortVar, ProtocolVar, DestHostnameVar, DestPortVar, core.NullableStringToPtr(UsernameVar), core.NullableStringToPtr(PasswordVar))
62 62
63 if cret == 0 {63 if cret == 0 {
64 return nil64 return nil
@@ -152,7 +152,7 @@ func (c *ProxyAddress) SetGoPointer(ptr uintptr) {
152 func (x *ProxyAddress) SetPropertyDestinationHostname(value string) {152 func (x *ProxyAddress) SetPropertyDestinationHostname(value string) {
153 var v gobject.Value153 var v gobject.Value
154 v.Init(gobject.TypeStringVal)154 v.Init(gobject.TypeStringVal)
155- v.SetString(value)155+ v.SetString(&value)
156 x.SetProperty("destination-hostname", &v)156 x.SetProperty("destination-hostname", &v)
157 }157 }
158 158
@@ -187,7 +187,7 @@ func (x *ProxyAddress) GetPropertyDestinationPort() uint {
187 func (x *ProxyAddress) SetPropertyDestinationProtocol(value string) {187 func (x *ProxyAddress) SetPropertyDestinationProtocol(value string) {
188 var v gobject.Value188 var v gobject.Value
189 v.Init(gobject.TypeStringVal)189 v.Init(gobject.TypeStringVal)
190- v.SetString(value)190+ v.SetString(&value)
191 x.SetProperty("destination-protocol", &v)191 x.SetProperty("destination-protocol", &v)
192 }192 }
193 193
@@ -205,7 +205,7 @@ func (x *ProxyAddress) GetPropertyDestinationProtocol() string {
205 func (x *ProxyAddress) SetPropertyPassword(value string) {205 func (x *ProxyAddress) SetPropertyPassword(value string) {
206 var v gobject.Value206 var v gobject.Value
207 v.Init(gobject.TypeStringVal)207 v.Init(gobject.TypeStringVal)
208- v.SetString(value)208+ v.SetString(&value)
209 x.SetProperty("password", &v)209 x.SetProperty("password", &v)
210 }210 }
211 211
@@ -222,7 +222,7 @@ func (x *ProxyAddress) GetPropertyPassword() string {
222 func (x *ProxyAddress) SetPropertyProtocol(value string) {222 func (x *ProxyAddress) SetPropertyProtocol(value string) {
223 var v gobject.Value223 var v gobject.Value
224 v.Init(gobject.TypeStringVal)224 v.Init(gobject.TypeStringVal)
225- v.SetString(value)225+ v.SetString(&value)
226 x.SetProperty("protocol", &v)226 x.SetProperty("protocol", &v)
227 }227 }
228 228
@@ -240,7 +240,7 @@ func (x *ProxyAddress) GetPropertyProtocol() string {
240 func (x *ProxyAddress) SetPropertyUri(value string) {240 func (x *ProxyAddress) SetPropertyUri(value string) {
241 var v gobject.Value241 var v gobject.Value
242 v.Init(gobject.TypeStringVal)242 v.Init(gobject.TypeStringVal)
243- v.SetString(value)243+ v.SetString(&value)
244 x.SetProperty("uri", &v)244 x.SetProperty("uri", &v)
245 }245 }
246 246
@@ -258,7 +258,7 @@ func (x *ProxyAddress) GetPropertyUri() string {
258 func (x *ProxyAddress) SetPropertyUsername(value string) {258 func (x *ProxyAddress) SetPropertyUsername(value string) {
259 var v gobject.Value259 var v gobject.Value
260 v.Init(gobject.TypeStringVal)260 v.Init(gobject.TypeStringVal)
261- v.SetString(value)261+ v.SetString(&value)
262 x.SetProperty("username", &v)262 x.SetProperty("username", &v)
263 }263 }
264 264
M v4/gio/gproxyaddressenumerator.go +1 -1
@@ -265,7 +265,7 @@ func (x *ProxyAddressEnumerator) GetPropertyDefaultPort() uint {
265 func (x *ProxyAddressEnumerator) SetPropertyUri(value string) {265 func (x *ProxyAddressEnumerator) SetPropertyUri(value string) {
266 var v gobject.Value266 var v gobject.Value
267 v.Init(gobject.TypeStringVal)267 v.Init(gobject.TypeStringVal)
268- v.SetString(value)268+ v.SetString(&value)
269 x.SetProperty("uri", &v)269 x.SetProperty("uri", &v)
270 }270 }
271 271
M v4/gio/gsettings.go +6 -6
@@ -629,7 +629,7 @@ func NewSettings(SchemaIdVar string) *Settings {
629 return cls629 return cls
630 }630 }
631 631
632-var xNewSettingsFull func(*SettingsSchema, uintptr, string) uintptr632+var xNewSettingsFull func(*SettingsSchema, uintptr, uintptr) uintptr
633 633
634 // Creates a new [class@Gio.Settings] object with a given schema, backend and634 // Creates a new [class@Gio.Settings] object with a given schema, backend and
635 // path.635 // path.
@@ -654,10 +654,10 @@ var xNewSettingsFull func(*SettingsSchema, uintptr, string) uintptr
654 // error if @path is `NULL` and the schema has no path of its own or if654 // error if @path is `NULL` and the schema has no path of its own or if
655 // @path is non-`NULL` and not equal to the path that the schema does655 // @path is non-`NULL` and not equal to the path that the schema does
656 // have.656 // have.
657-func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar string) *Settings {657+func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar *string) *Settings {
658 var cls *Settings658 var cls *Settings
659 659
660- cret := xNewSettingsFull(SchemaVar, BackendVar.GoPointer(), PathVar)660+ cret := xNewSettingsFull(SchemaVar, BackendVar.GoPointer(), core.NullableStringToPtr(PathVar))
661 661
662 if cret == 0 {662 if cret == 0 {
663 return nil663 return nil
@@ -1552,7 +1552,7 @@ func (x *Settings) GetPropertyHasUnapplied() bool {
1552 func (x *Settings) SetPropertyPath(value string) {1552 func (x *Settings) SetPropertyPath(value string) {
1553 var v gobject.Value1553 var v gobject.Value
1554 v.Init(gobject.TypeStringVal)1554 v.Init(gobject.TypeStringVal)
1555- v.SetString(value)1555+ v.SetString(&value)
1556 x.SetProperty("path", &v)1556 x.SetProperty("path", &v)
1557 }1557 }
1558 1558
@@ -1577,7 +1577,7 @@ func (x *Settings) GetPropertyPath() string {
1577 func (x *Settings) SetPropertySchema(value string) {1577 func (x *Settings) SetPropertySchema(value string) {
1578 var v gobject.Value1578 var v gobject.Value
1579 v.Init(gobject.TypeStringVal)1579 v.Init(gobject.TypeStringVal)
1580- v.SetString(value)1580+ v.SetString(&value)
1581 x.SetProperty("schema", &v)1581 x.SetProperty("schema", &v)
1582 }1582 }
1583 1583
@@ -1603,7 +1603,7 @@ func (x *Settings) GetPropertySchema() string {
1603 func (x *Settings) SetPropertySchemaId(value string) {1603 func (x *Settings) SetPropertySchemaId(value string) {
1604 var v gobject.Value1604 var v gobject.Value
1605 v.Init(gobject.TypeStringVal)1605 v.Init(gobject.TypeStringVal)
1606- v.SetString(value)1606+ v.SetString(&value)
1607 x.SetProperty("schema-id", &v)1607 x.SetProperty("schema-id", &v)
1608 }1608 }
1609 1609
M v4/gio/gsettingsbackend.go +3 -3
@@ -318,7 +318,7 @@ const (
318 SETTINGS_BACKEND_EXTENSION_POINT_NAME string = "gsettings-backend"318 SETTINGS_BACKEND_EXTENSION_POINT_NAME string = "gsettings-backend"
319 )319 )
320 320
321-var xKeyfileSettingsBackendNew func(string, string, string) uintptr321+var xKeyfileSettingsBackendNew func(string, string, uintptr) uintptr
322 322
323 // Creates a keyfile-backed [class@Gio.SettingsBackend].323 // Creates a keyfile-backed [class@Gio.SettingsBackend].
324 //324 //
@@ -369,10 +369,10 @@ var xKeyfileSettingsBackendNew func(string, string, string) uintptr
369 // the directory specified by the `GKeyfileSettingsBackend:defaults-dir`369 // the directory specified by the `GKeyfileSettingsBackend:defaults-dir`
370 // property, and a list of locked keys from a text file with the name `locks` in370 // property, and a list of locked keys from a text file with the name `locks` in
371 // the same location.371 // the same location.
372-func KeyfileSettingsBackendNew(FilenameVar string, RootPathVar string, RootGroupVar string) *SettingsBackend {372+func KeyfileSettingsBackendNew(FilenameVar string, RootPathVar string, RootGroupVar *string) *SettingsBackend {
373 var cls *SettingsBackend373 var cls *SettingsBackend
374 374
375- cret := xKeyfileSettingsBackendNew(FilenameVar, RootPathVar, RootGroupVar)375+ cret := xKeyfileSettingsBackendNew(FilenameVar, RootPathVar, core.NullableStringToPtr(RootGroupVar))
376 376
377 if cret == 0 {377 if cret == 0 {
378 return nil378 return nil
M v4/gio/gsimpleaction.go +1 -1
@@ -155,7 +155,7 @@ func (x *SimpleAction) GetPropertyEnabled() bool {
155 func (x *SimpleAction) SetPropertyName(value string) {155 func (x *SimpleAction) SetPropertyName(value string) {
156 var v gobject.Value156 var v gobject.Value
157 v.Init(gobject.TypeStringVal)157 v.Init(gobject.TypeStringVal)
158- v.SetString(value)158+ v.SetString(&value)
159 x.SetProperty("name", &v)159 x.SetProperty("name", &v)
160 }160 }
161 161
M v4/gio/gsimpleproxyresolver.go +7 -7
@@ -179,7 +179,7 @@ func SimpleProxyResolverNewFromInternalPtr(ptr uintptr) *SimpleProxyResolver {
179 return cls179 return cls
180 }180 }
181 181
182-var xSimpleProxyResolverSetDefaultProxy func(uintptr, string)182+var xSimpleProxyResolverSetDefaultProxy func(uintptr, uintptr)
183 183
184 // Sets the default proxy on @resolver, to be used for any URIs that184 // Sets the default proxy on @resolver, to be used for any URIs that
185 // don't match #GSimpleProxyResolver:ignore-hosts or a proxy set185 // don't match #GSimpleProxyResolver:ignore-hosts or a proxy set
@@ -188,9 +188,9 @@ var xSimpleProxyResolverSetDefaultProxy func(uintptr, string)
188 // If @default_proxy starts with "socks://",188 // If @default_proxy starts with "socks://",
189 // #GSimpleProxyResolver will treat it as referring to all three of189 // #GSimpleProxyResolver will treat it as referring to all three of
190 // the socks5, socks4a, and socks4 proxy types.190 // the socks5, socks4a, and socks4 proxy types.
191-func (x *SimpleProxyResolver) SetDefaultProxy(DefaultProxyVar string) {191+func (x *SimpleProxyResolver) SetDefaultProxy(DefaultProxyVar *string) {
192 192
193- xSimpleProxyResolverSetDefaultProxy(x.GoPointer(), DefaultProxyVar)193+ xSimpleProxyResolverSetDefaultProxy(x.GoPointer(), core.NullableStringToPtr(DefaultProxyVar))
194 194
195 }195 }
196 196
@@ -244,7 +244,7 @@ func (c *SimpleProxyResolver) SetGoPointer(ptr uintptr) {
244 func (x *SimpleProxyResolver) SetPropertyDefaultProxy(value string) {244 func (x *SimpleProxyResolver) SetPropertyDefaultProxy(value string) {
245 var v gobject.Value245 var v gobject.Value
246 v.Init(gobject.TypeStringVal)246 v.Init(gobject.TypeStringVal)
247- v.SetString(value)247+ v.SetString(&value)
248 x.SetProperty("default-proxy", &v)248 x.SetProperty("default-proxy", &v)
249 }249 }
250 250
@@ -402,16 +402,16 @@ func (x *SimpleProxyResolver) LookupFinish(ResultVar AsyncResult) ([]string, err
402 402
403 }403 }
404 404
405-var xSimpleProxyResolverNew func(string, []string) uintptr405+var xSimpleProxyResolverNew func(uintptr, []string) uintptr
406 406
407 // Creates a new #GSimpleProxyResolver. See407 // Creates a new #GSimpleProxyResolver. See
408 // #GSimpleProxyResolver:default-proxy and408 // #GSimpleProxyResolver:default-proxy and
409 // #GSimpleProxyResolver:ignore-hosts for more details on how the409 // #GSimpleProxyResolver:ignore-hosts for more details on how the
410 // arguments are interpreted.410 // arguments are interpreted.
411-func SimpleProxyResolverNew(DefaultProxyVar string, IgnoreHostsVar []string) *ProxyResolverBase {411+func SimpleProxyResolverNew(DefaultProxyVar *string, IgnoreHostsVar []string) *ProxyResolverBase {
412 var cls *ProxyResolverBase412 var cls *ProxyResolverBase
413 413
414- cret := xSimpleProxyResolverNew(DefaultProxyVar, IgnoreHostsVar)414+ cret := xSimpleProxyResolverNew(core.NullableStringToPtr(DefaultProxyVar), IgnoreHostsVar)
415 415
416 if cret == 0 {416 if cret == 0 {
417 return nil417 return nil
M v4/gio/gsocket.go +12 -12
@@ -987,7 +987,7 @@ func (x *Socket) IsConnected() bool {
987 return cret987 return cret
988 }988 }
989 989
990-var xSocketJoinMulticastGroup func(uintptr, uintptr, bool, string, **glib.Error) bool990+var xSocketJoinMulticastGroup func(uintptr, uintptr, bool, uintptr, **glib.Error) bool
991 991
992 // Registers @socket to receive multicast messages sent to @group.992 // Registers @socket to receive multicast messages sent to @group.
993 // @socket must be a %G_SOCKET_TYPE_DATAGRAM socket, and must have993 // @socket must be a %G_SOCKET_TYPE_DATAGRAM socket, and must have
@@ -1003,10 +1003,10 @@ var xSocketJoinMulticastGroup func(uintptr, uintptr, bool, string, **glib.Error)
1003 //1003 //
1004 // To bind to a given source-specific multicast address, use1004 // To bind to a given source-specific multicast address, use
1005 // g_socket_join_multicast_group_ssm() instead.1005 // g_socket_join_multicast_group_ssm() instead.
1006-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) {
1007 var cerr *glib.Error1007 var cerr *glib.Error
1008 1008
1009- cret := xSocketJoinMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVar, &cerr)1009+ cret := xSocketJoinMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, core.NullableStringToPtr(IfaceVar), &cerr)
1010 if cerr == nil {1010 if cerr == nil {
1011 return cret, nil1011 return cret, nil
1012 }1012 }
@@ -1014,7 +1014,7 @@ func (x *Socket) JoinMulticastGroup(GroupVar *InetAddress, SourceSpecificVar boo
1014 1014
1015 }1015 }
1016 1016
1017-var xSocketJoinMulticastGroupSsm func(uintptr, uintptr, uintptr, string, **glib.Error) bool1017+var xSocketJoinMulticastGroupSsm func(uintptr, uintptr, uintptr, uintptr, **glib.Error) bool
1018 1018
1019 // Registers @socket to receive multicast messages sent to @group.1019 // Registers @socket to receive multicast messages sent to @group.
1020 // @socket must be a %G_SOCKET_TYPE_DATAGRAM socket, and must have1020 // @socket must be a %G_SOCKET_TYPE_DATAGRAM socket, and must have
@@ -1031,10 +1031,10 @@ var xSocketJoinMulticastGroupSsm func(uintptr, uintptr, uintptr, string, **glib.
1031 // Note that this function can be called multiple times for the same1031 // Note that this function can be called multiple times for the same
1032 // @group with different @source_specific in order to receive multicast1032 // @group with different @source_specific in order to receive multicast
1033 // packets from more than one source.1033 // packets from more than one source.
1034-func (x *Socket) JoinMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar string) (bool, error) {1034+func (x *Socket) JoinMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {
1035 var cerr *glib.Error1035 var cerr *glib.Error
1036 1036
1037- cret := xSocketJoinMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVar, &cerr)1037+ cret := xSocketJoinMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), core.NullableStringToPtr(IfaceVar), &cerr)
1038 if cerr == nil {1038 if cerr == nil {
1039 return cret, nil1039 return cret, nil
1040 }1040 }
@@ -1042,7 +1042,7 @@ func (x *Socket) JoinMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar
1042 1042
1043 }1043 }
1044 1044
1045-var xSocketLeaveMulticastGroup func(uintptr, uintptr, bool, string, **glib.Error) bool1045+var xSocketLeaveMulticastGroup func(uintptr, uintptr, bool, uintptr, **glib.Error) bool
1046 1046
1047 // Removes @socket from the multicast group defined by @group, @iface,1047 // Removes @socket from the multicast group defined by @group, @iface,
1048 // and @source_specific (which must all have the same values they had1048 // and @source_specific (which must all have the same values they had
@@ -1053,10 +1053,10 @@ var xSocketLeaveMulticastGroup func(uintptr, uintptr, bool, string, **glib.Error
1053 //1053 //
1054 // To unbind to a given source-specific multicast address, use1054 // To unbind to a given source-specific multicast address, use
1055 // g_socket_leave_multicast_group_ssm() instead.1055 // g_socket_leave_multicast_group_ssm() instead.
1056-func (x *Socket) LeaveMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar string) (bool, error) {1056+func (x *Socket) LeaveMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bool, IfaceVar *string) (bool, error) {
1057 var cerr *glib.Error1057 var cerr *glib.Error
1058 1058
1059- cret := xSocketLeaveMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, IfaceVar, &cerr)1059+ cret := xSocketLeaveMulticastGroup(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar, core.NullableStringToPtr(IfaceVar), &cerr)
1060 if cerr == nil {1060 if cerr == nil {
1061 return cret, nil1061 return cret, nil
1062 }1062 }
@@ -1064,7 +1064,7 @@ func (x *Socket) LeaveMulticastGroup(GroupVar *InetAddress, SourceSpecificVar bo
1064 1064
1065 }1065 }
1066 1066
1067-var xSocketLeaveMulticastGroupSsm func(uintptr, uintptr, uintptr, string, **glib.Error) bool1067+var xSocketLeaveMulticastGroupSsm func(uintptr, uintptr, uintptr, uintptr, **glib.Error) bool
1068 1068
1069 // Removes @socket from the multicast group defined by @group, @iface,1069 // Removes @socket from the multicast group defined by @group, @iface,
1070 // and @source_specific (which must all have the same values they had1070 // and @source_specific (which must all have the same values they had
@@ -1072,10 +1072,10 @@ var xSocketLeaveMulticastGroupSsm func(uintptr, uintptr, uintptr, string, **glib
1072 //1072 //
1073 // @socket remains bound to its address and port, and can still receive1073 // @socket remains bound to its address and port, and can still receive
1074 // unicast messages after calling this.1074 // unicast messages after calling this.
1075-func (x *Socket) LeaveMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar string) (bool, error) {1075+func (x *Socket) LeaveMulticastGroupSsm(GroupVar *InetAddress, SourceSpecificVar *InetAddress, IfaceVar *string) (bool, error) {
1076 var cerr *glib.Error1076 var cerr *glib.Error
1077 1077
1078- cret := xSocketLeaveMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), IfaceVar, &cerr)1078+ cret := xSocketLeaveMulticastGroupSsm(x.GoPointer(), GroupVar.GoPointer(), SourceSpecificVar.GoPointer(), core.NullableStringToPtr(IfaceVar), &cerr)
1079 if cerr == nil {1079 if cerr == nil {
1080 return cret, nil1080 return cret, nil
1081 }1081 }
M v4/gio/gsubprocess.go +6 -6
@@ -228,17 +228,17 @@ func (x *Subprocess) CommunicateFinish(ResultVar AsyncResult, StdoutBufVar **gli
228 228
229 }229 }
230 230
231-var xSubprocessCommunicateUtf8 func(uintptr, string, uintptr, *string, *string, **glib.Error) bool231+var xSubprocessCommunicateUtf8 func(uintptr, uintptr, uintptr, *string, *string, **glib.Error) bool
232 232
233 // Like g_subprocess_communicate(), but validates the output of the233 // Like g_subprocess_communicate(), but validates the output of the
234 // process as UTF-8, and returns it as a regular NUL terminated string.234 // process as UTF-8, and returns it as a regular NUL terminated string.
235 //235 //
236 // On error, @stdout_buf and @stderr_buf will be set to undefined values and236 // On error, @stdout_buf and @stderr_buf will be set to undefined values and
237 // should not be used.237 // should not be used.
238-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) {
239 var cerr *glib.Error239 var cerr *glib.Error
240 240
241- cret := xSubprocessCommunicateUtf8(x.GoPointer(), StdinBufVar, CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)241+ cret := xSubprocessCommunicateUtf8(x.GoPointer(), core.NullableStringToPtr(StdinBufVar), CancellableVar.GoPointer(), StdoutBufVar, StderrBufVar, &cerr)
242 if cerr == nil {242 if cerr == nil {
243 return cret, nil243 return cret, nil
244 }244 }
@@ -246,11 +246,11 @@ func (x *Subprocess) CommunicateUtf8(StdinBufVar string, CancellableVar *Cancell
246 246
247 }247 }
248 248
249-var xSubprocessCommunicateUtf8Async func(uintptr, string, uintptr, uintptr, uintptr)249+var xSubprocessCommunicateUtf8Async func(uintptr, uintptr, uintptr, uintptr, uintptr)
250 250
251 // Asynchronous version of g_subprocess_communicate_utf8(). Complete251 // Asynchronous version of g_subprocess_communicate_utf8(). Complete
252 // invocation with g_subprocess_communicate_utf8_finish().252 // invocation with g_subprocess_communicate_utf8_finish().
253-func (x *Subprocess) CommunicateUtf8Async(StdinBufVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {253+func (x *Subprocess) CommunicateUtf8Async(StdinBufVar *string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) {
254 254
255 var CallbackVarRef uintptr255 var CallbackVarRef uintptr
256 if CallbackVar != nil {256 if CallbackVar != nil {
@@ -267,7 +267,7 @@ func (x *Subprocess) CommunicateUtf8Async(StdinBufVar string, CancellableVar *Ca
267 }267 }
268 }268 }
269 269
270- xSubprocessCommunicateUtf8Async(x.GoPointer(), StdinBufVar, CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)270+ xSubprocessCommunicateUtf8Async(x.GoPointer(), core.NullableStringToPtr(StdinBufVar), CancellableVar.GoPointer(), CallbackVarRef, UserDataVar)
271 271
272 }272 }
273 273
M v4/gio/gsubprocesslauncher.go +9 -9
@@ -197,7 +197,7 @@ func (x *SubprocessLauncher) SetFlags(FlagsVar SubprocessFlags) {
197 197
198 }198 }
199 199
200-var xSubprocessLauncherSetStderrFilePath func(uintptr, string)200+var xSubprocessLauncherSetStderrFilePath func(uintptr, uintptr)
201 201
202 // Sets the file path to use as the stderr for spawned processes.202 // Sets the file path to use as the stderr for spawned processes.
203 //203 //
@@ -213,13 +213,13 @@ var xSubprocessLauncherSetStderrFilePath func(uintptr, string)
213 // if the launcher flags contain any flags directing stderr elsewhere.213 // if the launcher flags contain any flags directing stderr elsewhere.
214 //214 //
215 // This feature is only available on UNIX.215 // This feature is only available on UNIX.
216-func (x *SubprocessLauncher) SetStderrFilePath(PathVar string) {216+func (x *SubprocessLauncher) SetStderrFilePath(PathVar *string) {
217 217
218- xSubprocessLauncherSetStderrFilePath(x.GoPointer(), PathVar)218+ xSubprocessLauncherSetStderrFilePath(x.GoPointer(), core.NullableStringToPtr(PathVar))
219 219
220 }220 }
221 221
222-var xSubprocessLauncherSetStdinFilePath func(uintptr, string)222+var xSubprocessLauncherSetStdinFilePath func(uintptr, uintptr)
223 223
224 // Sets the file path to use as the stdin for spawned processes.224 // Sets the file path to use as the stdin for spawned processes.
225 //225 //
@@ -231,13 +231,13 @@ var xSubprocessLauncherSetStdinFilePath func(uintptr, string)
231 // the launcher flags contain any flags directing stdin elsewhere.231 // the launcher flags contain any flags directing stdin elsewhere.
232 //232 //
233 // This feature is only available on UNIX.233 // This feature is only available on UNIX.
234-func (x *SubprocessLauncher) SetStdinFilePath(PathVar string) {234+func (x *SubprocessLauncher) SetStdinFilePath(PathVar *string) {
235 235
236- xSubprocessLauncherSetStdinFilePath(x.GoPointer(), PathVar)236+ xSubprocessLauncherSetStdinFilePath(x.GoPointer(), core.NullableStringToPtr(PathVar))
237 237
238 }238 }
239 239
240-var xSubprocessLauncherSetStdoutFilePath func(uintptr, string)240+var xSubprocessLauncherSetStdoutFilePath func(uintptr, uintptr)
241 241
242 // Sets the file path to use as the stdout for spawned processes.242 // Sets the file path to use as the stdout for spawned processes.
243 //243 //
@@ -250,9 +250,9 @@ var xSubprocessLauncherSetStdoutFilePath func(uintptr, string)
250 // if the launcher flags contain any flags directing stdout elsewhere.250 // if the launcher flags contain any flags directing stdout elsewhere.
251 //251 //
252 // This feature is only available on UNIX.252 // This feature is only available on UNIX.
253-func (x *SubprocessLauncher) SetStdoutFilePath(PathVar string) {253+func (x *SubprocessLauncher) SetStdoutFilePath(PathVar *string) {
254 254
255- xSubprocessLauncherSetStdoutFilePath(x.GoPointer(), PathVar)255+ xSubprocessLauncherSetStdoutFilePath(x.GoPointer(), core.NullableStringToPtr(PathVar))
256 256
257 }257 }
258 258
M v4/gio/gtask.go +6 -6
@@ -1165,7 +1165,7 @@ func (x *Task) SetCheckCancellable(CheckCancellableVar bool) {
1165 1165
1166 }1166 }
1167 1167
1168-var xTaskSetName func(uintptr, string)1168+var xTaskSetName func(uintptr, uintptr)
1169 1169
1170 // Sets @task’s name, used in debugging and profiling. The name defaults to1170 // Sets @task’s name, used in debugging and profiling. The name defaults to
1171 // %NULL.1171 // %NULL.
@@ -1176,9 +1176,9 @@ var xTaskSetName func(uintptr, string)
1176 //1176 //
1177 // This function may only be called before the @task is first used in a thread1177 // This function may only be called before the @task is first used in a thread
1178 // other than the one it was constructed in.1178 // other than the one it was constructed in.
1179-func (x *Task) SetName(NameVar string) {1179+func (x *Task) SetName(NameVar *string) {
1180 1180
1181- xTaskSetName(x.GoPointer(), NameVar)1181+ xTaskSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))
1182 1182
1183 }1183 }
1184 1184
@@ -1253,7 +1253,7 @@ func (x *Task) SetSourceTag(SourceTagVar uintptr) {
1253 1253
1254 }1254 }
1255 1255
1256-var xTaskSetStaticName func(uintptr, string)1256+var xTaskSetStaticName func(uintptr, uintptr)
1257 1257
1258 // Sets @task’s name, used in debugging and profiling.1258 // Sets @task’s name, used in debugging and profiling.
1259 //1259 //
@@ -1261,9 +1261,9 @@ var xTaskSetStaticName func(uintptr, string)
1261 //1261 //
1262 // This function is called automatically by [method@Gio.Task.set_source_tag]1262 // This function is called automatically by [method@Gio.Task.set_source_tag]
1263 // unless a name is set.1263 // unless a name is set.
1264-func (x *Task) SetStaticName(NameVar string) {1264+func (x *Task) SetStaticName(NameVar *string) {
1265 1265
1266- xTaskSetStaticName(x.GoPointer(), NameVar)1266+ xTaskSetStaticName(x.GoPointer(), core.NullableStringToPtr(NameVar))
1267 1267
1268 }1268 }
1269 1269
M v4/gio/gthemedicon.go +1 -1
@@ -157,7 +157,7 @@ func (c *ThemedIcon) SetGoPointer(ptr uintptr) {
157 func (x *ThemedIcon) SetPropertyName(value string) {157 func (x *ThemedIcon) SetPropertyName(value string) {
158 var v gobject.Value158 var v gobject.Value
159 v.Init(gobject.TypeStringVal)159 v.Init(gobject.TypeStringVal)
160- v.SetString(value)160+ v.SetString(&value)
161 x.SetProperty("name", &v)161 x.SetProperty("name", &v)
162 }162 }
163 163
M v4/gio/gtlscertificate.go +11 -11
@@ -203,7 +203,7 @@ func NewTlsCertificateFromPem(DataVar string, LengthVar int) (*TlsCertificate, e
203 203
204 }204 }
205 205
206-var xNewTlsCertificateFromPkcs11Uris func(string, string, **glib.Error) uintptr206+var xNewTlsCertificateFromPkcs11Uris func(string, uintptr, **glib.Error) uintptr
207 207
208 // Creates a #GTlsCertificate from a208 // Creates a #GTlsCertificate from a
209 // [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html) URI.209 // [PKCS \#11](https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/os/pkcs11-base-v3.0-os.html) URI.
@@ -232,11 +232,11 @@ var xNewTlsCertificateFromPkcs11Uris func(string, string, **glib.Error) uintptr
232 // @private_key_pkcs11_uri allows using a private key exposed under a different URI.232 // @private_key_pkcs11_uri allows using a private key exposed under a different URI.
233 //233 //
234 // Note that the private key is not accessed until usage and may fail or require a PIN later.234 // Note that the private key is not accessed until usage and may fail or require a PIN later.
235-func NewTlsCertificateFromPkcs11Uris(Pkcs11UriVar string, PrivateKeyPkcs11UriVar string) (*TlsCertificate, error) {235+func NewTlsCertificateFromPkcs11Uris(Pkcs11UriVar string, PrivateKeyPkcs11UriVar *string) (*TlsCertificate, error) {
236 var cls *TlsCertificate236 var cls *TlsCertificate
237 var cerr *glib.Error237 var cerr *glib.Error
238 238
239- cret := xNewTlsCertificateFromPkcs11Uris(Pkcs11UriVar, PrivateKeyPkcs11UriVar, &cerr)239+ cret := xNewTlsCertificateFromPkcs11Uris(Pkcs11UriVar, core.NullableStringToPtr(PrivateKeyPkcs11UriVar), &cerr)
240 240
241 if cret == 0 {241 if cret == 0 {
242 return nil, cerr242 return nil, cerr
@@ -250,7 +250,7 @@ func NewTlsCertificateFromPkcs11Uris(Pkcs11UriVar string, PrivateKeyPkcs11UriVar
250 250
251 }251 }
252 252
253-var xNewTlsCertificateFromPkcs12 func([]byte, uint, string, **glib.Error) uintptr253+var xNewTlsCertificateFromPkcs12 func([]byte, uint, uintptr, **glib.Error) uintptr
254 254
255 // Creates a #GTlsCertificate from the data in @data. It must contain255 // Creates a #GTlsCertificate from the data in @data. It must contain
256 // a certificate and matching private key.256 // a certificate and matching private key.
@@ -269,11 +269,11 @@ var xNewTlsCertificateFromPkcs12 func([]byte, uint, string, **glib.Error) uintpt
269 // %G_IO_ERROR_NOT_SUPPORTED.269 // %G_IO_ERROR_NOT_SUPPORTED.
270 //270 //
271 // Other parsing failures will error with %G_TLS_ERROR_BAD_CERTIFICATE.271 // Other parsing failures will error with %G_TLS_ERROR_BAD_CERTIFICATE.
272-func NewTlsCertificateFromPkcs12(DataVar []byte, LengthVar uint, PasswordVar string) (*TlsCertificate, error) {272+func NewTlsCertificateFromPkcs12(DataVar []byte, LengthVar uint, PasswordVar *string) (*TlsCertificate, error) {
273 var cls *TlsCertificate273 var cls *TlsCertificate
274 var cerr *glib.Error274 var cerr *glib.Error
275 275
276- cret := xNewTlsCertificateFromPkcs12(DataVar, LengthVar, PasswordVar, &cerr)276+ cret := xNewTlsCertificateFromPkcs12(DataVar, LengthVar, core.NullableStringToPtr(PasswordVar), &cerr)
277 277
278 if cret == 0 {278 if cret == 0 {
279 return nil, cerr279 return nil, cerr
@@ -455,7 +455,7 @@ func (x *TlsCertificate) GetPropertyCertificate() []byte {
455 func (x *TlsCertificate) SetPropertyCertificatePem(value string) {455 func (x *TlsCertificate) SetPropertyCertificatePem(value string) {
456 var v gobject.Value456 var v gobject.Value
457 v.Init(gobject.TypeStringVal)457 v.Init(gobject.TypeStringVal)
458- v.SetString(value)458+ v.SetString(&value)
459 x.SetProperty("certificate-pem", &v)459 x.SetProperty("certificate-pem", &v)
460 }460 }
461 461
@@ -527,7 +527,7 @@ func (x *TlsCertificate) GetPropertyNotValidBefore() uintptr {
527 func (x *TlsCertificate) SetPropertyPassword(value string) {527 func (x *TlsCertificate) SetPropertyPassword(value string) {
528 var v gobject.Value528 var v gobject.Value
529 v.Init(gobject.TypeStringVal)529 v.Init(gobject.TypeStringVal)
530- v.SetString(value)530+ v.SetString(&value)
531 x.SetProperty("password", &v)531 x.SetProperty("password", &v)
532 }532 }
533 533
@@ -540,7 +540,7 @@ func (x *TlsCertificate) SetPropertyPassword(value string) {
540 func (x *TlsCertificate) SetPropertyPkcs11Uri(value string) {540 func (x *TlsCertificate) SetPropertyPkcs11Uri(value string) {
541 var v gobject.Value541 var v gobject.Value
542 v.Init(gobject.TypeStringVal)542 v.Init(gobject.TypeStringVal)
543- v.SetString(value)543+ v.SetString(&value)
544 x.SetProperty("pkcs11-uri", &v)544 x.SetProperty("pkcs11-uri", &v)
545 }545 }
546 546
@@ -642,7 +642,7 @@ func (x *TlsCertificate) GetPropertyPrivateKey() []byte {
642 func (x *TlsCertificate) SetPropertyPrivateKeyPem(value string) {642 func (x *TlsCertificate) SetPropertyPrivateKeyPem(value string) {
643 var v gobject.Value643 var v gobject.Value
644 v.Init(gobject.TypeStringVal)644 v.Init(gobject.TypeStringVal)
645- v.SetString(value)645+ v.SetString(&value)
646 x.SetProperty("private-key-pem", &v)646 x.SetProperty("private-key-pem", &v)
647 }647 }
648 648
@@ -677,7 +677,7 @@ func (x *TlsCertificate) GetPropertyPrivateKeyPem() string {
677 func (x *TlsCertificate) SetPropertyPrivateKeyPkcs11Uri(value string) {677 func (x *TlsCertificate) SetPropertyPrivateKeyPkcs11Uri(value string) {
678 var v gobject.Value678 var v gobject.Value
679 v.Init(gobject.TypeStringVal)679 v.Init(gobject.TypeStringVal)
680- v.SetString(value)680+ v.SetString(&value)
681 x.SetProperty("private-key-pkcs11-uri", &v)681 x.SetProperty("private-key-pkcs11-uri", &v)
682 }682 }
683 683
M v4/gio/gtlsfiledatabase.go +1 -1
@@ -64,7 +64,7 @@ func (x *TlsFileDatabaseBase) SetPropertyAnchors(value string) {
64 obj.Ptr = x.GoPointer()64 obj.Ptr = x.GoPointer()
65 var v gobject.Value65 var v gobject.Value
66 v.Init(gobject.TypeStringVal)66 v.Init(gobject.TypeStringVal)
67- v.SetString(value)67+ v.SetString(&value)
68 obj.SetProperty("anchors", &v)68 obj.SetProperty("anchors", &v)
69 }69 }
70 70
M v4/gio/gtlspassword.go +2 -2
@@ -286,7 +286,7 @@ func (c *TlsPassword) SetGoPointer(ptr uintptr) {
286 func (x *TlsPassword) SetPropertyDescription(value string) {286 func (x *TlsPassword) SetPropertyDescription(value string) {
287 var v gobject.Value287 var v gobject.Value
288 v.Init(gobject.TypeStringVal)288 v.Init(gobject.TypeStringVal)
289- v.SetString(value)289+ v.SetString(&value)
290 x.SetProperty("description", &v)290 x.SetProperty("description", &v)
291 }291 }
292 292
@@ -303,7 +303,7 @@ func (x *TlsPassword) GetPropertyDescription() string {
303 func (x *TlsPassword) SetPropertyWarning(value string) {303 func (x *TlsPassword) SetPropertyWarning(value string) {
304 var v gobject.Value304 var v gobject.Value
305 v.Init(gobject.TypeStringVal)305 v.Init(gobject.TypeStringVal)
306- v.SetString(value)306+ v.SetString(&value)
307 x.SetProperty("warning", &v)307 x.SetProperty("warning", &v)
308 }308 }
309 309
M v4/gio/gunixsocketaddress.go +1 -1
@@ -223,7 +223,7 @@ func (x *UnixSocketAddress) GetPropertyAbstract() bool {
223 func (x *UnixSocketAddress) SetPropertyPath(value string) {223 func (x *UnixSocketAddress) SetPropertyPath(value string) {
224 var v gobject.Value224 var v gobject.Value
225 v.Init(gobject.TypeStringVal)225 v.Init(gobject.TypeStringVal)
226- v.SetString(value)226+ v.SetString(&value)
227 x.SetProperty("path", &v)227 x.SetProperty("path", &v)
228 }228 }
229 229
M v4/glib/gbacktrace.go +3 -3
@@ -64,7 +64,7 @@ func OnErrorQuery(PrgNameVar string) {
64 64
65 }65 }
66 66
67-var xOnErrorStackTrace func(string)67+var xOnErrorStackTrace func(uintptr)
68 68
69 // Invokes gdb, which attaches to the current process and shows a69 // Invokes gdb, which attaches to the current process and shows a
70 // stack trace. Called by g_on_error_query() when the "[S]tack trace"70 // stack trace. Called by g_on_error_query() when the "[S]tack trace"
@@ -79,9 +79,9 @@ var xOnErrorStackTrace func(string)
79 // exception, which will crash the program. If the `G_DEBUGGER` environment79 // exception, which will crash the program. If the `G_DEBUGGER` environment
80 // variable is set, a debugger will be invoked to attach and80 // variable is set, a debugger will be invoked to attach and
81 // handle that exception (see [Running GLib Applications](running.html)).81 // handle that exception (see [Running GLib Applications](running.html)).
82-func OnErrorStackTrace(PrgNameVar string) {82+func OnErrorStackTrace(PrgNameVar *string) {
83 83
84- xOnErrorStackTrace(PrgNameVar)84+ xOnErrorStackTrace(core.NullableStringToPtr(PrgNameVar))
85 85
86 }86 }
87 87
M v4/glib/gbookmarkfile.go +18 -18
@@ -74,7 +74,7 @@ func NewBookmarkFile() *BookmarkFile {
74 return cret74 return cret
75 }75 }
76 76
77-var xBookmarkFileAddApplication func(uintptr, string, string, string)77+var xBookmarkFileAddApplication func(uintptr, string, uintptr, uintptr)
78 78
79 // Adds the application with @name and @exec to the list of79 // Adds the application with @name and @exec to the list of
80 // applications that have registered a bookmark for @uri into80 // applications that have registered a bookmark for @uri into
@@ -98,9 +98,9 @@ var xBookmarkFileAddApplication func(uintptr, string, string, string)
98 // @uri inside @bookmark.98 // @uri inside @bookmark.
99 //99 //
100 // If no bookmark for @uri is found, one is created.100 // If no bookmark for @uri is found, one is created.
101-func (x *BookmarkFile) AddApplication(UriVar string, NameVar string, ExecVar string) {101+func (x *BookmarkFile) AddApplication(UriVar string, NameVar *string, ExecVar *string) {
102 102
103- xBookmarkFileAddApplication(x.GoPointer(), UriVar, NameVar, ExecVar)103+ xBookmarkFileAddApplication(x.GoPointer(), UriVar, core.NullableStringToPtr(NameVar), core.NullableStringToPtr(ExecVar))
104 104
105 }105 }
106 106
@@ -373,7 +373,7 @@ func (x *BookmarkFile) GetSize() int {
373 return cret373 return cret
374 }374 }
375 375
376-var xBookmarkFileGetTitle func(uintptr, string, **Error) string376+var xBookmarkFileGetTitle func(uintptr, uintptr, **Error) string
377 377
378 // Returns the title of the bookmark for @uri.378 // Returns the title of the bookmark for @uri.
379 //379 //
@@ -381,10 +381,10 @@ var xBookmarkFileGetTitle func(uintptr, string, **Error) string
381 //381 //
382 // In the event the URI cannot be found, %NULL is returned and382 // In the event the URI cannot be found, %NULL is returned and
383 // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.383 // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.
384-func (x *BookmarkFile) GetTitle(UriVar string) (string, error) {384+func (x *BookmarkFile) GetTitle(UriVar *string) (string, error) {
385 var cerr *Error385 var cerr *Error
386 386
387- cret := xBookmarkFileGetTitle(x.GoPointer(), UriVar, &cerr)387+ cret := xBookmarkFileGetTitle(x.GoPointer(), core.NullableStringToPtr(UriVar), &cerr)
388 if cerr == nil {388 if cerr == nil {
389 return cret, nil389 return cret, nil
390 }390 }
@@ -532,7 +532,7 @@ func (x *BookmarkFile) LoadFromFile(FilenameVar string) (bool, error) {
532 532
533 }533 }
534 534
535-var xBookmarkFileMoveItem func(uintptr, string, string, **Error) bool535+var xBookmarkFileMoveItem func(uintptr, string, uintptr, **Error) bool
536 536
537 // Changes the URI of a bookmark item from @old_uri to @new_uri. Any537 // Changes the URI of a bookmark item from @old_uri to @new_uri. Any
538 // existing bookmark for @new_uri will be overwritten. If @new_uri is538 // existing bookmark for @new_uri will be overwritten. If @new_uri is
@@ -540,10 +540,10 @@ var xBookmarkFileMoveItem func(uintptr, string, string, **Error) bool
540 //540 //
541 // In the event the URI cannot be found, %FALSE is returned and541 // In the event the URI cannot be found, %FALSE is returned and
542 // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.542 // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.
543-func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar string) (bool, error) {543+func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar *string) (bool, error) {
544 var cerr *Error544 var cerr *Error
545 545
546- cret := xBookmarkFileMoveItem(x.GoPointer(), OldUriVar, NewUriVar, &cerr)546+ cret := xBookmarkFileMoveItem(x.GoPointer(), OldUriVar, core.NullableStringToPtr(NewUriVar), &cerr)
547 if cerr == nil {547 if cerr == nil {
548 return cret, nil548 return cret, nil
549 }549 }
@@ -709,16 +709,16 @@ func (x *BookmarkFile) SetApplicationInfo(UriVar string, NameVar string, ExecVar
709 709
710 }710 }
711 711
712-var xBookmarkFileSetDescription func(uintptr, string, string)712+var xBookmarkFileSetDescription func(uintptr, uintptr, string)
713 713
714 // Sets @description as the description of the bookmark for @uri.714 // Sets @description as the description of the bookmark for @uri.
715 //715 //
716 // If @uri is %NULL, the description of @bookmark is set.716 // If @uri is %NULL, the description of @bookmark is set.
717 //717 //
718 // If a bookmark for @uri cannot be found then it is created.718 // If a bookmark for @uri cannot be found then it is created.
719-func (x *BookmarkFile) SetDescription(UriVar string, DescriptionVar string) {719+func (x *BookmarkFile) SetDescription(UriVar *string, DescriptionVar string) {
720 720
721- xBookmarkFileSetDescription(x.GoPointer(), UriVar, DescriptionVar)721+ xBookmarkFileSetDescription(x.GoPointer(), core.NullableStringToPtr(UriVar), DescriptionVar)
722 722
723 }723 }
724 724
@@ -734,16 +734,16 @@ func (x *BookmarkFile) SetGroups(UriVar string, GroupsVar []string, LengthVar ui
734 734
735 }735 }
736 736
737-var xBookmarkFileSetIcon func(uintptr, string, string, string)737+var xBookmarkFileSetIcon func(uintptr, string, uintptr, string)
738 738
739 // Sets the icon for the bookmark for @uri. If @href is %NULL, unsets739 // Sets the icon for the bookmark for @uri. If @href is %NULL, unsets
740 // the currently set icon. @href can either be a full URL for the icon740 // the currently set icon. @href can either be a full URL for the icon
741 // file or the icon name following the Icon Naming specification.741 // file or the icon name following the Icon Naming specification.
742 //742 //
743 // If no bookmark for @uri is found one is created.743 // If no bookmark for @uri is found one is created.
744-func (x *BookmarkFile) SetIcon(UriVar string, HrefVar string, MimeTypeVar string) {744+func (x *BookmarkFile) SetIcon(UriVar string, HrefVar *string, MimeTypeVar string) {
745 745
746- xBookmarkFileSetIcon(x.GoPointer(), UriVar, HrefVar, MimeTypeVar)746+ xBookmarkFileSetIcon(x.GoPointer(), UriVar, core.NullableStringToPtr(HrefVar), MimeTypeVar)
747 747
748 }748 }
749 749
@@ -801,7 +801,7 @@ func (x *BookmarkFile) SetModifiedDateTime(UriVar string, ModifiedVar *DateTime)
801 801
802 }802 }
803 803
804-var xBookmarkFileSetTitle func(uintptr, string, string)804+var xBookmarkFileSetTitle func(uintptr, uintptr, string)
805 805
806 // Sets @title as the title of the bookmark for @uri inside the806 // Sets @title as the title of the bookmark for @uri inside the
807 // bookmark file @bookmark.807 // bookmark file @bookmark.
@@ -809,9 +809,9 @@ var xBookmarkFileSetTitle func(uintptr, string, string)
809 // If @uri is %NULL, the title of @bookmark is set.809 // If @uri is %NULL, the title of @bookmark is set.
810 //810 //
811 // If a bookmark for @uri cannot be found then it is created.811 // If a bookmark for @uri cannot be found then it is created.
812-func (x *BookmarkFile) SetTitle(UriVar string, TitleVar string) {812+func (x *BookmarkFile) SetTitle(UriVar *string, TitleVar string) {
813 813
814- xBookmarkFileSetTitle(x.GoPointer(), UriVar, TitleVar)814+ xBookmarkFileSetTitle(x.GoPointer(), core.NullableStringToPtr(UriVar), TitleVar)
815 815
816 }816 }
817 817
M v4/glib/gconvert.go +3 -3
@@ -266,14 +266,14 @@ func FilenameFromUtf8(Utf8stringVar string, LenVar int, BytesReadVar *uint, Byte
266 266
267 }267 }
268 268
269-var xFilenameToUri func(string, string, **Error) string269+var xFilenameToUri func(string, uintptr, **Error) string
270 270
271 // Converts an absolute filename to an escaped ASCII-encoded URI, with the path271 // Converts an absolute filename to an escaped ASCII-encoded URI, with the path
272 // component following Section 3.3. of RFC 2396.272 // component following Section 3.3. of RFC 2396.
273-func FilenameToUri(FilenameVar string, HostnameVar string) (string, error) {273+func FilenameToUri(FilenameVar string, HostnameVar *string) (string, error) {
274 var cerr *Error274 var cerr *Error
275 275
276- cret := xFilenameToUri(FilenameVar, HostnameVar, &cerr)276+ cret := xFilenameToUri(FilenameVar, core.NullableStringToPtr(HostnameVar), &cerr)
277 if cerr == nil {277 if cerr == nil {
278 return cret, nil278 return cret, nil
279 }279 }
M v4/glib/gfileutils.go +9 -9
@@ -282,7 +282,7 @@ func BuildPathv(SeparatorVar string, ArgsVar []string) string {
282 return cret282 return cret
283 }283 }
284 284
285-var xCanonicalizeFilename func(string, string) string285+var xCanonicalizeFilename func(string, uintptr) string
286 286
287 // Gets the canonical file name from @filename. All triple slashes are turned into287 // Gets the canonical file name from @filename. All triple slashes are turned into
288 // single slashes, and all `..` and `.`s resolved against @relative_to.288 // single slashes, and all `..` and `.`s resolved against @relative_to.
@@ -298,13 +298,13 @@ var xCanonicalizeFilename func(string, string) string
298 // exist.298 // exist.
299 //299 //
300 // No file system I/O is done.300 // No file system I/O is done.
301-func CanonicalizeFilename(FilenameVar string, RelativeToVar string) string {301+func CanonicalizeFilename(FilenameVar string, RelativeToVar *string) string {
302 302
303- cret := xCanonicalizeFilename(FilenameVar, RelativeToVar)303+ cret := xCanonicalizeFilename(FilenameVar, core.NullableStringToPtr(RelativeToVar))
304 return cret304 return cret
305 }305 }
306 306
307-var xDirMakeTmp func(string, **Error) string307+var xDirMakeTmp func(uintptr, **Error) string
308 308
309 // Creates a subdirectory in the preferred directory for temporary309 // Creates a subdirectory in the preferred directory for temporary
310 // files (as returned by g_get_tmp_dir()).310 // files (as returned by g_get_tmp_dir()).
@@ -317,10 +317,10 @@ var xDirMakeTmp func(string, **Error) string
317 //317 //
318 // Note that in contrast to g_mkdtemp() (and mkdtemp()) @tmpl is not318 // Note that in contrast to g_mkdtemp() (and mkdtemp()) @tmpl is not
319 // modified, and might thus be a read-only literal string.319 // modified, and might thus be a read-only literal string.
320-func DirMakeTmp(TmplVar string) (string, error) {320+func DirMakeTmp(TmplVar *string) (string, error) {
321 var cerr *Error321 var cerr *Error
322 322
323- cret := xDirMakeTmp(TmplVar, &cerr)323+ cret := xDirMakeTmp(core.NullableStringToPtr(TmplVar), &cerr)
324 if cerr == nil {324 if cerr == nil {
325 return cret, nil325 return cret, nil
326 }326 }
@@ -368,7 +368,7 @@ func FileGetContents(FilenameVar string, ContentsVar *[]byte, LengthVar *uint) (
368 368
369 }369 }
370 370
371-var xFileOpenTmp func(string, *string, **Error) int371+var xFileOpenTmp func(uintptr, *string, **Error) int
372 372
373 // Opens a file for writing in the preferred directory for temporary373 // Opens a file for writing in the preferred directory for temporary
374 // files (as returned by g_get_tmp_dir()).374 // files (as returned by g_get_tmp_dir()).
@@ -386,10 +386,10 @@ var xFileOpenTmp func(string, *string, **Error) int
386 // is returned in @name_used. This string should be freed with g_free()386 // is returned in @name_used. This string should be freed with g_free()
387 // when not needed any longer. The returned name is in the GLib file387 // when not needed any longer. The returned name is in the GLib file
388 // name encoding.388 // name encoding.
389-func FileOpenTmp(TmplVar string, NameUsedVar *string) (int, error) {389+func FileOpenTmp(TmplVar *string, NameUsedVar *string) (int, error) {
390 var cerr *Error390 var cerr *Error
391 391
392- cret := xFileOpenTmp(TmplVar, NameUsedVar, &cerr)392+ cret := xFileOpenTmp(core.NullableStringToPtr(TmplVar), NameUsedVar, &cerr)
393 if cerr == nil {393 if cerr == nil {
394 return cret, nil394 return cret, nil
395 }395 }
M v4/glib/ggettext.go +15 -15
@@ -6,19 +6,19 @@ import (
6 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
7 )7 )
8 8
9-var xDcgettext func(string, string, int) string9+var xDcgettext func(uintptr, string, int) string
10 10
11 // This is a variant of g_dgettext() that allows specifying a locale11 // This is a variant of g_dgettext() that allows specifying a locale
12 // category instead of always using `LC_MESSAGES`. See g_dgettext() for12 // category instead of always using `LC_MESSAGES`. See g_dgettext() for
13 // more information about how this functions differs from calling13 // more information about how this functions differs from calling
14 // dcgettext() directly.14 // dcgettext() directly.
15-func Dcgettext(DomainVar string, MsgidVar string, CategoryVar int) string {15+func Dcgettext(DomainVar *string, MsgidVar string, CategoryVar int) string {
16 16
17- cret := xDcgettext(DomainVar, MsgidVar, CategoryVar)17+ cret := xDcgettext(core.NullableStringToPtr(DomainVar), MsgidVar, CategoryVar)
18 return cret18 return cret
19 }19 }
20 20
21-var xDgettext func(string, string) string21+var xDgettext func(uintptr, string) string
22 22
23 // This function is a wrapper of dgettext() which does not translate23 // This function is a wrapper of dgettext() which does not translate
24 // the message if the default domain as set with textdomain() has no24 // the message if the default domain as set with textdomain() has no
@@ -52,13 +52,13 @@ var xDgettext func(string, string) string
52 //52 //
53 // Applications should normally not use this function directly,53 // Applications should normally not use this function directly,
54 // but use the _() macro for translations.54 // but use the _() macro for translations.
55-func Dgettext(DomainVar string, MsgidVar string) string {55+func Dgettext(DomainVar *string, MsgidVar string) string {
56 56
57- cret := xDgettext(DomainVar, MsgidVar)57+ cret := xDgettext(core.NullableStringToPtr(DomainVar), MsgidVar)
58 return cret58 return cret
59 }59 }
60 60
61-var xDngettext func(string, string, string, uint32) string61+var xDngettext func(uintptr, string, string, uint32) string
62 62
63 // This function is a wrapper of dngettext() which does not translate63 // This function is a wrapper of dngettext() which does not translate
64 // the message if the default domain as set with textdomain() has no64 // the message if the default domain as set with textdomain() has no
@@ -66,13 +66,13 @@ var xDngettext func(string, string, string, uint32) string
66 //66 //
67 // See g_dgettext() for details of how this differs from dngettext()67 // See g_dgettext() for details of how this differs from dngettext()
68 // proper.68 // proper.
69-func Dngettext(DomainVar string, MsgidVar string, MsgidPluralVar string, NVar uint32) string {69+func Dngettext(DomainVar *string, MsgidVar string, MsgidPluralVar string, NVar uint32) string {
70 70
71- cret := xDngettext(DomainVar, MsgidVar, MsgidPluralVar, NVar)71+ cret := xDngettext(core.NullableStringToPtr(DomainVar), MsgidVar, MsgidPluralVar, NVar)
72 return cret72 return cret
73 }73 }
74 74
75-var xDpgettext func(string, string, uint) string75+var xDpgettext func(uintptr, string, uint) string
76 76
77 // This function is a variant of g_dgettext() which supports77 // This function is a variant of g_dgettext() which supports
78 // a disambiguating message context. GNU gettext uses the78 // a disambiguating message context. GNU gettext uses the
@@ -87,13 +87,13 @@ var xDpgettext func(string, string, uint) string
87 //87 //
88 // Applications should normally not use this function directly,88 // Applications should normally not use this function directly,
89 // but use the C_() macro for translations with context.89 // but use the C_() macro for translations with context.
90-func Dpgettext(DomainVar string, MsgctxtidVar string, MsgidoffsetVar uint) string {90+func Dpgettext(DomainVar *string, MsgctxtidVar string, MsgidoffsetVar uint) string {
91 91
92- cret := xDpgettext(DomainVar, MsgctxtidVar, MsgidoffsetVar)92+ cret := xDpgettext(core.NullableStringToPtr(DomainVar), MsgctxtidVar, MsgidoffsetVar)
93 return cret93 return cret
94 }94 }
95 95
96-var xDpgettext2 func(string, string, string) string96+var xDpgettext2 func(uintptr, string, string) string
97 97
98 // This function is a variant of g_dgettext() which supports98 // This function is a variant of g_dgettext() which supports
99 // a disambiguating message context. GNU gettext uses the99 // a disambiguating message context. GNU gettext uses the
@@ -105,9 +105,9 @@ var xDpgettext2 func(string, string, string) string
105 //105 //
106 // This function differs from C_() in that it is not a macro and106 // This function differs from C_() in that it is not a macro and
107 // thus you may use non-string-literals as context and msgid arguments.107 // thus you may use non-string-literals as context and msgid arguments.
108-func Dpgettext2(DomainVar string, ContextVar string, MsgidVar string) string {108+func Dpgettext2(DomainVar *string, ContextVar string, MsgidVar string) string {
109 109
110- cret := xDpgettext2(DomainVar, ContextVar, MsgidVar)110+ cret := xDpgettext2(core.NullableStringToPtr(DomainVar), ContextVar, MsgidVar)
111 return cret111 return cret
112 }112 }
113 113
M v4/glib/giochannel.go +6 -6
@@ -438,7 +438,7 @@ func (x *IOChannel) SetCloseOnUnref(DoCloseVar bool) {
438 438
439 }439 }
440 440
441-var xIOChannelSetEncoding func(uintptr, string, **Error) IOStatus441+var xIOChannelSetEncoding func(uintptr, uintptr, **Error) IOStatus
442 442
443 // Sets the encoding for the input/output of the channel.443 // Sets the encoding for the input/output of the channel.
444 // The internal encoding is always UTF-8. The default encoding444 // The internal encoding is always UTF-8. The default encoding
@@ -474,10 +474,10 @@ var xIOChannelSetEncoding func(uintptr, string, **Error) IOStatus
474 // g_io_channel_seek_position() with an offset of %G_SEEK_CUR, and, if474 // g_io_channel_seek_position() with an offset of %G_SEEK_CUR, and, if
475 // they are "seekable", cannot call g_io_channel_write_chars() after475 // they are "seekable", cannot call g_io_channel_write_chars() after
476 // calling one of the API "read" functions.476 // calling one of the API "read" functions.
477-func (x *IOChannel) SetEncoding(EncodingVar string) (IOStatus, error) {477+func (x *IOChannel) SetEncoding(EncodingVar *string) (IOStatus, error) {
478 var cerr *Error478 var cerr *Error
479 479
480- cret := xIOChannelSetEncoding(x.GoPointer(), EncodingVar, &cerr)480+ cret := xIOChannelSetEncoding(x.GoPointer(), core.NullableStringToPtr(EncodingVar), &cerr)
481 if cerr == nil {481 if cerr == nil {
482 return cret, nil482 return cret, nil
483 }483 }
@@ -499,13 +499,13 @@ func (x *IOChannel) SetFlags(FlagsVar IOFlags) (IOStatus, error) {
499 499
500 }500 }
501 501
502-var xIOChannelSetLineTerm func(uintptr, string, int)502+var xIOChannelSetLineTerm func(uintptr, uintptr, int)
503 503
504 // This sets the string that #GIOChannel uses to determine504 // This sets the string that #GIOChannel uses to determine
505 // where in the file a line break occurs.505 // where in the file a line break occurs.
506-func (x *IOChannel) SetLineTerm(LineTermVar string, LengthVar int) {506+func (x *IOChannel) SetLineTerm(LineTermVar *string, LengthVar int) {
507 507
508- xIOChannelSetLineTerm(x.GoPointer(), LineTermVar, LengthVar)508+ xIOChannelSetLineTerm(x.GoPointer(), core.NullableStringToPtr(LineTermVar), LengthVar)
509 509
510 }510 }
511 511
M v4/glib/gkeyfile.go +18 -18
@@ -230,7 +230,7 @@ func (x *KeyFile) GetBooleanList(GroupNameVar string, KeyVar string, LengthVar *
230 230
231 }231 }
232 232
233-var xKeyFileGetComment func(uintptr, string, string, **Error) string233+var xKeyFileGetComment func(uintptr, uintptr, uintptr, **Error) string
234 234
235 // Retrieves a comment above @key from @group_name.235 // Retrieves a comment above @key from @group_name.
236 //236 //
@@ -241,10 +241,10 @@ var xKeyFileGetComment func(uintptr, string, string, **Error) string
241 // Note that the returned string does not include the `#` comment markers,241 // Note that the returned string does not include the `#` comment markers,
242 // but does include any whitespace after them (on each line). It includes242 // but does include any whitespace after them (on each line). It includes
243 // the line breaks between lines, but does not include the final line break.243 // the line breaks between lines, but does not include the final line break.
244-func (x *KeyFile) GetComment(GroupNameVar string, KeyVar string) (string, error) {244+func (x *KeyFile) GetComment(GroupNameVar *string, KeyVar *string) (string, error) {
245 var cerr *Error245 var cerr *Error
246 246
247- cret := xKeyFileGetComment(x.GoPointer(), GroupNameVar, KeyVar, &cerr)247+ cret := xKeyFileGetComment(x.GoPointer(), core.NullableStringToPtr(GroupNameVar), core.NullableStringToPtr(KeyVar), &cerr)
248 if cerr == nil {248 if cerr == nil {
249 return cret, nil249 return cret, nil
250 }250 }
@@ -377,7 +377,7 @@ func (x *KeyFile) GetKeys(GroupNameVar string, LengthVar *uint) ([]string, error
377 377
378 }378 }
379 379
380-var xKeyFileGetLocaleForKey func(uintptr, string, string, string) string380+var xKeyFileGetLocaleForKey func(uintptr, string, string, uintptr) string
381 381
382 // Returns the actual locale which the result of382 // Returns the actual locale which the result of
383 // [method@GLib.KeyFile.get_locale_string] or383 // [method@GLib.KeyFile.get_locale_string] or
@@ -388,13 +388,13 @@ var xKeyFileGetLocaleForKey func(uintptr, string, string, string) string
388 // @group_name, @key and @locale, the result of those functions will388 // @group_name, @key and @locale, the result of those functions will
389 // have originally been tagged with the locale that is the result of389 // have originally been tagged with the locale that is the result of
390 // this function.390 // this function.
391-func (x *KeyFile) GetLocaleForKey(GroupNameVar string, KeyVar string, LocaleVar string) string {391+func (x *KeyFile) GetLocaleForKey(GroupNameVar string, KeyVar string, LocaleVar *string) string {
392 392
393- cret := xKeyFileGetLocaleForKey(x.GoPointer(), GroupNameVar, KeyVar, LocaleVar)393+ cret := xKeyFileGetLocaleForKey(x.GoPointer(), GroupNameVar, KeyVar, core.NullableStringToPtr(LocaleVar))
394 return cret394 return cret
395 }395 }
396 396
397-var xKeyFileGetLocaleString func(uintptr, string, string, string, **Error) string397+var xKeyFileGetLocaleString func(uintptr, string, string, uintptr, **Error) string
398 398
399 // Returns the value associated with @key under @group_name399 // Returns the value associated with @key under @group_name
400 // translated in the given @locale if available.400 // translated in the given @locale if available.
@@ -412,10 +412,10 @@ var xKeyFileGetLocaleString func(uintptr, string, string, string, **Error) strin
412 // returned. If the value associated412 // returned. If the value associated
413 // with @key cannot be interpreted or no suitable translation can413 // with @key cannot be interpreted or no suitable translation can
414 // be found then the untranslated value is returned.414 // be found then the untranslated value is returned.
415-func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar string) (string, error) {415+func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar *string) (string, error) {
416 var cerr *Error416 var cerr *Error
417 417
418- cret := xKeyFileGetLocaleString(x.GoPointer(), GroupNameVar, KeyVar, LocaleVar, &cerr)418+ cret := xKeyFileGetLocaleString(x.GoPointer(), GroupNameVar, KeyVar, core.NullableStringToPtr(LocaleVar), &cerr)
419 if cerr == nil {419 if cerr == nil {
420 return cret, nil420 return cret, nil
421 }421 }
@@ -423,7 +423,7 @@ func (x *KeyFile) GetLocaleString(GroupNameVar string, KeyVar string, LocaleVar
423 423
424 }424 }
425 425
426-var xKeyFileGetLocaleStringList func(uintptr, string, string, string, *uint, **Error) []string426+var xKeyFileGetLocaleStringList func(uintptr, string, string, uintptr, *uint, **Error) []string
427 427
428 // Returns the values associated with @key under @group_name428 // Returns the values associated with @key under @group_name
429 // translated in the given @locale if available.429 // translated in the given @locale if available.
@@ -443,10 +443,10 @@ var xKeyFileGetLocaleStringList func(uintptr, string, string, string, *uint, **E
443 // can be found then the untranslated values are returned. The443 // can be found then the untranslated values are returned. The
444 // returned array is `NULL`-terminated, so @length may optionally444 // returned array is `NULL`-terminated, so @length may optionally
445 // be `NULL`.445 // be `NULL`.
446-func (x *KeyFile) GetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar string, LengthVar *uint) ([]string, error) {446+func (x *KeyFile) GetLocaleStringList(GroupNameVar string, KeyVar string, LocaleVar *string, LengthVar *uint) ([]string, error) {
447 var cerr *Error447 var cerr *Error
448 448
449- cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, LocaleVar, LengthVar, &cerr)449+ cret := xKeyFileGetLocaleStringList(x.GoPointer(), GroupNameVar, KeyVar, core.NullableStringToPtr(LocaleVar), LengthVar, &cerr)
450 if cerr == nil {450 if cerr == nil {
451 return cret, nil451 return cret, nil
452 }452 }
@@ -686,17 +686,17 @@ func (x *KeyFile) Ref() *KeyFile {
686 return cret686 return cret
687 }687 }
688 688
689-var xKeyFileRemoveComment func(uintptr, string, string, **Error) bool689+var xKeyFileRemoveComment func(uintptr, uintptr, uintptr, **Error) bool
690 690
691 // Removes a comment above @key from @group_name.691 // Removes a comment above @key from @group_name.
692 //692 //
693 // If @key is `NULL` then @comment will be removed above @group_name.693 // If @key is `NULL` then @comment will be removed above @group_name.
694 // If both @key and @group_name are `NULL`, then @comment will694 // If both @key and @group_name are `NULL`, then @comment will
695 // be removed above the first group in the file.695 // be removed above the first group in the file.
696-func (x *KeyFile) RemoveComment(GroupNameVar string, KeyVar string) (bool, error) {696+func (x *KeyFile) RemoveComment(GroupNameVar *string, KeyVar *string) (bool, error) {
697 var cerr *Error697 var cerr *Error
698 698
699- cret := xKeyFileRemoveComment(x.GoPointer(), GroupNameVar, KeyVar, &cerr)699+ cret := xKeyFileRemoveComment(x.GoPointer(), core.NullableStringToPtr(GroupNameVar), core.NullableStringToPtr(KeyVar), &cerr)
700 if cerr == nil {700 if cerr == nil {
701 return cret, nil701 return cret, nil
702 }702 }
@@ -778,7 +778,7 @@ func (x *KeyFile) SetBooleanList(GroupNameVar string, KeyVar string, ListVar []b
778 778
779 }779 }
780 780
781-var xKeyFileSetComment func(uintptr, string, string, string, **Error) bool781+var xKeyFileSetComment func(uintptr, uintptr, uintptr, string, **Error) bool
782 782
783 // Places a comment above @key from @group_name.783 // Places a comment above @key from @group_name.
784 //784 //
@@ -793,10 +793,10 @@ var xKeyFileSetComment func(uintptr, string, string, string, **Error) bool
793 //793 //
794 // Note that this function prepends a `#` comment marker to794 // Note that this function prepends a `#` comment marker to
795 // each line of @comment.795 // each line of @comment.
796-func (x *KeyFile) SetComment(GroupNameVar string, KeyVar string, CommentVar string) (bool, error) {796+func (x *KeyFile) SetComment(GroupNameVar *string, KeyVar *string, CommentVar string) (bool, error) {
797 var cerr *Error797 var cerr *Error
798 798
799- cret := xKeyFileSetComment(x.GoPointer(), GroupNameVar, KeyVar, CommentVar, &cerr)799+ cret := xKeyFileSetComment(x.GoPointer(), core.NullableStringToPtr(GroupNameVar), core.NullableStringToPtr(KeyVar), CommentVar, &cerr)
800 if cerr == nil {800 if cerr == nil {
801 return cret, nil801 return cret, nil
802 }802 }
M v4/glib/gmessages.go +30 -30
@@ -159,7 +159,7 @@ func AssertWarning(LogDomainVar string, FileVar string, LineVar int, PrettyFunct
159 159
160 }160 }
161 161
162-var xLog func(string, LogLevelFlags, string, ...interface{})162+var xLog func(uintptr, LogLevelFlags, string, ...interface{})
163 163
164 // Logs an error or debugging message.164 // Logs an error or debugging message.
165 //165 //
@@ -173,13 +173,13 @@ var xLog func(string, LogLevelFlags, string, ...interface{})
173 //173 //
174 // If [structured logging is enabled](logging.html#using-structured-logging) this will174 // If [structured logging is enabled](logging.html#using-structured-logging) this will
175 // output via the structured log writer function (see [func@GLib.log_set_writer_func]).175 // output via the structured log writer function (see [func@GLib.log_set_writer_func]).
176-func Log(LogDomainVar string, LogLevelVar LogLevelFlags, FormatVar string, varArgs ...interface{}) {176+func Log(LogDomainVar *string, LogLevelVar LogLevelFlags, FormatVar string, varArgs ...interface{}) {
177 177
178- xLog(LogDomainVar, LogLevelVar, FormatVar, varArgs...)178+ xLog(core.NullableStringToPtr(LogDomainVar), LogLevelVar, FormatVar, varArgs...)
179 179
180 }180 }
181 181
182-var xLogDefaultHandler func(string, LogLevelFlags, string, uintptr)182+var xLogDefaultHandler func(uintptr, LogLevelFlags, uintptr, uintptr)
183 183
184 // The default log handler set up by GLib; [func@GLib.log_set_default_handler]184 // The default log handler set up by GLib; [func@GLib.log_set_default_handler]
185 // allows to install an alternate default log handler.185 // allows to install an alternate default log handler.
@@ -212,9 +212,9 @@ var xLogDefaultHandler func(string, LogLevelFlags, string, uintptr)
212 //212 //
213 // This has no effect if structured logging is enabled; see213 // This has no effect if structured logging is enabled; see
214 // [Using Structured Logging](logging.html#using-structured-logging).214 // [Using Structured Logging](logging.html#using-structured-logging).
215-func LogDefaultHandler(LogDomainVar string, LogLevelVar LogLevelFlags, MessageVar string, UnusedDataVar uintptr) {215+func LogDefaultHandler(LogDomainVar *string, LogLevelVar LogLevelFlags, MessageVar *string, UnusedDataVar uintptr) {
216 216
217- xLogDefaultHandler(LogDomainVar, LogLevelVar, MessageVar, UnusedDataVar)217+ xLogDefaultHandler(core.NullableStringToPtr(LogDomainVar), LogLevelVar, core.NullableStringToPtr(MessageVar), UnusedDataVar)
218 218
219 }219 }
220 220
@@ -380,7 +380,7 @@ func LogSetFatalMask(LogDomainVar string, FatalMaskVar LogLevelFlags) LogLevelFl
380 return cret380 return cret
381 }381 }
382 382
383-var xLogSetHandler func(string, LogLevelFlags, uintptr, uintptr) uint383+var xLogSetHandler func(uintptr, LogLevelFlags, uintptr, uintptr) uint
384 384
385 // Sets the log handler for a domain and a set of log levels.385 // Sets the log handler for a domain and a set of log levels.
386 //386 //
@@ -425,7 +425,7 @@ var xLogSetHandler func(string, LogLevelFlags, uintptr, uintptr) uint
425 // | G_LOG_FLAG_RECURSION, my_log_handler, NULL);425 // | G_LOG_FLAG_RECURSION, my_log_handler, NULL);
426 //426 //
427 // ```427 // ```
428-func LogSetHandler(LogDomainVar string, LogLevelsVar LogLevelFlags, LogFuncVar *LogFunc, UserDataVar uintptr) uint {428+func LogSetHandler(LogDomainVar *string, LogLevelsVar LogLevelFlags, LogFuncVar *LogFunc, UserDataVar uintptr) uint {
429 429
430 var LogFuncVarRef uintptr430 var LogFuncVarRef uintptr
431 if LogFuncVar != nil {431 if LogFuncVar != nil {
@@ -442,11 +442,11 @@ func LogSetHandler(LogDomainVar string, LogLevelsVar LogLevelFlags, LogFuncVar *
442 }442 }
443 }443 }
444 444
445- cret := xLogSetHandler(LogDomainVar, LogLevelsVar, LogFuncVarRef, UserDataVar)445+ cret := xLogSetHandler(core.NullableStringToPtr(LogDomainVar), LogLevelsVar, LogFuncVarRef, UserDataVar)
446 return cret446 return cret
447 }447 }
448 448
449-var xLogSetHandlerFull func(string, LogLevelFlags, uintptr, uintptr, uintptr) uint449+var xLogSetHandlerFull func(uintptr, LogLevelFlags, uintptr, uintptr, uintptr) uint
450 450
451 // Like [func@GLib.log_set_handler], but takes a destroy notify for the @user_data.451 // Like [func@GLib.log_set_handler], but takes a destroy notify for the @user_data.
452 //452 //
@@ -455,7 +455,7 @@ var xLogSetHandlerFull func(string, LogLevelFlags, uintptr, uintptr, uintptr) ui
455 //455 //
456 // The `log_domain` parameter can be set to `NULL` or an empty string to use the default456 // The `log_domain` parameter can be set to `NULL` or an empty string to use the default
457 // application domain.457 // application domain.
458-func LogSetHandlerFull(LogDomainVar string, LogLevelsVar LogLevelFlags, LogFuncVar *LogFunc, UserDataVar uintptr, DestroyVar *DestroyNotify) uint {458+func LogSetHandlerFull(LogDomainVar *string, LogLevelsVar LogLevelFlags, LogFuncVar *LogFunc, UserDataVar uintptr, DestroyVar *DestroyNotify) uint {
459 459
460 var LogFuncVarRef uintptr460 var LogFuncVarRef uintptr
461 if LogFuncVar != nil {461 if LogFuncVar != nil {
@@ -487,7 +487,7 @@ func LogSetHandlerFull(LogDomainVar string, LogLevelsVar LogLevelFlags, LogFuncV
487 }487 }
488 }488 }
489 489
490- cret := xLogSetHandlerFull(LogDomainVar, LogLevelsVar, LogFuncVarRef, UserDataVar, DestroyVarRef)490+ cret := xLogSetHandlerFull(core.NullableStringToPtr(LogDomainVar), LogLevelsVar, LogFuncVarRef, UserDataVar, DestroyVarRef)
491 return cret491 return cret
492 }492 }
493 493
@@ -668,7 +668,7 @@ func LogStructuredStandard(LogDomainVar string, LogLevelVar LogLevelFlags, FileV
668 668
669 }669 }
670 670
671-var xLogVariant func(string, LogLevelFlags, *Variant)671+var xLogVariant func(uintptr, LogLevelFlags, *Variant)
672 672
673 // Log a message with structured data, accepting the data within a [type@GLib.Variant].673 // Log a message with structured data, accepting the data within a [type@GLib.Variant].
674 //674 //
@@ -685,9 +685,9 @@ var xLogVariant func(string, LogLevelFlags, *Variant)
685 // [method@GLib.Variant.print] will be used to convert the value into a string.685 // [method@GLib.Variant.print] will be used to convert the value into a string.
686 //686 //
687 // For more details on its usage and about the parameters, see [func@GLib.log_structured].687 // For more details on its usage and about the parameters, see [func@GLib.log_structured].
688-func LogVariant(LogDomainVar string, LogLevelVar LogLevelFlags, FieldsVar *Variant) {688+func LogVariant(LogDomainVar *string, LogLevelVar LogLevelFlags, FieldsVar *Variant) {
689 689
690- xLogVariant(LogDomainVar, LogLevelVar, FieldsVar)690+ xLogVariant(core.NullableStringToPtr(LogDomainVar), LogLevelVar, FieldsVar)
691 691
692 }692 }
693 693
@@ -721,15 +721,15 @@ func LogWriterDefault(LogLevelVar LogLevelFlags, FieldsVar []LogField, NFieldsVa
721 return cret721 return cret
722 }722 }
723 723
724-var xLogWriterDefaultSetDebugDomains func(string)724+var xLogWriterDefaultSetDebugDomains func(uintptr)
725 725
726 // Reset the list of domains to be logged, that might be initially set by the726 // Reset the list of domains to be logged, that might be initially set by the
727 // `G_MESSAGES_DEBUG` or `DEBUG_INVOCATION` environment variables.727 // `G_MESSAGES_DEBUG` or `DEBUG_INVOCATION` environment variables.
728 //728 //
729 // This function is thread-safe.729 // This function is thread-safe.
730-func LogWriterDefaultSetDebugDomains(DomainsVar string) {730+func LogWriterDefaultSetDebugDomains(DomainsVar *string) {
731 731
732- xLogWriterDefaultSetDebugDomains(DomainsVar)732+ xLogWriterDefaultSetDebugDomains(core.NullableStringToPtr(DomainsVar))
733 733
734 }734 }
735 735
@@ -756,7 +756,7 @@ func LogWriterDefaultSetUseStderr(UseStderrVar bool) {
756 756
757 }757 }
758 758
759-var xLogWriterDefaultWouldDrop func(LogLevelFlags, string) bool759+var xLogWriterDefaultWouldDrop func(LogLevelFlags, uintptr) bool
760 760
761 // Check whether [func@GLib.log_writer_default] and [func@GLib.log_default_handler] would761 // Check whether [func@GLib.log_writer_default] and [func@GLib.log_default_handler] would
762 // ignore a message with the given domain and level.762 // ignore a message with the given domain and level.
@@ -789,9 +789,9 @@ var xLogWriterDefaultWouldDrop func(LogLevelFlags, string) bool
789 // }789 // }
790 //790 //
791 // ```791 // ```
792-func LogWriterDefaultWouldDrop(LogLevelVar LogLevelFlags, LogDomainVar string) bool {792+func LogWriterDefaultWouldDrop(LogLevelVar LogLevelFlags, LogDomainVar *string) bool {
793 793
794- cret := xLogWriterDefaultWouldDrop(LogLevelVar, LogDomainVar)794+ cret := xLogWriterDefaultWouldDrop(LogLevelVar, core.NullableStringToPtr(LogDomainVar))
795 return cret795 return cret
796 }796 }
797 797
@@ -907,7 +907,7 @@ func LogWriterSyslog(LogLevelVar LogLevelFlags, FieldsVar []LogField, NFieldsVar
907 return cret907 return cret
908 }908 }
909 909
910-var xLogv func(string, LogLevelFlags, string, []interface{})910+var xLogv func(uintptr, LogLevelFlags, string, []interface{})
911 911
912 // Logs an error or debugging message.912 // Logs an error or debugging message.
913 //913 //
@@ -924,9 +924,9 @@ var xLogv func(string, LogLevelFlags, string, []interface{})
924 //924 //
925 // The `log_domain` parameter can be set to `NULL` or an empty string to use the default925 // The `log_domain` parameter can be set to `NULL` or an empty string to use the default
926 // application domain.926 // application domain.
927-func Logv(LogDomainVar string, LogLevelVar LogLevelFlags, FormatVar string, ArgsVar []interface{}) {927+func Logv(LogDomainVar *string, LogLevelVar LogLevelFlags, FormatVar string, ArgsVar []interface{}) {
928 928
929- xLogv(LogDomainVar, LogLevelVar, FormatVar, ArgsVar)929+ xLogv(core.NullableStringToPtr(LogDomainVar), LogLevelVar, FormatVar, ArgsVar)
930 930
931 }931 }
932 932
@@ -984,13 +984,13 @@ func PrintfStringUpperBound(FormatVar string, ArgsVar []interface{}) uint {
984 return cret984 return cret
985 }985 }
986 986
987-var xReturnIfFailWarning func(string, string, string)987+var xReturnIfFailWarning func(uintptr, string, uintptr)
988 988
989 // Internal function used to print messages from the public [func@GLib.return_if_fail]989 // Internal function used to print messages from the public [func@GLib.return_if_fail]
990 // and [func@GLib.return_val_if_fail] macros.990 // and [func@GLib.return_val_if_fail] macros.
991-func ReturnIfFailWarning(LogDomainVar string, PrettyFunctionVar string, ExpressionVar string) {991+func ReturnIfFailWarning(LogDomainVar *string, PrettyFunctionVar string, ExpressionVar *string) {
992 992
993- xReturnIfFailWarning(LogDomainVar, PrettyFunctionVar, ExpressionVar)993+ xReturnIfFailWarning(core.NullableStringToPtr(LogDomainVar), PrettyFunctionVar, core.NullableStringToPtr(ExpressionVar))
994 994
995 }995 }
996 996
@@ -1070,13 +1070,13 @@ func SetPrinterrHandler(FuncVar *PrintFunc) uintptr {
1070 return cret1070 return cret
1071 }1071 }
1072 1072
1073-var xWarnMessage func(string, string, int, string, string)1073+var xWarnMessage func(uintptr, string, int, string, uintptr)
1074 1074
1075 // Internal function used to print messages from the public [func@GLib.warn_if_reached]1075 // Internal function used to print messages from the public [func@GLib.warn_if_reached]
1076 // and [func@GLib.warn_if_fail] macros.1076 // and [func@GLib.warn_if_fail] macros.
1077-func WarnMessage(DomainVar string, FileVar string, LineVar int, FuncVar string, WarnexprVar string) {1077+func WarnMessage(DomainVar *string, FileVar string, LineVar int, FuncVar string, WarnexprVar *string) {
1078 1078
1079- xWarnMessage(DomainVar, FileVar, LineVar, FuncVar, WarnexprVar)1079+ xWarnMessage(core.NullableStringToPtr(DomainVar), FileVar, LineVar, FuncVar, core.NullableStringToPtr(WarnexprVar))
1080 1080
1081 }1081 }
1082 1082
M v4/glib/goption.go +9 -9
@@ -42,13 +42,13 @@ func (x *OptionContext) AddGroup(GroupVar *OptionGroup) {
42 42
43 }43 }
44 44
45-var xOptionContextAddMainEntries func(uintptr, []OptionEntry, string)45+var xOptionContextAddMainEntries func(uintptr, []OptionEntry, uintptr)
46 46
47 // A convenience function which creates a main group if it doesn't47 // A convenience function which creates a main group if it doesn't
48 // exist, adds the @entries to it and sets the translation domain.48 // exist, adds the @entries to it and sets the translation domain.
49-func (x *OptionContext) AddMainEntries(EntriesVar []OptionEntry, TranslationDomainVar string) {49+func (x *OptionContext) AddMainEntries(EntriesVar []OptionEntry, TranslationDomainVar *string) {
50 50
51- xOptionContextAddMainEntries(x.GoPointer(), EntriesVar, TranslationDomainVar)51+ xOptionContextAddMainEntries(x.GoPointer(), EntriesVar, core.NullableStringToPtr(TranslationDomainVar))
52 52
53 }53 }
54 54
@@ -201,16 +201,16 @@ func (x *OptionContext) ParseStrv(ArgumentsVar []string) (bool, error) {
201 201
202 }202 }
203 203
204-var xOptionContextSetDescription func(uintptr, string)204+var xOptionContextSetDescription func(uintptr, uintptr)
205 205
206 // Adds a string to be displayed in `--help` output after the list206 // Adds a string to be displayed in `--help` output after the list
207 // of options. This text often includes a bug reporting address.207 // of options. This text often includes a bug reporting address.
208 //208 //
209 // Note that the summary is translated (see209 // Note that the summary is translated (see
210 // g_option_context_set_translate_func()).210 // g_option_context_set_translate_func()).
211-func (x *OptionContext) SetDescription(DescriptionVar string) {211+func (x *OptionContext) SetDescription(DescriptionVar *string) {
212 212
213- xOptionContextSetDescription(x.GoPointer(), DescriptionVar)213+ xOptionContextSetDescription(x.GoPointer(), core.NullableStringToPtr(DescriptionVar))
214 214
215 }215 }
216 216
@@ -285,7 +285,7 @@ func (x *OptionContext) SetStrictPosix(StrictPosixVar bool) {
285 285
286 }286 }
287 287
288-var xOptionContextSetSummary func(uintptr, string)288+var xOptionContextSetSummary func(uintptr, uintptr)
289 289
290 // Adds a string to be displayed in `--help` output before the list290 // Adds a string to be displayed in `--help` output before the list
291 // of options. This is typically a summary of the program functionality.291 // of options. This is typically a summary of the program functionality.
@@ -293,9 +293,9 @@ var xOptionContextSetSummary func(uintptr, string)
293 // Note that the summary is translated (see293 // Note that the summary is translated (see
294 // g_option_context_set_translate_func() and294 // g_option_context_set_translate_func() and
295 // g_option_context_set_translation_domain()).295 // g_option_context_set_translation_domain()).
296-func (x *OptionContext) SetSummary(SummaryVar string) {296+func (x *OptionContext) SetSummary(SummaryVar *string) {
297 297
298- xOptionContextSetSummary(x.GoPointer(), SummaryVar)298+ xOptionContextSetSummary(x.GoPointer(), core.NullableStringToPtr(SummaryVar))
299 299
300 }300 }
301 301
M v4/glib/gpathbuf.go +6 -6
@@ -116,12 +116,12 @@ func (x *PathBuf) Init() *PathBuf {
116 return cret116 return cret
117 }117 }
118 118
119-var xPathBufInitFromPath func(uintptr, string) *PathBuf119+var xPathBufInitFromPath func(uintptr, uintptr) *PathBuf
120 120
121 // Initializes a `GPathBuf` instance with the given path.121 // Initializes a `GPathBuf` instance with the given path.
122-func (x *PathBuf) InitFromPath(PathVar string) *PathBuf {122+func (x *PathBuf) InitFromPath(PathVar *string) *PathBuf {
123 123
124- cret := xPathBufInitFromPath(x.GoPointer(), PathVar)124+ cret := xPathBufInitFromPath(x.GoPointer(), core.NullableStringToPtr(PathVar))
125 return cret125 return cret
126 }126 }
127 127
@@ -191,7 +191,7 @@ func (x *PathBuf) Push(PathVar string) *PathBuf {
191 return cret191 return cret
192 }192 }
193 193
194-var xPathBufSetExtension func(uintptr, string) bool194+var xPathBufSetExtension func(uintptr, uintptr) bool
195 195
196 // Adds an extension to the file name in the path buffer.196 // Adds an extension to the file name in the path buffer.
197 //197 //
@@ -199,9 +199,9 @@ var xPathBufSetExtension func(uintptr, string) bool
199 //199 //
200 // If the path buffer does not have a file name set, this function returns200 // If the path buffer does not have a file name set, this function returns
201 // `FALSE` and leaves the path buffer unmodified.201 // `FALSE` and leaves the path buffer unmodified.
202-func (x *PathBuf) SetExtension(ExtensionVar string) bool {202+func (x *PathBuf) SetExtension(ExtensionVar *string) bool {
203 203
204- cret := xPathBufSetExtension(x.GoPointer(), ExtensionVar)204+ cret := xPathBufSetExtension(x.GoPointer(), core.NullableStringToPtr(ExtensionVar))
205 return cret205 return cret
206 }206 }
207 207
M v4/glib/gpattern.go +6 -6
@@ -77,7 +77,7 @@ func (x *PatternSpec) Free() {
77 77
78 }78 }
79 79
80-var xPatternSpecMatch func(uintptr, uint, string, string) bool80+var xPatternSpecMatch func(uintptr, uint, string, uintptr) bool
81 81
82 // Matches a string against a compiled pattern.82 // Matches a string against a compiled pattern.
83 //83 //
@@ -98,9 +98,9 @@ var xPatternSpecMatch func(uintptr, uint, string, string) bool
98 // not be obtained by [func@GLib.strreverse]. This works only if the string98 // not be obtained by [func@GLib.strreverse]. This works only if the string
99 // does not contain any multibyte characters. GLib offers the99 // does not contain any multibyte characters. GLib offers the
100 // [func@GLib.utf8_strreverse] function to reverse UTF-8 encoded strings.100 // [func@GLib.utf8_strreverse] function to reverse UTF-8 encoded strings.
101-func (x *PatternSpec) Match(StringLengthVar uint, StringVar string, StringReversedVar string) bool {101+func (x *PatternSpec) Match(StringLengthVar uint, StringVar string, StringReversedVar *string) bool {
102 102
103- cret := xPatternSpecMatch(x.GoPointer(), StringLengthVar, StringVar, StringReversedVar)103+ cret := xPatternSpecMatch(x.GoPointer(), StringLengthVar, StringVar, core.NullableStringToPtr(StringReversedVar))
104 return cret104 return cret
105 }105 }
106 106
@@ -117,7 +117,7 @@ func (x *PatternSpec) MatchString(StringVar string) bool {
117 return cret117 return cret
118 }118 }
119 119
120-var xPatternMatch func(*PatternSpec, uint, string, string) bool120+var xPatternMatch func(*PatternSpec, uint, string, uintptr) bool
121 121
122 // Matches a string against a compiled pattern.122 // Matches a string against a compiled pattern.
123 //123 //
@@ -138,9 +138,9 @@ var xPatternMatch func(*PatternSpec, uint, string, string) bool
138 // not be obtained by [func@GLib.strreverse]. This works only if the string138 // not be obtained by [func@GLib.strreverse]. This works only if the string
139 // does not contain any multibyte characters. GLib offers the139 // does not contain any multibyte characters. GLib offers the
140 // [func@GLib.utf8_strreverse] function to reverse UTF-8 encoded strings.140 // [func@GLib.utf8_strreverse] function to reverse UTF-8 encoded strings.
141-func PatternMatch(PspecVar *PatternSpec, StringLengthVar uint, StringVar string, StringReversedVar string) bool {141+func PatternMatch(PspecVar *PatternSpec, StringLengthVar uint, StringVar string, StringReversedVar *string) bool {
142 142
143- cret := xPatternMatch(PspecVar, StringLengthVar, StringVar, StringReversedVar)143+ cret := xPatternMatch(PspecVar, StringLengthVar, StringVar, core.NullableStringToPtr(StringReversedVar))
144 return cret144 return cret
145 }145 }
146 146
M v4/glib/gquark.go +15 -15
@@ -34,7 +34,7 @@ import (
34 // pointer comparison, rather than using `strcmp()`.34 // pointer comparison, rather than using `strcmp()`.
35 type Quark = uint3235 type Quark = uint32
36 36
37-var xInternStaticString func(string) string37+var xInternStaticString func(uintptr) string
38 38
39 // Returns a canonical representation for @string. Interned strings39 // Returns a canonical representation for @string. Interned strings
40 // can be compared for equality by comparing the pointers, instead of40 // can be compared for equality by comparing the pointers, instead of
@@ -44,13 +44,13 @@ var xInternStaticString func(string) string
44 // This function must not be used before library constructors have finished44 // This function must not be used before library constructors have finished
45 // running. In particular, this means it cannot be used to initialize global45 // running. In particular, this means it cannot be used to initialize global
46 // variables in C++.46 // variables in C++.
47-func InternStaticString(StringVar string) string {47+func InternStaticString(StringVar *string) string {
48 48
49- cret := xInternStaticString(StringVar)49+ cret := xInternStaticString(core.NullableStringToPtr(StringVar))
50 return cret50 return cret
51 }51 }
52 52
53-var xInternString func(string) string53+var xInternString func(uintptr) string
54 54
55 // Returns a canonical representation for @string. Interned strings55 // Returns a canonical representation for @string. Interned strings
56 // can be compared for equality by comparing the pointers, instead of56 // can be compared for equality by comparing the pointers, instead of
@@ -59,13 +59,13 @@ var xInternString func(string) string
59 // This function must not be used before library constructors have finished59 // This function must not be used before library constructors have finished
60 // running. In particular, this means it cannot be used to initialize global60 // running. In particular, this means it cannot be used to initialize global
61 // variables in C++.61 // variables in C++.
62-func InternString(StringVar string) string {62+func InternString(StringVar *string) string {
63 63
64- cret := xInternString(StringVar)64+ cret := xInternString(core.NullableStringToPtr(StringVar))
65 return cret65 return cret
66 }66 }
67 67
68-var xQuarkFromStaticString func(string) Quark68+var xQuarkFromStaticString func(uintptr) Quark
69 69
70 // Gets the #GQuark identifying the given (static) string. If the70 // Gets the #GQuark identifying the given (static) string. If the
71 // string does not currently have an associated #GQuark, a new #GQuark71 // string does not currently have an associated #GQuark, a new #GQuark
@@ -83,13 +83,13 @@ var xQuarkFromStaticString func(string) Quark
83 // This function must not be used before library constructors have finished83 // This function must not be used before library constructors have finished
84 // running. In particular, this means it cannot be used to initialize global84 // running. In particular, this means it cannot be used to initialize global
85 // variables in C++.85 // variables in C++.
86-func QuarkFromStaticString(StringVar string) Quark {86+func QuarkFromStaticString(StringVar *string) Quark {
87 87
88- cret := xQuarkFromStaticString(StringVar)88+ cret := xQuarkFromStaticString(core.NullableStringToPtr(StringVar))
89 return cret89 return cret
90 }90 }
91 91
92-var xQuarkFromString func(string) Quark92+var xQuarkFromString func(uintptr) Quark
93 93
94 // Gets the #GQuark identifying the given string. If the string does94 // Gets the #GQuark identifying the given string. If the string does
95 // not currently have an associated #GQuark, a new #GQuark is created,95 // not currently have an associated #GQuark, a new #GQuark is created,
@@ -98,9 +98,9 @@ var xQuarkFromString func(string) Quark
98 // This function must not be used before library constructors have finished98 // This function must not be used before library constructors have finished
99 // running. In particular, this means it cannot be used to initialize global99 // running. In particular, this means it cannot be used to initialize global
100 // variables in C++.100 // variables in C++.
101-func QuarkFromString(StringVar string) Quark {101+func QuarkFromString(StringVar *string) Quark {
102 102
103- cret := xQuarkFromString(StringVar)103+ cret := xQuarkFromString(core.NullableStringToPtr(StringVar))
104 return cret104 return cret
105 }105 }
106 106
@@ -113,7 +113,7 @@ func QuarkToString(QuarkVar Quark) string {
113 return cret113 return cret
114 }114 }
115 115
116-var xQuarkTryString func(string) Quark116+var xQuarkTryString func(uintptr) Quark
117 117
118 // Gets the #GQuark associated with the given string, or 0 if string is118 // Gets the #GQuark associated with the given string, or 0 if string is
119 // %NULL or it has no associated #GQuark.119 // %NULL or it has no associated #GQuark.
@@ -123,9 +123,9 @@ var xQuarkTryString func(string) Quark
123 //123 //
124 // This function must not be used before library constructors have finished124 // This function must not be used before library constructors have finished
125 // running.125 // running.
126-func QuarkTryString(StringVar string) Quark {126+func QuarkTryString(StringVar *string) Quark {
127 127
128- cret := xQuarkTryString(StringVar)128+ cret := xQuarkTryString(core.NullableStringToPtr(StringVar))
129 return cret129 return cret
130 }130 }
131 131
M v4/glib/gspawn.go +15 -15
@@ -136,7 +136,7 @@ const (
136 GSpawnErrorFailedValue SpawnError = 19136 GSpawnErrorFailedValue SpawnError = 19
137 )137 )
138 138
139-var xSpawnAsync func(string, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, **Error) bool139+var xSpawnAsync func(uintptr, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, **Error) bool
140 140
141 // Executes a child program asynchronously.141 // Executes a child program asynchronously.
142 //142 //
@@ -155,7 +155,7 @@ var xSpawnAsync func(string, []string, []string, SpawnFlags, uintptr, uintptr, *
155 // Note that the returned @child_pid on Windows is a handle to the child155 // Note that the returned @child_pid on Windows is a handle to the child
156 // process and not its identifier. Process handles and process identifiers156 // process and not its identifier. Process handles and process identifiers
157 // are different concepts on Windows.157 // are different concepts on Windows.
158-func SpawnAsync(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid) (bool, error) {158+func SpawnAsync(WorkingDirectoryVar *string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid) (bool, error) {
159 var cerr *Error159 var cerr *Error
160 160
161 var ChildSetupVarRef uintptr161 var ChildSetupVarRef uintptr
@@ -173,7 +173,7 @@ func SpawnAsync(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string,
173 }173 }
174 }174 }
175 175
176- cret := xSpawnAsync(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, ChildPidVar, &cerr)176+ cret := xSpawnAsync(core.NullableStringToPtr(WorkingDirectoryVar), ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, ChildPidVar, &cerr)
177 if cerr == nil {177 if cerr == nil {
178 return cret, nil178 return cret, nil
179 }179 }
@@ -181,13 +181,13 @@ func SpawnAsync(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string,
181 181
182 }182 }
183 183
184-var xSpawnAsyncWithFds func(string, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool184+var xSpawnAsyncWithFds func(uintptr, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, int, int, int, **Error) bool
185 185
186 // Executes a child program asynchronously.186 // Executes a child program asynchronously.
187 //187 //
188 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,188 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,
189 // so no FD assignments are used.189 // so no FD assignments are used.
190-func SpawnAsyncWithFds(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid, StdinFdVar int, StdoutFdVar int, StderrFdVar int) (bool, error) {190+func SpawnAsyncWithFds(WorkingDirectoryVar *string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid, StdinFdVar int, StdoutFdVar int, StderrFdVar int) (bool, error) {
191 var cerr *Error191 var cerr *Error
192 192
193 var ChildSetupVarRef uintptr193 var ChildSetupVarRef uintptr
@@ -205,7 +205,7 @@ func SpawnAsyncWithFds(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []s
205 }205 }
206 }206 }
207 207
208- cret := xSpawnAsyncWithFds(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, ChildPidVar, StdinFdVar, StdoutFdVar, StderrFdVar, &cerr)208+ cret := xSpawnAsyncWithFds(core.NullableStringToPtr(WorkingDirectoryVar), ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, ChildPidVar, StdinFdVar, StdoutFdVar, StderrFdVar, &cerr)
209 if cerr == nil {209 if cerr == nil {
210 return cret, nil210 return cret, nil
211 }211 }
@@ -213,11 +213,11 @@ func SpawnAsyncWithFds(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []s
213 213
214 }214 }
215 215
216-var xSpawnAsyncWithPipes func(string, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, *int, *int, *int, **Error) bool216+var xSpawnAsyncWithPipes func(uintptr, []string, []string, SpawnFlags, uintptr, uintptr, *Pid, *int, *int, *int, **Error) bool
217 217
218 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,218 // Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero,
219 // so no FD assignments are used.219 // so no FD assignments are used.
220-func SpawnAsyncWithPipes(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid, StandardInputVar *int, StandardOutputVar *int, StandardErrorVar *int) (bool, error) {220+func SpawnAsyncWithPipes(WorkingDirectoryVar *string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, ChildPidVar *Pid, StandardInputVar *int, StandardOutputVar *int, StandardErrorVar *int) (bool, error) {
221 var cerr *Error221 var cerr *Error
222 222
223 var ChildSetupVarRef uintptr223 var ChildSetupVarRef uintptr
@@ -235,7 +235,7 @@ func SpawnAsyncWithPipes(WorkingDirectoryVar string, ArgvVar []string, EnvpVar [
235 }235 }
236 }236 }
237 237
238- cret := xSpawnAsyncWithPipes(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, ChildPidVar, StandardInputVar, StandardOutputVar, StandardErrorVar, &cerr)238+ cret := xSpawnAsyncWithPipes(core.NullableStringToPtr(WorkingDirectoryVar), ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, ChildPidVar, StandardInputVar, StandardOutputVar, StandardErrorVar, &cerr)
239 if cerr == nil {239 if cerr == nil {
240 return cret, nil240 return cret, nil
241 }241 }
@@ -243,7 +243,7 @@ func SpawnAsyncWithPipes(WorkingDirectoryVar string, ArgvVar []string, EnvpVar [
243 243
244 }244 }
245 245
246-var xSpawnAsyncWithPipesAndFds func(string, []string, []string, SpawnFlags, uintptr, uintptr, int, int, int, []int, []int, uint, *Pid, *int, *int, *int, **Error) bool246+var xSpawnAsyncWithPipesAndFds func(uintptr, []string, []string, SpawnFlags, uintptr, uintptr, int, int, int, []int, []int, uint, *Pid, *int, *int, *int, **Error) bool
247 247
248 // Executes a child program asynchronously (your program will not248 // Executes a child program asynchronously (your program will not
249 // block waiting for the child to exit).249 // block waiting for the child to exit).
@@ -439,7 +439,7 @@ var xSpawnAsyncWithPipesAndFds func(string, []string, []string, SpawnFlags, uint
439 // graphical application too, then to ensure that the spawned program opens its439 // graphical application too, then to ensure that the spawned program opens its
440 // windows on the right screen, you may want to use #GdkAppLaunchContext,440 // windows on the right screen, you may want to use #GdkAppLaunchContext,
441 // #GAppLaunchContext, or set the `DISPLAY` environment variable.441 // #GAppLaunchContext, or set the `DISPLAY` environment variable.
442-func SpawnAsyncWithPipesAndFds(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, StdinFdVar int, StdoutFdVar int, StderrFdVar int, SourceFdsVar []int, TargetFdsVar []int, NFdsVar uint, ChildPidOutVar *Pid, StdinPipeOutVar *int, StdoutPipeOutVar *int, StderrPipeOutVar *int) (bool, error) {442+func SpawnAsyncWithPipesAndFds(WorkingDirectoryVar *string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, StdinFdVar int, StdoutFdVar int, StderrFdVar int, SourceFdsVar []int, TargetFdsVar []int, NFdsVar uint, ChildPidOutVar *Pid, StdinPipeOutVar *int, StdoutPipeOutVar *int, StderrPipeOutVar *int) (bool, error) {
443 var cerr *Error443 var cerr *Error
444 444
445 var ChildSetupVarRef uintptr445 var ChildSetupVarRef uintptr
@@ -457,7 +457,7 @@ func SpawnAsyncWithPipesAndFds(WorkingDirectoryVar string, ArgvVar []string, Env
457 }457 }
458 }458 }
459 459
460- cret := xSpawnAsyncWithPipesAndFds(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, StdinFdVar, StdoutFdVar, StderrFdVar, SourceFdsVar, TargetFdsVar, NFdsVar, ChildPidOutVar, StdinPipeOutVar, StdoutPipeOutVar, StderrPipeOutVar, &cerr)460+ cret := xSpawnAsyncWithPipesAndFds(core.NullableStringToPtr(WorkingDirectoryVar), ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, StdinFdVar, StdoutFdVar, StderrFdVar, SourceFdsVar, TargetFdsVar, NFdsVar, ChildPidOutVar, StdinPipeOutVar, StdoutPipeOutVar, StderrPipeOutVar, &cerr)
461 if cerr == nil {461 if cerr == nil {
462 return cret, nil462 return cret, nil
463 }463 }
@@ -615,7 +615,7 @@ func SpawnCommandLineSync(CommandLineVar string, StandardOutputVar *[]byte, Stan
615 615
616 }616 }
617 617
618-var xSpawnSync func(string, []string, []string, SpawnFlags, uintptr, uintptr, *[]byte, *[]byte, *int, **Error) bool618+var xSpawnSync func(uintptr, []string, []string, SpawnFlags, uintptr, uintptr, *[]byte, *[]byte, *int, **Error) bool
619 619
620 // Executes a child synchronously (waits for the child to exit before returning).620 // Executes a child synchronously (waits for the child to exit before returning).
621 //621 //
@@ -640,7 +640,7 @@ var xSpawnSync func(string, []string, []string, SpawnFlags, uintptr, uintptr, *[
640 // This function calls g_spawn_async_with_pipes() internally; see that640 // This function calls g_spawn_async_with_pipes() internally; see that
641 // function for full details on the other parameters and details on641 // function for full details on the other parameters and details on
642 // how these functions work on Windows.642 // how these functions work on Windows.
643-func SpawnSync(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, StandardOutputVar *[]byte, StandardErrorVar *[]byte, WaitStatusVar *int) (bool, error) {643+func SpawnSync(WorkingDirectoryVar *string, ArgvVar []string, EnvpVar []string, FlagsVar SpawnFlags, ChildSetupVar *SpawnChildSetupFunc, UserDataVar uintptr, StandardOutputVar *[]byte, StandardErrorVar *[]byte, WaitStatusVar *int) (bool, error) {
644 var cerr *Error644 var cerr *Error
645 645
646 var ChildSetupVarRef uintptr646 var ChildSetupVarRef uintptr
@@ -658,7 +658,7 @@ func SpawnSync(WorkingDirectoryVar string, ArgvVar []string, EnvpVar []string, F
658 }658 }
659 }659 }
660 660
661- cret := xSpawnSync(WorkingDirectoryVar, ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, StandardOutputVar, StandardErrorVar, WaitStatusVar, &cerr)661+ cret := xSpawnSync(core.NullableStringToPtr(WorkingDirectoryVar), ArgvVar, EnvpVar, FlagsVar, ChildSetupVarRef, UserDataVar, StandardOutputVar, StandardErrorVar, WaitStatusVar, &cerr)
662 if cerr == nil {662 if cerr == nil {
663 return cret, nil663 return cret, nil
664 }664 }
M v4/glib/gstrfuncs.go +24 -24
@@ -480,7 +480,7 @@ func StrMatchString(SearchTermVar string, PotentialHitVar string, AcceptAlternat
480 return cret480 return cret
481 }481 }
482 482
483-var xStrToAscii func(string, string) string483+var xStrToAscii func(string, uintptr) string
484 484
485 // Transliterate @str to plain ASCII.485 // Transliterate @str to plain ASCII.
486 //486 //
@@ -500,13 +500,13 @@ var xStrToAscii func(string, string) string
500 // If you want to do translation for no specific locale, and you want it500 // If you want to do translation for no specific locale, and you want it
501 // to be done independently of the currently locale, specify `"C"` for501 // to be done independently of the currently locale, specify `"C"` for
502 // @from_locale.502 // @from_locale.
503-func StrToAscii(StrVar string, FromLocaleVar string) string {503+func StrToAscii(StrVar string, FromLocaleVar *string) string {
504 504
505- cret := xStrToAscii(StrVar, FromLocaleVar)505+ cret := xStrToAscii(StrVar, core.NullableStringToPtr(FromLocaleVar))
506 return cret506 return cret
507 }507 }
508 508
509-var xStrTokenizeAndFold func(string, string, *[]string) []string509+var xStrTokenizeAndFold func(string, uintptr, *[]string) []string
510 510
511 // Tokenizes @string and performs folding on each token.511 // Tokenizes @string and performs folding on each token.
512 //512 //
@@ -523,9 +523,9 @@ var xStrTokenizeAndFold func(string, string, *[]string) []string
523 // for doing so is unspecified, but @translit_locale (if specified) may523 // for doing so is unspecified, but @translit_locale (if specified) may
524 // improve the transliteration if the language of the source string is524 // improve the transliteration if the language of the source string is
525 // known.525 // known.
526-func StrTokenizeAndFold(StringVar string, TranslitLocaleVar string, AsciiAlternatesVar *[]string) []string {526+func StrTokenizeAndFold(StringVar string, TranslitLocaleVar *string, AsciiAlternatesVar *[]string) []string {
527 527
528- cret := xStrTokenizeAndFold(StringVar, TranslitLocaleVar, AsciiAlternatesVar)528+ cret := xStrTokenizeAndFold(StringVar, core.NullableStringToPtr(TranslitLocaleVar), AsciiAlternatesVar)
529 return cret529 return cret
530 }530 }
531 531
@@ -635,7 +635,7 @@ func Strconcat(String1Var string, varArgs ...interface{}) string {
635 return cret635 return cret
636 }636 }
637 637
638-var xStrdelimit func(string, string, byte) string638+var xStrdelimit func(string, uintptr, byte) string
639 639
640 // Converts any delimiter characters in @string to @new_delimiter.640 // Converts any delimiter characters in @string to @new_delimiter.
641 //641 //
@@ -654,9 +654,9 @@ var xStrdelimit func(string, string, byte) string
654 // …654 // …
655 // g_free (reformatted);655 // g_free (reformatted);
656 // ```656 // ```
657-func Strdelimit(StringVar string, DelimitersVar string, NewDelimiterVar byte) string {657+func Strdelimit(StringVar string, DelimitersVar *string, NewDelimiterVar byte) string {
658 658
659- cret := xStrdelimit(StringVar, DelimitersVar, NewDelimiterVar)659+ cret := xStrdelimit(StringVar, core.NullableStringToPtr(DelimitersVar), NewDelimiterVar)
660 return cret660 return cret
661 }661 }
662 662
@@ -669,12 +669,12 @@ func Strdown(StringVar string) string {
669 return cret669 return cret
670 }670 }
671 671
672-var xStrdup func(string) string672+var xStrdup func(uintptr) string
673 673
674 // Duplicates a string. If @str is `NULL` it returns `NULL`.674 // Duplicates a string. If @str is `NULL` it returns `NULL`.
675-func Strdup(StrVar string) string {675+func Strdup(StrVar *string) string {
676 676
677- cret := xStrdup(StrVar)677+ cret := xStrdup(core.NullableStringToPtr(StrVar))
678 return cret678 return cret
679 }679 }
680 680
@@ -752,7 +752,7 @@ func Strerror(ErrnumVar int) string {
752 return cret752 return cret
753 }753 }
754 754
755-var xStrescape func(string, string) string755+var xStrescape func(string, uintptr) string
756 756
757 // It replaces the following special characters in the string @source757 // It replaces the following special characters in the string @source
758 // with their corresponding C escape sequence:758 // with their corresponding C escape sequence:
@@ -773,9 +773,9 @@ var xStrescape func(string, string) string
773 // Characters supplied in @exceptions are not escaped.773 // Characters supplied in @exceptions are not escaped.
774 //774 //
775 // [func@GLib.strcompress] does the reverse conversion.775 // [func@GLib.strcompress] does the reverse conversion.
776-func Strescape(SourceVar string, ExceptionsVar string) string {776+func Strescape(SourceVar string, ExceptionsVar *string) string {
777 777
778- cret := xStrescape(SourceVar, ExceptionsVar)778+ cret := xStrescape(SourceVar, core.NullableStringToPtr(ExceptionsVar))
779 return cret779 return cret
780 }780 }
781 781
@@ -790,17 +790,17 @@ func Strfreev(StrArrayVar []string) {
790 790
791 }791 }
792 792
793-var xStrjoin func(string, ...interface{}) string793+var xStrjoin func(uintptr, ...interface{}) string
794 794
795 // Joins a number of strings together to form one long string, with the795 // Joins a number of strings together to form one long string, with the
796 // optional @separator inserted between each of them.796 // optional @separator inserted between each of them.
797-func Strjoin(SeparatorVar string, varArgs ...interface{}) string {797+func Strjoin(SeparatorVar *string, varArgs ...interface{}) string {
798 798
799- cret := xStrjoin(SeparatorVar, varArgs...)799+ cret := xStrjoin(core.NullableStringToPtr(SeparatorVar), varArgs...)
800 return cret800 return cret
801 }801 }
802 802
803-var xStrjoinv func(string, []string) string803+var xStrjoinv func(uintptr, []string) string
804 804
805 // Joins an array of strings together to form one long string, with the805 // Joins an array of strings together to form one long string, with the
806 // optional @separator inserted between each of them.806 // optional @separator inserted between each of them.
@@ -808,9 +808,9 @@ var xStrjoinv func(string, []string) string
808 // If @str_array has no items, the return value will be an808 // If @str_array has no items, the return value will be an
809 // empty string. If @str_array contains a single item, @separator will not809 // empty string. If @str_array contains a single item, @separator will not
810 // appear in the resulting string.810 // appear in the resulting string.
811-func Strjoinv(SeparatorVar string, StrArrayVar []string) string {811+func Strjoinv(SeparatorVar *string, StrArrayVar []string) string {
812 812
813- cret := xStrjoinv(SeparatorVar, StrArrayVar)813+ cret := xStrjoinv(core.NullableStringToPtr(SeparatorVar), StrArrayVar)
814 return cret814 return cret
815 }815 }
816 816
@@ -869,7 +869,7 @@ func Strncasecmp(S1Var string, S2Var string, NVar uint) int {
869 return cret869 return cret
870 }870 }
871 871
872-var xStrndup func(string, uint) string872+var xStrndup func(uintptr, uint) string
873 873
874 // Duplicates the first @n bytes of a string, returning a newly-allocated874 // Duplicates the first @n bytes of a string, returning a newly-allocated
875 // buffer @n + 1 bytes long which will always be nul-terminated. If @str875 // buffer @n + 1 bytes long which will always be nul-terminated. If @str
@@ -878,9 +878,9 @@ var xStrndup func(string, uint) string
878 //878 //
879 // To copy a number of characters from a UTF-8 encoded string,879 // To copy a number of characters from a UTF-8 encoded string,
880 // use [func@GLib.utf8_strncpy] instead.880 // use [func@GLib.utf8_strncpy] instead.
881-func Strndup(StrVar string, NVar uint) string {881+func Strndup(StrVar *string, NVar uint) string {
882 882
883- cret := xStrndup(StrVar, NVar)883+ cret := xStrndup(core.NullableStringToPtr(StrVar), NVar)
884 return cret884 return cret
885 }885 }
886 886
M v4/glib/gstring.go +6 -6
@@ -40,12 +40,12 @@ func (x *String) GoPointer() uintptr {
40 return uintptr(unsafe.Pointer(x))40 return uintptr(unsafe.Pointer(x))
41 }41 }
42 42
43-var xNewString func(string) *String43+var xNewString func(uintptr) *String
44 44
45 // Creates a new #GString, initialized with the given string.45 // Creates a new #GString, initialized with the given string.
46-func NewString(InitVar string) *String {46+func NewString(InitVar *string) *String {
47 47
48- cret := xNewString(InitVar)48+ cret := xNewString(core.NullableStringToPtr(InitVar))
49 return cret49 return cret
50 }50 }
51 51
@@ -64,16 +64,16 @@ func NewStringLen(InitVar string, LenVar int) *String {
64 return cret64 return cret
65 }65 }
66 66
67-var xNewStringTake func(string) *String67+var xNewStringTake func(uintptr) *String
68 68
69 // Creates a new #GString, initialized with the given string.69 // Creates a new #GString, initialized with the given string.
70 //70 //
71 // After this call, @init belongs to the #GString and may no longer be71 // After this call, @init belongs to the #GString and may no longer be
72 // modified by the caller. The memory of @init has to be dynamically72 // modified by the caller. The memory of @init has to be dynamically
73 // allocated and will eventually be freed with g_free().73 // allocated and will eventually be freed with g_free().
74-func NewStringTake(InitVar string) *String {74+func NewStringTake(InitVar *string) *String {
75 75
76- cret := xNewStringTake(InitVar)76+ cret := xNewStringTake(core.NullableStringToPtr(InitVar))
77 return cret77 return cret
78 }78 }
79 79
M v4/glib/gtestutils.go +21 -21
@@ -379,25 +379,25 @@ func AssertionMessageError(DomainVar string, FileVar string, LineVar int, FuncVa
379 379
380 }380 }
381 381
382-var xAssertionMessageExpr func(string, string, int, string, string)382+var xAssertionMessageExpr func(uintptr, string, int, string, uintptr)
383 383
384 // Internal function used to print messages from the public384 // Internal function used to print messages from the public
385 // g_assert() and g_assert_not_reached() macros.385 // g_assert() and g_assert_not_reached() macros.
386-func AssertionMessageExpr(DomainVar string, FileVar string, LineVar int, FuncVar string, ExprVar string) {386+func AssertionMessageExpr(DomainVar *string, FileVar string, LineVar int, FuncVar string, ExprVar *string) {
387 387
388- xAssertionMessageExpr(DomainVar, FileVar, LineVar, FuncVar, ExprVar)388+ xAssertionMessageExpr(core.NullableStringToPtr(DomainVar), FileVar, LineVar, FuncVar, core.NullableStringToPtr(ExprVar))
389 389
390 }390 }
391 391
392-var xStrcmp0 func(string, string) int392+var xStrcmp0 func(uintptr, uintptr) int
393 393
394 // Compares @str1 and @str2 like `strcmp()`.394 // Compares @str1 and @str2 like `strcmp()`.
395 //395 //
396 // Handles `NULL` gracefully by sorting it before non-`NULL` strings.396 // Handles `NULL` gracefully by sorting it before non-`NULL` strings.
397 // Comparing two `NULL` pointers returns 0.397 // Comparing two `NULL` pointers returns 0.
398-func Strcmp0(Str1Var string, Str2Var string) int {398+func Strcmp0(Str1Var *string, Str2Var *string) int {
399 399
400- cret := xStrcmp0(Str1Var, Str2Var)400+ cret := xStrcmp0(core.NullableStringToPtr(Str1Var), core.NullableStringToPtr(Str2Var))
401 return cret401 return cret
402 }402 }
403 403
@@ -742,7 +742,7 @@ func TestDisableCrashReporting() {
742 742
743 }743 }
744 744
745-var xTestExpectMessage func(string, LogLevelFlags, string)745+var xTestExpectMessage func(uintptr, LogLevelFlags, string)
746 746
747 // Indicates that a message with the given @log_domain and @log_level,747 // Indicates that a message with the given @log_domain and @log_level,
748 // with text matching @pattern, is expected to be logged.748 // with text matching @pattern, is expected to be logged.
@@ -781,9 +781,9 @@ var xTestExpectMessage func(string, LogLevelFlags, string)
781 //781 //
782 // If messages at [flags@GLib.LogLevelFlags.LEVEL_DEBUG] are emitted, but not explicitly782 // If messages at [flags@GLib.LogLevelFlags.LEVEL_DEBUG] are emitted, but not explicitly
783 // expected via [func@GLib.test_expect_message] then they will be ignored.783 // expected via [func@GLib.test_expect_message] then they will be ignored.
784-func TestExpectMessage(LogDomainVar string, LogLevelVar LogLevelFlags, PatternVar string) {784+func TestExpectMessage(LogDomainVar *string, LogLevelVar LogLevelFlags, PatternVar string) {
785 785
786- xTestExpectMessage(LogDomainVar, LogLevelVar, PatternVar)786+ xTestExpectMessage(core.NullableStringToPtr(LogDomainVar), LogLevelVar, PatternVar)
787 787
788 }788 }
789 789
@@ -905,7 +905,7 @@ func TestGetRoot() *TestSuite {
905 return cret905 return cret
906 }906 }
907 907
908-var xTestIncomplete func(string)908+var xTestIncomplete func(uintptr)
909 909
910 // Indicates that a test failed because of some incomplete910 // Indicates that a test failed because of some incomplete
911 // functionality.911 // functionality.
@@ -918,9 +918,9 @@ var xTestIncomplete func(string)
918 // the test.918 // the test.
919 //919 //
920 // If not called from inside a test, this function does nothing.920 // If not called from inside a test, this function does nothing.
921-func TestIncomplete(MsgVar string) {921+func TestIncomplete(MsgVar *string) {
922 922
923- xTestIncomplete(MsgVar)923+ xTestIncomplete(core.NullableStringToPtr(MsgVar))
924 924
925 }925 }
926 926
@@ -1268,7 +1268,7 @@ func TestSetNonfatalAssertions() {
1268 1268
1269 }1269 }
1270 1270
1271-var xTestSkip func(string)1271+var xTestSkip func(uintptr)
1272 1272
1273 // Indicates that a test was skipped.1273 // Indicates that a test was skipped.
1274 //1274 //
@@ -1278,9 +1278,9 @@ var xTestSkip func(string)
1278 // the test.1278 // the test.
1279 //1279 //
1280 // If not called from inside a test, this function does nothing.1280 // If not called from inside a test, this function does nothing.
1281-func TestSkip(MsgVar string) {1281+func TestSkip(MsgVar *string) {
1282 1282
1283- xTestSkip(MsgVar)1283+ xTestSkip(core.NullableStringToPtr(MsgVar))
1284 1284
1285 }1285 }
1286 1286
@@ -1439,20 +1439,20 @@ func TestTrapReachedTimeout() bool {
1439 return cret1439 return cret
1440 }1440 }
1441 1441
1442-var xTestTrapSubprocess func(string, uint64, TestSubprocessFlags)1442+var xTestTrapSubprocess func(uintptr, uint64, TestSubprocessFlags)
1443 1443
1444 // Respawns the test program to run only @test_path in a subprocess.1444 // Respawns the test program to run only @test_path in a subprocess.
1445 //1445 //
1446 // This is equivalent to calling [func@GLib.test_trap_subprocess_with_envp]1446 // This is equivalent to calling [func@GLib.test_trap_subprocess_with_envp]
1447 // with `envp` set to `NULL`. See the documentation for that function1447 // with `envp` set to `NULL`. See the documentation for that function
1448 // for full details.1448 // for full details.
1449-func TestTrapSubprocess(TestPathVar string, UsecTimeoutVar uint64, TestFlagsVar TestSubprocessFlags) {1449+func TestTrapSubprocess(TestPathVar *string, UsecTimeoutVar uint64, TestFlagsVar TestSubprocessFlags) {
1450 1450
1451- xTestTrapSubprocess(TestPathVar, UsecTimeoutVar, TestFlagsVar)1451+ xTestTrapSubprocess(core.NullableStringToPtr(TestPathVar), UsecTimeoutVar, TestFlagsVar)
1452 1452
1453 }1453 }
1454 1454
1455-var xTestTrapSubprocessWithEnvp func(string, []string, uint64, TestSubprocessFlags)1455+var xTestTrapSubprocessWithEnvp func(uintptr, []string, uint64, TestSubprocessFlags)
1456 1456
1457 // Respawns the test program to run only @test_path in a subprocess with1457 // Respawns the test program to run only @test_path in a subprocess with
1458 // a given environment.1458 // a given environment.
@@ -1545,9 +1545,9 @@ var xTestTrapSubprocessWithEnvp func(string, []string, uint64, TestSubprocessFla
1545 // }1545 // }
1546 //1546 //
1547 // ```1547 // ```
1548-func TestTrapSubprocessWithEnvp(TestPathVar string, EnvpVar []string, UsecTimeoutVar uint64, TestFlagsVar TestSubprocessFlags) {1548+func TestTrapSubprocessWithEnvp(TestPathVar *string, EnvpVar []string, UsecTimeoutVar uint64, TestFlagsVar TestSubprocessFlags) {
1549 1549
1550- xTestTrapSubprocessWithEnvp(TestPathVar, EnvpVar, UsecTimeoutVar, TestFlagsVar)1550+ xTestTrapSubprocessWithEnvp(core.NullableStringToPtr(TestPathVar), EnvpVar, UsecTimeoutVar, TestFlagsVar)
1551 1551
1552 }1552 }
1553 1553
M v4/glib/gthread.go +6 -6
@@ -1249,7 +1249,7 @@ func (x *Thread) GoPointer() uintptr {
1249 return uintptr(unsafe.Pointer(x))1249 return uintptr(unsafe.Pointer(x))
1250 }1250 }
1251 1251
1252-var xNewThread func(string, uintptr, uintptr) *Thread1252+var xNewThread func(uintptr, uintptr, uintptr) *Thread
1253 1253
1254 // This function creates a new thread. The new thread starts by invoking1254 // This function creates a new thread. The new thread starts by invoking
1255 // @func with the argument data. The thread will run until @func returns1255 // @func with the argument data. The thread will run until @func returns
@@ -1278,7 +1278,7 @@ var xNewThread func(string, uintptr, uintptr) *Thread
1278 // inheriting the thread priority but were spawned with the default priority.1278 // inheriting the thread priority but were spawned with the default priority.
1279 // Starting with GLib 2.64 the behaviour is now consistent between Windows and1279 // Starting with GLib 2.64 the behaviour is now consistent between Windows and
1280 // POSIX and all threads inherit their parent thread's priority.1280 // POSIX and all threads inherit their parent thread's priority.
1281-func NewThread(NameVar string, FuncVar *ThreadFunc, DataVar uintptr) *Thread {1281+func NewThread(NameVar *string, FuncVar *ThreadFunc, DataVar uintptr) *Thread {
1282 1282
1283 var FuncVarRef uintptr1283 var FuncVarRef uintptr
1284 if FuncVar != nil {1284 if FuncVar != nil {
@@ -1295,18 +1295,18 @@ func NewThread(NameVar string, FuncVar *ThreadFunc, DataVar uintptr) *Thread {
1295 }1295 }
1296 }1296 }
1297 1297
1298- cret := xNewThread(NameVar, FuncVarRef, DataVar)1298+ cret := xNewThread(core.NullableStringToPtr(NameVar), FuncVarRef, DataVar)
1299 return cret1299 return cret
1300 }1300 }
1301 1301
1302-var xThreadTryNew func(string, uintptr, uintptr, **Error) *Thread1302+var xThreadTryNew func(uintptr, uintptr, uintptr, **Error) *Thread
1303 1303
1304 // This function is the same as g_thread_new() except that1304 // This function is the same as g_thread_new() except that
1305 // it allows for the possibility of failure.1305 // it allows for the possibility of failure.
1306 //1306 //
1307 // If a thread can not be created (due to resource limits),1307 // If a thread can not be created (due to resource limits),
1308 // @error is set and %NULL is returned.1308 // @error is set and %NULL is returned.
1309-func ThreadTryNew(NameVar string, FuncVar *ThreadFunc, DataVar uintptr) (*Thread, error) {1309+func ThreadTryNew(NameVar *string, FuncVar *ThreadFunc, DataVar uintptr) (*Thread, error) {
1310 var cerr *Error1310 var cerr *Error
1311 1311
1312 var FuncVarRef uintptr1312 var FuncVarRef uintptr
@@ -1324,7 +1324,7 @@ func ThreadTryNew(NameVar string, FuncVar *ThreadFunc, DataVar uintptr) (*Thread
1324 }1324 }
1325 }1325 }
1326 1326
1327- cret := xThreadTryNew(NameVar, FuncVarRef, DataVar, &cerr)1327+ cret := xThreadTryNew(core.NullableStringToPtr(NameVar), FuncVarRef, DataVar, &cerr)
1328 if cerr == nil {1328 if cerr == nil {
1329 return cret, nil1329 return cret, nil
1330 }1330 }
M v4/glib/gtimezone.go +6 -6
@@ -50,20 +50,20 @@ func (x *TimeZone) GoPointer() uintptr {
50 return uintptr(unsafe.Pointer(x))50 return uintptr(unsafe.Pointer(x))
51 }51 }
52 52
53-var xNewTimeZone func(string) *TimeZone53+var xNewTimeZone func(uintptr) *TimeZone
54 54
55 // A version of g_time_zone_new_identifier() which returns the UTC time zone55 // A version of g_time_zone_new_identifier() which returns the UTC time zone
56 // if @identifier could not be parsed or loaded.56 // if @identifier could not be parsed or loaded.
57 //57 //
58 // If you need to check whether @identifier was loaded successfully, use58 // If you need to check whether @identifier was loaded successfully, use
59 // g_time_zone_new_identifier().59 // g_time_zone_new_identifier().
60-func NewTimeZone(IdentifierVar string) *TimeZone {60+func NewTimeZone(IdentifierVar *string) *TimeZone {
61 61
62- cret := xNewTimeZone(IdentifierVar)62+ cret := xNewTimeZone(core.NullableStringToPtr(IdentifierVar))
63 return cret63 return cret
64 }64 }
65 65
66-var xNewTimeZoneIdentifier func(string) *TimeZone66+var xNewTimeZoneIdentifier func(uintptr) *TimeZone
67 67
68 // Creates a #GTimeZone corresponding to @identifier. If @identifier cannot be68 // Creates a #GTimeZone corresponding to @identifier. If @identifier cannot be
69 // parsed or loaded, %NULL is returned.69 // parsed or loaded, %NULL is returned.
@@ -130,9 +130,9 @@ var xNewTimeZoneIdentifier func(string) *TimeZone
130 //130 //
131 // You should release the return value by calling g_time_zone_unref()131 // You should release the return value by calling g_time_zone_unref()
132 // when you are done with it.132 // when you are done with it.
133-func NewTimeZoneIdentifier(IdentifierVar string) *TimeZone {133+func NewTimeZoneIdentifier(IdentifierVar *string) *TimeZone {
134 134
135- cret := xNewTimeZoneIdentifier(IdentifierVar)135+ cret := xNewTimeZoneIdentifier(core.NullableStringToPtr(IdentifierVar))
136 return cret136 return cret
137 }137 }
138 138
M v4/glib/gunicode.go +3 -3
@@ -1249,7 +1249,7 @@ func Utf8CollateKeyForFilename(StrVar string, LenVar int) string {
1249 return cret1249 return cret
1250 }1250 }
1251 1251
1252-var xUtf8FindNextChar func(string, string) string1252+var xUtf8FindNextChar func(string, uintptr) string
1253 1253
1254 // Finds the start of the next UTF-8 character in the string after @p.1254 // Finds the start of the next UTF-8 character in the string after @p.
1255 //1255 //
@@ -1261,9 +1261,9 @@ var xUtf8FindNextChar func(string, string) string
1261 // string is reached, a pointer to the terminating nul byte is returned. If1261 // string is reached, a pointer to the terminating nul byte is returned. If
1262 // @end is non-`NULL`, the return value will be `NULL` if the end of the string1262 // @end is non-`NULL`, the return value will be `NULL` if the end of the string
1263 // is reached.1263 // is reached.
1264-func Utf8FindNextChar(PVar string, EndVar string) string {1264+func Utf8FindNextChar(PVar string, EndVar *string) string {
1265 1265
1266- cret := xUtf8FindNextChar(PVar, EndVar)1266+ cret := xUtf8FindNextChar(PVar, core.NullableStringToPtr(EndVar))
1267 return cret1267 return cret
1268 }1268 }
1269 1269
M v4/glib/guri.go +30 -30
@@ -598,19 +598,19 @@ const (
598 GUriErrorBadFragmentValue UriError = 9598 GUriErrorBadFragmentValue UriError = 9
599 )599 )
600 600
601-var xUriBuild func(UriFlags, string, string, string, int, string, string, string) *Uri601+var xUriBuild func(UriFlags, string, uintptr, uintptr, int, string, uintptr, uintptr) *Uri
602 602
603 // Creates a new #GUri from the given components according to @flags.603 // Creates a new #GUri from the given components according to @flags.
604 //604 //
605 // See also g_uri_build_with_user(), which allows specifying the605 // See also g_uri_build_with_user(), which allows specifying the
606 // components of the "userinfo" separately.606 // components of the "userinfo" separately.
607-func UriBuild(FlagsVar UriFlags, SchemeVar string, UserinfoVar string, HostVar string, PortVar int, PathVar string, QueryVar string, FragmentVar string) *Uri {607+func UriBuild(FlagsVar UriFlags, SchemeVar string, UserinfoVar *string, HostVar *string, PortVar int, PathVar string, QueryVar *string, FragmentVar *string) *Uri {
608 608
609- cret := xUriBuild(FlagsVar, SchemeVar, UserinfoVar, HostVar, PortVar, PathVar, QueryVar, FragmentVar)609+ cret := xUriBuild(FlagsVar, SchemeVar, core.NullableStringToPtr(UserinfoVar), core.NullableStringToPtr(HostVar), PortVar, PathVar, core.NullableStringToPtr(QueryVar), core.NullableStringToPtr(FragmentVar))
610 return cret610 return cret
611 }611 }
612 612
613-var xUriBuildWithUser func(UriFlags, string, string, string, string, string, int, string, string, string) *Uri613+var xUriBuildWithUser func(UriFlags, string, uintptr, uintptr, uintptr, uintptr, int, string, uintptr, uintptr) *Uri
614 614
615 // Creates a new #GUri from the given components according to @flags615 // Creates a new #GUri from the given components according to @flags
616 // (%G_URI_FLAGS_HAS_PASSWORD is added unconditionally). The @flags must be616 // (%G_URI_FLAGS_HAS_PASSWORD is added unconditionally). The @flags must be
@@ -620,13 +620,13 @@ var xUriBuildWithUser func(UriFlags, string, string, string, string, string, int
620 // In contrast to g_uri_build(), this allows specifying the components620 // In contrast to g_uri_build(), this allows specifying the components
621 // of the ‘userinfo’ field separately. Note that @user must be non-%NULL621 // of the ‘userinfo’ field separately. Note that @user must be non-%NULL
622 // if either @password or @auth_params is non-%NULL.622 // if either @password or @auth_params is non-%NULL.
623-func UriBuildWithUser(FlagsVar UriFlags, SchemeVar string, UserVar string, PasswordVar string, AuthParamsVar string, HostVar string, PortVar int, PathVar string, QueryVar string, FragmentVar string) *Uri {623+func UriBuildWithUser(FlagsVar UriFlags, SchemeVar string, UserVar *string, PasswordVar *string, AuthParamsVar *string, HostVar *string, PortVar int, PathVar string, QueryVar *string, FragmentVar *string) *Uri {
624 624
625- cret := xUriBuildWithUser(FlagsVar, SchemeVar, UserVar, PasswordVar, AuthParamsVar, HostVar, PortVar, PathVar, QueryVar, FragmentVar)625+ cret := xUriBuildWithUser(FlagsVar, SchemeVar, core.NullableStringToPtr(UserVar), core.NullableStringToPtr(PasswordVar), core.NullableStringToPtr(AuthParamsVar), core.NullableStringToPtr(HostVar), PortVar, PathVar, core.NullableStringToPtr(QueryVar), core.NullableStringToPtr(FragmentVar))
626 return cret626 return cret
627 }627 }
628 628
629-var xUriEscapeBytes func([]byte, uint, string) string629+var xUriEscapeBytes func([]byte, uint, uintptr) string
630 630
631 // Escapes arbitrary data for use in a URI.631 // Escapes arbitrary data for use in a URI.
632 //632 //
@@ -639,13 +639,13 @@ var xUriEscapeBytes func([]byte, uint, string) string
639 //639 //
640 // Though technically incorrect, this will also allow escaping nul640 // Though technically incorrect, this will also allow escaping nul
641 // bytes as `%“00`.641 // bytes as `%“00`.
642-func UriEscapeBytes(UnescapedVar []byte, LengthVar uint, ReservedCharsAllowedVar string) string {642+func UriEscapeBytes(UnescapedVar []byte, LengthVar uint, ReservedCharsAllowedVar *string) string {
643 643
644- cret := xUriEscapeBytes(UnescapedVar, LengthVar, ReservedCharsAllowedVar)644+ cret := xUriEscapeBytes(UnescapedVar, LengthVar, core.NullableStringToPtr(ReservedCharsAllowedVar))
645 return cret645 return cret
646 }646 }
647 647
648-var xUriEscapeString func(string, string, bool) string648+var xUriEscapeString func(string, uintptr, bool) string
649 649
650 // Escapes a string for use in a URI.650 // Escapes a string for use in a URI.
651 //651 //
@@ -655,9 +655,9 @@ var xUriEscapeString func(string, string, bool) string
655 // they are not escaped. This is useful for the "reserved" characters655 // they are not escaped. This is useful for the "reserved" characters
656 // in the URI specification, since those are allowed unescaped in some656 // in the URI specification, since those are allowed unescaped in some
657 // portions of a URI.657 // portions of a URI.
658-func UriEscapeString(UnescapedVar string, ReservedCharsAllowedVar string, AllowUtf8Var bool) string {658+func UriEscapeString(UnescapedVar string, ReservedCharsAllowedVar *string, AllowUtf8Var bool) string {
659 659
660- cret := xUriEscapeString(UnescapedVar, ReservedCharsAllowedVar, AllowUtf8Var)660+ cret := xUriEscapeString(UnescapedVar, core.NullableStringToPtr(ReservedCharsAllowedVar), AllowUtf8Var)
661 return cret661 return cret
662 }662 }
663 663
@@ -682,7 +682,7 @@ func UriIsValid(UriStringVar string, FlagsVar UriFlags) (bool, error) {
682 682
683 }683 }
684 684
685-var xUriJoin func(UriFlags, string, string, string, int, string, string, string) string685+var xUriJoin func(UriFlags, uintptr, uintptr, uintptr, int, string, uintptr, uintptr) string
686 686
687 // Joins the given components together according to @flags to create687 // Joins the given components together according to @flags to create
688 // an absolute URI string. @path may not be %NULL (though it may be the empty688 // an absolute URI string. @path may not be %NULL (though it may be the empty
@@ -698,13 +698,13 @@ var xUriJoin func(UriFlags, string, string, string, int, string, string, string)
698 //698 //
699 // %G_URI_FLAGS_HAS_PASSWORD and %G_URI_FLAGS_HAS_AUTH_PARAMS are ignored if set699 // %G_URI_FLAGS_HAS_PASSWORD and %G_URI_FLAGS_HAS_AUTH_PARAMS are ignored if set
700 // in @flags.700 // in @flags.
701-func UriJoin(FlagsVar UriFlags, SchemeVar string, UserinfoVar string, HostVar string, PortVar int, PathVar string, QueryVar string, FragmentVar string) string {701+func UriJoin(FlagsVar UriFlags, SchemeVar *string, UserinfoVar *string, HostVar *string, PortVar int, PathVar string, QueryVar *string, FragmentVar *string) string {
702 702
703- cret := xUriJoin(FlagsVar, SchemeVar, UserinfoVar, HostVar, PortVar, PathVar, QueryVar, FragmentVar)703+ cret := xUriJoin(FlagsVar, core.NullableStringToPtr(SchemeVar), core.NullableStringToPtr(UserinfoVar), core.NullableStringToPtr(HostVar), PortVar, PathVar, core.NullableStringToPtr(QueryVar), core.NullableStringToPtr(FragmentVar))
704 return cret704 return cret
705 }705 }
706 706
707-var xUriJoinWithUser func(UriFlags, string, string, string, string, string, int, string, string, string) string707+var xUriJoinWithUser func(UriFlags, uintptr, uintptr, uintptr, uintptr, uintptr, int, string, uintptr, uintptr) string
708 708
709 // Joins the given components together according to @flags to create709 // Joins the given components together according to @flags to create
710 // an absolute URI string. @path may not be %NULL (though it may be the empty710 // an absolute URI string. @path may not be %NULL (though it may be the empty
@@ -715,9 +715,9 @@ var xUriJoinWithUser func(UriFlags, string, string, string, string, string, int,
715 //715 //
716 // %G_URI_FLAGS_HAS_PASSWORD and %G_URI_FLAGS_HAS_AUTH_PARAMS are ignored if set716 // %G_URI_FLAGS_HAS_PASSWORD and %G_URI_FLAGS_HAS_AUTH_PARAMS are ignored if set
717 // in @flags.717 // in @flags.
718-func UriJoinWithUser(FlagsVar UriFlags, SchemeVar string, UserVar string, PasswordVar string, AuthParamsVar string, HostVar string, PortVar int, PathVar string, QueryVar string, FragmentVar string) string {718+func UriJoinWithUser(FlagsVar UriFlags, SchemeVar *string, UserVar *string, PasswordVar *string, AuthParamsVar *string, HostVar *string, PortVar int, PathVar string, QueryVar *string, FragmentVar *string) string {
719 719
720- cret := xUriJoinWithUser(FlagsVar, SchemeVar, UserVar, PasswordVar, AuthParamsVar, HostVar, PortVar, PathVar, QueryVar, FragmentVar)720+ cret := xUriJoinWithUser(FlagsVar, core.NullableStringToPtr(SchemeVar), core.NullableStringToPtr(UserVar), core.NullableStringToPtr(PasswordVar), core.NullableStringToPtr(AuthParamsVar), core.NullableStringToPtr(HostVar), PortVar, PathVar, core.NullableStringToPtr(QueryVar), core.NullableStringToPtr(FragmentVar))
721 return cret721 return cret
722 }722 }
723 723
@@ -807,7 +807,7 @@ func UriPeekScheme(UriVar string) string {
807 return cret807 return cret
808 }808 }
809 809
810-var xUriResolveRelative func(string, string, UriFlags, **Error) string810+var xUriResolveRelative func(uintptr, string, UriFlags, **Error) string
811 811
812 // Parses @uri_ref according to @flags and, if it is a812 // Parses @uri_ref according to @flags and, if it is a
813 // [relative URI](#relative-and-absolute-uris), resolves it relative to813 // [relative URI](#relative-and-absolute-uris), resolves it relative to
@@ -816,10 +816,10 @@ var xUriResolveRelative func(string, string, UriFlags, **Error) string
816 //816 //
817 // (If @base_uri_string is %NULL, this just returns @uri_ref, or817 // (If @base_uri_string is %NULL, this just returns @uri_ref, or
818 // %NULL if @uri_ref is invalid or not absolute.)818 // %NULL if @uri_ref is invalid or not absolute.)
819-func UriResolveRelative(BaseUriStringVar string, UriRefVar string, FlagsVar UriFlags) (string, error) {819+func UriResolveRelative(BaseUriStringVar *string, UriRefVar string, FlagsVar UriFlags) (string, error) {
820 var cerr *Error820 var cerr *Error
821 821
822- cret := xUriResolveRelative(BaseUriStringVar, UriRefVar, FlagsVar, &cerr)822+ cret := xUriResolveRelative(core.NullableStringToPtr(BaseUriStringVar), UriRefVar, FlagsVar, &cerr)
823 if cerr == nil {823 if cerr == nil {
824 return cret, nil824 return cret, nil
825 }825 }
@@ -899,7 +899,7 @@ func UriSplitWithUser(UriRefVar string, FlagsVar UriFlags, SchemeVar *string, Us
899 899
900 }900 }
901 901
902-var xUriUnescapeBytes func(string, int, string, **Error) *Bytes902+var xUriUnescapeBytes func(string, int, uintptr, **Error) *Bytes
903 903
904 // Unescapes a segment of an escaped string as binary data.904 // Unescapes a segment of an escaped string as binary data.
905 //905 //
@@ -911,10 +911,10 @@ var xUriUnescapeBytes func(string, int, string, **Error) *Bytes
911 // returned. This is useful if you want to avoid for instance having a slash911 // returned. This is useful if you want to avoid for instance having a slash
912 // being expanded in an escaped path element, which might confuse pathname912 // being expanded in an escaped path element, which might confuse pathname
913 // handling.913 // handling.
914-func UriUnescapeBytes(EscapedStringVar string, LengthVar int, IllegalCharactersVar string) (*Bytes, error) {914+func UriUnescapeBytes(EscapedStringVar string, LengthVar int, IllegalCharactersVar *string) (*Bytes, error) {
915 var cerr *Error915 var cerr *Error
916 916
917- cret := xUriUnescapeBytes(EscapedStringVar, LengthVar, IllegalCharactersVar, &cerr)917+ cret := xUriUnescapeBytes(EscapedStringVar, LengthVar, core.NullableStringToPtr(IllegalCharactersVar), &cerr)
918 if cerr == nil {918 if cerr == nil {
919 return cret, nil919 return cret, nil
920 }920 }
@@ -922,7 +922,7 @@ func UriUnescapeBytes(EscapedStringVar string, LengthVar int, IllegalCharactersV
922 922
923 }923 }
924 924
925-var xUriUnescapeSegment func(string, string, string) string925+var xUriUnescapeSegment func(uintptr, uintptr, uintptr) string
926 926
927 // Unescapes a segment of an escaped string.927 // Unescapes a segment of an escaped string.
928 //928 //
@@ -934,13 +934,13 @@ var xUriUnescapeSegment func(string, string, string) string
934 //934 //
935 // Note: `NUL` byte is not accepted in the output, in contrast to935 // Note: `NUL` byte is not accepted in the output, in contrast to
936 // g_uri_unescape_bytes().936 // g_uri_unescape_bytes().
937-func UriUnescapeSegment(EscapedStringVar string, EscapedStringEndVar string, IllegalCharactersVar string) string {937+func UriUnescapeSegment(EscapedStringVar *string, EscapedStringEndVar *string, IllegalCharactersVar *string) string {
938 938
939- cret := xUriUnescapeSegment(EscapedStringVar, EscapedStringEndVar, IllegalCharactersVar)939+ cret := xUriUnescapeSegment(core.NullableStringToPtr(EscapedStringVar), core.NullableStringToPtr(EscapedStringEndVar), core.NullableStringToPtr(IllegalCharactersVar))
940 return cret940 return cret
941 }941 }
942 942
943-var xUriUnescapeString func(string, string) string943+var xUriUnescapeString func(string, uintptr) string
944 944
945 // Unescapes a whole escaped string.945 // Unescapes a whole escaped string.
946 //946 //
@@ -949,9 +949,9 @@ var xUriUnescapeString func(string, string) string
949 // that is an error and %NULL will be returned. This is useful if you949 // that is an error and %NULL will be returned. This is useful if you
950 // want to avoid for instance having a slash being expanded in an950 // want to avoid for instance having a slash being expanded in an
951 // escaped path element, which might confuse pathname handling.951 // escaped path element, which might confuse pathname handling.
952-func UriUnescapeString(EscapedStringVar string, IllegalCharactersVar string) string {952+func UriUnescapeString(EscapedStringVar string, IllegalCharactersVar *string) string {
953 953
954- cret := xUriUnescapeString(EscapedStringVar, IllegalCharactersVar)954+ cret := xUriUnescapeString(EscapedStringVar, core.NullableStringToPtr(IllegalCharactersVar))
955 return cret955 return cret
956 }956 }
957 957
M v4/glib/gutils.go +3 -3
@@ -611,7 +611,7 @@ func NullifyPointer(NullifyLocationVar uintptr) {
611 611
612 }612 }
613 613
614-var xParseDebugString func(string, []DebugKey, uint) uint614+var xParseDebugString func(uintptr, []DebugKey, uint) uint
615 615
616 // Parses a string containing debugging options616 // Parses a string containing debugging options
617 // into a %guint containing bit flags. This is used617 // into a %guint containing bit flags. This is used
@@ -625,9 +625,9 @@ var xParseDebugString func(string, []DebugKey, uint) uint
625 //625 //
626 // If @string is equal to "help", all the available keys in @keys626 // If @string is equal to "help", all the available keys in @keys
627 // are printed out to standard error.627 // are printed out to standard error.
628-func ParseDebugString(StringVar string, KeysVar []DebugKey, NkeysVar uint) uint {628+func ParseDebugString(StringVar *string, KeysVar []DebugKey, NkeysVar uint) uint {
629 629
630- cret := xParseDebugString(StringVar, KeysVar, NkeysVar)630+ cret := xParseDebugString(core.NullableStringToPtr(StringVar), KeysVar, NkeysVar)
631 return cret631 return cret
632 }632 }
633 633
M v4/glib/gvariant.go +9 -9
@@ -752,7 +752,7 @@ func NewVariantUint64(ValueVar uint64) *Variant {
752 return cret752 return cret
753 }753 }
754 754
755-var xNewVariantVa func(string, string, []interface{}) *Variant755+var xNewVariantVa func(string, uintptr, []interface{}) *Variant
756 756
757 // This function is intended to be used by libraries based on757 // This function is intended to be used by libraries based on
758 // #GVariant that want to provide g_variant_new()-like functionality758 // #GVariant that want to provide g_variant_new()-like functionality
@@ -790,9 +790,9 @@ var xNewVariantVa func(string, string, []interface{}) *Variant
790 // At this point, the caller will have their own full reference to the790 // At this point, the caller will have their own full reference to the
791 // result. This can also be done by adding the result to a container,791 // result. This can also be done by adding the result to a container,
792 // or by passing it to another g_variant_new() call.792 // or by passing it to another g_variant_new() call.
793-func NewVariantVa(FormatStringVar string, EndptrVar string, AppVar []interface{}) *Variant {793+func NewVariantVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) *Variant {
794 794
795- cret := xNewVariantVa(FormatStringVar, EndptrVar, AppVar)795+ cret := xNewVariantVa(FormatStringVar, core.NullableStringToPtr(EndptrVar), AppVar)
796 return cret796 return cret
797 }797 }
798 798
@@ -1450,7 +1450,7 @@ func (x *Variant) GetUint64() uint64 {
1450 return cret1450 return cret
1451 }1451 }
1452 1452
1453-var xVariantGetVa func(uintptr, string, string, []interface{})1453+var xVariantGetVa func(uintptr, string, uintptr, []interface{})
1454 1454
1455 // This function is intended to be used by libraries based on #GVariant1455 // This function is intended to be used by libraries based on #GVariant
1456 // that want to provide g_variant_get()-like functionality to their1456 // that want to provide g_variant_get()-like functionality to their
@@ -1476,9 +1476,9 @@ var xVariantGetVa func(uintptr, string, string, []interface{})
1476 // the values and also determines if the values are copied or borrowed,1476 // the values and also determines if the values are copied or borrowed,
1477 // see the section on1477 // see the section on
1478 // [`GVariant` format strings](gvariant-format-strings.html#pointers).1478 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
1479-func (x *Variant) GetVa(FormatStringVar string, EndptrVar string, AppVar []interface{}) {1479+func (x *Variant) GetVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) {
1480 1480
1481- xVariantGetVa(x.GoPointer(), FormatStringVar, EndptrVar, AppVar)1481+ xVariantGetVa(x.GoPointer(), FormatStringVar, core.NullableStringToPtr(EndptrVar), AppVar)
1482 1482
1483 }1483 }
1484 1484
@@ -2746,7 +2746,7 @@ func VariantIsSignature(StringVar string) bool {
2746 return cret2746 return cret
2747 }2747 }
2748 2748
2749-var xVariantParse func(*VariantType, string, string, string, **Error) *Variant2749+var xVariantParse func(*VariantType, string, uintptr, uintptr, **Error) *Variant
2750 2750
2751 // Parses a #GVariant from a text representation.2751 // Parses a #GVariant from a text representation.
2752 //2752 //
@@ -2784,10 +2784,10 @@ var xVariantParse func(*VariantType, string, string, string, **Error) *Variant
2784 // There may be implementation specific restrictions on deeply nested values,2784 // There may be implementation specific restrictions on deeply nested values,
2785 // which would result in a %G_VARIANT_PARSE_ERROR_RECURSION error. #GVariant is2785 // which would result in a %G_VARIANT_PARSE_ERROR_RECURSION error. #GVariant is
2786 // guaranteed to handle nesting up to at least 64 levels.2786 // guaranteed to handle nesting up to at least 64 levels.
2787-func VariantParse(TypeVar *VariantType, TextVar string, LimitVar string, EndptrVar string) (*Variant, error) {2787+func VariantParse(TypeVar *VariantType, TextVar string, LimitVar *string, EndptrVar *string) (*Variant, error) {
2788 var cerr *Error2788 var cerr *Error
2789 2789
2790- cret := xVariantParse(TypeVar, TextVar, LimitVar, EndptrVar, &cerr)2790+ cret := xVariantParse(TypeVar, TextVar, core.NullableStringToPtr(LimitVar), core.NullableStringToPtr(EndptrVar), &cerr)
2791 if cerr == nil {2791 if cerr == nil {
2792 return cret, nil2792 return cret, nil
2793 }2793 }
M v4/glib/gvarianttype.go +3 -3
@@ -625,7 +625,7 @@ func VariantTypeStringIsValid(TypeStringVar string) bool {
625 return cret625 return cret
626 }626 }
627 627
628-var xVariantTypeStringScan func(string, string, *string) bool628+var xVariantTypeStringScan func(string, uintptr, *string) bool
629 629
630 // Scan for a single complete and valid GVariant type string in @string.630 // Scan for a single complete and valid GVariant type string in @string.
631 //631 //
@@ -641,9 +641,9 @@ var xVariantTypeStringScan func(string, string, *string) bool
641 //641 //
642 // For the simple case of checking if a string is a valid type string,642 // For the simple case of checking if a string is a valid type string,
643 // see [func@GLib.VariantType.string_is_valid].643 // see [func@GLib.VariantType.string_is_valid].
644-func VariantTypeStringScan(StringVar string, LimitVar string, EndptrVar *string) bool {644+func VariantTypeStringScan(StringVar string, LimitVar *string, EndptrVar *string) bool {
645 645
646- cret := xVariantTypeStringScan(StringVar, LimitVar, EndptrVar)646+ cret := xVariantTypeStringScan(StringVar, core.NullableStringToPtr(LimitVar), EndptrVar)
647 return cret647 return cret
648 }648 }
649 649
M v4/gmodule/gmodule.go +3 -3
@@ -107,7 +107,7 @@ const (
107 GModuleErrorCheckFailedValue ModuleError = 1107 GModuleErrorCheckFailedValue ModuleError = 1
108 )108 )
109 109
110-var xModuleBuildPath func(string, string) string110+var xModuleBuildPath func(uintptr, string) string
111 111
112 // A portable way to build the filename of a module. The platform-specific112 // A portable way to build the filename of a module. The platform-specific
113 // prefix and suffix are added to the filename, if needed, and the result113 // prefix and suffix are added to the filename, if needed, and the result
@@ -122,9 +122,9 @@ var xModuleBuildPath func(string, string) string
122 // @directory of `/lib` and a @module_name of "mylibrary" will return122 // @directory of `/lib` and a @module_name of "mylibrary" will return
123 // `/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the123 // `/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the
124 // directory it will return `\Windows\mylibrary.dll`.124 // directory it will return `\Windows\mylibrary.dll`.
125-func ModuleBuildPath(DirectoryVar string, ModuleNameVar string) string {125+func ModuleBuildPath(DirectoryVar *string, ModuleNameVar string) string {
126 126
127- cret := xModuleBuildPath(DirectoryVar, ModuleNameVar)127+ cret := xModuleBuildPath(core.NullableStringToPtr(DirectoryVar), ModuleNameVar)
128 return cret128 return cret
129 }129 }
130 130
M v4/gobject/gbinding.go +2 -2
@@ -306,7 +306,7 @@ func (c *Binding) SetGoPointer(ptr uintptr) {
306 func (x *Binding) SetPropertySourceProperty(value string) {306 func (x *Binding) SetPropertySourceProperty(value string) {
307 var v Value307 var v Value
308 v.Init(TypeStringVal)308 v.Init(TypeStringVal)
309- v.SetString(value)309+ v.SetString(&value)
310 x.SetProperty("source-property", &v)310 x.SetProperty("source-property", &v)
311 }311 }
312 312
@@ -331,7 +331,7 @@ func (x *Binding) GetPropertySourceProperty() string {
331 func (x *Binding) SetPropertyTargetProperty(value string) {331 func (x *Binding) SetPropertyTargetProperty(value string) {
332 var v Value332 var v Value
333 v.Init(TypeStringVal)333 v.Init(TypeStringVal)
334- v.SetString(value)334+ v.SetString(&value)
335 x.SetProperty("target-property", &v)335 x.SetProperty("target-property", &v)
336 }336 }
337 337
M v4/gobject/gparam.go +3 -3
@@ -836,7 +836,7 @@ func (c *ParamSpec) SetGoPointer(ptr uintptr) {
836 c.Ptr = ptr836 c.Ptr = ptr
837 }837 }
838 838
839-var xParamSpecInternal func(types.GType, string, string, string, ParamFlags) uintptr839+var xParamSpecInternal func(types.GType, string, uintptr, uintptr, ParamFlags) uintptr
840 840
841 // Creates a new #GParamSpec instance.841 // Creates a new #GParamSpec instance.
842 //842 //
@@ -850,10 +850,10 @@ var xParamSpecInternal func(types.GType, string, string, string, ParamFlags) uin
850 // omitted, while for other libraries such as GStreamer and its plugins they850 // omitted, while for other libraries such as GStreamer and its plugins they
851 // are essential. When in doubt, follow the conventions used in the851 // are essential. When in doubt, follow the conventions used in the
852 // surrounding code and supporting libraries.852 // surrounding code and supporting libraries.
853-func ParamSpecInternal(ParamTypeVar types.GType, NameVar string, NickVar string, BlurbVar string, FlagsVar ParamFlags) *ParamSpec {853+func ParamSpecInternal(ParamTypeVar types.GType, NameVar string, NickVar *string, BlurbVar *string, FlagsVar ParamFlags) *ParamSpec {
854 var cls *ParamSpec854 var cls *ParamSpec
855 855
856- cret := xParamSpecInternal(ParamTypeVar, NameVar, NickVar, BlurbVar, FlagsVar)856+ cret := xParamSpecInternal(ParamTypeVar, NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), FlagsVar)
857 857
858 if cret == 0 {858 if cret == 0 {
859 return nil859 return nil
M v4/gobject/gparamspecs.go +66 -66
@@ -8,7 +8,7 @@ import (
8 "github.com/jwijenbergh/puregotk/v4/gobject/types"8 "github.com/jwijenbergh/puregotk/v4/gobject/types"
9 )9 )
10 10
11-var xNewParamSpecBoolean func(string, string, string, bool, ParamFlags) uintptr11+var xNewParamSpecBoolean func(string, uintptr, uintptr, bool, ParamFlags) uintptr
12 12
13 // Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN13 // Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN
14 // property. In many cases, it may be more appropriate to use an enum with14 // property. In many cases, it may be more appropriate to use an enum with
@@ -17,10 +17,10 @@ var xNewParamSpecBoolean func(string, string, string, bool, ParamFlags) uintptr
17 // API.17 // API.
18 //18 //
19 // See g_param_spec_internal() for details on property names.19 // See g_param_spec_internal() for details on property names.
20-func NewParamSpecBoolean(NameVar string, NickVar string, BlurbVar string, DefaultValueVar bool, FlagsVar ParamFlags) *ParamSpec {20+func NewParamSpecBoolean(NameVar string, NickVar *string, BlurbVar *string, DefaultValueVar bool, FlagsVar ParamFlags) *ParamSpec {
21 var cls *ParamSpec21 var cls *ParamSpec
22 22
23- cret := xNewParamSpecBoolean(NameVar, NickVar, BlurbVar, DefaultValueVar, FlagsVar)23+ cret := xNewParamSpecBoolean(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), DefaultValueVar, FlagsVar)
24 24
25 if cret == 0 {25 if cret == 0 {
26 return nil26 return nil
@@ -30,16 +30,16 @@ func NewParamSpecBoolean(NameVar string, NickVar string, BlurbVar string, Defaul
30 return cls30 return cls
31 }31 }
32 32
33-var xNewParamSpecBoxed func(string, string, string, types.GType, ParamFlags) uintptr33+var xNewParamSpecBoxed func(string, uintptr, uintptr, types.GType, ParamFlags) uintptr
34 34
35 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED35 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED
36 // derived property.36 // derived property.
37 //37 //
38 // See g_param_spec_internal() for details on property names.38 // See g_param_spec_internal() for details on property names.
39-func NewParamSpecBoxed(NameVar string, NickVar string, BlurbVar string, BoxedTypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {39+func NewParamSpecBoxed(NameVar string, NickVar *string, BlurbVar *string, BoxedTypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {
40 var cls *ParamSpec40 var cls *ParamSpec
41 41
42- cret := xNewParamSpecBoxed(NameVar, NickVar, BlurbVar, BoxedTypeVar, FlagsVar)42+ cret := xNewParamSpecBoxed(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), BoxedTypeVar, FlagsVar)
43 43
44 if cret == 0 {44 if cret == 0 {
45 return nil45 return nil
@@ -49,13 +49,13 @@ func NewParamSpecBoxed(NameVar string, NickVar string, BlurbVar string, BoxedTyp
49 return cls49 return cls
50 }50 }
51 51
52-var xNewParamSpecChar func(string, string, string, int8, int8, int8, ParamFlags) uintptr52+var xNewParamSpecChar func(string, uintptr, uintptr, int8, int8, int8, ParamFlags) uintptr
53 53
54 // Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.54 // Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.
55-func NewParamSpecChar(NameVar string, NickVar string, BlurbVar string, MinimumVar int8, MaximumVar int8, DefaultValueVar int8, FlagsVar ParamFlags) *ParamSpec {55+func NewParamSpecChar(NameVar string, NickVar *string, BlurbVar *string, MinimumVar int8, MaximumVar int8, DefaultValueVar int8, FlagsVar ParamFlags) *ParamSpec {
56 var cls *ParamSpec56 var cls *ParamSpec
57 57
58- cret := xNewParamSpecChar(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)58+ cret := xNewParamSpecChar(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
59 59
60 if cret == 0 {60 if cret == 0 {
61 return nil61 return nil
@@ -65,16 +65,16 @@ func NewParamSpecChar(NameVar string, NickVar string, BlurbVar string, MinimumVa
65 return cls65 return cls
66 }66 }
67 67
68-var xNewParamSpecDouble func(string, string, string, float64, float64, float64, ParamFlags) uintptr68+var xNewParamSpecDouble func(string, uintptr, uintptr, float64, float64, float64, ParamFlags) uintptr
69 69
70 // Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE70 // Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE
71 // property.71 // property.
72 //72 //
73 // See g_param_spec_internal() for details on property names.73 // See g_param_spec_internal() for details on property names.
74-func NewParamSpecDouble(NameVar string, NickVar string, BlurbVar string, MinimumVar float64, MaximumVar float64, DefaultValueVar float64, FlagsVar ParamFlags) *ParamSpec {74+func NewParamSpecDouble(NameVar string, NickVar *string, BlurbVar *string, MinimumVar float64, MaximumVar float64, DefaultValueVar float64, FlagsVar ParamFlags) *ParamSpec {
75 var cls *ParamSpec75 var cls *ParamSpec
76 76
77- cret := xNewParamSpecDouble(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)77+ cret := xNewParamSpecDouble(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
78 78
79 if cret == 0 {79 if cret == 0 {
80 return nil80 return nil
@@ -84,16 +84,16 @@ func NewParamSpecDouble(NameVar string, NickVar string, BlurbVar string, Minimum
84 return cls84 return cls
85 }85 }
86 86
87-var xNewParamSpecEnum func(string, string, string, types.GType, int, ParamFlags) uintptr87+var xNewParamSpecEnum func(string, uintptr, uintptr, types.GType, int, ParamFlags) uintptr
88 88
89 // Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM89 // Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM
90 // property.90 // property.
91 //91 //
92 // See g_param_spec_internal() for details on property names.92 // See g_param_spec_internal() for details on property names.
93-func NewParamSpecEnum(NameVar string, NickVar string, BlurbVar string, EnumTypeVar types.GType, DefaultValueVar int, FlagsVar ParamFlags) *ParamSpec {93+func NewParamSpecEnum(NameVar string, NickVar *string, BlurbVar *string, EnumTypeVar types.GType, DefaultValueVar int, FlagsVar ParamFlags) *ParamSpec {
94 var cls *ParamSpec94 var cls *ParamSpec
95 95
96- cret := xNewParamSpecEnum(NameVar, NickVar, BlurbVar, EnumTypeVar, DefaultValueVar, FlagsVar)96+ cret := xNewParamSpecEnum(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), EnumTypeVar, DefaultValueVar, FlagsVar)
97 97
98 if cret == 0 {98 if cret == 0 {
99 return nil99 return nil
@@ -103,16 +103,16 @@ func NewParamSpecEnum(NameVar string, NickVar string, BlurbVar string, EnumTypeV
103 return cls103 return cls
104 }104 }
105 105
106-var xNewParamSpecFlags func(string, string, string, types.GType, uint, ParamFlags) uintptr106+var xNewParamSpecFlags func(string, uintptr, uintptr, types.GType, uint, ParamFlags) uintptr
107 107
108 // Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS108 // Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS
109 // property.109 // property.
110 //110 //
111 // See g_param_spec_internal() for details on property names.111 // See g_param_spec_internal() for details on property names.
112-func NewParamSpecFlags(NameVar string, NickVar string, BlurbVar string, FlagsTypeVar types.GType, DefaultValueVar uint, FlagsVar ParamFlags) *ParamSpec {112+func NewParamSpecFlags(NameVar string, NickVar *string, BlurbVar *string, FlagsTypeVar types.GType, DefaultValueVar uint, FlagsVar ParamFlags) *ParamSpec {
113 var cls *ParamSpec113 var cls *ParamSpec
114 114
115- cret := xNewParamSpecFlags(NameVar, NickVar, BlurbVar, FlagsTypeVar, DefaultValueVar, FlagsVar)115+ cret := xNewParamSpecFlags(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), FlagsTypeVar, DefaultValueVar, FlagsVar)
116 116
117 if cret == 0 {117 if cret == 0 {
118 return nil118 return nil
@@ -122,15 +122,15 @@ func NewParamSpecFlags(NameVar string, NickVar string, BlurbVar string, FlagsTyp
122 return cls122 return cls
123 }123 }
124 124
125-var xNewParamSpecFloat func(string, string, string, float32, float32, float32, ParamFlags) uintptr125+var xNewParamSpecFloat func(string, uintptr, uintptr, float32, float32, float32, ParamFlags) uintptr
126 126
127 // Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT property.127 // Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT property.
128 //128 //
129 // See g_param_spec_internal() for details on property names.129 // See g_param_spec_internal() for details on property names.
130-func NewParamSpecFloat(NameVar string, NickVar string, BlurbVar string, MinimumVar float32, MaximumVar float32, DefaultValueVar float32, FlagsVar ParamFlags) *ParamSpec {130+func NewParamSpecFloat(NameVar string, NickVar *string, BlurbVar *string, MinimumVar float32, MaximumVar float32, DefaultValueVar float32, FlagsVar ParamFlags) *ParamSpec {
131 var cls *ParamSpec131 var cls *ParamSpec
132 132
133- cret := xNewParamSpecFloat(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)133+ cret := xNewParamSpecFloat(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
134 134
135 if cret == 0 {135 if cret == 0 {
136 return nil136 return nil
@@ -140,16 +140,16 @@ func NewParamSpecFloat(NameVar string, NickVar string, BlurbVar string, MinimumV
140 return cls140 return cls
141 }141 }
142 142
143-var xParamSpecGtype func(string, string, string, types.GType, ParamFlags) uintptr143+var xParamSpecGtype func(string, uintptr, uintptr, types.GType, ParamFlags) uintptr
144 144
145 // Creates a new #GParamSpecGType instance specifying a145 // Creates a new #GParamSpecGType instance specifying a
146 // %G_TYPE_GTYPE property.146 // %G_TYPE_GTYPE property.
147 //147 //
148 // See g_param_spec_internal() for details on property names.148 // See g_param_spec_internal() for details on property names.
149-func ParamSpecGtype(NameVar string, NickVar string, BlurbVar string, IsATypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {149+func ParamSpecGtype(NameVar string, NickVar *string, BlurbVar *string, IsATypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {
150 var cls *ParamSpec150 var cls *ParamSpec
151 151
152- cret := xParamSpecGtype(NameVar, NickVar, BlurbVar, IsATypeVar, FlagsVar)152+ cret := xParamSpecGtype(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), IsATypeVar, FlagsVar)
153 153
154 if cret == 0 {154 if cret == 0 {
155 return nil155 return nil
@@ -159,15 +159,15 @@ func ParamSpecGtype(NameVar string, NickVar string, BlurbVar string, IsATypeVar
159 return cls159 return cls
160 }160 }
161 161
162-var xNewParamSpecInt func(string, string, string, int, int, int, ParamFlags) uintptr162+var xNewParamSpecInt func(string, uintptr, uintptr, int, int, int, ParamFlags) uintptr
163 163
164 // Creates a new #GParamSpecInt instance specifying a %G_TYPE_INT property.164 // Creates a new #GParamSpecInt instance specifying a %G_TYPE_INT property.
165 //165 //
166 // See g_param_spec_internal() for details on property names.166 // See g_param_spec_internal() for details on property names.
167-func NewParamSpecInt(NameVar string, NickVar string, BlurbVar string, MinimumVar int, MaximumVar int, DefaultValueVar int, FlagsVar ParamFlags) *ParamSpec {167+func NewParamSpecInt(NameVar string, NickVar *string, BlurbVar *string, MinimumVar int, MaximumVar int, DefaultValueVar int, FlagsVar ParamFlags) *ParamSpec {
168 var cls *ParamSpec168 var cls *ParamSpec
169 169
170- cret := xNewParamSpecInt(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)170+ cret := xNewParamSpecInt(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
171 171
172 if cret == 0 {172 if cret == 0 {
173 return nil173 return nil
@@ -177,15 +177,15 @@ func NewParamSpecInt(NameVar string, NickVar string, BlurbVar string, MinimumVar
177 return cls177 return cls
178 }178 }
179 179
180-var xNewParamSpecInt64 func(string, string, string, int64, int64, int64, ParamFlags) uintptr180+var xNewParamSpecInt64 func(string, uintptr, uintptr, int64, int64, int64, ParamFlags) uintptr
181 181
182 // Creates a new #GParamSpecInt64 instance specifying a %G_TYPE_INT64 property.182 // Creates a new #GParamSpecInt64 instance specifying a %G_TYPE_INT64 property.
183 //183 //
184 // See g_param_spec_internal() for details on property names.184 // See g_param_spec_internal() for details on property names.
185-func NewParamSpecInt64(NameVar string, NickVar string, BlurbVar string, MinimumVar int64, MaximumVar int64, DefaultValueVar int64, FlagsVar ParamFlags) *ParamSpec {185+func NewParamSpecInt64(NameVar string, NickVar *string, BlurbVar *string, MinimumVar int64, MaximumVar int64, DefaultValueVar int64, FlagsVar ParamFlags) *ParamSpec {
186 var cls *ParamSpec186 var cls *ParamSpec
187 187
188- cret := xNewParamSpecInt64(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)188+ cret := xNewParamSpecInt64(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
189 189
190 if cret == 0 {190 if cret == 0 {
191 return nil191 return nil
@@ -195,15 +195,15 @@ func NewParamSpecInt64(NameVar string, NickVar string, BlurbVar string, MinimumV
195 return cls195 return cls
196 }196 }
197 197
198-var xNewParamSpecLong func(string, string, string, int32, int32, int32, ParamFlags) uintptr198+var xNewParamSpecLong func(string, uintptr, uintptr, int32, int32, int32, ParamFlags) uintptr
199 199
200 // Creates a new #GParamSpecLong instance specifying a %G_TYPE_LONG property.200 // Creates a new #GParamSpecLong instance specifying a %G_TYPE_LONG property.
201 //201 //
202 // See g_param_spec_internal() for details on property names.202 // See g_param_spec_internal() for details on property names.
203-func NewParamSpecLong(NameVar string, NickVar string, BlurbVar string, MinimumVar int32, MaximumVar int32, DefaultValueVar int32, FlagsVar ParamFlags) *ParamSpec {203+func NewParamSpecLong(NameVar string, NickVar *string, BlurbVar *string, MinimumVar int32, MaximumVar int32, DefaultValueVar int32, FlagsVar ParamFlags) *ParamSpec {
204 var cls *ParamSpec204 var cls *ParamSpec
205 205
206- cret := xNewParamSpecLong(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)206+ cret := xNewParamSpecLong(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
207 207
208 if cret == 0 {208 if cret == 0 {
209 return nil209 return nil
@@ -213,16 +213,16 @@ func NewParamSpecLong(NameVar string, NickVar string, BlurbVar string, MinimumVa
213 return cls213 return cls
214 }214 }
215 215
216-var xNewParamSpecObject func(string, string, string, types.GType, ParamFlags) uintptr216+var xNewParamSpecObject func(string, uintptr, uintptr, types.GType, ParamFlags) uintptr
217 217
218 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT218 // Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT
219 // derived property.219 // derived property.
220 //220 //
221 // See g_param_spec_internal() for details on property names.221 // See g_param_spec_internal() for details on property names.
222-func NewParamSpecObject(NameVar string, NickVar string, BlurbVar string, ObjectTypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {222+func NewParamSpecObject(NameVar string, NickVar *string, BlurbVar *string, ObjectTypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {
223 var cls *ParamSpec223 var cls *ParamSpec
224 224
225- cret := xNewParamSpecObject(NameVar, NickVar, BlurbVar, ObjectTypeVar, FlagsVar)225+ cret := xNewParamSpecObject(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), ObjectTypeVar, FlagsVar)
226 226
227 if cret == 0 {227 if cret == 0 {
228 return nil228 return nil
@@ -250,16 +250,16 @@ func NewParamSpecOverride(NameVar string, OverriddenVar *ParamSpec) *ParamSpec {
250 return cls250 return cls
251 }251 }
252 252
253-var xNewParamSpecParam func(string, string, string, types.GType, ParamFlags) uintptr253+var xNewParamSpecParam func(string, uintptr, uintptr, types.GType, ParamFlags) uintptr
254 254
255 // Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM255 // Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM
256 // property.256 // property.
257 //257 //
258 // See g_param_spec_internal() for details on property names.258 // See g_param_spec_internal() for details on property names.
259-func NewParamSpecParam(NameVar string, NickVar string, BlurbVar string, ParamTypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {259+func NewParamSpecParam(NameVar string, NickVar *string, BlurbVar *string, ParamTypeVar types.GType, FlagsVar ParamFlags) *ParamSpec {
260 var cls *ParamSpec260 var cls *ParamSpec
261 261
262- cret := xNewParamSpecParam(NameVar, NickVar, BlurbVar, ParamTypeVar, FlagsVar)262+ cret := xNewParamSpecParam(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), ParamTypeVar, FlagsVar)
263 263
264 if cret == 0 {264 if cret == 0 {
265 return nil265 return nil
@@ -269,17 +269,17 @@ func NewParamSpecParam(NameVar string, NickVar string, BlurbVar string, ParamTyp
269 return cls269 return cls
270 }270 }
271 271
272-var xNewParamSpecPointer func(string, string, string, ParamFlags) uintptr272+var xNewParamSpecPointer func(string, uintptr, uintptr, ParamFlags) uintptr
273 273
274 // Creates a new #GParamSpecPointer instance specifying a pointer property.274 // Creates a new #GParamSpecPointer instance specifying a pointer property.
275 // Where possible, it is better to use g_param_spec_object() or275 // Where possible, it is better to use g_param_spec_object() or
276 // g_param_spec_boxed() to expose memory management information.276 // g_param_spec_boxed() to expose memory management information.
277 //277 //
278 // See g_param_spec_internal() for details on property names.278 // See g_param_spec_internal() for details on property names.
279-func NewParamSpecPointer(NameVar string, NickVar string, BlurbVar string, FlagsVar ParamFlags) *ParamSpec {279+func NewParamSpecPointer(NameVar string, NickVar *string, BlurbVar *string, FlagsVar ParamFlags) *ParamSpec {
280 var cls *ParamSpec280 var cls *ParamSpec
281 281
282- cret := xNewParamSpecPointer(NameVar, NickVar, BlurbVar, FlagsVar)282+ cret := xNewParamSpecPointer(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), FlagsVar)
283 283
284 if cret == 0 {284 if cret == 0 {
285 return nil285 return nil
@@ -289,15 +289,15 @@ func NewParamSpecPointer(NameVar string, NickVar string, BlurbVar string, FlagsV
289 return cls289 return cls
290 }290 }
291 291
292-var xNewParamSpecString func(string, string, string, string, ParamFlags) uintptr292+var xNewParamSpecString func(string, uintptr, uintptr, uintptr, ParamFlags) uintptr
293 293
294 // Creates a new #GParamSpecString instance.294 // Creates a new #GParamSpecString instance.
295 //295 //
296 // See g_param_spec_internal() for details on property names.296 // See g_param_spec_internal() for details on property names.
297-func NewParamSpecString(NameVar string, NickVar string, BlurbVar string, DefaultValueVar string, FlagsVar ParamFlags) *ParamSpec {297+func NewParamSpecString(NameVar string, NickVar *string, BlurbVar *string, DefaultValueVar *string, FlagsVar ParamFlags) *ParamSpec {
298 var cls *ParamSpec298 var cls *ParamSpec
299 299
300- cret := xNewParamSpecString(NameVar, NickVar, BlurbVar, DefaultValueVar, FlagsVar)300+ cret := xNewParamSpecString(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), core.NullableStringToPtr(DefaultValueVar), FlagsVar)
301 301
302 if cret == 0 {302 if cret == 0 {
303 return nil303 return nil
@@ -307,13 +307,13 @@ func NewParamSpecString(NameVar string, NickVar string, BlurbVar string, Default
307 return cls307 return cls
308 }308 }
309 309
310-var xParamSpecUchar func(string, string, string, byte, byte, byte, ParamFlags) uintptr310+var xParamSpecUchar func(string, uintptr, uintptr, byte, byte, byte, ParamFlags) uintptr
311 311
312 // Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.312 // Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.
313-func ParamSpecUchar(NameVar string, NickVar string, BlurbVar string, MinimumVar byte, MaximumVar byte, DefaultValueVar byte, FlagsVar ParamFlags) *ParamSpec {313+func ParamSpecUchar(NameVar string, NickVar *string, BlurbVar *string, MinimumVar byte, MaximumVar byte, DefaultValueVar byte, FlagsVar ParamFlags) *ParamSpec {
314 var cls *ParamSpec314 var cls *ParamSpec
315 315
316- cret := xParamSpecUchar(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)316+ cret := xParamSpecUchar(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
317 317
318 if cret == 0 {318 if cret == 0 {
319 return nil319 return nil
@@ -323,15 +323,15 @@ func ParamSpecUchar(NameVar string, NickVar string, BlurbVar string, MinimumVar
323 return cls323 return cls
324 }324 }
325 325
326-var xParamSpecUint func(string, string, string, uint, uint, uint, ParamFlags) uintptr326+var xParamSpecUint func(string, uintptr, uintptr, uint, uint, uint, ParamFlags) uintptr
327 327
328 // Creates a new #GParamSpecUInt instance specifying a %G_TYPE_UINT property.328 // Creates a new #GParamSpecUInt instance specifying a %G_TYPE_UINT property.
329 //329 //
330 // See g_param_spec_internal() for details on property names.330 // See g_param_spec_internal() for details on property names.
331-func ParamSpecUint(NameVar string, NickVar string, BlurbVar string, MinimumVar uint, MaximumVar uint, DefaultValueVar uint, FlagsVar ParamFlags) *ParamSpec {331+func ParamSpecUint(NameVar string, NickVar *string, BlurbVar *string, MinimumVar uint, MaximumVar uint, DefaultValueVar uint, FlagsVar ParamFlags) *ParamSpec {
332 var cls *ParamSpec332 var cls *ParamSpec
333 333
334- cret := xParamSpecUint(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)334+ cret := xParamSpecUint(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
335 335
336 if cret == 0 {336 if cret == 0 {
337 return nil337 return nil
@@ -341,16 +341,16 @@ func ParamSpecUint(NameVar string, NickVar string, BlurbVar string, MinimumVar u
341 return cls341 return cls
342 }342 }
343 343
344-var xParamSpecUint64 func(string, string, string, uint64, uint64, uint64, ParamFlags) uintptr344+var xParamSpecUint64 func(string, uintptr, uintptr, uint64, uint64, uint64, ParamFlags) uintptr
345 345
346 // Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64346 // Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64
347 // property.347 // property.
348 //348 //
349 // See g_param_spec_internal() for details on property names.349 // See g_param_spec_internal() for details on property names.
350-func ParamSpecUint64(NameVar string, NickVar string, BlurbVar string, MinimumVar uint64, MaximumVar uint64, DefaultValueVar uint64, FlagsVar ParamFlags) *ParamSpec {350+func ParamSpecUint64(NameVar string, NickVar *string, BlurbVar *string, MinimumVar uint64, MaximumVar uint64, DefaultValueVar uint64, FlagsVar ParamFlags) *ParamSpec {
351 var cls *ParamSpec351 var cls *ParamSpec
352 352
353- cret := xParamSpecUint64(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)353+ cret := xParamSpecUint64(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
354 354
355 if cret == 0 {355 if cret == 0 {
356 return nil356 return nil
@@ -360,16 +360,16 @@ func ParamSpecUint64(NameVar string, NickVar string, BlurbVar string, MinimumVar
360 return cls360 return cls
361 }361 }
362 362
363-var xParamSpecUlong func(string, string, string, uint32, uint32, uint32, ParamFlags) uintptr363+var xParamSpecUlong func(string, uintptr, uintptr, uint32, uint32, uint32, ParamFlags) uintptr
364 364
365 // Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG365 // Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG
366 // property.366 // property.
367 //367 //
368 // See g_param_spec_internal() for details on property names.368 // See g_param_spec_internal() for details on property names.
369-func ParamSpecUlong(NameVar string, NickVar string, BlurbVar string, MinimumVar uint32, MaximumVar uint32, DefaultValueVar uint32, FlagsVar ParamFlags) *ParamSpec {369+func ParamSpecUlong(NameVar string, NickVar *string, BlurbVar *string, MinimumVar uint32, MaximumVar uint32, DefaultValueVar uint32, FlagsVar ParamFlags) *ParamSpec {
370 var cls *ParamSpec370 var cls *ParamSpec
371 371
372- cret := xParamSpecUlong(NameVar, NickVar, BlurbVar, MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)372+ cret := xParamSpecUlong(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), MinimumVar, MaximumVar, DefaultValueVar, FlagsVar)
373 373
374 if cret == 0 {374 if cret == 0 {
375 return nil375 return nil
@@ -379,17 +379,17 @@ func ParamSpecUlong(NameVar string, NickVar string, BlurbVar string, MinimumVar
379 return cls379 return cls
380 }380 }
381 381
382-var xNewParamSpecUnichar func(string, string, string, uint32, ParamFlags) uintptr382+var xNewParamSpecUnichar func(string, uintptr, uintptr, uint32, ParamFlags) uintptr
383 383
384 // Creates a new #GParamSpecUnichar instance specifying a %G_TYPE_UINT384 // Creates a new #GParamSpecUnichar instance specifying a %G_TYPE_UINT
385 // property. #GValue structures for this property can be accessed with385 // property. #GValue structures for this property can be accessed with
386 // g_value_set_uint() and g_value_get_uint().386 // g_value_set_uint() and g_value_get_uint().
387 //387 //
388 // See g_param_spec_internal() for details on property names.388 // See g_param_spec_internal() for details on property names.
389-func NewParamSpecUnichar(NameVar string, NickVar string, BlurbVar string, DefaultValueVar uint32, FlagsVar ParamFlags) *ParamSpec {389+func NewParamSpecUnichar(NameVar string, NickVar *string, BlurbVar *string, DefaultValueVar uint32, FlagsVar ParamFlags) *ParamSpec {
390 var cls *ParamSpec390 var cls *ParamSpec
391 391
392- cret := xNewParamSpecUnichar(NameVar, NickVar, BlurbVar, DefaultValueVar, FlagsVar)392+ cret := xNewParamSpecUnichar(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), DefaultValueVar, FlagsVar)
393 393
394 if cret == 0 {394 if cret == 0 {
395 return nil395 return nil
@@ -399,7 +399,7 @@ func NewParamSpecUnichar(NameVar string, NickVar string, BlurbVar string, Defaul
399 return cls399 return cls
400 }400 }
401 401
402-var xNewParamSpecValueArray func(string, string, string, uintptr, ParamFlags) uintptr402+var xNewParamSpecValueArray func(string, uintptr, uintptr, uintptr, ParamFlags) uintptr
403 403
404 // Creates a new #GParamSpecValueArray instance specifying a404 // Creates a new #GParamSpecValueArray instance specifying a
405 // %G_TYPE_VALUE_ARRAY property. %G_TYPE_VALUE_ARRAY is a405 // %G_TYPE_VALUE_ARRAY property. %G_TYPE_VALUE_ARRAY is a
@@ -407,10 +407,10 @@ var xNewParamSpecValueArray func(string, string, string, uintptr, ParamFlags) ui
407 // can be accessed with g_value_set_boxed() and g_value_get_boxed().407 // can be accessed with g_value_set_boxed() and g_value_get_boxed().
408 //408 //
409 // See g_param_spec_internal() for details on property names.409 // See g_param_spec_internal() for details on property names.
410-func NewParamSpecValueArray(NameVar string, NickVar string, BlurbVar string, ElementSpecVar *ParamSpec, FlagsVar ParamFlags) *ParamSpec {410+func NewParamSpecValueArray(NameVar string, NickVar *string, BlurbVar *string, ElementSpecVar *ParamSpec, FlagsVar ParamFlags) *ParamSpec {
411 var cls *ParamSpec411 var cls *ParamSpec
412 412
413- cret := xNewParamSpecValueArray(NameVar, NickVar, BlurbVar, ElementSpecVar.GoPointer(), FlagsVar)413+ cret := xNewParamSpecValueArray(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), ElementSpecVar.GoPointer(), FlagsVar)
414 414
415 if cret == 0 {415 if cret == 0 {
416 return nil416 return nil
@@ -420,7 +420,7 @@ func NewParamSpecValueArray(NameVar string, NickVar string, BlurbVar string, Ele
420 return cls420 return cls
421 }421 }
422 422
423-var xNewParamSpecVariant func(string, string, string, *glib.VariantType, *glib.Variant, ParamFlags) uintptr423+var xNewParamSpecVariant func(string, uintptr, uintptr, *glib.VariantType, *glib.Variant, ParamFlags) uintptr
424 424
425 // Creates a new #GParamSpecVariant instance specifying a #GVariant425 // Creates a new #GParamSpecVariant instance specifying a #GVariant
426 // property.426 // property.
@@ -428,10 +428,10 @@ var xNewParamSpecVariant func(string, string, string, *glib.VariantType, *glib.V
428 // If @default_value is floating, it is consumed.428 // If @default_value is floating, it is consumed.
429 //429 //
430 // See g_param_spec_internal() for details on property names.430 // See g_param_spec_internal() for details on property names.
431-func NewParamSpecVariant(NameVar string, NickVar string, BlurbVar string, TypeVar *glib.VariantType, DefaultValueVar *glib.Variant, FlagsVar ParamFlags) *ParamSpec {431+func NewParamSpecVariant(NameVar string, NickVar *string, BlurbVar *string, TypeVar *glib.VariantType, DefaultValueVar *glib.Variant, FlagsVar ParamFlags) *ParamSpec {
432 var cls *ParamSpec432 var cls *ParamSpec
433 433
434- cret := xNewParamSpecVariant(NameVar, NickVar, BlurbVar, TypeVar, DefaultValueVar, FlagsVar)434+ cret := xNewParamSpecVariant(NameVar, core.NullableStringToPtr(NickVar), core.NullableStringToPtr(BlurbVar), TypeVar, DefaultValueVar, FlagsVar)
435 435
436 if cret == 0 {436 if cret == 0 {
437 return nil437 return nil
M v4/gobject/gvalue.go +15 -15
@@ -524,14 +524,14 @@ func (x *Value) SetInt64(VInt64Var int64) {
524 524
525 }525 }
526 526
527-var xValueSetInternedString func(uintptr, string)527+var xValueSetInternedString func(uintptr, uintptr)
528 528
529 // Set the contents of a %G_TYPE_STRING #GValue to @v_string. The string is529 // Set the contents of a %G_TYPE_STRING #GValue to @v_string. The string is
530 // assumed to be static and interned (canonical, for example from530 // assumed to be static and interned (canonical, for example from
531 // g_intern_string()), and is thus not duplicated when setting the #GValue.531 // g_intern_string()), and is thus not duplicated when setting the #GValue.
532-func (x *Value) SetInternedString(VStringVar string) {532+func (x *Value) SetInternedString(VStringVar *string) {
533 533
534- xValueSetInternedString(x.GoPointer(), VStringVar)534+ xValueSetInternedString(x.GoPointer(), core.NullableStringToPtr(VStringVar))
535 535
536 }536 }
537 537
@@ -620,7 +620,7 @@ func (x *Value) SetStaticBoxed(VBoxedVar uintptr) {
620 620
621 }621 }
622 622
623-var xValueSetStaticString func(uintptr, string)623+var xValueSetStaticString func(uintptr, uintptr)
624 624
625 // Set the contents of a %G_TYPE_STRING #GValue to @v_string.625 // Set the contents of a %G_TYPE_STRING #GValue to @v_string.
626 // The string is assumed to be static, and is thus not duplicated626 // The string is assumed to be static, and is thus not duplicated
@@ -628,27 +628,27 @@ var xValueSetStaticString func(uintptr, string)
628 //628 //
629 // If the the string is a canonical string, using g_value_set_interned_string()629 // If the the string is a canonical string, using g_value_set_interned_string()
630 // is more appropriate.630 // is more appropriate.
631-func (x *Value) SetStaticString(VStringVar string) {631+func (x *Value) SetStaticString(VStringVar *string) {
632 632
633- xValueSetStaticString(x.GoPointer(), VStringVar)633+ xValueSetStaticString(x.GoPointer(), core.NullableStringToPtr(VStringVar))
634 634
635 }635 }
636 636
637-var xValueSetString func(uintptr, string)637+var xValueSetString func(uintptr, uintptr)
638 638
639 // Set the contents of a %G_TYPE_STRING #GValue to a copy of @v_string.639 // Set the contents of a %G_TYPE_STRING #GValue to a copy of @v_string.
640-func (x *Value) SetString(VStringVar string) {640+func (x *Value) SetString(VStringVar *string) {
641 641
642- xValueSetString(x.GoPointer(), VStringVar)642+ xValueSetString(x.GoPointer(), core.NullableStringToPtr(VStringVar))
643 643
644 }644 }
645 645
646-var xValueSetStringTakeOwnership func(uintptr, string)646+var xValueSetStringTakeOwnership func(uintptr, uintptr)
647 647
648 // This is an internal function introduced mainly for C marshallers.648 // This is an internal function introduced mainly for C marshallers.
649-func (x *Value) SetStringTakeOwnership(VStringVar string) {649+func (x *Value) SetStringTakeOwnership(VStringVar *string) {
650 650
651- xValueSetStringTakeOwnership(x.GoPointer(), VStringVar)651+ xValueSetStringTakeOwnership(x.GoPointer(), core.NullableStringToPtr(VStringVar))
652 652
653 }653 }
654 654
@@ -752,12 +752,12 @@ func (x *Value) TakeParam(ParamVar *ParamSpec) {
752 752
753 }753 }
754 754
755-var xValueTakeString func(uintptr, string)755+var xValueTakeString func(uintptr, uintptr)
756 756
757 // Sets the contents of a %G_TYPE_STRING #GValue to @v_string.757 // Sets the contents of a %G_TYPE_STRING #GValue to @v_string.
758-func (x *Value) TakeString(VStringVar string) {758+func (x *Value) TakeString(VStringVar *string) {
759 759
760- xValueTakeString(x.GoPointer(), VStringVar)760+ xValueTakeString(x.GoPointer(), core.NullableStringToPtr(VStringVar))
761 761
762 }762 }
763 763
M v4/gsk/gskglshader.go +1 -1
@@ -585,7 +585,7 @@ func (c *GLShader) SetGoPointer(ptr uintptr) {
585 func (x *GLShader) SetPropertyResource(value string) {585 func (x *GLShader) SetPropertyResource(value string) {
586 var v gobject.Value586 var v gobject.Value
587 v.Init(gobject.TypeStringVal)587 v.Init(gobject.TypeStringVal)
588- v.SetString(value)588+ v.SetString(&value)
589 x.SetProperty("resource", &v)589 x.SetProperty("resource", &v)
590 }590 }
591 591
M v4/gtk/gtkaboutdialog.go +37 -37
@@ -357,25 +357,25 @@ func (x *AboutDialog) SetAuthors(AuthorsVar []string) {
357 357
358 }358 }
359 359
360-var xAboutDialogSetComments func(uintptr, string)360+var xAboutDialogSetComments func(uintptr, uintptr)
361 361
362 // Sets the comments string to display in the about dialog.362 // Sets the comments string to display in the about dialog.
363 //363 //
364 // This should be a short string of one or two lines.364 // This should be a short string of one or two lines.
365-func (x *AboutDialog) SetComments(CommentsVar string) {365+func (x *AboutDialog) SetComments(CommentsVar *string) {
366 366
367- xAboutDialogSetComments(x.GoPointer(), CommentsVar)367+ xAboutDialogSetComments(x.GoPointer(), core.NullableStringToPtr(CommentsVar))
368 368
369 }369 }
370 370
371-var xAboutDialogSetCopyright func(uintptr, string)371+var xAboutDialogSetCopyright func(uintptr, uintptr)
372 372
373 // Sets the copyright string to display in the about dialog.373 // Sets the copyright string to display in the about dialog.
374 //374 //
375 // This should be a short string of one or two lines.375 // This should be a short string of one or two lines.
376-func (x *AboutDialog) SetCopyright(CopyrightVar string) {376+func (x *AboutDialog) SetCopyright(CopyrightVar *string) {
377 377
378- xAboutDialogSetCopyright(x.GoPointer(), CopyrightVar)378+ xAboutDialogSetCopyright(x.GoPointer(), core.NullableStringToPtr(CopyrightVar))
379 379
380 }380 }
381 381
@@ -389,15 +389,15 @@ func (x *AboutDialog) SetDocumenters(DocumentersVar []string) {
389 389
390 }390 }
391 391
392-var xAboutDialogSetLicense func(uintptr, string)392+var xAboutDialogSetLicense func(uintptr, uintptr)
393 393
394 // Sets the license information to be displayed in the394 // Sets the license information to be displayed in the
395 // about dialog.395 // about dialog.
396 //396 //
397 // If `license` is `NULL`, the license page is hidden.397 // If `license` is `NULL`, the license page is hidden.
398-func (x *AboutDialog) SetLicense(LicenseVar string) {398+func (x *AboutDialog) SetLicense(LicenseVar *string) {
399 399
400- xAboutDialogSetLicense(x.GoPointer(), LicenseVar)400+ xAboutDialogSetLicense(x.GoPointer(), core.NullableStringToPtr(LicenseVar))
401 401
402 }402 }
403 403
@@ -423,28 +423,28 @@ func (x *AboutDialog) SetLogo(LogoVar gdk.Paintable) {
423 423
424 }424 }
425 425
426-var xAboutDialogSetLogoIconName func(uintptr, string)426+var xAboutDialogSetLogoIconName func(uintptr, uintptr)
427 427
428 // Sets the icon name to be displayed as logo in the about dialog.428 // Sets the icon name to be displayed as logo in the about dialog.
429-func (x *AboutDialog) SetLogoIconName(IconNameVar string) {429+func (x *AboutDialog) SetLogoIconName(IconNameVar *string) {
430 430
431- xAboutDialogSetLogoIconName(x.GoPointer(), IconNameVar)431+ xAboutDialogSetLogoIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
432 432
433 }433 }
434 434
435-var xAboutDialogSetProgramName func(uintptr, string)435+var xAboutDialogSetProgramName func(uintptr, uintptr)
436 436
437 // Sets the name to display in the about dialog.437 // Sets the name to display in the about dialog.
438 //438 //
439 // If `name` is not set, the string returned439 // If `name` is not set, the string returned
440 // by `g_get_application_name()` is used.440 // by `g_get_application_name()` is used.
441-func (x *AboutDialog) SetProgramName(NameVar string) {441+func (x *AboutDialog) SetProgramName(NameVar *string) {
442 442
443- xAboutDialogSetProgramName(x.GoPointer(), NameVar)443+ xAboutDialogSetProgramName(x.GoPointer(), core.NullableStringToPtr(NameVar))
444 444
445 }445 }
446 446
447-var xAboutDialogSetSystemInformation func(uintptr, string)447+var xAboutDialogSetSystemInformation func(uintptr, uintptr)
448 448
449 // Sets the system information to be displayed in the about449 // Sets the system information to be displayed in the about
450 // dialog.450 // dialog.
@@ -453,13 +453,13 @@ var xAboutDialogSetSystemInformation func(uintptr, string)
453 // page is hidden.453 // page is hidden.
454 //454 //
455 // See [property@Gtk.AboutDialog:system-information].455 // See [property@Gtk.AboutDialog:system-information].
456-func (x *AboutDialog) SetSystemInformation(SystemInformationVar string) {456+func (x *AboutDialog) SetSystemInformation(SystemInformationVar *string) {
457 457
458- xAboutDialogSetSystemInformation(x.GoPointer(), SystemInformationVar)458+ xAboutDialogSetSystemInformation(x.GoPointer(), core.NullableStringToPtr(SystemInformationVar))
459 459
460 }460 }
461 461
462-var xAboutDialogSetTranslatorCredits func(uintptr, string)462+var xAboutDialogSetTranslatorCredits func(uintptr, uintptr)
463 463
464 // Sets the translator credits string which is displayed in464 // Sets the translator credits string which is displayed in
465 // the credits page.465 // the credits page.
@@ -481,27 +481,27 @@ var xAboutDialogSetTranslatorCredits func(uintptr, string)
481 // for this purpose, since translators will already know the purpose of481 // for this purpose, since translators will already know the purpose of
482 // that `msgid`, and since `GtkAboutDialog` will detect if “translator-credits”482 // that `msgid`, and since `GtkAboutDialog` will detect if “translator-credits”
483 // is untranslated and omit translator credits.483 // is untranslated and omit translator credits.
484-func (x *AboutDialog) SetTranslatorCredits(TranslatorCreditsVar string) {484+func (x *AboutDialog) SetTranslatorCredits(TranslatorCreditsVar *string) {
485 485
486- xAboutDialogSetTranslatorCredits(x.GoPointer(), TranslatorCreditsVar)486+ xAboutDialogSetTranslatorCredits(x.GoPointer(), core.NullableStringToPtr(TranslatorCreditsVar))
487 487
488 }488 }
489 489
490-var xAboutDialogSetVersion func(uintptr, string)490+var xAboutDialogSetVersion func(uintptr, uintptr)
491 491
492 // Sets the version string to display in the about dialog.492 // Sets the version string to display in the about dialog.
493-func (x *AboutDialog) SetVersion(VersionVar string) {493+func (x *AboutDialog) SetVersion(VersionVar *string) {
494 494
495- xAboutDialogSetVersion(x.GoPointer(), VersionVar)495+ xAboutDialogSetVersion(x.GoPointer(), core.NullableStringToPtr(VersionVar))
496 496
497 }497 }
498 498
499-var xAboutDialogSetWebsite func(uintptr, string)499+var xAboutDialogSetWebsite func(uintptr, uintptr)
500 500
501 // Sets the URL to use for the website link.501 // Sets the URL to use for the website link.
502-func (x *AboutDialog) SetWebsite(WebsiteVar string) {502+func (x *AboutDialog) SetWebsite(WebsiteVar *string) {
503 503
504- xAboutDialogSetWebsite(x.GoPointer(), WebsiteVar)504+ xAboutDialogSetWebsite(x.GoPointer(), core.NullableStringToPtr(WebsiteVar))
505 505
506 }506 }
507 507
@@ -590,7 +590,7 @@ func (x *AboutDialog) GetPropertyAuthors() []string {
590 func (x *AboutDialog) SetPropertyComments(value string) {590 func (x *AboutDialog) SetPropertyComments(value string) {
591 var v gobject.Value591 var v gobject.Value
592 v.Init(gobject.TypeStringVal)592 v.Init(gobject.TypeStringVal)
593- v.SetString(value)593+ v.SetString(&value)
594 x.SetProperty("comments", &v)594 x.SetProperty("comments", &v)
595 }595 }
596 596
@@ -611,7 +611,7 @@ func (x *AboutDialog) GetPropertyComments() string {
611 func (x *AboutDialog) SetPropertyCopyright(value string) {611 func (x *AboutDialog) SetPropertyCopyright(value string) {
612 var v gobject.Value612 var v gobject.Value
613 v.Init(gobject.TypeStringVal)613 v.Init(gobject.TypeStringVal)
614- v.SetString(value)614+ v.SetString(&value)
615 x.SetProperty("copyright", &v)615 x.SetProperty("copyright", &v)
616 }616 }
617 617
@@ -664,7 +664,7 @@ func (x *AboutDialog) GetPropertyDocumenters() []string {
664 func (x *AboutDialog) SetPropertyLicense(value string) {664 func (x *AboutDialog) SetPropertyLicense(value string) {
665 var v gobject.Value665 var v gobject.Value
666 v.Init(gobject.TypeStringVal)666 v.Init(gobject.TypeStringVal)
667- v.SetString(value)667+ v.SetString(&value)
668 x.SetProperty("license", &v)668 x.SetProperty("license", &v)
669 }669 }
670 670
@@ -696,7 +696,7 @@ func (x *AboutDialog) GetPropertyLicense() string {
696 func (x *AboutDialog) SetPropertyLogoIconName(value string) {696 func (x *AboutDialog) SetPropertyLogoIconName(value string) {
697 var v gobject.Value697 var v gobject.Value
698 v.Init(gobject.TypeStringVal)698 v.Init(gobject.TypeStringVal)
699- v.SetString(value)699+ v.SetString(&value)
700 x.SetProperty("logo-icon-name", &v)700 x.SetProperty("logo-icon-name", &v)
701 }701 }
702 702
@@ -718,7 +718,7 @@ func (x *AboutDialog) GetPropertyLogoIconName() string {
718 func (x *AboutDialog) SetPropertyProgramName(value string) {718 func (x *AboutDialog) SetPropertyProgramName(value string) {
719 var v gobject.Value719 var v gobject.Value
720 v.Init(gobject.TypeStringVal)720 v.Init(gobject.TypeStringVal)
721- v.SetString(value)721+ v.SetString(&value)
722 x.SetProperty("program-name", &v)722 x.SetProperty("program-name", &v)
723 }723 }
724 724
@@ -746,7 +746,7 @@ func (x *AboutDialog) GetPropertyProgramName() string {
746 func (x *AboutDialog) SetPropertySystemInformation(value string) {746 func (x *AboutDialog) SetPropertySystemInformation(value string) {
747 var v gobject.Value747 var v gobject.Value
748 v.Init(gobject.TypeStringVal)748 v.Init(gobject.TypeStringVal)
749- v.SetString(value)749+ v.SetString(&value)
750 x.SetProperty("system-information", &v)750 x.SetProperty("system-information", &v)
751 }751 }
752 752
@@ -776,7 +776,7 @@ func (x *AboutDialog) GetPropertySystemInformation() string {
776 func (x *AboutDialog) SetPropertyTranslatorCredits(value string) {776 func (x *AboutDialog) SetPropertyTranslatorCredits(value string) {
777 var v gobject.Value777 var v gobject.Value
778 v.Init(gobject.TypeStringVal)778 v.Init(gobject.TypeStringVal)
779- v.SetString(value)779+ v.SetString(&value)
780 x.SetProperty("translator-credits", &v)780 x.SetProperty("translator-credits", &v)
781 }781 }
782 782
@@ -798,7 +798,7 @@ func (x *AboutDialog) GetPropertyTranslatorCredits() string {
798 func (x *AboutDialog) SetPropertyVersion(value string) {798 func (x *AboutDialog) SetPropertyVersion(value string) {
799 var v gobject.Value799 var v gobject.Value
800 v.Init(gobject.TypeStringVal)800 v.Init(gobject.TypeStringVal)
801- v.SetString(value)801+ v.SetString(&value)
802 x.SetProperty("version", &v)802 x.SetProperty("version", &v)
803 }803 }
804 804
@@ -817,7 +817,7 @@ func (x *AboutDialog) GetPropertyVersion() string {
817 func (x *AboutDialog) SetPropertyWebsite(value string) {817 func (x *AboutDialog) SetPropertyWebsite(value string) {
818 var v gobject.Value818 var v gobject.Value
819 v.Init(gobject.TypeStringVal)819 v.Init(gobject.TypeStringVal)
820- v.SetString(value)820+ v.SetString(&value)
821 x.SetProperty("website", &v)821 x.SetProperty("website", &v)
822 }822 }
823 823
@@ -836,7 +836,7 @@ func (x *AboutDialog) GetPropertyWebsite() string {
836 func (x *AboutDialog) SetPropertyWebsiteLabel(value string) {836 func (x *AboutDialog) SetPropertyWebsiteLabel(value string) {
837 var v gobject.Value837 var v gobject.Value
838 v.Init(gobject.TypeStringVal)838 v.Init(gobject.TypeStringVal)
839- v.SetString(value)839+ v.SetString(&value)
840 x.SetProperty("website-label", &v)840 x.SetProperty("website-label", &v)
841 }841 }
842 842
M v4/gtk/gtkactionable.go +5 -5
@@ -148,7 +148,7 @@ type Actionable interface {
148 SetGoPointer(uintptr)148 SetGoPointer(uintptr)
149 GetActionName() string149 GetActionName() string
150 GetActionTargetValue() *glib.Variant150 GetActionTargetValue() *glib.Variant
151- SetActionName(ActionNameVar string)151+ SetActionName(ActionNameVar *string)
152 SetActionTarget(FormatStringVar string, varArgs ...interface{})152 SetActionTarget(FormatStringVar string, varArgs ...interface{})
153 SetActionTargetValue(TargetValueVar *glib.Variant)153 SetActionTargetValue(TargetValueVar *glib.Variant)
154 SetDetailedActionName(DetailedActionNameVar string)154 SetDetailedActionName(DetailedActionNameVar string)
@@ -202,9 +202,9 @@ func (x *ActionableBase) GetActionTargetValue() *glib.Variant {
202 // containing [class@ApplicationWindow] or its associated [class@Application],202 // containing [class@ApplicationWindow] or its associated [class@Application],
203 // respectively. This is the same form used for actions in the [class@Gio.Menu]203 // respectively. This is the same form used for actions in the [class@Gio.Menu]
204 // associated with the window.204 // associated with the window.
205-func (x *ActionableBase) SetActionName(ActionNameVar string) {205+func (x *ActionableBase) SetActionName(ActionNameVar *string) {
206 206
207- XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)207+ XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
208 208
209 }209 }
210 210
@@ -265,7 +265,7 @@ func (x *ActionableBase) SetPropertyActionName(value string) {
265 obj.Ptr = x.GoPointer()265 obj.Ptr = x.GoPointer()
266 var v gobject.Value266 var v gobject.Value
267 v.Init(gobject.TypeStringVal)267 v.Init(gobject.TypeStringVal)
268- v.SetString(value)268+ v.SetString(&value)
269 obj.SetProperty("action-name", &v)269 obj.SetProperty("action-name", &v)
270 }270 }
271 271
@@ -302,7 +302,7 @@ func (x *ActionableBase) GetPropertyActionTarget() uintptr {
302 302
303 var XGtkActionableGetActionName func(uintptr) string303 var XGtkActionableGetActionName func(uintptr) string
304 var XGtkActionableGetActionTargetValue func(uintptr) *glib.Variant304 var XGtkActionableGetActionTargetValue func(uintptr) *glib.Variant
305-var XGtkActionableSetActionName func(uintptr, string)305+var XGtkActionableSetActionName func(uintptr, uintptr)
306 var XGtkActionableSetActionTarget func(uintptr, string, ...interface{})306 var XGtkActionableSetActionTarget func(uintptr, string, ...interface{})
307 var XGtkActionableSetActionTargetValue func(uintptr, *glib.Variant)307 var XGtkActionableSetActionTargetValue func(uintptr, *glib.Variant)
308 var XGtkActionableSetDetailedActionName func(uintptr, string)308 var XGtkActionableSetDetailedActionName func(uintptr, string)
M v4/gtk/gtkalertdialog.go +2 -2
@@ -350,7 +350,7 @@ func (x *AlertDialog) GetPropertyDefaultButton() int {
350 func (x *AlertDialog) SetPropertyDetail(value string) {350 func (x *AlertDialog) SetPropertyDetail(value string) {
351 var v gobject.Value351 var v gobject.Value
352 v.Init(gobject.TypeStringVal)352 v.Init(gobject.TypeStringVal)
353- v.SetString(value)353+ v.SetString(&value)
354 x.SetProperty("detail", &v)354 x.SetProperty("detail", &v)
355 }355 }
356 356
@@ -367,7 +367,7 @@ func (x *AlertDialog) GetPropertyDetail() string {
367 func (x *AlertDialog) SetPropertyMessage(value string) {367 func (x *AlertDialog) SetPropertyMessage(value string) {
368 var v gobject.Value368 var v gobject.Value
369 v.Init(gobject.TypeStringVal)369 v.Init(gobject.TypeStringVal)
370- v.SetString(value)370+ v.SetString(&value)
371 x.SetProperty("message", &v)371 x.SetProperty("message", &v)
372 }372 }
373 373
M v4/gtk/gtkappchooser.go +1 -1
@@ -95,7 +95,7 @@ func (x *AppChooserBase) SetPropertyContentType(value string) {
95 obj.Ptr = x.GoPointer()95 obj.Ptr = x.GoPointer()
96 var v gobject.Value96 var v gobject.Value
97 v.Init(gobject.TypeStringVal)97 v.Init(gobject.TypeStringVal)
98- v.SetString(value)98+ v.SetString(&value)
99 obj.SetProperty("content-type", &v)99 obj.SetProperty("content-type", &v)
100 }100 }
101 101
M v4/gtk/gtkappchooserbutton.go +1 -1
@@ -216,7 +216,7 @@ func (c *AppChooserButton) SetGoPointer(ptr uintptr) {
216 func (x *AppChooserButton) SetPropertyHeading(value string) {216 func (x *AppChooserButton) SetPropertyHeading(value string) {
217 var v gobject.Value217 var v gobject.Value
218 v.Init(gobject.TypeStringVal)218 v.Init(gobject.TypeStringVal)
219- v.SetString(value)219+ v.SetString(&value)
220 x.SetProperty("heading", &v)220 x.SetProperty("heading", &v)
221 }221 }
222 222
M v4/gtk/gtkappchooserdialog.go +1 -1
@@ -142,7 +142,7 @@ func (c *AppChooserDialog) SetGoPointer(ptr uintptr) {
142 func (x *AppChooserDialog) SetPropertyHeading(value string) {142 func (x *AppChooserDialog) SetPropertyHeading(value string) {
143 var v gobject.Value143 var v gobject.Value
144 v.Init(gobject.TypeStringVal)144 v.Init(gobject.TypeStringVal)
145- v.SetString(value)145+ v.SetString(&value)
146 x.SetProperty("heading", &v)146 x.SetProperty("heading", &v)
147 }147 }
148 148
M v4/gtk/gtkappchooserwidget.go +1 -1
@@ -206,7 +206,7 @@ func (c *AppChooserWidget) SetGoPointer(ptr uintptr) {
206 func (x *AppChooserWidget) SetPropertyDefaultText(value string) {206 func (x *AppChooserWidget) SetPropertyDefaultText(value string) {
207 var v gobject.Value207 var v gobject.Value
208 v.Init(gobject.TypeStringVal)208 v.Init(gobject.TypeStringVal)
209- v.SetString(value)209+ v.SetString(&value)
210 x.SetProperty("default-text", &v)210 x.SetProperty("default-text", &v)
211 }211 }
212 212
M v4/gtk/gtkapplication.go +6 -6
@@ -199,7 +199,7 @@ func ApplicationNewFromInternalPtr(ptr uintptr) *Application {
199 return cls199 return cls
200 }200 }
201 201
202-var xNewApplication func(string, gio.ApplicationFlags) uintptr202+var xNewApplication func(uintptr, gio.ApplicationFlags) uintptr
203 203
204 // Creates a new application instance.204 // Creates a new application instance.
205 //205 //
@@ -219,10 +219,10 @@ var xNewApplication func(string, gio.ApplicationFlags) uintptr
219 //219 //
220 // If no application ID is given then some features (most notably application220 // If no application ID is given then some features (most notably application
221 // uniqueness) will be disabled.221 // uniqueness) will be disabled.
222-func NewApplication(ApplicationIdVar string, FlagsVar gio.ApplicationFlags) *Application {222+func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application {
223 var cls *Application223 var cls *Application
224 224
225- cret := xNewApplication(ApplicationIdVar, FlagsVar)225+ cret := xNewApplication(core.NullableStringToPtr(ApplicationIdVar), FlagsVar)
226 226
227 if cret == 0 {227 if cret == 0 {
228 return nil228 return nil
@@ -385,7 +385,7 @@ func (x *Application) GetWindows() *glib.List {
385 return cret385 return cret
386 }386 }
387 387
388-var xApplicationInhibit func(uintptr, uintptr, ApplicationInhibitFlags, string) uint388+var xApplicationInhibit func(uintptr, uintptr, ApplicationInhibitFlags, uintptr) uint
389 389
390 // Informs the session manager that certain types of actions should be390 // Informs the session manager that certain types of actions should be
391 // inhibited.391 // inhibited.
@@ -414,9 +414,9 @@ var xApplicationInhibit func(uintptr, uintptr, ApplicationInhibitFlags, string)
414 // The cookie that is returned by this function should be used as an414 // The cookie that is returned by this function should be used as an
415 // argument to [method@Gtk.Application.uninhibit] in order to remove415 // argument to [method@Gtk.Application.uninhibit] in order to remove
416 // the request.416 // the request.
417-func (x *Application) Inhibit(WindowVar *Window, FlagsVar ApplicationInhibitFlags, ReasonVar string) uint {417+func (x *Application) Inhibit(WindowVar *Window, FlagsVar ApplicationInhibitFlags, ReasonVar *string) uint {
418 418
419- cret := xApplicationInhibit(x.GoPointer(), WindowVar.GoPointer(), FlagsVar, ReasonVar)419+ cret := xApplicationInhibit(x.GoPointer(), WindowVar.GoPointer(), FlagsVar, core.NullableStringToPtr(ReasonVar))
420 return cret420 return cret
421 }421 }
422 422
M v4/gtk/gtkassistant.go +1 -1
@@ -1056,7 +1056,7 @@ func (x *AssistantPage) GetPropertyComplete() bool {
1056 func (x *AssistantPage) SetPropertyTitle(value string) {1056 func (x *AssistantPage) SetPropertyTitle(value string) {
1057 var v gobject.Value1057 var v gobject.Value
1058 v.Init(gobject.TypeStringVal)1058 v.Init(gobject.TypeStringVal)
1059- v.SetString(value)1059+ v.SetString(&value)
1060 x.SetProperty("title", &v)1060 x.SetProperty("title", &v)
1061 }1061 }
1062 1062
M v4/gtk/gtkbookmarklist.go +8 -8
@@ -46,13 +46,13 @@ func BookmarkListNewFromInternalPtr(ptr uintptr) *BookmarkList {
46 return cls46 return cls
47 }47 }
48 48
49-var xNewBookmarkList func(string, string) uintptr49+var xNewBookmarkList func(uintptr, uintptr) uintptr
50 50
51 // Creates a new `GtkBookmarkList` with the given @attributes.51 // Creates a new `GtkBookmarkList` with the given @attributes.
52-func NewBookmarkList(FilenameVar string, AttributesVar string) *BookmarkList {52+func NewBookmarkList(FilenameVar *string, AttributesVar *string) *BookmarkList {
53 var cls *BookmarkList53 var cls *BookmarkList
54 54
55- cret := xNewBookmarkList(FilenameVar, AttributesVar)55+ cret := xNewBookmarkList(core.NullableStringToPtr(FilenameVar), core.NullableStringToPtr(AttributesVar))
56 56
57 if cret == 0 {57 if cret == 0 {
58 return nil58 return nil
@@ -103,15 +103,15 @@ func (x *BookmarkList) IsLoading() bool {
103 return cret103 return cret
104 }104 }
105 105
106-var xBookmarkListSetAttributes func(uintptr, string)106+var xBookmarkListSetAttributes func(uintptr, uintptr)
107 107
108 // Sets the @attributes to be enumerated and starts the enumeration.108 // Sets the @attributes to be enumerated and starts the enumeration.
109 //109 //
110 // If @attributes is %NULL, no attributes will be queried, but a list110 // If @attributes is %NULL, no attributes will be queried, but a list
111 // of `GFileInfo`s will still be created.111 // of `GFileInfo`s will still be created.
112-func (x *BookmarkList) SetAttributes(AttributesVar string) {112+func (x *BookmarkList) SetAttributes(AttributesVar *string) {
113 113
114- xBookmarkListSetAttributes(x.GoPointer(), AttributesVar)114+ xBookmarkListSetAttributes(x.GoPointer(), core.NullableStringToPtr(AttributesVar))
115 115
116 }116 }
117 117
@@ -142,7 +142,7 @@ func (c *BookmarkList) SetGoPointer(ptr uintptr) {
142 func (x *BookmarkList) SetPropertyAttributes(value string) {142 func (x *BookmarkList) SetPropertyAttributes(value string) {
143 var v gobject.Value143 var v gobject.Value
144 v.Init(gobject.TypeStringVal)144 v.Init(gobject.TypeStringVal)
145- v.SetString(value)145+ v.SetString(&value)
146 x.SetProperty("attributes", &v)146 x.SetProperty("attributes", &v)
147 }147 }
148 148
@@ -159,7 +159,7 @@ func (x *BookmarkList) GetPropertyAttributes() string {
159 func (x *BookmarkList) SetPropertyFilename(value string) {159 func (x *BookmarkList) SetPropertyFilename(value string) {
160 var v gobject.Value160 var v gobject.Value
161 v.Init(gobject.TypeStringVal)161 v.Init(gobject.TypeStringVal)
162- v.SetString(value)162+ v.SetString(&value)
163 x.SetProperty("filename", &v)163 x.SetProperty("filename", &v)
164 }164 }
165 165
M v4/gtk/gtkbuilder.go +4 -4
@@ -888,12 +888,12 @@ func (x *Builder) SetScope(ScopeVar BuilderScope) {
888 888
889 }889 }
890 890
891-var xBuilderSetTranslationDomain func(uintptr, string)891+var xBuilderSetTranslationDomain func(uintptr, uintptr)
892 892
893 // Sets the translation domain of @builder.893 // Sets the translation domain of @builder.
894-func (x *Builder) SetTranslationDomain(DomainVar string) {894+func (x *Builder) SetTranslationDomain(DomainVar *string) {
895 895
896- xBuilderSetTranslationDomain(x.GoPointer(), DomainVar)896+ xBuilderSetTranslationDomain(x.GoPointer(), core.NullableStringToPtr(DomainVar))
897 897
898 }898 }
899 899
@@ -964,7 +964,7 @@ func (c *Builder) SetGoPointer(ptr uintptr) {
964 func (x *Builder) SetPropertyTranslationDomain(value string) {964 func (x *Builder) SetPropertyTranslationDomain(value string) {
965 var v gobject.Value965 var v gobject.Value
966 v.Init(gobject.TypeStringVal)966 v.Init(gobject.TypeStringVal)
967- v.SetString(value)967+ v.SetString(&value)
968 x.SetProperty("translation-domain", &v)968 x.SetProperty("translation-domain", &v)
969 }969 }
970 970
M v4/gtk/gtkbuilderlistitemfactory.go +1 -1
@@ -172,7 +172,7 @@ func (x *BuilderListItemFactory) GetPropertyBytes() uintptr {
172 func (x *BuilderListItemFactory) SetPropertyResource(value string) {172 func (x *BuilderListItemFactory) SetPropertyResource(value string) {
173 var v gobject.Value173 var v gobject.Value
174 v.Init(gobject.TypeStringVal)174 v.Init(gobject.TypeStringVal)
175- v.SetString(value)175+ v.SetString(&value)
176 x.SetProperty("resource", &v)176 x.SetProperty("resource", &v)
177 }177 }
178 178
M v4/gtk/gtkbutton.go +4 -4
@@ -438,7 +438,7 @@ func (x *Button) GetPropertyHasFrame() bool {
438 func (x *Button) SetPropertyIconName(value string) {438 func (x *Button) SetPropertyIconName(value string) {
439 var v gobject.Value439 var v gobject.Value
440 v.Init(gobject.TypeStringVal)440 v.Init(gobject.TypeStringVal)
441- v.SetString(value)441+ v.SetString(&value)
442 x.SetProperty("icon-name", &v)442 x.SetProperty("icon-name", &v)
443 }443 }
444 444
@@ -455,7 +455,7 @@ func (x *Button) GetPropertyIconName() string {
455 func (x *Button) SetPropertyLabel(value string) {455 func (x *Button) SetPropertyLabel(value string) {
456 var v gobject.Value456 var v gobject.Value
457 v.Init(gobject.TypeStringVal)457 v.Init(gobject.TypeStringVal)
458- v.SetString(value)458+ v.SetString(&value)
459 x.SetProperty("label", &v)459 x.SetProperty("label", &v)
460 }460 }
461 461
@@ -827,9 +827,9 @@ func (x *Button) GetActionTargetValue() *glib.Variant {
827 // containing [class@ApplicationWindow] or its associated [class@Application],827 // containing [class@ApplicationWindow] or its associated [class@Application],
828 // respectively. This is the same form used for actions in the [class@Gio.Menu]828 // respectively. This is the same form used for actions in the [class@Gio.Menu]
829 // associated with the window.829 // associated with the window.
830-func (x *Button) SetActionName(ActionNameVar string) {830+func (x *Button) SetActionName(ActionNameVar *string) {
831 831
832- XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)832+ XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
833 833
834 }834 }
835 835
M v4/gtk/gtkcellrenderer.go +1 -1
@@ -743,7 +743,7 @@ func (c *CellRenderer) SetGoPointer(ptr uintptr) {
743 func (x *CellRenderer) SetPropertyCellBackground(value string) {743 func (x *CellRenderer) SetPropertyCellBackground(value string) {
744 var v gobject.Value744 var v gobject.Value
745 v.Init(gobject.TypeStringVal)745 v.Init(gobject.TypeStringVal)
746- v.SetString(value)746+ v.SetString(&value)
747 x.SetProperty("cell-background", &v)747 x.SetProperty("cell-background", &v)
748 }748 }
749 749
M v4/gtk/gtkcellrendererpixbuf.go +1 -1
@@ -78,7 +78,7 @@ func (c *CellRendererPixbuf) SetGoPointer(ptr uintptr) {
78 func (x *CellRendererPixbuf) SetPropertyIconName(value string) {78 func (x *CellRendererPixbuf) SetPropertyIconName(value string) {
79 var v gobject.Value79 var v gobject.Value
80 v.Init(gobject.TypeStringVal)80 v.Init(gobject.TypeStringVal)
81- v.SetString(value)81+ v.SetString(&value)
82 x.SetProperty("icon-name", &v)82 x.SetProperty("icon-name", &v)
83 }83 }
84 84
M v4/gtk/gtkcellrendererprogress.go +1 -1
@@ -116,7 +116,7 @@ func (x *CellRendererProgress) GetPropertyPulse() int {
116 func (x *CellRendererProgress) SetPropertyText(value string) {116 func (x *CellRendererProgress) SetPropertyText(value string) {
117 var v gobject.Value117 var v gobject.Value
118 v.Init(gobject.TypeStringVal)118 v.Init(gobject.TypeStringVal)
119- v.SetString(value)119+ v.SetString(&value)
120 x.SetProperty("text", &v)120 x.SetProperty("text", &v)
121 }121 }
122 122
M v4/gtk/gtkcellrenderertext.go +8 -8
@@ -156,7 +156,7 @@ func (x *CellRendererText) GetPropertyAttributes() uintptr {
156 func (x *CellRendererText) SetPropertyBackground(value string) {156 func (x *CellRendererText) SetPropertyBackground(value string) {
157 var v gobject.Value157 var v gobject.Value
158 v.Init(gobject.TypeStringVal)158 v.Init(gobject.TypeStringVal)
159- v.SetString(value)159+ v.SetString(&value)
160 x.SetProperty("background", &v)160 x.SetProperty("background", &v)
161 }161 }
162 162
@@ -241,7 +241,7 @@ func (x *CellRendererText) GetPropertyEllipsizeSet() bool {
241 func (x *CellRendererText) SetPropertyFamily(value string) {241 func (x *CellRendererText) SetPropertyFamily(value string) {
242 var v gobject.Value242 var v gobject.Value
243 v.Init(gobject.TypeStringVal)243 v.Init(gobject.TypeStringVal)
244- v.SetString(value)244+ v.SetString(&value)
245 x.SetProperty("family", &v)245 x.SetProperty("family", &v)
246 }246 }
247 247
@@ -271,7 +271,7 @@ func (x *CellRendererText) GetPropertyFamilySet() bool {
271 func (x *CellRendererText) SetPropertyFont(value string) {271 func (x *CellRendererText) SetPropertyFont(value string) {
272 var v gobject.Value272 var v gobject.Value
273 v.Init(gobject.TypeStringVal)273 v.Init(gobject.TypeStringVal)
274- v.SetString(value)274+ v.SetString(&value)
275 x.SetProperty("font", &v)275 x.SetProperty("font", &v)
276 }276 }
277 277
@@ -301,7 +301,7 @@ func (x *CellRendererText) GetPropertyFontDesc() uintptr {
301 func (x *CellRendererText) SetPropertyForeground(value string) {301 func (x *CellRendererText) SetPropertyForeground(value string) {
302 var v gobject.Value302 var v gobject.Value
303 v.Init(gobject.TypeStringVal)303 v.Init(gobject.TypeStringVal)
304- v.SetString(value)304+ v.SetString(&value)
305 x.SetProperty("foreground", &v)305 x.SetProperty("foreground", &v)
306 }306 }
307 307
@@ -341,7 +341,7 @@ func (x *CellRendererText) GetPropertyForegroundSet() bool {
341 func (x *CellRendererText) SetPropertyLanguage(value string) {341 func (x *CellRendererText) SetPropertyLanguage(value string) {
342 var v gobject.Value342 var v gobject.Value
343 v.Init(gobject.TypeStringVal)343 v.Init(gobject.TypeStringVal)
344- v.SetString(value)344+ v.SetString(&value)
345 x.SetProperty("language", &v)345 x.SetProperty("language", &v)
346 }346 }
347 347
@@ -371,7 +371,7 @@ func (x *CellRendererText) GetPropertyLanguageSet() bool {
371 func (x *CellRendererText) SetPropertyMarkup(value string) {371 func (x *CellRendererText) SetPropertyMarkup(value string) {
372 var v gobject.Value372 var v gobject.Value
373 v.Init(gobject.TypeStringVal)373 v.Init(gobject.TypeStringVal)
374- v.SetString(value)374+ v.SetString(&value)
375 x.SetProperty("markup", &v)375 x.SetProperty("markup", &v)
376 }376 }
377 377
@@ -412,7 +412,7 @@ func (x *CellRendererText) GetPropertyMaxWidthChars() int {
412 func (x *CellRendererText) SetPropertyPlaceholderText(value string) {412 func (x *CellRendererText) SetPropertyPlaceholderText(value string) {
413 var v gobject.Value413 var v gobject.Value
414 v.Init(gobject.TypeStringVal)414 v.Init(gobject.TypeStringVal)
415- v.SetString(value)415+ v.SetString(&value)
416 x.SetProperty("placeholder-text", &v)416 x.SetProperty("placeholder-text", &v)
417 }417 }
418 418
@@ -609,7 +609,7 @@ func (x *CellRendererText) GetPropertyStyleSet() bool {
609 func (x *CellRendererText) SetPropertyText(value string) {609 func (x *CellRendererText) SetPropertyText(value string) {
610 var v gobject.Value610 var v gobject.Value
611 v.Init(gobject.TypeStringVal)611 v.Init(gobject.TypeStringVal)
612- v.SetString(value)612+ v.SetString(&value)
613 x.SetProperty("text", &v)613 x.SetProperty("text", &v)
614 }614 }
615 615
M v4/gtk/gtkcheckbutton.go +12 -12
@@ -180,13 +180,13 @@ func NewCheckButton() *CheckButton {
180 return cls180 return cls
181 }181 }
182 182
183-var xNewCheckButtonWithLabel func(string) uintptr183+var xNewCheckButtonWithLabel func(uintptr) uintptr
184 184
185 // Creates a new `GtkCheckButton` with the given text.185 // Creates a new `GtkCheckButton` with the given text.
186-func NewCheckButtonWithLabel(LabelVar string) *CheckButton {186+func NewCheckButtonWithLabel(LabelVar *string) *CheckButton {
187 var cls *CheckButton187 var cls *CheckButton
188 188
189- cret := xNewCheckButtonWithLabel(LabelVar)189+ cret := xNewCheckButtonWithLabel(core.NullableStringToPtr(LabelVar))
190 190
191 if cret == 0 {191 if cret == 0 {
192 return nil192 return nil
@@ -197,13 +197,13 @@ func NewCheckButtonWithLabel(LabelVar string) *CheckButton {
197 return cls197 return cls
198 }198 }
199 199
200-var xNewCheckButtonWithMnemonic func(string) uintptr200+var xNewCheckButtonWithMnemonic func(uintptr) uintptr
201 201
202 // Creates a new `GtkCheckButton` with the given text and a mnemonic.202 // Creates a new `GtkCheckButton` with the given text and a mnemonic.
203-func NewCheckButtonWithMnemonic(LabelVar string) *CheckButton {203+func NewCheckButtonWithMnemonic(LabelVar *string) *CheckButton {
204 var cls *CheckButton204 var cls *CheckButton
205 205
206- cret := xNewCheckButtonWithMnemonic(LabelVar)206+ cret := xNewCheckButtonWithMnemonic(core.NullableStringToPtr(LabelVar))
207 207
208 if cret == 0 {208 if cret == 0 {
209 return nil209 return nil
@@ -326,16 +326,16 @@ func (x *CheckButton) SetInconsistent(InconsistentVar bool) {
326 326
327 }327 }
328 328
329-var xCheckButtonSetLabel func(uintptr, string)329+var xCheckButtonSetLabel func(uintptr, uintptr)
330 330
331 // Sets the text of @self.331 // Sets the text of @self.
332 //332 //
333 // If [property@Gtk.CheckButton:use-underline] is %TRUE, an underscore333 // If [property@Gtk.CheckButton:use-underline] is %TRUE, an underscore
334 // in @label is interpreted as mnemonic indicator, see334 // in @label is interpreted as mnemonic indicator, see
335 // [method@Gtk.CheckButton.set_use_underline] for details on this behavior.335 // [method@Gtk.CheckButton.set_use_underline] for details on this behavior.
336-func (x *CheckButton) SetLabel(LabelVar string) {336+func (x *CheckButton) SetLabel(LabelVar *string) {
337 337
338- xCheckButtonSetLabel(x.GoPointer(), LabelVar)338+ xCheckButtonSetLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))
339 339
340 }340 }
341 341
@@ -414,7 +414,7 @@ func (x *CheckButton) GetPropertyInconsistent() bool {
414 func (x *CheckButton) SetPropertyLabel(value string) {414 func (x *CheckButton) SetPropertyLabel(value string) {
415 var v gobject.Value415 var v gobject.Value
416 v.Init(gobject.TypeStringVal)416 v.Init(gobject.TypeStringVal)
417- v.SetString(value)417+ v.SetString(&value)
418 x.SetProperty("label", &v)418 x.SetProperty("label", &v)
419 }419 }
420 420
@@ -790,9 +790,9 @@ func (x *CheckButton) GetActionTargetValue() *glib.Variant {
790 // containing [class@ApplicationWindow] or its associated [class@Application],790 // containing [class@ApplicationWindow] or its associated [class@Application],
791 // respectively. This is the same form used for actions in the [class@Gio.Menu]791 // respectively. This is the same form used for actions in the [class@Gio.Menu]
792 // associated with the window.792 // associated with the window.
793-func (x *CheckButton) SetActionName(ActionNameVar string) {793+func (x *CheckButton) SetActionName(ActionNameVar *string) {
794 794
795- XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)795+ XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
796 796
797 }797 }
798 798
M v4/gtk/gtkcolorbutton.go +1 -1
@@ -187,7 +187,7 @@ func (x *ColorButton) GetPropertyShowEditor() bool {
187 func (x *ColorButton) SetPropertyTitle(value string) {187 func (x *ColorButton) SetPropertyTitle(value string) {
188 var v gobject.Value188 var v gobject.Value
189 v.Init(gobject.TypeStringVal)189 v.Init(gobject.TypeStringVal)
190- v.SetString(value)190+ v.SetString(&value)
191 x.SetProperty("title", &v)191 x.SetProperty("title", &v)
192 }192 }
193 193
M v4/gtk/gtkcolorchooserdialog.go +3 -3
@@ -50,13 +50,13 @@ func ColorChooserDialogNewFromInternalPtr(ptr uintptr) *ColorChooserDialog {
50 return cls50 return cls
51 }51 }
52 52
53-var xNewColorChooserDialog func(string, uintptr) uintptr53+var xNewColorChooserDialog func(uintptr, uintptr) uintptr
54 54
55 // Creates a new `GtkColorChooserDialog`.55 // Creates a new `GtkColorChooserDialog`.
56-func NewColorChooserDialog(TitleVar string, ParentVar *Window) *ColorChooserDialog {56+func NewColorChooserDialog(TitleVar *string, ParentVar *Window) *ColorChooserDialog {
57 var cls *ColorChooserDialog57 var cls *ColorChooserDialog
58 58
59- cret := xNewColorChooserDialog(TitleVar, ParentVar.GoPointer())59+ cret := xNewColorChooserDialog(core.NullableStringToPtr(TitleVar), ParentVar.GoPointer())
60 60
61 if cret == 0 {61 if cret == 0 {
62 return nil62 return nil
M v4/gtk/gtkcolordialog.go +1 -1
@@ -201,7 +201,7 @@ func (x *ColorDialog) GetPropertyModal() bool {
201 func (x *ColorDialog) SetPropertyTitle(value string) {201 func (x *ColorDialog) SetPropertyTitle(value string) {
202 var v gobject.Value202 var v gobject.Value
203 v.Init(gobject.TypeStringVal)203 v.Init(gobject.TypeStringVal)
204- v.SetString(value)204+ v.SetString(&value)
205 x.SetProperty("title", &v)205 x.SetProperty("title", &v)
206 }206 }
207 207
M v4/gtk/gtkcolumnviewcolumn.go +11 -11
@@ -48,7 +48,7 @@ func ColumnViewColumnNewFromInternalPtr(ptr uintptr) *ColumnViewColumn {
48 return cls48 return cls
49 }49 }
50 50
51-var xNewColumnViewColumn func(string, uintptr) uintptr51+var xNewColumnViewColumn func(uintptr, uintptr) uintptr
52 52
53 // Creates a new `GtkColumnViewColumn` that uses the given @factory for53 // Creates a new `GtkColumnViewColumn` that uses the given @factory for
54 // mapping items to widgets.54 // mapping items to widgets.
@@ -63,10 +63,10 @@ var xNewColumnViewColumn func(string, uintptr) uintptr
63 // gtk_builder_list_item_factory_new_from_resource ("/name.ui"));63 // gtk_builder_list_item_factory_new_from_resource ("/name.ui"));
64 //64 //
65 // ```65 // ```
66-func NewColumnViewColumn(TitleVar string, FactoryVar *ListItemFactory) *ColumnViewColumn {66+func NewColumnViewColumn(TitleVar *string, FactoryVar *ListItemFactory) *ColumnViewColumn {
67 var cls *ColumnViewColumn67 var cls *ColumnViewColumn
68 68
69- cret := xNewColumnViewColumn(TitleVar, FactoryVar.GoPointer())69+ cret := xNewColumnViewColumn(core.NullableStringToPtr(TitleVar), FactoryVar.GoPointer())
70 70
71 if cret == 0 {71 if cret == 0 {
72 return nil72 return nil
@@ -248,7 +248,7 @@ func (x *ColumnViewColumn) SetHeaderMenu(MenuVar *gio.MenuModel) {
248 248
249 }249 }
250 250
251-var xColumnViewColumnSetId func(uintptr, string)251+var xColumnViewColumnSetId func(uintptr, uintptr)
252 252
253 // Sets the id of this column.253 // Sets the id of this column.
254 //254 //
@@ -256,9 +256,9 @@ var xColumnViewColumnSetId func(uintptr, string)
256 // storing column view configuration.256 // storing column view configuration.
257 //257 //
258 // It is up to callers to ensure uniqueness of IDs.258 // It is up to callers to ensure uniqueness of IDs.
259-func (x *ColumnViewColumn) SetId(IdVar string) {259+func (x *ColumnViewColumn) SetId(IdVar *string) {
260 260
261- xColumnViewColumnSetId(x.GoPointer(), IdVar)261+ xColumnViewColumnSetId(x.GoPointer(), core.NullableStringToPtr(IdVar))
262 262
263 }263 }
264 264
@@ -289,16 +289,16 @@ func (x *ColumnViewColumn) SetSorter(SorterVar *Sorter) {
289 289
290 }290 }
291 291
292-var xColumnViewColumnSetTitle func(uintptr, string)292+var xColumnViewColumnSetTitle func(uintptr, uintptr)
293 293
294 // Sets the title of this column.294 // Sets the title of this column.
295 //295 //
296 // The title is displayed in the header of a `GtkColumnView`296 // The title is displayed in the header of a `GtkColumnView`
297 // for this column and is therefore user-facing text that should297 // for this column and is therefore user-facing text that should
298 // be translated.298 // be translated.
299-func (x *ColumnViewColumn) SetTitle(TitleVar string) {299+func (x *ColumnViewColumn) SetTitle(TitleVar *string) {
300 300
301- xColumnViewColumnSetTitle(x.GoPointer(), TitleVar)301+ xColumnViewColumnSetTitle(x.GoPointer(), core.NullableStringToPtr(TitleVar))
302 302
303 }303 }
304 304
@@ -369,7 +369,7 @@ func (x *ColumnViewColumn) GetPropertyFixedWidth() int {
369 func (x *ColumnViewColumn) SetPropertyId(value string) {369 func (x *ColumnViewColumn) SetPropertyId(value string) {
370 var v gobject.Value370 var v gobject.Value
371 v.Init(gobject.TypeStringVal)371 v.Init(gobject.TypeStringVal)
372- v.SetString(value)372+ v.SetString(&value)
373 x.SetProperty("id", &v)373 x.SetProperty("id", &v)
374 }374 }
375 375
@@ -409,7 +409,7 @@ func (x *ColumnViewColumn) GetPropertyResizable() bool {
409 func (x *ColumnViewColumn) SetPropertyTitle(value string) {409 func (x *ColumnViewColumn) SetPropertyTitle(value string) {
410 var v gobject.Value410 var v gobject.Value
411 v.Init(gobject.TypeStringVal)411 v.Init(gobject.TypeStringVal)
412- v.SetString(value)412+ v.SetString(&value)
413 x.SetProperty("title", &v)413 x.SetProperty("title", &v)
414 }414 }
415 415
M v4/gtk/gtkcolumnviewrow.go +2 -2
@@ -219,7 +219,7 @@ func (c *ColumnViewRow) SetGoPointer(ptr uintptr) {
219 func (x *ColumnViewRow) SetPropertyAccessibleDescription(value string) {219 func (x *ColumnViewRow) SetPropertyAccessibleDescription(value string) {
220 var v gobject.Value220 var v gobject.Value
221 v.Init(gobject.TypeStringVal)221 v.Init(gobject.TypeStringVal)
222- v.SetString(value)222+ v.SetString(&value)
223 x.SetProperty("accessible-description", &v)223 x.SetProperty("accessible-description", &v)
224 }224 }
225 225
@@ -236,7 +236,7 @@ func (x *ColumnViewRow) GetPropertyAccessibleDescription() string {
236 func (x *ColumnViewRow) SetPropertyAccessibleLabel(value string) {236 func (x *ColumnViewRow) SetPropertyAccessibleLabel(value string) {
237 var v gobject.Value237 var v gobject.Value
238 v.Init(gobject.TypeStringVal)238 v.Init(gobject.TypeStringVal)
239- v.SetString(value)239+ v.SetString(&value)
240 x.SetProperty("accessible-label", &v)240 x.SetProperty("accessible-label", &v)
241 }241 }
242 242
M v4/gtk/gtkcombobox.go +4 -4
@@ -449,7 +449,7 @@ func (x *ComboBox) SetActive(IndexVar int) {
449 449
450 }450 }
451 451
452-var xComboBoxSetActiveId func(uintptr, string) bool452+var xComboBoxSetActiveId func(uintptr, uintptr) bool
453 453
454 // Changes the active row of @combo_box to the one that has an ID equal to454 // Changes the active row of @combo_box to the one that has an ID equal to
455 // @active_id.455 // @active_id.
@@ -460,9 +460,9 @@ var xComboBoxSetActiveId func(uintptr, string) bool
460 // If the [property@Gtk.ComboBox:id-column] property of @combo_box is460 // If the [property@Gtk.ComboBox:id-column] property of @combo_box is
461 // unset or if no row has the given ID then the function does nothing461 // unset or if no row has the given ID then the function does nothing
462 // and returns %FALSE.462 // and returns %FALSE.
463-func (x *ComboBox) SetActiveId(ActiveIdVar string) bool {463+func (x *ComboBox) SetActiveId(ActiveIdVar *string) bool {
464 464
465- cret := xComboBoxSetActiveId(x.GoPointer(), ActiveIdVar)465+ cret := xComboBoxSetActiveId(x.GoPointer(), core.NullableStringToPtr(ActiveIdVar))
466 return cret466 return cret
467 }467 }
468 468
@@ -642,7 +642,7 @@ func (x *ComboBox) GetPropertyActive() int {
642 func (x *ComboBox) SetPropertyActiveId(value string) {642 func (x *ComboBox) SetPropertyActiveId(value string) {
643 var v gobject.Value643 var v gobject.Value
644 v.Init(gobject.TypeStringVal)644 v.Init(gobject.TypeStringVal)
645- v.SetString(value)645+ v.SetString(&value)
646 x.SetProperty("active-id", &v)646 x.SetProperty("active-id", &v)
647 }647 }
648 648
M v4/gtk/gtkcomboboxtext.go +9 -9
@@ -124,7 +124,7 @@ func NewComboBoxTextWithEntry() *ComboBoxText {
124 return cls124 return cls
125 }125 }
126 126
127-var xComboBoxTextAppend func(uintptr, string, string)127+var xComboBoxTextAppend func(uintptr, uintptr, string)
128 128
129 // Appends @text to the list of strings stored in @combo_box.129 // Appends @text to the list of strings stored in @combo_box.
130 //130 //
@@ -132,9 +132,9 @@ var xComboBoxTextAppend func(uintptr, string, string)
132 //132 //
133 // This is the same as calling [method@Gtk.ComboBoxText.insert]133 // This is the same as calling [method@Gtk.ComboBoxText.insert]
134 // with a position of -1.134 // with a position of -1.
135-func (x *ComboBoxText) Append(IdVar string, TextVar string) {135+func (x *ComboBoxText) Append(IdVar *string, TextVar string) {
136 136
137- xComboBoxTextAppend(x.GoPointer(), IdVar, TextVar)137+ xComboBoxTextAppend(x.GoPointer(), core.NullableStringToPtr(IdVar), TextVar)
138 138
139 }139 }
140 140
@@ -164,7 +164,7 @@ func (x *ComboBoxText) GetActiveText() string {
164 return cret164 return cret
165 }165 }
166 166
167-var xComboBoxTextInsert func(uintptr, int, string, string)167+var xComboBoxTextInsert func(uintptr, int, uintptr, string)
168 168
169 // Inserts @text at @position in the list of strings stored in @combo_box.169 // Inserts @text at @position in the list of strings stored in @combo_box.
170 //170 //
@@ -172,9 +172,9 @@ var xComboBoxTextInsert func(uintptr, int, string, string)
172 // See [property@Gtk.ComboBox:id-column].172 // See [property@Gtk.ComboBox:id-column].
173 //173 //
174 // If @position is negative then @text is appended.174 // If @position is negative then @text is appended.
175-func (x *ComboBoxText) Insert(PositionVar int, IdVar string, TextVar string) {175+func (x *ComboBoxText) Insert(PositionVar int, IdVar *string, TextVar string) {
176 176
177- xComboBoxTextInsert(x.GoPointer(), PositionVar, IdVar, TextVar)177+ xComboBoxTextInsert(x.GoPointer(), PositionVar, core.NullableStringToPtr(IdVar), TextVar)
178 178
179 }179 }
180 180
@@ -192,7 +192,7 @@ func (x *ComboBoxText) InsertText(PositionVar int, TextVar string) {
192 192
193 }193 }
194 194
195-var xComboBoxTextPrepend func(uintptr, string, string)195+var xComboBoxTextPrepend func(uintptr, uintptr, string)
196 196
197 // Prepends @text to the list of strings stored in @combo_box.197 // Prepends @text to the list of strings stored in @combo_box.
198 //198 //
@@ -200,9 +200,9 @@ var xComboBoxTextPrepend func(uintptr, string, string)
200 //200 //
201 // This is the same as calling [method@Gtk.ComboBoxText.insert]201 // This is the same as calling [method@Gtk.ComboBoxText.insert]
202 // with a position of 0.202 // with a position of 0.
203-func (x *ComboBoxText) Prepend(IdVar string, TextVar string) {203+func (x *ComboBoxText) Prepend(IdVar *string, TextVar string) {
204 204
205- xComboBoxTextPrepend(x.GoPointer(), IdVar, TextVar)205+ xComboBoxTextPrepend(x.GoPointer(), core.NullableStringToPtr(IdVar), TextVar)
206 206
207 }207 }
208 208
M v4/gtk/gtkconstraintguide.go +4 -4
@@ -133,14 +133,14 @@ func (x *ConstraintGuide) SetMinSize(WidthVar int, HeightVar int) {
133 133
134 }134 }
135 135
136-var xConstraintGuideSetName func(uintptr, string)136+var xConstraintGuideSetName func(uintptr, uintptr)
137 137
138 // Sets a name for the given `GtkConstraintGuide`.138 // Sets a name for the given `GtkConstraintGuide`.
139 //139 //
140 // The name is useful for debugging purposes.140 // The name is useful for debugging purposes.
141-func (x *ConstraintGuide) SetName(NameVar string) {141+func (x *ConstraintGuide) SetName(NameVar *string) {
142 142
143- xConstraintGuideSetName(x.GoPointer(), NameVar)143+ xConstraintGuideSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))
144 144
145 }145 }
146 146
@@ -250,7 +250,7 @@ func (x *ConstraintGuide) GetPropertyMinWidth() int {
250 func (x *ConstraintGuide) SetPropertyName(value string) {250 func (x *ConstraintGuide) SetPropertyName(value string) {
251 var v gobject.Value251 var v gobject.Value
252 v.Init(gobject.TypeStringVal)252 v.Init(gobject.TypeStringVal)
253- v.SetString(value)253+ v.SetString(&value)
254 x.SetProperty("name", &v)254 x.SetProperty("name", &v)
255 }255 }
256 256
M v4/gtk/gtkcssprovider.go +3 -3
@@ -156,16 +156,16 @@ func (x *CssProvider) LoadFromString(StringVar string) {
156 156
157 }157 }
158 158
159-var xCssProviderLoadNamed func(uintptr, string, string)159+var xCssProviderLoadNamed func(uintptr, string, uintptr)
160 160
161 // Loads a theme from the usual theme paths.161 // Loads a theme from the usual theme paths.
162 //162 //
163 // The actual process of finding the theme might change between163 // The actual process of finding the theme might change between
164 // releases, but it is guaranteed that this function uses the same164 // releases, but it is guaranteed that this function uses the same
165 // mechanism to load the theme that GTK uses for loading its own theme.165 // mechanism to load the theme that GTK uses for loading its own theme.
166-func (x *CssProvider) LoadNamed(NameVar string, VariantVar string) {166+func (x *CssProvider) LoadNamed(NameVar string, VariantVar *string) {
167 167
168- xCssProviderLoadNamed(x.GoPointer(), NameVar, VariantVar)168+ xCssProviderLoadNamed(x.GoPointer(), NameVar, core.NullableStringToPtr(VariantVar))
169 169
170 }170 }
171 171
M v4/gtk/gtkdialog.go +3 -3
@@ -306,7 +306,7 @@ func NewDialog() *Dialog {
306 return cls306 return cls
307 }307 }
308 308
309-var xNewDialogWithButtons func(string, uintptr, DialogFlags, string, ...interface{}) uintptr309+var xNewDialogWithButtons func(uintptr, uintptr, DialogFlags, uintptr, ...interface{}) uintptr
310 310
311 // Creates a new `GtkDialog` with the given title and transient parent.311 // Creates a new `GtkDialog` with the given title and transient parent.
312 //312 //
@@ -343,10 +343,10 @@ var xNewDialogWithButtons func(string, uintptr, DialogFlags, string, ...interfac
343 // NULL);343 // NULL);
344 //344 //
345 // ```345 // ```
346-func NewDialogWithButtons(TitleVar string, ParentVar *Window, FlagsVar DialogFlags, FirstButtonTextVar string, varArgs ...interface{}) *Dialog {346+func NewDialogWithButtons(TitleVar *string, ParentVar *Window, FlagsVar DialogFlags, FirstButtonTextVar *string, varArgs ...interface{}) *Dialog {
347 var cls *Dialog347 var cls *Dialog
348 348
349- cret := xNewDialogWithButtons(TitleVar, ParentVar.GoPointer(), FlagsVar, FirstButtonTextVar, varArgs...)349+ cret := xNewDialogWithButtons(core.NullableStringToPtr(TitleVar), ParentVar.GoPointer(), FlagsVar, core.NullableStringToPtr(FirstButtonTextVar), varArgs...)
350 350
351 if cret == 0 {351 if cret == 0 {
352 return nil352 return nil
M v4/gtk/gtkdirectorylist.go +7 -7
@@ -61,16 +61,16 @@ func DirectoryListNewFromInternalPtr(ptr uintptr) *DirectoryList {
61 return cls61 return cls
62 }62 }
63 63
64-var xNewDirectoryList func(string, uintptr) uintptr64+var xNewDirectoryList func(uintptr, uintptr) uintptr
65 65
66 // Creates a new `GtkDirectoryList`.66 // Creates a new `GtkDirectoryList`.
67 //67 //
68 // The `GtkDirectoryList` is querying the given @file68 // The `GtkDirectoryList` is querying the given @file
69 // with the given @attributes.69 // with the given @attributes.
70-func NewDirectoryList(AttributesVar string, FileVar gio.File) *DirectoryList {70+func NewDirectoryList(AttributesVar *string, FileVar gio.File) *DirectoryList {
71 var cls *DirectoryList71 var cls *DirectoryList
72 72
73- cret := xNewDirectoryList(AttributesVar, FileVar.GoPointer())73+ cret := xNewDirectoryList(core.NullableStringToPtr(AttributesVar), FileVar.GoPointer())
74 74
75 if cret == 0 {75 if cret == 0 {
76 return nil76 return nil
@@ -155,15 +155,15 @@ func (x *DirectoryList) IsLoading() bool {
155 return cret155 return cret
156 }156 }
157 157
158-var xDirectoryListSetAttributes func(uintptr, string)158+var xDirectoryListSetAttributes func(uintptr, uintptr)
159 159
160 // Sets the @attributes to be enumerated and starts the enumeration.160 // Sets the @attributes to be enumerated and starts the enumeration.
161 //161 //
162 // If @attributes is %NULL, the list of file infos will still be created, it will just162 // If @attributes is %NULL, the list of file infos will still be created, it will just
163 // not contain any extra attributes.163 // not contain any extra attributes.
164-func (x *DirectoryList) SetAttributes(AttributesVar string) {164+func (x *DirectoryList) SetAttributes(AttributesVar *string) {
165 165
166- xDirectoryListSetAttributes(x.GoPointer(), AttributesVar)166+ xDirectoryListSetAttributes(x.GoPointer(), core.NullableStringToPtr(AttributesVar))
167 167
168 }168 }
169 169
@@ -229,7 +229,7 @@ func (c *DirectoryList) SetGoPointer(ptr uintptr) {
229 func (x *DirectoryList) SetPropertyAttributes(value string) {229 func (x *DirectoryList) SetPropertyAttributes(value string) {
230 var v gobject.Value230 var v gobject.Value
231 v.Init(gobject.TypeStringVal)231 v.Init(gobject.TypeStringVal)
232- v.SetString(value)232+ v.SetString(&value)
233 x.SetProperty("attributes", &v)233 x.SetProperty("attributes", &v)
234 }234 }
235 235
M v4/gtk/gtkeditable.go +1 -1
@@ -822,7 +822,7 @@ func (x *EditableBase) SetPropertyText(value string) {
822 obj.Ptr = x.GoPointer()822 obj.Ptr = x.GoPointer()
823 var v gobject.Value823 var v gobject.Value
824 v.Init(gobject.TypeStringVal)824 v.Init(gobject.TypeStringVal)
825- v.SetString(value)825+ v.SetString(&value)
826 obj.SetProperty("text", &v)826 obj.SetProperty("text", &v)
827 }827 }
828 828
M v4/gtk/gtkentry.go +22 -22
@@ -751,7 +751,7 @@ func (x *Entry) SetIconFromGicon(IconPosVar EntryIconPosition, IconVar gio.Icon)
751 751
752 }752 }
753 753
754-var xEntrySetIconFromIconName func(uintptr, EntryIconPosition, string)754+var xEntrySetIconFromIconName func(uintptr, EntryIconPosition, uintptr)
755 755
756 // Sets the icon shown in the entry at the specified position756 // Sets the icon shown in the entry at the specified position
757 // from the current icon theme.757 // from the current icon theme.
@@ -761,9 +761,9 @@ var xEntrySetIconFromIconName func(uintptr, EntryIconPosition, string)
761 //761 //
762 // If @icon_name is %NULL, no icon will be shown in the762 // If @icon_name is %NULL, no icon will be shown in the
763 // specified position.763 // specified position.
764-func (x *Entry) SetIconFromIconName(IconPosVar EntryIconPosition, IconNameVar string) {764+func (x *Entry) SetIconFromIconName(IconPosVar EntryIconPosition, IconNameVar *string) {
765 765
766- xEntrySetIconFromIconName(x.GoPointer(), IconPosVar, IconNameVar)766+ xEntrySetIconFromIconName(x.GoPointer(), IconPosVar, core.NullableStringToPtr(IconNameVar))
767 767
768 }768 }
769 769
@@ -787,7 +787,7 @@ func (x *Entry) SetIconSensitive(IconPosVar EntryIconPosition, SensitiveVar bool
787 787
788 }788 }
789 789
790-var xEntrySetIconTooltipMarkup func(uintptr, EntryIconPosition, string)790+var xEntrySetIconTooltipMarkup func(uintptr, EntryIconPosition, uintptr)
791 791
792 // Sets @tooltip as the contents of the tooltip for the icon at792 // Sets @tooltip as the contents of the tooltip for the icon at
793 // the specified position.793 // the specified position.
@@ -798,13 +798,13 @@ var xEntrySetIconTooltipMarkup func(uintptr, EntryIconPosition, string)
798 //798 //
799 // See also [method@Gtk.Widget.set_tooltip_markup] and799 // See also [method@Gtk.Widget.set_tooltip_markup] and
800 // [method@Gtk.Entry.set_icon_tooltip_text].800 // [method@Gtk.Entry.set_icon_tooltip_text].
801-func (x *Entry) SetIconTooltipMarkup(IconPosVar EntryIconPosition, TooltipVar string) {801+func (x *Entry) SetIconTooltipMarkup(IconPosVar EntryIconPosition, TooltipVar *string) {
802 802
803- xEntrySetIconTooltipMarkup(x.GoPointer(), IconPosVar, TooltipVar)803+ xEntrySetIconTooltipMarkup(x.GoPointer(), IconPosVar, core.NullableStringToPtr(TooltipVar))
804 804
805 }805 }
806 806
807-var xEntrySetIconTooltipText func(uintptr, EntryIconPosition, string)807+var xEntrySetIconTooltipText func(uintptr, EntryIconPosition, uintptr)
808 808
809 // Sets @tooltip as the contents of the tooltip for the icon809 // Sets @tooltip as the contents of the tooltip for the icon
810 // at the specified position.810 // at the specified position.
@@ -823,9 +823,9 @@ var xEntrySetIconTooltipText func(uintptr, EntryIconPosition, string)
823 // [property@Gtk.Widget:has-tooltip] back to %TRUE, or823 // [property@Gtk.Widget:has-tooltip] back to %TRUE, or
824 // setting at least one non-empty tooltip on any icon824 // setting at least one non-empty tooltip on any icon
825 // achieves the same result.825 // achieves the same result.
826-func (x *Entry) SetIconTooltipText(IconPosVar EntryIconPosition, TooltipVar string) {826+func (x *Entry) SetIconTooltipText(IconPosVar EntryIconPosition, TooltipVar *string) {
827 827
828- xEntrySetIconTooltipText(x.GoPointer(), IconPosVar, TooltipVar)828+ xEntrySetIconTooltipText(x.GoPointer(), IconPosVar, core.NullableStringToPtr(TooltipVar))
829 829
830 }830 }
831 831
@@ -905,15 +905,15 @@ func (x *Entry) SetOverwriteMode(OverwriteVar bool) {
905 905
906 }906 }
907 907
908-var xEntrySetPlaceholderText func(uintptr, string)908+var xEntrySetPlaceholderText func(uintptr, uintptr)
909 909
910 // Sets text to be displayed in @entry when it is empty.910 // Sets text to be displayed in @entry when it is empty.
911 //911 //
912 // This can be used to give a visual hint of the expected912 // This can be used to give a visual hint of the expected
913 // contents of the `GtkEntry`.913 // contents of the `GtkEntry`.
914-func (x *Entry) SetPlaceholderText(TextVar string) {914+func (x *Entry) SetPlaceholderText(TextVar *string) {
915 915
916- xEntrySetPlaceholderText(x.GoPointer(), TextVar)916+ xEntrySetPlaceholderText(x.GoPointer(), core.NullableStringToPtr(TextVar))
917 917
918 }918 }
919 919
@@ -1087,7 +1087,7 @@ func (x *Entry) GetPropertyHasFrame() bool {
1087 func (x *Entry) SetPropertyImModule(value string) {1087 func (x *Entry) SetPropertyImModule(value string) {
1088 var v gobject.Value1088 var v gobject.Value
1089 v.Init(gobject.TypeStringVal)1089 v.Init(gobject.TypeStringVal)
1090- v.SetString(value)1090+ v.SetString(&value)
1091 x.SetProperty("im-module", &v)1091 x.SetProperty("im-module", &v)
1092 }1092 }
1093 1093
@@ -1172,7 +1172,7 @@ func (x *Entry) GetPropertyMaxLength() int {
1172 func (x *Entry) SetPropertyMenuEntryIconPrimaryText(value string) {1172 func (x *Entry) SetPropertyMenuEntryIconPrimaryText(value string) {
1173 var v gobject.Value1173 var v gobject.Value
1174 v.Init(gobject.TypeStringVal)1174 v.Init(gobject.TypeStringVal)
1175- v.SetString(value)1175+ v.SetString(&value)
1176 x.SetProperty("menu-entry-icon-primary-text", &v)1176 x.SetProperty("menu-entry-icon-primary-text", &v)
1177 }1177 }
1178 1178
@@ -1211,7 +1211,7 @@ func (x *Entry) GetPropertyMenuEntryIconPrimaryText() string {
1211 func (x *Entry) SetPropertyMenuEntryIconSecondaryText(value string) {1211 func (x *Entry) SetPropertyMenuEntryIconSecondaryText(value string) {
1212 var v gobject.Value1212 var v gobject.Value
1213 v.Init(gobject.TypeStringVal)1213 v.Init(gobject.TypeStringVal)
1214- v.SetString(value)1214+ v.SetString(&value)
1215 x.SetProperty("menu-entry-icon-secondary-text", &v)1215 x.SetProperty("menu-entry-icon-secondary-text", &v)
1216 }1216 }
1217 1217
@@ -1257,7 +1257,7 @@ func (x *Entry) GetPropertyOverwriteMode() bool {
1257 func (x *Entry) SetPropertyPlaceholderText(value string) {1257 func (x *Entry) SetPropertyPlaceholderText(value string) {
1258 var v gobject.Value1258 var v gobject.Value
1259 v.Init(gobject.TypeStringVal)1259 v.Init(gobject.TypeStringVal)
1260- v.SetString(value)1260+ v.SetString(&value)
1261 x.SetProperty("placeholder-text", &v)1261 x.SetProperty("placeholder-text", &v)
1262 }1262 }
1263 1263
@@ -1306,7 +1306,7 @@ func (x *Entry) GetPropertyPrimaryIconActivatable() bool {
1306 func (x *Entry) SetPropertyPrimaryIconName(value string) {1306 func (x *Entry) SetPropertyPrimaryIconName(value string) {
1307 var v gobject.Value1307 var v gobject.Value
1308 v.Init(gobject.TypeStringVal)1308 v.Init(gobject.TypeStringVal)
1309- v.SetString(value)1309+ v.SetString(&value)
1310 x.SetProperty("primary-icon-name", &v)1310 x.SetProperty("primary-icon-name", &v)
1311 }1311 }
1312 1312
@@ -1356,7 +1356,7 @@ func (x *Entry) GetPropertyPrimaryIconSensitive() bool {
1356 func (x *Entry) SetPropertyPrimaryIconTooltipMarkup(value string) {1356 func (x *Entry) SetPropertyPrimaryIconTooltipMarkup(value string) {
1357 var v gobject.Value1357 var v gobject.Value
1358 v.Init(gobject.TypeStringVal)1358 v.Init(gobject.TypeStringVal)
1359- v.SetString(value)1359+ v.SetString(&value)
1360 x.SetProperty("primary-icon-tooltip-markup", &v)1360 x.SetProperty("primary-icon-tooltip-markup", &v)
1361 }1361 }
1362 1362
@@ -1377,7 +1377,7 @@ func (x *Entry) GetPropertyPrimaryIconTooltipMarkup() string {
1377 func (x *Entry) SetPropertyPrimaryIconTooltipText(value string) {1377 func (x *Entry) SetPropertyPrimaryIconTooltipText(value string) {
1378 var v gobject.Value1378 var v gobject.Value
1379 v.Init(gobject.TypeStringVal)1379 v.Init(gobject.TypeStringVal)
1380- v.SetString(value)1380+ v.SetString(&value)
1381 x.SetProperty("primary-icon-tooltip-text", &v)1381 x.SetProperty("primary-icon-tooltip-text", &v)
1382 }1382 }
1383 1383
@@ -1475,7 +1475,7 @@ func (x *Entry) GetPropertySecondaryIconActivatable() bool {
1475 func (x *Entry) SetPropertySecondaryIconName(value string) {1475 func (x *Entry) SetPropertySecondaryIconName(value string) {
1476 var v gobject.Value1476 var v gobject.Value
1477 v.Init(gobject.TypeStringVal)1477 v.Init(gobject.TypeStringVal)
1478- v.SetString(value)1478+ v.SetString(&value)
1479 x.SetProperty("secondary-icon-name", &v)1479 x.SetProperty("secondary-icon-name", &v)
1480 }1480 }
1481 1481
@@ -1525,7 +1525,7 @@ func (x *Entry) GetPropertySecondaryIconSensitive() bool {
1525 func (x *Entry) SetPropertySecondaryIconTooltipMarkup(value string) {1525 func (x *Entry) SetPropertySecondaryIconTooltipMarkup(value string) {
1526 var v gobject.Value1526 var v gobject.Value
1527 v.Init(gobject.TypeStringVal)1527 v.Init(gobject.TypeStringVal)
1528- v.SetString(value)1528+ v.SetString(&value)
1529 x.SetProperty("secondary-icon-tooltip-markup", &v)1529 x.SetProperty("secondary-icon-tooltip-markup", &v)
1530 }1530 }
1531 1531
@@ -1546,7 +1546,7 @@ func (x *Entry) GetPropertySecondaryIconTooltipMarkup() string {
1546 func (x *Entry) SetPropertySecondaryIconTooltipText(value string) {1546 func (x *Entry) SetPropertySecondaryIconTooltipText(value string) {
1547 var v gobject.Value1547 var v gobject.Value
1548 v.Init(gobject.TypeStringVal)1548 v.Init(gobject.TypeStringVal)
1549- v.SetString(value)1549+ v.SetString(&value)
1550 x.SetProperty("secondary-icon-tooltip-text", &v)1550 x.SetProperty("secondary-icon-tooltip-text", &v)
1551 }1551 }
1552 1552
M v4/gtk/gtkentrybuffer.go +4 -4
@@ -398,15 +398,15 @@ func EntryBufferNewFromInternalPtr(ptr uintptr) *EntryBuffer {
398 return cls398 return cls
399 }399 }
400 400
401-var xNewEntryBuffer func(string, int) uintptr401+var xNewEntryBuffer func(uintptr, int) uintptr
402 402
403 // Create a new `GtkEntryBuffer` object.403 // Create a new `GtkEntryBuffer` object.
404 //404 //
405 // Optionally, specify initial text to set in the buffer.405 // Optionally, specify initial text to set in the buffer.
406-func NewEntryBuffer(InitialCharsVar string, NInitialCharsVar int) *EntryBuffer {406+func NewEntryBuffer(InitialCharsVar *string, NInitialCharsVar int) *EntryBuffer {
407 var cls *EntryBuffer407 var cls *EntryBuffer
408 408
409- cret := xNewEntryBuffer(InitialCharsVar, NInitialCharsVar)409+ cret := xNewEntryBuffer(core.NullableStringToPtr(InitialCharsVar), NInitialCharsVar)
410 410
411 if cret == 0 {411 if cret == 0 {
412 return nil412 return nil
@@ -579,7 +579,7 @@ func (x *EntryBuffer) GetPropertyMaxLength() int {
579 func (x *EntryBuffer) SetPropertyText(value string) {579 func (x *EntryBuffer) SetPropertyText(value string) {
580 var v gobject.Value580 var v gobject.Value
581 v.Init(gobject.TypeStringVal)581 v.Init(gobject.TypeStringVal)
582- v.SetString(value)582+ v.SetString(&value)
583 x.SetProperty("text", &v)583 x.SetProperty("text", &v)
584 }584 }
585 585
M v4/gtk/gtkeventcontroller.go +7 -7
@@ -164,12 +164,12 @@ func (x *EventController) Reset() {
164 164
165 }165 }
166 166
167-var xEventControllerSetName func(uintptr, string)167+var xEventControllerSetName func(uintptr, uintptr)
168 168
169 // Sets a name on the controller that can be used for debugging.169 // Sets a name on the controller that can be used for debugging.
170-func (x *EventController) SetName(NameVar string) {170+func (x *EventController) SetName(NameVar *string) {
171 171
172- xEventControllerSetName(x.GoPointer(), NameVar)172+ xEventControllerSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))
173 173
174 }174 }
175 175
@@ -198,12 +198,12 @@ func (x *EventController) SetPropagationPhase(PhaseVar PropagationPhase) {
198 198
199 }199 }
200 200
201-var xEventControllerSetStaticName func(uintptr, string)201+var xEventControllerSetStaticName func(uintptr, uintptr)
202 202
203 // Sets a name on the controller that can be used for debugging.203 // Sets a name on the controller that can be used for debugging.
204-func (x *EventController) SetStaticName(NameVar string) {204+func (x *EventController) SetStaticName(NameVar *string) {
205 205
206- xEventControllerSetStaticName(x.GoPointer(), NameVar)206+ xEventControllerSetStaticName(x.GoPointer(), core.NullableStringToPtr(NameVar))
207 207
208 }208 }
209 209
@@ -223,7 +223,7 @@ func (c *EventController) SetGoPointer(ptr uintptr) {
223 func (x *EventController) SetPropertyName(value string) {223 func (x *EventController) SetPropertyName(value string) {
224 var v gobject.Value224 var v gobject.Value
225 v.Init(gobject.TypeStringVal)225 v.Init(gobject.TypeStringVal)
226- v.SetString(value)226+ v.SetString(&value)
227 x.SetProperty("name", &v)227 x.SetProperty("name", &v)
228 }228 }
229 229
M v4/gtk/gtkexpander.go +10 -10
@@ -126,13 +126,13 @@ func ExpanderNewFromInternalPtr(ptr uintptr) *Expander {
126 return cls126 return cls
127 }127 }
128 128
129-var xNewExpander func(string) uintptr129+var xNewExpander func(uintptr) uintptr
130 130
131 // Creates a new expander using @label as the text of the label.131 // Creates a new expander using @label as the text of the label.
132-func NewExpander(LabelVar string) *Expander {132+func NewExpander(LabelVar *string) *Expander {
133 var cls *Expander133 var cls *Expander
134 134
135- cret := xNewExpander(LabelVar)135+ cret := xNewExpander(core.NullableStringToPtr(LabelVar))
136 136
137 if cret == 0 {137 if cret == 0 {
138 return nil138 return nil
@@ -143,7 +143,7 @@ func NewExpander(LabelVar string) *Expander {
143 return cls143 return cls
144 }144 }
145 145
146-var xNewExpanderWithMnemonic func(string) uintptr146+var xNewExpanderWithMnemonic func(uintptr) uintptr
147 147
148 // Creates a new expander using @label as the text of the label.148 // Creates a new expander using @label as the text of the label.
149 //149 //
@@ -153,10 +153,10 @@ var xNewExpanderWithMnemonic func(string) uintptr
153 // a keyboard accelerator called a mnemonic.153 // a keyboard accelerator called a mnemonic.
154 //154 //
155 // Pressing Alt and that key activates the button.155 // Pressing Alt and that key activates the button.
156-func NewExpanderWithMnemonic(LabelVar string) *Expander {156+func NewExpanderWithMnemonic(LabelVar *string) *Expander {
157 var cls *Expander157 var cls *Expander
158 158
159- cret := xNewExpanderWithMnemonic(LabelVar)159+ cret := xNewExpanderWithMnemonic(core.NullableStringToPtr(LabelVar))
160 160
161 if cret == 0 {161 if cret == 0 {
162 return nil162 return nil
@@ -276,14 +276,14 @@ func (x *Expander) SetExpanded(ExpandedVar bool) {
276 276
277 }277 }
278 278
279-var xExpanderSetLabel func(uintptr, string)279+var xExpanderSetLabel func(uintptr, uintptr)
280 280
281 // Sets the text of the label of the expander to @label.281 // Sets the text of the label of the expander to @label.
282 //282 //
283 // This will also clear any previously set labels.283 // This will also clear any previously set labels.
284-func (x *Expander) SetLabel(LabelVar string) {284+func (x *Expander) SetLabel(LabelVar *string) {
285 285
286- xExpanderSetLabel(x.GoPointer(), LabelVar)286+ xExpanderSetLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))
287 287
288 }288 }
289 289
@@ -360,7 +360,7 @@ func (x *Expander) GetPropertyExpanded() bool {
360 func (x *Expander) SetPropertyLabel(value string) {360 func (x *Expander) SetPropertyLabel(value string) {
361 var v gobject.Value361 var v gobject.Value
362 v.Init(gobject.TypeStringVal)362 v.Init(gobject.TypeStringVal)
363- v.SetString(value)363+ v.SetString(&value)
364 x.SetProperty("label", &v)364 x.SetProperty("label", &v)
365 }365 }
366 366
M v4/gtk/gtkfilechooserdialog.go +3 -3
@@ -208,15 +208,15 @@ func FileChooserDialogNewFromInternalPtr(ptr uintptr) *FileChooserDialog {
208 return cls208 return cls
209 }209 }
210 210
211-var xNewFileChooserDialog func(string, uintptr, FileChooserAction, string, ...interface{}) uintptr211+var xNewFileChooserDialog func(uintptr, uintptr, FileChooserAction, uintptr, ...interface{}) uintptr
212 212
213 // Creates a new `GtkFileChooserDialog`.213 // Creates a new `GtkFileChooserDialog`.
214 //214 //
215 // This function is analogous to [ctor@Gtk.Dialog.new_with_buttons].215 // This function is analogous to [ctor@Gtk.Dialog.new_with_buttons].
216-func NewFileChooserDialog(TitleVar string, ParentVar *Window, ActionVar FileChooserAction, FirstButtonTextVar string, varArgs ...interface{}) *FileChooserDialog {216+func NewFileChooserDialog(TitleVar *string, ParentVar *Window, ActionVar FileChooserAction, FirstButtonTextVar *string, varArgs ...interface{}) *FileChooserDialog {
217 var cls *FileChooserDialog217 var cls *FileChooserDialog
218 218
219- cret := xNewFileChooserDialog(TitleVar, ParentVar.GoPointer(), ActionVar, FirstButtonTextVar, varArgs...)219+ cret := xNewFileChooserDialog(core.NullableStringToPtr(TitleVar), ParentVar.GoPointer(), ActionVar, core.NullableStringToPtr(FirstButtonTextVar), varArgs...)
220 220
221 if cret == 0 {221 if cret == 0 {
222 return nil222 return nil
M v4/gtk/gtkfilechoosernative.go +11 -11
@@ -191,13 +191,13 @@ func FileChooserNativeNewFromInternalPtr(ptr uintptr) *FileChooserNative {
191 return cls191 return cls
192 }192 }
193 193
194-var xNewFileChooserNative func(string, uintptr, FileChooserAction, string, string) uintptr194+var xNewFileChooserNative func(uintptr, uintptr, FileChooserAction, uintptr, uintptr) uintptr
195 195
196 // Creates a new `GtkFileChooserNative`.196 // Creates a new `GtkFileChooserNative`.
197-func NewFileChooserNative(TitleVar string, ParentVar *Window, ActionVar FileChooserAction, AcceptLabelVar string, CancelLabelVar string) *FileChooserNative {197+func NewFileChooserNative(TitleVar *string, ParentVar *Window, ActionVar FileChooserAction, AcceptLabelVar *string, CancelLabelVar *string) *FileChooserNative {
198 var cls *FileChooserNative198 var cls *FileChooserNative
199 199
200- cret := xNewFileChooserNative(TitleVar, ParentVar.GoPointer(), ActionVar, AcceptLabelVar, CancelLabelVar)200+ cret := xNewFileChooserNative(core.NullableStringToPtr(TitleVar), ParentVar.GoPointer(), ActionVar, core.NullableStringToPtr(AcceptLabelVar), core.NullableStringToPtr(CancelLabelVar))
201 201
202 if cret == 0 {202 if cret == 0 {
203 return nil203 return nil
@@ -225,7 +225,7 @@ func (x *FileChooserNative) GetCancelLabel() string {
225 return cret225 return cret
226 }226 }
227 227
228-var xFileChooserNativeSetAcceptLabel func(uintptr, string)228+var xFileChooserNativeSetAcceptLabel func(uintptr, uintptr)
229 229
230 // Sets the custom label text for the accept button.230 // Sets the custom label text for the accept button.
231 //231 //
@@ -235,13 +235,13 @@ var xFileChooserNativeSetAcceptLabel func(uintptr, string)
235 // a keyboard accelerator called a mnemonic.235 // a keyboard accelerator called a mnemonic.
236 //236 //
237 // Pressing Alt and that key should activate the button.237 // Pressing Alt and that key should activate the button.
238-func (x *FileChooserNative) SetAcceptLabel(AcceptLabelVar string) {238+func (x *FileChooserNative) SetAcceptLabel(AcceptLabelVar *string) {
239 239
240- xFileChooserNativeSetAcceptLabel(x.GoPointer(), AcceptLabelVar)240+ xFileChooserNativeSetAcceptLabel(x.GoPointer(), core.NullableStringToPtr(AcceptLabelVar))
241 241
242 }242 }
243 243
244-var xFileChooserNativeSetCancelLabel func(uintptr, string)244+var xFileChooserNativeSetCancelLabel func(uintptr, uintptr)
245 245
246 // Sets the custom label text for the cancel button.246 // Sets the custom label text for the cancel button.
247 //247 //
@@ -251,9 +251,9 @@ var xFileChooserNativeSetCancelLabel func(uintptr, string)
251 // a keyboard accelerator called a mnemonic.251 // a keyboard accelerator called a mnemonic.
252 //252 //
253 // Pressing Alt and that key should activate the button.253 // Pressing Alt and that key should activate the button.
254-func (x *FileChooserNative) SetCancelLabel(CancelLabelVar string) {254+func (x *FileChooserNative) SetCancelLabel(CancelLabelVar *string) {
255 255
256- xFileChooserNativeSetCancelLabel(x.GoPointer(), CancelLabelVar)256+ xFileChooserNativeSetCancelLabel(x.GoPointer(), core.NullableStringToPtr(CancelLabelVar))
257 257
258 }258 }
259 259
@@ -274,7 +274,7 @@ func (c *FileChooserNative) SetGoPointer(ptr uintptr) {
274 func (x *FileChooserNative) SetPropertyAcceptLabel(value string) {274 func (x *FileChooserNative) SetPropertyAcceptLabel(value string) {
275 var v gobject.Value275 var v gobject.Value
276 v.Init(gobject.TypeStringVal)276 v.Init(gobject.TypeStringVal)
277- v.SetString(value)277+ v.SetString(&value)
278 x.SetProperty("accept-label", &v)278 x.SetProperty("accept-label", &v)
279 }279 }
280 280
@@ -293,7 +293,7 @@ func (x *FileChooserNative) GetPropertyAcceptLabel() string {
293 func (x *FileChooserNative) SetPropertyCancelLabel(value string) {293 func (x *FileChooserNative) SetPropertyCancelLabel(value string) {
294 var v gobject.Value294 var v gobject.Value
295 v.Init(gobject.TypeStringVal)295 v.Init(gobject.TypeStringVal)
296- v.SetString(value)296+ v.SetString(&value)
297 x.SetProperty("cancel-label", &v)297 x.SetProperty("cancel-label", &v)
298 }298 }
299 299
M v4/gtk/gtkfiledialog.go +9 -9
@@ -625,16 +625,16 @@ func (x *FileDialog) SelectMultipleFoldersFinish(ResultVar gio.AsyncResult) (*gi
625 625
626 }626 }
627 627
628-var xFileDialogSetAcceptLabel func(uintptr, string)628+var xFileDialogSetAcceptLabel func(uintptr, uintptr)
629 629
630 // Sets the label shown on the file chooser's accept button.630 // Sets the label shown on the file chooser's accept button.
631 //631 //
632 // Leaving the accept label unset or setting it as `NULL` will632 // Leaving the accept label unset or setting it as `NULL` will
633 // fall back to a default label, depending on what API is used633 // fall back to a default label, depending on what API is used
634 // to launch the file dialog.634 // to launch the file dialog.
635-func (x *FileDialog) SetAcceptLabel(AcceptLabelVar string) {635+func (x *FileDialog) SetAcceptLabel(AcceptLabelVar *string) {
636 636
637- xFileDialogSetAcceptLabel(x.GoPointer(), AcceptLabelVar)637+ xFileDialogSetAcceptLabel(x.GoPointer(), core.NullableStringToPtr(AcceptLabelVar))
638 638
639 }639 }
640 640
@@ -687,7 +687,7 @@ func (x *FileDialog) SetInitialFolder(FolderVar gio.File) {
687 687
688 }688 }
689 689
690-var xFileDialogSetInitialName func(uintptr, string)690+var xFileDialogSetInitialName func(uintptr, uintptr)
691 691
692 // Sets the filename that will be initially selected.692 // Sets the filename that will be initially selected.
693 //693 //
@@ -697,9 +697,9 @@ var xFileDialogSetInitialName func(uintptr, string)
697 // If a file with this name already exists in the directory set697 // If a file with this name already exists in the directory set
698 // via [property@Gtk.FileDialog:initial-folder], the dialog will698 // via [property@Gtk.FileDialog:initial-folder], the dialog will
699 // preselect it.699 // preselect it.
700-func (x *FileDialog) SetInitialName(NameVar string) {700+func (x *FileDialog) SetInitialName(NameVar *string) {
701 701
702- xFileDialogSetInitialName(x.GoPointer(), NameVar)702+ xFileDialogSetInitialName(x.GoPointer(), core.NullableStringToPtr(NameVar))
703 703
704 }704 }
705 705
@@ -738,7 +738,7 @@ func (c *FileDialog) SetGoPointer(ptr uintptr) {
738 func (x *FileDialog) SetPropertyAcceptLabel(value string) {738 func (x *FileDialog) SetPropertyAcceptLabel(value string) {
739 var v gobject.Value739 var v gobject.Value
740 v.Init(gobject.TypeStringVal)740 v.Init(gobject.TypeStringVal)
741- v.SetString(value)741+ v.SetString(&value)
742 x.SetProperty("accept-label", &v)742 x.SetProperty("accept-label", &v)
743 }743 }
744 744
@@ -757,7 +757,7 @@ func (x *FileDialog) GetPropertyAcceptLabel() string {
757 func (x *FileDialog) SetPropertyInitialName(value string) {757 func (x *FileDialog) SetPropertyInitialName(value string) {
758 var v gobject.Value758 var v gobject.Value
759 v.Init(gobject.TypeStringVal)759 v.Init(gobject.TypeStringVal)
760- v.SetString(value)760+ v.SetString(&value)
761 x.SetProperty("initial-name", &v)761 x.SetProperty("initial-name", &v)
762 }762 }
763 763
@@ -793,7 +793,7 @@ func (x *FileDialog) GetPropertyModal() bool {
793 func (x *FileDialog) SetPropertyTitle(value string) {793 func (x *FileDialog) SetPropertyTitle(value string) {
794 var v gobject.Value794 var v gobject.Value
795 v.Init(gobject.TypeStringVal)795 v.Init(gobject.TypeStringVal)
796- v.SetString(value)796+ v.SetString(&value)
797 x.SetProperty("title", &v)797 x.SetProperty("title", &v)
798 }798 }
799 799
M v4/gtk/gtkfilefilter.go +4 -4
@@ -202,15 +202,15 @@ func (x *FileFilter) GetName() string {
202 return cret202 return cret
203 }203 }
204 204
205-var xFileFilterSetName func(uintptr, string)205+var xFileFilterSetName func(uintptr, uintptr)
206 206
207 // Sets a human-readable name of the filter.207 // Sets a human-readable name of the filter.
208 //208 //
209 // This is the string that will be displayed in the user interface209 // This is the string that will be displayed in the user interface
210 // if there is a selectable list of filters.210 // if there is a selectable list of filters.
211-func (x *FileFilter) SetName(NameVar string) {211+func (x *FileFilter) SetName(NameVar *string) {
212 212
213- xFileFilterSetName(x.GoPointer(), NameVar)213+ xFileFilterSetName(x.GoPointer(), core.NullableStringToPtr(NameVar))
214 214
215 }215 }
216 216
@@ -251,7 +251,7 @@ func (x *FileFilter) SetPropertyMimeTypes(value []string) {
251 func (x *FileFilter) SetPropertyName(value string) {251 func (x *FileFilter) SetPropertyName(value string) {
252 var v gobject.Value252 var v gobject.Value
253 v.Init(gobject.TypeStringVal)253 v.Init(gobject.TypeStringVal)
254- v.SetString(value)254+ v.SetString(&value)
255 x.SetProperty("name", &v)255 x.SetProperty("name", &v)
256 }256 }
257 257
M v4/gtk/gtkfontbutton.go +1 -1
@@ -193,7 +193,7 @@ func (x *FontButton) GetPropertyModal() bool {
193 func (x *FontButton) SetPropertyTitle(value string) {193 func (x *FontButton) SetPropertyTitle(value string) {
194 var v gobject.Value194 var v gobject.Value
195 v.Init(gobject.TypeStringVal)195 v.Init(gobject.TypeStringVal)
196- v.SetString(value)196+ v.SetString(&value)
197 x.SetProperty("title", &v)197 x.SetProperty("title", &v)
198 }198 }
199 199
M v4/gtk/gtkfontchooser.go +3 -3
@@ -507,7 +507,7 @@ func (x *FontChooserBase) SetPropertyFont(value string) {
507 obj.Ptr = x.GoPointer()507 obj.Ptr = x.GoPointer()
508 var v gobject.Value508 var v gobject.Value
509 v.Init(gobject.TypeStringVal)509 v.Init(gobject.TypeStringVal)
510- v.SetString(value)510+ v.SetString(&value)
511 obj.SetProperty("font", &v)511 obj.SetProperty("font", &v)
512 }512 }
513 513
@@ -562,7 +562,7 @@ func (x *FontChooserBase) SetPropertyLanguage(value string) {
562 obj.Ptr = x.GoPointer()562 obj.Ptr = x.GoPointer()
563 var v gobject.Value563 var v gobject.Value
564 v.Init(gobject.TypeStringVal)564 v.Init(gobject.TypeStringVal)
565- v.SetString(value)565+ v.SetString(&value)
566 obj.SetProperty("language", &v)566 obj.SetProperty("language", &v)
567 }567 }
568 568
@@ -583,7 +583,7 @@ func (x *FontChooserBase) SetPropertyPreviewText(value string) {
583 obj.Ptr = x.GoPointer()583 obj.Ptr = x.GoPointer()
584 var v gobject.Value584 var v gobject.Value
585 v.Init(gobject.TypeStringVal)585 v.Init(gobject.TypeStringVal)
586- v.SetString(value)586+ v.SetString(&value)
587 obj.SetProperty("preview-text", &v)587 obj.SetProperty("preview-text", &v)
588 }588 }
589 589
M v4/gtk/gtkfontchooserdialog.go +3 -3
@@ -52,13 +52,13 @@ func FontChooserDialogNewFromInternalPtr(ptr uintptr) *FontChooserDialog {
52 return cls52 return cls
53 }53 }
54 54
55-var xNewFontChooserDialog func(string, uintptr) uintptr55+var xNewFontChooserDialog func(uintptr, uintptr) uintptr
56 56
57 // Creates a new `GtkFontChooserDialog`.57 // Creates a new `GtkFontChooserDialog`.
58-func NewFontChooserDialog(TitleVar string, ParentVar *Window) *FontChooserDialog {58+func NewFontChooserDialog(TitleVar *string, ParentVar *Window) *FontChooserDialog {
59 var cls *FontChooserDialog59 var cls *FontChooserDialog
60 60
61- cret := xNewFontChooserDialog(TitleVar, ParentVar.GoPointer())61+ cret := xNewFontChooserDialog(core.NullableStringToPtr(TitleVar), ParentVar.GoPointer())
62 62
63 if cret == 0 {63 if cret == 0 {
64 return nil64 return nil
M v4/gtk/gtkfontdialog.go +1 -1
@@ -432,7 +432,7 @@ func (x *FontDialog) GetPropertyModal() bool {
432 func (x *FontDialog) SetPropertyTitle(value string) {432 func (x *FontDialog) SetPropertyTitle(value string) {
433 var v gobject.Value433 var v gobject.Value
434 v.Init(gobject.TypeStringVal)434 v.Init(gobject.TypeStringVal)
435- v.SetString(value)435+ v.SetString(&value)
436 x.SetProperty("title", &v)436 x.SetProperty("title", &v)
437 }437 }
438 438
M v4/gtk/gtkfontdialogbutton.go +4 -4
@@ -212,12 +212,12 @@ func (x *FontDialogButton) SetFontDesc(FontDescVar *pango.FontDescription) {
212 212
213 }213 }
214 214
215-var xFontDialogButtonSetFontFeatures func(uintptr, string)215+var xFontDialogButtonSetFontFeatures func(uintptr, uintptr)
216 216
217 // Sets the font features of the button.217 // Sets the font features of the button.
218-func (x *FontDialogButton) SetFontFeatures(FontFeaturesVar string) {218+func (x *FontDialogButton) SetFontFeatures(FontFeaturesVar *string) {
219 219
220- xFontDialogButtonSetFontFeatures(x.GoPointer(), FontFeaturesVar)220+ xFontDialogButtonSetFontFeatures(x.GoPointer(), core.NullableStringToPtr(FontFeaturesVar))
221 221
222 }222 }
223 223
@@ -313,7 +313,7 @@ func (x *FontDialogButton) GetPropertyFontDesc() uintptr {
313 func (x *FontDialogButton) SetPropertyFontFeatures(value string) {313 func (x *FontDialogButton) SetPropertyFontFeatures(value string) {
314 var v gobject.Value314 var v gobject.Value
315 v.Init(gobject.TypeStringVal)315 v.Init(gobject.TypeStringVal)
316- v.SetString(value)316+ v.SetString(&value)
317 x.SetProperty("font-features", &v)317 x.SetProperty("font-features", &v)
318 }318 }
319 319
M v4/gtk/gtkframe.go +7 -7
@@ -112,15 +112,15 @@ func FrameNewFromInternalPtr(ptr uintptr) *Frame {
112 return cls112 return cls
113 }113 }
114 114
115-var xNewFrame func(string) uintptr115+var xNewFrame func(uintptr) uintptr
116 116
117 // Creates a new `GtkFrame`, with optional label @label.117 // Creates a new `GtkFrame`, with optional label @label.
118 //118 //
119 // If @label is %NULL, the label is omitted.119 // If @label is %NULL, the label is omitted.
120-func NewFrame(LabelVar string) *Frame {120+func NewFrame(LabelVar *string) *Frame {
121 var cls *Frame121 var cls *Frame
122 122
123- cret := xNewFrame(LabelVar)123+ cret := xNewFrame(core.NullableStringToPtr(LabelVar))
124 124
125 if cret == 0 {125 if cret == 0 {
126 return nil126 return nil
@@ -195,13 +195,13 @@ func (x *Frame) SetChild(ChildVar *Widget) {
195 195
196 }196 }
197 197
198-var xFrameSetLabel func(uintptr, string)198+var xFrameSetLabel func(uintptr, uintptr)
199 199
200 // Creates a new `GtkLabel` with the @label and sets it as the frame's200 // Creates a new `GtkLabel` with the @label and sets it as the frame's
201 // label widget.201 // label widget.
202-func (x *Frame) SetLabel(LabelVar string) {202+func (x *Frame) SetLabel(LabelVar *string) {
203 203
204- xFrameSetLabel(x.GoPointer(), LabelVar)204+ xFrameSetLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))
205 205
206 }206 }
207 207
@@ -244,7 +244,7 @@ func (c *Frame) SetGoPointer(ptr uintptr) {
244 func (x *Frame) SetPropertyLabel(value string) {244 func (x *Frame) SetPropertyLabel(value string) {
245 var v gobject.Value245 var v gobject.Value
246 v.Init(gobject.TypeStringVal)246 v.Init(gobject.TypeStringVal)
247- v.SetString(value)247+ v.SetString(&value)
248 x.SetProperty("label", &v)248 x.SetProperty("label", &v)
249 }249 }
250 250
M v4/gtk/gtkheaderbar.go +4 -4
@@ -201,7 +201,7 @@ func (x *HeaderBar) Remove(ChildVar *Widget) {
201 201
202 }202 }
203 203
204-var xHeaderBarSetDecorationLayout func(uintptr, string)204+var xHeaderBarSetDecorationLayout func(uintptr, uintptr)
205 205
206 // Sets the decoration layout for this header bar.206 // Sets the decoration layout for this header bar.
207 //207 //
@@ -220,9 +220,9 @@ var xHeaderBarSetDecorationLayout func(uintptr, string)
220 //220 //
221 // For example, “icon:minimize,maximize,close” specifies an icon221 // For example, “icon:minimize,maximize,close” specifies an icon
222 // on the left, and minimize, maximize and close buttons on the right.222 // on the left, and minimize, maximize and close buttons on the right.
223-func (x *HeaderBar) SetDecorationLayout(LayoutVar string) {223+func (x *HeaderBar) SetDecorationLayout(LayoutVar *string) {
224 224
225- xHeaderBarSetDecorationLayout(x.GoPointer(), LayoutVar)225+ xHeaderBarSetDecorationLayout(x.GoPointer(), core.NullableStringToPtr(LayoutVar))
226 226
227 }227 }
228 228
@@ -288,7 +288,7 @@ func (c *HeaderBar) SetGoPointer(ptr uintptr) {
288 func (x *HeaderBar) SetPropertyDecorationLayout(value string) {288 func (x *HeaderBar) SetPropertyDecorationLayout(value string) {
289 var v gobject.Value289 var v gobject.Value
290 v.Init(gobject.TypeStringVal)290 v.Init(gobject.TypeStringVal)
291- v.SetString(value)291+ v.SetString(&value)
292 x.SetProperty("decoration-layout", &v)292 x.SetProperty("decoration-layout", &v)
293 }293 }
294 294
M v4/gtk/gtkiconpaintable.go +1 -1
@@ -124,7 +124,7 @@ func (c *IconPaintable) SetGoPointer(ptr uintptr) {
124 func (x *IconPaintable) SetPropertyIconName(value string) {124 func (x *IconPaintable) SetPropertyIconName(value string) {
125 var v gobject.Value125 var v gobject.Value
126 v.Init(gobject.TypeStringVal)126 v.Init(gobject.TypeStringVal)
127- v.SetString(value)127+ v.SetString(&value)
128 x.SetProperty("icon-name", &v)128 x.SetProperty("icon-name", &v)
129 }129 }
130 130
M v4/gtk/gtkicontheme.go +4 -4
@@ -343,16 +343,16 @@ func (x *IconTheme) SetSearchPath(PathVar []string) {
343 343
344 }344 }
345 345
346-var xIconThemeSetThemeName func(uintptr, string)346+var xIconThemeSetThemeName func(uintptr, uintptr)
347 347
348 // Sets the name of the icon theme that the `GtkIconTheme` object uses348 // Sets the name of the icon theme that the `GtkIconTheme` object uses
349 // overriding system configuration.349 // overriding system configuration.
350 //350 //
351 // This function cannot be called on the icon theme objects returned351 // This function cannot be called on the icon theme objects returned
352 // from [func@Gtk.IconTheme.get_for_display].352 // from [func@Gtk.IconTheme.get_for_display].
353-func (x *IconTheme) SetThemeName(ThemeNameVar string) {353+func (x *IconTheme) SetThemeName(ThemeNameVar *string) {
354 354
355- xIconThemeSetThemeName(x.GoPointer(), ThemeNameVar)355+ xIconThemeSetThemeName(x.GoPointer(), core.NullableStringToPtr(ThemeNameVar))
356 356
357 }357 }
358 358
@@ -444,7 +444,7 @@ func (x *IconTheme) GetPropertySearchPath() []string {
444 func (x *IconTheme) SetPropertyThemeName(value string) {444 func (x *IconTheme) SetPropertyThemeName(value string) {
445 var v gobject.Value445 var v gobject.Value
446 v.Init(gobject.TypeStringVal)446 v.Init(gobject.TypeStringVal)
447- v.SetString(value)447+ v.SetString(&value)
448 x.SetProperty("theme-name", &v)448 x.SetProperty("theme-name", &v)
449 }449 }
450 450
M v4/gtk/gtkimage.go +15 -15
@@ -166,17 +166,17 @@ func NewImageFromGicon(IconVar gio.Icon) *Image {
166 return cls166 return cls
167 }167 }
168 168
169-var xNewImageFromIconName func(string) uintptr169+var xNewImageFromIconName func(uintptr) uintptr
170 170
171 // Creates a `GtkImage` displaying an icon from the current icon theme.171 // Creates a `GtkImage` displaying an icon from the current icon theme.
172 //172 //
173 // If the icon name isn’t known, a “broken image” icon will be173 // If the icon name isn’t known, a “broken image” icon will be
174 // displayed instead. If the current icon theme is changed, the icon174 // displayed instead. If the current icon theme is changed, the icon
175 // will be updated appropriately.175 // will be updated appropriately.
176-func NewImageFromIconName(IconNameVar string) *Image {176+func NewImageFromIconName(IconNameVar *string) *Image {
177 var cls *Image177 var cls *Image
178 178
179- cret := xNewImageFromIconName(IconNameVar)179+ cret := xNewImageFromIconName(core.NullableStringToPtr(IconNameVar))
180 180
181 if cret == 0 {181 if cret == 0 {
182 return nil182 return nil
@@ -373,7 +373,7 @@ func (x *Image) GetStorageType() ImageType {
373 return cret373 return cret
374 }374 }
375 375
376-var xImageSetFromFile func(uintptr, string)376+var xImageSetFromFile func(uintptr, uintptr)
377 377
378 // Sets a `GtkImage` to show a file.378 // Sets a `GtkImage` to show a file.
379 //379 //
@@ -385,9 +385,9 @@ var xImageSetFromFile func(uintptr, string)
385 // Use a proper image loading framework such as libglycin, which can385 // Use a proper image loading framework such as libglycin, which can
386 // load many image formats into a `GdkTexture`, and then use386 // load many image formats into a `GdkTexture`, and then use
387 // [method@Gtk.Image.set_from_paintable].387 // [method@Gtk.Image.set_from_paintable].
388-func (x *Image) SetFromFile(FilenameVar string) {388+func (x *Image) SetFromFile(FilenameVar *string) {
389 389
390- xImageSetFromFile(x.GoPointer(), FilenameVar)390+ xImageSetFromFile(x.GoPointer(), core.NullableStringToPtr(FilenameVar))
391 391
392 }392 }
393 393
@@ -402,14 +402,14 @@ func (x *Image) SetFromGicon(IconVar gio.Icon) {
402 402
403 }403 }
404 404
405-var xImageSetFromIconName func(uintptr, string)405+var xImageSetFromIconName func(uintptr, uintptr)
406 406
407 // Sets a `GtkImage` to show a named icon.407 // Sets a `GtkImage` to show a named icon.
408 //408 //
409 // See [ctor@Gtk.Image.new_from_icon_name] for details.409 // See [ctor@Gtk.Image.new_from_icon_name] for details.
410-func (x *Image) SetFromIconName(IconNameVar string) {410+func (x *Image) SetFromIconName(IconNameVar *string) {
411 411
412- xImageSetFromIconName(x.GoPointer(), IconNameVar)412+ xImageSetFromIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
413 413
414 }414 }
415 415
@@ -439,14 +439,14 @@ func (x *Image) SetFromPixbuf(PixbufVar *gdkpixbuf.Pixbuf) {
439 439
440 }440 }
441 441
442-var xImageSetFromResource func(uintptr, string)442+var xImageSetFromResource func(uintptr, uintptr)
443 443
444 // Sets a `GtkImage` to show a resource.444 // Sets a `GtkImage` to show a resource.
445 //445 //
446 // See [ctor@Gtk.Image.new_from_resource] for details.446 // See [ctor@Gtk.Image.new_from_resource] for details.
447-func (x *Image) SetFromResource(ResourcePathVar string) {447+func (x *Image) SetFromResource(ResourcePathVar *string) {
448 448
449- xImageSetFromResource(x.GoPointer(), ResourcePathVar)449+ xImageSetFromResource(x.GoPointer(), core.NullableStringToPtr(ResourcePathVar))
450 450
451 }451 }
452 452
@@ -487,7 +487,7 @@ func (c *Image) SetGoPointer(ptr uintptr) {
487 func (x *Image) SetPropertyFile(value string) {487 func (x *Image) SetPropertyFile(value string) {
488 var v gobject.Value488 var v gobject.Value
489 v.Init(gobject.TypeStringVal)489 v.Init(gobject.TypeStringVal)
490- v.SetString(value)490+ v.SetString(&value)
491 x.SetProperty("file", &v)491 x.SetProperty("file", &v)
492 }492 }
493 493
@@ -506,7 +506,7 @@ func (x *Image) GetPropertyFile() string {
506 func (x *Image) SetPropertyIconName(value string) {506 func (x *Image) SetPropertyIconName(value string) {
507 var v gobject.Value507 var v gobject.Value
508 v.Init(gobject.TypeStringVal)508 v.Init(gobject.TypeStringVal)
509- v.SetString(value)509+ v.SetString(&value)
510 x.SetProperty("icon-name", &v)510 x.SetProperty("icon-name", &v)
511 }511 }
512 512
@@ -550,7 +550,7 @@ func (x *Image) GetPropertyPixelSize() int {
550 func (x *Image) SetPropertyResource(value string) {550 func (x *Image) SetPropertyResource(value string) {
551 var v gobject.Value551 var v gobject.Value
552 v.Init(gobject.TypeStringVal)552 v.Init(gobject.TypeStringVal)
553- v.SetString(value)553+ v.SetString(&value)
554 x.SetProperty("resource", &v)554 x.SetProperty("resource", &v)
555 }555 }
556 556
M v4/gtk/gtkimmulticontext.go +3 -3
@@ -174,7 +174,7 @@ func (x *IMMulticontext) GetContextId() string {
174 return cret174 return cret
175 }175 }
176 176
177-var xIMMulticontextSetContextId func(uintptr, string)177+var xIMMulticontextSetContextId func(uintptr, uintptr)
178 178
179 // Sets the context id for @context.179 // Sets the context id for @context.
180 //180 //
@@ -184,9 +184,9 @@ var xIMMulticontextSetContextId func(uintptr, string)
184 // Setting this to a non-%NULL value overrides the system-wide184 // Setting this to a non-%NULL value overrides the system-wide
185 // IM module setting. See the [property@Gtk.Settings:gtk-im-module]185 // IM module setting. See the [property@Gtk.Settings:gtk-im-module]
186 // property.186 // property.
187-func (x *IMMulticontext) SetContextId(ContextIdVar string) {187+func (x *IMMulticontext) SetContextId(ContextIdVar *string) {
188 188
189- xIMMulticontextSetContextId(x.GoPointer(), ContextIdVar)189+ xIMMulticontextSetContextId(x.GoPointer(), core.NullableStringToPtr(ContextIdVar))
190 190
191 }191 }
192 192
M v4/gtk/gtkinfobar.go +3 -3
@@ -127,7 +127,7 @@ func NewInfoBar() *InfoBar {
127 return cls127 return cls
128 }128 }
129 129
130-var xNewInfoBarWithButtons func(string, ...interface{}) uintptr130+var xNewInfoBarWithButtons func(uintptr, ...interface{}) uintptr
131 131
132 // Creates a new `GtkInfoBar` with buttons.132 // Creates a new `GtkInfoBar` with buttons.
133 //133 //
@@ -137,10 +137,10 @@ var xNewInfoBarWithButtons func(string, ...interface{}) uintptr
137 // user clicks one of these dialog buttons, GtkInfoBar will emit137 // user clicks one of these dialog buttons, GtkInfoBar will emit
138 // the [signal@Gtk.InfoBar::response] signal with the corresponding138 // the [signal@Gtk.InfoBar::response] signal with the corresponding
139 // response ID.139 // response ID.
140-func NewInfoBarWithButtons(FirstButtonTextVar string, varArgs ...interface{}) *InfoBar {140+func NewInfoBarWithButtons(FirstButtonTextVar *string, varArgs ...interface{}) *InfoBar {
141 var cls *InfoBar141 var cls *InfoBar
142 142
143- cret := xNewInfoBarWithButtons(FirstButtonTextVar, varArgs...)143+ cret := xNewInfoBarWithButtons(core.NullableStringToPtr(FirstButtonTextVar), varArgs...)
144 144
145 if cret == 0 {145 if cret == 0 {
146 return nil146 return nil
M v4/gtk/gtkinscription.go +11 -11
@@ -76,13 +76,13 @@ func InscriptionNewFromInternalPtr(ptr uintptr) *Inscription {
76 return cls76 return cls
77 }77 }
78 78
79-var xNewInscription func(string) uintptr79+var xNewInscription func(uintptr) uintptr
80 80
81 // Creates a new `GtkInscription` with the given text.81 // Creates a new `GtkInscription` with the given text.
82-func NewInscription(TextVar string) *Inscription {82+func NewInscription(TextVar *string) *Inscription {
83 var cls *Inscription83 var cls *Inscription
84 84
85- cret := xNewInscription(TextVar)85+ cret := xNewInscription(core.NullableStringToPtr(TextVar))
86 86
87 if cret == 0 {87 if cret == 0 {
88 return nil88 return nil
@@ -208,14 +208,14 @@ func (x *Inscription) SetAttributes(AttrsVar *pango.AttrList) {
208 208
209 }209 }
210 210
211-var xInscriptionSetMarkup func(uintptr, string)211+var xInscriptionSetMarkup func(uintptr, uintptr)
212 212
213 // Utility function to set the text and attributes to be displayed.213 // Utility function to set the text and attributes to be displayed.
214 //214 //
215 // See the [property@Gtk.Inscription:markup] property.215 // See the [property@Gtk.Inscription:markup] property.
216-func (x *Inscription) SetMarkup(MarkupVar string) {216+func (x *Inscription) SetMarkup(MarkupVar *string) {
217 217
218- xInscriptionSetMarkup(x.GoPointer(), MarkupVar)218+ xInscriptionSetMarkup(x.GoPointer(), core.NullableStringToPtr(MarkupVar))
219 219
220 }220 }
221 221
@@ -263,12 +263,12 @@ func (x *Inscription) SetNatLines(NatLinesVar uint) {
263 263
264 }264 }
265 265
266-var xInscriptionSetText func(uintptr, string)266+var xInscriptionSetText func(uintptr, uintptr)
267 267
268 // Sets the text to be displayed.268 // Sets the text to be displayed.
269-func (x *Inscription) SetText(TextVar string) {269+func (x *Inscription) SetText(TextVar *string) {
270 270
271- xInscriptionSetText(x.GoPointer(), TextVar)271+ xInscriptionSetText(x.GoPointer(), core.NullableStringToPtr(TextVar))
272 272
273 }273 }
274 274
@@ -351,7 +351,7 @@ func (x *Inscription) GetPropertyAttributes() uintptr {
351 func (x *Inscription) SetPropertyMarkup(value string) {351 func (x *Inscription) SetPropertyMarkup(value string) {
352 var v gobject.Value352 var v gobject.Value
353 v.Init(gobject.TypeStringVal)353 v.Init(gobject.TypeStringVal)
354- v.SetString(value)354+ v.SetString(&value)
355 x.SetProperty("markup", &v)355 x.SetProperty("markup", &v)
356 }356 }
357 357
@@ -494,7 +494,7 @@ func (x *Inscription) GetPropertyNatLines() uint {
494 func (x *Inscription) SetPropertyText(value string) {494 func (x *Inscription) SetPropertyText(value string) {
495 var v gobject.Value495 var v gobject.Value
496 v.Init(gobject.TypeStringVal)496 v.Init(gobject.TypeStringVal)
497- v.SetString(value)497+ v.SetString(&value)
498 x.SetProperty("text", &v)498 x.SetProperty("text", &v)
499 }499 }
500 500
M v4/gtk/gtklabel.go +7 -7
@@ -249,15 +249,15 @@ func LabelNewFromInternalPtr(ptr uintptr) *Label {
249 return cls249 return cls
250 }250 }
251 251
252-var xNewLabel func(string) uintptr252+var xNewLabel func(uintptr) uintptr
253 253
254 // Creates a new label with the given text inside it.254 // Creates a new label with the given text inside it.
255 //255 //
256 // You can pass `NULL` to get an empty label widget.256 // You can pass `NULL` to get an empty label widget.
257-func NewLabel(StrVar string) *Label {257+func NewLabel(StrVar *string) *Label {
258 var cls *Label258 var cls *Label
259 259
260- cret := xNewLabel(StrVar)260+ cret := xNewLabel(core.NullableStringToPtr(StrVar))
261 261
262 if cret == 0 {262 if cret == 0 {
263 return nil263 return nil
@@ -268,7 +268,7 @@ func NewLabel(StrVar string) *Label {
268 return cls268 return cls
269 }269 }
270 270
271-var xNewLabelWithMnemonic func(string) uintptr271+var xNewLabelWithMnemonic func(uintptr) uintptr
272 272
273 // Creates a new label with the given text inside it, and a mnemonic.273 // Creates a new label with the given text inside it, and a mnemonic.
274 //274 //
@@ -284,10 +284,10 @@ var xNewLabelWithMnemonic func(string) uintptr
284 // widget. For instance, if the label is inside a button or menu item,284 // widget. For instance, if the label is inside a button or menu item,
285 // the button or menu item will automatically become the mnemonic widget285 // the button or menu item will automatically become the mnemonic widget
286 // and be activated by the mnemonic.286 // and be activated by the mnemonic.
287-func NewLabelWithMnemonic(StrVar string) *Label {287+func NewLabelWithMnemonic(StrVar *string) *Label {
288 var cls *Label288 var cls *Label
289 289
290- cret := xNewLabelWithMnemonic(StrVar)290+ cret := xNewLabelWithMnemonic(core.NullableStringToPtr(StrVar))
291 291
292 if cret == 0 {292 if cret == 0 {
293 return nil293 return nil
@@ -998,7 +998,7 @@ func (x *Label) GetPropertyAttributes() uintptr {
998 func (x *Label) SetPropertyLabel(value string) {998 func (x *Label) SetPropertyLabel(value string) {
999 var v gobject.Value999 var v gobject.Value
1000 v.Init(gobject.TypeStringVal)1000 v.Init(gobject.TypeStringVal)
1001- v.SetString(value)1001+ v.SetString(&value)
1002 x.SetProperty("label", &v)1002 x.SetProperty("label", &v)
1003 }1003 }
1004 1004
M v4/gtk/gtklevelbar.go +6 -6
@@ -229,12 +229,12 @@ func (x *LevelBar) GetMode() LevelBarMode {
229 return cret229 return cret
230 }230 }
231 231
232-var xLevelBarGetOffsetValue func(uintptr, string, *float64) bool232+var xLevelBarGetOffsetValue func(uintptr, uintptr, *float64) bool
233 233
234 // Fetches the value specified for the offset marker @name in @self.234 // Fetches the value specified for the offset marker @name in @self.
235-func (x *LevelBar) GetOffsetValue(NameVar string, ValueVar *float64) bool {235+func (x *LevelBar) GetOffsetValue(NameVar *string, ValueVar *float64) bool {
236 236
237- cret := xLevelBarGetOffsetValue(x.GoPointer(), NameVar, ValueVar)237+ cret := xLevelBarGetOffsetValue(x.GoPointer(), core.NullableStringToPtr(NameVar), ValueVar)
238 return cret238 return cret
239 }239 }
240 240
@@ -247,15 +247,15 @@ func (x *LevelBar) GetValue() float64 {
247 return cret247 return cret
248 }248 }
249 249
250-var xLevelBarRemoveOffsetValue func(uintptr, string)250+var xLevelBarRemoveOffsetValue func(uintptr, uintptr)
251 251
252 // Removes an offset marker from a `GtkLevelBar`.252 // Removes an offset marker from a `GtkLevelBar`.
253 //253 //
254 // The marker must have been previously added with254 // The marker must have been previously added with
255 // [method@Gtk.LevelBar.add_offset_value].255 // [method@Gtk.LevelBar.add_offset_value].
256-func (x *LevelBar) RemoveOffsetValue(NameVar string) {256+func (x *LevelBar) RemoveOffsetValue(NameVar *string) {
257 257
258- xLevelBarRemoveOffsetValue(x.GoPointer(), NameVar)258+ xLevelBarRemoveOffsetValue(x.GoPointer(), core.NullableStringToPtr(NameVar))
259 259
260 }260 }
261 261
M v4/gtk/gtklinkbutton.go +6 -6
@@ -88,13 +88,13 @@ func NewLinkButton(UriVar string) *LinkButton {
88 return cls88 return cls
89 }89 }
90 90
91-var xNewLinkButtonWithLabel func(string, string) uintptr91+var xNewLinkButtonWithLabel func(string, uintptr) uintptr
92 92
93 // Creates a new `GtkLinkButton` containing a label.93 // Creates a new `GtkLinkButton` containing a label.
94-func NewLinkButtonWithLabel(UriVar string, LabelVar string) *LinkButton {94+func NewLinkButtonWithLabel(UriVar string, LabelVar *string) *LinkButton {
95 var cls *LinkButton95 var cls *LinkButton
96 96
97- cret := xNewLinkButtonWithLabel(UriVar, LabelVar)97+ cret := xNewLinkButtonWithLabel(UriVar, core.NullableStringToPtr(LabelVar))
98 98
99 if cret == 0 {99 if cret == 0 {
100 return nil100 return nil
@@ -166,7 +166,7 @@ func (c *LinkButton) SetGoPointer(ptr uintptr) {
166 func (x *LinkButton) SetPropertyUri(value string) {166 func (x *LinkButton) SetPropertyUri(value string) {
167 var v gobject.Value167 var v gobject.Value
168 v.Init(gobject.TypeStringVal)168 v.Init(gobject.TypeStringVal)
169- v.SetString(value)169+ v.SetString(&value)
170 x.SetProperty("uri", &v)170 x.SetProperty("uri", &v)
171 }171 }
172 172
@@ -521,9 +521,9 @@ func (x *LinkButton) GetActionTargetValue() *glib.Variant {
521 // containing [class@ApplicationWindow] or its associated [class@Application],521 // containing [class@ApplicationWindow] or its associated [class@Application],
522 // respectively. This is the same form used for actions in the [class@Gio.Menu]522 // respectively. This is the same form used for actions in the [class@Gio.Menu]
523 // associated with the window.523 // associated with the window.
524-func (x *LinkButton) SetActionName(ActionNameVar string) {524+func (x *LinkButton) SetActionName(ActionNameVar *string) {
525 525
526- XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)526+ XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
527 527
528 }528 }
529 529
M v4/gtk/gtklistbox.go +2 -2
@@ -1848,9 +1848,9 @@ func (x *ListBoxRow) GetActionTargetValue() *glib.Variant {
1848 // containing [class@ApplicationWindow] or its associated [class@Application],1848 // containing [class@ApplicationWindow] or its associated [class@Application],
1849 // respectively. This is the same form used for actions in the [class@Gio.Menu]1849 // respectively. This is the same form used for actions in the [class@Gio.Menu]
1850 // associated with the window.1850 // associated with the window.
1851-func (x *ListBoxRow) SetActionName(ActionNameVar string) {1851+func (x *ListBoxRow) SetActionName(ActionNameVar *string) {
1852 1852
1853- XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)1853+ XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
1854 1854
1855 }1855 }
1856 1856
M v4/gtk/gtklistitem.go +2 -2
@@ -264,7 +264,7 @@ func (c *ListItem) SetGoPointer(ptr uintptr) {
264 func (x *ListItem) SetPropertyAccessibleDescription(value string) {264 func (x *ListItem) SetPropertyAccessibleDescription(value string) {
265 var v gobject.Value265 var v gobject.Value
266 v.Init(gobject.TypeStringVal)266 v.Init(gobject.TypeStringVal)
267- v.SetString(value)267+ v.SetString(&value)
268 x.SetProperty("accessible-description", &v)268 x.SetProperty("accessible-description", &v)
269 }269 }
270 270
@@ -281,7 +281,7 @@ func (x *ListItem) GetPropertyAccessibleDescription() string {
281 func (x *ListItem) SetPropertyAccessibleLabel(value string) {281 func (x *ListItem) SetPropertyAccessibleLabel(value string) {
282 var v gobject.Value282 var v gobject.Value
283 v.Init(gobject.TypeStringVal)283 v.Init(gobject.TypeStringVal)
284- v.SetString(value)284+ v.SetString(&value)
285 x.SetProperty("accessible-label", &v)285 x.SetProperty("accessible-label", &v)
286 }286 }
287 287
M v4/gtk/gtklockbutton.go +7 -7
@@ -142,7 +142,7 @@ func (c *LockButton) SetGoPointer(ptr uintptr) {
142 func (x *LockButton) SetPropertyTextLock(value string) {142 func (x *LockButton) SetPropertyTextLock(value string) {
143 var v gobject.Value143 var v gobject.Value
144 v.Init(gobject.TypeStringVal)144 v.Init(gobject.TypeStringVal)
145- v.SetString(value)145+ v.SetString(&value)
146 x.SetProperty("text-lock", &v)146 x.SetProperty("text-lock", &v)
147 }147 }
148 148
@@ -159,7 +159,7 @@ func (x *LockButton) GetPropertyTextLock() string {
159 func (x *LockButton) SetPropertyTextUnlock(value string) {159 func (x *LockButton) SetPropertyTextUnlock(value string) {
160 var v gobject.Value160 var v gobject.Value
161 v.Init(gobject.TypeStringVal)161 v.Init(gobject.TypeStringVal)
162- v.SetString(value)162+ v.SetString(&value)
163 x.SetProperty("text-unlock", &v)163 x.SetProperty("text-unlock", &v)
164 }164 }
165 165
@@ -176,7 +176,7 @@ func (x *LockButton) GetPropertyTextUnlock() string {
176 func (x *LockButton) SetPropertyTooltipLock(value string) {176 func (x *LockButton) SetPropertyTooltipLock(value string) {
177 var v gobject.Value177 var v gobject.Value
178 v.Init(gobject.TypeStringVal)178 v.Init(gobject.TypeStringVal)
179- v.SetString(value)179+ v.SetString(&value)
180 x.SetProperty("tooltip-lock", &v)180 x.SetProperty("tooltip-lock", &v)
181 }181 }
182 182
@@ -193,7 +193,7 @@ func (x *LockButton) GetPropertyTooltipLock() string {
193 func (x *LockButton) SetPropertyTooltipNotAuthorized(value string) {193 func (x *LockButton) SetPropertyTooltipNotAuthorized(value string) {
194 var v gobject.Value194 var v gobject.Value
195 v.Init(gobject.TypeStringVal)195 v.Init(gobject.TypeStringVal)
196- v.SetString(value)196+ v.SetString(&value)
197 x.SetProperty("tooltip-not-authorized", &v)197 x.SetProperty("tooltip-not-authorized", &v)
198 }198 }
199 199
@@ -210,7 +210,7 @@ func (x *LockButton) GetPropertyTooltipNotAuthorized() string {
210 func (x *LockButton) SetPropertyTooltipUnlock(value string) {210 func (x *LockButton) SetPropertyTooltipUnlock(value string) {
211 var v gobject.Value211 var v gobject.Value
212 v.Init(gobject.TypeStringVal)212 v.Init(gobject.TypeStringVal)
213- v.SetString(value)213+ v.SetString(&value)
214 x.SetProperty("tooltip-unlock", &v)214 x.SetProperty("tooltip-unlock", &v)
215 }215 }
216 216
@@ -517,9 +517,9 @@ func (x *LockButton) GetActionTargetValue() *glib.Variant {
517 // containing [class@ApplicationWindow] or its associated [class@Application],517 // containing [class@ApplicationWindow] or its associated [class@Application],
518 // respectively. This is the same form used for actions in the [class@Gio.Menu]518 // respectively. This is the same form used for actions in the [class@Gio.Menu]
519 // associated with the window.519 // associated with the window.
520-func (x *LockButton) SetActionName(ActionNameVar string) {520+func (x *LockButton) SetActionName(ActionNameVar *string) {
521 521
522- XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)522+ XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
523 523
524 }524 }
525 525
M v4/gtk/gtkmediafile.go +6 -6
@@ -351,15 +351,15 @@ func (x *MediaFile) SetFile(FileVar gio.File) {
351 351
352 }352 }
353 353
354-var xMediaFileSetFilename func(uintptr, string)354+var xMediaFileSetFilename func(uintptr, uintptr)
355 355
356 // Sets the `GtkMediaFile` to play the given file.356 // Sets the `GtkMediaFile` to play the given file.
357 //357 //
358 // This is a utility function that converts the given @filename358 // This is a utility function that converts the given @filename
359 // to a `GFile` and calls [method@Gtk.MediaFile.set_file].359 // to a `GFile` and calls [method@Gtk.MediaFile.set_file].
360-func (x *MediaFile) SetFilename(FilenameVar string) {360+func (x *MediaFile) SetFilename(FilenameVar *string) {
361 361
362- xMediaFileSetFilename(x.GoPointer(), FilenameVar)362+ xMediaFileSetFilename(x.GoPointer(), core.NullableStringToPtr(FilenameVar))
363 363
364 }364 }
365 365
@@ -377,15 +377,15 @@ func (x *MediaFile) SetInputStream(StreamVar *gio.InputStream) {
377 377
378 }378 }
379 379
380-var xMediaFileSetResource func(uintptr, string)380+var xMediaFileSetResource func(uintptr, uintptr)
381 381
382 // Sets the `GtkMediaFile` to play the given resource.382 // Sets the `GtkMediaFile` to play the given resource.
383 //383 //
384 // This is a utility function that converts the given @resource_path384 // This is a utility function that converts the given @resource_path
385 // to a `GFile` and calls [method@Gtk.MediaFile.set_file].385 // to a `GFile` and calls [method@Gtk.MediaFile.set_file].
386-func (x *MediaFile) SetResource(ResourcePathVar string) {386+func (x *MediaFile) SetResource(ResourcePathVar *string) {
387 387
388- xMediaFileSetResource(x.GoPointer(), ResourcePathVar)388+ xMediaFileSetResource(x.GoPointer(), core.NullableStringToPtr(ResourcePathVar))
389 389
390 }390 }
391 391
M v4/gtk/gtkmenubutton.go +2 -2
@@ -577,7 +577,7 @@ func (x *MenuButton) GetPropertyHasFrame() bool {
577 func (x *MenuButton) SetPropertyIconName(value string) {577 func (x *MenuButton) SetPropertyIconName(value string) {
578 var v gobject.Value578 var v gobject.Value
579 v.Init(gobject.TypeStringVal)579 v.Init(gobject.TypeStringVal)
580- v.SetString(value)580+ v.SetString(&value)
581 x.SetProperty("icon-name", &v)581 x.SetProperty("icon-name", &v)
582 }582 }
583 583
@@ -594,7 +594,7 @@ func (x *MenuButton) GetPropertyIconName() string {
594 func (x *MenuButton) SetPropertyLabel(value string) {594 func (x *MenuButton) SetPropertyLabel(value string) {
595 var v gobject.Value595 var v gobject.Value
596 v.Init(gobject.TypeStringVal)596 v.Init(gobject.TypeStringVal)
597- v.SetString(value)597+ v.SetString(&value)
598 x.SetProperty("label", &v)598 x.SetProperty("label", &v)
599 }599 }
600 600
M v4/gtk/gtkmessagedialog.go +11 -11
@@ -137,7 +137,7 @@ func MessageDialogNewFromInternalPtr(ptr uintptr) *MessageDialog {
137 return cls137 return cls
138 }138 }
139 139
140-var xNewMessageDialog func(uintptr, DialogFlags, MessageType, ButtonsType, string, ...interface{}) uintptr140+var xNewMessageDialog func(uintptr, DialogFlags, MessageType, ButtonsType, uintptr, ...interface{}) uintptr
141 141
142 // Creates a new message dialog.142 // Creates a new message dialog.
143 //143 //
@@ -145,10 +145,10 @@ var xNewMessageDialog func(uintptr, DialogFlags, MessageType, ButtonsType, strin
145 // When the user clicks a button a “response” signal is emitted with145 // When the user clicks a button a “response” signal is emitted with
146 // response IDs from [enum@Gtk.ResponseType]. See [class@Gtk.Dialog]146 // response IDs from [enum@Gtk.ResponseType]. See [class@Gtk.Dialog]
147 // for more details.147 // for more details.
148-func NewMessageDialog(ParentVar *Window, FlagsVar DialogFlags, TypeVar MessageType, ButtonsVar ButtonsType, MessageFormatVar string, varArgs ...interface{}) *MessageDialog {148+func NewMessageDialog(ParentVar *Window, FlagsVar DialogFlags, TypeVar MessageType, ButtonsVar ButtonsType, MessageFormatVar *string, varArgs ...interface{}) *MessageDialog {
149 var cls *MessageDialog149 var cls *MessageDialog
150 150
151- cret := xNewMessageDialog(ParentVar.GoPointer(), FlagsVar, TypeVar, ButtonsVar, MessageFormatVar, varArgs...)151+ cret := xNewMessageDialog(ParentVar.GoPointer(), FlagsVar, TypeVar, ButtonsVar, core.NullableStringToPtr(MessageFormatVar), varArgs...)
152 152
153 if cret == 0 {153 if cret == 0 {
154 return nil154 return nil
@@ -159,7 +159,7 @@ func NewMessageDialog(ParentVar *Window, FlagsVar DialogFlags, TypeVar MessageTy
159 return cls159 return cls
160 }160 }
161 161
162-var xNewMessageDialogWithMarkup func(uintptr, DialogFlags, MessageType, ButtonsType, string, ...interface{}) uintptr162+var xNewMessageDialogWithMarkup func(uintptr, DialogFlags, MessageType, ButtonsType, uintptr, ...interface{}) uintptr
163 163
164 // Creates a new message dialog.164 // Creates a new message dialog.
165 //165 //
@@ -193,10 +193,10 @@ var xNewMessageDialogWithMarkup func(uintptr, DialogFlags, MessageType, ButtonsT
193 // markup);193 // markup);
194 //194 //
195 // ```195 // ```
196-func NewMessageDialogWithMarkup(ParentVar *Window, FlagsVar DialogFlags, TypeVar MessageType, ButtonsVar ButtonsType, MessageFormatVar string, varArgs ...interface{}) *MessageDialog {196+func NewMessageDialogWithMarkup(ParentVar *Window, FlagsVar DialogFlags, TypeVar MessageType, ButtonsVar ButtonsType, MessageFormatVar *string, varArgs ...interface{}) *MessageDialog {
197 var cls *MessageDialog197 var cls *MessageDialog
198 198
199- cret := xNewMessageDialogWithMarkup(ParentVar.GoPointer(), FlagsVar, TypeVar, ButtonsVar, MessageFormatVar, varArgs...)199+ cret := xNewMessageDialogWithMarkup(ParentVar.GoPointer(), FlagsVar, TypeVar, ButtonsVar, core.NullableStringToPtr(MessageFormatVar), varArgs...)
200 200
201 if cret == 0 {201 if cret == 0 {
202 return nil202 return nil
@@ -234,12 +234,12 @@ func (x *MessageDialog) FormatSecondaryMarkup(MessageFormatVar string, varArgs .
234 234
235 }235 }
236 236
237-var xMessageDialogFormatSecondaryText func(uintptr, string, ...interface{})237+var xMessageDialogFormatSecondaryText func(uintptr, uintptr, ...interface{})
238 238
239 // Sets the secondary text of the message dialog.239 // Sets the secondary text of the message dialog.
240-func (x *MessageDialog) FormatSecondaryText(MessageFormatVar string, varArgs ...interface{}) {240+func (x *MessageDialog) FormatSecondaryText(MessageFormatVar *string, varArgs ...interface{}) {
241 241
242- xMessageDialogFormatSecondaryText(x.GoPointer(), MessageFormatVar, varArgs...)242+ xMessageDialogFormatSecondaryText(x.GoPointer(), core.NullableStringToPtr(MessageFormatVar), varArgs...)
243 243
244 }244 }
245 245
@@ -290,7 +290,7 @@ func (c *MessageDialog) SetGoPointer(ptr uintptr) {
290 func (x *MessageDialog) SetPropertySecondaryText(value string) {290 func (x *MessageDialog) SetPropertySecondaryText(value string) {
291 var v gobject.Value291 var v gobject.Value
292 v.Init(gobject.TypeStringVal)292 v.Init(gobject.TypeStringVal)
293- v.SetString(value)293+ v.SetString(&value)
294 x.SetProperty("secondary-text", &v)294 x.SetProperty("secondary-text", &v)
295 }295 }
296 296
@@ -330,7 +330,7 @@ func (x *MessageDialog) GetPropertySecondaryUseMarkup() bool {
330 func (x *MessageDialog) SetPropertyText(value string) {330 func (x *MessageDialog) SetPropertyText(value string) {
331 var v gobject.Value331 var v gobject.Value
332 v.Init(gobject.TypeStringVal)332 v.Init(gobject.TypeStringVal)
333- v.SetString(value)333+ v.SetString(&value)
334 x.SetProperty("text", &v)334 x.SetProperty("text", &v)
335 }335 }
336 336
M v4/gtk/gtknativedialog.go +1 -1
@@ -398,7 +398,7 @@ func (x *NativeDialog) GetPropertyModal() bool {
398 func (x *NativeDialog) SetPropertyTitle(value string) {398 func (x *NativeDialog) SetPropertyTitle(value string) {
399 var v gobject.Value399 var v gobject.Value
400 v.Init(gobject.TypeStringVal)400 v.Init(gobject.TypeStringVal)
401- v.SetString(value)401+ v.SetString(&value)
402 x.SetProperty("title", &v)402 x.SetProperty("title", &v)
403 }403 }
404 404
M v4/gtk/gtknotebook.go +6 -6
@@ -572,16 +572,16 @@ func (x *Notebook) SetCurrentPage(PageNumVar int) {
572 572
573 }573 }
574 574
575-var xNotebookSetGroupName func(uintptr, string)575+var xNotebookSetGroupName func(uintptr, uintptr)
576 576
577 // Sets a group name for @notebook.577 // Sets a group name for @notebook.
578 //578 //
579 // Notebooks with the same name will be able to exchange tabs579 // Notebooks with the same name will be able to exchange tabs
580 // via drag and drop. A notebook with a %NULL group name will580 // via drag and drop. A notebook with a %NULL group name will
581 // not be able to exchange tabs with any other notebook.581 // not be able to exchange tabs with any other notebook.
582-func (x *Notebook) SetGroupName(GroupNameVar string) {582+func (x *Notebook) SetGroupName(GroupNameVar *string) {
583 583
584- xNotebookSetGroupName(x.GoPointer(), GroupNameVar)584+ xNotebookSetGroupName(x.GoPointer(), core.NullableStringToPtr(GroupNameVar))
585 585
586 }586 }
587 587
@@ -763,7 +763,7 @@ func (x *Notebook) GetPropertyEnablePopup() bool {
763 func (x *Notebook) SetPropertyGroupName(value string) {763 func (x *Notebook) SetPropertyGroupName(value string) {
764 var v gobject.Value764 var v gobject.Value
765 v.Init(gobject.TypeStringVal)765 v.Init(gobject.TypeStringVal)
766- v.SetString(value)766+ v.SetString(&value)
767 x.SetProperty("group-name", &v)767 x.SetProperty("group-name", &v)
768 }768 }
769 769
@@ -1418,7 +1418,7 @@ func (x *NotebookPage) GetPropertyDetachable() bool {
1418 func (x *NotebookPage) SetPropertyMenuLabel(value string) {1418 func (x *NotebookPage) SetPropertyMenuLabel(value string) {
1419 var v gobject.Value1419 var v gobject.Value
1420 v.Init(gobject.TypeStringVal)1420 v.Init(gobject.TypeStringVal)
1421- v.SetString(value)1421+ v.SetString(&value)
1422 x.SetProperty("menu-label", &v)1422 x.SetProperty("menu-label", &v)
1423 }1423 }
1424 1424
@@ -1503,7 +1503,7 @@ func (x *NotebookPage) GetPropertyTabFill() bool {
1503 func (x *NotebookPage) SetPropertyTabLabel(value string) {1503 func (x *NotebookPage) SetPropertyTabLabel(value string) {
1504 var v gobject.Value1504 var v gobject.Value
1505 v.Init(gobject.TypeStringVal)1505 v.Init(gobject.TypeStringVal)
1506- v.SetString(value)1506+ v.SetString(&value)
1507 x.SetProperty("tab-label", &v)1507 x.SetProperty("tab-label", &v)
1508 }1508 }
1509 1509
M v4/gtk/gtkpagesetup.go +9 -9
@@ -129,18 +129,18 @@ func NewPageSetupFromGvariant(VariantVar *glib.Variant) *PageSetup {
129 return cls129 return cls
130 }130 }
131 131
132-var xNewPageSetupFromKeyFile func(*glib.KeyFile, string, **glib.Error) uintptr132+var xNewPageSetupFromKeyFile func(*glib.KeyFile, uintptr, **glib.Error) uintptr
133 133
134 // Reads the page setup from the group @group_name in the key file134 // Reads the page setup from the group @group_name in the key file
135 // @key_file.135 // @key_file.
136 //136 //
137 // Returns a new `GtkPageSetup` object with the restored137 // Returns a new `GtkPageSetup` object with the restored
138 // page setup, or %NULL if an error occurred.138 // page setup, or %NULL if an error occurred.
139-func NewPageSetupFromKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) (*PageSetup, error) {139+func NewPageSetupFromKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar *string) (*PageSetup, error) {
140 var cls *PageSetup140 var cls *PageSetup
141 var cerr *glib.Error141 var cerr *glib.Error
142 142
143- cret := xNewPageSetupFromKeyFile(KeyFileVar, GroupNameVar, &cerr)143+ cret := xNewPageSetupFromKeyFile(KeyFileVar, core.NullableStringToPtr(GroupNameVar), &cerr)
144 144
145 if cret == 0 {145 if cret == 0 {
146 return nil, cerr146 return nil, cerr
@@ -292,14 +292,14 @@ func (x *PageSetup) LoadFile(FileNameVar string) (bool, error) {
292 292
293 }293 }
294 294
295-var xPageSetupLoadKeyFile func(uintptr, *glib.KeyFile, string, **glib.Error) bool295+var xPageSetupLoadKeyFile func(uintptr, *glib.KeyFile, uintptr, **glib.Error) bool
296 296
297 // Reads the page setup from the group @group_name in the key file297 // Reads the page setup from the group @group_name in the key file
298 // @key_file.298 // @key_file.
299-func (x *PageSetup) LoadKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) (bool, error) {299+func (x *PageSetup) LoadKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar *string) (bool, error) {
300 var cerr *glib.Error300 var cerr *glib.Error
301 301
302- cret := xPageSetupLoadKeyFile(x.GoPointer(), KeyFileVar, GroupNameVar, &cerr)302+ cret := xPageSetupLoadKeyFile(x.GoPointer(), KeyFileVar, core.NullableStringToPtr(GroupNameVar), &cerr)
303 if cerr == nil {303 if cerr == nil {
304 return cret, nil304 return cret, nil
305 }305 }
@@ -397,12 +397,12 @@ func (x *PageSetup) ToGvariant() *glib.Variant {
397 return cret397 return cret
398 }398 }
399 399
400-var xPageSetupToKeyFile func(uintptr, *glib.KeyFile, string)400+var xPageSetupToKeyFile func(uintptr, *glib.KeyFile, uintptr)
401 401
402 // This function adds the page setup from @setup to @key_file.402 // This function adds the page setup from @setup to @key_file.
403-func (x *PageSetup) ToKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) {403+func (x *PageSetup) ToKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar *string) {
404 404
405- xPageSetupToKeyFile(x.GoPointer(), KeyFileVar, GroupNameVar)405+ xPageSetupToKeyFile(x.GoPointer(), KeyFileVar, core.NullableStringToPtr(GroupNameVar))
406 406
407 }407 }
408 408
M v4/gtk/gtkpagesetupunixdialog.go +3 -3
@@ -44,13 +44,13 @@ func PageSetupUnixDialogNewFromInternalPtr(ptr uintptr) *PageSetupUnixDialog {
44 return cls44 return cls
45 }45 }
46 46
47-var xNewPageSetupUnixDialog func(string, uintptr) uintptr47+var xNewPageSetupUnixDialog func(uintptr, uintptr) uintptr
48 48
49 // Creates a new page setup dialog.49 // Creates a new page setup dialog.
50-func NewPageSetupUnixDialog(TitleVar string, ParentVar *Window) *PageSetupUnixDialog {50+func NewPageSetupUnixDialog(TitleVar *string, ParentVar *Window) *PageSetupUnixDialog {
51 var cls *PageSetupUnixDialog51 var cls *PageSetupUnixDialog
52 52
53- cret := xNewPageSetupUnixDialog(TitleVar, ParentVar.GoPointer())53+ cret := xNewPageSetupUnixDialog(core.NullableStringToPtr(TitleVar), ParentVar.GoPointer())
54 54
55 if cret == 0 {55 if cret == 0 {
56 return nil56 return nil
M v4/gtk/gtkpapersize.go +6 -6
@@ -36,7 +36,7 @@ func (x *PaperSize) GoPointer() uintptr {
36 return uintptr(unsafe.Pointer(x))36 return uintptr(unsafe.Pointer(x))
37 }37 }
38 38
39-var xNewPaperSize func(string) *PaperSize39+var xNewPaperSize func(uintptr) *PaperSize
40 40
41 // Creates a new `GtkPaperSize` object by parsing a41 // Creates a new `GtkPaperSize` object by parsing a
42 // [PWG 5101.1-2002](ftp://ftp.pwg.org/pub/pwg/candidates/cs-pwgmsn10-20020226-5101.1.pdf)42 // [PWG 5101.1-2002](ftp://ftp.pwg.org/pub/pwg/candidates/cs-pwgmsn10-20020226-5101.1.pdf)
@@ -44,9 +44,9 @@ var xNewPaperSize func(string) *PaperSize
44 //44 //
45 // If @name is %NULL, the default paper size is returned,45 // If @name is %NULL, the default paper size is returned,
46 // see [func@Gtk.PaperSize.get_default].46 // see [func@Gtk.PaperSize.get_default].
47-func NewPaperSize(NameVar string) *PaperSize {47+func NewPaperSize(NameVar *string) *PaperSize {
48 48
49- cret := xNewPaperSize(NameVar)49+ cret := xNewPaperSize(core.NullableStringToPtr(NameVar))
50 return cret50 return cret
51 }51 }
52 52
@@ -86,14 +86,14 @@ func NewPaperSizeFromIpp(IppNameVar string, WidthVar float64, HeightVar float64)
86 return cret86 return cret
87 }87 }
88 88
89-var xNewPaperSizeFromKeyFile func(*glib.KeyFile, string, **glib.Error) *PaperSize89+var xNewPaperSizeFromKeyFile func(*glib.KeyFile, uintptr, **glib.Error) *PaperSize
90 90
91 // Reads a paper size from the group @group_name in the key file91 // Reads a paper size from the group @group_name in the key file
92 // @key_file.92 // @key_file.
93-func NewPaperSizeFromKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) (*PaperSize, error) {93+func NewPaperSizeFromKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar *string) (*PaperSize, error) {
94 var cerr *glib.Error94 var cerr *glib.Error
95 95
96- cret := xNewPaperSizeFromKeyFile(KeyFileVar, GroupNameVar, &cerr)96+ cret := xNewPaperSizeFromKeyFile(KeyFileVar, core.NullableStringToPtr(GroupNameVar), &cerr)
97 if cerr == nil {97 if cerr == nil {
98 return cret, nil98 return cret, nil
99 }99 }
M v4/gtk/gtkpasswordentry.go +1 -1
@@ -176,7 +176,7 @@ func (x *PasswordEntry) GetPropertyActivatesDefault() bool {
176 func (x *PasswordEntry) SetPropertyPlaceholderText(value string) {176 func (x *PasswordEntry) SetPropertyPlaceholderText(value string) {
177 var v gobject.Value177 var v gobject.Value
178 v.Init(gobject.TypeStringVal)178 v.Init(gobject.TypeStringVal)
179- v.SetString(value)179+ v.SetString(&value)
180 x.SetProperty("placeholder-text", &v)180 x.SetProperty("placeholder-text", &v)
181 }181 }
182 182
M v4/gtk/gtkpicture.go +16 -16
@@ -132,16 +132,16 @@ func NewPictureForFile(FileVar gio.File) *Picture {
132 return cls132 return cls
133 }133 }
134 134
135-var xNewPictureForFilename func(string) uintptr135+var xNewPictureForFilename func(uintptr) uintptr
136 136
137 // Creates a new `GtkPicture` displaying the file @filename.137 // Creates a new `GtkPicture` displaying the file @filename.
138 //138 //
139 // This is a utility function that calls [ctor@Gtk.Picture.new_for_file].139 // This is a utility function that calls [ctor@Gtk.Picture.new_for_file].
140 // See that function for details.140 // See that function for details.
141-func NewPictureForFilename(FilenameVar string) *Picture {141+func NewPictureForFilename(FilenameVar *string) *Picture {
142 var cls *Picture142 var cls *Picture
143 143
144- cret := xNewPictureForFilename(FilenameVar)144+ cret := xNewPictureForFilename(core.NullableStringToPtr(FilenameVar))
145 145
146 if cret == 0 {146 if cret == 0 {
147 return nil147 return nil
@@ -194,16 +194,16 @@ func NewPictureForPixbuf(PixbufVar *gdkpixbuf.Pixbuf) *Picture {
194 return cls194 return cls
195 }195 }
196 196
197-var xNewPictureForResource func(string) uintptr197+var xNewPictureForResource func(uintptr) uintptr
198 198
199 // Creates a new `GtkPicture` displaying the resource at @resource_path.199 // Creates a new `GtkPicture` displaying the resource at @resource_path.
200 //200 //
201 // This is a utility function that calls [ctor@Gtk.Picture.new_for_file].201 // This is a utility function that calls [ctor@Gtk.Picture.new_for_file].
202 // See that function for details.202 // See that function for details.
203-func NewPictureForResource(ResourcePathVar string) *Picture {203+func NewPictureForResource(ResourcePathVar *string) *Picture {
204 var cls *Picture204 var cls *Picture
205 205
206- cret := xNewPictureForResource(ResourcePathVar)206+ cret := xNewPictureForResource(core.NullableStringToPtr(ResourcePathVar))
207 207
208 if cret == 0 {208 if cret == 0 {
209 return nil209 return nil
@@ -291,7 +291,7 @@ func (x *Picture) GetPaintable() *gdk.PaintableBase {
291 return cls291 return cls
292 }292 }
293 293
294-var xPictureSetAlternativeText func(uintptr, string)294+var xPictureSetAlternativeText func(uintptr, uintptr)
295 295
296 // Sets an alternative textual description for the picture contents.296 // Sets an alternative textual description for the picture contents.
297 //297 //
@@ -300,9 +300,9 @@ var xPictureSetAlternativeText func(uintptr, string)
300 // This text will be made available to accessibility tools.300 // This text will be made available to accessibility tools.
301 //301 //
302 // If the picture cannot be described textually, set this property to %NULL.302 // If the picture cannot be described textually, set this property to %NULL.
303-func (x *Picture) SetAlternativeText(AlternativeTextVar string) {303+func (x *Picture) SetAlternativeText(AlternativeTextVar *string) {
304 304
305- xPictureSetAlternativeText(x.GoPointer(), AlternativeTextVar)305+ xPictureSetAlternativeText(x.GoPointer(), core.NullableStringToPtr(AlternativeTextVar))
306 306
307 }307 }
308 308
@@ -353,7 +353,7 @@ func (x *Picture) SetFile(FileVar gio.File) {
353 353
354 }354 }
355 355
356-var xPictureSetFilename func(uintptr, string)356+var xPictureSetFilename func(uintptr, uintptr)
357 357
358 // Makes @self load and display the given @filename.358 // Makes @self load and display the given @filename.
359 //359 //
@@ -365,9 +365,9 @@ var xPictureSetFilename func(uintptr, string)
365 // Use a proper image loading framework such as libglycin, which can365 // Use a proper image loading framework such as libglycin, which can
366 // load many image formats into a `GdkTexture`, and then use366 // load many image formats into a `GdkTexture`, and then use
367 // [method@Gtk.Image.set_from_paintable].367 // [method@Gtk.Image.set_from_paintable].
368-func (x *Picture) SetFilename(FilenameVar string) {368+func (x *Picture) SetFilename(FilenameVar *string) {
369 369
370- xPictureSetFilename(x.GoPointer(), FilenameVar)370+ xPictureSetFilename(x.GoPointer(), core.NullableStringToPtr(FilenameVar))
371 371
372 }372 }
373 373
@@ -413,15 +413,15 @@ func (x *Picture) SetPixbuf(PixbufVar *gdkpixbuf.Pixbuf) {
413 413
414 }414 }
415 415
416-var xPictureSetResource func(uintptr, string)416+var xPictureSetResource func(uintptr, uintptr)
417 417
418 // Makes @self load and display the resource at the given418 // Makes @self load and display the resource at the given
419 // @resource_path.419 // @resource_path.
420 //420 //
421 // This is a utility function that calls [method@Gtk.Picture.set_file].421 // This is a utility function that calls [method@Gtk.Picture.set_file].
422-func (x *Picture) SetResource(ResourcePathVar string) {422+func (x *Picture) SetResource(ResourcePathVar *string) {
423 423
424- xPictureSetResource(x.GoPointer(), ResourcePathVar)424+ xPictureSetResource(x.GoPointer(), core.NullableStringToPtr(ResourcePathVar))
425 425
426 }426 }
427 427
@@ -441,7 +441,7 @@ func (c *Picture) SetGoPointer(ptr uintptr) {
441 func (x *Picture) SetPropertyAlternativeText(value string) {441 func (x *Picture) SetPropertyAlternativeText(value string) {
442 var v gobject.Value442 var v gobject.Value
443 v.Init(gobject.TypeStringVal)443 v.Init(gobject.TypeStringVal)
444- v.SetString(value)444+ v.SetString(&value)
445 x.SetProperty("alternative-text", &v)445 x.SetProperty("alternative-text", &v)
446 }446 }
447 447
M v4/gtk/gtkpopovermenu.go +1 -1
@@ -291,7 +291,7 @@ func (c *PopoverMenu) SetGoPointer(ptr uintptr) {
291 func (x *PopoverMenu) SetPropertyVisibleSubmenu(value string) {291 func (x *PopoverMenu) SetPropertyVisibleSubmenu(value string) {
292 var v gobject.Value292 var v gobject.Value
293 v.Init(gobject.TypeStringVal)293 v.Init(gobject.TypeStringVal)
294- v.SetString(value)294+ v.SetString(&value)
295 x.SetProperty("visible-submenu", &v)295 x.SetProperty("visible-submenu", &v)
296 }296 }
297 297
M v4/gtk/gtkprintdialog.go +2 -2
@@ -446,7 +446,7 @@ func (c *PrintDialog) SetGoPointer(ptr uintptr) {
446 func (x *PrintDialog) SetPropertyAcceptLabel(value string) {446 func (x *PrintDialog) SetPropertyAcceptLabel(value string) {
447 var v gobject.Value447 var v gobject.Value
448 v.Init(gobject.TypeStringVal)448 v.Init(gobject.TypeStringVal)
449- v.SetString(value)449+ v.SetString(&value)
450 x.SetProperty("accept-label", &v)450 x.SetProperty("accept-label", &v)
451 }451 }
452 452
@@ -482,7 +482,7 @@ func (x *PrintDialog) GetPropertyModal() bool {
482 func (x *PrintDialog) SetPropertyTitle(value string) {482 func (x *PrintDialog) SetPropertyTitle(value string) {
483 var v gobject.Value483 var v gobject.Value
484 v.Init(gobject.TypeStringVal)484 v.Init(gobject.TypeStringVal)
485- v.SetString(value)485+ v.SetString(&value)
486 x.SetProperty("title", &v)486 x.SetProperty("title", &v)
487 }487 }
488 488
M v4/gtk/gtkprinter.go +1 -1
@@ -493,7 +493,7 @@ func (x *Printer) GetPropertyLocation() string {
493 func (x *Printer) SetPropertyName(value string) {493 func (x *Printer) SetPropertyName(value string) {
494 var v gobject.Value494 var v gobject.Value
495 v.Init(gobject.TypeStringVal)495 v.Init(gobject.TypeStringVal)
496- v.SetString(value)496+ v.SetString(&value)
497 x.SetProperty("name", &v)497 x.SetProperty("name", &v)
498 }498 }
499 499
M v4/gtk/gtkprintjob.go +1 -1
@@ -434,7 +434,7 @@ func (c *PrintJob) SetGoPointer(ptr uintptr) {
434 func (x *PrintJob) SetPropertyTitle(value string) {434 func (x *PrintJob) SetPropertyTitle(value string) {
435 var v gobject.Value435 var v gobject.Value
436 v.Init(gobject.TypeStringVal)436 v.Init(gobject.TypeStringVal)
437- v.SetString(value)437+ v.SetString(&value)
438 x.SetProperty("title", &v)438 x.SetProperty("title", &v)
439 }439 }
440 440
M v4/gtk/gtkprintoperation.go +6 -6
@@ -925,12 +925,12 @@ func (x *PrintOperation) SetCurrentPage(CurrentPageVar int) {
925 925
926 }926 }
927 927
928-var xPrintOperationSetCustomTabLabel func(uintptr, string)928+var xPrintOperationSetCustomTabLabel func(uintptr, uintptr)
929 929
930 // Sets the label for the tab holding custom widgets.930 // Sets the label for the tab holding custom widgets.
931-func (x *PrintOperation) SetCustomTabLabel(LabelVar string) {931+func (x *PrintOperation) SetCustomTabLabel(LabelVar *string) {
932 932
933- xPrintOperationSetCustomTabLabel(x.GoPointer(), LabelVar)933+ xPrintOperationSetCustomTabLabel(x.GoPointer(), core.NullableStringToPtr(LabelVar))
934 934
935 }935 }
936 936
@@ -1193,7 +1193,7 @@ func (x *PrintOperation) GetPropertyCurrentPage() int {
1193 func (x *PrintOperation) SetPropertyCustomTabLabel(value string) {1193 func (x *PrintOperation) SetPropertyCustomTabLabel(value string) {
1194 var v gobject.Value1194 var v gobject.Value
1195 v.Init(gobject.TypeStringVal)1195 v.Init(gobject.TypeStringVal)
1196- v.SetString(value)1196+ v.SetString(&value)
1197 x.SetProperty("custom-tab-label", &v)1197 x.SetProperty("custom-tab-label", &v)
1198 }1198 }
1199 1199
@@ -1242,7 +1242,7 @@ func (x *PrintOperation) GetPropertyEmbedPageSetup() bool {
1242 func (x *PrintOperation) SetPropertyExportFilename(value string) {1242 func (x *PrintOperation) SetPropertyExportFilename(value string) {
1243 var v gobject.Value1243 var v gobject.Value
1244 v.Init(gobject.TypeStringVal)1244 v.Init(gobject.TypeStringVal)
1245- v.SetString(value)1245+ v.SetString(&value)
1246 x.SetProperty("export-filename", &v)1246 x.SetProperty("export-filename", &v)
1247 }1247 }
1248 1248
@@ -1295,7 +1295,7 @@ func (x *PrintOperation) GetPropertyHasSelection() bool {
1295 func (x *PrintOperation) SetPropertyJobName(value string) {1295 func (x *PrintOperation) SetPropertyJobName(value string) {
1296 var v gobject.Value1296 var v gobject.Value
1297 v.Init(gobject.TypeStringVal)1297 v.Init(gobject.TypeStringVal)
1298- v.SetString(value)1298+ v.SetString(&value)
1299 x.SetProperty("job-name", &v)1299 x.SetProperty("job-name", &v)
1300 }1300 }
1301 1301
M v4/gtk/gtkprintsettings.go +12 -12
@@ -207,18 +207,18 @@ func NewPrintSettingsFromGvariant(VariantVar *glib.Variant) *PrintSettings {
207 return cls207 return cls
208 }208 }
209 209
210-var xNewPrintSettingsFromKeyFile func(*glib.KeyFile, string, **glib.Error) uintptr210+var xNewPrintSettingsFromKeyFile func(*glib.KeyFile, uintptr, **glib.Error) uintptr
211 211
212 // Reads the print settings from the group @group_name in @key_file.212 // Reads the print settings from the group @group_name in @key_file.
213 //213 //
214 // Returns a new `GtkPrintSettings` object with the restored settings,214 // Returns a new `GtkPrintSettings` object with the restored settings,
215 // or %NULL if an error occurred. If the file could not be loaded then215 // or %NULL if an error occurred. If the file could not be loaded then
216 // error is set to either `GFileError` or `GKeyFileError`.216 // error is set to either `GFileError` or `GKeyFileError`.
217-func NewPrintSettingsFromKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) (*PrintSettings, error) {217+func NewPrintSettingsFromKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar *string) (*PrintSettings, error) {
218 var cls *PrintSettings218 var cls *PrintSettings
219 var cerr *glib.Error219 var cerr *glib.Error
220 220
221- cret := xNewPrintSettingsFromKeyFile(KeyFileVar, GroupNameVar, &cerr)221+ cret := xNewPrintSettingsFromKeyFile(KeyFileVar, core.NullableStringToPtr(GroupNameVar), &cerr)
222 222
223 if cret == 0 {223 if cret == 0 {
224 return nil, cerr224 return nil, cerr
@@ -616,16 +616,16 @@ func (x *PrintSettings) LoadFile(FileNameVar string) (bool, error) {
616 616
617 }617 }
618 618
619-var xPrintSettingsLoadKeyFile func(uintptr, *glib.KeyFile, string, **glib.Error) bool619+var xPrintSettingsLoadKeyFile func(uintptr, *glib.KeyFile, uintptr, **glib.Error) bool
620 620
621 // Reads the print settings from the group @group_name in @key_file.621 // Reads the print settings from the group @group_name in @key_file.
622 //622 //
623 // If the file could not be loaded then error is set to either a623 // If the file could not be loaded then error is set to either a
624 // `GFileError` or `GKeyFileError`.624 // `GFileError` or `GKeyFileError`.
625-func (x *PrintSettings) LoadKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) (bool, error) {625+func (x *PrintSettings) LoadKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar *string) (bool, error) {
626 var cerr *glib.Error626 var cerr *glib.Error
627 627
628- cret := xPrintSettingsLoadKeyFile(x.GoPointer(), KeyFileVar, GroupNameVar, &cerr)628+ cret := xPrintSettingsLoadKeyFile(x.GoPointer(), KeyFileVar, core.NullableStringToPtr(GroupNameVar), &cerr)
629 if cerr == nil {629 if cerr == nil {
630 return cret, nil630 return cret, nil
631 }631 }
@@ -633,12 +633,12 @@ func (x *PrintSettings) LoadKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar strin
633 633
634 }634 }
635 635
636-var xPrintSettingsSet func(uintptr, string, string)636+var xPrintSettingsSet func(uintptr, string, uintptr)
637 637
638 // Associates @value with @key.638 // Associates @value with @key.
639-func (x *PrintSettings) Set(KeyVar string, ValueVar string) {639+func (x *PrintSettings) Set(KeyVar string, ValueVar *string) {
640 640
641- xPrintSettingsSet(x.GoPointer(), KeyVar, ValueVar)641+ xPrintSettingsSet(x.GoPointer(), KeyVar, core.NullableStringToPtr(ValueVar))
642 642
643 }643 }
644 644
@@ -938,12 +938,12 @@ func (x *PrintSettings) ToGvariant() *glib.Variant {
938 return cret938 return cret
939 }939 }
940 940
941-var xPrintSettingsToKeyFile func(uintptr, *glib.KeyFile, string)941+var xPrintSettingsToKeyFile func(uintptr, *glib.KeyFile, uintptr)
942 942
943 // This function adds the print settings from @settings to @key_file.943 // This function adds the print settings from @settings to @key_file.
944-func (x *PrintSettings) ToKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) {944+func (x *PrintSettings) ToKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar *string) {
945 945
946- xPrintSettingsToKeyFile(x.GoPointer(), KeyFileVar, GroupNameVar)946+ xPrintSettingsToKeyFile(x.GoPointer(), KeyFileVar, core.NullableStringToPtr(GroupNameVar))
947 947
948 }948 }
949 949
M v4/gtk/gtkprintunixdialog.go +3 -3
@@ -89,13 +89,13 @@ func PrintUnixDialogNewFromInternalPtr(ptr uintptr) *PrintUnixDialog {
89 return cls89 return cls
90 }90 }
91 91
92-var xNewPrintUnixDialog func(string, uintptr) uintptr92+var xNewPrintUnixDialog func(uintptr, uintptr) uintptr
93 93
94 // Creates a new `GtkPrintUnixDialog`.94 // Creates a new `GtkPrintUnixDialog`.
95-func NewPrintUnixDialog(TitleVar string, ParentVar *Window) *PrintUnixDialog {95+func NewPrintUnixDialog(TitleVar *string, ParentVar *Window) *PrintUnixDialog {
96 var cls *PrintUnixDialog96 var cls *PrintUnixDialog
97 97
98- cret := xNewPrintUnixDialog(TitleVar, ParentVar.GoPointer())98+ cret := xNewPrintUnixDialog(core.NullableStringToPtr(TitleVar), ParentVar.GoPointer())
99 99
100 if cret == 0 {100 if cret == 0 {
101 return nil101 return nil
M v4/gtk/gtkprogressbar.go +4 -4
@@ -239,7 +239,7 @@ func (x *ProgressBar) SetShowText(ShowTextVar bool) {
239 239
240 }240 }
241 241
242-var xProgressBarSetText func(uintptr, string)242+var xProgressBarSetText func(uintptr, uintptr)
243 243
244 // Causes the given @text to appear next to the progress bar.244 // Causes the given @text to appear next to the progress bar.
245 //245 //
@@ -252,9 +252,9 @@ var xProgressBarSetText func(uintptr, string)
252 // percentage. If @text is the empty string, the progress bar will still252 // percentage. If @text is the empty string, the progress bar will still
253 // be styled and sized suitably for containing text, as long as253 // be styled and sized suitably for containing text, as long as
254 // [property@Gtk.ProgressBar:show-text] is %TRUE.254 // [property@Gtk.ProgressBar:show-text] is %TRUE.
255-func (x *ProgressBar) SetText(TextVar string) {255+func (x *ProgressBar) SetText(TextVar *string) {
256 256
257- xProgressBarSetText(x.GoPointer(), TextVar)257+ xProgressBarSetText(x.GoPointer(), core.NullableStringToPtr(TextVar))
258 258
259 }259 }
260 260
@@ -360,7 +360,7 @@ func (x *ProgressBar) GetPropertyShowText() bool {
360 func (x *ProgressBar) SetPropertyText(value string) {360 func (x *ProgressBar) SetPropertyText(value string) {
361 var v gobject.Value361 var v gobject.Value
362 v.Init(gobject.TypeStringVal)362 v.Init(gobject.TypeStringVal)
363- v.SetString(value)363+ v.SetString(&value)
364 x.SetProperty("text", &v)364 x.SetProperty("text", &v)
365 }365 }
366 366
M v4/gtk/gtkrecentmanager.go +7 -7
@@ -53,17 +53,17 @@ func (x *RecentInfo) GoPointer() uintptr {
53 return uintptr(unsafe.Pointer(x))53 return uintptr(unsafe.Pointer(x))
54 }54 }
55 55
56-var xRecentInfoCreateAppInfo func(uintptr, string, **glib.Error) uintptr56+var xRecentInfoCreateAppInfo func(uintptr, uintptr, **glib.Error) uintptr
57 57
58 // Creates a `GAppInfo` for the specified `GtkRecentInfo`58 // Creates a `GAppInfo` for the specified `GtkRecentInfo`
59 //59 //
60 // In case of error, @error will be set either with a60 // In case of error, @error will be set either with a
61 // %GTK_RECENT_MANAGER_ERROR or a %G_IO_ERROR61 // %GTK_RECENT_MANAGER_ERROR or a %G_IO_ERROR
62-func (x *RecentInfo) CreateAppInfo(AppNameVar string) (*gio.AppInfoBase, error) {62+func (x *RecentInfo) CreateAppInfo(AppNameVar *string) (*gio.AppInfoBase, error) {
63 var cls *gio.AppInfoBase63 var cls *gio.AppInfoBase
64 var cerr *glib.Error64 var cerr *glib.Error
65 65
66- cret := xRecentInfoCreateAppInfo(x.GoPointer(), AppNameVar, &cerr)66+ cret := xRecentInfoCreateAppInfo(x.GoPointer(), core.NullableStringToPtr(AppNameVar), &cerr)
67 67
68 if cret == 0 {68 if cret == 0 {
69 return nil, cerr69 return nil, cerr
@@ -690,16 +690,16 @@ func (x *RecentManager) LookupItem(UriVar string) (*RecentInfo, error) {
690 690
691 }691 }
692 692
693-var xRecentManagerMoveItem func(uintptr, string, string, **glib.Error) bool693+var xRecentManagerMoveItem func(uintptr, string, uintptr, **glib.Error) bool
694 694
695 // Changes the location of a recently used resource from @uri to @new_uri.695 // Changes the location of a recently used resource from @uri to @new_uri.
696 //696 //
697 // Please note that this function will not affect the resource pointed697 // Please note that this function will not affect the resource pointed
698 // by the URIs, but only the URI used in the recently used resources list.698 // by the URIs, but only the URI used in the recently used resources list.
699-func (x *RecentManager) MoveItem(UriVar string, NewUriVar string) (bool, error) {699+func (x *RecentManager) MoveItem(UriVar string, NewUriVar *string) (bool, error) {
700 var cerr *glib.Error700 var cerr *glib.Error
701 701
702- cret := xRecentManagerMoveItem(x.GoPointer(), UriVar, NewUriVar, &cerr)702+ cret := xRecentManagerMoveItem(x.GoPointer(), UriVar, core.NullableStringToPtr(NewUriVar), &cerr)
703 if cerr == nil {703 if cerr == nil {
704 return cret, nil704 return cret, nil
705 }705 }
@@ -753,7 +753,7 @@ func (c *RecentManager) SetGoPointer(ptr uintptr) {
753 func (x *RecentManager) SetPropertyFilename(value string) {753 func (x *RecentManager) SetPropertyFilename(value string) {
754 var v gobject.Value754 var v gobject.Value
755 v.Init(gobject.TypeStringVal)755 v.Init(gobject.TypeStringVal)
756- v.SetString(value)756+ v.SetString(&value)
757 x.SetProperty("filename", &v)757 x.SetProperty("filename", &v)
758 }758 }
759 759
M v4/gtk/gtkscale.go +3 -3
@@ -211,7 +211,7 @@ func NewScaleWithRange(OrientationVar Orientation, MinVar float64, MaxVar float6
211 return cls211 return cls
212 }212 }
213 213
214-var xScaleAddMark func(uintptr, float64, PositionType, string)214+var xScaleAddMark func(uintptr, float64, PositionType, uintptr)
215 215
216 // Adds a mark at @value.216 // Adds a mark at @value.
217 //217 //
@@ -222,9 +222,9 @@ var xScaleAddMark func(uintptr, float64, PositionType, string)
222 // If @markup is not %NULL, text is shown next to the tick mark.222 // If @markup is not %NULL, text is shown next to the tick mark.
223 //223 //
224 // To remove marks from a scale, use [method@Gtk.Scale.clear_marks].224 // To remove marks from a scale, use [method@Gtk.Scale.clear_marks].
225-func (x *Scale) AddMark(ValueVar float64, PositionVar PositionType, MarkupVar string) {225+func (x *Scale) AddMark(ValueVar float64, PositionVar PositionType, MarkupVar *string) {
226 226
227- xScaleAddMark(x.GoPointer(), ValueVar, PositionVar, MarkupVar)227+ xScaleAddMark(x.GoPointer(), ValueVar, PositionVar, core.NullableStringToPtr(MarkupVar))
228 228
229 }229 }
230 230
M v4/gtk/gtksearchentry.go +4 -4
@@ -198,12 +198,12 @@ func (x *SearchEntry) SetKeyCaptureWidget(WidgetVar *Widget) {
198 198
199 }199 }
200 200
201-var xSearchEntrySetPlaceholderText func(uintptr, string)201+var xSearchEntrySetPlaceholderText func(uintptr, uintptr)
202 202
203 // Sets the placeholder text associated with @entry.203 // Sets the placeholder text associated with @entry.
204-func (x *SearchEntry) SetPlaceholderText(TextVar string) {204+func (x *SearchEntry) SetPlaceholderText(TextVar *string) {
205 205
206- xSearchEntrySetPlaceholderText(x.GoPointer(), TextVar)206+ xSearchEntrySetPlaceholderText(x.GoPointer(), core.NullableStringToPtr(TextVar))
207 207
208 }208 }
209 209
@@ -251,7 +251,7 @@ func (x *SearchEntry) GetPropertyActivatesDefault() bool {
251 func (x *SearchEntry) SetPropertyPlaceholderText(value string) {251 func (x *SearchEntry) SetPropertyPlaceholderText(value string) {
252 var v gobject.Value252 var v gobject.Value
253 v.Init(gobject.TypeStringVal)253 v.Init(gobject.TypeStringVal)
254- v.SetString(value)254+ v.SetString(&value)
255 x.SetProperty("placeholder-text", &v)255 x.SetProperty("placeholder-text", &v)
256 }256 }
257 257
M v4/gtk/gtksettings.go +14 -14
@@ -252,7 +252,7 @@ func (x *Settings) GetPropertyGtkCursorBlinkTimeout() int {
252 func (x *Settings) SetPropertyGtkCursorThemeName(value string) {252 func (x *Settings) SetPropertyGtkCursorThemeName(value string) {
253 var v gobject.Value253 var v gobject.Value
254 v.Init(gobject.TypeStringVal)254 v.Init(gobject.TypeStringVal)
255- v.SetString(value)255+ v.SetString(&value)
256 x.SetProperty("gtk-cursor-theme-name", &v)256 x.SetProperty("gtk-cursor-theme-name", &v)
257 }257 }
258 258
@@ -311,7 +311,7 @@ func (x *Settings) GetPropertyGtkCursorThemeSize() int {
311 func (x *Settings) SetPropertyGtkDecorationLayout(value string) {311 func (x *Settings) SetPropertyGtkDecorationLayout(value string) {
312 var v gobject.Value312 var v gobject.Value
313 v.Init(gobject.TypeStringVal)313 v.Init(gobject.TypeStringVal)
314- v.SetString(value)314+ v.SetString(&value)
315 x.SetProperty("gtk-decoration-layout", &v)315 x.SetProperty("gtk-decoration-layout", &v)
316 }316 }
317 317
@@ -613,7 +613,7 @@ func (x *Settings) GetPropertyGtkErrorBell() bool {
613 func (x *Settings) SetPropertyGtkFontName(value string) {613 func (x *Settings) SetPropertyGtkFontName(value string) {
614 var v gobject.Value614 var v gobject.Value
615 v.Init(gobject.TypeStringVal)615 v.Init(gobject.TypeStringVal)
616- v.SetString(value)616+ v.SetString(&value)
617 x.SetProperty("gtk-font-name", &v)617 x.SetProperty("gtk-font-name", &v)
618 }618 }
619 619
@@ -675,7 +675,7 @@ func (x *Settings) GetPropertyGtkHintFontMetrics() bool {
675 func (x *Settings) SetPropertyGtkIconThemeName(value string) {675 func (x *Settings) SetPropertyGtkIconThemeName(value string) {
676 var v gobject.Value676 var v gobject.Value
677 v.Init(gobject.TypeStringVal)677 v.Init(gobject.TypeStringVal)
678- v.SetString(value)678+ v.SetString(&value)
679 x.SetProperty("gtk-icon-theme-name", &v)679 x.SetProperty("gtk-icon-theme-name", &v)
680 }680 }
681 681
@@ -702,7 +702,7 @@ func (x *Settings) GetPropertyGtkIconThemeName() string {
702 func (x *Settings) SetPropertyGtkImModule(value string) {702 func (x *Settings) SetPropertyGtkImModule(value string) {
703 var v gobject.Value703 var v gobject.Value
704 v.Init(gobject.TypeStringVal)704 v.Init(gobject.TypeStringVal)
705- v.SetString(value)705+ v.SetString(&value)
706 x.SetProperty("gtk-im-module", &v)706 x.SetProperty("gtk-im-module", &v)
707 }707 }
708 708
@@ -851,7 +851,7 @@ func (x *Settings) GetPropertyGtkPrimaryButtonWarpsSlider() bool {
851 func (x *Settings) SetPropertyGtkPrintBackends(value string) {851 func (x *Settings) SetPropertyGtkPrintBackends(value string) {
852 var v gobject.Value852 var v gobject.Value
853 v.Init(gobject.TypeStringVal)853 v.Init(gobject.TypeStringVal)
854- v.SetString(value)854+ v.SetString(&value)
855 x.SetProperty("gtk-print-backends", &v)855 x.SetProperty("gtk-print-backends", &v)
856 }856 }
857 857
@@ -881,7 +881,7 @@ func (x *Settings) GetPropertyGtkPrintBackends() string {
881 func (x *Settings) SetPropertyGtkPrintPreviewCommand(value string) {881 func (x *Settings) SetPropertyGtkPrintPreviewCommand(value string) {
882 var v gobject.Value882 var v gobject.Value
883 v.Init(gobject.TypeStringVal)883 v.Init(gobject.TypeStringVal)
884- v.SetString(value)884+ v.SetString(&value)
885 x.SetProperty("gtk-print-preview-command", &v)885 x.SetProperty("gtk-print-preview-command", &v)
886 }886 }
887 887
@@ -1037,7 +1037,7 @@ func (x *Settings) GetPropertyGtkShowStatusShapes() bool {
1037 func (x *Settings) SetPropertyGtkSoundThemeName(value string) {1037 func (x *Settings) SetPropertyGtkSoundThemeName(value string) {
1038 var v gobject.Value1038 var v gobject.Value
1039 v.Init(gobject.TypeStringVal)1039 v.Init(gobject.TypeStringVal)
1040- v.SetString(value)1040+ v.SetString(&value)
1041 x.SetProperty("gtk-sound-theme-name", &v)1041 x.SetProperty("gtk-sound-theme-name", &v)
1042 }1042 }
1043 1043
@@ -1082,7 +1082,7 @@ func (x *Settings) GetPropertyGtkSplitCursor() bool {
1082 func (x *Settings) SetPropertyGtkThemeName(value string) {1082 func (x *Settings) SetPropertyGtkThemeName(value string) {
1083 var v gobject.Value1083 var v gobject.Value
1084 v.Init(gobject.TypeStringVal)1084 v.Init(gobject.TypeStringVal)
1085- v.SetString(value)1085+ v.SetString(&value)
1086 x.SetProperty("gtk-theme-name", &v)1086 x.SetProperty("gtk-theme-name", &v)
1087 }1087 }
1088 1088
@@ -1106,7 +1106,7 @@ func (x *Settings) GetPropertyGtkThemeName() string {
1106 func (x *Settings) SetPropertyGtkTitlebarDoubleClick(value string) {1106 func (x *Settings) SetPropertyGtkTitlebarDoubleClick(value string) {
1107 var v gobject.Value1107 var v gobject.Value
1108 v.Init(gobject.TypeStringVal)1108 v.Init(gobject.TypeStringVal)
1109- v.SetString(value)1109+ v.SetString(&value)
1110 x.SetProperty("gtk-titlebar-double-click", &v)1110 x.SetProperty("gtk-titlebar-double-click", &v)
1111 }1111 }
1112 1112
@@ -1131,7 +1131,7 @@ func (x *Settings) GetPropertyGtkTitlebarDoubleClick() string {
1131 func (x *Settings) SetPropertyGtkTitlebarMiddleClick(value string) {1131 func (x *Settings) SetPropertyGtkTitlebarMiddleClick(value string) {
1132 var v gobject.Value1132 var v gobject.Value
1133 v.Init(gobject.TypeStringVal)1133 v.Init(gobject.TypeStringVal)
1134- v.SetString(value)1134+ v.SetString(&value)
1135 x.SetProperty("gtk-titlebar-middle-click", &v)1135 x.SetProperty("gtk-titlebar-middle-click", &v)
1136 }1136 }
1137 1137
@@ -1156,7 +1156,7 @@ func (x *Settings) GetPropertyGtkTitlebarMiddleClick() string {
1156 func (x *Settings) SetPropertyGtkTitlebarRightClick(value string) {1156 func (x *Settings) SetPropertyGtkTitlebarRightClick(value string) {
1157 var v gobject.Value1157 var v gobject.Value
1158 v.Init(gobject.TypeStringVal)1158 v.Init(gobject.TypeStringVal)
1159- v.SetString(value)1159+ v.SetString(&value)
1160 x.SetProperty("gtk-titlebar-right-click", &v)1160 x.SetProperty("gtk-titlebar-right-click", &v)
1161 }1161 }
1162 1162
@@ -1243,7 +1243,7 @@ func (x *Settings) GetPropertyGtkXftHinting() int {
1243 func (x *Settings) SetPropertyGtkXftHintstyle(value string) {1243 func (x *Settings) SetPropertyGtkXftHintstyle(value string) {
1244 var v gobject.Value1244 var v gobject.Value
1245 v.Init(gobject.TypeStringVal)1245 v.Init(gobject.TypeStringVal)
1246- v.SetString(value)1246+ v.SetString(&value)
1247 x.SetProperty("gtk-xft-hintstyle", &v)1247 x.SetProperty("gtk-xft-hintstyle", &v)
1248 }1248 }
1249 1249
@@ -1268,7 +1268,7 @@ func (x *Settings) GetPropertyGtkXftHintstyle() string {
1268 func (x *Settings) SetPropertyGtkXftRgba(value string) {1268 func (x *Settings) SetPropertyGtkXftRgba(value string) {
1269 var v gobject.Value1269 var v gobject.Value
1270 v.Init(gobject.TypeStringVal)1270 v.Init(gobject.TypeStringVal)
1271- v.SetString(value)1271+ v.SetString(&value)
1272 x.SetProperty("gtk-xft-rgba", &v)1272 x.SetProperty("gtk-xft-rgba", &v)
1273 }1273 }
1274 1274
M v4/gtk/gtkshortcut.go +3 -3
@@ -70,14 +70,14 @@ func NewShortcut(TriggerVar *ShortcutTrigger, ActionVar *ShortcutAction) *Shortc
70 return cls70 return cls
71 }71 }
72 72
73-var xNewShortcutWithArguments func(uintptr, uintptr, string, ...interface{}) uintptr73+var xNewShortcutWithArguments func(uintptr, uintptr, uintptr, ...interface{}) uintptr
74 74
75 // Creates a new `GtkShortcut` that is triggered by @trigger and then activates75 // Creates a new `GtkShortcut` that is triggered by @trigger and then activates
76 // @action with arguments given by @format_string.76 // @action with arguments given by @format_string.
77-func NewShortcutWithArguments(TriggerVar *ShortcutTrigger, ActionVar *ShortcutAction, FormatStringVar string, varArgs ...interface{}) *Shortcut {77+func NewShortcutWithArguments(TriggerVar *ShortcutTrigger, ActionVar *ShortcutAction, FormatStringVar *string, varArgs ...interface{}) *Shortcut {
78 var cls *Shortcut78 var cls *Shortcut
79 79
80- cret := xNewShortcutWithArguments(TriggerVar.GoPointer(), ActionVar.GoPointer(), FormatStringVar, varArgs...)80+ cret := xNewShortcutWithArguments(TriggerVar.GoPointer(), ActionVar.GoPointer(), core.NullableStringToPtr(FormatStringVar), varArgs...)
81 81
82 if cret == 0 {82 if cret == 0 {
83 return nil83 return nil
M v4/gtk/gtkshortcutaction.go +2 -2
@@ -333,7 +333,7 @@ func (c *NamedAction) SetGoPointer(ptr uintptr) {
333 func (x *NamedAction) SetPropertyActionName(value string) {333 func (x *NamedAction) SetPropertyActionName(value string) {
334 var v gobject.Value334 var v gobject.Value
335 v.Init(gobject.TypeStringVal)335 v.Init(gobject.TypeStringVal)
336- v.SetString(value)336+ v.SetString(&value)
337 x.SetProperty("action-name", &v)337 x.SetProperty("action-name", &v)
338 }338 }
339 339
@@ -578,7 +578,7 @@ func (c *SignalAction) SetGoPointer(ptr uintptr) {
578 func (x *SignalAction) SetPropertySignalName(value string) {578 func (x *SignalAction) SetPropertySignalName(value string) {
579 var v gobject.Value579 var v gobject.Value
580 v.Init(gobject.TypeStringVal)580 v.Init(gobject.TypeStringVal)
581- v.SetString(value)581+ v.SetString(&value)
582 x.SetProperty("signal-name", &v)582 x.SetProperty("signal-name", &v)
583 }583 }
584 584
M v4/gtk/gtkshortcutlabel.go +2 -2
@@ -110,7 +110,7 @@ func (c *ShortcutLabel) SetGoPointer(ptr uintptr) {
110 func (x *ShortcutLabel) SetPropertyAccelerator(value string) {110 func (x *ShortcutLabel) SetPropertyAccelerator(value string) {
111 var v gobject.Value111 var v gobject.Value
112 v.Init(gobject.TypeStringVal)112 v.Init(gobject.TypeStringVal)
113- v.SetString(value)113+ v.SetString(&value)
114 x.SetProperty("accelerator", &v)114 x.SetProperty("accelerator", &v)
115 }115 }
116 116
@@ -130,7 +130,7 @@ func (x *ShortcutLabel) GetPropertyAccelerator() string {
130 func (x *ShortcutLabel) SetPropertyDisabledText(value string) {130 func (x *ShortcutLabel) SetPropertyDisabledText(value string) {
131 var v gobject.Value131 var v gobject.Value
132 v.Init(gobject.TypeStringVal)132 v.Init(gobject.TypeStringVal)
133- v.SetString(value)133+ v.SetString(&value)
134 x.SetProperty("disabled-text", &v)134 x.SetProperty("disabled-text", &v)
135 }135 }
136 136
M v4/gtk/gtkshortcutsgroup.go +2 -2
@@ -90,7 +90,7 @@ func (x *ShortcutsGroup) GetPropertyHeight() uint {
90 func (x *ShortcutsGroup) SetPropertyTitle(value string) {90 func (x *ShortcutsGroup) SetPropertyTitle(value string) {
91 var v gobject.Value91 var v gobject.Value
92 v.Init(gobject.TypeStringVal)92 v.Init(gobject.TypeStringVal)
93- v.SetString(value)93+ v.SetString(&value)
94 x.SetProperty("title", &v)94 x.SetProperty("title", &v)
95 }95 }
96 96
@@ -112,7 +112,7 @@ func (x *ShortcutsGroup) GetPropertyTitle() string {
112 func (x *ShortcutsGroup) SetPropertyView(value string) {112 func (x *ShortcutsGroup) SetPropertyView(value string) {
113 var v gobject.Value113 var v gobject.Value
114 v.Init(gobject.TypeStringVal)114 v.Init(gobject.TypeStringVal)
115- v.SetString(value)115+ v.SetString(&value)
116 x.SetProperty("view", &v)116 x.SetProperty("view", &v)
117 }117 }
118 118
M v4/gtk/gtkshortcutssection.go +3 -3
@@ -126,7 +126,7 @@ func (x *ShortcutsSection) GetPropertyMaxHeight() uint {
126 func (x *ShortcutsSection) SetPropertySectionName(value string) {126 func (x *ShortcutsSection) SetPropertySectionName(value string) {
127 var v gobject.Value127 var v gobject.Value
128 v.Init(gobject.TypeStringVal)128 v.Init(gobject.TypeStringVal)
129- v.SetString(value)129+ v.SetString(&value)
130 x.SetProperty("section-name", &v)130 x.SetProperty("section-name", &v)
131 }131 }
132 132
@@ -151,7 +151,7 @@ func (x *ShortcutsSection) GetPropertySectionName() string {
151 func (x *ShortcutsSection) SetPropertyTitle(value string) {151 func (x *ShortcutsSection) SetPropertyTitle(value string) {
152 var v gobject.Value152 var v gobject.Value
153 v.Init(gobject.TypeStringVal)153 v.Init(gobject.TypeStringVal)
154- v.SetString(value)154+ v.SetString(&value)
155 x.SetProperty("title", &v)155 x.SetProperty("title", &v)
156 }156 }
157 157
@@ -178,7 +178,7 @@ func (x *ShortcutsSection) GetPropertyTitle() string {
178 func (x *ShortcutsSection) SetPropertyViewName(value string) {178 func (x *ShortcutsSection) SetPropertyViewName(value string) {
179 var v gobject.Value179 var v gobject.Value
180 v.Init(gobject.TypeStringVal)180 v.Init(gobject.TypeStringVal)
181- v.SetString(value)181+ v.SetString(&value)
182 x.SetProperty("view-name", &v)182 x.SetProperty("view-name", &v)
183 }183 }
184 184
M v4/gtk/gtkshortcutsshortcut.go +4 -4
@@ -116,7 +116,7 @@ func (c *ShortcutsShortcut) SetGoPointer(ptr uintptr) {
116 func (x *ShortcutsShortcut) SetPropertyAccelerator(value string) {116 func (x *ShortcutsShortcut) SetPropertyAccelerator(value string) {
117 var v gobject.Value117 var v gobject.Value
118 v.Init(gobject.TypeStringVal)118 v.Init(gobject.TypeStringVal)
119- v.SetString(value)119+ v.SetString(&value)
120 x.SetProperty("accelerator", &v)120 x.SetProperty("accelerator", &v)
121 }121 }
122 122
@@ -164,7 +164,7 @@ func (x *ShortcutsShortcut) GetPropertyAccelerator() string {
164 func (x *ShortcutsShortcut) SetPropertyActionName(value string) {164 func (x *ShortcutsShortcut) SetPropertyActionName(value string) {
165 var v gobject.Value165 var v gobject.Value
166 v.Init(gobject.TypeStringVal)166 v.Init(gobject.TypeStringVal)
167- v.SetString(value)167+ v.SetString(&value)
168 x.SetProperty("action-name", &v)168 x.SetProperty("action-name", &v)
169 }169 }
170 170
@@ -207,7 +207,7 @@ func (x *ShortcutsShortcut) GetPropertyIconSet() bool {
207 func (x *ShortcutsShortcut) SetPropertySubtitle(value string) {207 func (x *ShortcutsShortcut) SetPropertySubtitle(value string) {
208 var v gobject.Value208 var v gobject.Value
209 v.Init(gobject.TypeStringVal)209 v.Init(gobject.TypeStringVal)
210- v.SetString(value)210+ v.SetString(&value)
211 x.SetProperty("subtitle", &v)211 x.SetProperty("subtitle", &v)
212 }212 }
213 213
@@ -248,7 +248,7 @@ func (x *ShortcutsShortcut) GetPropertySubtitleSet() bool {
248 func (x *ShortcutsShortcut) SetPropertyTitle(value string) {248 func (x *ShortcutsShortcut) SetPropertyTitle(value string) {
249 var v gobject.Value249 var v gobject.Value
250 v.Init(gobject.TypeStringVal)250 v.Init(gobject.TypeStringVal)
251- v.SetString(value)251+ v.SetString(&value)
252 x.SetProperty("title", &v)252 x.SetProperty("title", &v)
253 }253 }
254 254
M v4/gtk/gtkshortcutswindow.go +2 -2
@@ -136,7 +136,7 @@ func (c *ShortcutsWindow) SetGoPointer(ptr uintptr) {
136 func (x *ShortcutsWindow) SetPropertySectionName(value string) {136 func (x *ShortcutsWindow) SetPropertySectionName(value string) {
137 var v gobject.Value137 var v gobject.Value
138 v.Init(gobject.TypeStringVal)138 v.Init(gobject.TypeStringVal)
139- v.SetString(value)139+ v.SetString(&value)
140 x.SetProperty("section-name", &v)140 x.SetProperty("section-name", &v)
141 }141 }
142 142
@@ -162,7 +162,7 @@ func (x *ShortcutsWindow) GetPropertySectionName() string {
162 func (x *ShortcutsWindow) SetPropertyViewName(value string) {162 func (x *ShortcutsWindow) SetPropertyViewName(value string) {
163 var v gobject.Value163 var v gobject.Value
164 v.Init(gobject.TypeStringVal)164 v.Init(gobject.TypeStringVal)
165- v.SetString(value)165+ v.SetString(&value)
166 x.SetProperty("view-name", &v)166 x.SetProperty("view-name", &v)
167 }167 }
168 168
M v4/gtk/gtkstack.go +10 -10
@@ -174,15 +174,15 @@ func (x *Stack) AddChild(ChildVar *Widget) *StackPage {
174 return cls174 return cls
175 }175 }
176 176
177-var xStackAddNamed func(uintptr, uintptr, string) uintptr177+var xStackAddNamed func(uintptr, uintptr, uintptr) uintptr
178 178
179 // Adds a child to @stack.179 // Adds a child to @stack.
180 //180 //
181 // The child is identified by the @name.181 // The child is identified by the @name.
182-func (x *Stack) AddNamed(ChildVar *Widget, NameVar string) *StackPage {182+func (x *Stack) AddNamed(ChildVar *Widget, NameVar *string) *StackPage {
183 var cls *StackPage183 var cls *StackPage
184 184
185- cret := xStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), NameVar)185+ cret := xStackAddNamed(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar))
186 186
187 if cret == 0 {187 if cret == 0 {
188 return nil188 return nil
@@ -193,17 +193,17 @@ func (x *Stack) AddNamed(ChildVar *Widget, NameVar string) *StackPage {
193 return cls193 return cls
194 }194 }
195 195
196-var xStackAddTitled func(uintptr, uintptr, string, string) uintptr196+var xStackAddTitled func(uintptr, uintptr, uintptr, string) uintptr
197 197
198 // Adds a child to @stack.198 // Adds a child to @stack.
199 //199 //
200 // The child is identified by the @name. The @title200 // The child is identified by the @name. The @title
201 // will be used by `GtkStackSwitcher` to represent201 // will be used by `GtkStackSwitcher` to represent
202 // @child in a tab bar, so it should be short.202 // @child in a tab bar, so it should be short.
203-func (x *Stack) AddTitled(ChildVar *Widget, NameVar string, TitleVar string) *StackPage {203+func (x *Stack) AddTitled(ChildVar *Widget, NameVar *string, TitleVar string) *StackPage {
204 var cls *StackPage204 var cls *StackPage
205 205
206- cret := xStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), NameVar, TitleVar)206+ cret := xStackAddTitled(x.GoPointer(), ChildVar.GoPointer(), core.NullableStringToPtr(NameVar), TitleVar)
207 207
208 if cret == 0 {208 if cret == 0 {
209 return nil209 return nil
@@ -573,7 +573,7 @@ func (x *Stack) GetPropertyVhomogeneous() bool {
573 func (x *Stack) SetPropertyVisibleChildName(value string) {573 func (x *Stack) SetPropertyVisibleChildName(value string) {
574 var v gobject.Value574 var v gobject.Value
575 v.Init(gobject.TypeStringVal)575 v.Init(gobject.TypeStringVal)
576- v.SetString(value)576+ v.SetString(&value)
577 x.SetProperty("visible-child-name", &v)577 x.SetProperty("visible-child-name", &v)
578 }578 }
579 579
@@ -1024,7 +1024,7 @@ func (c *StackPage) SetGoPointer(ptr uintptr) {
1024 func (x *StackPage) SetPropertyIconName(value string) {1024 func (x *StackPage) SetPropertyIconName(value string) {
1025 var v gobject.Value1025 var v gobject.Value
1026 v.Init(gobject.TypeStringVal)1026 v.Init(gobject.TypeStringVal)
1027- v.SetString(value)1027+ v.SetString(&value)
1028 x.SetProperty("icon-name", &v)1028 x.SetProperty("icon-name", &v)
1029 }1029 }
1030 1030
@@ -1041,7 +1041,7 @@ func (x *StackPage) GetPropertyIconName() string {
1041 func (x *StackPage) SetPropertyName(value string) {1041 func (x *StackPage) SetPropertyName(value string) {
1042 var v gobject.Value1042 var v gobject.Value
1043 v.Init(gobject.TypeStringVal)1043 v.Init(gobject.TypeStringVal)
1044- v.SetString(value)1044+ v.SetString(&value)
1045 x.SetProperty("name", &v)1045 x.SetProperty("name", &v)
1046 }1046 }
1047 1047
@@ -1083,7 +1083,7 @@ func (x *StackPage) GetPropertyNeedsAttention() bool {
1083 func (x *StackPage) SetPropertyTitle(value string) {1083 func (x *StackPage) SetPropertyTitle(value string) {
1084 var v gobject.Value1084 var v gobject.Value
1085 v.Init(gobject.TypeStringVal)1085 v.Init(gobject.TypeStringVal)
1086- v.SetString(value)1086+ v.SetString(&value)
1087 x.SetProperty("title", &v)1087 x.SetProperty("title", &v)
1088 }1088 }
1089 1089
M v4/gtk/gtkstringfilter.go +4 -4
@@ -165,12 +165,12 @@ func (x *StringFilter) SetMatchMode(ModeVar StringFilterMatchMode) {
165 165
166 }166 }
167 167
168-var xStringFilterSetSearch func(uintptr, string)168+var xStringFilterSetSearch func(uintptr, uintptr)
169 169
170 // Sets the string to search for.170 // Sets the string to search for.
171-func (x *StringFilter) SetSearch(SearchVar string) {171+func (x *StringFilter) SetSearch(SearchVar *string) {
172 172
173- xStringFilterSetSearch(x.GoPointer(), SearchVar)173+ xStringFilterSetSearch(x.GoPointer(), core.NullableStringToPtr(SearchVar))
174 174
175 }175 }
176 176
@@ -207,7 +207,7 @@ func (x *StringFilter) GetPropertyIgnoreCase() bool {
207 func (x *StringFilter) SetPropertySearch(value string) {207 func (x *StringFilter) SetPropertySearch(value string) {
208 var v gobject.Value208 var v gobject.Value
209 v.Init(gobject.TypeStringVal)209 v.Init(gobject.TypeStringVal)
210- v.SetString(value)210+ v.SetString(&value)
211 x.SetProperty("search", &v)211 x.SetProperty("search", &v)
212 }212 }
213 213
M v4/gtk/gtkswitch.go +2 -2
@@ -537,9 +537,9 @@ func (x *Switch) GetActionTargetValue() *glib.Variant {
537 // containing [class@ApplicationWindow] or its associated [class@Application],537 // containing [class@ApplicationWindow] or its associated [class@Application],
538 // respectively. This is the same form used for actions in the [class@Gio.Menu]538 // respectively. This is the same form used for actions in the [class@Gio.Menu]
539 // associated with the window.539 // associated with the window.
540-func (x *Switch) SetActionName(ActionNameVar string) {540+func (x *Switch) SetActionName(ActionNameVar *string) {
541 541
542- XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)542+ XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
543 543
544 }544 }
545 545
M v4/gtk/gtktext.go +5 -5
@@ -510,16 +510,16 @@ func (x *Text) SetOverwriteMode(OverwriteVar bool) {
510 510
511 }511 }
512 512
513-var xTextSetPlaceholderText func(uintptr, string)513+var xTextSetPlaceholderText func(uintptr, uintptr)
514 514
515 // Sets the text to be displayed when the text widget is515 // Sets the text to be displayed when the text widget is
516 // empty and unfocused.516 // empty and unfocused.
517 //517 //
518 // This can be used to give a visual hint of the expected518 // This can be used to give a visual hint of the expected
519 // contents of the text widget.519 // contents of the text widget.
520-func (x *Text) SetPlaceholderText(TextVar string) {520+func (x *Text) SetPlaceholderText(TextVar *string) {
521 521
522- xTextSetPlaceholderText(x.GoPointer(), TextVar)522+ xTextSetPlaceholderText(x.GoPointer(), core.NullableStringToPtr(TextVar))
523 523
524 }524 }
525 525
@@ -666,7 +666,7 @@ func (x *Text) GetPropertyEnableEmojiCompletion() bool {
666 func (x *Text) SetPropertyImModule(value string) {666 func (x *Text) SetPropertyImModule(value string) {
667 var v gobject.Value667 var v gobject.Value
668 v.Init(gobject.TypeStringVal)668 v.Init(gobject.TypeStringVal)
669- v.SetString(value)669+ v.SetString(&value)
670 x.SetProperty("im-module", &v)670 x.SetProperty("im-module", &v)
671 }671 }
672 672
@@ -762,7 +762,7 @@ func (x *Text) GetPropertyOverwriteMode() bool {
762 func (x *Text) SetPropertyPlaceholderText(value string) {762 func (x *Text) SetPropertyPlaceholderText(value string) {
763 var v gobject.Value763 var v gobject.Value
764 v.Init(gobject.TypeStringVal)764 v.Init(gobject.TypeStringVal)
765- v.SetString(value)765+ v.SetString(&value)
766 x.SetProperty("placeholder-text", &v)766 x.SetProperty("placeholder-text", &v)
767 }767 }
768 768
M v4/gtk/gtktextbuffer.go +7 -7
@@ -813,7 +813,7 @@ func (x *TextBuffer) CreateChildAnchor(IterVar *TextIter) *TextChildAnchor {
813 return cls813 return cls
814 }814 }
815 815
816-var xTextBufferCreateMark func(uintptr, string, *TextIter, bool) uintptr816+var xTextBufferCreateMark func(uintptr, uintptr, *TextIter, bool) uintptr
817 817
818 // Creates a mark at position @where.818 // Creates a mark at position @where.
819 //819 //
@@ -834,10 +834,10 @@ var xTextBufferCreateMark func(uintptr, string, *TextIter, bool) uintptr
834 //834 //
835 // Emits the [signal@Gtk.TextBuffer::mark-set] signal as notification835 // Emits the [signal@Gtk.TextBuffer::mark-set] signal as notification
836 // of the mark's initial placement.836 // of the mark's initial placement.
837-func (x *TextBuffer) CreateMark(MarkNameVar string, WhereVar *TextIter, LeftGravityVar bool) *TextMark {837+func (x *TextBuffer) CreateMark(MarkNameVar *string, WhereVar *TextIter, LeftGravityVar bool) *TextMark {
838 var cls *TextMark838 var cls *TextMark
839 839
840- cret := xTextBufferCreateMark(x.GoPointer(), MarkNameVar, WhereVar, LeftGravityVar)840+ cret := xTextBufferCreateMark(x.GoPointer(), core.NullableStringToPtr(MarkNameVar), WhereVar, LeftGravityVar)
841 841
842 if cret == 0 {842 if cret == 0 {
843 return nil843 return nil
@@ -848,7 +848,7 @@ func (x *TextBuffer) CreateMark(MarkNameVar string, WhereVar *TextIter, LeftGrav
848 return cls848 return cls
849 }849 }
850 850
851-var xTextBufferCreateTag func(uintptr, string, string, ...interface{}) uintptr851+var xTextBufferCreateTag func(uintptr, uintptr, uintptr, ...interface{}) uintptr
852 852
853 // Creates a tag and adds it to the tag table for @buffer.853 // Creates a tag and adds it to the tag table for @buffer.
854 //854 //
@@ -863,10 +863,10 @@ var xTextBufferCreateTag func(uintptr, string, string, ...interface{}) uintptr
863 //863 //
864 // The @first_property_name argument and subsequent arguments are a list864 // The @first_property_name argument and subsequent arguments are a list
865 // of properties to set on the tag, as with g_object_set().865 // of properties to set on the tag, as with g_object_set().
866-func (x *TextBuffer) CreateTag(TagNameVar string, FirstPropertyNameVar string, varArgs ...interface{}) *TextTag {866+func (x *TextBuffer) CreateTag(TagNameVar *string, FirstPropertyNameVar *string, varArgs ...interface{}) *TextTag {
867 var cls *TextTag867 var cls *TextTag
868 868
869- cret := xTextBufferCreateTag(x.GoPointer(), TagNameVar, FirstPropertyNameVar, varArgs...)869+ cret := xTextBufferCreateTag(x.GoPointer(), core.NullableStringToPtr(TagNameVar), core.NullableStringToPtr(FirstPropertyNameVar), varArgs...)
870 870
871 if cret == 0 {871 if cret == 0 {
872 return nil872 return nil
@@ -1821,7 +1821,7 @@ func (x *TextBuffer) GetPropertyHasSelection() bool {
1821 func (x *TextBuffer) SetPropertyText(value string) {1821 func (x *TextBuffer) SetPropertyText(value string) {
1822 var v gobject.Value1822 var v gobject.Value
1823 v.Init(gobject.TypeStringVal)1823 v.Init(gobject.TypeStringVal)
1824- v.SetString(value)1824+ v.SetString(&value)
1825 x.SetProperty("text", &v)1825 x.SetProperty("text", &v)
1826 }1826 }
1827 1827
M v4/gtk/gtktextmark.go +4 -4
@@ -72,7 +72,7 @@ func TextMarkNewFromInternalPtr(ptr uintptr) *TextMark {
72 return cls72 return cls
73 }73 }
74 74
75-var xNewTextMark func(string, bool) uintptr75+var xNewTextMark func(uintptr, bool) uintptr
76 76
77 // Creates a text mark.77 // Creates a text mark.
78 //78 //
@@ -85,10 +85,10 @@ var xNewTextMark func(string, bool) uintptr
85 // on the right of newly-inserted text. The standard left-to-right cursor85 // on the right of newly-inserted text. The standard left-to-right cursor
86 // is a mark with right gravity (when you type, the cursor stays on the86 // is a mark with right gravity (when you type, the cursor stays on the
87 // right side of the text you’re typing).87 // right side of the text you’re typing).
88-func NewTextMark(NameVar string, LeftGravityVar bool) *TextMark {88+func NewTextMark(NameVar *string, LeftGravityVar bool) *TextMark {
89 var cls *TextMark89 var cls *TextMark
90 90
91- cret := xNewTextMark(NameVar, LeftGravityVar)91+ cret := xNewTextMark(core.NullableStringToPtr(NameVar), LeftGravityVar)
92 92
93 if cret == 0 {93 if cret == 0 {
94 return nil94 return nil
@@ -217,7 +217,7 @@ func (x *TextMark) GetPropertyLeftGravity() bool {
217 func (x *TextMark) SetPropertyName(value string) {217 func (x *TextMark) SetPropertyName(value string) {
218 var v gobject.Value218 var v gobject.Value
219 v.Init(gobject.TypeStringVal)219 v.Init(gobject.TypeStringVal)
220- v.SetString(value)220+ v.SetString(&value)
221 x.SetProperty("name", &v)221 x.SetProperty("name", &v)
222 }222 }
223 223
M v4/gtk/gtktexttag.go +11 -11
@@ -65,13 +65,13 @@ func TextTagNewFromInternalPtr(ptr uintptr) *TextTag {
65 return cls65 return cls
66 }66 }
67 67
68-var xNewTextTag func(string) uintptr68+var xNewTextTag func(uintptr) uintptr
69 69
70 // Creates a `GtkTextTag`.70 // Creates a `GtkTextTag`.
71-func NewTextTag(NameVar string) *TextTag {71+func NewTextTag(NameVar *string) *TextTag {
72 var cls *TextTag72 var cls *TextTag
73 73
74- cret := xNewTextTag(NameVar)74+ cret := xNewTextTag(core.NullableStringToPtr(NameVar))
75 75
76 if cret == 0 {76 if cret == 0 {
77 return nil77 return nil
@@ -200,7 +200,7 @@ func (x *TextTag) GetPropertyAllowBreaksSet() bool {
200 func (x *TextTag) SetPropertyBackground(value string) {200 func (x *TextTag) SetPropertyBackground(value string) {
201 var v gobject.Value201 var v gobject.Value
202 v.Init(gobject.TypeStringVal)202 v.Init(gobject.TypeStringVal)
203- v.SetString(value)203+ v.SetString(&value)
204 x.SetProperty("background", &v)204 x.SetProperty("background", &v)
205 }205 }
206 206
@@ -353,7 +353,7 @@ func (x *TextTag) GetPropertyFallbackSet() bool {
353 func (x *TextTag) SetPropertyFamily(value string) {353 func (x *TextTag) SetPropertyFamily(value string) {
354 var v gobject.Value354 var v gobject.Value
355 v.Init(gobject.TypeStringVal)355 v.Init(gobject.TypeStringVal)
356- v.SetString(value)356+ v.SetString(&value)
357 x.SetProperty("family", &v)357 x.SetProperty("family", &v)
358 }358 }
359 359
@@ -390,7 +390,7 @@ func (x *TextTag) GetPropertyFamilySet() bool {
390 func (x *TextTag) SetPropertyFont(value string) {390 func (x *TextTag) SetPropertyFont(value string) {
391 var v gobject.Value391 var v gobject.Value
392 v.Init(gobject.TypeStringVal)392 v.Init(gobject.TypeStringVal)
393- v.SetString(value)393+ v.SetString(&value)
394 x.SetProperty("font", &v)394 x.SetProperty("font", &v)
395 }395 }
396 396
@@ -427,7 +427,7 @@ func (x *TextTag) GetPropertyFontDesc() uintptr {
427 func (x *TextTag) SetPropertyFontFeatures(value string) {427 func (x *TextTag) SetPropertyFontFeatures(value string) {
428 var v gobject.Value428 var v gobject.Value
429 v.Init(gobject.TypeStringVal)429 v.Init(gobject.TypeStringVal)
430- v.SetString(value)430+ v.SetString(&value)
431 x.SetProperty("font-features", &v)431 x.SetProperty("font-features", &v)
432 }432 }
433 433
@@ -461,7 +461,7 @@ func (x *TextTag) GetPropertyFontFeaturesSet() bool {
461 func (x *TextTag) SetPropertyForeground(value string) {461 func (x *TextTag) SetPropertyForeground(value string) {
462 var v gobject.Value462 var v gobject.Value
463 v.Init(gobject.TypeStringVal)463 v.Init(gobject.TypeStringVal)
464- v.SetString(value)464+ v.SetString(&value)
465 x.SetProperty("foreground", &v)465 x.SetProperty("foreground", &v)
466 }466 }
467 467
@@ -645,7 +645,7 @@ func (x *TextTag) GetPropertyJustificationSet() bool {
645 func (x *TextTag) SetPropertyLanguage(value string) {645 func (x *TextTag) SetPropertyLanguage(value string) {
646 var v gobject.Value646 var v gobject.Value
647 v.Init(gobject.TypeStringVal)647 v.Init(gobject.TypeStringVal)
648- v.SetString(value)648+ v.SetString(&value)
649 x.SetProperty("language", &v)649 x.SetProperty("language", &v)
650 }650 }
651 651
@@ -789,7 +789,7 @@ func (x *TextTag) GetPropertyLineHeightSet() bool {
789 func (x *TextTag) SetPropertyName(value string) {789 func (x *TextTag) SetPropertyName(value string) {
790 var v gobject.Value790 var v gobject.Value
791 v.Init(gobject.TypeStringVal)791 v.Init(gobject.TypeStringVal)
792- v.SetString(value)792+ v.SetString(&value)
793 x.SetProperty("name", &v)793 x.SetProperty("name", &v)
794 }794 }
795 795
@@ -863,7 +863,7 @@ func (x *TextTag) GetPropertyOverlineSet() bool {
863 func (x *TextTag) SetPropertyParagraphBackground(value string) {863 func (x *TextTag) SetPropertyParagraphBackground(value string) {
864 var v gobject.Value864 var v gobject.Value
865 v.Init(gobject.TypeStringVal)865 v.Init(gobject.TypeStringVal)
866- v.SetString(value)866+ v.SetString(&value)
867 x.SetProperty("paragraph-background", &v)867 x.SetProperty("paragraph-background", &v)
868 }868 }
869 869
M v4/gtk/gtktextview.go +1 -1
@@ -1730,7 +1730,7 @@ func (x *TextView) GetPropertyEditable() bool {
1730 func (x *TextView) SetPropertyImModule(value string) {1730 func (x *TextView) SetPropertyImModule(value string) {
1731 var v gobject.Value1731 var v gobject.Value
1732 v.Init(gobject.TypeStringVal)1732 v.Init(gobject.TypeStringVal)
1733- v.SetString(value)1733+ v.SetString(&value)
1734 x.SetProperty("im-module", &v)1734 x.SetProperty("im-module", &v)
1735 }1735 }
1736 1736
M v4/gtk/gtktogglebutton.go +2 -2
@@ -601,9 +601,9 @@ func (x *ToggleButton) GetActionTargetValue() *glib.Variant {
601 // containing [class@ApplicationWindow] or its associated [class@Application],601 // containing [class@ApplicationWindow] or its associated [class@Application],
602 // respectively. This is the same form used for actions in the [class@Gio.Menu]602 // respectively. This is the same form used for actions in the [class@Gio.Menu]
603 // associated with the window.603 // associated with the window.
604-func (x *ToggleButton) SetActionName(ActionNameVar string) {604+func (x *ToggleButton) SetActionName(ActionNameVar *string) {
605 605
606- XGtkActionableSetActionName(x.GoPointer(), ActionNameVar)606+ XGtkActionableSetActionName(x.GoPointer(), core.NullableStringToPtr(ActionNameVar))
607 607
608 }608 }
609 609
M v4/gtk/gtktooltip.go +9 -9
@@ -88,38 +88,38 @@ func (x *Tooltip) SetIconFromGicon(GiconVar gio.Icon) {
88 88
89 }89 }
90 90
91-var xTooltipSetIconFromIconName func(uintptr, string)91+var xTooltipSetIconFromIconName func(uintptr, uintptr)
92 92
93 // Sets the icon of the tooltip (which is in front of the text) to be93 // Sets the icon of the tooltip (which is in front of the text) to be
94 // the icon indicated by @icon_name with the size indicated94 // the icon indicated by @icon_name with the size indicated
95 // by @size. If @icon_name is %NULL, the image will be hidden.95 // by @size. If @icon_name is %NULL, the image will be hidden.
96-func (x *Tooltip) SetIconFromIconName(IconNameVar string) {96+func (x *Tooltip) SetIconFromIconName(IconNameVar *string) {
97 97
98- xTooltipSetIconFromIconName(x.GoPointer(), IconNameVar)98+ xTooltipSetIconFromIconName(x.GoPointer(), core.NullableStringToPtr(IconNameVar))
99 99
100 }100 }
101 101
102-var xTooltipSetMarkup func(uintptr, string)102+var xTooltipSetMarkup func(uintptr, uintptr)
103 103
104 // Sets the text of the tooltip to be @markup.104 // Sets the text of the tooltip to be @markup.
105 //105 //
106 // The string must be marked up with Pango markup.106 // The string must be marked up with Pango markup.
107 // If @markup is %NULL, the label will be hidden.107 // If @markup is %NULL, the label will be hidden.
108-func (x *Tooltip) SetMarkup(MarkupVar string) {108+func (x *Tooltip) SetMarkup(MarkupVar *string) {
109 109
110- xTooltipSetMarkup(x.GoPointer(), MarkupVar)110+ xTooltipSetMarkup(x.GoPointer(), core.NullableStringToPtr(MarkupVar))
111 111
112 }112 }
113 113
114-var xTooltipSetText func(uintptr, string)114+var xTooltipSetText func(uintptr, uintptr)
115 115
116 // Sets the text of the tooltip to be @text.116 // Sets the text of the tooltip to be @text.
117 //117 //
118 // If @text is %NULL, the label will be hidden.118 // If @text is %NULL, the label will be hidden.
119 // See also [method@Gtk.Tooltip.set_markup].119 // See also [method@Gtk.Tooltip.set_markup].
120-func (x *Tooltip) SetText(TextVar string) {120+func (x *Tooltip) SetText(TextVar *string) {
121 121
122- xTooltipSetText(x.GoPointer(), TextVar)122+ xTooltipSetText(x.GoPointer(), core.NullableStringToPtr(TextVar))
123 123
124 }124 }
125 125
M v4/gtk/gtktreeviewcolumn.go +1 -1
@@ -920,7 +920,7 @@ func (x *TreeViewColumn) GetPropertySpacing() int {
920 func (x *TreeViewColumn) SetPropertyTitle(value string) {920 func (x *TreeViewColumn) SetPropertyTitle(value string) {
921 var v gobject.Value921 var v gobject.Value
922 v.Init(gobject.TypeStringVal)922 v.Init(gobject.TypeStringVal)
923- v.SetString(value)923+ v.SetString(&value)
924 x.SetProperty("title", &v)924 x.SetProperty("title", &v)
925 }925 }
926 926
M v4/gtk/gtkurilauncher.go +7 -7
@@ -50,13 +50,13 @@ func UriLauncherNewFromInternalPtr(ptr uintptr) *UriLauncher {
50 return cls50 return cls
51 }51 }
52 52
53-var xNewUriLauncher func(string) uintptr53+var xNewUriLauncher func(uintptr) uintptr
54 54
55 // Creates a new `GtkUriLauncher` object.55 // Creates a new `GtkUriLauncher` object.
56-func NewUriLauncher(UriVar string) *UriLauncher {56+func NewUriLauncher(UriVar *string) *UriLauncher {
57 var cls *UriLauncher57 var cls *UriLauncher
58 58
59- cret := xNewUriLauncher(UriVar)59+ cret := xNewUriLauncher(core.NullableStringToPtr(UriVar))
60 60
61 if cret == 0 {61 if cret == 0 {
62 return nil62 return nil
@@ -129,12 +129,12 @@ func (x *UriLauncher) LaunchFinish(ResultVar gio.AsyncResult) (bool, error) {
129 129
130 }130 }
131 131
132-var xUriLauncherSetUri func(uintptr, string)132+var xUriLauncherSetUri func(uintptr, uintptr)
133 133
134 // Sets the uri that will be opened.134 // Sets the uri that will be opened.
135-func (x *UriLauncher) SetUri(UriVar string) {135+func (x *UriLauncher) SetUri(UriVar *string) {
136 136
137- xUriLauncherSetUri(x.GoPointer(), UriVar)137+ xUriLauncherSetUri(x.GoPointer(), core.NullableStringToPtr(UriVar))
138 138
139 }139 }
140 140
@@ -154,7 +154,7 @@ func (c *UriLauncher) SetGoPointer(ptr uintptr) {
154 func (x *UriLauncher) SetPropertyUri(value string) {154 func (x *UriLauncher) SetPropertyUri(value string) {
155 var v gobject.Value155 var v gobject.Value
156 v.Init(gobject.TypeStringVal)156 v.Init(gobject.TypeStringVal)
157- v.SetString(value)157+ v.SetString(&value)
158 x.SetProperty("uri", &v)158 x.SetProperty("uri", &v)
159 }159 }
160 160
M v4/gtk/gtkvideo.go +12 -12
@@ -91,16 +91,16 @@ func NewVideoForFile(FileVar gio.File) *Video {
91 return cls91 return cls
92 }92 }
93 93
94-var xNewVideoForFilename func(string) uintptr94+var xNewVideoForFilename func(uintptr) uintptr
95 95
96 // Creates a `GtkVideo` to play back the given @filename.96 // Creates a `GtkVideo` to play back the given @filename.
97 //97 //
98 // This is a utility function that calls [ctor@Gtk.Video.new_for_file],98 // This is a utility function that calls [ctor@Gtk.Video.new_for_file],
99 // See that function for details.99 // See that function for details.
100-func NewVideoForFilename(FilenameVar string) *Video {100+func NewVideoForFilename(FilenameVar *string) *Video {
101 var cls *Video101 var cls *Video
102 102
103- cret := xNewVideoForFilename(FilenameVar)103+ cret := xNewVideoForFilename(core.NullableStringToPtr(FilenameVar))
104 104
105 if cret == 0 {105 if cret == 0 {
106 return nil106 return nil
@@ -128,16 +128,16 @@ func NewVideoForMediaStream(StreamVar *MediaStream) *Video {
128 return cls128 return cls
129 }129 }
130 130
131-var xNewVideoForResource func(string) uintptr131+var xNewVideoForResource func(uintptr) uintptr
132 132
133 // Creates a `GtkVideo` to play back the resource at the133 // Creates a `GtkVideo` to play back the resource at the
134 // given @resource_path.134 // given @resource_path.
135 //135 //
136 // This is a utility function that calls [ctor@Gtk.Video.new_for_file].136 // This is a utility function that calls [ctor@Gtk.Video.new_for_file].
137-func NewVideoForResource(ResourcePathVar string) *Video {137+func NewVideoForResource(ResourcePathVar *string) *Video {
138 var cls *Video138 var cls *Video
139 139
140- cret := xNewVideoForResource(ResourcePathVar)140+ cret := xNewVideoForResource(core.NullableStringToPtr(ResourcePathVar))
141 141
142 if cret == 0 {142 if cret == 0 {
143 return nil143 return nil
@@ -231,14 +231,14 @@ func (x *Video) SetFile(FileVar gio.File) {
231 231
232 }232 }
233 233
234-var xVideoSetFilename func(uintptr, string)234+var xVideoSetFilename func(uintptr, uintptr)
235 235
236 // Makes @self play the given @filename.236 // Makes @self play the given @filename.
237 //237 //
238 // This is a utility function that calls gtk_video_set_file(),238 // This is a utility function that calls gtk_video_set_file(),
239-func (x *Video) SetFilename(FilenameVar string) {239+func (x *Video) SetFilename(FilenameVar *string) {
240 240
241- xVideoSetFilename(x.GoPointer(), FilenameVar)241+ xVideoSetFilename(x.GoPointer(), core.NullableStringToPtr(FilenameVar))
242 242
243 }243 }
244 244
@@ -278,14 +278,14 @@ func (x *Video) SetMediaStream(StreamVar *MediaStream) {
278 278
279 }279 }
280 280
281-var xVideoSetResource func(uintptr, string)281+var xVideoSetResource func(uintptr, uintptr)
282 282
283 // Makes @self play the resource at the given @resource_path.283 // Makes @self play the resource at the given @resource_path.
284 //284 //
285 // This is a utility function that calls [method@Gtk.Video.set_file].285 // This is a utility function that calls [method@Gtk.Video.set_file].
286-func (x *Video) SetResource(ResourcePathVar string) {286+func (x *Video) SetResource(ResourcePathVar *string) {
287 287
288- xVideoSetResource(x.GoPointer(), ResourcePathVar)288+ xVideoSetResource(x.GoPointer(), core.NullableStringToPtr(ResourcePathVar))
289 289
290 }290 }
291 291
M v4/gtk/gtkwidget.go +31 -31
@@ -144,7 +144,7 @@ func (x *WidgetClass) GoPointer() uintptr {
144 return uintptr(unsafe.Pointer(x))144 return uintptr(unsafe.Pointer(x))
145 }145 }
146 146
147-var xWidgetClassAddBinding func(uintptr, uint, gdk.ModifierType, uintptr, string, ...interface{})147+var xWidgetClassAddBinding func(uintptr, uint, gdk.ModifierType, uintptr, uintptr, ...interface{})
148 148
149 // Creates a new shortcut for @widget_class that calls the given @callback149 // Creates a new shortcut for @widget_class that calls the given @callback
150 // with arguments according to @format_string.150 // with arguments according to @format_string.
@@ -157,7 +157,7 @@ var xWidgetClassAddBinding func(uintptr, uint, gdk.ModifierType, uintptr, string
157 // initialization. It does not provide for user data, if you need that,157 // initialization. It does not provide for user data, if you need that,
158 // you will have to use [method@Gtk.WidgetClass.add_shortcut] with a custom158 // you will have to use [method@Gtk.WidgetClass.add_shortcut] with a custom
159 // shortcut.159 // shortcut.
160-func (x *WidgetClass) AddBinding(KeyvalVar uint, ModsVar gdk.ModifierType, CallbackVar *ShortcutFunc, FormatStringVar string, varArgs ...interface{}) {160+func (x *WidgetClass) AddBinding(KeyvalVar uint, ModsVar gdk.ModifierType, CallbackVar *ShortcutFunc, FormatStringVar *string, varArgs ...interface{}) {
161 161
162 var CallbackVarRef uintptr162 var CallbackVarRef uintptr
163 if CallbackVar != nil {163 if CallbackVar != nil {
@@ -174,11 +174,11 @@ func (x *WidgetClass) AddBinding(KeyvalVar uint, ModsVar gdk.ModifierType, Callb
174 }174 }
175 }175 }
176 176
177- xWidgetClassAddBinding(x.GoPointer(), KeyvalVar, ModsVar, CallbackVarRef, FormatStringVar, varArgs...)177+ xWidgetClassAddBinding(x.GoPointer(), KeyvalVar, ModsVar, CallbackVarRef, core.NullableStringToPtr(FormatStringVar), varArgs...)
178 178
179 }179 }
180 180
181-var xWidgetClassAddBindingAction func(uintptr, uint, gdk.ModifierType, string, string, ...interface{})181+var xWidgetClassAddBindingAction func(uintptr, uint, gdk.ModifierType, string, uintptr, ...interface{})
182 182
183 // Creates a new shortcut for @widget_class that activates the given183 // Creates a new shortcut for @widget_class that activates the given
184 // @action_name with arguments read according to @format_string.184 // @action_name with arguments read according to @format_string.
@@ -189,13 +189,13 @@ var xWidgetClassAddBindingAction func(uintptr, uint, gdk.ModifierType, string, s
189 // This function is a convenience wrapper around189 // This function is a convenience wrapper around
190 // [method@Gtk.WidgetClass.add_shortcut] and must be called during class190 // [method@Gtk.WidgetClass.add_shortcut] and must be called during class
191 // initialization.191 // initialization.
192-func (x *WidgetClass) AddBindingAction(KeyvalVar uint, ModsVar gdk.ModifierType, ActionNameVar string, FormatStringVar string, varArgs ...interface{}) {192+func (x *WidgetClass) AddBindingAction(KeyvalVar uint, ModsVar gdk.ModifierType, ActionNameVar string, FormatStringVar *string, varArgs ...interface{}) {
193 193
194- xWidgetClassAddBindingAction(x.GoPointer(), KeyvalVar, ModsVar, ActionNameVar, FormatStringVar, varArgs...)194+ xWidgetClassAddBindingAction(x.GoPointer(), KeyvalVar, ModsVar, ActionNameVar, core.NullableStringToPtr(FormatStringVar), varArgs...)
195 195
196 }196 }
197 197
198-var xWidgetClassAddBindingSignal func(uintptr, uint, gdk.ModifierType, string, string, ...interface{})198+var xWidgetClassAddBindingSignal func(uintptr, uint, gdk.ModifierType, string, uintptr, ...interface{})
199 199
200 // Creates a new shortcut for @widget_class that emits the given action200 // Creates a new shortcut for @widget_class that emits the given action
201 // @signal with arguments read according to @format_string.201 // @signal with arguments read according to @format_string.
@@ -206,9 +206,9 @@ var xWidgetClassAddBindingSignal func(uintptr, uint, gdk.ModifierType, string, s
206 // This function is a convenience wrapper around206 // This function is a convenience wrapper around
207 // [method@Gtk.WidgetClass.add_shortcut] and must be called during class207 // [method@Gtk.WidgetClass.add_shortcut] and must be called during class
208 // initialization.208 // initialization.
209-func (x *WidgetClass) AddBindingSignal(KeyvalVar uint, ModsVar gdk.ModifierType, SignalVar string, FormatStringVar string, varArgs ...interface{}) {209+func (x *WidgetClass) AddBindingSignal(KeyvalVar uint, ModsVar gdk.ModifierType, SignalVar string, FormatStringVar *string, varArgs ...interface{}) {
210 210
211- xWidgetClassAddBindingSignal(x.GoPointer(), KeyvalVar, ModsVar, SignalVar, FormatStringVar, varArgs...)211+ xWidgetClassAddBindingSignal(x.GoPointer(), KeyvalVar, ModsVar, SignalVar, core.NullableStringToPtr(FormatStringVar), varArgs...)
212 212
213 }213 }
214 214
@@ -347,7 +347,7 @@ func (x *WidgetClass) GetLayoutManagerType() types.GType {
347 return cret347 return cret
348 }348 }
349 349
350-var xWidgetClassInstallAction func(uintptr, string, string, uintptr)350+var xWidgetClassInstallAction func(uintptr, string, uintptr, uintptr)
351 351
352 // Adds an action for all instances of a widget class.352 // Adds an action for all instances of a widget class.
353 //353 //
@@ -356,7 +356,7 @@ var xWidgetClassInstallAction func(uintptr, string, string, uintptr)
356 // Actions installed by this function are stateless. The only state356 // Actions installed by this function are stateless. The only state
357 // they have is whether they are enabled or not (which can be changed357 // they have is whether they are enabled or not (which can be changed
358 // with [method@Gtk.Widget.action_set_enabled]).358 // with [method@Gtk.Widget.action_set_enabled]).
359-func (x *WidgetClass) InstallAction(ActionNameVar string, ParameterTypeVar string, ActivateVar *WidgetActionActivateFunc) {359+func (x *WidgetClass) InstallAction(ActionNameVar string, ParameterTypeVar *string, ActivateVar *WidgetActionActivateFunc) {
360 360
361 var ActivateVarRef uintptr361 var ActivateVarRef uintptr
362 if ActivateVar != nil {362 if ActivateVar != nil {
@@ -373,7 +373,7 @@ func (x *WidgetClass) InstallAction(ActionNameVar string, ParameterTypeVar strin
373 }373 }
374 }374 }
375 375
376- xWidgetClassInstallAction(x.GoPointer(), ActionNameVar, ParameterTypeVar, ActivateVarRef)376+ xWidgetClassInstallAction(x.GoPointer(), ActionNameVar, core.NullableStringToPtr(ParameterTypeVar), ActivateVarRef)
377 377
378 }378 }
379 379
@@ -1755,7 +1755,7 @@ func (x *Widget) Activate() bool {
1755 return cret1755 return cret
1756 }1756 }
1757 1757
1758-var xWidgetActivateAction func(uintptr, string, string, ...interface{}) bool1758+var xWidgetActivateAction func(uintptr, string, uintptr, ...interface{}) bool
1759 1759
1760 // Activates an action for the widget.1760 // Activates an action for the widget.
1761 //1761 //
@@ -1764,9 +1764,9 @@ var xWidgetActivateAction func(uintptr, string, string, ...interface{}) bool
1764 //1764 //
1765 // This is a wrapper around [method@Gtk.Widget.activate_action_variant]1765 // This is a wrapper around [method@Gtk.Widget.activate_action_variant]
1766 // that constructs the @args variant according to @format_string.1766 // that constructs the @args variant according to @format_string.
1767-func (x *Widget) ActivateAction(NameVar string, FormatStringVar string, varArgs ...interface{}) bool {1767+func (x *Widget) ActivateAction(NameVar string, FormatStringVar *string, varArgs ...interface{}) bool {
1768 1768
1769- cret := xWidgetActivateAction(x.GoPointer(), NameVar, FormatStringVar, varArgs...)1769+ cret := xWidgetActivateAction(x.GoPointer(), NameVar, core.NullableStringToPtr(FormatStringVar), varArgs...)
1770 return cret1770 return cret
1771 }1771 }
1772 1772
@@ -2063,7 +2063,7 @@ func (x *Widget) CreatePangoContext() *pango.Context {
2063 return cls2063 return cls
2064 }2064 }
2065 2065
2066-var xWidgetCreatePangoLayout func(uintptr, string) uintptr2066+var xWidgetCreatePangoLayout func(uintptr, uintptr) uintptr
2067 2067
2068 // Creates a new `PangoLayout` that is configured for the widget.2068 // Creates a new `PangoLayout` that is configured for the widget.
2069 //2069 //
@@ -2074,10 +2074,10 @@ var xWidgetCreatePangoLayout func(uintptr, string) uintptr
2074 // you need to re-create it when the widgets `PangoContext`2074 // you need to re-create it when the widgets `PangoContext`
2075 // is replaced. This can be tracked by listening to changes2075 // is replaced. This can be tracked by listening to changes
2076 // of the [property@Gtk.Widget:root] property on the widget.2076 // of the [property@Gtk.Widget:root] property on the widget.
2077-func (x *Widget) CreatePangoLayout(TextVar string) *pango.Layout {2077+func (x *Widget) CreatePangoLayout(TextVar *string) *pango.Layout {
2078 var cls *pango.Layout2078 var cls *pango.Layout
2079 2079
2080- cret := xWidgetCreatePangoLayout(x.GoPointer(), TextVar)2080+ cret := xWidgetCreatePangoLayout(x.GoPointer(), core.NullableStringToPtr(TextVar))
2081 2081
2082 if cret == 0 {2082 if cret == 0 {
2083 return nil2083 return nil
@@ -3807,7 +3807,7 @@ func (x *Widget) SetCursor(CursorVar *gdk.Cursor) {
3807 3807
3808 }3808 }
3809 3809
3810-var xWidgetSetCursorFromName func(uintptr, string)3810+var xWidgetSetCursorFromName func(uintptr, uintptr)
3811 3811
3812 // Sets the cursor to be shown when the pointer hovers over3812 // Sets the cursor to be shown when the pointer hovers over
3813 // the widget.3813 // the widget.
@@ -3820,9 +3820,9 @@ var xWidgetSetCursorFromName func(uintptr, string)
3820 // On top of that, this function allows @name to be `NULL`, which3820 // On top of that, this function allows @name to be `NULL`, which
3821 // will do the same as calling [method@Gtk.Widget.set_cursor]3821 // will do the same as calling [method@Gtk.Widget.set_cursor]
3822 // with a `NULL` cursor.3822 // with a `NULL` cursor.
3823-func (x *Widget) SetCursorFromName(NameVar string) {3823+func (x *Widget) SetCursorFromName(NameVar *string) {
3824 3824
3825- xWidgetSetCursorFromName(x.GoPointer(), NameVar)3825+ xWidgetSetCursorFromName(x.GoPointer(), core.NullableStringToPtr(NameVar))
3826 3826
3827 }3827 }
3828 3828
@@ -4223,7 +4223,7 @@ func (x *Widget) SetStateFlags(FlagsVar StateFlags, ClearVar bool) {
4223 4223
4224 }4224 }
4225 4225
4226-var xWidgetSetTooltipMarkup func(uintptr, string)4226+var xWidgetSetTooltipMarkup func(uintptr, uintptr)
4227 4227
4228 // Sets the contents of the tooltip for widget.4228 // Sets the contents of the tooltip for widget.
4229 //4229 //
@@ -4234,13 +4234,13 @@ var xWidgetSetTooltipMarkup func(uintptr, string)
4234 // default handler for the [signal@Gtk.Widget::query-tooltip] signal.4234 // default handler for the [signal@Gtk.Widget::query-tooltip] signal.
4235 //4235 //
4236 // See also [method@Gtk.Tooltip.set_markup].4236 // See also [method@Gtk.Tooltip.set_markup].
4237-func (x *Widget) SetTooltipMarkup(MarkupVar string) {4237+func (x *Widget) SetTooltipMarkup(MarkupVar *string) {
4238 4238
4239- xWidgetSetTooltipMarkup(x.GoPointer(), MarkupVar)4239+ xWidgetSetTooltipMarkup(x.GoPointer(), core.NullableStringToPtr(MarkupVar))
4240 4240
4241 }4241 }
4242 4242
4243-var xWidgetSetTooltipText func(uintptr, string)4243+var xWidgetSetTooltipText func(uintptr, uintptr)
4244 4244
4245 // Sets the contents of the tooltip for the widget.4245 // Sets the contents of the tooltip for the widget.
4246 //4246 //
@@ -4252,9 +4252,9 @@ var xWidgetSetTooltipText func(uintptr, string)
4252 // [signal@Gtk.Widget::query-tooltip] signal.4252 // [signal@Gtk.Widget::query-tooltip] signal.
4253 //4253 //
4254 // See also [method@Gtk.Tooltip.set_text].4254 // See also [method@Gtk.Tooltip.set_text].
4255-func (x *Widget) SetTooltipText(TextVar string) {4255+func (x *Widget) SetTooltipText(TextVar *string) {
4256 4256
4257- xWidgetSetTooltipText(x.GoPointer(), TextVar)4257+ xWidgetSetTooltipText(x.GoPointer(), core.NullableStringToPtr(TextVar))
4258 4258
4259 }4259 }
4260 4260
@@ -4518,7 +4518,7 @@ func (x *Widget) GetPropertyCssClasses() []string {
4518 func (x *Widget) SetPropertyCssName(value string) {4518 func (x *Widget) SetPropertyCssName(value string) {
4519 var v gobject.Value4519 var v gobject.Value
4520 v.Init(gobject.TypeStringVal)4520 v.Init(gobject.TypeStringVal)
4521- v.SetString(value)4521+ v.SetString(&value)
4522 x.SetProperty("css-name", &v)4522 x.SetProperty("css-name", &v)
4523 }4523 }
4524 4524
@@ -4813,7 +4813,7 @@ func (x *Widget) GetPropertyMarginTop() int {
4813 func (x *Widget) SetPropertyName(value string) {4813 func (x *Widget) SetPropertyName(value string) {
4814 var v gobject.Value4814 var v gobject.Value
4815 v.Init(gobject.TypeStringVal)4815 v.Init(gobject.TypeStringVal)
4816- v.SetString(value)4816+ v.SetString(&value)
4817 x.SetProperty("name", &v)4817 x.SetProperty("name", &v)
4818 }4818 }
4819 4819
@@ -4901,7 +4901,7 @@ func (x *Widget) GetPropertySensitive() bool {
4901 func (x *Widget) SetPropertyTooltipMarkup(value string) {4901 func (x *Widget) SetPropertyTooltipMarkup(value string) {
4902 var v gobject.Value4902 var v gobject.Value
4903 v.Init(gobject.TypeStringVal)4903 v.Init(gobject.TypeStringVal)
4904- v.SetString(value)4904+ v.SetString(&value)
4905 x.SetProperty("tooltip-markup", &v)4905 x.SetProperty("tooltip-markup", &v)
4906 }4906 }
4907 4907
@@ -4941,7 +4941,7 @@ func (x *Widget) GetPropertyTooltipMarkup() string {
4941 func (x *Widget) SetPropertyTooltipText(value string) {4941 func (x *Widget) SetPropertyTooltipText(value string) {
4942 var v gobject.Value4942 var v gobject.Value
4943 v.Init(gobject.TypeStringVal)4943 v.Init(gobject.TypeStringVal)
4944- v.SetString(value)4944+ v.SetString(&value)
4945 x.SetProperty("tooltip-text", &v)4945 x.SetProperty("tooltip-text", &v)
4946 }4946 }
4947 4947
M v4/gtk/gtkwindow.go +9 -9
@@ -1017,7 +1017,7 @@ func (x *Window) SetHideOnClose(SettingVar bool) {
1017 1017
1018 }1018 }
1019 1019
1020-var xWindowSetIconName func(uintptr, string)1020+var xWindowSetIconName func(uintptr, uintptr)
1021 1021
1022 // Sets the icon for the window from a named themed icon.1022 // Sets the icon for the window from a named themed icon.
1023 //1023 //
@@ -1026,9 +1026,9 @@ var xWindowSetIconName func(uintptr, string)
1026 //1026 //
1027 // Note that this has nothing to do with the WM_ICON_NAME1027 // Note that this has nothing to do with the WM_ICON_NAME
1028 // property which is mentioned in the ICCCM.1028 // property which is mentioned in the ICCCM.
1029-func (x *Window) SetIconName(NameVar string) {1029+func (x *Window) SetIconName(NameVar *string) {
1030 1030
1031- xWindowSetIconName(x.GoPointer(), NameVar)1031+ xWindowSetIconName(x.GoPointer(), core.NullableStringToPtr(NameVar))
1032 1032
1033 }1033 }
1034 1034
@@ -1093,7 +1093,7 @@ func (x *Window) SetStartupId(StartupIdVar string) {
1093 1093
1094 }1094 }
1095 1095
1096-var xWindowSetTitle func(uintptr, string)1096+var xWindowSetTitle func(uintptr, uintptr)
1097 1097
1098 // Sets the title of the window.1098 // Sets the title of the window.
1099 //1099 //
@@ -1105,9 +1105,9 @@ var xWindowSetTitle func(uintptr, string)
1105 // include the application name and current document filename, for example.1105 // include the application name and current document filename, for example.
1106 //1106 //
1107 // Passing `NULL` does the same as setting the title to an empty string.1107 // Passing `NULL` does the same as setting the title to an empty string.
1108-func (x *Window) SetTitle(TitleVar string) {1108+func (x *Window) SetTitle(TitleVar *string) {
1109 1109
1110- xWindowSetTitle(x.GoPointer(), TitleVar)1110+ xWindowSetTitle(x.GoPointer(), core.NullableStringToPtr(TitleVar))
1111 1111
1112 }1112 }
1113 1113
@@ -1409,7 +1409,7 @@ func (x *Window) GetPropertyHideOnClose() bool {
1409 func (x *Window) SetPropertyIconName(value string) {1409 func (x *Window) SetPropertyIconName(value string) {
1410 var v gobject.Value1410 var v gobject.Value
1411 v.Init(gobject.TypeStringVal)1411 v.Init(gobject.TypeStringVal)
1412- v.SetString(value)1412+ v.SetString(&value)
1413 x.SetProperty("icon-name", &v)1413 x.SetProperty("icon-name", &v)
1414 }1414 }
1415 1415
@@ -1522,7 +1522,7 @@ func (x *Window) GetPropertyResizable() bool {
1522 func (x *Window) SetPropertyStartupId(value string) {1522 func (x *Window) SetPropertyStartupId(value string) {
1523 var v gobject.Value1523 var v gobject.Value
1524 v.Init(gobject.TypeStringVal)1524 v.Init(gobject.TypeStringVal)
1525- v.SetString(value)1525+ v.SetString(&value)
1526 x.SetProperty("startup-id", &v)1526 x.SetProperty("startup-id", &v)
1527 }1527 }
1528 1528
@@ -1541,7 +1541,7 @@ func (x *Window) GetPropertySuspended() bool {
1541 func (x *Window) SetPropertyTitle(value string) {1541 func (x *Window) SetPropertyTitle(value string) {
1542 var v gobject.Value1542 var v gobject.Value
1543 v.Init(gobject.TypeStringVal)1543 v.Init(gobject.TypeStringVal)
1544- v.SetString(value)1544+ v.SetString(&value)
1545 x.SetProperty("title", &v)1545 x.SetProperty("title", &v)
1546 }1546 }
1547 1547
M v4/gtk/gtkwindowcontrols.go +4 -4
@@ -147,7 +147,7 @@ func (x *WindowControls) GetUseNativeControls() bool {
147 return cret147 return cret
148 }148 }
149 149
150-var xWindowControlsSetDecorationLayout func(uintptr, string)150+var xWindowControlsSetDecorationLayout func(uintptr, uintptr)
151 151
152 // Sets the decoration layout for the title buttons.152 // Sets the decoration layout for the title buttons.
153 //153 //
@@ -164,9 +164,9 @@ var xWindowControlsSetDecorationLayout func(uintptr, string)
164 //164 //
165 // If [property@Gtk.WindowControls:side] value is [enum@Gtk.PackType.start],165 // If [property@Gtk.WindowControls:side] value is [enum@Gtk.PackType.start],
166 // @self will display the part before the colon, otherwise after that.166 // @self will display the part before the colon, otherwise after that.
167-func (x *WindowControls) SetDecorationLayout(LayoutVar string) {167+func (x *WindowControls) SetDecorationLayout(LayoutVar *string) {
168 168
169- xWindowControlsSetDecorationLayout(x.GoPointer(), LayoutVar)169+ xWindowControlsSetDecorationLayout(x.GoPointer(), core.NullableStringToPtr(LayoutVar))
170 170
171 }171 }
172 172
@@ -215,7 +215,7 @@ func (c *WindowControls) SetGoPointer(ptr uintptr) {
215 func (x *WindowControls) SetPropertyDecorationLayout(value string) {215 func (x *WindowControls) SetPropertyDecorationLayout(value string) {
216 var v gobject.Value216 var v gobject.Value
217 v.Init(gobject.TypeStringVal)217 v.Init(gobject.TypeStringVal)
218- v.SetString(value)218+ v.SetString(&value)
219 x.SetProperty("decoration-layout", &v)219 x.SetProperty("decoration-layout", &v)
220 }220 }
221 221
M v4/pango/pango-font.go +9 -9
@@ -568,7 +568,7 @@ func (x *FontDescription) SetFamilyStatic(FamilyVar string) {
568 568
569 }569 }
570 570
571-var xFontDescriptionSetFeatures func(uintptr, string)571+var xFontDescriptionSetFeatures func(uintptr, uintptr)
572 572
573 // Sets the features field of a font description.573 // Sets the features field of a font description.
574 //574 //
@@ -594,9 +594,9 @@ var xFontDescriptionSetFeatures func(uintptr, string)
594 // [hb_ot_layout_table_get_feature_tags](https://harfbuzz.github.io/harfbuzz-hb-ot-layout.html#hb-ot-layout-table-get-feature-tags).594 // [hb_ot_layout_table_get_feature_tags](https://harfbuzz.github.io/harfbuzz-hb-ot-layout.html#hb-ot-layout-table-get-feature-tags).
595 //595 //
596 // Features that are not supported by the font are silently ignored.596 // Features that are not supported by the font are silently ignored.
597-func (x *FontDescription) SetFeatures(FeaturesVar string) {597+func (x *FontDescription) SetFeatures(FeaturesVar *string) {
598 598
599- xFontDescriptionSetFeatures(x.GoPointer(), FeaturesVar)599+ xFontDescriptionSetFeatures(x.GoPointer(), core.NullableStringToPtr(FeaturesVar))
600 600
601 }601 }
602 602
@@ -687,7 +687,7 @@ func (x *FontDescription) SetVariant(VariantVar Variant) {
687 687
688 }688 }
689 689
690-var xFontDescriptionSetVariations func(uintptr, string)690+var xFontDescriptionSetVariations func(uintptr, uintptr)
691 691
692 // Sets the variations field of a font description.692 // Sets the variations field of a font description.
693 //693 //
@@ -705,9 +705,9 @@ var xFontDescriptionSetVariations func(uintptr, string)
705 // Pango does not currently have a way to find supported axes of705 // Pango does not currently have a way to find supported axes of
706 // a font. Both harfbuzz and freetype have API for this. See706 // a font. Both harfbuzz and freetype have API for this. See
707 // for example [hb_ot_var_get_axis_infos](https://harfbuzz.github.io/harfbuzz-hb-ot-var.html#hb-ot-var-get-axis-infos).707 // for example [hb_ot_var_get_axis_infos](https://harfbuzz.github.io/harfbuzz-hb-ot-var.html#hb-ot-var-get-axis-infos).
708-func (x *FontDescription) SetVariations(VariationsVar string) {708+func (x *FontDescription) SetVariations(VariationsVar *string) {
709 709
710- xFontDescriptionSetVariations(x.GoPointer(), VariationsVar)710+ xFontDescriptionSetVariations(x.GoPointer(), core.NullableStringToPtr(VariationsVar))
711 711
712 }712 }
713 713
@@ -1965,13 +1965,13 @@ func FontFamilyNewFromInternalPtr(ptr uintptr) *FontFamily {
1965 return cls1965 return cls
1966 }1966 }
1967 1967
1968-var xFontFamilyGetFace func(uintptr, string) uintptr1968+var xFontFamilyGetFace func(uintptr, uintptr) uintptr
1969 1969
1970 // Gets the `PangoFontFace` of @family with the given name.1970 // Gets the `PangoFontFace` of @family with the given name.
1971-func (x *FontFamily) GetFace(NameVar string) *FontFace {1971+func (x *FontFamily) GetFace(NameVar *string) *FontFace {
1972 var cls *FontFace1972 var cls *FontFace
1973 1973
1974- cret := xFontFamilyGetFace(x.GoPointer(), NameVar)1974+ cret := xFontFamilyGetFace(x.GoPointer(), core.NullableStringToPtr(NameVar))
1975 1975
1976 if cret == 0 {1976 if cret == 0 {
1977 return nil1977 return nil
M v4/pango/pango-fontmap.go +3 -3
@@ -421,7 +421,7 @@ func (x *FontMap) LoadFontset(ContextVar *Context, DescVar *FontDescription, Lan
421 return cls421 return cls
422 }422 }
423 423
424-var xFontMapReloadFont func(uintptr, uintptr, float64, uintptr, string) uintptr424+var xFontMapReloadFont func(uintptr, uintptr, float64, uintptr, uintptr) uintptr
425 425
426 // Returns a new font that is like @font, except that it is scaled426 // Returns a new font that is like @font, except that it is scaled
427 // by @scale, its backend-dependent configuration (e.g. cairo font options)427 // by @scale, its backend-dependent configuration (e.g. cairo font options)
@@ -431,10 +431,10 @@ var xFontMapReloadFont func(uintptr, uintptr, float64, uintptr, string) uintptr
431 // Note that the scaling here is meant to be linear, so this431 // Note that the scaling here is meant to be linear, so this
432 // scaling can be used to render a font on a hi-dpi display432 // scaling can be used to render a font on a hi-dpi display
433 // without changing its optical size.433 // without changing its optical size.
434-func (x *FontMap) ReloadFont(FontVar *Font, ScaleVar float64, ContextVar *Context, VariationsVar string) *Font {434+func (x *FontMap) ReloadFont(FontVar *Font, ScaleVar float64, ContextVar *Context, VariationsVar *string) *Font {
435 var cls *Font435 var cls *Font
436 436
437- cret := xFontMapReloadFont(x.GoPointer(), FontVar.GoPointer(), ScaleVar, ContextVar.GoPointer(), VariationsVar)437+ cret := xFontMapReloadFont(x.GoPointer(), FontVar.GoPointer(), ScaleVar, ContextVar.GoPointer(), core.NullableStringToPtr(VariationsVar))
438 438
439 if cret == 0 {439 if cret == 0 {
440 return nil440 return nil
M v4/pango/pango-glyph.go +9 -9
@@ -307,7 +307,7 @@ func Shape(TextVar string, LengthVar int, AnalysisVar *Analysis, GlyphsVar *Glyp
307 307
308 }308 }
309 309
310-var xShapeFull func(string, int, string, int, *Analysis, *GlyphString)310+var xShapeFull func(string, int, uintptr, int, *Analysis, *GlyphString)
311 311
312 // Convert the characters in @text into glyphs.312 // Convert the characters in @text into glyphs.
313 //313 //
@@ -330,13 +330,13 @@ var xShapeFull func(string, int, string, int, *Analysis, *GlyphString)
330 // so you do not pass the full paragraph text as @paragraph_text, you need330 // so you do not pass the full paragraph text as @paragraph_text, you need
331 // to subtract the item offset from their indices before calling331 // to subtract the item offset from their indices before calling
332 // [func@Pango.shape_full].332 // [func@Pango.shape_full].
333-func ShapeFull(ItemTextVar string, ItemLengthVar int, ParagraphTextVar string, ParagraphLengthVar int, AnalysisVar *Analysis, GlyphsVar *GlyphString) {333+func ShapeFull(ItemTextVar string, ItemLengthVar int, ParagraphTextVar *string, ParagraphLengthVar int, AnalysisVar *Analysis, GlyphsVar *GlyphString) {
334 334
335- xShapeFull(ItemTextVar, ItemLengthVar, ParagraphTextVar, ParagraphLengthVar, AnalysisVar, GlyphsVar)335+ xShapeFull(ItemTextVar, ItemLengthVar, core.NullableStringToPtr(ParagraphTextVar), ParagraphLengthVar, AnalysisVar, GlyphsVar)
336 336
337 }337 }
338 338
339-var xShapeItem func(*Item, string, int, *LogAttr, *GlyphString, ShapeFlags)339+var xShapeItem func(*Item, uintptr, int, *LogAttr, *GlyphString, ShapeFlags)
340 340
341 // Convert the characters in @item into glyphs.341 // Convert the characters in @item into glyphs.
342 //342 //
@@ -351,13 +351,13 @@ var xShapeItem func(*Item, string, int, *LogAttr, *GlyphString, ShapeFlags)
351 // so you do not pass the full paragraph text as @paragraph_text, you need351 // so you do not pass the full paragraph text as @paragraph_text, you need
352 // to subtract the item offset from their indices before calling352 // to subtract the item offset from their indices before calling
353 // [func@Pango.shape_with_flags].353 // [func@Pango.shape_with_flags].
354-func ShapeItem(ItemVar *Item, ParagraphTextVar string, ParagraphLengthVar int, LogAttrsVar *LogAttr, GlyphsVar *GlyphString, FlagsVar ShapeFlags) {354+func ShapeItem(ItemVar *Item, ParagraphTextVar *string, ParagraphLengthVar int, LogAttrsVar *LogAttr, GlyphsVar *GlyphString, FlagsVar ShapeFlags) {
355 355
356- xShapeItem(ItemVar, ParagraphTextVar, ParagraphLengthVar, LogAttrsVar, GlyphsVar, FlagsVar)356+ xShapeItem(ItemVar, core.NullableStringToPtr(ParagraphTextVar), ParagraphLengthVar, LogAttrsVar, GlyphsVar, FlagsVar)
357 357
358 }358 }
359 359
360-var xShapeWithFlags func(string, int, string, int, *Analysis, *GlyphString, ShapeFlags)360+var xShapeWithFlags func(string, int, uintptr, int, *Analysis, *GlyphString, ShapeFlags)
361 361
362 // Convert the characters in @text into glyphs.362 // Convert the characters in @text into glyphs.
363 //363 //
@@ -377,9 +377,9 @@ var xShapeWithFlags func(string, int, string, int, *Analysis, *GlyphString, Shap
377 // so you do not pass the full paragraph text as @paragraph_text, you need377 // so you do not pass the full paragraph text as @paragraph_text, you need
378 // to subtract the item offset from their indices before calling378 // to subtract the item offset from their indices before calling
379 // [func@Pango.shape_with_flags].379 // [func@Pango.shape_with_flags].
380-func ShapeWithFlags(ItemTextVar string, ItemLengthVar int, ParagraphTextVar string, ParagraphLengthVar int, AnalysisVar *Analysis, GlyphsVar *GlyphString, FlagsVar ShapeFlags) {380+func ShapeWithFlags(ItemTextVar string, ItemLengthVar int, ParagraphTextVar *string, ParagraphLengthVar int, AnalysisVar *Analysis, GlyphsVar *GlyphString, FlagsVar ShapeFlags) {
381 381
382- xShapeWithFlags(ItemTextVar, ItemLengthVar, ParagraphTextVar, ParagraphLengthVar, AnalysisVar, GlyphsVar, FlagsVar)382+ xShapeWithFlags(ItemTextVar, ItemLengthVar, core.NullableStringToPtr(ParagraphTextVar), ParagraphLengthVar, AnalysisVar, GlyphsVar, FlagsVar)
383 383
384 }384 }
385 385
M v4/pango/pango-language.go +3 -3
@@ -6,7 +6,7 @@ import (
6 "github.com/jwijenbergh/puregotk/pkg/core"6 "github.com/jwijenbergh/puregotk/pkg/core"
7 )7 )
8 8
9-var xLanguageFromString func(string) *Language9+var xLanguageFromString func(uintptr) *Language
10 10
11 // Convert a language tag to a `PangoLanguage`.11 // Convert a language tag to a `PangoLanguage`.
12 //12 //
@@ -20,9 +20,9 @@ var xLanguageFromString func(string) *Language
20 //20 //
21 // Use [func@Pango.Language.get_default] if you want to get the21 // Use [func@Pango.Language.get_default] if you want to get the
22 // `PangoLanguage` for the current locale of the process.22 // `PangoLanguage` for the current locale of the process.
23-func LanguageFromString(LanguageVar string) *Language {23+func LanguageFromString(LanguageVar *string) *Language {
24 24
25- cret := xLanguageFromString(LanguageVar)25+ cret := xLanguageFromString(core.NullableStringToPtr(LanguageVar))
26 return cret26 return cret
27 }27 }
28 28
M v4/pango/pango-renderer.go +3 -3
@@ -531,7 +531,7 @@ func (x *Renderer) DrawGlyph(FontVar *Font, GlyphVar Glyph, XVar float64, YVar f
531 531
532 }532 }
533 533
534-var xRendererDrawGlyphItem func(uintptr, string, *GlyphItem, int, int)534+var xRendererDrawGlyphItem func(uintptr, uintptr, *GlyphItem, int, int)
535 535
536 // Draws the glyphs in @glyph_item with the specified `PangoRenderer`,536 // Draws the glyphs in @glyph_item with the specified `PangoRenderer`,
537 // embedding the text associated with the glyphs in the output if the537 // embedding the text associated with the glyphs in the output if the
@@ -551,9 +551,9 @@ var xRendererDrawGlyphItem func(uintptr, string, *GlyphItem, int, int)
551 //551 //
552 // The default implementation of this method simply falls back to552 // The default implementation of this method simply falls back to
553 // [method@Pango.Renderer.draw_glyphs].553 // [method@Pango.Renderer.draw_glyphs].
554-func (x *Renderer) DrawGlyphItem(TextVar string, GlyphItemVar *GlyphItem, XVar int, YVar int) {554+func (x *Renderer) DrawGlyphItem(TextVar *string, GlyphItemVar *GlyphItem, XVar int, YVar int) {
555 555
556- xRendererDrawGlyphItem(x.GoPointer(), TextVar, GlyphItemVar, XVar, YVar)556+ xRendererDrawGlyphItem(x.GoPointer(), core.NullableStringToPtr(TextVar), GlyphItemVar, XVar, YVar)
557 557
558 }558 }
559 559
M v4/pango/pango-utils.go +3 -3
@@ -59,7 +59,7 @@ func Log2visGetEmbeddingLevels(TextVar string, LengthVar int, PbaseDirVar *Direc
59 return cret59 return cret
60 }60 }
61 61
62-var xParseEnum func(types.GType, string, *int, bool, *string) bool62+var xParseEnum func(types.GType, uintptr, *int, bool, *string) bool
63 63
64 // Parses an enum type and stores the result in @value.64 // Parses an enum type and stores the result in @value.
65 //65 //
@@ -71,9 +71,9 @@ var xParseEnum func(types.GType, string, *int, bool, *string) bool
71 //71 //
72 // If failed and @possible_values is not %NULL, returned string should72 // If failed and @possible_values is not %NULL, returned string should
73 // be freed using g_free().73 // be freed using g_free().
74-func ParseEnum(TypeVar types.GType, StrVar string, ValueVar *int, WarnVar bool, PossibleValuesVar *string) bool {74+func ParseEnum(TypeVar types.GType, StrVar *string, ValueVar *int, WarnVar bool, PossibleValuesVar *string) bool {
75 75
76- cret := xParseEnum(TypeVar, StrVar, ValueVar, WarnVar, PossibleValuesVar)76+ cret := xParseEnum(TypeVar, core.NullableStringToPtr(StrVar), ValueVar, WarnVar, PossibleValuesVar)
77 return cret77 return cret
78 }78 }
79 79

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