fix(deps): repin puregotk lazy registration fix
- commit
- d685b6e820d6baba0d0dea254169664012ed203d
- author
- brice · · 2026-07-14 18:24 UTC
- parent
- ec6db2e
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
907 files · +27874 -25294
M go.mod +3 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.0 | |
| 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -47,6 +47,7 @@ require ( | |||
| 47 | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 48 | 48 | github.com/fatih/color v1.19.0 // indirect | |
| 49 | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | |
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |
| 50 | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| 51 | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | |
| 52 | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | |
| @@ -80,6 +81,7 @@ require ( | |||
| 80 | 81 | golang.org/x/text v0.40.0 // indirect | |
| 81 | 82 | golang.org/x/tools v0.47.0 // indirect | |
| 82 | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | |
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |
| 83 | 85 | ) | |
| 84 | 86 | ||
| 85 | 87 | tool github.com/a-h/templ/cmd/templ | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.0 | 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
| @@ -47,6 +47,7 @@ require ( | |||||
| 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 48 | github.com/fatih/color v1.19.0 // indirect | 48 | github.com/fatih/color v1.19.0 // indirect | ||
| 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | ||
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |||
| 50 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| 51 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | ||
| 52 | github.com/mattn/go-colorable v0.1.14 // indirect | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | ||
| @@ -80,6 +81,7 @@ require ( | |||||
| 80 | golang.org/x/text v0.40.0 // indirect | 81 | golang.org/x/text v0.40.0 // indirect | ||
| 81 | golang.org/x/tools v0.47.0 // indirect | 82 | golang.org/x/tools v0.47.0 // indirect | ||
| 82 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |||
| 83 | ) | 85 | ) | ||
| 84 | 86 | ||||
| 85 | tool github.com/a-h/templ/cmd/templ | 87 | tool github.com/a-h/templ/cmd/templ | ||
M go.sum +4 -16 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
| @@ -5,7 +5,6 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | - | "github.com/bnema/purego" | |
| 9 | 8 | "github.com/bnema/puregotk/pkg/core" | |
| 10 | 9 | "github.com/bnema/puregotk/v4/gobject" | |
| 11 | 10 | "github.com/bnema/puregotk/v4/gobject/types" | |
| @@ -64,6 +63,7 @@ type ClampLayout struct { | |||
| 64 | 63 | var xClampLayoutGLibType func() types.GType | |
| 65 | 64 | ||
| 66 | 65 | func ClampLayoutGLibType() types.GType { | |
| 66 | + | core.LazyRegister(&xClampLayoutGLibType, "ADW", "adw_clamp_layout_get_type", false) | |
| 67 | 67 | return xClampLayoutGLibType() | |
| 68 | 68 | } | |
| 69 | 69 | ||
| @@ -77,6 +77,7 @@ var xNewClampLayout func() uintptr | |||
| 77 | 77 | ||
| 78 | 78 | // Creates a new `AdwClampLayout`. | |
| 79 | 79 | func NewClampLayout() *ClampLayout { | |
| 80 | + | core.LazyRegister(&xNewClampLayout, "ADW", "adw_clamp_layout_new", false) | |
| 80 | 81 | var cls *ClampLayout | |
| 81 | 82 | ||
| 82 | 83 | cret := xNewClampLayout() | |
| @@ -93,6 +94,8 @@ var xClampLayoutGetMaximumSize func(uintptr) int | |||
| 93 | 94 | ||
| 94 | 95 | // Gets the maximum size allocated to the children. | |
| 95 | 96 | func (x *ClampLayout) GetMaximumSize() int { | |
| 97 | + | core.LazyRegister(&xClampLayoutGetMaximumSize, "ADW", "adw_clamp_layout_get_maximum_size", false) | |
| 98 | + | ||
| 96 | 99 | cret := xClampLayoutGetMaximumSize(x.GoPointer()) | |
| 97 | 100 | return cret | |
| 98 | 101 | } | |
| @@ -101,6 +104,8 @@ var xClampLayoutGetTighteningThreshold func(uintptr) int | |||
| 101 | 104 | ||
| 102 | 105 | // Gets the size above which the children are clamped. | |
| 103 | 106 | func (x *ClampLayout) GetTighteningThreshold() int { | |
| 107 | + | core.LazyRegister(&xClampLayoutGetTighteningThreshold, "ADW", "adw_clamp_layout_get_tightening_threshold", false) | |
| 108 | + | ||
| 104 | 109 | cret := xClampLayoutGetTighteningThreshold(x.GoPointer()) | |
| 105 | 110 | return cret | |
| 106 | 111 | } | |
| @@ -109,6 +114,8 @@ var xClampLayoutGetUnit func(uintptr) LengthUnit | |||
| 109 | 114 | ||
| 110 | 115 | // Gets the length unit for maximum size and tightening threshold. | |
| 111 | 116 | func (x *ClampLayout) GetUnit() LengthUnit { | |
| 117 | + | core.LazyRegister(&xClampLayoutGetUnit, "ADW", "adw_clamp_layout_get_unit", false) | |
| 118 | + | ||
| 112 | 119 | cret := xClampLayoutGetUnit(x.GoPointer()) | |
| 113 | 120 | return cret | |
| 114 | 121 | } | |
| @@ -119,6 +126,8 @@ var xClampLayoutSetMaximumSize func(uintptr, int) | |||
| 119 | 126 | // | |
| 120 | 127 | // It is the width if the layout is horizontal, or the height if it is vertical. | |
| 121 | 128 | func (x *ClampLayout) SetMaximumSize(MaximumSizeVar int) { | |
| 129 | + | core.LazyRegister(&xClampLayoutSetMaximumSize, "ADW", "adw_clamp_layout_set_maximum_size", false) | |
| 130 | + | ||
| 122 | 131 | xClampLayoutSetMaximumSize(x.GoPointer(), MaximumSizeVar) | |
| 123 | 132 | } | |
| 124 | 133 | ||
| @@ -139,6 +148,8 @@ var xClampLayoutSetTighteningThreshold func(uintptr, int) | |||
| 139 | 148 | // Effectively, tightening the grip on a child before it reaches its maximum | |
| 140 | 149 | // size makes transitions to and from the maximum size smoother when resizing. | |
| 141 | 150 | func (x *ClampLayout) SetTighteningThreshold(TighteningThresholdVar int) { | |
| 151 | + | core.LazyRegister(&xClampLayoutSetTighteningThreshold, "ADW", "adw_clamp_layout_set_tightening_threshold", false) | |
| 152 | + | ||
| 142 | 153 | xClampLayoutSetTighteningThreshold(x.GoPointer(), TighteningThresholdVar) | |
| 143 | 154 | } | |
| 144 | 155 | ||
| @@ -148,6 +159,8 @@ var xClampLayoutSetUnit func(uintptr, LengthUnit) | |||
| 148 | 159 | // | |
| 149 | 160 | // Allows the sizes to vary depending on the text scale factor. | |
| 150 | 161 | func (x *ClampLayout) SetUnit(UnitVar LengthUnit) { | |
| 162 | + | core.LazyRegister(&xClampLayoutSetUnit, "ADW", "adw_clamp_layout_set_unit", false) | |
| 163 | + | ||
| 151 | 164 | xClampLayoutSetUnit(x.GoPointer(), UnitVar) | |
| 152 | 165 | } | |
| 153 | 166 | ||
| @@ -242,23 +255,4 @@ func (x *ClampLayout) SetOrientation(OrientationVar gtk.Orientation) { | |||
| 242 | 255 | func init() { | |
| 243 | 256 | core.SetPackageName("ADW", "libadwaita-1") | |
| 244 | 257 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 245 | - | var libs []uintptr | |
| 246 | - | for _, libPath := range core.GetPaths("ADW") { | |
| 247 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 248 | - | if err != nil { | |
| 249 | - | panic(err) | |
| 250 | - | } | |
| 251 | - | libs = append(libs, lib) | |
| 252 | - | } | |
| 253 | - | ||
| 254 | - | core.PuregoSafeRegister(&xClampLayoutGLibType, libs, "adw_clamp_layout_get_type") | |
| 255 | - | ||
| 256 | - | core.PuregoSafeRegister(&xNewClampLayout, libs, "adw_clamp_layout_new") | |
| 257 | - | ||
| 258 | - | core.PuregoSafeRegister(&xClampLayoutGetMaximumSize, libs, "adw_clamp_layout_get_maximum_size") | |
| 259 | - | core.PuregoSafeRegister(&xClampLayoutGetTighteningThreshold, libs, "adw_clamp_layout_get_tightening_threshold") | |
| 260 | - | core.PuregoSafeRegister(&xClampLayoutGetUnit, libs, "adw_clamp_layout_get_unit") | |
| 261 | - | core.PuregoSafeRegister(&xClampLayoutSetMaximumSize, libs, "adw_clamp_layout_set_maximum_size") | |
| 262 | - | core.PuregoSafeRegister(&xClampLayoutSetTighteningThreshold, libs, "adw_clamp_layout_set_tightening_threshold") | |
| 263 | - | core.PuregoSafeRegister(&xClampLayoutSetUnit, libs, "adw_clamp_layout_set_unit") | |
| 264 | 258 | } | |
| @@ -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" | 9 | "github.com/bnema/puregotk/v4/gobject" | ||
| 11 | "github.com/bnema/puregotk/v4/gobject/types" | 10 | "github.com/bnema/puregotk/v4/gobject/types" | ||
| @@ -64,6 +63,7 @@ type ClampLayout struct { | |||||
| 64 | var xClampLayoutGLibType func() types.GType | 63 | var xClampLayoutGLibType func() types.GType | ||
| 65 | 64 | ||||
| 66 | func ClampLayoutGLibType() types.GType { | 65 | func ClampLayoutGLibType() types.GType { | ||
| 66 | + | core.LazyRegister(&xClampLayoutGLibType, "ADW", "adw_clamp_layout_get_type", false) | |||
| 67 | return xClampLayoutGLibType() | 67 | return xClampLayoutGLibType() | ||
| 68 | } | 68 | } | ||
| 69 | 69 | ||||
| @@ -77,6 +77,7 @@ var xNewClampLayout func() uintptr | |||||
| 77 | 77 | ||||
| 78 | // Creates a new `AdwClampLayout`. | 78 | // Creates a new `AdwClampLayout`. | ||
| 79 | func NewClampLayout() *ClampLayout { | 79 | func NewClampLayout() *ClampLayout { | ||
| 80 | + | core.LazyRegister(&xNewClampLayout, "ADW", "adw_clamp_layout_new", false) | |||
| 80 | var cls *ClampLayout | 81 | var cls *ClampLayout | ||
| 81 | 82 | ||||
| 82 | cret := xNewClampLayout() | 83 | cret := xNewClampLayout() | ||
| @@ -93,6 +94,8 @@ var xClampLayoutGetMaximumSize func(uintptr) int | |||||
| 93 | 94 | ||||
| 94 | // Gets the maximum size allocated to the children. | 95 | // Gets the maximum size allocated to the children. | ||
| 95 | func (x *ClampLayout) GetMaximumSize() int { | 96 | func (x *ClampLayout) GetMaximumSize() int { | ||
| 97 | + | core.LazyRegister(&xClampLayoutGetMaximumSize, "ADW", "adw_clamp_layout_get_maximum_size", false) | |||
| 98 | + | ||||
| 96 | cret := xClampLayoutGetMaximumSize(x.GoPointer()) | 99 | cret := xClampLayoutGetMaximumSize(x.GoPointer()) | ||
| 97 | return cret | 100 | return cret | ||
| 98 | } | 101 | } | ||
| @@ -101,6 +104,8 @@ var xClampLayoutGetTighteningThreshold func(uintptr) int | |||||
| 101 | 104 | ||||
| 102 | // Gets the size above which the children are clamped. | 105 | // Gets the size above which the children are clamped. | ||
| 103 | func (x *ClampLayout) GetTighteningThreshold() int { | 106 | func (x *ClampLayout) GetTighteningThreshold() int { | ||
| 107 | + | core.LazyRegister(&xClampLayoutGetTighteningThreshold, "ADW", "adw_clamp_layout_get_tightening_threshold", false) | |||
| 108 | + | ||||
| 104 | cret := xClampLayoutGetTighteningThreshold(x.GoPointer()) | 109 | cret := xClampLayoutGetTighteningThreshold(x.GoPointer()) | ||
| 105 | return cret | 110 | return cret | ||
| 106 | } | 111 | } | ||
| @@ -109,6 +114,8 @@ var xClampLayoutGetUnit func(uintptr) LengthUnit | |||||
| 109 | 114 | ||||
| 110 | // Gets the length unit for maximum size and tightening threshold. | 115 | // Gets the length unit for maximum size and tightening threshold. | ||
| 111 | func (x *ClampLayout) GetUnit() LengthUnit { | 116 | func (x *ClampLayout) GetUnit() LengthUnit { | ||
| 117 | + | core.LazyRegister(&xClampLayoutGetUnit, "ADW", "adw_clamp_layout_get_unit", false) | |||
| 118 | + | ||||
| 112 | cret := xClampLayoutGetUnit(x.GoPointer()) | 119 | cret := xClampLayoutGetUnit(x.GoPointer()) | ||
| 113 | return cret | 120 | return cret | ||
| 114 | } | 121 | } | ||
| @@ -119,6 +126,8 @@ var xClampLayoutSetMaximumSize func(uintptr, int) | |||||
| 119 | // | 126 | // | ||
| 120 | // It is the width if the layout is horizontal, or the height if it is vertical. | 127 | // It is the width if the layout is horizontal, or the height if it is vertical. | ||
| 121 | func (x *ClampLayout) SetMaximumSize(MaximumSizeVar int) { | 128 | func (x *ClampLayout) SetMaximumSize(MaximumSizeVar int) { | ||
| 129 | + | core.LazyRegister(&xClampLayoutSetMaximumSize, "ADW", "adw_clamp_layout_set_maximum_size", false) | |||
| 130 | + | ||||
| 122 | xClampLayoutSetMaximumSize(x.GoPointer(), MaximumSizeVar) | 131 | xClampLayoutSetMaximumSize(x.GoPointer(), MaximumSizeVar) | ||
| 123 | } | 132 | } | ||
| 124 | 133 | ||||
| @@ -139,6 +148,8 @@ var xClampLayoutSetTighteningThreshold func(uintptr, int) | |||||
| 139 | // Effectively, tightening the grip on a child before it reaches its maximum | 148 | // Effectively, tightening the grip on a child before it reaches its maximum | ||
| 140 | // size makes transitions to and from the maximum size smoother when resizing. | 149 | // size makes transitions to and from the maximum size smoother when resizing. | ||
| 141 | func (x *ClampLayout) SetTighteningThreshold(TighteningThresholdVar int) { | 150 | func (x *ClampLayout) SetTighteningThreshold(TighteningThresholdVar int) { | ||
| 151 | + | core.LazyRegister(&xClampLayoutSetTighteningThreshold, "ADW", "adw_clamp_layout_set_tightening_threshold", false) | |||
| 152 | + | ||||
| 142 | xClampLayoutSetTighteningThreshold(x.GoPointer(), TighteningThresholdVar) | 153 | xClampLayoutSetTighteningThreshold(x.GoPointer(), TighteningThresholdVar) | ||
| 143 | } | 154 | } | ||
| 144 | 155 | ||||
| @@ -148,6 +159,8 @@ var xClampLayoutSetUnit func(uintptr, LengthUnit) | |||||
| 148 | // | 159 | // | ||
| 149 | // Allows the sizes to vary depending on the text scale factor. | 160 | // Allows the sizes to vary depending on the text scale factor. | ||
| 150 | func (x *ClampLayout) SetUnit(UnitVar LengthUnit) { | 161 | func (x *ClampLayout) SetUnit(UnitVar LengthUnit) { | ||
| 162 | + | core.LazyRegister(&xClampLayoutSetUnit, "ADW", "adw_clamp_layout_set_unit", false) | |||
| 163 | + | ||||
| 151 | xClampLayoutSetUnit(x.GoPointer(), UnitVar) | 164 | xClampLayoutSetUnit(x.GoPointer(), UnitVar) | ||
| 152 | } | 165 | } | ||
| 153 | 166 | ||||
| @@ -242,23 +255,4 @@ func (x *ClampLayout) SetOrientation(OrientationVar gtk.Orientation) { | |||||
| 242 | func init() { | 255 | func init() { | ||
| 243 | core.SetPackageName("ADW", "libadwaita-1") | 256 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 244 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 257 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 245 | - | var libs []uintptr | |||
| 246 | - | for _, libPath := range core.GetPaths("ADW") { | |||
| 247 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 248 | - | if err != nil { | |||
| 249 | - | panic(err) | |||
| 250 | - | } | |||
| 251 | - | libs = append(libs, lib) | |||
| 252 | - | } | |||
| 253 | - | ||||
| 254 | - | core.PuregoSafeRegister(&xClampLayoutGLibType, libs, "adw_clamp_layout_get_type") | |||
| 255 | - | ||||
| 256 | - | core.PuregoSafeRegister(&xNewClampLayout, libs, "adw_clamp_layout_new") | |||
| 257 | - | ||||
| 258 | - | core.PuregoSafeRegister(&xClampLayoutGetMaximumSize, libs, "adw_clamp_layout_get_maximum_size") | |||
| 259 | - | core.PuregoSafeRegister(&xClampLayoutGetTighteningThreshold, libs, "adw_clamp_layout_get_tightening_threshold") | |||
| 260 | - | core.PuregoSafeRegister(&xClampLayoutGetUnit, libs, "adw_clamp_layout_get_unit") | |||
| 261 | - | core.PuregoSafeRegister(&xClampLayoutSetMaximumSize, libs, "adw_clamp_layout_set_maximum_size") | |||
| 262 | - | core.PuregoSafeRegister(&xClampLayoutSetTighteningThreshold, libs, "adw_clamp_layout_set_tightening_threshold") | |||
| 263 | - | core.PuregoSafeRegister(&xClampLayoutSetUnit, libs, "adw_clamp_layout_set_unit") | |||
| 264 | } | 258 | } | ||