detached 45b5ee0

Merge pull request #344 from bnema/chore/upstream-foundations

chore(deps): integrate approved upstream foundations
commit
45b5ee02d70d8fc7b30a18e2b5f30c2c77afb1f2
author
bnema · · 2026-07-14 17:16 UTC
committer
GitHub · · 2026-07-14 17:16 UTC
merge of
41933ea + a161e34 · diff against the first parent
signature
GPG UnverifiedB5690EEEBB952194 The key is unknown
921 files · +28709 -25527
M docs/first-presentation.md +5 -2
@@ -46,5 +46,8 @@ labels. Set `DUMBER_MACHINE_GPU_PROFILE` to one of `generic-gpu`,
4646 `integrated-gpu`, `discrete-gpu`, `hybrid-gpu`, `virtual-gpu`, or `unknown-gpu`;
4747 do not use a device model or other identifier. Publish only the seven reviewed
4848 JSON files to an external Gist. Raw logs and temporary XDG homes are removed and
49-must not be published. A missing or incomplete timeline, non-DMABUF backend, or
50-invalid run fails collection.
49+must not be published. `metadata.json` derives the selected
50+`github.com/bnema/purego-cef2gtk` pseudo-version and its full immutable Git
51+origin hash from Go module metadata; branch selectors or missing origin metadata
52+fail collection. A missing or incomplete timeline, non-DMABUF backend, or invalid
53+run also fails collection.
@@ -46,5 +46,8 @@ labels. Set `DUMBER_MACHINE_GPU_PROFILE` to one of `generic-gpu`,
46 `integrated-gpu`, `discrete-gpu`, `hybrid-gpu`, `virtual-gpu`, or `unknown-gpu`;46 `integrated-gpu`, `discrete-gpu`, `hybrid-gpu`, `virtual-gpu`, or `unknown-gpu`;
47 do not use a device model or other identifier. Publish only the seven reviewed47 do not use a device model or other identifier. Publish only the seven reviewed
48 JSON files to an external Gist. Raw logs and temporary XDG homes are removed and48 JSON files to an external Gist. Raw logs and temporary XDG homes are removed and
49-must not be published. A missing or incomplete timeline, non-DMABUF backend, or49+must not be published. `metadata.json` derives the selected
50-invalid run fails collection.50+`github.com/bnema/purego-cef2gtk` pseudo-version and its full immutable Git
51+origin hash from Go module metadata; branch selectors or missing origin metadata
52+fail collection. A missing or incomplete timeline, non-DMABUF backend, or invalid
53+run also fails collection.
M go.mod +5 -5
@@ -6,11 +6,11 @@ require (
66 github.com/a-h/templ v0.3.1020
77 github.com/andybalholm/brotli v1.2.2
88 github.com/bnema/purego v0.11.0-bnema.4
9- github.com/bnema/purego-cef v0.13.3
10- github.com/bnema/purego-cef2gtk v0.8.4
11- github.com/bnema/purego-pipewire v0.1.4
12- github.com/bnema/purego-sqlite v0.1.3
13- github.com/bnema/puregotk v0.7.0
9+ github.com/bnema/purego-cef v0.13.4-0.20260714140305-f0b7414af67e
10+ github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe
11+ github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a
12+ github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c
13+ github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234
1414 github.com/charmbracelet/bubbles v1.0.0
1515 github.com/charmbracelet/bubbletea v1.3.10
1616 github.com/charmbracelet/lipgloss v1.1.0
@@ -6,11 +6,11 @@ require (
6 github.com/a-h/templ v0.3.10206 github.com/a-h/templ v0.3.1020
7 github.com/andybalholm/brotli v1.2.27 github.com/andybalholm/brotli v1.2.2
8 github.com/bnema/purego v0.11.0-bnema.48 github.com/bnema/purego v0.11.0-bnema.4
9- github.com/bnema/purego-cef v0.13.39+ github.com/bnema/purego-cef v0.13.4-0.20260714140305-f0b7414af67e
10- github.com/bnema/purego-cef2gtk v0.8.410+ github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe
11- github.com/bnema/purego-pipewire v0.1.411+ github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a
12- github.com/bnema/purego-sqlite v0.1.312+ github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c
13- github.com/bnema/puregotk v0.7.013+ github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234
14 github.com/charmbracelet/bubbles v1.0.014 github.com/charmbracelet/bubbles v1.0.0
15 github.com/charmbracelet/bubbletea v1.3.1015 github.com/charmbracelet/bubbletea v1.3.10
16 github.com/charmbracelet/lipgloss v1.1.016 github.com/charmbracelet/lipgloss v1.1.0
M go.sum +12 -0 generated file: collapsed
A internal/infrastructure/persistence/sqlite/history_repo_benchmark_test.go +71 -0
@@ -0,0 +1,71 @@
1+package sqlite_test
2+
3+import (
4+ "fmt"
5+ "path/filepath"
6+ "testing"
7+
8+ "github.com/bnema/dumber/internal/domain/entity"
9+ "github.com/bnema/dumber/internal/domain/repository"
10+ "github.com/bnema/dumber/internal/infrastructure/persistence/sqlite"
11+)
12+
13+// newHistoryBenchmarkRepository creates a representative local history corpus
14+// outside the measured operation. Sidebar reads use GetRecent and omnibox
15+// history suggestions use Search.
16+func newHistoryBenchmarkRepository(b *testing.B) (repository.HistoryRepository, func()) {
17+ b.Helper()
18+
19+ ctx := historyTestCtx()
20+ db, err := sqlite.NewConnection(ctx, filepath.Join(b.TempDir(), "dumber.db"))
21+ if err != nil {
22+ b.Fatal(err)
23+ }
24+
25+ b.Cleanup(func() {
26+ if err := db.Close(); err != nil {
27+ b.Errorf("close benchmark database: %v", err)
28+ }
29+ })
30+
31+ repo := sqlite.NewHistoryRepository(db)
32+ for i := range 200 {
33+ entry := &entity.HistoryEntry{
34+ URL: fmt.Sprintf("https://example%d.test/dumber/history/%d", i%20, i),
35+ Title: fmt.Sprintf("Dumber history entry %d", i),
36+ }
37+ if err := repo.Save(ctx, entry); err != nil {
38+ b.Fatal(err)
39+ }
40+ }
41+
42+ return repo, func() {}
43+}
44+
45+func BenchmarkHistorySQLiteSidebarRecent(b *testing.B) {
46+ repo, closeDB := newHistoryBenchmarkRepository(b)
47+ defer closeDB()
48+ ctx := historyTestCtx()
49+
50+ b.ReportAllocs()
51+ b.ResetTimer()
52+ for range b.N {
53+ if _, err := repo.GetRecent(ctx, 50, 0); err != nil {
54+ b.Fatal(err)
55+ }
56+ }
57+}
58+
59+func BenchmarkHistorySQLiteOmniboxSearch(b *testing.B) {
60+ repo, closeDB := newHistoryBenchmarkRepository(b)
61+ defer closeDB()
62+ ctx := historyTestCtx()
63+
64+ b.ReportAllocs()
65+ b.ResetTimer()
66+ for range b.N {
67+ if _, err := repo.Search(ctx, "dumber history", 10); err != nil {
68+ b.Fatal(err)
69+ }
70+ }
71+}
@@ -0,0 +1,71 @@
1+package sqlite_test
2+
3+import (
4+ "fmt"
5+ "path/filepath"
6+ "testing"
7+
8+ "github.com/bnema/dumber/internal/domain/entity"
9+ "github.com/bnema/dumber/internal/domain/repository"
10+ "github.com/bnema/dumber/internal/infrastructure/persistence/sqlite"
11+)
12+
13+// newHistoryBenchmarkRepository creates a representative local history corpus
14+// outside the measured operation. Sidebar reads use GetRecent and omnibox
15+// history suggestions use Search.
16+func newHistoryBenchmarkRepository(b *testing.B) (repository.HistoryRepository, func()) {
17+ b.Helper()
18+
19+ ctx := historyTestCtx()
20+ db, err := sqlite.NewConnection(ctx, filepath.Join(b.TempDir(), "dumber.db"))
21+ if err != nil {
22+ b.Fatal(err)
23+ }
24+
25+ b.Cleanup(func() {
26+ if err := db.Close(); err != nil {
27+ b.Errorf("close benchmark database: %v", err)
28+ }
29+ })
30+
31+ repo := sqlite.NewHistoryRepository(db)
32+ for i := range 200 {
33+ entry := &entity.HistoryEntry{
34+ URL: fmt.Sprintf("https://example%d.test/dumber/history/%d", i%20, i),
35+ Title: fmt.Sprintf("Dumber history entry %d", i),
36+ }
37+ if err := repo.Save(ctx, entry); err != nil {
38+ b.Fatal(err)
39+ }
40+ }
41+
42+ return repo, func() {}
43+}
44+
45+func BenchmarkHistorySQLiteSidebarRecent(b *testing.B) {
46+ repo, closeDB := newHistoryBenchmarkRepository(b)
47+ defer closeDB()
48+ ctx := historyTestCtx()
49+
50+ b.ReportAllocs()
51+ b.ResetTimer()
52+ for range b.N {
53+ if _, err := repo.GetRecent(ctx, 50, 0); err != nil {
54+ b.Fatal(err)
55+ }
56+ }
57+}
58+
59+func BenchmarkHistorySQLiteOmniboxSearch(b *testing.B) {
60+ repo, closeDB := newHistoryBenchmarkRepository(b)
61+ defer closeDB()
62+ ctx := historyTestCtx()
63+
64+ b.ReportAllocs()
65+ b.ResetTimer()
66+ for range b.N {
67+ if _, err := repo.Search(ctx, "dumber history", 10); err != nil {
68+ b.Fatal(err)
69+ }
70+ }
71+}
M internal/logging/first_presentation_collector_test.go +132 -1
@@ -2,6 +2,7 @@ package logging
22
33 import (
44 "encoding/json"
5+ "fmt"
56 "os"
67 "os/exec"
78 "path/filepath"
@@ -143,8 +144,9 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) {
143144 }
144145 for _, required := range []string{
145146 `"measured_source_revision"`,
147+ `"version": "v0.8.4-0.20260714160309-bbd397409ebe"`,
146148 `"tag": "v0.8.4"`,
147- `"revision": "f217ece342dea3ef2a3f98671fcd16a39ad0037d"`,
149+ `"revision": "bbd397409ebed75a5979c1e4566a2ef319f6a484"`,
148150 } {
149151 require.Contains(t, artifacts.String(), required)
150152 }
@@ -166,6 +168,135 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) {
166168 require.Equal(t, "integrated-gpu", metadata.Comparison.MachineGPUProfile)
167169 }
168170
171+func TestFirstPresentationCollectorDerivesSelectedImmutableModuleProvenance(t *testing.T) {
172+ repoRoot, err := filepath.Abs(filepath.Join("..", ".."))
173+ require.NoError(t, err)
174+ temp := t.TempDir()
175+ runtime := filepath.Join(temp, "cef-147-runtime")
176+ require.NoError(t, os.Mkdir(runtime, 0o755))
177+ binary := filepath.Join(temp, "dumber")
178+ require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755))
179+
180+ // This exact pseudo-version is deliberately newer than the former v0.8.4
181+ // hardcode; the collector must report what the selected module says.
182+ const version = "v0.8.5-0.20300102030405-bbd397409ebe"
183+ const revision = "bbd397409ebed75a5979c1e4566a2ef319f6a484"
184+ goBin := collectorProvenanceGo(t, temp, version, revision, "")
185+ output := filepath.Join(temp, "artifacts")
186+ cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh"))
187+ cmd.Dir = repoRoot
188+ cmd.Env = append(os.Environ(),
189+ "DISPLAY=:test",
190+ "DUMBER_CEF_DIR="+runtime,
191+ "DUMBER_FIRST_PRESENTATION_BIN="+binary,
192+ "DUMBER_FIRST_PRESENTATION_OUTPUT="+output,
193+ "DUMBER_FIRST_PRESENTATION_TIMEOUT_SECONDS=1",
194+ "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"),
195+ )
196+ result, err := cmd.CombinedOutput()
197+ require.NoErrorf(t, err, "collector failed: %s", result)
198+
199+ var metadata struct {
200+ Upstream struct {
201+ Module string `json:"module"`
202+ Version string `json:"version"`
203+ Tag string `json:"tag"`
204+ Revision string `json:"revision"`
205+ } `json:"upstream"`
206+ }
207+ contents, err := os.ReadFile(filepath.Join(output, "metadata.json"))
208+ require.NoError(t, err)
209+ require.NoError(t, json.Unmarshal(contents, &metadata))
210+ require.Equal(t, "github.com/bnema/purego-cef2gtk", metadata.Upstream.Module)
211+ require.Equal(t, version, metadata.Upstream.Version)
212+ require.Equal(t, "v0.8.5", metadata.Upstream.Tag)
213+ require.Equal(t, revision, metadata.Upstream.Revision)
214+
215+ script, err := os.ReadFile(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh"))
216+ require.NoError(t, err)
217+ require.NotContains(t, string(script), "f217ece342dea3ef2a3f98671fcd16a39ad0037d")
218+}
219+
220+func TestFirstPresentationCollectorRejectsNonImmutableModuleProvenanceWithoutLeaks(t *testing.T) {
221+ repoRoot, err := filepath.Abs(filepath.Join("..", ".."))
222+ require.NoError(t, err)
223+
224+ for _, test := range []struct {
225+ name, version, revision, ref string
226+ }{
227+ {name: "branch selector", version: "main", ref: "main"},
228+ {name: "missing origin", version: "v0.8.5-0.20300102030405-bbd397409ebe"},
229+ {name: "named origin ref", version: "v0.8.5-0.20300102030405-bbd397409ebe", revision: "bbd397409ebed75a5979c1e4566a2ef319f6a484", ref: "main"},
230+ } {
231+ t.Run(test.name, func(t *testing.T) {
232+ temp := t.TempDir()
233+ runtime := filepath.Join(temp, "cef-147-runtime")
234+ require.NoError(t, os.Mkdir(runtime, 0o755))
235+ binary := filepath.Join(temp, "dumber")
236+ require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755))
237+
238+ goBin := collectorProvenanceGo(t, temp, test.version, test.revision, test.ref)
239+ output := filepath.Join(temp, "artifacts")
240+ cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh"))
241+ cmd.Dir = repoRoot
242+ cmd.Env = append(os.Environ(),
243+ "DISPLAY=:test",
244+ "DUMBER_CEF_DIR="+runtime,
245+ "DUMBER_FIRST_PRESENTATION_BIN="+binary,
246+ "DUMBER_FIRST_PRESENTATION_OUTPUT="+output,
247+ "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"),
248+ )
249+ result, runErr := cmd.CombinedOutput()
250+ require.Errorf(t, runErr, "collector accepted nonimmutable module provenance: %s", result)
251+ require.Contains(t, string(result), "immutable module provenance is unavailable")
252+ require.NotContains(t, string(result), temp)
253+ require.NoFileExists(t, filepath.Join(output, "metadata.json"))
254+ for _, name := range runArtifactNames() {
255+ require.NoFileExists(t, filepath.Join(output, name))
256+ }
257+ })
258+ }
259+}
260+
261+func collectorProvenanceGo(t *testing.T, temp, version, revision, ref string) string {
262+ t.Helper()
263+ infoPath := filepath.Join(temp, "module.info")
264+ info := map[string]any{"Version": version}
265+ if revision != "" {
266+ info["Origin"] = map[string]string{
267+ "VCS": "git", "URL": "https://github.com/bnema/purego-cef2gtk", "Hash": revision, "Ref": ref,
268+ }
269+ }
270+ infoJSON, err := json.Marshal(info)
271+ require.NoError(t, err)
272+ require.NoError(t, os.WriteFile(infoPath, infoJSON, 0o600))
273+
274+ selectedJSON, err := json.Marshal(map[string]string{
275+ "Path": "github.com/bnema/purego-cef2gtk", "Version": version,
276+ })
277+ require.NoError(t, err)
278+ downloadedJSON, err := json.Marshal(map[string]string{
279+ "Path": "github.com/bnema/purego-cef2gtk", "Version": version, "Info": infoPath,
280+ })
281+ require.NoError(t, err)
282+ binDir := filepath.Join(temp, "bin")
283+ require.NoError(t, os.Mkdir(binDir, 0o755))
284+ goBin := filepath.Join(binDir, "go")
285+ script := fmt.Sprintf(`#!/bin/sh
286+if [ "$1" = "list" ] && [ "$2" = "-m" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk" ]; then
287+ printf '%%s\n' '%s'
288+ exit 0
289+fi
290+if [ "$1" = "mod" ] && [ "$2" = "download" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk@%s" ]; then
291+ printf '%%s\n' '%s'
292+ exit 0
293+fi
294+exit 1
295+`, selectedJSON, version, downloadedJSON)
296+ require.NoError(t, os.WriteFile(goBin, []byte(script), 0o755))
297+ return goBin
298+}
299+
169300 func TestFirstPresentationCollectorDefaultsToXDGStateEvidenceDirectory(t *testing.T) {
170301 repoRoot, err := filepath.Abs(filepath.Join("..", ".."))
171302 require.NoError(t, err)
@@ -2,6 +2,7 @@ package logging
2 2
3 import (3 import (
4 "encoding/json"4 "encoding/json"
5+ "fmt"
5 "os"6 "os"
6 "os/exec"7 "os/exec"
7 "path/filepath"8 "path/filepath"
@@ -143,8 +144,9 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) {
143 }144 }
144 for _, required := range []string{145 for _, required := range []string{
145 `"measured_source_revision"`,146 `"measured_source_revision"`,
147+ `"version": "v0.8.4-0.20260714160309-bbd397409ebe"`,
146 `"tag": "v0.8.4"`,148 `"tag": "v0.8.4"`,
147- `"revision": "f217ece342dea3ef2a3f98671fcd16a39ad0037d"`,149+ `"revision": "bbd397409ebed75a5979c1e4566a2ef319f6a484"`,
148 } {150 } {
149 require.Contains(t, artifacts.String(), required)151 require.Contains(t, artifacts.String(), required)
150 }152 }
@@ -166,6 +168,135 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) {
166 require.Equal(t, "integrated-gpu", metadata.Comparison.MachineGPUProfile)168 require.Equal(t, "integrated-gpu", metadata.Comparison.MachineGPUProfile)
167 }169 }
168 170
171+func TestFirstPresentationCollectorDerivesSelectedImmutableModuleProvenance(t *testing.T) {
172+ repoRoot, err := filepath.Abs(filepath.Join("..", ".."))
173+ require.NoError(t, err)
174+ temp := t.TempDir()
175+ runtime := filepath.Join(temp, "cef-147-runtime")
176+ require.NoError(t, os.Mkdir(runtime, 0o755))
177+ binary := filepath.Join(temp, "dumber")
178+ require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755))
179+
180+ // This exact pseudo-version is deliberately newer than the former v0.8.4
181+ // hardcode; the collector must report what the selected module says.
182+ const version = "v0.8.5-0.20300102030405-bbd397409ebe"
183+ const revision = "bbd397409ebed75a5979c1e4566a2ef319f6a484"
184+ goBin := collectorProvenanceGo(t, temp, version, revision, "")
185+ output := filepath.Join(temp, "artifacts")
186+ cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh"))
187+ cmd.Dir = repoRoot
188+ cmd.Env = append(os.Environ(),
189+ "DISPLAY=:test",
190+ "DUMBER_CEF_DIR="+runtime,
191+ "DUMBER_FIRST_PRESENTATION_BIN="+binary,
192+ "DUMBER_FIRST_PRESENTATION_OUTPUT="+output,
193+ "DUMBER_FIRST_PRESENTATION_TIMEOUT_SECONDS=1",
194+ "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"),
195+ )
196+ result, err := cmd.CombinedOutput()
197+ require.NoErrorf(t, err, "collector failed: %s", result)
198+
199+ var metadata struct {
200+ Upstream struct {
201+ Module string `json:"module"`
202+ Version string `json:"version"`
203+ Tag string `json:"tag"`
204+ Revision string `json:"revision"`
205+ } `json:"upstream"`
206+ }
207+ contents, err := os.ReadFile(filepath.Join(output, "metadata.json"))
208+ require.NoError(t, err)
209+ require.NoError(t, json.Unmarshal(contents, &metadata))
210+ require.Equal(t, "github.com/bnema/purego-cef2gtk", metadata.Upstream.Module)
211+ require.Equal(t, version, metadata.Upstream.Version)
212+ require.Equal(t, "v0.8.5", metadata.Upstream.Tag)
213+ require.Equal(t, revision, metadata.Upstream.Revision)
214+
215+ script, err := os.ReadFile(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh"))
216+ require.NoError(t, err)
217+ require.NotContains(t, string(script), "f217ece342dea3ef2a3f98671fcd16a39ad0037d")
218+}
219+
220+func TestFirstPresentationCollectorRejectsNonImmutableModuleProvenanceWithoutLeaks(t *testing.T) {
221+ repoRoot, err := filepath.Abs(filepath.Join("..", ".."))
222+ require.NoError(t, err)
223+
224+ for _, test := range []struct {
225+ name, version, revision, ref string
226+ }{
227+ {name: "branch selector", version: "main", ref: "main"},
228+ {name: "missing origin", version: "v0.8.5-0.20300102030405-bbd397409ebe"},
229+ {name: "named origin ref", version: "v0.8.5-0.20300102030405-bbd397409ebe", revision: "bbd397409ebed75a5979c1e4566a2ef319f6a484", ref: "main"},
230+ } {
231+ t.Run(test.name, func(t *testing.T) {
232+ temp := t.TempDir()
233+ runtime := filepath.Join(temp, "cef-147-runtime")
234+ require.NoError(t, os.Mkdir(runtime, 0o755))
235+ binary := filepath.Join(temp, "dumber")
236+ require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755))
237+
238+ goBin := collectorProvenanceGo(t, temp, test.version, test.revision, test.ref)
239+ output := filepath.Join(temp, "artifacts")
240+ cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh"))
241+ cmd.Dir = repoRoot
242+ cmd.Env = append(os.Environ(),
243+ "DISPLAY=:test",
244+ "DUMBER_CEF_DIR="+runtime,
245+ "DUMBER_FIRST_PRESENTATION_BIN="+binary,
246+ "DUMBER_FIRST_PRESENTATION_OUTPUT="+output,
247+ "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"),
248+ )
249+ result, runErr := cmd.CombinedOutput()
250+ require.Errorf(t, runErr, "collector accepted nonimmutable module provenance: %s", result)
251+ require.Contains(t, string(result), "immutable module provenance is unavailable")
252+ require.NotContains(t, string(result), temp)
253+ require.NoFileExists(t, filepath.Join(output, "metadata.json"))
254+ for _, name := range runArtifactNames() {
255+ require.NoFileExists(t, filepath.Join(output, name))
256+ }
257+ })
258+ }
259+}
260+
261+func collectorProvenanceGo(t *testing.T, temp, version, revision, ref string) string {
262+ t.Helper()
263+ infoPath := filepath.Join(temp, "module.info")
264+ info := map[string]any{"Version": version}
265+ if revision != "" {
266+ info["Origin"] = map[string]string{
267+ "VCS": "git", "URL": "https://github.com/bnema/purego-cef2gtk", "Hash": revision, "Ref": ref,
268+ }
269+ }
270+ infoJSON, err := json.Marshal(info)
271+ require.NoError(t, err)
272+ require.NoError(t, os.WriteFile(infoPath, infoJSON, 0o600))
273+
274+ selectedJSON, err := json.Marshal(map[string]string{
275+ "Path": "github.com/bnema/purego-cef2gtk", "Version": version,
276+ })
277+ require.NoError(t, err)
278+ downloadedJSON, err := json.Marshal(map[string]string{
279+ "Path": "github.com/bnema/purego-cef2gtk", "Version": version, "Info": infoPath,
280+ })
281+ require.NoError(t, err)
282+ binDir := filepath.Join(temp, "bin")
283+ require.NoError(t, os.Mkdir(binDir, 0o755))
284+ goBin := filepath.Join(binDir, "go")
285+ script := fmt.Sprintf(`#!/bin/sh
286+if [ "$1" = "list" ] && [ "$2" = "-m" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk" ]; then
287+ printf '%%s\n' '%s'
288+ exit 0
289+fi
290+if [ "$1" = "mod" ] && [ "$2" = "download" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk@%s" ]; then
291+ printf '%%s\n' '%s'
292+ exit 0
293+fi
294+exit 1
295+`, selectedJSON, version, downloadedJSON)
296+ require.NoError(t, os.WriteFile(goBin, []byte(script), 0o755))
297+ return goBin
298+}
299+
169 func TestFirstPresentationCollectorDefaultsToXDGStateEvidenceDirectory(t *testing.T) {300 func TestFirstPresentationCollectorDefaultsToXDGStateEvidenceDirectory(t *testing.T) {
170 repoRoot, err := filepath.Abs(filepath.Join("..", ".."))301 repoRoot, err := filepath.Abs(filepath.Join("..", ".."))
171 require.NoError(t, err)302 require.NoError(t, err)
M scripts/collect_first_presentation.sh +78 -9
@@ -31,8 +31,78 @@ else
3131 fi
3232 readonly output
3333 readonly upstream_module="github.com/bnema/purego-cef2gtk"
34-readonly upstream_tag="v0.8.4"
35-readonly upstream_revision="f217ece342dea3ef2a3f98671fcd16a39ad0037d"
34+
35+# Resolve the version selected by this checkout, then obtain its immutable VCS
36+# origin from Go's cached module metadata. Do not infer a revision from a tag,
37+# a branch, or a truncated pseudo-version suffix.
38+resolve_upstream_provenance() {
39+ local selected_metadata selected_version downloaded_metadata
40+
41+ selected_metadata="$(go list -m -json "$upstream_module" 2>/dev/null)" || {
42+ echo "first-presentation: immutable module provenance is unavailable" >&2
43+ exit 2
44+ }
45+ selected_version="$(python3 - "$upstream_module" "$selected_metadata" <<'PY'
46+import json, sys
47+try:
48+ metadata = json.loads(sys.argv[2])
49+ if metadata.get("Path") != sys.argv[1] or not isinstance(metadata.get("Version"), str):
50+ raise ValueError
51+ print(metadata["Version"])
52+except (AttributeError, TypeError, ValueError, json.JSONDecodeError):
53+ raise SystemExit("first-presentation: immutable module provenance is unavailable")
54+PY
55+)" || exit $?
56+ downloaded_metadata="$(go mod download -json "$upstream_module@$selected_version" 2>/dev/null)" || {
57+ echo "first-presentation: immutable module provenance is unavailable" >&2
58+ exit 2
59+ }
60+
61+ python3 - "$upstream_module" "$selected_metadata" "$downloaded_metadata" <<'PY'
62+import json, re, sys
63+
64+module, selected_raw, downloaded_raw = sys.argv[1:]
65+
66+def fail():
67+ # Do not expose Go cache locations or other machine-local values.
68+ raise SystemExit("first-presentation: immutable module provenance is unavailable")
69+
70+try:
71+ selected = json.loads(selected_raw)
72+ downloaded = json.loads(downloaded_raw)
73+ version = selected["Version"]
74+ if selected.get("Path") != module or downloaded.get("Path") != module:
75+ fail()
76+ if downloaded.get("Version") != version:
77+ fail()
78+ # A selected pseudo-version is an exact immutable selector, never a branch.
79+ match = re.fullmatch(r"(v\d+\.\d+\.\d+)-0\.\d{14}-([0-9a-f]{12})", version)
80+ if not match:
81+ fail()
82+ info_path = downloaded.get("Info")
83+ if not isinstance(info_path, str) or not info_path:
84+ fail()
85+ with open(info_path, encoding="utf-8") as info_file:
86+ info = json.load(info_file)
87+ origin = info.get("Origin") or downloaded.get("Origin")
88+ if info.get("Version") != version or not isinstance(origin, dict):
89+ fail()
90+ revision = origin.get("Hash")
91+ if origin.get("VCS") != "git" or origin.get("URL") != "https://github.com/bnema/purego-cef2gtk":
92+ fail()
93+ if not isinstance(revision, str) or not re.fullmatch(r"[0-9a-f]{40}", revision):
94+ fail()
95+ if not revision.startswith(match.group(2)):
96+ fail()
97+ # A named ref can move. Only the immutable hash itself is acceptable.
98+ if origin.get("Ref") not in (None, "", revision):
99+ fail()
100+except (AttributeError, KeyError, OSError, TypeError, ValueError, json.JSONDecodeError):
101+ fail()
102+
103+print("\t".join((version, match.group(1), revision)))
104+PY
105+}
36106
37107 # The artifact destination is caller-controlled. Never empty or recursively
38108 # clear it: collection only writes to a newly-created directory whose parent is
@@ -66,10 +136,9 @@ prepare_output
66136 [[ -x "$binary" ]] || { echo "first-presentation: executable not found: $binary" >&2; exit 2; }
67137 [[ -d "$runtime" ]] || { echo "first-presentation: CEF runtime not found: $runtime" >&2; exit 2; }
68138 [[ -n "${WAYLAND_DISPLAY:-}${DISPLAY:-}" ]] || { echo "first-presentation: a current Wayland/X11 display is required" >&2; exit 2; }
69-[[ "$(go list -m -f '{{.Version}}' "$upstream_module")" == "$upstream_tag" ]] || {
70- echo "first-presentation: expected $upstream_module@$upstream_tag" >&2
71- exit 2
72-}
139+upstream_provenance="$(resolve_upstream_provenance)" || exit $?
140+IFS=$'\t' read -r upstream_version upstream_tag upstream_revision <<<"$upstream_provenance"
141+readonly upstream_version upstream_tag upstream_revision
73142
74143 # Raw logs and temporary XDG homes may contain machine-local paths. Keep them
75144 # outside the committed artifact directory and always remove them.
@@ -80,9 +149,9 @@ cleanup_work_root() {
80149 rm -rf -- "$work_root"
81150 }
82151 trap cleanup_work_root EXIT
83-python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_tag" "$upstream_revision" <<'PY'
152+python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_version" "$upstream_tag" "$upstream_revision" <<'PY'
84153 import hashlib, json, os, platform, subprocess, sys
85-path, binary, timeout, upstream_module, upstream_tag, upstream_revision = sys.argv[1:]
154+path, binary, timeout, upstream_module, upstream_version, upstream_tag, upstream_revision = sys.argv[1:]
86155 with open(binary, "rb") as candidate:
87156 binary_sha256 = hashlib.file_digest(candidate, "sha256").hexdigest()
88157
@@ -102,7 +171,7 @@ json.dump({
102171 "binary": {"label": "dumber", "sha256": binary_sha256},
103172 "timeout_seconds": int(timeout),
104173 "measured_source_revision": subprocess.check_output(["git", "-c", f"safe.directory={os.getcwd()}", "rev-parse", "HEAD"], text=True).strip(),
105- "upstream": {"module": upstream_module, "tag": upstream_tag, "revision": upstream_revision},
174+ "upstream": {"module": upstream_module, "version": upstream_version, "tag": upstream_tag, "revision": upstream_revision},
106175 "comparison": {"os": os_label, "architecture": architecture, "display_protocol": display_protocol, "machine_gpu_profile": gpu_profile},
107176 "render_configuration": {"backend": "gdk-dmabuf", "buffer_sharing": "dmabuf", "renderer": "vulkan"}
108177 }, open(path, "w"), indent=2, sort_keys=True)
@@ -31,8 +31,78 @@ else
31 fi31 fi
32 readonly output32 readonly output
33 readonly upstream_module="github.com/bnema/purego-cef2gtk"33 readonly upstream_module="github.com/bnema/purego-cef2gtk"
34-readonly upstream_tag="v0.8.4"34+
35-readonly upstream_revision="f217ece342dea3ef2a3f98671fcd16a39ad0037d"35+# Resolve the version selected by this checkout, then obtain its immutable VCS
36+# origin from Go's cached module metadata. Do not infer a revision from a tag,
37+# a branch, or a truncated pseudo-version suffix.
38+resolve_upstream_provenance() {
39+ local selected_metadata selected_version downloaded_metadata
40+
41+ selected_metadata="$(go list -m -json "$upstream_module" 2>/dev/null)" || {
42+ echo "first-presentation: immutable module provenance is unavailable" >&2
43+ exit 2
44+ }
45+ selected_version="$(python3 - "$upstream_module" "$selected_metadata" <<'PY'
46+import json, sys
47+try:
48+ metadata = json.loads(sys.argv[2])
49+ if metadata.get("Path") != sys.argv[1] or not isinstance(metadata.get("Version"), str):
50+ raise ValueError
51+ print(metadata["Version"])
52+except (AttributeError, TypeError, ValueError, json.JSONDecodeError):
53+ raise SystemExit("first-presentation: immutable module provenance is unavailable")
54+PY
55+)" || exit $?
56+ downloaded_metadata="$(go mod download -json "$upstream_module@$selected_version" 2>/dev/null)" || {
57+ echo "first-presentation: immutable module provenance is unavailable" >&2
58+ exit 2
59+ }
60+
61+ python3 - "$upstream_module" "$selected_metadata" "$downloaded_metadata" <<'PY'
62+import json, re, sys
63+
64+module, selected_raw, downloaded_raw = sys.argv[1:]
65+
66+def fail():
67+ # Do not expose Go cache locations or other machine-local values.
68+ raise SystemExit("first-presentation: immutable module provenance is unavailable")
69+
70+try:
71+ selected = json.loads(selected_raw)
72+ downloaded = json.loads(downloaded_raw)
73+ version = selected["Version"]
74+ if selected.get("Path") != module or downloaded.get("Path") != module:
75+ fail()
76+ if downloaded.get("Version") != version:
77+ fail()
78+ # A selected pseudo-version is an exact immutable selector, never a branch.
79+ match = re.fullmatch(r"(v\d+\.\d+\.\d+)-0\.\d{14}-([0-9a-f]{12})", version)
80+ if not match:
81+ fail()
82+ info_path = downloaded.get("Info")
83+ if not isinstance(info_path, str) or not info_path:
84+ fail()
85+ with open(info_path, encoding="utf-8") as info_file:
86+ info = json.load(info_file)
87+ origin = info.get("Origin") or downloaded.get("Origin")
88+ if info.get("Version") != version or not isinstance(origin, dict):
89+ fail()
90+ revision = origin.get("Hash")
91+ if origin.get("VCS") != "git" or origin.get("URL") != "https://github.com/bnema/purego-cef2gtk":
92+ fail()
93+ if not isinstance(revision, str) or not re.fullmatch(r"[0-9a-f]{40}", revision):
94+ fail()
95+ if not revision.startswith(match.group(2)):
96+ fail()
97+ # A named ref can move. Only the immutable hash itself is acceptable.
98+ if origin.get("Ref") not in (None, "", revision):
99+ fail()
100+except (AttributeError, KeyError, OSError, TypeError, ValueError, json.JSONDecodeError):
101+ fail()
102+
103+print("\t".join((version, match.group(1), revision)))
104+PY
105+}
36 106
37 # The artifact destination is caller-controlled. Never empty or recursively107 # The artifact destination is caller-controlled. Never empty or recursively
38 # clear it: collection only writes to a newly-created directory whose parent is108 # clear it: collection only writes to a newly-created directory whose parent is
@@ -66,10 +136,9 @@ prepare_output
66 [[ -x "$binary" ]] || { echo "first-presentation: executable not found: $binary" >&2; exit 2; }136 [[ -x "$binary" ]] || { echo "first-presentation: executable not found: $binary" >&2; exit 2; }
67 [[ -d "$runtime" ]] || { echo "first-presentation: CEF runtime not found: $runtime" >&2; exit 2; }137 [[ -d "$runtime" ]] || { echo "first-presentation: CEF runtime not found: $runtime" >&2; exit 2; }
68 [[ -n "${WAYLAND_DISPLAY:-}${DISPLAY:-}" ]] || { echo "first-presentation: a current Wayland/X11 display is required" >&2; exit 2; }138 [[ -n "${WAYLAND_DISPLAY:-}${DISPLAY:-}" ]] || { echo "first-presentation: a current Wayland/X11 display is required" >&2; exit 2; }
69-[[ "$(go list -m -f '{{.Version}}' "$upstream_module")" == "$upstream_tag" ]] || {139+upstream_provenance="$(resolve_upstream_provenance)" || exit $?
70- echo "first-presentation: expected $upstream_module@$upstream_tag" >&2140+IFS=$'\t' read -r upstream_version upstream_tag upstream_revision <<<"$upstream_provenance"
71- exit 2141+readonly upstream_version upstream_tag upstream_revision
72-}
73 142
74 # Raw logs and temporary XDG homes may contain machine-local paths. Keep them143 # Raw logs and temporary XDG homes may contain machine-local paths. Keep them
75 # outside the committed artifact directory and always remove them.144 # outside the committed artifact directory and always remove them.
@@ -80,9 +149,9 @@ cleanup_work_root() {
80 rm -rf -- "$work_root"149 rm -rf -- "$work_root"
81 }150 }
82 trap cleanup_work_root EXIT151 trap cleanup_work_root EXIT
83-python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_tag" "$upstream_revision" <<'PY'152+python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_version" "$upstream_tag" "$upstream_revision" <<'PY'
84 import hashlib, json, os, platform, subprocess, sys153 import hashlib, json, os, platform, subprocess, sys
85-path, binary, timeout, upstream_module, upstream_tag, upstream_revision = sys.argv[1:]154+path, binary, timeout, upstream_module, upstream_version, upstream_tag, upstream_revision = sys.argv[1:]
86 with open(binary, "rb") as candidate:155 with open(binary, "rb") as candidate:
87 binary_sha256 = hashlib.file_digest(candidate, "sha256").hexdigest()156 binary_sha256 = hashlib.file_digest(candidate, "sha256").hexdigest()
88 157
@@ -102,7 +171,7 @@ json.dump({
102 "binary": {"label": "dumber", "sha256": binary_sha256},171 "binary": {"label": "dumber", "sha256": binary_sha256},
103 "timeout_seconds": int(timeout),172 "timeout_seconds": int(timeout),
104 "measured_source_revision": subprocess.check_output(["git", "-c", f"safe.directory={os.getcwd()}", "rev-parse", "HEAD"], text=True).strip(),173 "measured_source_revision": subprocess.check_output(["git", "-c", f"safe.directory={os.getcwd()}", "rev-parse", "HEAD"], text=True).strip(),
105- "upstream": {"module": upstream_module, "tag": upstream_tag, "revision": upstream_revision},174+ "upstream": {"module": upstream_module, "version": upstream_version, "tag": upstream_tag, "revision": upstream_revision},
106 "comparison": {"os": os_label, "architecture": architecture, "display_protocol": display_protocol, "machine_gpu_profile": gpu_profile},175 "comparison": {"os": os_label, "architecture": architecture, "display_protocol": display_protocol, "machine_gpu_profile": gpu_profile},
107 "render_configuration": {"backend": "gdk-dmabuf", "buffer_sharing": "dmabuf", "renderer": "vulkan"}176 "render_configuration": {"backend": "gdk-dmabuf", "buffer_sharing": "dmabuf", "renderer": "vulkan"}
108 }, open(path, "w"), indent=2, sort_keys=True)177 }, open(path, "w"), indent=2, sort_keys=True)
M vendor/github.com/bnema/purego-cef/cef/bridge.go +8 -13 generated file: collapsed
M vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/accelerated_paint.go +34 -37 generated file: collapsed
M vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/frame.go +38 -19 generated file: collapsed
M vendor/github.com/bnema/purego-cef2gtk/internal/gtkgdk/renderer.go +89 -69 generated file: collapsed
M vendor/github.com/bnema/purego-pipewire/internal/core/player.go +5 -0 generated file: collapsed
M vendor/github.com/bnema/purego-pipewire/internal/core/player_rt.go +10 -6 generated file: collapsed
M vendor/github.com/bnema/purego-pipewire/internal/core/pwbuffer.go +66 -32 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/driver/driver.go +268 -63 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/core/db.go +8 -0 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/core/rows.go +13 -0 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/loader/loader.go +23 -5 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/ports/in/ports_gen.go +3 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +23 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +47 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +33 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +47 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +34 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +45 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +61 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +18 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +7 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +69 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +5 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +63 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +60 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +48 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +38 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +31 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +24 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +41 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +39 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +34 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +17 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +49 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +20 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +25 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +33 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +35 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +123 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +30 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +41 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +64 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +40 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +78 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +15 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +66 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +57 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +36 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +20 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +34 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +28 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +23 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +27 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +51 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +53 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +20 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +21 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +120 -118 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +17 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +40 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +41 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +19 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +42 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +63 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +47 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +19 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +157 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +9 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +95 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +26 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +9 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +11 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +102 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +5 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +59 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +96 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +244 -116 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +79 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +30 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +23 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +45 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +31 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +14 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +77 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +16 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +54 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +88 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +35 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +16 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +12 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +42 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +4 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +214 -82 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +34 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +207 -80 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +6 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +1148 -450 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +34 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +138 -84 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +9 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +32 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +52 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +90 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +6 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +25 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +70 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +62 -50 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +31 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +215 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +40 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +11 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +49 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +12 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +86 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +30 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +16 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +12 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +75 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +99 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +48 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +87 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +11 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +54 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +18 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +2 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +40 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +34 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +70 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +16 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +10 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +2 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +69 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +25 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +55 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +56 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +51 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +27 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +20 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +11 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +143 -58 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +82 -59 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +56 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +43 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +23 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +69 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +14 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +25 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +36 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +103 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +107 -66 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +45 -38 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +81 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +28 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +83 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +72 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +181 -117 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +51 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +44 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +70 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +50 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +57 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +26 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +84 -52 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +33 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +72 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +40 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +74 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +12 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +33 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +115 -71 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +77 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +19 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +132 -80 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +146 -97 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +26 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +18 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +27 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +8 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +63 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +132 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +63 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +62 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +242 -143
@@ -5,7 +5,6 @@ import (
55 "structs"
66 "unsafe"
77
8- "github.com/bnema/purego"
98 "github.com/bnema/puregotk/pkg/core"
109 "github.com/bnema/puregotk/v4/gobject/types"
1110 )
@@ -261,6 +260,7 @@ type Variant struct {
261260 var xVariantGLibType func() types.GType
262261
263262 func VariantGLibType() types.GType {
263+ core.LazyRegister(&xVariantGLibType, "GLIB", "intern", false)
264264 return xVariantGLibType()
265265 }
266266
@@ -309,6 +309,8 @@ var xNewVariant func(string, ...interface{}) uintptr
309309 //
310310 // ]|
311311 func NewVariant(FormatStringVar string, varArgs ...interface{}) *Variant {
312+ core.LazyRegister(&xNewVariant, "GLIB", "g_variant_new", false)
313+
312314 cret := xNewVariant(FormatStringVar, varArgs...)
313315 if cret == 0 {
314316 return nil
@@ -334,6 +336,8 @@ var xNewVariantArray func(*VariantType, uintptr, uint) uintptr
334336 // If the @children are floating references (see g_variant_ref_sink()), the
335337 // new instance takes ownership of them as if via g_variant_ref_sink().
336338 func NewVariantArray(ChildTypeVar *VariantType, ChildrenVar uintptr, NChildrenVar uint) *Variant {
339+ core.LazyRegister(&xNewVariantArray, "GLIB", "g_variant_new_array", false)
340+
337341 cret := xNewVariantArray(ChildTypeVar, ChildrenVar, NChildrenVar)
338342 if cret == 0 {
339343 return nil
@@ -345,6 +349,8 @@ var xNewVariantBoolean func(bool) uintptr
345349
346350 // Creates a new boolean #GVariant instance -- either %TRUE or %FALSE.
347351 func NewVariantBoolean(ValueVar bool) *Variant {
352+ core.LazyRegister(&xNewVariantBoolean, "GLIB", "g_variant_new_boolean", false)
353+
348354 cret := xNewVariantBoolean(ValueVar)
349355 if cret == 0 {
350356 return nil
@@ -356,6 +362,8 @@ var xNewVariantByte func(byte) uintptr
356362
357363 // Creates a new byte #GVariant instance.
358364 func NewVariantByte(ValueVar byte) *Variant {
365+ core.LazyRegister(&xNewVariantByte, "GLIB", "g_variant_new_byte", false)
366+
359367 cret := xNewVariantByte(ValueVar)
360368 if cret == 0 {
361369 return nil
@@ -372,6 +380,8 @@ var xNewVariantBytestring func([]byte) uintptr
372380 // The nul terminator character at the end of the string is stored in
373381 // the array.
374382 func NewVariantBytestring(StringVar []byte) *Variant {
383+ core.LazyRegister(&xNewVariantBytestring, "GLIB", "g_variant_new_bytestring", false)
384+
375385 cret := xNewVariantBytestring(StringVar)
376386 if cret == 0 {
377387 return nil
@@ -386,6 +396,8 @@ var xNewVariantBytestringArray func([]string, int) uintptr
386396 //
387397 // If @length is -1 then @strv is %NULL-terminated.
388398 func NewVariantBytestringArray(StrvVar []string, LengthVar int) *Variant {
399+ core.LazyRegister(&xNewVariantBytestringArray, "GLIB", "g_variant_new_bytestring_array", false)
400+
389401 cret := xNewVariantBytestringArray(StrvVar, LengthVar)
390402 if cret == 0 {
391403 return nil
@@ -401,6 +413,8 @@ var xNewVariantDictEntry func(*Variant, *Variant) uintptr
401413 // If the @key or @value are floating references (see g_variant_ref_sink()),
402414 // the new instance takes ownership of them as if via g_variant_ref_sink().
403415 func NewVariantDictEntry(KeyVar *Variant, ValueVar *Variant) *Variant {
416+ core.LazyRegister(&xNewVariantDictEntry, "GLIB", "g_variant_new_dict_entry", false)
417+
404418 cret := xNewVariantDictEntry(KeyVar, ValueVar)
405419 if cret == 0 {
406420 return nil
@@ -412,6 +426,8 @@ var xNewVariantDouble func(float64) uintptr
412426
413427 // Creates a new double #GVariant instance.
414428 func NewVariantDouble(ValueVar float64) *Variant {
429+ core.LazyRegister(&xNewVariantDouble, "GLIB", "g_variant_new_double", false)
430+
415431 cret := xNewVariantDouble(ValueVar)
416432 if cret == 0 {
417433 return nil
@@ -435,6 +451,8 @@ var xNewVariantFixedArray func(*VariantType, uintptr, uint, uint) uintptr
435451 //
436452 // @n_elements must be the length of the @elements array.
437453 func NewVariantFixedArray(ElementTypeVar *VariantType, ElementsVar uintptr, NElementsVar uint, ElementSizeVar uint) *Variant {
454+ core.LazyRegister(&xNewVariantFixedArray, "GLIB", "g_variant_new_fixed_array", false)
455+
438456 cret := xNewVariantFixedArray(ElementTypeVar, ElementsVar, NElementsVar, ElementSizeVar)
439457 if cret == 0 {
440458 return nil
@@ -454,6 +472,8 @@ var xNewVariantFromBytes func(*VariantType, *Bytes, bool) uintptr
454472 // Otherwise this function will internally create a copy of the memory (since
455473 // GLib 2.60) or (in older versions) fail and exit the process.
456474 func NewVariantFromBytes(TypeVar *VariantType, BytesVar *Bytes, TrustedVar bool) *Variant {
475+ core.LazyRegister(&xNewVariantFromBytes, "GLIB", "g_variant_new_from_bytes", false)
476+
457477 cret := xNewVariantFromBytes(TypeVar, BytesVar, TrustedVar)
458478 if cret == 0 {
459479 return nil
@@ -493,6 +513,8 @@ var xNewVariantFromData func(*VariantType, []byte, uint, bool, uintptr, uintptr)
493513 // the memory (since GLib 2.60) or (in older versions) fail and exit the
494514 // process.
495515 func NewVariantFromData(TypeVar *VariantType, DataVar []byte, SizeVar uint, TrustedVar bool, NotifyVar *DestroyNotify, UserDataVar uintptr) *Variant {
516+ core.LazyRegister(&xNewVariantFromData, "GLIB", "g_variant_new_from_data", false)
517+
496518 cret := xNewVariantFromData(TypeVar, DataVar, SizeVar, TrustedVar, NewCallbackNullable(NotifyVar), UserDataVar)
497519 if cret == 0 {
498520 return nil
@@ -508,6 +530,8 @@ var xNewVariantHandle func(int32) uintptr
508530 // that are sent alongside a D-Bus message. If you're not interacting
509531 // with D-Bus, you probably don't need them.
510532 func NewVariantHandle(ValueVar int32) *Variant {
533+ core.LazyRegister(&xNewVariantHandle, "GLIB", "g_variant_new_handle", false)
534+
511535 cret := xNewVariantHandle(ValueVar)
512536 if cret == 0 {
513537 return nil
@@ -519,6 +543,8 @@ var xNewVariantInt16 func(int16) uintptr
519543
520544 // Creates a new int16 #GVariant instance.
521545 func NewVariantInt16(ValueVar int16) *Variant {
546+ core.LazyRegister(&xNewVariantInt16, "GLIB", "g_variant_new_int16", false)
547+
522548 cret := xNewVariantInt16(ValueVar)
523549 if cret == 0 {
524550 return nil
@@ -530,6 +556,8 @@ var xNewVariantInt32 func(int32) uintptr
530556
531557 // Creates a new int32 #GVariant instance.
532558 func NewVariantInt32(ValueVar int32) *Variant {
559+ core.LazyRegister(&xNewVariantInt32, "GLIB", "g_variant_new_int32", false)
560+
533561 cret := xNewVariantInt32(ValueVar)
534562 if cret == 0 {
535563 return nil
@@ -541,6 +569,8 @@ var xNewVariantInt64 func(int64) uintptr
541569
542570 // Creates a new int64 #GVariant instance.
543571 func NewVariantInt64(ValueVar int64) *Variant {
572+ core.LazyRegister(&xNewVariantInt64, "GLIB", "g_variant_new_int64", false)
573+
544574 cret := xNewVariantInt64(ValueVar)
545575 if cret == 0 {
546576 return nil
@@ -561,6 +591,8 @@ var xNewVariantMaybe func(*VariantType, *Variant) uintptr
561591 // If @child is a floating reference (see g_variant_ref_sink()), the new
562592 // instance takes ownership of @child.
563593 func NewVariantMaybe(ChildTypeVar *VariantType, ChildVar *Variant) *Variant {
594+ core.LazyRegister(&xNewVariantMaybe, "GLIB", "g_variant_new_maybe", false)
595+
564596 cret := xNewVariantMaybe(ChildTypeVar, ChildVar)
565597 if cret == 0 {
566598 return nil
@@ -574,6 +606,8 @@ var xNewVariantObjectPath func(string) uintptr
574606 // @object_path must be a valid D-Bus object path. Use
575607 // g_variant_is_object_path() if you're not sure.
576608 func NewVariantObjectPath(ObjectPathVar string) *Variant {
609+ core.LazyRegister(&xNewVariantObjectPath, "GLIB", "g_variant_new_object_path", false)
610+
577611 cret := xNewVariantObjectPath(ObjectPathVar)
578612 if cret == 0 {
579613 return nil
@@ -591,6 +625,8 @@ var xNewVariantObjv func([]string, int) uintptr
591625 //
592626 // If @length is -1 then @strv is %NULL-terminated.
593627 func NewVariantObjv(StrvVar []string, LengthVar int) *Variant {
628+ core.LazyRegister(&xNewVariantObjv, "GLIB", "g_variant_new_objv", false)
629+
594630 cret := xNewVariantObjv(StrvVar, LengthVar)
595631 if cret == 0 {
596632 return nil
@@ -635,6 +671,8 @@ var xNewVariantParsed func(string, ...interface{}) uintptr
635671 // be anything along the lines of "%*", "%?", "\%r", or anything starting
636672 // with "%@".
637673 func NewVariantParsed(FormatVar string, varArgs ...interface{}) *Variant {
674+ core.LazyRegister(&xNewVariantParsed, "GLIB", "g_variant_new_parsed", false)
675+
638676 cret := xNewVariantParsed(FormatVar, varArgs...)
639677 if cret == 0 {
640678 return nil
@@ -666,6 +704,8 @@ var xNewVariantParsedVa func(string, []interface{}) uintptr
666704 // result. This can also be done by adding the result to a container,
667705 // or by passing it to another g_variant_new() call.
668706 func NewVariantParsedVa(FormatVar string, AppVar []interface{}) *Variant {
707+ core.LazyRegister(&xNewVariantParsedVa, "GLIB", "g_variant_new_parsed_va", false)
708+
669709 cret := xNewVariantParsedVa(FormatVar, AppVar)
670710 if cret == 0 {
671711 return nil
@@ -681,6 +721,8 @@ var xNewVariantPrintf func(string, ...interface{}) uintptr
681721 // g_variant_new_string() but it saves a temporary variable and an
682722 // unnecessary copy.
683723 func NewVariantPrintf(FormatStringVar string, varArgs ...interface{}) *Variant {
724+ core.LazyRegister(&xNewVariantPrintf, "GLIB", "g_variant_new_printf", false)
725+
684726 cret := xNewVariantPrintf(FormatStringVar, varArgs...)
685727 if cret == 0 {
686728 return nil
@@ -694,6 +736,8 @@ var xNewVariantSignature func(string) uintptr
694736 // @string. @string must be a valid D-Bus type signature. Use
695737 // g_variant_is_signature() if you're not sure.
696738 func NewVariantSignature(SignatureVar string) *Variant {
739+ core.LazyRegister(&xNewVariantSignature, "GLIB", "g_variant_new_signature", false)
740+
697741 cret := xNewVariantSignature(SignatureVar)
698742 if cret == 0 {
699743 return nil
@@ -709,6 +753,8 @@ var xNewVariantString func(string) uintptr
709753 // potentially-%NULL strings, use g_variant_new() with `ms` as the
710754 // [format string](gvariant-format-strings.html#maybe-types).
711755 func NewVariantString(StringVar string) *Variant {
756+ core.LazyRegister(&xNewVariantString, "GLIB", "g_variant_new_string", false)
757+
712758 cret := xNewVariantString(StringVar)
713759 if cret == 0 {
714760 return nil
@@ -723,6 +769,8 @@ var xNewVariantStrv func([]string, int) uintptr
723769 //
724770 // If @length is -1 then @strv is %NULL-terminated.
725771 func NewVariantStrv(StrvVar []string, LengthVar int) *Variant {
772+ core.LazyRegister(&xNewVariantStrv, "GLIB", "g_variant_new_strv", false)
773+
726774 cret := xNewVariantStrv(StrvVar, LengthVar)
727775 if cret == 0 {
728776 return nil
@@ -745,6 +793,8 @@ var xNewVariantTakeString func(string) uintptr
745793 // it to this function. It is even possible that @string is immediately
746794 // freed.
747795 func NewVariantTakeString(StringVar string) *Variant {
796+ core.LazyRegister(&xNewVariantTakeString, "GLIB", "g_variant_new_take_string", false)
797+
748798 cret := xNewVariantTakeString(StringVar)
749799 if cret == 0 {
750800 return nil
@@ -763,6 +813,8 @@ var xNewVariantTuple func(uintptr, uint) uintptr
763813 // If the @children are floating references (see g_variant_ref_sink()), the
764814 // new instance takes ownership of them as if via g_variant_ref_sink().
765815 func NewVariantTuple(ChildrenVar uintptr, NChildrenVar uint) *Variant {
816+ core.LazyRegister(&xNewVariantTuple, "GLIB", "g_variant_new_tuple", false)
817+
766818 cret := xNewVariantTuple(ChildrenVar, NChildrenVar)
767819 if cret == 0 {
768820 return nil
@@ -774,6 +826,8 @@ var xNewVariantUint16 func(uint16) uintptr
774826
775827 // Creates a new uint16 #GVariant instance.
776828 func NewVariantUint16(ValueVar uint16) *Variant {
829+ core.LazyRegister(&xNewVariantUint16, "GLIB", "g_variant_new_uint16", false)
830+
777831 cret := xNewVariantUint16(ValueVar)
778832 if cret == 0 {
779833 return nil
@@ -785,6 +839,8 @@ var xNewVariantUint32 func(uint32) uintptr
785839
786840 // Creates a new uint32 #GVariant instance.
787841 func NewVariantUint32(ValueVar uint32) *Variant {
842+ core.LazyRegister(&xNewVariantUint32, "GLIB", "g_variant_new_uint32", false)
843+
788844 cret := xNewVariantUint32(ValueVar)
789845 if cret == 0 {
790846 return nil
@@ -796,6 +852,8 @@ var xNewVariantUint64 func(uint64) uintptr
796852
797853 // Creates a new uint64 #GVariant instance.
798854 func NewVariantUint64(ValueVar uint64) *Variant {
855+ core.LazyRegister(&xNewVariantUint64, "GLIB", "g_variant_new_uint64", false)
856+
799857 cret := xNewVariantUint64(ValueVar)
800858 if cret == 0 {
801859 return nil
@@ -842,6 +900,8 @@ var xNewVariantVa func(string, uintptr, []interface{}) uintptr
842900 // result. This can also be done by adding the result to a container,
843901 // or by passing it to another g_variant_new() call.
844902 func NewVariantVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) *Variant {
903+ core.LazyRegister(&xNewVariantVa, "GLIB", "g_variant_new_va", false)
904+
845905 EndptrVarPtr := core.GStrdupNullable(EndptrVar)
846906 defer core.GFreeNullable(EndptrVarPtr)
847907
@@ -860,6 +920,8 @@ var xNewVariantVariant func(*Variant) uintptr
860920 // If @child is a floating reference (see g_variant_ref_sink()), the new
861921 // instance takes ownership of @child.
862922 func NewVariantVariant(ValueVar *Variant) *Variant {
923+ core.LazyRegister(&xNewVariantVariant, "GLIB", "g_variant_new_variant", false)
924+
863925 cret := xNewVariantVariant(ValueVar)
864926 if cret == 0 {
865927 return nil
@@ -887,6 +949,8 @@ var xVariantByteswap func(uintptr) uintptr
887949 // The returned value is always in normal form and is marked as trusted.
888950 // A full, not floating, reference is returned.
889951 func (x *Variant) Byteswap() *Variant {
952+ core.LazyRegister(&xVariantByteswap, "GLIB", "g_variant_byteswap", false)
953+
890954 cret := xVariantByteswap(x.GoPointer())
891955 if cret == 0 {
892956 return nil
@@ -911,6 +975,8 @@ var xVariantCheckFormatString func(uintptr, string, bool) bool
911975 // varargs accessors to #GVariant values of uncertain values (eg:
912976 // g_variant_lookup() or g_menu_model_get_item_attribute()).
913977 func (x *Variant) CheckFormatString(FormatStringVar string, CopyOnlyVar bool) bool {
978+ core.LazyRegister(&xVariantCheckFormatString, "GLIB", "g_variant_check_format_string", false)
979+
914980 cret := xVariantCheckFormatString(x.GoPointer(), FormatStringVar, CopyOnlyVar)
915981 return cret
916982 }
@@ -919,6 +985,8 @@ var xVariantClassify func(uintptr) VariantClass
919985
920986 // Classifies @value according to its top-level type.
921987 func (x *Variant) Classify() VariantClass {
988+ core.LazyRegister(&xVariantClassify, "GLIB", "g_variant_classify", false)
989+
922990 cret := xVariantClassify(x.GoPointer())
923991 return cret
924992 }
@@ -945,6 +1013,8 @@ var xVariantCompare func(uintptr, uintptr) int
9451013 // If you only require an equality comparison, g_variant_equal() is more
9461014 // general.
9471015 func (x *Variant) Compare(TwoVar uintptr) int {
1016+ core.LazyRegister(&xVariantCompare, "GLIB", "g_variant_compare", false)
1017+
9481018 cret := xVariantCompare(x.GoPointer(), TwoVar)
9491019 return cret
9501020 }
@@ -956,6 +1026,8 @@ var xVariantDupBytestring func(uintptr, *uint) uintptr
9561026 //
9571027 // The return value must be freed using g_free().
9581028 func (x *Variant) DupBytestring(LengthVar *uint) uintptr {
1029+ core.LazyRegister(&xVariantDupBytestring, "GLIB", "g_variant_dup_bytestring", false)
1030+
9591031 cret := xVariantDupBytestring(x.GoPointer(), LengthVar)
9601032 return cret
9611033 }
@@ -973,6 +1045,8 @@ var xVariantDupBytestringArray func(uintptr, *uint) []string
9731045 // For an empty array, @length will be set to 0 and a pointer to a
9741046 // %NULL pointer will be returned.
9751047 func (x *Variant) DupBytestringArray(LengthVar *uint) []string {
1048+ core.LazyRegister(&xVariantDupBytestringArray, "GLIB", "g_variant_dup_bytestring_array", false)
1049+
9761050 cret := xVariantDupBytestringArray(x.GoPointer(), LengthVar)
9771051 return cret
9781052 }
@@ -990,6 +1064,8 @@ var xVariantDupObjv func(uintptr, *uint) []string
9901064 // For an empty array, @length will be set to 0 and a pointer to a
9911065 // %NULL pointer will be returned.
9921066 func (x *Variant) DupObjv(LengthVar *uint) []string {
1067+ core.LazyRegister(&xVariantDupObjv, "GLIB", "g_variant_dup_objv", false)
1068+
9931069 cret := xVariantDupObjv(x.GoPointer(), LengthVar)
9941070 return cret
9951071 }
@@ -1003,6 +1079,8 @@ var xVariantDupString func(uintptr, *uint) string
10031079 //
10041080 // The return value must be freed using g_free().
10051081 func (x *Variant) DupString(LengthVar *uint) string {
1082+ core.LazyRegister(&xVariantDupString, "GLIB", "g_variant_dup_string", false)
1083+
10061084 cret := xVariantDupString(x.GoPointer(), LengthVar)
10071085 return cret
10081086 }
@@ -1020,6 +1098,8 @@ var xVariantDupStrv func(uintptr, *uint) []string
10201098 // For an empty array, @length will be set to 0 and a pointer to a
10211099 // %NULL pointer will be returned.
10221100 func (x *Variant) DupStrv(LengthVar *uint) []string {
1101+ core.LazyRegister(&xVariantDupStrv, "GLIB", "g_variant_dup_strv", false)
1102+
10231103 cret := xVariantDupStrv(x.GoPointer(), LengthVar)
10241104 return cret
10251105 }
@@ -1031,6 +1111,8 @@ var xVariantEqual func(uintptr, uintptr) bool
10311111 // The types of @one and @two are #gconstpointer only to allow use of
10321112 // this function with #GHashTable. They must each be a #GVariant.
10331113 func (x *Variant) Equal(TwoVar uintptr) bool {
1114+ core.LazyRegister(&xVariantEqual, "GLIB", "g_variant_equal", false)
1115+
10341116 cret := xVariantEqual(x.GoPointer(), TwoVar)
10351117 return cret
10361118 }
@@ -1054,6 +1136,8 @@ var xVariantGet func(uintptr, string, ...interface{})
10541136 // see the section on
10551137 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
10561138 func (x *Variant) Get(FormatStringVar string, varArgs ...interface{}) {
1139+ core.LazyRegister(&xVariantGet, "GLIB", "g_variant_get", false)
1140+
10571141 xVariantGet(x.GoPointer(), FormatStringVar, varArgs...)
10581142 }
10591143
@@ -1064,6 +1148,8 @@ var xVariantGetBoolean func(uintptr) bool
10641148 // It is an error to call this function with a @value of any type
10651149 // other than %G_VARIANT_TYPE_BOOLEAN.
10661150 func (x *Variant) GetBoolean() bool {
1151+ core.LazyRegister(&xVariantGetBoolean, "GLIB", "g_variant_get_boolean", false)
1152+
10671153 cret := xVariantGetBoolean(x.GoPointer())
10681154 return cret
10691155 }
@@ -1075,6 +1161,8 @@ var xVariantGetByte func(uintptr) byte
10751161 // It is an error to call this function with a @value of any type
10761162 // other than %G_VARIANT_TYPE_BYTE.
10771163 func (x *Variant) GetByte() byte {
1164+ core.LazyRegister(&xVariantGetByte, "GLIB", "g_variant_get_byte", false)
1165+
10781166 cret := xVariantGetByte(x.GoPointer())
10791167 return cret
10801168 }
@@ -1100,6 +1188,8 @@ var xVariantGetBytestring func(uintptr) uintptr
11001188 //
11011189 // The return value remains valid as long as @value exists.
11021190 func (x *Variant) GetBytestring() uintptr {
1191+ core.LazyRegister(&xVariantGetBytestring, "GLIB", "g_variant_get_bytestring", false)
1192+
11031193 cret := xVariantGetBytestring(x.GoPointer())
11041194 return cret
11051195 }
@@ -1117,6 +1207,8 @@ var xVariantGetBytestringArray func(uintptr, *uint) []string
11171207 // For an empty array, @length will be set to 0 and a pointer to a
11181208 // %NULL pointer will be returned.
11191209 func (x *Variant) GetBytestringArray(LengthVar *uint) []string {
1210+ core.LazyRegister(&xVariantGetBytestringArray, "GLIB", "g_variant_get_bytestring_array", false)
1211+
11201212 cret := xVariantGetBytestringArray(x.GoPointer(), LengthVar)
11211213 return cret
11221214 }
@@ -1133,6 +1225,8 @@ var xVariantGetChild func(uintptr, uint, string, ...interface{})
11331225 // see the section on
11341226 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
11351227 func (x *Variant) GetChild(IndexVar uint, FormatStringVar string, varArgs ...interface{}) {
1228+ core.LazyRegister(&xVariantGetChild, "GLIB", "g_variant_get_child", false)
1229+
11361230 xVariantGetChild(x.GoPointer(), IndexVar, FormatStringVar, varArgs...)
11371231 }
11381232
@@ -1162,6 +1256,8 @@ var xVariantGetChildValue func(uintptr, uint) uintptr
11621256 //
11631257 // This function is O(1).
11641258 func (x *Variant) GetChildValue(IndexVar uint) *Variant {
1259+ core.LazyRegister(&xVariantGetChildValue, "GLIB", "g_variant_get_child_value", false)
1260+
11651261 cret := xVariantGetChildValue(x.GoPointer(), IndexVar)
11661262 if cret == 0 {
11671263 return nil
@@ -1197,6 +1293,8 @@ var xVariantGetData func(uintptr) uintptr
11971293 // explicitly (by storing the type and/or endianness in addition to the
11981294 // serialized data).
11991295 func (x *Variant) GetData() uintptr {
1296+ core.LazyRegister(&xVariantGetData, "GLIB", "g_variant_get_data", false)
1297+
12001298 cret := xVariantGetData(x.GoPointer())
12011299 return cret
12021300 }
@@ -1208,6 +1306,8 @@ var xVariantGetDataAsBytes func(uintptr) uintptr
12081306 // g_variant_get_data(), except that the returned #GBytes holds
12091307 // a reference to the variant data.
12101308 func (x *Variant) GetDataAsBytes() *Bytes {
1309+ core.LazyRegister(&xVariantGetDataAsBytes, "GLIB", "g_variant_get_data_as_bytes", false)
1310+
12111311 cret := xVariantGetDataAsBytes(x.GoPointer())
12121312 if cret == 0 {
12131313 return nil
@@ -1222,6 +1322,8 @@ var xVariantGetDouble func(uintptr) float64
12221322 // It is an error to call this function with a @value of any type
12231323 // other than %G_VARIANT_TYPE_DOUBLE.
12241324 func (x *Variant) GetDouble() float64 {
1325+ core.LazyRegister(&xVariantGetDouble, "GLIB", "g_variant_get_double", false)
1326+
12251327 cret := xVariantGetDouble(x.GoPointer())
12261328 return cret
12271329 }
@@ -1255,6 +1357,8 @@ var xVariantGetFixedArray func(uintptr, *uint, uint) uintptr
12551357 // @n_elements, which must be non-%NULL, is set equal to the number of
12561358 // items in the array.
12571359 func (x *Variant) GetFixedArray(NElementsVar *uint, ElementSizeVar uint) uintptr {
1360+ core.LazyRegister(&xVariantGetFixedArray, "GLIB", "g_variant_get_fixed_array", false)
1361+
12581362 cret := xVariantGetFixedArray(x.GoPointer(), NElementsVar, ElementSizeVar)
12591363 return cret
12601364 }
@@ -1270,6 +1374,8 @@ var xVariantGetHandle func(uintptr) int32
12701374 // that are sent alongside a D-Bus message. If you're not interacting
12711375 // with D-Bus, you probably don't need them.
12721376 func (x *Variant) GetHandle() int32 {
1377+ core.LazyRegister(&xVariantGetHandle, "GLIB", "g_variant_get_handle", false)
1378+
12731379 cret := xVariantGetHandle(x.GoPointer())
12741380 return cret
12751381 }
@@ -1281,6 +1387,8 @@ var xVariantGetInt16 func(uintptr) int16
12811387 // It is an error to call this function with a @value of any type
12821388 // other than %G_VARIANT_TYPE_INT16.
12831389 func (x *Variant) GetInt16() int16 {
1390+ core.LazyRegister(&xVariantGetInt16, "GLIB", "g_variant_get_int16", false)
1391+
12841392 cret := xVariantGetInt16(x.GoPointer())
12851393 return cret
12861394 }
@@ -1292,6 +1400,8 @@ var xVariantGetInt32 func(uintptr) int32
12921400 // It is an error to call this function with a @value of any type
12931401 // other than %G_VARIANT_TYPE_INT32.
12941402 func (x *Variant) GetInt32() int32 {
1403+ core.LazyRegister(&xVariantGetInt32, "GLIB", "g_variant_get_int32", false)
1404+
12951405 cret := xVariantGetInt32(x.GoPointer())
12961406 return cret
12971407 }
@@ -1303,6 +1413,8 @@ var xVariantGetInt64 func(uintptr) int64
13031413 // It is an error to call this function with a @value of any type
13041414 // other than %G_VARIANT_TYPE_INT64.
13051415 func (x *Variant) GetInt64() int64 {
1416+ core.LazyRegister(&xVariantGetInt64, "GLIB", "g_variant_get_int64", false)
1417+
13061418 cret := xVariantGetInt64(x.GoPointer())
13071419 return cret
13081420 }
@@ -1312,6 +1424,8 @@ var xVariantGetMaybe func(uintptr) uintptr
13121424 // Given a maybe-typed #GVariant instance, extract its value. If the
13131425 // value is Nothing, then this function returns %NULL.
13141426 func (x *Variant) GetMaybe() *Variant {
1427+ core.LazyRegister(&xVariantGetMaybe, "GLIB", "g_variant_get_maybe", false)
1428+
13151429 cret := xVariantGetMaybe(x.GoPointer())
13161430 if cret == 0 {
13171431 return nil
@@ -1347,6 +1461,8 @@ var xVariantGetNormalForm func(uintptr) uintptr
13471461 // value from this function to guarantee ownership of a single non-floating
13481462 // reference to it.
13491463 func (x *Variant) GetNormalForm() *Variant {
1464+ core.LazyRegister(&xVariantGetNormalForm, "GLIB", "g_variant_get_normal_form", false)
1465+
13501466 cret := xVariantGetNormalForm(x.GoPointer())
13511467 if cret == 0 {
13521468 return nil
@@ -1367,6 +1483,8 @@ var xVariantGetObjv func(uintptr, *uint) []string
13671483 // For an empty array, @length will be set to 0 and a pointer to a
13681484 // %NULL pointer will be returned.
13691485 func (x *Variant) GetObjv(LengthVar *uint) []string {
1486+ core.LazyRegister(&xVariantGetObjv, "GLIB", "g_variant_get_objv", false)
1487+
13701488 cret := xVariantGetObjv(x.GoPointer(), LengthVar)
13711489 return cret
13721490 }
@@ -1385,6 +1503,8 @@ var xVariantGetSize func(uintptr) uint
13851503 // operation which is approximately O(n) in the number of values
13861504 // involved.
13871505 func (x *Variant) GetSize() uint {
1506+ core.LazyRegister(&xVariantGetSize, "GLIB", "g_variant_get_size", false)
1507+
13881508 cret := xVariantGetSize(x.GoPointer())
13891509 return cret
13901510 }
@@ -1410,6 +1530,8 @@ var xVariantGetString func(uintptr, *uint) string
14101530 //
14111531 // The return value remains valid as long as @value exists.
14121532 func (x *Variant) GetString(LengthVar *uint) string {
1533+ core.LazyRegister(&xVariantGetString, "GLIB", "g_variant_get_string", false)
1534+
14131535 cret := xVariantGetString(x.GoPointer(), LengthVar)
14141536 return cret
14151537 }
@@ -1427,6 +1549,8 @@ var xVariantGetStrv func(uintptr, *uint) []string
14271549 // For an empty array, @length will be set to 0 and a pointer to a
14281550 // %NULL pointer will be returned.
14291551 func (x *Variant) GetStrv(LengthVar *uint) []string {
1552+ core.LazyRegister(&xVariantGetStrv, "GLIB", "g_variant_get_strv", false)
1553+
14301554 cret := xVariantGetStrv(x.GoPointer(), LengthVar)
14311555 return cret
14321556 }
@@ -1438,6 +1562,8 @@ var xVariantGetType func(uintptr) uintptr
14381562 // The return value is valid for the lifetime of @value and must not
14391563 // be freed.
14401564 func (x *Variant) GetType() *VariantType {
1565+ core.LazyRegister(&xVariantGetType, "GLIB", "g_variant_get_type", false)
1566+
14411567 cret := xVariantGetType(x.GoPointer())
14421568 if cret == 0 {
14431569 return nil
@@ -1451,6 +1577,8 @@ var xVariantGetTypeString func(uintptr) string
14511577 // g_variant_type_peek_string(), this string is nul-terminated. This
14521578 // string belongs to #GVariant and must not be freed.
14531579 func (x *Variant) GetTypeString() string {
1580+ core.LazyRegister(&xVariantGetTypeString, "GLIB", "g_variant_get_type_string", false)
1581+
14541582 cret := xVariantGetTypeString(x.GoPointer())
14551583 return cret
14561584 }
@@ -1462,6 +1590,8 @@ var xVariantGetUint16 func(uintptr) uint16
14621590 // It is an error to call this function with a @value of any type
14631591 // other than %G_VARIANT_TYPE_UINT16.
14641592 func (x *Variant) GetUint16() uint16 {
1593+ core.LazyRegister(&xVariantGetUint16, "GLIB", "g_variant_get_uint16", false)
1594+
14651595 cret := xVariantGetUint16(x.GoPointer())
14661596 return cret
14671597 }
@@ -1473,6 +1603,8 @@ var xVariantGetUint32 func(uintptr) uint32
14731603 // It is an error to call this function with a @value of any type
14741604 // other than %G_VARIANT_TYPE_UINT32.
14751605 func (x *Variant) GetUint32() uint32 {
1606+ core.LazyRegister(&xVariantGetUint32, "GLIB", "g_variant_get_uint32", false)
1607+
14761608 cret := xVariantGetUint32(x.GoPointer())
14771609 return cret
14781610 }
@@ -1484,6 +1616,8 @@ var xVariantGetUint64 func(uintptr) uint64
14841616 // It is an error to call this function with a @value of any type
14851617 // other than %G_VARIANT_TYPE_UINT64.
14861618 func (x *Variant) GetUint64() uint64 {
1619+ core.LazyRegister(&xVariantGetUint64, "GLIB", "g_variant_get_uint64", false)
1620+
14871621 cret := xVariantGetUint64(x.GoPointer())
14881622 return cret
14891623 }
@@ -1515,6 +1649,8 @@ var xVariantGetVa func(uintptr, string, uintptr, []interface{})
15151649 // see the section on
15161650 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
15171651 func (x *Variant) GetVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) {
1652+ core.LazyRegister(&xVariantGetVa, "GLIB", "g_variant_get_va", false)
1653+
15181654 EndptrVarPtr := core.GStrdupNullable(EndptrVar)
15191655 defer core.GFreeNullable(EndptrVarPtr)
15201656
@@ -1526,6 +1662,8 @@ var xVariantGetVariant func(uintptr) uintptr
15261662 // Unboxes @value. The result is the #GVariant instance that was
15271663 // contained in @value.
15281664 func (x *Variant) GetVariant() *Variant {
1665+ core.LazyRegister(&xVariantGetVariant, "GLIB", "g_variant_get_variant", false)
1666+
15291667 cret := xVariantGetVariant(x.GoPointer())
15301668 if cret == 0 {
15311669 return nil
@@ -1545,6 +1683,8 @@ var xVariantHash func(uintptr) uint
15451683 // The type of @value is #gconstpointer only to allow use of this
15461684 // function with #GHashTable. @value must be a #GVariant.
15471685 func (x *Variant) Hash() uint {
1686+ core.LazyRegister(&xVariantHash, "GLIB", "g_variant_hash", false)
1687+
15481688 cret := xVariantHash(x.GoPointer())
15491689 return cret
15501690 }
@@ -1553,6 +1693,8 @@ var xVariantIsContainer func(uintptr) bool
15531693
15541694 // Checks if @value is a container.
15551695 func (x *Variant) IsContainer() bool {
1696+ core.LazyRegister(&xVariantIsContainer, "GLIB", "g_variant_is_container", false)
1697+
15561698 cret := xVariantIsContainer(x.GoPointer())
15571699 return cret
15581700 }
@@ -1569,6 +1711,8 @@ var xVariantIsFloating func(uintptr) bool
15691711 // See g_variant_ref_sink() for more information about floating reference
15701712 // counts.
15711713 func (x *Variant) IsFloating() bool {
1714+ core.LazyRegister(&xVariantIsFloating, "GLIB", "g_variant_is_floating", false)
1715+
15721716 cret := xVariantIsFloating(x.GoPointer())
15731717 return cret
15741718 }
@@ -1589,6 +1733,8 @@ var xVariantIsNormalForm func(uintptr) bool
15891733 // There may be implementation specific restrictions on deeply nested values.
15901734 // GVariant is guaranteed to handle nesting up to at least 64 levels.
15911735 func (x *Variant) IsNormalForm() bool {
1736+ core.LazyRegister(&xVariantIsNormalForm, "GLIB", "g_variant_is_normal_form", false)
1737+
15921738 cret := xVariantIsNormalForm(x.GoPointer())
15931739 return cret
15941740 }
@@ -1597,6 +1743,8 @@ var xVariantIsOfType func(uintptr, *VariantType) bool
15971743
15981744 // Checks if a value has a type matching the provided type.
15991745 func (x *Variant) IsOfType(TypeVar *VariantType) bool {
1746+ core.LazyRegister(&xVariantIsOfType, "GLIB", "g_variant_is_of_type", false)
1747+
16001748 cret := xVariantIsOfType(x.GoPointer(), TypeVar)
16011749 return cret
16021750 }
@@ -1612,6 +1760,8 @@ var xVariantIterNew func(uintptr) uintptr
16121760 // A reference is taken to @value and will be released only when
16131761 // g_variant_iter_free() is called.
16141762 func (x *Variant) IterNew() *VariantIter {
1763+ core.LazyRegister(&xVariantIterNew, "GLIB", "g_variant_iter_new", false)
1764+
16151765 cret := xVariantIterNew(x.GoPointer())
16161766 if cret == 0 {
16171767 return nil
@@ -1636,6 +1786,8 @@ var xVariantLookup func(uintptr, string, string, ...interface{}) bool
16361786 // This function is currently implemented with a linear scan. If you
16371787 // plan to do many lookups then #GVariantDict may be more efficient.
16381788 func (x *Variant) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool {
1789+ core.LazyRegister(&xVariantLookup, "GLIB", "g_variant_lookup", false)
1790+
16391791 cret := xVariantLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...)
16401792 return cret
16411793 }
@@ -1664,6 +1816,8 @@ var xVariantLookupValue func(uintptr, string, *VariantType) uintptr
16641816 // This function is currently implemented with a linear scan. If you
16651817 // plan to do many lookups then [struct@VariantDict] may be more efficient.
16661818 func (x *Variant) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant {
1819+ core.LazyRegister(&xVariantLookupValue, "GLIB", "g_variant_lookup_value", false)
1820+
16671821 cret := xVariantLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar)
16681822 if cret == 0 {
16691823 return nil
@@ -1685,6 +1839,8 @@ var xVariantNChildren func(uintptr) uint
16851839 //
16861840 // This function is O(1).
16871841 func (x *Variant) NChildren() uint {
1842+ core.LazyRegister(&xVariantNChildren, "GLIB", "g_variant_n_children", false)
1843+
16881844 cret := xVariantNChildren(x.GoPointer())
16891845 return cret
16901846 }
@@ -1698,6 +1854,8 @@ var xVariantPrint func(uintptr, bool) string
16981854 // If @type_annotate is %TRUE, then type information is included in
16991855 // the output.
17001856 func (x *Variant) Print(TypeAnnotateVar bool) string {
1857+ core.LazyRegister(&xVariantPrint, "GLIB", "g_variant_print", false)
1858+
17011859 cret := xVariantPrint(x.GoPointer(), TypeAnnotateVar)
17021860 return cret
17031861 }
@@ -1709,6 +1867,8 @@ var xVariantPrintString func(uintptr, *String, bool) uintptr
17091867 // If @string is non-%NULL then it is appended to and returned. Else,
17101868 // a new empty #GString is allocated and it is returned.
17111869 func (x *Variant) PrintString(StringVar *String, TypeAnnotateVar bool) *String {
1870+ core.LazyRegister(&xVariantPrintString, "GLIB", "g_variant_print_string", false)
1871+
17121872 cret := xVariantPrintString(x.GoPointer(), StringVar, TypeAnnotateVar)
17131873 if cret == 0 {
17141874 return nil
@@ -1720,6 +1880,8 @@ var xVariantRef func(uintptr) uintptr
17201880
17211881 // Increases the reference count of @value.
17221882 func (x *Variant) Ref() *Variant {
1883+ core.LazyRegister(&xVariantRef, "GLIB", "g_variant_ref", false)
1884+
17231885 cret := xVariantRef(x.GoPointer())
17241886 if cret == 0 {
17251887 return nil
@@ -1752,6 +1914,8 @@ var xVariantRefSink func(uintptr) uintptr
17521914 // maintaining normal refcounting semantics in situations where values
17531915 // are not floating.
17541916 func (x *Variant) RefSink() *Variant {
1917+ core.LazyRegister(&xVariantRefSink, "GLIB", "g_variant_ref_sink", false)
1918+
17551919 cret := xVariantRefSink(x.GoPointer())
17561920 if cret == 0 {
17571921 return nil
@@ -1774,6 +1938,8 @@ var xVariantStore func(uintptr, uintptr)
17741938 //
17751939 // This function is approximately O(n) in the size of @data.
17761940 func (x *Variant) Store(DataVar uintptr) {
1941+ core.LazyRegister(&xVariantStore, "GLIB", "g_variant_store", false)
1942+
17771943 xVariantStore(x.GoPointer(), DataVar)
17781944 }
17791945
@@ -1812,6 +1978,8 @@ var xVariantTakeRef func(uintptr) uintptr
18121978 // an additional reference on top of that one is added. It is best to
18131979 // avoid this situation.
18141980 func (x *Variant) TakeRef() *Variant {
1981+ core.LazyRegister(&xVariantTakeRef, "GLIB", "g_variant_take_ref", false)
1982+
18151983 cret := xVariantTakeRef(x.GoPointer())
18161984 if cret == 0 {
18171985 return nil
@@ -1824,6 +1992,8 @@ var xVariantUnref func(uintptr)
18241992 // Decreases the reference count of @value. When its reference count
18251993 // drops to 0, the memory used by the variant is freed.
18261994 func (x *Variant) Unref() {
1995+ core.LazyRegister(&xVariantUnref, "GLIB", "g_variant_unref", false)
1996+
18271997 xVariantUnref(x.GoPointer())
18281998 }
18291999
@@ -1841,6 +2011,7 @@ type VariantBuilder struct {
18412011 var xVariantBuilderGLibType func() types.GType
18422012
18432013 func VariantBuilderGLibType() types.GType {
2014+ core.LazyRegister(&xVariantBuilderGLibType, "GLIB", "g_variant_builder_get_type", false)
18442015 return xVariantBuilderGLibType()
18452016 }
18462017
@@ -1868,6 +2039,8 @@ var xNewVariantBuilder func(*VariantType) uintptr
18682039 // the stack of the calling function and initialise it with
18692040 // g_variant_builder_init_static().
18702041 func NewVariantBuilder(TypeVar *VariantType) *VariantBuilder {
2042+ core.LazyRegister(&xNewVariantBuilder, "GLIB", "g_variant_builder_new", false)
2043+
18712044 cret := xNewVariantBuilder(TypeVar)
18722045 if cret == 0 {
18732046 return nil
@@ -1910,6 +2083,8 @@ var xVariantBuilderAdd func(uintptr, string, ...interface{})
19102083 //
19112084 // ]|
19122085 func (x *VariantBuilder) Add(FormatStringVar string, varArgs ...interface{}) {
2086+ core.LazyRegister(&xVariantBuilderAdd, "GLIB", "g_variant_builder_add", false)
2087+
19132088 xVariantBuilderAdd(x.GoPointer(), FormatStringVar, varArgs...)
19142089 }
19152090
@@ -1944,6 +2119,8 @@ var xVariantBuilderAddParsed func(uintptr, string, ...interface{})
19442119 //
19452120 // ]|
19462121 func (x *VariantBuilder) AddParsed(FormatVar string, varArgs ...interface{}) {
2122+ core.LazyRegister(&xVariantBuilderAddParsed, "GLIB", "g_variant_builder_add_parsed", false)
2123+
19472124 xVariantBuilderAddParsed(x.GoPointer(), FormatVar, varArgs...)
19482125 }
19492126
@@ -1960,6 +2137,8 @@ var xVariantBuilderAddValue func(uintptr, *Variant)
19602137 // If @value is a floating reference (see g_variant_ref_sink()),
19612138 // the @builder instance takes ownership of @value.
19622139 func (x *VariantBuilder) AddValue(ValueVar *Variant) {
2140+ core.LazyRegister(&xVariantBuilderAddValue, "GLIB", "g_variant_builder_add_value", false)
2141+
19632142 xVariantBuilderAddValue(x.GoPointer(), ValueVar)
19642143 }
19652144
@@ -1980,6 +2159,8 @@ var xVariantBuilderClear func(uintptr)
19802159 // #GVariantBuilder or one that is set to all-zeros but it is not valid
19812160 // to call this function on uninitialised memory.
19822161 func (x *VariantBuilder) Clear() {
2162+ core.LazyRegister(&xVariantBuilderClear, "GLIB", "g_variant_builder_clear", false)
2163+
19832164 xVariantBuilderClear(x.GoPointer())
19842165 }
19852166
@@ -1992,6 +2173,8 @@ var xVariantBuilderClose func(uintptr)
19922173 // inconsistent value to be constructed (ie: too few values added to the
19932174 // subcontainer).
19942175 func (x *VariantBuilder) Close() {
2176+ core.LazyRegister(&xVariantBuilderClose, "GLIB", "g_variant_builder_close", false)
2177+
19952178 xVariantBuilderClose(x.GoPointer())
19962179 }
19972180
@@ -2015,6 +2198,8 @@ var xVariantBuilderEnd func(uintptr) uintptr
20152198 // have been added; in this case it is impossible to infer the type of
20162199 // the empty array.
20172200 func (x *VariantBuilder) End() *Variant {
2201+ core.LazyRegister(&xVariantBuilderEnd, "GLIB", "g_variant_builder_end", false)
2202+
20182203 cret := xVariantBuilderEnd(x.GoPointer())
20192204 if cret == 0 {
20202205 return nil
@@ -2058,6 +2243,8 @@ var xVariantBuilderInit func(uintptr, *VariantType)
20582243 // reference counting; you should use g_variant_builder_new() instead of
20592244 // this function.
20602245 func (x *VariantBuilder) Init(TypeVar *VariantType) {
2246+ core.LazyRegister(&xVariantBuilderInit, "GLIB", "g_variant_builder_init", false)
2247+
20612248 xVariantBuilderInit(x.GoPointer(), TypeVar)
20622249 }
20632250
@@ -2070,6 +2257,8 @@ var xVariantBuilderInitStatic func(uintptr, *VariantType)
20702257 // lifetime of @builder. This is always true of type constants like
20712258 // `G_VARIANT_TYPE_*` or `G_VARIANT_TYPE ("(ii)")`.
20722259 func (x *VariantBuilder) InitStatic(TypeVar *VariantType) {
2260+ core.LazyRegister(&xVariantBuilderInitStatic, "GLIB", "g_variant_builder_init_static", false)
2261+
20732262 xVariantBuilderInitStatic(x.GoPointer(), TypeVar)
20742263 }
20752264
@@ -2113,6 +2302,8 @@ var xVariantBuilderOpen func(uintptr, *VariantType)
21132302 // output = g_variant_builder_end (&amp;builder);
21142303 // ]|
21152304 func (x *VariantBuilder) Open(TypeVar *VariantType) {
2305+ core.LazyRegister(&xVariantBuilderOpen, "GLIB", "g_variant_builder_open", false)
2306+
21162307 xVariantBuilderOpen(x.GoPointer(), TypeVar)
21172308 }
21182309
@@ -2123,6 +2314,8 @@ var xVariantBuilderRef func(uintptr) uintptr
21232314 // Don't call this on stack-allocated #GVariantBuilder instances or bad
21242315 // things will happen.
21252316 func (x *VariantBuilder) Ref() *VariantBuilder {
2317+ core.LazyRegister(&xVariantBuilderRef, "GLIB", "g_variant_builder_ref", false)
2318+
21262319 cret := xVariantBuilderRef(x.GoPointer())
21272320 if cret == 0 {
21282321 return nil
@@ -2140,6 +2333,8 @@ var xVariantBuilderUnref func(uintptr)
21402333 // Don't call this on stack-allocated #GVariantBuilder instances or bad
21412334 // things will happen.
21422335 func (x *VariantBuilder) Unref() {
2336+ core.LazyRegister(&xVariantBuilderUnref, "GLIB", "g_variant_builder_unref", false)
2337+
21432338 xVariantBuilderUnref(x.GoPointer())
21442339 }
21452340
@@ -2243,6 +2438,7 @@ type VariantDict struct {
22432438 var xVariantDictGLibType func() types.GType
22442439
22452440 func VariantDictGLibType() types.GType {
2441+ core.LazyRegister(&xVariantDictGLibType, "GLIB", "g_variant_dict_get_type", false)
22462442 return xVariantDictGLibType()
22472443 }
22482444
@@ -2271,6 +2467,8 @@ var xNewVariantDict func(*Variant) uintptr
22712467 // g_variant_dict_init(). This is particularly useful when you are
22722468 // using #GVariantDict to construct a #GVariant.
22732469 func NewVariantDict(FromAsvVar *Variant) *VariantDict {
2470+ core.LazyRegister(&xNewVariantDict, "GLIB", "g_variant_dict_new", false)
2471+
22742472 cret := xNewVariantDict(FromAsvVar)
22752473 if cret == 0 {
22762474 return nil
@@ -2295,6 +2493,8 @@ var xVariantDictClear func(uintptr)
22952493 // to g_variant_dict_clear() but it is not valid to call this function
22962494 // on uninitialised memory.
22972495 func (x *VariantDict) Clear() {
2496+ core.LazyRegister(&xVariantDictClear, "GLIB", "g_variant_dict_clear", false)
2497+
22982498 xVariantDictClear(x.GoPointer())
22992499 }
23002500
@@ -2302,6 +2502,8 @@ var xVariantDictContains func(uintptr, string) bool
23022502
23032503 // Checks if @key exists in @dict.
23042504 func (x *VariantDict) Contains(KeyVar string) bool {
2505+ core.LazyRegister(&xVariantDictContains, "GLIB", "g_variant_dict_contains", false)
2506+
23052507 cret := xVariantDictContains(x.GoPointer(), KeyVar)
23062508 return cret
23072509 }
@@ -2316,6 +2518,8 @@ var xVariantDictEnd func(uintptr) uintptr
23162518 // #GVariantDict) or by reinitialising it with g_variant_dict_init() (in
23172519 // the case of stack-allocated).
23182520 func (x *VariantDict) End() *Variant {
2521+ core.LazyRegister(&xVariantDictEnd, "GLIB", "g_variant_dict_end", false)
2522+
23192523 cret := xVariantDictEnd(x.GoPointer())
23202524 if cret == 0 {
23212525 return nil
@@ -2342,6 +2546,8 @@ var xVariantDictInit func(uintptr, *Variant)
23422546 // reference may try to use reference counting; you should use
23432547 // g_variant_dict_new() instead of this function.
23442548 func (x *VariantDict) Init(FromAsvVar *Variant) {
2549+ core.LazyRegister(&xVariantDictInit, "GLIB", "g_variant_dict_init", false)
2550+
23452551 xVariantDictInit(x.GoPointer(), FromAsvVar)
23462552 }
23472553
@@ -2352,6 +2558,8 @@ var xVariantDictInsert func(uintptr, string, string, ...interface{})
23522558 // This call is a convenience wrapper that is exactly equivalent to
23532559 // calling g_variant_new() followed by g_variant_dict_insert_value().
23542560 func (x *VariantDict) Insert(KeyVar string, FormatStringVar string, varArgs ...interface{}) {
2561+ core.LazyRegister(&xVariantDictInsert, "GLIB", "g_variant_dict_insert", false)
2562+
23552563 xVariantDictInsert(x.GoPointer(), KeyVar, FormatStringVar, varArgs...)
23562564 }
23572565
@@ -2361,6 +2569,8 @@ var xVariantDictInsertValue func(uintptr, string, *Variant)
23612569 //
23622570 // @value is consumed if it is floating.
23632571 func (x *VariantDict) InsertValue(KeyVar string, ValueVar *Variant) {
2572+ core.LazyRegister(&xVariantDictInsertValue, "GLIB", "g_variant_dict_insert_value", false)
2573+
23642574 xVariantDictInsertValue(x.GoPointer(), KeyVar, ValueVar)
23652575 }
23662576
@@ -2378,6 +2588,8 @@ var xVariantDictLookup func(uintptr, string, string, ...interface{}) bool
23782588 // values and also determines if the values are copied or borrowed, see the
23792589 // section on [`GVariant` format strings](gvariant-format-strings.html#pointers).
23802590 func (x *VariantDict) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool {
2591+ core.LazyRegister(&xVariantDictLookup, "GLIB", "g_variant_dict_lookup", false)
2592+
23812593 cret := xVariantDictLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...)
23822594 return cret
23832595 }
@@ -2396,6 +2608,8 @@ var xVariantDictLookupValue func(uintptr, string, *VariantType) uintptr
23962608 // returned. If @expected_type was specified then any non-%NULL return
23972609 // value will have this type.
23982610 func (x *VariantDict) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant {
2611+ core.LazyRegister(&xVariantDictLookupValue, "GLIB", "g_variant_dict_lookup_value", false)
2612+
23992613 cret := xVariantDictLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar)
24002614 if cret == 0 {
24012615 return nil
@@ -2410,6 +2624,8 @@ var xVariantDictRef func(uintptr) uintptr
24102624 // Don't call this on stack-allocated #GVariantDict instances or bad
24112625 // things will happen.
24122626 func (x *VariantDict) Ref() *VariantDict {
2627+ core.LazyRegister(&xVariantDictRef, "GLIB", "g_variant_dict_ref", false)
2628+
24132629 cret := xVariantDictRef(x.GoPointer())
24142630 if cret == 0 {
24152631 return nil
@@ -2421,6 +2637,8 @@ var xVariantDictRemove func(uintptr, string) bool
24212637
24222638 // Removes a key and its associated value from a #GVariantDict.
24232639 func (x *VariantDict) Remove(KeyVar string) bool {
2640+ core.LazyRegister(&xVariantDictRemove, "GLIB", "g_variant_dict_remove", false)
2641+
24242642 cret := xVariantDictRemove(x.GoPointer(), KeyVar)
24252643 return cret
24262644 }
@@ -2435,6 +2653,8 @@ var xVariantDictUnref func(uintptr)
24352653 // Don't call this on stack-allocated #GVariantDict instances or bad
24362654 // things will happen.
24372655 func (x *VariantDict) Unref() {
2656+ core.LazyRegister(&xVariantDictUnref, "GLIB", "g_variant_dict_unref", false)
2657+
24382658 xVariantDictUnref(x.GoPointer())
24392659 }
24402660
@@ -2471,6 +2691,8 @@ var xVariantIterCopy func(uintptr) uintptr
24712691 // A reference is taken to the container that @iter is iterating over
24722692 // and will be related only when g_variant_iter_free() is called.
24732693 func (x *VariantIter) Copy() *VariantIter {
2694+ core.LazyRegister(&xVariantIterCopy, "GLIB", "g_variant_iter_copy", false)
2695+
24742696 cret := xVariantIterCopy(x.GoPointer())
24752697 if cret == 0 {
24762698 return nil
@@ -2484,6 +2706,8 @@ var xVariantIterFree func(uintptr)
24842706 // iterators that were returned by g_variant_iter_new() or
24852707 // g_variant_iter_copy().
24862708 func (x *VariantIter) Free() {
2709+ core.LazyRegister(&xVariantIterFree, "GLIB", "g_variant_iter_free", false)
2710+
24872711 xVariantIterFree(x.GoPointer())
24882712 }
24892713
@@ -2496,6 +2720,8 @@ var xVariantIterInit func(uintptr, *Variant) uint
24962720 // The iterator remains valid for as long as @value exists, and need not
24972721 // be freed in any way.
24982722 func (x *VariantIter) Init(ValueVar *Variant) uint {
2723+ core.LazyRegister(&xVariantIterInit, "GLIB", "g_variant_iter_init", false)
2724+
24992725 cret := xVariantIterInit(x.GoPointer(), ValueVar)
25002726 return cret
25012727 }
@@ -2567,6 +2793,8 @@ var xVariantIterLoop func(uintptr, string, ...interface{}) bool
25672793 // See the section on
25682794 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
25692795 func (x *VariantIter) Loop(FormatStringVar string, varArgs ...interface{}) bool {
2796+ core.LazyRegister(&xVariantIterLoop, "GLIB", "g_variant_iter_loop", false)
2797+
25702798 cret := xVariantIterLoop(x.GoPointer(), FormatStringVar, varArgs...)
25712799 return cret
25722800 }
@@ -2579,6 +2807,8 @@ var xVariantIterNChildren func(uintptr) uint
25792807 //
25802808 // This function might be useful for preallocation of arrays.
25812809 func (x *VariantIter) NChildren() uint {
2810+ core.LazyRegister(&xVariantIterNChildren, "GLIB", "g_variant_iter_n_children", false)
2811+
25822812 cret := xVariantIterNChildren(x.GoPointer())
25832813 return cret
25842814 }
@@ -2629,6 +2859,8 @@ var xVariantIterNext func(uintptr, string, ...interface{}) bool
26292859 // See the section on
26302860 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
26312861 func (x *VariantIter) Next(FormatStringVar string, varArgs ...interface{}) bool {
2862+ core.LazyRegister(&xVariantIterNext, "GLIB", "g_variant_iter_next", false)
2863+
26322864 cret := xVariantIterNext(x.GoPointer(), FormatStringVar, varArgs...)
26332865 return cret
26342866 }
@@ -2665,6 +2897,8 @@ var xVariantIterNextValue func(uintptr) uintptr
26652897 //
26662898 // ]|
26672899 func (x *VariantIter) NextValue() *Variant {
2900+ core.LazyRegister(&xVariantIterNextValue, "GLIB", "g_variant_iter_next_value", false)
2901+
26682902 cret := xVariantIterNextValue(x.GoPointer())
26692903 if cret == 0 {
26702904 return nil
@@ -2773,6 +3007,8 @@ var xVariantIsObjectPath func(string) bool
27733007 // must contain only the characters `[A-Z][a-z][0-9]_`. No sequence
27743008 // (including the one following the final `/` character) may be empty.
27753009 func VariantIsObjectPath(StringVar string) bool {
3010+ core.LazyRegister(&xVariantIsObjectPath, "GLIB", "g_variant_is_object_path", false)
3011+
27763012 cret := xVariantIsObjectPath(StringVar)
27773013 return cret
27783014 }
@@ -2786,6 +3022,8 @@ var xVariantIsSignature func(string) bool
27863022 // D-Bus type signatures consist of zero or more definite #GVariantType
27873023 // strings in sequence.
27883024 func VariantIsSignature(StringVar string) bool {
3025+ core.LazyRegister(&xVariantIsSignature, "GLIB", "g_variant_is_signature", false)
3026+
27893027 cret := xVariantIsSignature(StringVar)
27903028 return cret
27913029 }
@@ -2829,6 +3067,7 @@ var xVariantParse func(*VariantType, string, uintptr, uintptr, **Error) uintptr
28293067 // which would result in a %G_VARIANT_PARSE_ERROR_RECURSION error. #GVariant is
28303068 // guaranteed to handle nesting up to at least 64 levels.
28313069 func VariantParse(TypeVar *VariantType, TextVar string, LimitVar *string, EndptrVar *string) (*Variant, error) {
3070+ core.LazyRegister(&xVariantParse, "GLIB", "g_variant_parse", false)
28323071 var cerr *Error
28333072
28343073 LimitVarPtr := core.GStrdupNullable(LimitVar)
@@ -2883,6 +3122,8 @@ var xVariantParseErrorPrintContext func(*Error, string) string
28833122 // g_variant_parse() then you must add nul termination before using this
28843123 // function.
28853124 func VariantParseErrorPrintContext(ErrorVar *Error, SourceStrVar string) string {
3125+ core.LazyRegister(&xVariantParseErrorPrintContext, "GLIB", "g_variant_parse_error_print_context", false)
3126+
28863127 cret := xVariantParseErrorPrintContext(ErrorVar, SourceStrVar)
28873128 return cret
28883129 }
@@ -2890,146 +3131,4 @@ func VariantParseErrorPrintContext(ErrorVar *Error, SourceStrVar string) string
28903131 func init() {
28913132 core.SetPackageName("GLIB", "glib-2.0")
28923133 core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"})
2893- var libs []uintptr
2894- for _, libPath := range core.GetPaths("GLIB") {
2895- lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL)
2896- if err != nil {
2897- panic(err)
2898- }
2899- libs = append(libs, lib)
2900- }
2901-
2902- core.PuregoSafeRegister(&xVariantIsObjectPath, libs, "g_variant_is_object_path")
2903- core.PuregoSafeRegister(&xVariantIsSignature, libs, "g_variant_is_signature")
2904- core.PuregoSafeRegister(&xVariantParse, libs, "g_variant_parse")
2905- core.PuregoSafeRegister(&xVariantParseErrorPrintContext, libs, "g_variant_parse_error_print_context")
2906-
2907- core.PuregoSafeRegister(&xVariantGLibType, libs, "intern")
2908-
2909- core.PuregoSafeRegister(&xNewVariant, libs, "g_variant_new")
2910- core.PuregoSafeRegister(&xNewVariantArray, libs, "g_variant_new_array")
2911- core.PuregoSafeRegister(&xNewVariantBoolean, libs, "g_variant_new_boolean")
2912- core.PuregoSafeRegister(&xNewVariantByte, libs, "g_variant_new_byte")
2913- core.PuregoSafeRegister(&xNewVariantBytestring, libs, "g_variant_new_bytestring")
2914- core.PuregoSafeRegister(&xNewVariantBytestringArray, libs, "g_variant_new_bytestring_array")
2915- core.PuregoSafeRegister(&xNewVariantDictEntry, libs, "g_variant_new_dict_entry")
2916- core.PuregoSafeRegister(&xNewVariantDouble, libs, "g_variant_new_double")
2917- core.PuregoSafeRegister(&xNewVariantFixedArray, libs, "g_variant_new_fixed_array")
2918- core.PuregoSafeRegister(&xNewVariantFromBytes, libs, "g_variant_new_from_bytes")
2919- core.PuregoSafeRegister(&xNewVariantFromData, libs, "g_variant_new_from_data")
2920- core.PuregoSafeRegister(&xNewVariantHandle, libs, "g_variant_new_handle")
2921- core.PuregoSafeRegister(&xNewVariantInt16, libs, "g_variant_new_int16")
2922- core.PuregoSafeRegister(&xNewVariantInt32, libs, "g_variant_new_int32")
2923- core.PuregoSafeRegister(&xNewVariantInt64, libs, "g_variant_new_int64")
2924- core.PuregoSafeRegister(&xNewVariantMaybe, libs, "g_variant_new_maybe")
2925- core.PuregoSafeRegister(&xNewVariantObjectPath, libs, "g_variant_new_object_path")
2926- core.PuregoSafeRegister(&xNewVariantObjv, libs, "g_variant_new_objv")
2927- core.PuregoSafeRegister(&xNewVariantParsed, libs, "g_variant_new_parsed")
2928- core.PuregoSafeRegister(&xNewVariantParsedVa, libs, "g_variant_new_parsed_va")
2929- core.PuregoSafeRegister(&xNewVariantPrintf, libs, "g_variant_new_printf")
2930- core.PuregoSafeRegister(&xNewVariantSignature, libs, "g_variant_new_signature")
2931- core.PuregoSafeRegister(&xNewVariantString, libs, "g_variant_new_string")
2932- core.PuregoSafeRegister(&xNewVariantStrv, libs, "g_variant_new_strv")
2933- core.PuregoSafeRegister(&xNewVariantTakeString, libs, "g_variant_new_take_string")
2934- core.PuregoSafeRegister(&xNewVariantTuple, libs, "g_variant_new_tuple")
2935- core.PuregoSafeRegister(&xNewVariantUint16, libs, "g_variant_new_uint16")
2936- core.PuregoSafeRegister(&xNewVariantUint32, libs, "g_variant_new_uint32")
2937- core.PuregoSafeRegister(&xNewVariantUint64, libs, "g_variant_new_uint64")
2938- core.PuregoSafeRegister(&xNewVariantVa, libs, "g_variant_new_va")
2939- core.PuregoSafeRegister(&xNewVariantVariant, libs, "g_variant_new_variant")
2940-
2941- core.PuregoSafeRegister(&xVariantByteswap, libs, "g_variant_byteswap")
2942- core.PuregoSafeRegister(&xVariantCheckFormatString, libs, "g_variant_check_format_string")
2943- core.PuregoSafeRegister(&xVariantClassify, libs, "g_variant_classify")
2944- core.PuregoSafeRegister(&xVariantCompare, libs, "g_variant_compare")
2945- core.PuregoSafeRegister(&xVariantDupBytestring, libs, "g_variant_dup_bytestring")
2946- core.PuregoSafeRegister(&xVariantDupBytestringArray, libs, "g_variant_dup_bytestring_array")
2947- core.PuregoSafeRegister(&xVariantDupObjv, libs, "g_variant_dup_objv")
2948- core.PuregoSafeRegister(&xVariantDupString, libs, "g_variant_dup_string")
2949- core.PuregoSafeRegister(&xVariantDupStrv, libs, "g_variant_dup_strv")
2950- core.PuregoSafeRegister(&xVariantEqual, libs, "g_variant_equal")
2951- core.PuregoSafeRegister(&xVariantGet, libs, "g_variant_get")
2952- core.PuregoSafeRegister(&xVariantGetBoolean, libs, "g_variant_get_boolean")
2953- core.PuregoSafeRegister(&xVariantGetByte, libs, "g_variant_get_byte")
2954- core.PuregoSafeRegister(&xVariantGetBytestring, libs, "g_variant_get_bytestring")
2955- core.PuregoSafeRegister(&xVariantGetBytestringArray, libs, "g_variant_get_bytestring_array")
2956- core.PuregoSafeRegister(&xVariantGetChild, libs, "g_variant_get_child")
2957- core.PuregoSafeRegister(&xVariantGetChildValue, libs, "g_variant_get_child_value")
2958- core.PuregoSafeRegister(&xVariantGetData, libs, "g_variant_get_data")
2959- core.PuregoSafeRegister(&xVariantGetDataAsBytes, libs, "g_variant_get_data_as_bytes")
2960- core.PuregoSafeRegister(&xVariantGetDouble, libs, "g_variant_get_double")
2961- core.PuregoSafeRegister(&xVariantGetFixedArray, libs, "g_variant_get_fixed_array")
2962- core.PuregoSafeRegister(&xVariantGetHandle, libs, "g_variant_get_handle")
2963- core.PuregoSafeRegister(&xVariantGetInt16, libs, "g_variant_get_int16")
2964- core.PuregoSafeRegister(&xVariantGetInt32, libs, "g_variant_get_int32")
2965- core.PuregoSafeRegister(&xVariantGetInt64, libs, "g_variant_get_int64")
2966- core.PuregoSafeRegister(&xVariantGetMaybe, libs, "g_variant_get_maybe")
2967- core.PuregoSafeRegister(&xVariantGetNormalForm, libs, "g_variant_get_normal_form")
2968- core.PuregoSafeRegister(&xVariantGetObjv, libs, "g_variant_get_objv")
2969- core.PuregoSafeRegister(&xVariantGetSize, libs, "g_variant_get_size")
2970- core.PuregoSafeRegister(&xVariantGetString, libs, "g_variant_get_string")
2971- core.PuregoSafeRegister(&xVariantGetStrv, libs, "g_variant_get_strv")
2972- core.PuregoSafeRegister(&xVariantGetType, libs, "g_variant_get_type")
2973- core.PuregoSafeRegister(&xVariantGetTypeString, libs, "g_variant_get_type_string")
2974- core.PuregoSafeRegister(&xVariantGetUint16, libs, "g_variant_get_uint16")
2975- core.PuregoSafeRegister(&xVariantGetUint32, libs, "g_variant_get_uint32")
2976- core.PuregoSafeRegister(&xVariantGetUint64, libs, "g_variant_get_uint64")
2977- core.PuregoSafeRegister(&xVariantGetVa, libs, "g_variant_get_va")
2978- core.PuregoSafeRegister(&xVariantGetVariant, libs, "g_variant_get_variant")
2979- core.PuregoSafeRegister(&xVariantHash, libs, "g_variant_hash")
2980- core.PuregoSafeRegister(&xVariantIsContainer, libs, "g_variant_is_container")
2981- core.PuregoSafeRegister(&xVariantIsFloating, libs, "g_variant_is_floating")
2982- core.PuregoSafeRegister(&xVariantIsNormalForm, libs, "g_variant_is_normal_form")
2983- core.PuregoSafeRegister(&xVariantIsOfType, libs, "g_variant_is_of_type")
2984- core.PuregoSafeRegister(&xVariantIterNew, libs, "g_variant_iter_new")
2985- core.PuregoSafeRegister(&xVariantLookup, libs, "g_variant_lookup")
2986- core.PuregoSafeRegister(&xVariantLookupValue, libs, "g_variant_lookup_value")
2987- core.PuregoSafeRegister(&xVariantNChildren, libs, "g_variant_n_children")
2988- core.PuregoSafeRegister(&xVariantPrint, libs, "g_variant_print")
2989- core.PuregoSafeRegister(&xVariantPrintString, libs, "g_variant_print_string")
2990- core.PuregoSafeRegister(&xVariantRef, libs, "g_variant_ref")
2991- core.PuregoSafeRegister(&xVariantRefSink, libs, "g_variant_ref_sink")
2992- core.PuregoSafeRegister(&xVariantStore, libs, "g_variant_store")
2993- core.PuregoSafeRegister(&xVariantTakeRef, libs, "g_variant_take_ref")
2994- core.PuregoSafeRegister(&xVariantUnref, libs, "g_variant_unref")
2995-
2996- core.PuregoSafeRegister(&xVariantBuilderGLibType, libs, "g_variant_builder_get_type")
2997-
2998- core.PuregoSafeRegister(&xNewVariantBuilder, libs, "g_variant_builder_new")
2999-
3000- core.PuregoSafeRegister(&xVariantBuilderAdd, libs, "g_variant_builder_add")
3001- core.PuregoSafeRegister(&xVariantBuilderAddParsed, libs, "g_variant_builder_add_parsed")
3002- core.PuregoSafeRegister(&xVariantBuilderAddValue, libs, "g_variant_builder_add_value")
3003- core.PuregoSafeRegister(&xVariantBuilderClear, libs, "g_variant_builder_clear")
3004- core.PuregoSafeRegister(&xVariantBuilderClose, libs, "g_variant_builder_close")
3005- core.PuregoSafeRegister(&xVariantBuilderEnd, libs, "g_variant_builder_end")
3006- core.PuregoSafeRegister(&xVariantBuilderInit, libs, "g_variant_builder_init")
3007- core.PuregoSafeRegister(&xVariantBuilderInitStatic, libs, "g_variant_builder_init_static")
3008- core.PuregoSafeRegister(&xVariantBuilderOpen, libs, "g_variant_builder_open")
3009- core.PuregoSafeRegister(&xVariantBuilderRef, libs, "g_variant_builder_ref")
3010- core.PuregoSafeRegister(&xVariantBuilderUnref, libs, "g_variant_builder_unref")
3011-
3012- core.PuregoSafeRegister(&xVariantDictGLibType, libs, "g_variant_dict_get_type")
3013-
3014- core.PuregoSafeRegister(&xNewVariantDict, libs, "g_variant_dict_new")
3015-
3016- core.PuregoSafeRegister(&xVariantDictClear, libs, "g_variant_dict_clear")
3017- core.PuregoSafeRegister(&xVariantDictContains, libs, "g_variant_dict_contains")
3018- core.PuregoSafeRegister(&xVariantDictEnd, libs, "g_variant_dict_end")
3019- core.PuregoSafeRegister(&xVariantDictInit, libs, "g_variant_dict_init")
3020- core.PuregoSafeRegister(&xVariantDictInsert, libs, "g_variant_dict_insert")
3021- core.PuregoSafeRegister(&xVariantDictInsertValue, libs, "g_variant_dict_insert_value")
3022- core.PuregoSafeRegister(&xVariantDictLookup, libs, "g_variant_dict_lookup")
3023- core.PuregoSafeRegister(&xVariantDictLookupValue, libs, "g_variant_dict_lookup_value")
3024- core.PuregoSafeRegister(&xVariantDictRef, libs, "g_variant_dict_ref")
3025- core.PuregoSafeRegister(&xVariantDictRemove, libs, "g_variant_dict_remove")
3026- core.PuregoSafeRegister(&xVariantDictUnref, libs, "g_variant_dict_unref")
3027-
3028- core.PuregoSafeRegister(&xVariantIterCopy, libs, "g_variant_iter_copy")
3029- core.PuregoSafeRegister(&xVariantIterFree, libs, "g_variant_iter_free")
3030- core.PuregoSafeRegister(&xVariantIterInit, libs, "g_variant_iter_init")
3031- core.PuregoSafeRegister(&xVariantIterLoop, libs, "g_variant_iter_loop")
3032- core.PuregoSafeRegister(&xVariantIterNChildren, libs, "g_variant_iter_n_children")
3033- core.PuregoSafeRegister(&xVariantIterNext, libs, "g_variant_iter_next")
3034- core.PuregoSafeRegister(&xVariantIterNextValue, libs, "g_variant_iter_next_value")
30353134 }
@@ -5,7 +5,6 @@ import (
5 "structs"5 "structs"
6 "unsafe"6 "unsafe"
7 7
8- "github.com/bnema/purego"
9 "github.com/bnema/puregotk/pkg/core"8 "github.com/bnema/puregotk/pkg/core"
10 "github.com/bnema/puregotk/v4/gobject/types"9 "github.com/bnema/puregotk/v4/gobject/types"
11 )10 )
@@ -261,6 +260,7 @@ type Variant struct {
261 var xVariantGLibType func() types.GType260 var xVariantGLibType func() types.GType
262 261
263 func VariantGLibType() types.GType {262 func VariantGLibType() types.GType {
263+ core.LazyRegister(&xVariantGLibType, "GLIB", "intern", false)
264 return xVariantGLibType()264 return xVariantGLibType()
265 }265 }
266 266
@@ -309,6 +309,8 @@ var xNewVariant func(string, ...interface{}) uintptr
309 //309 //
310 // ]|310 // ]|
311 func NewVariant(FormatStringVar string, varArgs ...interface{}) *Variant {311 func NewVariant(FormatStringVar string, varArgs ...interface{}) *Variant {
312+ core.LazyRegister(&xNewVariant, "GLIB", "g_variant_new", false)
313+
312 cret := xNewVariant(FormatStringVar, varArgs...)314 cret := xNewVariant(FormatStringVar, varArgs...)
313 if cret == 0 {315 if cret == 0 {
314 return nil316 return nil
@@ -334,6 +336,8 @@ var xNewVariantArray func(*VariantType, uintptr, uint) uintptr
334 // If the @children are floating references (see g_variant_ref_sink()), the336 // If the @children are floating references (see g_variant_ref_sink()), the
335 // new instance takes ownership of them as if via g_variant_ref_sink().337 // new instance takes ownership of them as if via g_variant_ref_sink().
336 func NewVariantArray(ChildTypeVar *VariantType, ChildrenVar uintptr, NChildrenVar uint) *Variant {338 func NewVariantArray(ChildTypeVar *VariantType, ChildrenVar uintptr, NChildrenVar uint) *Variant {
339+ core.LazyRegister(&xNewVariantArray, "GLIB", "g_variant_new_array", false)
340+
337 cret := xNewVariantArray(ChildTypeVar, ChildrenVar, NChildrenVar)341 cret := xNewVariantArray(ChildTypeVar, ChildrenVar, NChildrenVar)
338 if cret == 0 {342 if cret == 0 {
339 return nil343 return nil
@@ -345,6 +349,8 @@ var xNewVariantBoolean func(bool) uintptr
345 349
346 // Creates a new boolean #GVariant instance -- either %TRUE or %FALSE.350 // Creates a new boolean #GVariant instance -- either %TRUE or %FALSE.
347 func NewVariantBoolean(ValueVar bool) *Variant {351 func NewVariantBoolean(ValueVar bool) *Variant {
352+ core.LazyRegister(&xNewVariantBoolean, "GLIB", "g_variant_new_boolean", false)
353+
348 cret := xNewVariantBoolean(ValueVar)354 cret := xNewVariantBoolean(ValueVar)
349 if cret == 0 {355 if cret == 0 {
350 return nil356 return nil
@@ -356,6 +362,8 @@ var xNewVariantByte func(byte) uintptr
356 362
357 // Creates a new byte #GVariant instance.363 // Creates a new byte #GVariant instance.
358 func NewVariantByte(ValueVar byte) *Variant {364 func NewVariantByte(ValueVar byte) *Variant {
365+ core.LazyRegister(&xNewVariantByte, "GLIB", "g_variant_new_byte", false)
366+
359 cret := xNewVariantByte(ValueVar)367 cret := xNewVariantByte(ValueVar)
360 if cret == 0 {368 if cret == 0 {
361 return nil369 return nil
@@ -372,6 +380,8 @@ var xNewVariantBytestring func([]byte) uintptr
372 // The nul terminator character at the end of the string is stored in380 // The nul terminator character at the end of the string is stored in
373 // the array.381 // the array.
374 func NewVariantBytestring(StringVar []byte) *Variant {382 func NewVariantBytestring(StringVar []byte) *Variant {
383+ core.LazyRegister(&xNewVariantBytestring, "GLIB", "g_variant_new_bytestring", false)
384+
375 cret := xNewVariantBytestring(StringVar)385 cret := xNewVariantBytestring(StringVar)
376 if cret == 0 {386 if cret == 0 {
377 return nil387 return nil
@@ -386,6 +396,8 @@ var xNewVariantBytestringArray func([]string, int) uintptr
386 //396 //
387 // If @length is -1 then @strv is %NULL-terminated.397 // If @length is -1 then @strv is %NULL-terminated.
388 func NewVariantBytestringArray(StrvVar []string, LengthVar int) *Variant {398 func NewVariantBytestringArray(StrvVar []string, LengthVar int) *Variant {
399+ core.LazyRegister(&xNewVariantBytestringArray, "GLIB", "g_variant_new_bytestring_array", false)
400+
389 cret := xNewVariantBytestringArray(StrvVar, LengthVar)401 cret := xNewVariantBytestringArray(StrvVar, LengthVar)
390 if cret == 0 {402 if cret == 0 {
391 return nil403 return nil
@@ -401,6 +413,8 @@ var xNewVariantDictEntry func(*Variant, *Variant) uintptr
401 // If the @key or @value are floating references (see g_variant_ref_sink()),413 // If the @key or @value are floating references (see g_variant_ref_sink()),
402 // the new instance takes ownership of them as if via g_variant_ref_sink().414 // the new instance takes ownership of them as if via g_variant_ref_sink().
403 func NewVariantDictEntry(KeyVar *Variant, ValueVar *Variant) *Variant {415 func NewVariantDictEntry(KeyVar *Variant, ValueVar *Variant) *Variant {
416+ core.LazyRegister(&xNewVariantDictEntry, "GLIB", "g_variant_new_dict_entry", false)
417+
404 cret := xNewVariantDictEntry(KeyVar, ValueVar)418 cret := xNewVariantDictEntry(KeyVar, ValueVar)
405 if cret == 0 {419 if cret == 0 {
406 return nil420 return nil
@@ -412,6 +426,8 @@ var xNewVariantDouble func(float64) uintptr
412 426
413 // Creates a new double #GVariant instance.427 // Creates a new double #GVariant instance.
414 func NewVariantDouble(ValueVar float64) *Variant {428 func NewVariantDouble(ValueVar float64) *Variant {
429+ core.LazyRegister(&xNewVariantDouble, "GLIB", "g_variant_new_double", false)
430+
415 cret := xNewVariantDouble(ValueVar)431 cret := xNewVariantDouble(ValueVar)
416 if cret == 0 {432 if cret == 0 {
417 return nil433 return nil
@@ -435,6 +451,8 @@ var xNewVariantFixedArray func(*VariantType, uintptr, uint, uint) uintptr
435 //451 //
436 // @n_elements must be the length of the @elements array.452 // @n_elements must be the length of the @elements array.
437 func NewVariantFixedArray(ElementTypeVar *VariantType, ElementsVar uintptr, NElementsVar uint, ElementSizeVar uint) *Variant {453 func NewVariantFixedArray(ElementTypeVar *VariantType, ElementsVar uintptr, NElementsVar uint, ElementSizeVar uint) *Variant {
454+ core.LazyRegister(&xNewVariantFixedArray, "GLIB", "g_variant_new_fixed_array", false)
455+
438 cret := xNewVariantFixedArray(ElementTypeVar, ElementsVar, NElementsVar, ElementSizeVar)456 cret := xNewVariantFixedArray(ElementTypeVar, ElementsVar, NElementsVar, ElementSizeVar)
439 if cret == 0 {457 if cret == 0 {
440 return nil458 return nil
@@ -454,6 +472,8 @@ var xNewVariantFromBytes func(*VariantType, *Bytes, bool) uintptr
454 // Otherwise this function will internally create a copy of the memory (since472 // Otherwise this function will internally create a copy of the memory (since
455 // GLib 2.60) or (in older versions) fail and exit the process.473 // GLib 2.60) or (in older versions) fail and exit the process.
456 func NewVariantFromBytes(TypeVar *VariantType, BytesVar *Bytes, TrustedVar bool) *Variant {474 func NewVariantFromBytes(TypeVar *VariantType, BytesVar *Bytes, TrustedVar bool) *Variant {
475+ core.LazyRegister(&xNewVariantFromBytes, "GLIB", "g_variant_new_from_bytes", false)
476+
457 cret := xNewVariantFromBytes(TypeVar, BytesVar, TrustedVar)477 cret := xNewVariantFromBytes(TypeVar, BytesVar, TrustedVar)
458 if cret == 0 {478 if cret == 0 {
459 return nil479 return nil
@@ -493,6 +513,8 @@ var xNewVariantFromData func(*VariantType, []byte, uint, bool, uintptr, uintptr)
493 // the memory (since GLib 2.60) or (in older versions) fail and exit the513 // the memory (since GLib 2.60) or (in older versions) fail and exit the
494 // process.514 // process.
495 func NewVariantFromData(TypeVar *VariantType, DataVar []byte, SizeVar uint, TrustedVar bool, NotifyVar *DestroyNotify, UserDataVar uintptr) *Variant {515 func NewVariantFromData(TypeVar *VariantType, DataVar []byte, SizeVar uint, TrustedVar bool, NotifyVar *DestroyNotify, UserDataVar uintptr) *Variant {
516+ core.LazyRegister(&xNewVariantFromData, "GLIB", "g_variant_new_from_data", false)
517+
496 cret := xNewVariantFromData(TypeVar, DataVar, SizeVar, TrustedVar, NewCallbackNullable(NotifyVar), UserDataVar)518 cret := xNewVariantFromData(TypeVar, DataVar, SizeVar, TrustedVar, NewCallbackNullable(NotifyVar), UserDataVar)
497 if cret == 0 {519 if cret == 0 {
498 return nil520 return nil
@@ -508,6 +530,8 @@ var xNewVariantHandle func(int32) uintptr
508 // that are sent alongside a D-Bus message. If you're not interacting530 // that are sent alongside a D-Bus message. If you're not interacting
509 // with D-Bus, you probably don't need them.531 // with D-Bus, you probably don't need them.
510 func NewVariantHandle(ValueVar int32) *Variant {532 func NewVariantHandle(ValueVar int32) *Variant {
533+ core.LazyRegister(&xNewVariantHandle, "GLIB", "g_variant_new_handle", false)
534+
511 cret := xNewVariantHandle(ValueVar)535 cret := xNewVariantHandle(ValueVar)
512 if cret == 0 {536 if cret == 0 {
513 return nil537 return nil
@@ -519,6 +543,8 @@ var xNewVariantInt16 func(int16) uintptr
519 543
520 // Creates a new int16 #GVariant instance.544 // Creates a new int16 #GVariant instance.
521 func NewVariantInt16(ValueVar int16) *Variant {545 func NewVariantInt16(ValueVar int16) *Variant {
546+ core.LazyRegister(&xNewVariantInt16, "GLIB", "g_variant_new_int16", false)
547+
522 cret := xNewVariantInt16(ValueVar)548 cret := xNewVariantInt16(ValueVar)
523 if cret == 0 {549 if cret == 0 {
524 return nil550 return nil
@@ -530,6 +556,8 @@ var xNewVariantInt32 func(int32) uintptr
530 556
531 // Creates a new int32 #GVariant instance.557 // Creates a new int32 #GVariant instance.
532 func NewVariantInt32(ValueVar int32) *Variant {558 func NewVariantInt32(ValueVar int32) *Variant {
559+ core.LazyRegister(&xNewVariantInt32, "GLIB", "g_variant_new_int32", false)
560+
533 cret := xNewVariantInt32(ValueVar)561 cret := xNewVariantInt32(ValueVar)
534 if cret == 0 {562 if cret == 0 {
535 return nil563 return nil
@@ -541,6 +569,8 @@ var xNewVariantInt64 func(int64) uintptr
541 569
542 // Creates a new int64 #GVariant instance.570 // Creates a new int64 #GVariant instance.
543 func NewVariantInt64(ValueVar int64) *Variant {571 func NewVariantInt64(ValueVar int64) *Variant {
572+ core.LazyRegister(&xNewVariantInt64, "GLIB", "g_variant_new_int64", false)
573+
544 cret := xNewVariantInt64(ValueVar)574 cret := xNewVariantInt64(ValueVar)
545 if cret == 0 {575 if cret == 0 {
546 return nil576 return nil
@@ -561,6 +591,8 @@ var xNewVariantMaybe func(*VariantType, *Variant) uintptr
561 // If @child is a floating reference (see g_variant_ref_sink()), the new591 // If @child is a floating reference (see g_variant_ref_sink()), the new
562 // instance takes ownership of @child.592 // instance takes ownership of @child.
563 func NewVariantMaybe(ChildTypeVar *VariantType, ChildVar *Variant) *Variant {593 func NewVariantMaybe(ChildTypeVar *VariantType, ChildVar *Variant) *Variant {
594+ core.LazyRegister(&xNewVariantMaybe, "GLIB", "g_variant_new_maybe", false)
595+
564 cret := xNewVariantMaybe(ChildTypeVar, ChildVar)596 cret := xNewVariantMaybe(ChildTypeVar, ChildVar)
565 if cret == 0 {597 if cret == 0 {
566 return nil598 return nil
@@ -574,6 +606,8 @@ var xNewVariantObjectPath func(string) uintptr
574 // @object_path must be a valid D-Bus object path. Use606 // @object_path must be a valid D-Bus object path. Use
575 // g_variant_is_object_path() if you're not sure.607 // g_variant_is_object_path() if you're not sure.
576 func NewVariantObjectPath(ObjectPathVar string) *Variant {608 func NewVariantObjectPath(ObjectPathVar string) *Variant {
609+ core.LazyRegister(&xNewVariantObjectPath, "GLIB", "g_variant_new_object_path", false)
610+
577 cret := xNewVariantObjectPath(ObjectPathVar)611 cret := xNewVariantObjectPath(ObjectPathVar)
578 if cret == 0 {612 if cret == 0 {
579 return nil613 return nil
@@ -591,6 +625,8 @@ var xNewVariantObjv func([]string, int) uintptr
591 //625 //
592 // If @length is -1 then @strv is %NULL-terminated.626 // If @length is -1 then @strv is %NULL-terminated.
593 func NewVariantObjv(StrvVar []string, LengthVar int) *Variant {627 func NewVariantObjv(StrvVar []string, LengthVar int) *Variant {
628+ core.LazyRegister(&xNewVariantObjv, "GLIB", "g_variant_new_objv", false)
629+
594 cret := xNewVariantObjv(StrvVar, LengthVar)630 cret := xNewVariantObjv(StrvVar, LengthVar)
595 if cret == 0 {631 if cret == 0 {
596 return nil632 return nil
@@ -635,6 +671,8 @@ var xNewVariantParsed func(string, ...interface{}) uintptr
635 // be anything along the lines of "%*", "%?", "\%r", or anything starting671 // be anything along the lines of "%*", "%?", "\%r", or anything starting
636 // with "%@".672 // with "%@".
637 func NewVariantParsed(FormatVar string, varArgs ...interface{}) *Variant {673 func NewVariantParsed(FormatVar string, varArgs ...interface{}) *Variant {
674+ core.LazyRegister(&xNewVariantParsed, "GLIB", "g_variant_new_parsed", false)
675+
638 cret := xNewVariantParsed(FormatVar, varArgs...)676 cret := xNewVariantParsed(FormatVar, varArgs...)
639 if cret == 0 {677 if cret == 0 {
640 return nil678 return nil
@@ -666,6 +704,8 @@ var xNewVariantParsedVa func(string, []interface{}) uintptr
666 // result. This can also be done by adding the result to a container,704 // result. This can also be done by adding the result to a container,
667 // or by passing it to another g_variant_new() call.705 // or by passing it to another g_variant_new() call.
668 func NewVariantParsedVa(FormatVar string, AppVar []interface{}) *Variant {706 func NewVariantParsedVa(FormatVar string, AppVar []interface{}) *Variant {
707+ core.LazyRegister(&xNewVariantParsedVa, "GLIB", "g_variant_new_parsed_va", false)
708+
669 cret := xNewVariantParsedVa(FormatVar, AppVar)709 cret := xNewVariantParsedVa(FormatVar, AppVar)
670 if cret == 0 {710 if cret == 0 {
671 return nil711 return nil
@@ -681,6 +721,8 @@ var xNewVariantPrintf func(string, ...interface{}) uintptr
681 // g_variant_new_string() but it saves a temporary variable and an721 // g_variant_new_string() but it saves a temporary variable and an
682 // unnecessary copy.722 // unnecessary copy.
683 func NewVariantPrintf(FormatStringVar string, varArgs ...interface{}) *Variant {723 func NewVariantPrintf(FormatStringVar string, varArgs ...interface{}) *Variant {
724+ core.LazyRegister(&xNewVariantPrintf, "GLIB", "g_variant_new_printf", false)
725+
684 cret := xNewVariantPrintf(FormatStringVar, varArgs...)726 cret := xNewVariantPrintf(FormatStringVar, varArgs...)
685 if cret == 0 {727 if cret == 0 {
686 return nil728 return nil
@@ -694,6 +736,8 @@ var xNewVariantSignature func(string) uintptr
694 // @string. @string must be a valid D-Bus type signature. Use736 // @string. @string must be a valid D-Bus type signature. Use
695 // g_variant_is_signature() if you're not sure.737 // g_variant_is_signature() if you're not sure.
696 func NewVariantSignature(SignatureVar string) *Variant {738 func NewVariantSignature(SignatureVar string) *Variant {
739+ core.LazyRegister(&xNewVariantSignature, "GLIB", "g_variant_new_signature", false)
740+
697 cret := xNewVariantSignature(SignatureVar)741 cret := xNewVariantSignature(SignatureVar)
698 if cret == 0 {742 if cret == 0 {
699 return nil743 return nil
@@ -709,6 +753,8 @@ var xNewVariantString func(string) uintptr
709 // potentially-%NULL strings, use g_variant_new() with `ms` as the753 // potentially-%NULL strings, use g_variant_new() with `ms` as the
710 // [format string](gvariant-format-strings.html#maybe-types).754 // [format string](gvariant-format-strings.html#maybe-types).
711 func NewVariantString(StringVar string) *Variant {755 func NewVariantString(StringVar string) *Variant {
756+ core.LazyRegister(&xNewVariantString, "GLIB", "g_variant_new_string", false)
757+
712 cret := xNewVariantString(StringVar)758 cret := xNewVariantString(StringVar)
713 if cret == 0 {759 if cret == 0 {
714 return nil760 return nil
@@ -723,6 +769,8 @@ var xNewVariantStrv func([]string, int) uintptr
723 //769 //
724 // If @length is -1 then @strv is %NULL-terminated.770 // If @length is -1 then @strv is %NULL-terminated.
725 func NewVariantStrv(StrvVar []string, LengthVar int) *Variant {771 func NewVariantStrv(StrvVar []string, LengthVar int) *Variant {
772+ core.LazyRegister(&xNewVariantStrv, "GLIB", "g_variant_new_strv", false)
773+
726 cret := xNewVariantStrv(StrvVar, LengthVar)774 cret := xNewVariantStrv(StrvVar, LengthVar)
727 if cret == 0 {775 if cret == 0 {
728 return nil776 return nil
@@ -745,6 +793,8 @@ var xNewVariantTakeString func(string) uintptr
745 // it to this function. It is even possible that @string is immediately793 // it to this function. It is even possible that @string is immediately
746 // freed.794 // freed.
747 func NewVariantTakeString(StringVar string) *Variant {795 func NewVariantTakeString(StringVar string) *Variant {
796+ core.LazyRegister(&xNewVariantTakeString, "GLIB", "g_variant_new_take_string", false)
797+
748 cret := xNewVariantTakeString(StringVar)798 cret := xNewVariantTakeString(StringVar)
749 if cret == 0 {799 if cret == 0 {
750 return nil800 return nil
@@ -763,6 +813,8 @@ var xNewVariantTuple func(uintptr, uint) uintptr
763 // If the @children are floating references (see g_variant_ref_sink()), the813 // If the @children are floating references (see g_variant_ref_sink()), the
764 // new instance takes ownership of them as if via g_variant_ref_sink().814 // new instance takes ownership of them as if via g_variant_ref_sink().
765 func NewVariantTuple(ChildrenVar uintptr, NChildrenVar uint) *Variant {815 func NewVariantTuple(ChildrenVar uintptr, NChildrenVar uint) *Variant {
816+ core.LazyRegister(&xNewVariantTuple, "GLIB", "g_variant_new_tuple", false)
817+
766 cret := xNewVariantTuple(ChildrenVar, NChildrenVar)818 cret := xNewVariantTuple(ChildrenVar, NChildrenVar)
767 if cret == 0 {819 if cret == 0 {
768 return nil820 return nil
@@ -774,6 +826,8 @@ var xNewVariantUint16 func(uint16) uintptr
774 826
775 // Creates a new uint16 #GVariant instance.827 // Creates a new uint16 #GVariant instance.
776 func NewVariantUint16(ValueVar uint16) *Variant {828 func NewVariantUint16(ValueVar uint16) *Variant {
829+ core.LazyRegister(&xNewVariantUint16, "GLIB", "g_variant_new_uint16", false)
830+
777 cret := xNewVariantUint16(ValueVar)831 cret := xNewVariantUint16(ValueVar)
778 if cret == 0 {832 if cret == 0 {
779 return nil833 return nil
@@ -785,6 +839,8 @@ var xNewVariantUint32 func(uint32) uintptr
785 839
786 // Creates a new uint32 #GVariant instance.840 // Creates a new uint32 #GVariant instance.
787 func NewVariantUint32(ValueVar uint32) *Variant {841 func NewVariantUint32(ValueVar uint32) *Variant {
842+ core.LazyRegister(&xNewVariantUint32, "GLIB", "g_variant_new_uint32", false)
843+
788 cret := xNewVariantUint32(ValueVar)844 cret := xNewVariantUint32(ValueVar)
789 if cret == 0 {845 if cret == 0 {
790 return nil846 return nil
@@ -796,6 +852,8 @@ var xNewVariantUint64 func(uint64) uintptr
796 852
797 // Creates a new uint64 #GVariant instance.853 // Creates a new uint64 #GVariant instance.
798 func NewVariantUint64(ValueVar uint64) *Variant {854 func NewVariantUint64(ValueVar uint64) *Variant {
855+ core.LazyRegister(&xNewVariantUint64, "GLIB", "g_variant_new_uint64", false)
856+
799 cret := xNewVariantUint64(ValueVar)857 cret := xNewVariantUint64(ValueVar)
800 if cret == 0 {858 if cret == 0 {
801 return nil859 return nil
@@ -842,6 +900,8 @@ var xNewVariantVa func(string, uintptr, []interface{}) uintptr
842 // result. This can also be done by adding the result to a container,900 // result. This can also be done by adding the result to a container,
843 // or by passing it to another g_variant_new() call.901 // or by passing it to another g_variant_new() call.
844 func NewVariantVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) *Variant {902 func NewVariantVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) *Variant {
903+ core.LazyRegister(&xNewVariantVa, "GLIB", "g_variant_new_va", false)
904+
845 EndptrVarPtr := core.GStrdupNullable(EndptrVar)905 EndptrVarPtr := core.GStrdupNullable(EndptrVar)
846 defer core.GFreeNullable(EndptrVarPtr)906 defer core.GFreeNullable(EndptrVarPtr)
847 907
@@ -860,6 +920,8 @@ var xNewVariantVariant func(*Variant) uintptr
860 // If @child is a floating reference (see g_variant_ref_sink()), the new920 // If @child is a floating reference (see g_variant_ref_sink()), the new
861 // instance takes ownership of @child.921 // instance takes ownership of @child.
862 func NewVariantVariant(ValueVar *Variant) *Variant {922 func NewVariantVariant(ValueVar *Variant) *Variant {
923+ core.LazyRegister(&xNewVariantVariant, "GLIB", "g_variant_new_variant", false)
924+
863 cret := xNewVariantVariant(ValueVar)925 cret := xNewVariantVariant(ValueVar)
864 if cret == 0 {926 if cret == 0 {
865 return nil927 return nil
@@ -887,6 +949,8 @@ var xVariantByteswap func(uintptr) uintptr
887 // The returned value is always in normal form and is marked as trusted.949 // The returned value is always in normal form and is marked as trusted.
888 // A full, not floating, reference is returned.950 // A full, not floating, reference is returned.
889 func (x *Variant) Byteswap() *Variant {951 func (x *Variant) Byteswap() *Variant {
952+ core.LazyRegister(&xVariantByteswap, "GLIB", "g_variant_byteswap", false)
953+
890 cret := xVariantByteswap(x.GoPointer())954 cret := xVariantByteswap(x.GoPointer())
891 if cret == 0 {955 if cret == 0 {
892 return nil956 return nil
@@ -911,6 +975,8 @@ var xVariantCheckFormatString func(uintptr, string, bool) bool
911 // varargs accessors to #GVariant values of uncertain values (eg:975 // varargs accessors to #GVariant values of uncertain values (eg:
912 // g_variant_lookup() or g_menu_model_get_item_attribute()).976 // g_variant_lookup() or g_menu_model_get_item_attribute()).
913 func (x *Variant) CheckFormatString(FormatStringVar string, CopyOnlyVar bool) bool {977 func (x *Variant) CheckFormatString(FormatStringVar string, CopyOnlyVar bool) bool {
978+ core.LazyRegister(&xVariantCheckFormatString, "GLIB", "g_variant_check_format_string", false)
979+
914 cret := xVariantCheckFormatString(x.GoPointer(), FormatStringVar, CopyOnlyVar)980 cret := xVariantCheckFormatString(x.GoPointer(), FormatStringVar, CopyOnlyVar)
915 return cret981 return cret
916 }982 }
@@ -919,6 +985,8 @@ var xVariantClassify func(uintptr) VariantClass
919 985
920 // Classifies @value according to its top-level type.986 // Classifies @value according to its top-level type.
921 func (x *Variant) Classify() VariantClass {987 func (x *Variant) Classify() VariantClass {
988+ core.LazyRegister(&xVariantClassify, "GLIB", "g_variant_classify", false)
989+
922 cret := xVariantClassify(x.GoPointer())990 cret := xVariantClassify(x.GoPointer())
923 return cret991 return cret
924 }992 }
@@ -945,6 +1013,8 @@ var xVariantCompare func(uintptr, uintptr) int
945 // If you only require an equality comparison, g_variant_equal() is more1013 // If you only require an equality comparison, g_variant_equal() is more
946 // general.1014 // general.
947 func (x *Variant) Compare(TwoVar uintptr) int {1015 func (x *Variant) Compare(TwoVar uintptr) int {
1016+ core.LazyRegister(&xVariantCompare, "GLIB", "g_variant_compare", false)
1017+
948 cret := xVariantCompare(x.GoPointer(), TwoVar)1018 cret := xVariantCompare(x.GoPointer(), TwoVar)
949 return cret1019 return cret
950 }1020 }
@@ -956,6 +1026,8 @@ var xVariantDupBytestring func(uintptr, *uint) uintptr
956 //1026 //
957 // The return value must be freed using g_free().1027 // The return value must be freed using g_free().
958 func (x *Variant) DupBytestring(LengthVar *uint) uintptr {1028 func (x *Variant) DupBytestring(LengthVar *uint) uintptr {
1029+ core.LazyRegister(&xVariantDupBytestring, "GLIB", "g_variant_dup_bytestring", false)
1030+
959 cret := xVariantDupBytestring(x.GoPointer(), LengthVar)1031 cret := xVariantDupBytestring(x.GoPointer(), LengthVar)
960 return cret1032 return cret
961 }1033 }
@@ -973,6 +1045,8 @@ var xVariantDupBytestringArray func(uintptr, *uint) []string
973 // For an empty array, @length will be set to 0 and a pointer to a1045 // For an empty array, @length will be set to 0 and a pointer to a
974 // %NULL pointer will be returned.1046 // %NULL pointer will be returned.
975 func (x *Variant) DupBytestringArray(LengthVar *uint) []string {1047 func (x *Variant) DupBytestringArray(LengthVar *uint) []string {
1048+ core.LazyRegister(&xVariantDupBytestringArray, "GLIB", "g_variant_dup_bytestring_array", false)
1049+
976 cret := xVariantDupBytestringArray(x.GoPointer(), LengthVar)1050 cret := xVariantDupBytestringArray(x.GoPointer(), LengthVar)
977 return cret1051 return cret
978 }1052 }
@@ -990,6 +1064,8 @@ var xVariantDupObjv func(uintptr, *uint) []string
990 // For an empty array, @length will be set to 0 and a pointer to a1064 // For an empty array, @length will be set to 0 and a pointer to a
991 // %NULL pointer will be returned.1065 // %NULL pointer will be returned.
992 func (x *Variant) DupObjv(LengthVar *uint) []string {1066 func (x *Variant) DupObjv(LengthVar *uint) []string {
1067+ core.LazyRegister(&xVariantDupObjv, "GLIB", "g_variant_dup_objv", false)
1068+
993 cret := xVariantDupObjv(x.GoPointer(), LengthVar)1069 cret := xVariantDupObjv(x.GoPointer(), LengthVar)
994 return cret1070 return cret
995 }1071 }
@@ -1003,6 +1079,8 @@ var xVariantDupString func(uintptr, *uint) string
1003 //1079 //
1004 // The return value must be freed using g_free().1080 // The return value must be freed using g_free().
1005 func (x *Variant) DupString(LengthVar *uint) string {1081 func (x *Variant) DupString(LengthVar *uint) string {
1082+ core.LazyRegister(&xVariantDupString, "GLIB", "g_variant_dup_string", false)
1083+
1006 cret := xVariantDupString(x.GoPointer(), LengthVar)1084 cret := xVariantDupString(x.GoPointer(), LengthVar)
1007 return cret1085 return cret
1008 }1086 }
@@ -1020,6 +1098,8 @@ var xVariantDupStrv func(uintptr, *uint) []string
1020 // For an empty array, @length will be set to 0 and a pointer to a1098 // For an empty array, @length will be set to 0 and a pointer to a
1021 // %NULL pointer will be returned.1099 // %NULL pointer will be returned.
1022 func (x *Variant) DupStrv(LengthVar *uint) []string {1100 func (x *Variant) DupStrv(LengthVar *uint) []string {
1101+ core.LazyRegister(&xVariantDupStrv, "GLIB", "g_variant_dup_strv", false)
1102+
1023 cret := xVariantDupStrv(x.GoPointer(), LengthVar)1103 cret := xVariantDupStrv(x.GoPointer(), LengthVar)
1024 return cret1104 return cret
1025 }1105 }
@@ -1031,6 +1111,8 @@ var xVariantEqual func(uintptr, uintptr) bool
1031 // The types of @one and @two are #gconstpointer only to allow use of1111 // The types of @one and @two are #gconstpointer only to allow use of
1032 // this function with #GHashTable. They must each be a #GVariant.1112 // this function with #GHashTable. They must each be a #GVariant.
1033 func (x *Variant) Equal(TwoVar uintptr) bool {1113 func (x *Variant) Equal(TwoVar uintptr) bool {
1114+ core.LazyRegister(&xVariantEqual, "GLIB", "g_variant_equal", false)
1115+
1034 cret := xVariantEqual(x.GoPointer(), TwoVar)1116 cret := xVariantEqual(x.GoPointer(), TwoVar)
1035 return cret1117 return cret
1036 }1118 }
@@ -1054,6 +1136,8 @@ var xVariantGet func(uintptr, string, ...interface{})
1054 // see the section on1136 // see the section on
1055 // [`GVariant` format strings](gvariant-format-strings.html#pointers).1137 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
1056 func (x *Variant) Get(FormatStringVar string, varArgs ...interface{}) {1138 func (x *Variant) Get(FormatStringVar string, varArgs ...interface{}) {
1139+ core.LazyRegister(&xVariantGet, "GLIB", "g_variant_get", false)
1140+
1057 xVariantGet(x.GoPointer(), FormatStringVar, varArgs...)1141 xVariantGet(x.GoPointer(), FormatStringVar, varArgs...)
1058 }1142 }
1059 1143
@@ -1064,6 +1148,8 @@ var xVariantGetBoolean func(uintptr) bool
1064 // It is an error to call this function with a @value of any type1148 // It is an error to call this function with a @value of any type
1065 // other than %G_VARIANT_TYPE_BOOLEAN.1149 // other than %G_VARIANT_TYPE_BOOLEAN.
1066 func (x *Variant) GetBoolean() bool {1150 func (x *Variant) GetBoolean() bool {
1151+ core.LazyRegister(&xVariantGetBoolean, "GLIB", "g_variant_get_boolean", false)
1152+
1067 cret := xVariantGetBoolean(x.GoPointer())1153 cret := xVariantGetBoolean(x.GoPointer())
1068 return cret1154 return cret
1069 }1155 }
@@ -1075,6 +1161,8 @@ var xVariantGetByte func(uintptr) byte
1075 // It is an error to call this function with a @value of any type1161 // It is an error to call this function with a @value of any type
1076 // other than %G_VARIANT_TYPE_BYTE.1162 // other than %G_VARIANT_TYPE_BYTE.
1077 func (x *Variant) GetByte() byte {1163 func (x *Variant) GetByte() byte {
1164+ core.LazyRegister(&xVariantGetByte, "GLIB", "g_variant_get_byte", false)
1165+
1078 cret := xVariantGetByte(x.GoPointer())1166 cret := xVariantGetByte(x.GoPointer())
1079 return cret1167 return cret
1080 }1168 }
@@ -1100,6 +1188,8 @@ var xVariantGetBytestring func(uintptr) uintptr
1100 //1188 //
1101 // The return value remains valid as long as @value exists.1189 // The return value remains valid as long as @value exists.
1102 func (x *Variant) GetBytestring() uintptr {1190 func (x *Variant) GetBytestring() uintptr {
1191+ core.LazyRegister(&xVariantGetBytestring, "GLIB", "g_variant_get_bytestring", false)
1192+
1103 cret := xVariantGetBytestring(x.GoPointer())1193 cret := xVariantGetBytestring(x.GoPointer())
1104 return cret1194 return cret
1105 }1195 }
@@ -1117,6 +1207,8 @@ var xVariantGetBytestringArray func(uintptr, *uint) []string
1117 // For an empty array, @length will be set to 0 and a pointer to a1207 // For an empty array, @length will be set to 0 and a pointer to a
1118 // %NULL pointer will be returned.1208 // %NULL pointer will be returned.
1119 func (x *Variant) GetBytestringArray(LengthVar *uint) []string {1209 func (x *Variant) GetBytestringArray(LengthVar *uint) []string {
1210+ core.LazyRegister(&xVariantGetBytestringArray, "GLIB", "g_variant_get_bytestring_array", false)
1211+
1120 cret := xVariantGetBytestringArray(x.GoPointer(), LengthVar)1212 cret := xVariantGetBytestringArray(x.GoPointer(), LengthVar)
1121 return cret1213 return cret
1122 }1214 }
@@ -1133,6 +1225,8 @@ var xVariantGetChild func(uintptr, uint, string, ...interface{})
1133 // see the section on1225 // see the section on
1134 // [`GVariant` format strings](gvariant-format-strings.html#pointers).1226 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
1135 func (x *Variant) GetChild(IndexVar uint, FormatStringVar string, varArgs ...interface{}) {1227 func (x *Variant) GetChild(IndexVar uint, FormatStringVar string, varArgs ...interface{}) {
1228+ core.LazyRegister(&xVariantGetChild, "GLIB", "g_variant_get_child", false)
1229+
1136 xVariantGetChild(x.GoPointer(), IndexVar, FormatStringVar, varArgs...)1230 xVariantGetChild(x.GoPointer(), IndexVar, FormatStringVar, varArgs...)
1137 }1231 }
1138 1232
@@ -1162,6 +1256,8 @@ var xVariantGetChildValue func(uintptr, uint) uintptr
1162 //1256 //
1163 // This function is O(1).1257 // This function is O(1).
1164 func (x *Variant) GetChildValue(IndexVar uint) *Variant {1258 func (x *Variant) GetChildValue(IndexVar uint) *Variant {
1259+ core.LazyRegister(&xVariantGetChildValue, "GLIB", "g_variant_get_child_value", false)
1260+
1165 cret := xVariantGetChildValue(x.GoPointer(), IndexVar)1261 cret := xVariantGetChildValue(x.GoPointer(), IndexVar)
1166 if cret == 0 {1262 if cret == 0 {
1167 return nil1263 return nil
@@ -1197,6 +1293,8 @@ var xVariantGetData func(uintptr) uintptr
1197 // explicitly (by storing the type and/or endianness in addition to the1293 // explicitly (by storing the type and/or endianness in addition to the
1198 // serialized data).1294 // serialized data).
1199 func (x *Variant) GetData() uintptr {1295 func (x *Variant) GetData() uintptr {
1296+ core.LazyRegister(&xVariantGetData, "GLIB", "g_variant_get_data", false)
1297+
1200 cret := xVariantGetData(x.GoPointer())1298 cret := xVariantGetData(x.GoPointer())
1201 return cret1299 return cret
1202 }1300 }
@@ -1208,6 +1306,8 @@ var xVariantGetDataAsBytes func(uintptr) uintptr
1208 // g_variant_get_data(), except that the returned #GBytes holds1306 // g_variant_get_data(), except that the returned #GBytes holds
1209 // a reference to the variant data.1307 // a reference to the variant data.
1210 func (x *Variant) GetDataAsBytes() *Bytes {1308 func (x *Variant) GetDataAsBytes() *Bytes {
1309+ core.LazyRegister(&xVariantGetDataAsBytes, "GLIB", "g_variant_get_data_as_bytes", false)
1310+
1211 cret := xVariantGetDataAsBytes(x.GoPointer())1311 cret := xVariantGetDataAsBytes(x.GoPointer())
1212 if cret == 0 {1312 if cret == 0 {
1213 return nil1313 return nil
@@ -1222,6 +1322,8 @@ var xVariantGetDouble func(uintptr) float64
1222 // It is an error to call this function with a @value of any type1322 // It is an error to call this function with a @value of any type
1223 // other than %G_VARIANT_TYPE_DOUBLE.1323 // other than %G_VARIANT_TYPE_DOUBLE.
1224 func (x *Variant) GetDouble() float64 {1324 func (x *Variant) GetDouble() float64 {
1325+ core.LazyRegister(&xVariantGetDouble, "GLIB", "g_variant_get_double", false)
1326+
1225 cret := xVariantGetDouble(x.GoPointer())1327 cret := xVariantGetDouble(x.GoPointer())
1226 return cret1328 return cret
1227 }1329 }
@@ -1255,6 +1357,8 @@ var xVariantGetFixedArray func(uintptr, *uint, uint) uintptr
1255 // @n_elements, which must be non-%NULL, is set equal to the number of1357 // @n_elements, which must be non-%NULL, is set equal to the number of
1256 // items in the array.1358 // items in the array.
1257 func (x *Variant) GetFixedArray(NElementsVar *uint, ElementSizeVar uint) uintptr {1359 func (x *Variant) GetFixedArray(NElementsVar *uint, ElementSizeVar uint) uintptr {
1360+ core.LazyRegister(&xVariantGetFixedArray, "GLIB", "g_variant_get_fixed_array", false)
1361+
1258 cret := xVariantGetFixedArray(x.GoPointer(), NElementsVar, ElementSizeVar)1362 cret := xVariantGetFixedArray(x.GoPointer(), NElementsVar, ElementSizeVar)
1259 return cret1363 return cret
1260 }1364 }
@@ -1270,6 +1374,8 @@ var xVariantGetHandle func(uintptr) int32
1270 // that are sent alongside a D-Bus message. If you're not interacting1374 // that are sent alongside a D-Bus message. If you're not interacting
1271 // with D-Bus, you probably don't need them.1375 // with D-Bus, you probably don't need them.
1272 func (x *Variant) GetHandle() int32 {1376 func (x *Variant) GetHandle() int32 {
1377+ core.LazyRegister(&xVariantGetHandle, "GLIB", "g_variant_get_handle", false)
1378+
1273 cret := xVariantGetHandle(x.GoPointer())1379 cret := xVariantGetHandle(x.GoPointer())
1274 return cret1380 return cret
1275 }1381 }
@@ -1281,6 +1387,8 @@ var xVariantGetInt16 func(uintptr) int16
1281 // It is an error to call this function with a @value of any type1387 // It is an error to call this function with a @value of any type
1282 // other than %G_VARIANT_TYPE_INT16.1388 // other than %G_VARIANT_TYPE_INT16.
1283 func (x *Variant) GetInt16() int16 {1389 func (x *Variant) GetInt16() int16 {
1390+ core.LazyRegister(&xVariantGetInt16, "GLIB", "g_variant_get_int16", false)
1391+
1284 cret := xVariantGetInt16(x.GoPointer())1392 cret := xVariantGetInt16(x.GoPointer())
1285 return cret1393 return cret
1286 }1394 }
@@ -1292,6 +1400,8 @@ var xVariantGetInt32 func(uintptr) int32
1292 // It is an error to call this function with a @value of any type1400 // It is an error to call this function with a @value of any type
1293 // other than %G_VARIANT_TYPE_INT32.1401 // other than %G_VARIANT_TYPE_INT32.
1294 func (x *Variant) GetInt32() int32 {1402 func (x *Variant) GetInt32() int32 {
1403+ core.LazyRegister(&xVariantGetInt32, "GLIB", "g_variant_get_int32", false)
1404+
1295 cret := xVariantGetInt32(x.GoPointer())1405 cret := xVariantGetInt32(x.GoPointer())
1296 return cret1406 return cret
1297 }1407 }
@@ -1303,6 +1413,8 @@ var xVariantGetInt64 func(uintptr) int64
1303 // It is an error to call this function with a @value of any type1413 // It is an error to call this function with a @value of any type
1304 // other than %G_VARIANT_TYPE_INT64.1414 // other than %G_VARIANT_TYPE_INT64.
1305 func (x *Variant) GetInt64() int64 {1415 func (x *Variant) GetInt64() int64 {
1416+ core.LazyRegister(&xVariantGetInt64, "GLIB", "g_variant_get_int64", false)
1417+
1306 cret := xVariantGetInt64(x.GoPointer())1418 cret := xVariantGetInt64(x.GoPointer())
1307 return cret1419 return cret
1308 }1420 }
@@ -1312,6 +1424,8 @@ var xVariantGetMaybe func(uintptr) uintptr
1312 // Given a maybe-typed #GVariant instance, extract its value. If the1424 // Given a maybe-typed #GVariant instance, extract its value. If the
1313 // value is Nothing, then this function returns %NULL.1425 // value is Nothing, then this function returns %NULL.
1314 func (x *Variant) GetMaybe() *Variant {1426 func (x *Variant) GetMaybe() *Variant {
1427+ core.LazyRegister(&xVariantGetMaybe, "GLIB", "g_variant_get_maybe", false)
1428+
1315 cret := xVariantGetMaybe(x.GoPointer())1429 cret := xVariantGetMaybe(x.GoPointer())
1316 if cret == 0 {1430 if cret == 0 {
1317 return nil1431 return nil
@@ -1347,6 +1461,8 @@ var xVariantGetNormalForm func(uintptr) uintptr
1347 // value from this function to guarantee ownership of a single non-floating1461 // value from this function to guarantee ownership of a single non-floating
1348 // reference to it.1462 // reference to it.
1349 func (x *Variant) GetNormalForm() *Variant {1463 func (x *Variant) GetNormalForm() *Variant {
1464+ core.LazyRegister(&xVariantGetNormalForm, "GLIB", "g_variant_get_normal_form", false)
1465+
1350 cret := xVariantGetNormalForm(x.GoPointer())1466 cret := xVariantGetNormalForm(x.GoPointer())
1351 if cret == 0 {1467 if cret == 0 {
1352 return nil1468 return nil
@@ -1367,6 +1483,8 @@ var xVariantGetObjv func(uintptr, *uint) []string
1367 // For an empty array, @length will be set to 0 and a pointer to a1483 // For an empty array, @length will be set to 0 and a pointer to a
1368 // %NULL pointer will be returned.1484 // %NULL pointer will be returned.
1369 func (x *Variant) GetObjv(LengthVar *uint) []string {1485 func (x *Variant) GetObjv(LengthVar *uint) []string {
1486+ core.LazyRegister(&xVariantGetObjv, "GLIB", "g_variant_get_objv", false)
1487+
1370 cret := xVariantGetObjv(x.GoPointer(), LengthVar)1488 cret := xVariantGetObjv(x.GoPointer(), LengthVar)
1371 return cret1489 return cret
1372 }1490 }
@@ -1385,6 +1503,8 @@ var xVariantGetSize func(uintptr) uint
1385 // operation which is approximately O(n) in the number of values1503 // operation which is approximately O(n) in the number of values
1386 // involved.1504 // involved.
1387 func (x *Variant) GetSize() uint {1505 func (x *Variant) GetSize() uint {
1506+ core.LazyRegister(&xVariantGetSize, "GLIB", "g_variant_get_size", false)
1507+
1388 cret := xVariantGetSize(x.GoPointer())1508 cret := xVariantGetSize(x.GoPointer())
1389 return cret1509 return cret
1390 }1510 }
@@ -1410,6 +1530,8 @@ var xVariantGetString func(uintptr, *uint) string
1410 //1530 //
1411 // The return value remains valid as long as @value exists.1531 // The return value remains valid as long as @value exists.
1412 func (x *Variant) GetString(LengthVar *uint) string {1532 func (x *Variant) GetString(LengthVar *uint) string {
1533+ core.LazyRegister(&xVariantGetString, "GLIB", "g_variant_get_string", false)
1534+
1413 cret := xVariantGetString(x.GoPointer(), LengthVar)1535 cret := xVariantGetString(x.GoPointer(), LengthVar)
1414 return cret1536 return cret
1415 }1537 }
@@ -1427,6 +1549,8 @@ var xVariantGetStrv func(uintptr, *uint) []string
1427 // For an empty array, @length will be set to 0 and a pointer to a1549 // For an empty array, @length will be set to 0 and a pointer to a
1428 // %NULL pointer will be returned.1550 // %NULL pointer will be returned.
1429 func (x *Variant) GetStrv(LengthVar *uint) []string {1551 func (x *Variant) GetStrv(LengthVar *uint) []string {
1552+ core.LazyRegister(&xVariantGetStrv, "GLIB", "g_variant_get_strv", false)
1553+
1430 cret := xVariantGetStrv(x.GoPointer(), LengthVar)1554 cret := xVariantGetStrv(x.GoPointer(), LengthVar)
1431 return cret1555 return cret
1432 }1556 }
@@ -1438,6 +1562,8 @@ var xVariantGetType func(uintptr) uintptr
1438 // The return value is valid for the lifetime of @value and must not1562 // The return value is valid for the lifetime of @value and must not
1439 // be freed.1563 // be freed.
1440 func (x *Variant) GetType() *VariantType {1564 func (x *Variant) GetType() *VariantType {
1565+ core.LazyRegister(&xVariantGetType, "GLIB", "g_variant_get_type", false)
1566+
1441 cret := xVariantGetType(x.GoPointer())1567 cret := xVariantGetType(x.GoPointer())
1442 if cret == 0 {1568 if cret == 0 {
1443 return nil1569 return nil
@@ -1451,6 +1577,8 @@ var xVariantGetTypeString func(uintptr) string
1451 // g_variant_type_peek_string(), this string is nul-terminated. This1577 // g_variant_type_peek_string(), this string is nul-terminated. This
1452 // string belongs to #GVariant and must not be freed.1578 // string belongs to #GVariant and must not be freed.
1453 func (x *Variant) GetTypeString() string {1579 func (x *Variant) GetTypeString() string {
1580+ core.LazyRegister(&xVariantGetTypeString, "GLIB", "g_variant_get_type_string", false)
1581+
1454 cret := xVariantGetTypeString(x.GoPointer())1582 cret := xVariantGetTypeString(x.GoPointer())
1455 return cret1583 return cret
1456 }1584 }
@@ -1462,6 +1590,8 @@ var xVariantGetUint16 func(uintptr) uint16
1462 // It is an error to call this function with a @value of any type1590 // It is an error to call this function with a @value of any type
1463 // other than %G_VARIANT_TYPE_UINT16.1591 // other than %G_VARIANT_TYPE_UINT16.
1464 func (x *Variant) GetUint16() uint16 {1592 func (x *Variant) GetUint16() uint16 {
1593+ core.LazyRegister(&xVariantGetUint16, "GLIB", "g_variant_get_uint16", false)
1594+
1465 cret := xVariantGetUint16(x.GoPointer())1595 cret := xVariantGetUint16(x.GoPointer())
1466 return cret1596 return cret
1467 }1597 }
@@ -1473,6 +1603,8 @@ var xVariantGetUint32 func(uintptr) uint32
1473 // It is an error to call this function with a @value of any type1603 // It is an error to call this function with a @value of any type
1474 // other than %G_VARIANT_TYPE_UINT32.1604 // other than %G_VARIANT_TYPE_UINT32.
1475 func (x *Variant) GetUint32() uint32 {1605 func (x *Variant) GetUint32() uint32 {
1606+ core.LazyRegister(&xVariantGetUint32, "GLIB", "g_variant_get_uint32", false)
1607+
1476 cret := xVariantGetUint32(x.GoPointer())1608 cret := xVariantGetUint32(x.GoPointer())
1477 return cret1609 return cret
1478 }1610 }
@@ -1484,6 +1616,8 @@ var xVariantGetUint64 func(uintptr) uint64
1484 // It is an error to call this function with a @value of any type1616 // It is an error to call this function with a @value of any type
1485 // other than %G_VARIANT_TYPE_UINT64.1617 // other than %G_VARIANT_TYPE_UINT64.
1486 func (x *Variant) GetUint64() uint64 {1618 func (x *Variant) GetUint64() uint64 {
1619+ core.LazyRegister(&xVariantGetUint64, "GLIB", "g_variant_get_uint64", false)
1620+
1487 cret := xVariantGetUint64(x.GoPointer())1621 cret := xVariantGetUint64(x.GoPointer())
1488 return cret1622 return cret
1489 }1623 }
@@ -1515,6 +1649,8 @@ var xVariantGetVa func(uintptr, string, uintptr, []interface{})
1515 // see the section on1649 // see the section on
1516 // [`GVariant` format strings](gvariant-format-strings.html#pointers).1650 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
1517 func (x *Variant) GetVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) {1651 func (x *Variant) GetVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) {
1652+ core.LazyRegister(&xVariantGetVa, "GLIB", "g_variant_get_va", false)
1653+
1518 EndptrVarPtr := core.GStrdupNullable(EndptrVar)1654 EndptrVarPtr := core.GStrdupNullable(EndptrVar)
1519 defer core.GFreeNullable(EndptrVarPtr)1655 defer core.GFreeNullable(EndptrVarPtr)
1520 1656
@@ -1526,6 +1662,8 @@ var xVariantGetVariant func(uintptr) uintptr
1526 // Unboxes @value. The result is the #GVariant instance that was1662 // Unboxes @value. The result is the #GVariant instance that was
1527 // contained in @value.1663 // contained in @value.
1528 func (x *Variant) GetVariant() *Variant {1664 func (x *Variant) GetVariant() *Variant {
1665+ core.LazyRegister(&xVariantGetVariant, "GLIB", "g_variant_get_variant", false)
1666+
1529 cret := xVariantGetVariant(x.GoPointer())1667 cret := xVariantGetVariant(x.GoPointer())
1530 if cret == 0 {1668 if cret == 0 {
1531 return nil1669 return nil
@@ -1545,6 +1683,8 @@ var xVariantHash func(uintptr) uint
1545 // The type of @value is #gconstpointer only to allow use of this1683 // The type of @value is #gconstpointer only to allow use of this
1546 // function with #GHashTable. @value must be a #GVariant.1684 // function with #GHashTable. @value must be a #GVariant.
1547 func (x *Variant) Hash() uint {1685 func (x *Variant) Hash() uint {
1686+ core.LazyRegister(&xVariantHash, "GLIB", "g_variant_hash", false)
1687+
1548 cret := xVariantHash(x.GoPointer())1688 cret := xVariantHash(x.GoPointer())
1549 return cret1689 return cret
1550 }1690 }
@@ -1553,6 +1693,8 @@ var xVariantIsContainer func(uintptr) bool
1553 1693
1554 // Checks if @value is a container.1694 // Checks if @value is a container.
1555 func (x *Variant) IsContainer() bool {1695 func (x *Variant) IsContainer() bool {
1696+ core.LazyRegister(&xVariantIsContainer, "GLIB", "g_variant_is_container", false)
1697+
1556 cret := xVariantIsContainer(x.GoPointer())1698 cret := xVariantIsContainer(x.GoPointer())
1557 return cret1699 return cret
1558 }1700 }
@@ -1569,6 +1711,8 @@ var xVariantIsFloating func(uintptr) bool
1569 // See g_variant_ref_sink() for more information about floating reference1711 // See g_variant_ref_sink() for more information about floating reference
1570 // counts.1712 // counts.
1571 func (x *Variant) IsFloating() bool {1713 func (x *Variant) IsFloating() bool {
1714+ core.LazyRegister(&xVariantIsFloating, "GLIB", "g_variant_is_floating", false)
1715+
1572 cret := xVariantIsFloating(x.GoPointer())1716 cret := xVariantIsFloating(x.GoPointer())
1573 return cret1717 return cret
1574 }1718 }
@@ -1589,6 +1733,8 @@ var xVariantIsNormalForm func(uintptr) bool
1589 // There may be implementation specific restrictions on deeply nested values.1733 // There may be implementation specific restrictions on deeply nested values.
1590 // GVariant is guaranteed to handle nesting up to at least 64 levels.1734 // GVariant is guaranteed to handle nesting up to at least 64 levels.
1591 func (x *Variant) IsNormalForm() bool {1735 func (x *Variant) IsNormalForm() bool {
1736+ core.LazyRegister(&xVariantIsNormalForm, "GLIB", "g_variant_is_normal_form", false)
1737+
1592 cret := xVariantIsNormalForm(x.GoPointer())1738 cret := xVariantIsNormalForm(x.GoPointer())
1593 return cret1739 return cret
1594 }1740 }
@@ -1597,6 +1743,8 @@ var xVariantIsOfType func(uintptr, *VariantType) bool
1597 1743
1598 // Checks if a value has a type matching the provided type.1744 // Checks if a value has a type matching the provided type.
1599 func (x *Variant) IsOfType(TypeVar *VariantType) bool {1745 func (x *Variant) IsOfType(TypeVar *VariantType) bool {
1746+ core.LazyRegister(&xVariantIsOfType, "GLIB", "g_variant_is_of_type", false)
1747+
1600 cret := xVariantIsOfType(x.GoPointer(), TypeVar)1748 cret := xVariantIsOfType(x.GoPointer(), TypeVar)
1601 return cret1749 return cret
1602 }1750 }
@@ -1612,6 +1760,8 @@ var xVariantIterNew func(uintptr) uintptr
1612 // A reference is taken to @value and will be released only when1760 // A reference is taken to @value and will be released only when
1613 // g_variant_iter_free() is called.1761 // g_variant_iter_free() is called.
1614 func (x *Variant) IterNew() *VariantIter {1762 func (x *Variant) IterNew() *VariantIter {
1763+ core.LazyRegister(&xVariantIterNew, "GLIB", "g_variant_iter_new", false)
1764+
1615 cret := xVariantIterNew(x.GoPointer())1765 cret := xVariantIterNew(x.GoPointer())
1616 if cret == 0 {1766 if cret == 0 {
1617 return nil1767 return nil
@@ -1636,6 +1786,8 @@ var xVariantLookup func(uintptr, string, string, ...interface{}) bool
1636 // This function is currently implemented with a linear scan. If you1786 // This function is currently implemented with a linear scan. If you
1637 // plan to do many lookups then #GVariantDict may be more efficient.1787 // plan to do many lookups then #GVariantDict may be more efficient.
1638 func (x *Variant) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool {1788 func (x *Variant) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool {
1789+ core.LazyRegister(&xVariantLookup, "GLIB", "g_variant_lookup", false)
1790+
1639 cret := xVariantLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...)1791 cret := xVariantLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...)
1640 return cret1792 return cret
1641 }1793 }
@@ -1664,6 +1816,8 @@ var xVariantLookupValue func(uintptr, string, *VariantType) uintptr
1664 // This function is currently implemented with a linear scan. If you1816 // This function is currently implemented with a linear scan. If you
1665 // plan to do many lookups then [struct@VariantDict] may be more efficient.1817 // plan to do many lookups then [struct@VariantDict] may be more efficient.
1666 func (x *Variant) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant {1818 func (x *Variant) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant {
1819+ core.LazyRegister(&xVariantLookupValue, "GLIB", "g_variant_lookup_value", false)
1820+
1667 cret := xVariantLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar)1821 cret := xVariantLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar)
1668 if cret == 0 {1822 if cret == 0 {
1669 return nil1823 return nil
@@ -1685,6 +1839,8 @@ var xVariantNChildren func(uintptr) uint
1685 //1839 //
1686 // This function is O(1).1840 // This function is O(1).
1687 func (x *Variant) NChildren() uint {1841 func (x *Variant) NChildren() uint {
1842+ core.LazyRegister(&xVariantNChildren, "GLIB", "g_variant_n_children", false)
1843+
1688 cret := xVariantNChildren(x.GoPointer())1844 cret := xVariantNChildren(x.GoPointer())
1689 return cret1845 return cret
1690 }1846 }
@@ -1698,6 +1854,8 @@ var xVariantPrint func(uintptr, bool) string
1698 // If @type_annotate is %TRUE, then type information is included in1854 // If @type_annotate is %TRUE, then type information is included in
1699 // the output.1855 // the output.
1700 func (x *Variant) Print(TypeAnnotateVar bool) string {1856 func (x *Variant) Print(TypeAnnotateVar bool) string {
1857+ core.LazyRegister(&xVariantPrint, "GLIB", "g_variant_print", false)
1858+
1701 cret := xVariantPrint(x.GoPointer(), TypeAnnotateVar)1859 cret := xVariantPrint(x.GoPointer(), TypeAnnotateVar)
1702 return cret1860 return cret
1703 }1861 }
@@ -1709,6 +1867,8 @@ var xVariantPrintString func(uintptr, *String, bool) uintptr
1709 // If @string is non-%NULL then it is appended to and returned. Else,1867 // If @string is non-%NULL then it is appended to and returned. Else,
1710 // a new empty #GString is allocated and it is returned.1868 // a new empty #GString is allocated and it is returned.
1711 func (x *Variant) PrintString(StringVar *String, TypeAnnotateVar bool) *String {1869 func (x *Variant) PrintString(StringVar *String, TypeAnnotateVar bool) *String {
1870+ core.LazyRegister(&xVariantPrintString, "GLIB", "g_variant_print_string", false)
1871+
1712 cret := xVariantPrintString(x.GoPointer(), StringVar, TypeAnnotateVar)1872 cret := xVariantPrintString(x.GoPointer(), StringVar, TypeAnnotateVar)
1713 if cret == 0 {1873 if cret == 0 {
1714 return nil1874 return nil
@@ -1720,6 +1880,8 @@ var xVariantRef func(uintptr) uintptr
1720 1880
1721 // Increases the reference count of @value.1881 // Increases the reference count of @value.
1722 func (x *Variant) Ref() *Variant {1882 func (x *Variant) Ref() *Variant {
1883+ core.LazyRegister(&xVariantRef, "GLIB", "g_variant_ref", false)
1884+
1723 cret := xVariantRef(x.GoPointer())1885 cret := xVariantRef(x.GoPointer())
1724 if cret == 0 {1886 if cret == 0 {
1725 return nil1887 return nil
@@ -1752,6 +1914,8 @@ var xVariantRefSink func(uintptr) uintptr
1752 // maintaining normal refcounting semantics in situations where values1914 // maintaining normal refcounting semantics in situations where values
1753 // are not floating.1915 // are not floating.
1754 func (x *Variant) RefSink() *Variant {1916 func (x *Variant) RefSink() *Variant {
1917+ core.LazyRegister(&xVariantRefSink, "GLIB", "g_variant_ref_sink", false)
1918+
1755 cret := xVariantRefSink(x.GoPointer())1919 cret := xVariantRefSink(x.GoPointer())
1756 if cret == 0 {1920 if cret == 0 {
1757 return nil1921 return nil
@@ -1774,6 +1938,8 @@ var xVariantStore func(uintptr, uintptr)
1774 //1938 //
1775 // This function is approximately O(n) in the size of @data.1939 // This function is approximately O(n) in the size of @data.
1776 func (x *Variant) Store(DataVar uintptr) {1940 func (x *Variant) Store(DataVar uintptr) {
1941+ core.LazyRegister(&xVariantStore, "GLIB", "g_variant_store", false)
1942+
1777 xVariantStore(x.GoPointer(), DataVar)1943 xVariantStore(x.GoPointer(), DataVar)
1778 }1944 }
1779 1945
@@ -1812,6 +1978,8 @@ var xVariantTakeRef func(uintptr) uintptr
1812 // an additional reference on top of that one is added. It is best to1978 // an additional reference on top of that one is added. It is best to
1813 // avoid this situation.1979 // avoid this situation.
1814 func (x *Variant) TakeRef() *Variant {1980 func (x *Variant) TakeRef() *Variant {
1981+ core.LazyRegister(&xVariantTakeRef, "GLIB", "g_variant_take_ref", false)
1982+
1815 cret := xVariantTakeRef(x.GoPointer())1983 cret := xVariantTakeRef(x.GoPointer())
1816 if cret == 0 {1984 if cret == 0 {
1817 return nil1985 return nil
@@ -1824,6 +1992,8 @@ var xVariantUnref func(uintptr)
1824 // Decreases the reference count of @value. When its reference count1992 // Decreases the reference count of @value. When its reference count
1825 // drops to 0, the memory used by the variant is freed.1993 // drops to 0, the memory used by the variant is freed.
1826 func (x *Variant) Unref() {1994 func (x *Variant) Unref() {
1995+ core.LazyRegister(&xVariantUnref, "GLIB", "g_variant_unref", false)
1996+
1827 xVariantUnref(x.GoPointer())1997 xVariantUnref(x.GoPointer())
1828 }1998 }
1829 1999
@@ -1841,6 +2011,7 @@ type VariantBuilder struct {
1841 var xVariantBuilderGLibType func() types.GType2011 var xVariantBuilderGLibType func() types.GType
1842 2012
1843 func VariantBuilderGLibType() types.GType {2013 func VariantBuilderGLibType() types.GType {
2014+ core.LazyRegister(&xVariantBuilderGLibType, "GLIB", "g_variant_builder_get_type", false)
1844 return xVariantBuilderGLibType()2015 return xVariantBuilderGLibType()
1845 }2016 }
1846 2017
@@ -1868,6 +2039,8 @@ var xNewVariantBuilder func(*VariantType) uintptr
1868 // the stack of the calling function and initialise it with2039 // the stack of the calling function and initialise it with
1869 // g_variant_builder_init_static().2040 // g_variant_builder_init_static().
1870 func NewVariantBuilder(TypeVar *VariantType) *VariantBuilder {2041 func NewVariantBuilder(TypeVar *VariantType) *VariantBuilder {
2042+ core.LazyRegister(&xNewVariantBuilder, "GLIB", "g_variant_builder_new", false)
2043+
1871 cret := xNewVariantBuilder(TypeVar)2044 cret := xNewVariantBuilder(TypeVar)
1872 if cret == 0 {2045 if cret == 0 {
1873 return nil2046 return nil
@@ -1910,6 +2083,8 @@ var xVariantBuilderAdd func(uintptr, string, ...interface{})
1910 //2083 //
1911 // ]|2084 // ]|
1912 func (x *VariantBuilder) Add(FormatStringVar string, varArgs ...interface{}) {2085 func (x *VariantBuilder) Add(FormatStringVar string, varArgs ...interface{}) {
2086+ core.LazyRegister(&xVariantBuilderAdd, "GLIB", "g_variant_builder_add", false)
2087+
1913 xVariantBuilderAdd(x.GoPointer(), FormatStringVar, varArgs...)2088 xVariantBuilderAdd(x.GoPointer(), FormatStringVar, varArgs...)
1914 }2089 }
1915 2090
@@ -1944,6 +2119,8 @@ var xVariantBuilderAddParsed func(uintptr, string, ...interface{})
1944 //2119 //
1945 // ]|2120 // ]|
1946 func (x *VariantBuilder) AddParsed(FormatVar string, varArgs ...interface{}) {2121 func (x *VariantBuilder) AddParsed(FormatVar string, varArgs ...interface{}) {
2122+ core.LazyRegister(&xVariantBuilderAddParsed, "GLIB", "g_variant_builder_add_parsed", false)
2123+
1947 xVariantBuilderAddParsed(x.GoPointer(), FormatVar, varArgs...)2124 xVariantBuilderAddParsed(x.GoPointer(), FormatVar, varArgs...)
1948 }2125 }
1949 2126
@@ -1960,6 +2137,8 @@ var xVariantBuilderAddValue func(uintptr, *Variant)
1960 // If @value is a floating reference (see g_variant_ref_sink()),2137 // If @value is a floating reference (see g_variant_ref_sink()),
1961 // the @builder instance takes ownership of @value.2138 // the @builder instance takes ownership of @value.
1962 func (x *VariantBuilder) AddValue(ValueVar *Variant) {2139 func (x *VariantBuilder) AddValue(ValueVar *Variant) {
2140+ core.LazyRegister(&xVariantBuilderAddValue, "GLIB", "g_variant_builder_add_value", false)
2141+
1963 xVariantBuilderAddValue(x.GoPointer(), ValueVar)2142 xVariantBuilderAddValue(x.GoPointer(), ValueVar)
1964 }2143 }
1965 2144
@@ -1980,6 +2159,8 @@ var xVariantBuilderClear func(uintptr)
1980 // #GVariantBuilder or one that is set to all-zeros but it is not valid2159 // #GVariantBuilder or one that is set to all-zeros but it is not valid
1981 // to call this function on uninitialised memory.2160 // to call this function on uninitialised memory.
1982 func (x *VariantBuilder) Clear() {2161 func (x *VariantBuilder) Clear() {
2162+ core.LazyRegister(&xVariantBuilderClear, "GLIB", "g_variant_builder_clear", false)
2163+
1983 xVariantBuilderClear(x.GoPointer())2164 xVariantBuilderClear(x.GoPointer())
1984 }2165 }
1985 2166
@@ -1992,6 +2173,8 @@ var xVariantBuilderClose func(uintptr)
1992 // inconsistent value to be constructed (ie: too few values added to the2173 // inconsistent value to be constructed (ie: too few values added to the
1993 // subcontainer).2174 // subcontainer).
1994 func (x *VariantBuilder) Close() {2175 func (x *VariantBuilder) Close() {
2176+ core.LazyRegister(&xVariantBuilderClose, "GLIB", "g_variant_builder_close", false)
2177+
1995 xVariantBuilderClose(x.GoPointer())2178 xVariantBuilderClose(x.GoPointer())
1996 }2179 }
1997 2180
@@ -2015,6 +2198,8 @@ var xVariantBuilderEnd func(uintptr) uintptr
2015 // have been added; in this case it is impossible to infer the type of2198 // have been added; in this case it is impossible to infer the type of
2016 // the empty array.2199 // the empty array.
2017 func (x *VariantBuilder) End() *Variant {2200 func (x *VariantBuilder) End() *Variant {
2201+ core.LazyRegister(&xVariantBuilderEnd, "GLIB", "g_variant_builder_end", false)
2202+
2018 cret := xVariantBuilderEnd(x.GoPointer())2203 cret := xVariantBuilderEnd(x.GoPointer())
2019 if cret == 0 {2204 if cret == 0 {
2020 return nil2205 return nil
@@ -2058,6 +2243,8 @@ var xVariantBuilderInit func(uintptr, *VariantType)
2058 // reference counting; you should use g_variant_builder_new() instead of2243 // reference counting; you should use g_variant_builder_new() instead of
2059 // this function.2244 // this function.
2060 func (x *VariantBuilder) Init(TypeVar *VariantType) {2245 func (x *VariantBuilder) Init(TypeVar *VariantType) {
2246+ core.LazyRegister(&xVariantBuilderInit, "GLIB", "g_variant_builder_init", false)
2247+
2061 xVariantBuilderInit(x.GoPointer(), TypeVar)2248 xVariantBuilderInit(x.GoPointer(), TypeVar)
2062 }2249 }
2063 2250
@@ -2070,6 +2257,8 @@ var xVariantBuilderInitStatic func(uintptr, *VariantType)
2070 // lifetime of @builder. This is always true of type constants like2257 // lifetime of @builder. This is always true of type constants like
2071 // `G_VARIANT_TYPE_*` or `G_VARIANT_TYPE ("(ii)")`.2258 // `G_VARIANT_TYPE_*` or `G_VARIANT_TYPE ("(ii)")`.
2072 func (x *VariantBuilder) InitStatic(TypeVar *VariantType) {2259 func (x *VariantBuilder) InitStatic(TypeVar *VariantType) {
2260+ core.LazyRegister(&xVariantBuilderInitStatic, "GLIB", "g_variant_builder_init_static", false)
2261+
2073 xVariantBuilderInitStatic(x.GoPointer(), TypeVar)2262 xVariantBuilderInitStatic(x.GoPointer(), TypeVar)
2074 }2263 }
2075 2264
@@ -2113,6 +2302,8 @@ var xVariantBuilderOpen func(uintptr, *VariantType)
2113 // output = g_variant_builder_end (&amp;builder);2302 // output = g_variant_builder_end (&amp;builder);
2114 // ]|2303 // ]|
2115 func (x *VariantBuilder) Open(TypeVar *VariantType) {2304 func (x *VariantBuilder) Open(TypeVar *VariantType) {
2305+ core.LazyRegister(&xVariantBuilderOpen, "GLIB", "g_variant_builder_open", false)
2306+
2116 xVariantBuilderOpen(x.GoPointer(), TypeVar)2307 xVariantBuilderOpen(x.GoPointer(), TypeVar)
2117 }2308 }
2118 2309
@@ -2123,6 +2314,8 @@ var xVariantBuilderRef func(uintptr) uintptr
2123 // Don't call this on stack-allocated #GVariantBuilder instances or bad2314 // Don't call this on stack-allocated #GVariantBuilder instances or bad
2124 // things will happen.2315 // things will happen.
2125 func (x *VariantBuilder) Ref() *VariantBuilder {2316 func (x *VariantBuilder) Ref() *VariantBuilder {
2317+ core.LazyRegister(&xVariantBuilderRef, "GLIB", "g_variant_builder_ref", false)
2318+
2126 cret := xVariantBuilderRef(x.GoPointer())2319 cret := xVariantBuilderRef(x.GoPointer())
2127 if cret == 0 {2320 if cret == 0 {
2128 return nil2321 return nil
@@ -2140,6 +2333,8 @@ var xVariantBuilderUnref func(uintptr)
2140 // Don't call this on stack-allocated #GVariantBuilder instances or bad2333 // Don't call this on stack-allocated #GVariantBuilder instances or bad
2141 // things will happen.2334 // things will happen.
2142 func (x *VariantBuilder) Unref() {2335 func (x *VariantBuilder) Unref() {
2336+ core.LazyRegister(&xVariantBuilderUnref, "GLIB", "g_variant_builder_unref", false)
2337+
2143 xVariantBuilderUnref(x.GoPointer())2338 xVariantBuilderUnref(x.GoPointer())
2144 }2339 }
2145 2340
@@ -2243,6 +2438,7 @@ type VariantDict struct {
2243 var xVariantDictGLibType func() types.GType2438 var xVariantDictGLibType func() types.GType
2244 2439
2245 func VariantDictGLibType() types.GType {2440 func VariantDictGLibType() types.GType {
2441+ core.LazyRegister(&xVariantDictGLibType, "GLIB", "g_variant_dict_get_type", false)
2246 return xVariantDictGLibType()2442 return xVariantDictGLibType()
2247 }2443 }
2248 2444
@@ -2271,6 +2467,8 @@ var xNewVariantDict func(*Variant) uintptr
2271 // g_variant_dict_init(). This is particularly useful when you are2467 // g_variant_dict_init(). This is particularly useful when you are
2272 // using #GVariantDict to construct a #GVariant.2468 // using #GVariantDict to construct a #GVariant.
2273 func NewVariantDict(FromAsvVar *Variant) *VariantDict {2469 func NewVariantDict(FromAsvVar *Variant) *VariantDict {
2470+ core.LazyRegister(&xNewVariantDict, "GLIB", "g_variant_dict_new", false)
2471+
2274 cret := xNewVariantDict(FromAsvVar)2472 cret := xNewVariantDict(FromAsvVar)
2275 if cret == 0 {2473 if cret == 0 {
2276 return nil2474 return nil
@@ -2295,6 +2493,8 @@ var xVariantDictClear func(uintptr)
2295 // to g_variant_dict_clear() but it is not valid to call this function2493 // to g_variant_dict_clear() but it is not valid to call this function
2296 // on uninitialised memory.2494 // on uninitialised memory.
2297 func (x *VariantDict) Clear() {2495 func (x *VariantDict) Clear() {
2496+ core.LazyRegister(&xVariantDictClear, "GLIB", "g_variant_dict_clear", false)
2497+
2298 xVariantDictClear(x.GoPointer())2498 xVariantDictClear(x.GoPointer())
2299 }2499 }
2300 2500
@@ -2302,6 +2502,8 @@ var xVariantDictContains func(uintptr, string) bool
2302 2502
2303 // Checks if @key exists in @dict.2503 // Checks if @key exists in @dict.
2304 func (x *VariantDict) Contains(KeyVar string) bool {2504 func (x *VariantDict) Contains(KeyVar string) bool {
2505+ core.LazyRegister(&xVariantDictContains, "GLIB", "g_variant_dict_contains", false)
2506+
2305 cret := xVariantDictContains(x.GoPointer(), KeyVar)2507 cret := xVariantDictContains(x.GoPointer(), KeyVar)
2306 return cret2508 return cret
2307 }2509 }
@@ -2316,6 +2518,8 @@ var xVariantDictEnd func(uintptr) uintptr
2316 // #GVariantDict) or by reinitialising it with g_variant_dict_init() (in2518 // #GVariantDict) or by reinitialising it with g_variant_dict_init() (in
2317 // the case of stack-allocated).2519 // the case of stack-allocated).
2318 func (x *VariantDict) End() *Variant {2520 func (x *VariantDict) End() *Variant {
2521+ core.LazyRegister(&xVariantDictEnd, "GLIB", "g_variant_dict_end", false)
2522+
2319 cret := xVariantDictEnd(x.GoPointer())2523 cret := xVariantDictEnd(x.GoPointer())
2320 if cret == 0 {2524 if cret == 0 {
2321 return nil2525 return nil
@@ -2342,6 +2546,8 @@ var xVariantDictInit func(uintptr, *Variant)
2342 // reference may try to use reference counting; you should use2546 // reference may try to use reference counting; you should use
2343 // g_variant_dict_new() instead of this function.2547 // g_variant_dict_new() instead of this function.
2344 func (x *VariantDict) Init(FromAsvVar *Variant) {2548 func (x *VariantDict) Init(FromAsvVar *Variant) {
2549+ core.LazyRegister(&xVariantDictInit, "GLIB", "g_variant_dict_init", false)
2550+
2345 xVariantDictInit(x.GoPointer(), FromAsvVar)2551 xVariantDictInit(x.GoPointer(), FromAsvVar)
2346 }2552 }
2347 2553
@@ -2352,6 +2558,8 @@ var xVariantDictInsert func(uintptr, string, string, ...interface{})
2352 // This call is a convenience wrapper that is exactly equivalent to2558 // This call is a convenience wrapper that is exactly equivalent to
2353 // calling g_variant_new() followed by g_variant_dict_insert_value().2559 // calling g_variant_new() followed by g_variant_dict_insert_value().
2354 func (x *VariantDict) Insert(KeyVar string, FormatStringVar string, varArgs ...interface{}) {2560 func (x *VariantDict) Insert(KeyVar string, FormatStringVar string, varArgs ...interface{}) {
2561+ core.LazyRegister(&xVariantDictInsert, "GLIB", "g_variant_dict_insert", false)
2562+
2355 xVariantDictInsert(x.GoPointer(), KeyVar, FormatStringVar, varArgs...)2563 xVariantDictInsert(x.GoPointer(), KeyVar, FormatStringVar, varArgs...)
2356 }2564 }
2357 2565
@@ -2361,6 +2569,8 @@ var xVariantDictInsertValue func(uintptr, string, *Variant)
2361 //2569 //
2362 // @value is consumed if it is floating.2570 // @value is consumed if it is floating.
2363 func (x *VariantDict) InsertValue(KeyVar string, ValueVar *Variant) {2571 func (x *VariantDict) InsertValue(KeyVar string, ValueVar *Variant) {
2572+ core.LazyRegister(&xVariantDictInsertValue, "GLIB", "g_variant_dict_insert_value", false)
2573+
2364 xVariantDictInsertValue(x.GoPointer(), KeyVar, ValueVar)2574 xVariantDictInsertValue(x.GoPointer(), KeyVar, ValueVar)
2365 }2575 }
2366 2576
@@ -2378,6 +2588,8 @@ var xVariantDictLookup func(uintptr, string, string, ...interface{}) bool
2378 // values and also determines if the values are copied or borrowed, see the2588 // values and also determines if the values are copied or borrowed, see the
2379 // section on [`GVariant` format strings](gvariant-format-strings.html#pointers).2589 // section on [`GVariant` format strings](gvariant-format-strings.html#pointers).
2380 func (x *VariantDict) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool {2590 func (x *VariantDict) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool {
2591+ core.LazyRegister(&xVariantDictLookup, "GLIB", "g_variant_dict_lookup", false)
2592+
2381 cret := xVariantDictLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...)2593 cret := xVariantDictLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...)
2382 return cret2594 return cret
2383 }2595 }
@@ -2396,6 +2608,8 @@ var xVariantDictLookupValue func(uintptr, string, *VariantType) uintptr
2396 // returned. If @expected_type was specified then any non-%NULL return2608 // returned. If @expected_type was specified then any non-%NULL return
2397 // value will have this type.2609 // value will have this type.
2398 func (x *VariantDict) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant {2610 func (x *VariantDict) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant {
2611+ core.LazyRegister(&xVariantDictLookupValue, "GLIB", "g_variant_dict_lookup_value", false)
2612+
2399 cret := xVariantDictLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar)2613 cret := xVariantDictLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar)
2400 if cret == 0 {2614 if cret == 0 {
2401 return nil2615 return nil
@@ -2410,6 +2624,8 @@ var xVariantDictRef func(uintptr) uintptr
2410 // Don't call this on stack-allocated #GVariantDict instances or bad2624 // Don't call this on stack-allocated #GVariantDict instances or bad
2411 // things will happen.2625 // things will happen.
2412 func (x *VariantDict) Ref() *VariantDict {2626 func (x *VariantDict) Ref() *VariantDict {
2627+ core.LazyRegister(&xVariantDictRef, "GLIB", "g_variant_dict_ref", false)
2628+
2413 cret := xVariantDictRef(x.GoPointer())2629 cret := xVariantDictRef(x.GoPointer())
2414 if cret == 0 {2630 if cret == 0 {
2415 return nil2631 return nil
@@ -2421,6 +2637,8 @@ var xVariantDictRemove func(uintptr, string) bool
2421 2637
2422 // Removes a key and its associated value from a #GVariantDict.2638 // Removes a key and its associated value from a #GVariantDict.
2423 func (x *VariantDict) Remove(KeyVar string) bool {2639 func (x *VariantDict) Remove(KeyVar string) bool {
2640+ core.LazyRegister(&xVariantDictRemove, "GLIB", "g_variant_dict_remove", false)
2641+
2424 cret := xVariantDictRemove(x.GoPointer(), KeyVar)2642 cret := xVariantDictRemove(x.GoPointer(), KeyVar)
2425 return cret2643 return cret
2426 }2644 }
@@ -2435,6 +2653,8 @@ var xVariantDictUnref func(uintptr)
2435 // Don't call this on stack-allocated #GVariantDict instances or bad2653 // Don't call this on stack-allocated #GVariantDict instances or bad
2436 // things will happen.2654 // things will happen.
2437 func (x *VariantDict) Unref() {2655 func (x *VariantDict) Unref() {
2656+ core.LazyRegister(&xVariantDictUnref, "GLIB", "g_variant_dict_unref", false)
2657+
2438 xVariantDictUnref(x.GoPointer())2658 xVariantDictUnref(x.GoPointer())
2439 }2659 }
2440 2660
@@ -2471,6 +2691,8 @@ var xVariantIterCopy func(uintptr) uintptr
2471 // A reference is taken to the container that @iter is iterating over2691 // A reference is taken to the container that @iter is iterating over
2472 // and will be related only when g_variant_iter_free() is called.2692 // and will be related only when g_variant_iter_free() is called.
2473 func (x *VariantIter) Copy() *VariantIter {2693 func (x *VariantIter) Copy() *VariantIter {
2694+ core.LazyRegister(&xVariantIterCopy, "GLIB", "g_variant_iter_copy", false)
2695+
2474 cret := xVariantIterCopy(x.GoPointer())2696 cret := xVariantIterCopy(x.GoPointer())
2475 if cret == 0 {2697 if cret == 0 {
2476 return nil2698 return nil
@@ -2484,6 +2706,8 @@ var xVariantIterFree func(uintptr)
2484 // iterators that were returned by g_variant_iter_new() or2706 // iterators that were returned by g_variant_iter_new() or
2485 // g_variant_iter_copy().2707 // g_variant_iter_copy().
2486 func (x *VariantIter) Free() {2708 func (x *VariantIter) Free() {
2709+ core.LazyRegister(&xVariantIterFree, "GLIB", "g_variant_iter_free", false)
2710+
2487 xVariantIterFree(x.GoPointer())2711 xVariantIterFree(x.GoPointer())
2488 }2712 }
2489 2713
@@ -2496,6 +2720,8 @@ var xVariantIterInit func(uintptr, *Variant) uint
2496 // The iterator remains valid for as long as @value exists, and need not2720 // The iterator remains valid for as long as @value exists, and need not
2497 // be freed in any way.2721 // be freed in any way.
2498 func (x *VariantIter) Init(ValueVar *Variant) uint {2722 func (x *VariantIter) Init(ValueVar *Variant) uint {
2723+ core.LazyRegister(&xVariantIterInit, "GLIB", "g_variant_iter_init", false)
2724+
2499 cret := xVariantIterInit(x.GoPointer(), ValueVar)2725 cret := xVariantIterInit(x.GoPointer(), ValueVar)
2500 return cret2726 return cret
2501 }2727 }
@@ -2567,6 +2793,8 @@ var xVariantIterLoop func(uintptr, string, ...interface{}) bool
2567 // See the section on2793 // See the section on
2568 // [`GVariant` format strings](gvariant-format-strings.html#pointers).2794 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
2569 func (x *VariantIter) Loop(FormatStringVar string, varArgs ...interface{}) bool {2795 func (x *VariantIter) Loop(FormatStringVar string, varArgs ...interface{}) bool {
2796+ core.LazyRegister(&xVariantIterLoop, "GLIB", "g_variant_iter_loop", false)
2797+
2570 cret := xVariantIterLoop(x.GoPointer(), FormatStringVar, varArgs...)2798 cret := xVariantIterLoop(x.GoPointer(), FormatStringVar, varArgs...)
2571 return cret2799 return cret
2572 }2800 }
@@ -2579,6 +2807,8 @@ var xVariantIterNChildren func(uintptr) uint
2579 //2807 //
2580 // This function might be useful for preallocation of arrays.2808 // This function might be useful for preallocation of arrays.
2581 func (x *VariantIter) NChildren() uint {2809 func (x *VariantIter) NChildren() uint {
2810+ core.LazyRegister(&xVariantIterNChildren, "GLIB", "g_variant_iter_n_children", false)
2811+
2582 cret := xVariantIterNChildren(x.GoPointer())2812 cret := xVariantIterNChildren(x.GoPointer())
2583 return cret2813 return cret
2584 }2814 }
@@ -2629,6 +2859,8 @@ var xVariantIterNext func(uintptr, string, ...interface{}) bool
2629 // See the section on2859 // See the section on
2630 // [`GVariant` format strings](gvariant-format-strings.html#pointers).2860 // [`GVariant` format strings](gvariant-format-strings.html#pointers).
2631 func (x *VariantIter) Next(FormatStringVar string, varArgs ...interface{}) bool {2861 func (x *VariantIter) Next(FormatStringVar string, varArgs ...interface{}) bool {
2862+ core.LazyRegister(&xVariantIterNext, "GLIB", "g_variant_iter_next", false)
2863+
2632 cret := xVariantIterNext(x.GoPointer(), FormatStringVar, varArgs...)2864 cret := xVariantIterNext(x.GoPointer(), FormatStringVar, varArgs...)
2633 return cret2865 return cret
2634 }2866 }
@@ -2665,6 +2897,8 @@ var xVariantIterNextValue func(uintptr) uintptr
2665 //2897 //
2666 // ]|2898 // ]|
2667 func (x *VariantIter) NextValue() *Variant {2899 func (x *VariantIter) NextValue() *Variant {
2900+ core.LazyRegister(&xVariantIterNextValue, "GLIB", "g_variant_iter_next_value", false)
2901+
2668 cret := xVariantIterNextValue(x.GoPointer())2902 cret := xVariantIterNextValue(x.GoPointer())
2669 if cret == 0 {2903 if cret == 0 {
2670 return nil2904 return nil
@@ -2773,6 +3007,8 @@ var xVariantIsObjectPath func(string) bool
2773 // must contain only the characters `[A-Z][a-z][0-9]_`. No sequence3007 // must contain only the characters `[A-Z][a-z][0-9]_`. No sequence
2774 // (including the one following the final `/` character) may be empty.3008 // (including the one following the final `/` character) may be empty.
2775 func VariantIsObjectPath(StringVar string) bool {3009 func VariantIsObjectPath(StringVar string) bool {
3010+ core.LazyRegister(&xVariantIsObjectPath, "GLIB", "g_variant_is_object_path", false)
3011+
2776 cret := xVariantIsObjectPath(StringVar)3012 cret := xVariantIsObjectPath(StringVar)
2777 return cret3013 return cret
2778 }3014 }
@@ -2786,6 +3022,8 @@ var xVariantIsSignature func(string) bool
2786 // D-Bus type signatures consist of zero or more definite #GVariantType3022 // D-Bus type signatures consist of zero or more definite #GVariantType
2787 // strings in sequence.3023 // strings in sequence.
2788 func VariantIsSignature(StringVar string) bool {3024 func VariantIsSignature(StringVar string) bool {
3025+ core.LazyRegister(&xVariantIsSignature, "GLIB", "g_variant_is_signature", false)
3026+
2789 cret := xVariantIsSignature(StringVar)3027 cret := xVariantIsSignature(StringVar)
2790 return cret3028 return cret
2791 }3029 }
@@ -2829,6 +3067,7 @@ var xVariantParse func(*VariantType, string, uintptr, uintptr, **Error) uintptr
2829 // which would result in a %G_VARIANT_PARSE_ERROR_RECURSION error. #GVariant is3067 // which would result in a %G_VARIANT_PARSE_ERROR_RECURSION error. #GVariant is
2830 // guaranteed to handle nesting up to at least 64 levels.3068 // guaranteed to handle nesting up to at least 64 levels.
2831 func VariantParse(TypeVar *VariantType, TextVar string, LimitVar *string, EndptrVar *string) (*Variant, error) {3069 func VariantParse(TypeVar *VariantType, TextVar string, LimitVar *string, EndptrVar *string) (*Variant, error) {
3070+ core.LazyRegister(&xVariantParse, "GLIB", "g_variant_parse", false)
2832 var cerr *Error3071 var cerr *Error
2833 3072
2834 LimitVarPtr := core.GStrdupNullable(LimitVar)3073 LimitVarPtr := core.GStrdupNullable(LimitVar)
@@ -2883,6 +3122,8 @@ var xVariantParseErrorPrintContext func(*Error, string) string
2883 // g_variant_parse() then you must add nul termination before using this3122 // g_variant_parse() then you must add nul termination before using this
2884 // function.3123 // function.
2885 func VariantParseErrorPrintContext(ErrorVar *Error, SourceStrVar string) string {3124 func VariantParseErrorPrintContext(ErrorVar *Error, SourceStrVar string) string {
3125+ core.LazyRegister(&xVariantParseErrorPrintContext, "GLIB", "g_variant_parse_error_print_context", false)
3126+
2886 cret := xVariantParseErrorPrintContext(ErrorVar, SourceStrVar)3127 cret := xVariantParseErrorPrintContext(ErrorVar, SourceStrVar)
2887 return cret3128 return cret
2888 }3129 }
@@ -2890,146 +3131,4 @@ func VariantParseErrorPrintContext(ErrorVar *Error, SourceStrVar string) string
2890 func init() {3131 func init() {
2891 core.SetPackageName("GLIB", "glib-2.0")3132 core.SetPackageName("GLIB", "glib-2.0")
2892 core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"})3133 core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"})
2893- var libs []uintptr
2894- for _, libPath := range core.GetPaths("GLIB") {
2895- lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL)
2896- if err != nil {
2897- panic(err)
2898- }
2899- libs = append(libs, lib)
2900- }
2901-
2902- core.PuregoSafeRegister(&xVariantIsObjectPath, libs, "g_variant_is_object_path")
2903- core.PuregoSafeRegister(&xVariantIsSignature, libs, "g_variant_is_signature")
2904- core.PuregoSafeRegister(&xVariantParse, libs, "g_variant_parse")
2905- core.PuregoSafeRegister(&xVariantParseErrorPrintContext, libs, "g_variant_parse_error_print_context")
2906-
2907- core.PuregoSafeRegister(&xVariantGLibType, libs, "intern")
2908-
2909- core.PuregoSafeRegister(&xNewVariant, libs, "g_variant_new")
2910- core.PuregoSafeRegister(&xNewVariantArray, libs, "g_variant_new_array")
2911- core.PuregoSafeRegister(&xNewVariantBoolean, libs, "g_variant_new_boolean")
2912- core.PuregoSafeRegister(&xNewVariantByte, libs, "g_variant_new_byte")
2913- core.PuregoSafeRegister(&xNewVariantBytestring, libs, "g_variant_new_bytestring")
2914- core.PuregoSafeRegister(&xNewVariantBytestringArray, libs, "g_variant_new_bytestring_array")
2915- core.PuregoSafeRegister(&xNewVariantDictEntry, libs, "g_variant_new_dict_entry")
2916- core.PuregoSafeRegister(&xNewVariantDouble, libs, "g_variant_new_double")
2917- core.PuregoSafeRegister(&xNewVariantFixedArray, libs, "g_variant_new_fixed_array")
2918- core.PuregoSafeRegister(&xNewVariantFromBytes, libs, "g_variant_new_from_bytes")
2919- core.PuregoSafeRegister(&xNewVariantFromData, libs, "g_variant_new_from_data")
2920- core.PuregoSafeRegister(&xNewVariantHandle, libs, "g_variant_new_handle")
2921- core.PuregoSafeRegister(&xNewVariantInt16, libs, "g_variant_new_int16")
2922- core.PuregoSafeRegister(&xNewVariantInt32, libs, "g_variant_new_int32")
2923- core.PuregoSafeRegister(&xNewVariantInt64, libs, "g_variant_new_int64")
2924- core.PuregoSafeRegister(&xNewVariantMaybe, libs, "g_variant_new_maybe")
2925- core.PuregoSafeRegister(&xNewVariantObjectPath, libs, "g_variant_new_object_path")
2926- core.PuregoSafeRegister(&xNewVariantObjv, libs, "g_variant_new_objv")
2927- core.PuregoSafeRegister(&xNewVariantParsed, libs, "g_variant_new_parsed")
2928- core.PuregoSafeRegister(&xNewVariantParsedVa, libs, "g_variant_new_parsed_va")
2929- core.PuregoSafeRegister(&xNewVariantPrintf, libs, "g_variant_new_printf")
2930- core.PuregoSafeRegister(&xNewVariantSignature, libs, "g_variant_new_signature")
2931- core.PuregoSafeRegister(&xNewVariantString, libs, "g_variant_new_string")
2932- core.PuregoSafeRegister(&xNewVariantStrv, libs, "g_variant_new_strv")
2933- core.PuregoSafeRegister(&xNewVariantTakeString, libs, "g_variant_new_take_string")
2934- core.PuregoSafeRegister(&xNewVariantTuple, libs, "g_variant_new_tuple")
2935- core.PuregoSafeRegister(&xNewVariantUint16, libs, "g_variant_new_uint16")
2936- core.PuregoSafeRegister(&xNewVariantUint32, libs, "g_variant_new_uint32")
2937- core.PuregoSafeRegister(&xNewVariantUint64, libs, "g_variant_new_uint64")
2938- core.PuregoSafeRegister(&xNewVariantVa, libs, "g_variant_new_va")
2939- core.PuregoSafeRegister(&xNewVariantVariant, libs, "g_variant_new_variant")
2940-
2941- core.PuregoSafeRegister(&xVariantByteswap, libs, "g_variant_byteswap")
2942- core.PuregoSafeRegister(&xVariantCheckFormatString, libs, "g_variant_check_format_string")
2943- core.PuregoSafeRegister(&xVariantClassify, libs, "g_variant_classify")
2944- core.PuregoSafeRegister(&xVariantCompare, libs, "g_variant_compare")
2945- core.PuregoSafeRegister(&xVariantDupBytestring, libs, "g_variant_dup_bytestring")
2946- core.PuregoSafeRegister(&xVariantDupBytestringArray, libs, "g_variant_dup_bytestring_array")
2947- core.PuregoSafeRegister(&xVariantDupObjv, libs, "g_variant_dup_objv")
2948- core.PuregoSafeRegister(&xVariantDupString, libs, "g_variant_dup_string")
2949- core.PuregoSafeRegister(&xVariantDupStrv, libs, "g_variant_dup_strv")
2950- core.PuregoSafeRegister(&xVariantEqual, libs, "g_variant_equal")
2951- core.PuregoSafeRegister(&xVariantGet, libs, "g_variant_get")
2952- core.PuregoSafeRegister(&xVariantGetBoolean, libs, "g_variant_get_boolean")
2953- core.PuregoSafeRegister(&xVariantGetByte, libs, "g_variant_get_byte")
2954- core.PuregoSafeRegister(&xVariantGetBytestring, libs, "g_variant_get_bytestring")
2955- core.PuregoSafeRegister(&xVariantGetBytestringArray, libs, "g_variant_get_bytestring_array")
2956- core.PuregoSafeRegister(&xVariantGetChild, libs, "g_variant_get_child")
2957- core.PuregoSafeRegister(&xVariantGetChildValue, libs, "g_variant_get_child_value")
2958- core.PuregoSafeRegister(&xVariantGetData, libs, "g_variant_get_data")
2959- core.PuregoSafeRegister(&xVariantGetDataAsBytes, libs, "g_variant_get_data_as_bytes")
2960- core.PuregoSafeRegister(&xVariantGetDouble, libs, "g_variant_get_double")
2961- core.PuregoSafeRegister(&xVariantGetFixedArray, libs, "g_variant_get_fixed_array")
2962- core.PuregoSafeRegister(&xVariantGetHandle, libs, "g_variant_get_handle")
2963- core.PuregoSafeRegister(&xVariantGetInt16, libs, "g_variant_get_int16")
2964- core.PuregoSafeRegister(&xVariantGetInt32, libs, "g_variant_get_int32")
2965- core.PuregoSafeRegister(&xVariantGetInt64, libs, "g_variant_get_int64")
2966- core.PuregoSafeRegister(&xVariantGetMaybe, libs, "g_variant_get_maybe")
2967- core.PuregoSafeRegister(&xVariantGetNormalForm, libs, "g_variant_get_normal_form")
2968- core.PuregoSafeRegister(&xVariantGetObjv, libs, "g_variant_get_objv")
2969- core.PuregoSafeRegister(&xVariantGetSize, libs, "g_variant_get_size")
2970- core.PuregoSafeRegister(&xVariantGetString, libs, "g_variant_get_string")
2971- core.PuregoSafeRegister(&xVariantGetStrv, libs, "g_variant_get_strv")
2972- core.PuregoSafeRegister(&xVariantGetType, libs, "g_variant_get_type")
2973- core.PuregoSafeRegister(&xVariantGetTypeString, libs, "g_variant_get_type_string")
2974- core.PuregoSafeRegister(&xVariantGetUint16, libs, "g_variant_get_uint16")
2975- core.PuregoSafeRegister(&xVariantGetUint32, libs, "g_variant_get_uint32")
2976- core.PuregoSafeRegister(&xVariantGetUint64, libs, "g_variant_get_uint64")
2977- core.PuregoSafeRegister(&xVariantGetVa, libs, "g_variant_get_va")
2978- core.PuregoSafeRegister(&xVariantGetVariant, libs, "g_variant_get_variant")
2979- core.PuregoSafeRegister(&xVariantHash, libs, "g_variant_hash")
2980- core.PuregoSafeRegister(&xVariantIsContainer, libs, "g_variant_is_container")
2981- core.PuregoSafeRegister(&xVariantIsFloating, libs, "g_variant_is_floating")
2982- core.PuregoSafeRegister(&xVariantIsNormalForm, libs, "g_variant_is_normal_form")
2983- core.PuregoSafeRegister(&xVariantIsOfType, libs, "g_variant_is_of_type")
2984- core.PuregoSafeRegister(&xVariantIterNew, libs, "g_variant_iter_new")
2985- core.PuregoSafeRegister(&xVariantLookup, libs, "g_variant_lookup")
2986- core.PuregoSafeRegister(&xVariantLookupValue, libs, "g_variant_lookup_value")
2987- core.PuregoSafeRegister(&xVariantNChildren, libs, "g_variant_n_children")
2988- core.PuregoSafeRegister(&xVariantPrint, libs, "g_variant_print")
2989- core.PuregoSafeRegister(&xVariantPrintString, libs, "g_variant_print_string")
2990- core.PuregoSafeRegister(&xVariantRef, libs, "g_variant_ref")
2991- core.PuregoSafeRegister(&xVariantRefSink, libs, "g_variant_ref_sink")
2992- core.PuregoSafeRegister(&xVariantStore, libs, "g_variant_store")
2993- core.PuregoSafeRegister(&xVariantTakeRef, libs, "g_variant_take_ref")
2994- core.PuregoSafeRegister(&xVariantUnref, libs, "g_variant_unref")
2995-
2996- core.PuregoSafeRegister(&xVariantBuilderGLibType, libs, "g_variant_builder_get_type")
2997-
2998- core.PuregoSafeRegister(&xNewVariantBuilder, libs, "g_variant_builder_new")
2999-
3000- core.PuregoSafeRegister(&xVariantBuilderAdd, libs, "g_variant_builder_add")
3001- core.PuregoSafeRegister(&xVariantBuilderAddParsed, libs, "g_variant_builder_add_parsed")
3002- core.PuregoSafeRegister(&xVariantBuilderAddValue, libs, "g_variant_builder_add_value")
3003- core.PuregoSafeRegister(&xVariantBuilderClear, libs, "g_variant_builder_clear")
3004- core.PuregoSafeRegister(&xVariantBuilderClose, libs, "g_variant_builder_close")
3005- core.PuregoSafeRegister(&xVariantBuilderEnd, libs, "g_variant_builder_end")
3006- core.PuregoSafeRegister(&xVariantBuilderInit, libs, "g_variant_builder_init")
3007- core.PuregoSafeRegister(&xVariantBuilderInitStatic, libs, "g_variant_builder_init_static")
3008- core.PuregoSafeRegister(&xVariantBuilderOpen, libs, "g_variant_builder_open")
3009- core.PuregoSafeRegister(&xVariantBuilderRef, libs, "g_variant_builder_ref")
3010- core.PuregoSafeRegister(&xVariantBuilderUnref, libs, "g_variant_builder_unref")
3011-
3012- core.PuregoSafeRegister(&xVariantDictGLibType, libs, "g_variant_dict_get_type")
3013-
3014- core.PuregoSafeRegister(&xNewVariantDict, libs, "g_variant_dict_new")
3015-
3016- core.PuregoSafeRegister(&xVariantDictClear, libs, "g_variant_dict_clear")
3017- core.PuregoSafeRegister(&xVariantDictContains, libs, "g_variant_dict_contains")
3018- core.PuregoSafeRegister(&xVariantDictEnd, libs, "g_variant_dict_end")
3019- core.PuregoSafeRegister(&xVariantDictInit, libs, "g_variant_dict_init")
3020- core.PuregoSafeRegister(&xVariantDictInsert, libs, "g_variant_dict_insert")
3021- core.PuregoSafeRegister(&xVariantDictInsertValue, libs, "g_variant_dict_insert_value")
3022- core.PuregoSafeRegister(&xVariantDictLookup, libs, "g_variant_dict_lookup")
3023- core.PuregoSafeRegister(&xVariantDictLookupValue, libs, "g_variant_dict_lookup_value")
3024- core.PuregoSafeRegister(&xVariantDictRef, libs, "g_variant_dict_ref")
3025- core.PuregoSafeRegister(&xVariantDictRemove, libs, "g_variant_dict_remove")
3026- core.PuregoSafeRegister(&xVariantDictUnref, libs, "g_variant_dict_unref")
3027-
3028- core.PuregoSafeRegister(&xVariantIterCopy, libs, "g_variant_iter_copy")
3029- core.PuregoSafeRegister(&xVariantIterFree, libs, "g_variant_iter_free")
3030- core.PuregoSafeRegister(&xVariantIterInit, libs, "g_variant_iter_init")
3031- core.PuregoSafeRegister(&xVariantIterLoop, libs, "g_variant_iter_loop")
3032- core.PuregoSafeRegister(&xVariantIterNChildren, libs, "g_variant_iter_n_children")
3033- core.PuregoSafeRegister(&xVariantIterNext, libs, "g_variant_iter_next")
3034- core.PuregoSafeRegister(&xVariantIterNextValue, libs, "g_variant_iter_next_value")
3035 }3134 }
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +63 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +31 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +14 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +37 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +45 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +116 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +54 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +46 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +79 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +136 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +15 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +26 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +141 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +21 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/main.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/more.go +8 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +61 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +43 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +21 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +135 -80 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +35 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +49 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +37 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +67 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +27 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +33 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +53 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +69 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +69 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +8 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +24 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +4 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +65 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +12 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +19 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +18 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +12 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +26 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +20 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +5 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +237 -153 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +70 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +18 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +159 -66 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +21 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +40 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +31 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +19 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +24 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +26 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +48 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +28 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +18 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +28 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +35 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +14 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +28 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +40 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +87 -59 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +19 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +68 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +56 -42 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +4 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +21 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +19 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +23 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +25 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +33 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +47 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +36 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +26 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +51 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +24 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +20 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +18 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +5 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +21 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +8 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +12 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +35 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +22 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +173 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +8 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +119 -76 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +22 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +45 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +70 -147 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +24 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +9 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +29 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +50 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +177 -68 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +54 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +19 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +18 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +7 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +79 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +132 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +32 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +30 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +16 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +33 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +17 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +39 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +45 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +43 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +34 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +123 -78 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +37 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +31 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +6 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +32 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +45 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +98 -64 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +11 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +29 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +88 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +41 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +29 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +16 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +69 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +53 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +11 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +9 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +34 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +87 -64 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +12 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +11 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +7 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +47 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +32 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +50 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +39 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +41 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +19 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +36 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +48 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +57 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +65 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +19 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +145 -89 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +33 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +28 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +44 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +65 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +20 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +19 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +28 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +20 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +61 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +61 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +18 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +12 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +75 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +13 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +25 -47 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +8 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +34 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +5 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +18 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +112 -71 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +17 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +56 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +68 -55 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +18 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +43 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +41 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +12 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +9 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +69 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +138 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +179 -104 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +8 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +145 -92 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +15 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +34 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +21 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +26 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +261 -113 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +40 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +40 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +45 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +176 -105 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +102 -68 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +74 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +28 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +357 -207 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +121 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowcontrols.go +16 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowgroup.go +8 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowhandle.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCClass.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCContext.go +32 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCException.go +23 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCOptions.go +32 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCValue.go +93 -73 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVersion.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVirtualMachine.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCWeakValue.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/layershell/gtk4-layer-shell.go +52 -38 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-attributes.go +160 -108 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-bidi-type.go +9 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-break.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-color.go +11 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-context.go +45 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-coverage.go +16 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-direction.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-font.go +153 -112 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-fontmap.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-fontset-simple.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-fontset.go +6 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-glyph-item.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-glyph.go +32 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-gravity.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-item.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-language.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-layout.go +201 -131 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-markup.go +4 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-matrix.go +27 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-renderer.go +39 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-script.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-tabs.go +34 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-types.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-utils.go +38 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-basic.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-digest.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-basic.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-digest.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain.go +19 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-manager.go +5 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-negotiate.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-ntlm.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cache.go +16 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-content-decoder.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-content-sniffer.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-db.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-text.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar.go +29 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cookie.go +15 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-date-utils.go +5 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-form.go +12 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-headers.go +30 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer-db.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer.go +14 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-logger.go +13 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-message-body.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-message-headers.go +68 -52 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-message.go +90 -64 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-multipart-input-stream.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-multipart.go +19 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-server-message.go +42 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-server.go +46 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-session-feature.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-session.go +74 -60 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-status.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-tld.go +6 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-types.go +113 -75 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-uri-utils.go +7 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-version.go +9 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-connection.go +39 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-deflate.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-manager.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension.go +20 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket.go +13 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitApplicationInfo.go +17 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitAuthenticationRequest.go +32 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitAutomationSession.go +10 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardList.go +17 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardListItem.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitClipboardPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitColorChooserRequest.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenu.go +31 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuActions.go +13 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuItem.go +20 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitCookieManager.go +27 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitCredential.go +23 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitDeviceInfoPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitDownload.go +22 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditorState.go +16 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitError.go +32 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFaviconDatabase.go +13 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFeature.go +29 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFileChooserRequest.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFindController.go +21 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFormSubmissionRequest.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationManager.go +26 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitHitTestResult.go +28 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitImage.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitInputMethodContext.go +38 -38 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitMediaKeySystemPermissionRequest.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitMemoryPressureSettings.go +29 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationAction.go +21 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationPolicyDecision.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkProxySettings.go +12 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkSession.go +34 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotification.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotificationPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenu.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenuItem.go +19 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionRequest.go +14 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionStateQuery.go +14 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPointerLockPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPolicyDecision.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPrintOperation.go +15 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitResponsePolicyDecision.go +9 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitScriptDialog.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityManager.go +27 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityOrigin.go +19 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitSettings.go +255 -146 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIRequest.go +12 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIResponse.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeRequest.go +21 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeResponse.go +10 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIUtilities.go +5 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContent.go +30 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentFilterStore.go +22 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentManager.go +39 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMediaPermissionRequest.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMessage.go +15 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitVersion.go +9 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebContext.go +41 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtension.go +50 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtensionMatchPattern.go +34 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebInspector.go +20 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebResource.go +9 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebView.go +159 -118 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewBase.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewGtk4.go +13 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewSessionState.go +11 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteData.go +13 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataAccessPermissionRequest.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataManager.go +47 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsitePolicies.go +8 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWindowProperties.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitXRPermissionRequest.go +21 -27 collapsed to keep the page light
M vendor/modules.txt +5 -5 collapsed to keep the page light

Keyboard shortcuts

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

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

Branches 8

Tags 42

↑↓ moveenter openesc close