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 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
| @@ -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/glib" | |
| 11 | 10 | "github.com/bnema/puregotk/v4/gobject" | |
| @@ -79,6 +78,7 @@ type ExpanderRow struct { | |||
| 79 | 78 | var xExpanderRowGLibType func() types.GType | |
| 80 | 79 | ||
| 81 | 80 | func ExpanderRowGLibType() types.GType { | |
| 81 | + | core.LazyRegister(&xExpanderRowGLibType, "ADW", "adw_expander_row_get_type", false) | |
| 82 | 82 | return xExpanderRowGLibType() | |
| 83 | 83 | } | |
| 84 | 84 | ||
| @@ -92,6 +92,7 @@ var xNewExpanderRow func() uintptr | |||
| 92 | 92 | ||
| 93 | 93 | // Creates a new `AdwExpanderRow`. | |
| 94 | 94 | func NewExpanderRow() *ExpanderRow { | |
| 95 | + | core.LazyRegister(&xNewExpanderRow, "ADW", "adw_expander_row_new", false) | |
| 95 | 96 | var cls *ExpanderRow | |
| 96 | 97 | ||
| 97 | 98 | cret := xNewExpanderRow() | |
| @@ -109,6 +110,8 @@ var xExpanderRowAddAction func(uintptr, uintptr) | |||
| 109 | 110 | ||
| 110 | 111 | // Adds an action widget to @self. | |
| 111 | 112 | func (x *ExpanderRow) AddAction(WidgetVar *gtk.Widget) { | |
| 113 | + | core.LazyRegister(&xExpanderRowAddAction, "ADW", "adw_expander_row_add_action", false) | |
| 114 | + | ||
| 112 | 115 | xExpanderRowAddAction(x.GoPointer(), WidgetVar.GoPointer()) | |
| 113 | 116 | } | |
| 114 | 117 | ||
| @@ -116,6 +119,8 @@ var xExpanderRowAddPrefix func(uintptr, uintptr) | |||
| 116 | 119 | ||
| 117 | 120 | // Adds a prefix widget to @self. | |
| 118 | 121 | func (x *ExpanderRow) AddPrefix(WidgetVar *gtk.Widget) { | |
| 122 | + | core.LazyRegister(&xExpanderRowAddPrefix, "ADW", "adw_expander_row_add_prefix", false) | |
| 123 | + | ||
| 119 | 124 | xExpanderRowAddPrefix(x.GoPointer(), WidgetVar.GoPointer()) | |
| 120 | 125 | } | |
| 121 | 126 | ||
| @@ -125,6 +130,8 @@ var xExpanderRowAddRow func(uintptr, uintptr) | |||
| 125 | 130 | // | |
| 126 | 131 | // The widget will appear in the expanding list below @self. | |
| 127 | 132 | func (x *ExpanderRow) AddRow(ChildVar *gtk.Widget) { | |
| 133 | + | core.LazyRegister(&xExpanderRowAddRow, "ADW", "adw_expander_row_add_row", false) | |
| 134 | + | ||
| 128 | 135 | xExpanderRowAddRow(x.GoPointer(), ChildVar.GoPointer()) | |
| 129 | 136 | } | |
| 130 | 137 | ||
| @@ -132,6 +139,8 @@ var xExpanderRowAddSuffix func(uintptr, uintptr) | |||
| 132 | 139 | ||
| 133 | 140 | // Adds an suffix widget to @self. | |
| 134 | 141 | func (x *ExpanderRow) AddSuffix(WidgetVar *gtk.Widget) { | |
| 142 | + | core.LazyRegister(&xExpanderRowAddSuffix, "ADW", "adw_expander_row_add_suffix", false) | |
| 143 | + | ||
| 135 | 144 | xExpanderRowAddSuffix(x.GoPointer(), WidgetVar.GoPointer()) | |
| 136 | 145 | } | |
| 137 | 146 | ||
| @@ -139,6 +148,8 @@ var xExpanderRowGetEnableExpansion func(uintptr) bool | |||
| 139 | 148 | ||
| 140 | 149 | // Gets whether the expansion of @self is enabled. | |
| 141 | 150 | func (x *ExpanderRow) GetEnableExpansion() bool { | |
| 151 | + | core.LazyRegister(&xExpanderRowGetEnableExpansion, "ADW", "adw_expander_row_get_enable_expansion", false) | |
| 152 | + | ||
| 142 | 153 | cret := xExpanderRowGetEnableExpansion(x.GoPointer()) | |
| 143 | 154 | return cret | |
| 144 | 155 | } | |
| @@ -147,6 +158,8 @@ var xExpanderRowGetExpanded func(uintptr) bool | |||
| 147 | 158 | ||
| 148 | 159 | // Gets whether @self is expanded. | |
| 149 | 160 | func (x *ExpanderRow) GetExpanded() bool { | |
| 161 | + | core.LazyRegister(&xExpanderRowGetExpanded, "ADW", "adw_expander_row_get_expanded", false) | |
| 162 | + | ||
| 150 | 163 | cret := xExpanderRowGetExpanded(x.GoPointer()) | |
| 151 | 164 | return cret | |
| 152 | 165 | } | |
| @@ -155,6 +168,8 @@ var xExpanderRowGetIconName func(uintptr) string | |||
| 155 | 168 | ||
| 156 | 169 | // Gets the icon name for @self. | |
| 157 | 170 | func (x *ExpanderRow) GetIconName() string { | |
| 171 | + | core.LazyRegister(&xExpanderRowGetIconName, "ADW", "adw_expander_row_get_icon_name", false) | |
| 172 | + | ||
| 158 | 173 | cret := xExpanderRowGetIconName(x.GoPointer()) | |
| 159 | 174 | return cret | |
| 160 | 175 | } | |
| @@ -163,6 +178,8 @@ var xExpanderRowGetShowEnableSwitch func(uintptr) bool | |||
| 163 | 178 | ||
| 164 | 179 | // Gets whether the switch enabling the expansion of @self is visible. | |
| 165 | 180 | func (x *ExpanderRow) GetShowEnableSwitch() bool { | |
| 181 | + | core.LazyRegister(&xExpanderRowGetShowEnableSwitch, "ADW", "adw_expander_row_get_show_enable_switch", false) | |
| 182 | + | ||
| 166 | 183 | cret := xExpanderRowGetShowEnableSwitch(x.GoPointer()) | |
| 167 | 184 | return cret | |
| 168 | 185 | } | |
| @@ -171,6 +188,8 @@ var xExpanderRowGetSubtitle func(uintptr) string | |||
| 171 | 188 | ||
| 172 | 189 | // Gets the subtitle for @self. | |
| 173 | 190 | func (x *ExpanderRow) GetSubtitle() string { | |
| 191 | + | core.LazyRegister(&xExpanderRowGetSubtitle, "ADW", "adw_expander_row_get_subtitle", false) | |
| 192 | + | ||
| 174 | 193 | cret := xExpanderRowGetSubtitle(x.GoPointer()) | |
| 175 | 194 | return cret | |
| 176 | 195 | } | |
| @@ -180,6 +199,8 @@ var xExpanderRowGetSubtitleLines func(uintptr) int | |||
| 180 | 199 | // Gets the number of lines at the end of which the subtitle label will be | |
| 181 | 200 | // ellipsized. | |
| 182 | 201 | func (x *ExpanderRow) GetSubtitleLines() int { | |
| 202 | + | core.LazyRegister(&xExpanderRowGetSubtitleLines, "ADW", "adw_expander_row_get_subtitle_lines", false) | |
| 203 | + | ||
| 183 | 204 | cret := xExpanderRowGetSubtitleLines(x.GoPointer()) | |
| 184 | 205 | return cret | |
| 185 | 206 | } | |
| @@ -189,6 +210,8 @@ var xExpanderRowGetTitleLines func(uintptr) int | |||
| 189 | 210 | // Gets the number of lines at the end of which the title label will be | |
| 190 | 211 | // ellipsized. | |
| 191 | 212 | func (x *ExpanderRow) GetTitleLines() int { | |
| 213 | + | core.LazyRegister(&xExpanderRowGetTitleLines, "ADW", "adw_expander_row_get_title_lines", false) | |
| 214 | + | ||
| 192 | 215 | cret := xExpanderRowGetTitleLines(x.GoPointer()) | |
| 193 | 216 | return cret | |
| 194 | 217 | } | |
| @@ -197,6 +220,8 @@ var xExpanderRowRemove func(uintptr, uintptr) | |||
| 197 | 220 | ||
| 198 | 221 | // Removes a child from @self. | |
| 199 | 222 | func (x *ExpanderRow) Remove(ChildVar *gtk.Widget) { | |
| 223 | + | core.LazyRegister(&xExpanderRowRemove, "ADW", "adw_expander_row_remove", false) | |
| 224 | + | ||
| 200 | 225 | xExpanderRowRemove(x.GoPointer(), ChildVar.GoPointer()) | |
| 201 | 226 | } | |
| 202 | 227 | ||
| @@ -204,6 +229,8 @@ var xExpanderRowSetEnableExpansion func(uintptr, bool) | |||
| 204 | 229 | ||
| 205 | 230 | // Sets whether the expansion of @self is enabled. | |
| 206 | 231 | func (x *ExpanderRow) SetEnableExpansion(EnableExpansionVar bool) { | |
| 232 | + | core.LazyRegister(&xExpanderRowSetEnableExpansion, "ADW", "adw_expander_row_set_enable_expansion", false) | |
| 233 | + | ||
| 207 | 234 | xExpanderRowSetEnableExpansion(x.GoPointer(), EnableExpansionVar) | |
| 208 | 235 | } | |
| 209 | 236 | ||
| @@ -211,6 +238,8 @@ var xExpanderRowSetExpanded func(uintptr, bool) | |||
| 211 | 238 | ||
| 212 | 239 | // Sets whether @self is expanded. | |
| 213 | 240 | func (x *ExpanderRow) SetExpanded(ExpandedVar bool) { | |
| 241 | + | core.LazyRegister(&xExpanderRowSetExpanded, "ADW", "adw_expander_row_set_expanded", false) | |
| 242 | + | ||
| 214 | 243 | xExpanderRowSetExpanded(x.GoPointer(), ExpandedVar) | |
| 215 | 244 | } | |
| 216 | 245 | ||
| @@ -218,6 +247,8 @@ var xExpanderRowSetIconName func(uintptr, uintptr) | |||
| 218 | 247 | ||
| 219 | 248 | // Sets the icon name for @self. | |
| 220 | 249 | func (x *ExpanderRow) SetIconName(IconNameVar *string) { | |
| 250 | + | core.LazyRegister(&xExpanderRowSetIconName, "ADW", "adw_expander_row_set_icon_name", false) | |
| 251 | + | ||
| 221 | 252 | IconNameVarPtr := core.GStrdupNullable(IconNameVar) | |
| 222 | 253 | defer core.GFreeNullable(IconNameVarPtr) | |
| 223 | 254 | ||
| @@ -228,6 +259,8 @@ var xExpanderRowSetShowEnableSwitch func(uintptr, bool) | |||
| 228 | 259 | ||
| 229 | 260 | // Sets whether the switch enabling the expansion of @self is visible. | |
| 230 | 261 | func (x *ExpanderRow) SetShowEnableSwitch(ShowEnableSwitchVar bool) { | |
| 262 | + | core.LazyRegister(&xExpanderRowSetShowEnableSwitch, "ADW", "adw_expander_row_set_show_enable_switch", false) | |
| 263 | + | ||
| 231 | 264 | xExpanderRowSetShowEnableSwitch(x.GoPointer(), ShowEnableSwitchVar) | |
| 232 | 265 | } | |
| 233 | 266 | ||
| @@ -238,6 +271,8 @@ var xExpanderRowSetSubtitle func(uintptr, string) | |||
| 238 | 271 | // The subtitle is interpreted as Pango markup unless | |
| 239 | 272 | // [property@PreferencesRow:use-markup] is set to `FALSE`. | |
| 240 | 273 | func (x *ExpanderRow) SetSubtitle(SubtitleVar string) { | |
| 274 | + | core.LazyRegister(&xExpanderRowSetSubtitle, "ADW", "adw_expander_row_set_subtitle", false) | |
| 275 | + | ||
| 241 | 276 | xExpanderRowSetSubtitle(x.GoPointer(), SubtitleVar) | |
| 242 | 277 | } | |
| 243 | 278 | ||
| @@ -248,6 +283,8 @@ var xExpanderRowSetSubtitleLines func(uintptr, int) | |||
| 248 | 283 | // | |
| 249 | 284 | // If the value is 0, the number of lines won't be limited. | |
| 250 | 285 | func (x *ExpanderRow) SetSubtitleLines(SubtitleLinesVar int) { | |
| 286 | + | core.LazyRegister(&xExpanderRowSetSubtitleLines, "ADW", "adw_expander_row_set_subtitle_lines", false) | |
| 287 | + | ||
| 251 | 288 | xExpanderRowSetSubtitleLines(x.GoPointer(), SubtitleLinesVar) | |
| 252 | 289 | } | |
| 253 | 290 | ||
| @@ -258,6 +295,8 @@ var xExpanderRowSetTitleLines func(uintptr, int) | |||
| 258 | 295 | // | |
| 259 | 296 | // If the value is 0, the number of lines won't be limited. | |
| 260 | 297 | func (x *ExpanderRow) SetTitleLines(TitleLinesVar int) { | |
| 298 | + | core.LazyRegister(&xExpanderRowSetTitleLines, "ADW", "adw_expander_row_set_title_lines", false) | |
| 299 | + | ||
| 261 | 300 | xExpanderRowSetTitleLines(x.GoPointer(), TitleLinesVar) | |
| 262 | 301 | } | |
| 263 | 302 | ||
| @@ -749,36 +788,4 @@ func (x *ExpanderRow) GetBuildableId() string { | |||
| 749 | 788 | func init() { | |
| 750 | 789 | core.SetPackageName("ADW", "libadwaita-1") | |
| 751 | 790 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 752 | - | var libs []uintptr | |
| 753 | - | for _, libPath := range core.GetPaths("ADW") { | |
| 754 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 755 | - | if err != nil { | |
| 756 | - | panic(err) | |
| 757 | - | } | |
| 758 | - | libs = append(libs, lib) | |
| 759 | - | } | |
| 760 | - | ||
| 761 | - | core.PuregoSafeRegister(&xExpanderRowGLibType, libs, "adw_expander_row_get_type") | |
| 762 | - | ||
| 763 | - | core.PuregoSafeRegister(&xNewExpanderRow, libs, "adw_expander_row_new") | |
| 764 | - | ||
| 765 | - | core.PuregoSafeRegister(&xExpanderRowAddAction, libs, "adw_expander_row_add_action") | |
| 766 | - | core.PuregoSafeRegister(&xExpanderRowAddPrefix, libs, "adw_expander_row_add_prefix") | |
| 767 | - | core.PuregoSafeRegister(&xExpanderRowAddRow, libs, "adw_expander_row_add_row") | |
| 768 | - | core.PuregoSafeRegister(&xExpanderRowAddSuffix, libs, "adw_expander_row_add_suffix") | |
| 769 | - | core.PuregoSafeRegister(&xExpanderRowGetEnableExpansion, libs, "adw_expander_row_get_enable_expansion") | |
| 770 | - | core.PuregoSafeRegister(&xExpanderRowGetExpanded, libs, "adw_expander_row_get_expanded") | |
| 771 | - | core.PuregoSafeRegister(&xExpanderRowGetIconName, libs, "adw_expander_row_get_icon_name") | |
| 772 | - | core.PuregoSafeRegister(&xExpanderRowGetShowEnableSwitch, libs, "adw_expander_row_get_show_enable_switch") | |
| 773 | - | core.PuregoSafeRegister(&xExpanderRowGetSubtitle, libs, "adw_expander_row_get_subtitle") | |
| 774 | - | core.PuregoSafeRegister(&xExpanderRowGetSubtitleLines, libs, "adw_expander_row_get_subtitle_lines") | |
| 775 | - | core.PuregoSafeRegister(&xExpanderRowGetTitleLines, libs, "adw_expander_row_get_title_lines") | |
| 776 | - | core.PuregoSafeRegister(&xExpanderRowRemove, libs, "adw_expander_row_remove") | |
| 777 | - | core.PuregoSafeRegister(&xExpanderRowSetEnableExpansion, libs, "adw_expander_row_set_enable_expansion") | |
| 778 | - | core.PuregoSafeRegister(&xExpanderRowSetExpanded, libs, "adw_expander_row_set_expanded") | |
| 779 | - | core.PuregoSafeRegister(&xExpanderRowSetIconName, libs, "adw_expander_row_set_icon_name") | |
| 780 | - | core.PuregoSafeRegister(&xExpanderRowSetShowEnableSwitch, libs, "adw_expander_row_set_show_enable_switch") | |
| 781 | - | core.PuregoSafeRegister(&xExpanderRowSetSubtitle, libs, "adw_expander_row_set_subtitle") | |
| 782 | - | core.PuregoSafeRegister(&xExpanderRowSetSubtitleLines, libs, "adw_expander_row_set_subtitle_lines") | |
| 783 | - | core.PuregoSafeRegister(&xExpanderRowSetTitleLines, libs, "adw_expander_row_set_title_lines") | |
| 784 | 791 | } | |
| @@ -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/glib" | 9 | "github.com/bnema/puregotk/v4/glib" | ||
| 11 | "github.com/bnema/puregotk/v4/gobject" | 10 | "github.com/bnema/puregotk/v4/gobject" | ||
| @@ -79,6 +78,7 @@ type ExpanderRow struct { | |||||
| 79 | var xExpanderRowGLibType func() types.GType | 78 | var xExpanderRowGLibType func() types.GType | ||
| 80 | 79 | ||||
| 81 | func ExpanderRowGLibType() types.GType { | 80 | func ExpanderRowGLibType() types.GType { | ||
| 81 | + | core.LazyRegister(&xExpanderRowGLibType, "ADW", "adw_expander_row_get_type", false) | |||
| 82 | return xExpanderRowGLibType() | 82 | return xExpanderRowGLibType() | ||
| 83 | } | 83 | } | ||
| 84 | 84 | ||||
| @@ -92,6 +92,7 @@ var xNewExpanderRow func() uintptr | |||||
| 92 | 92 | ||||
| 93 | // Creates a new `AdwExpanderRow`. | 93 | // Creates a new `AdwExpanderRow`. | ||
| 94 | func NewExpanderRow() *ExpanderRow { | 94 | func NewExpanderRow() *ExpanderRow { | ||
| 95 | + | core.LazyRegister(&xNewExpanderRow, "ADW", "adw_expander_row_new", false) | |||
| 95 | var cls *ExpanderRow | 96 | var cls *ExpanderRow | ||
| 96 | 97 | ||||
| 97 | cret := xNewExpanderRow() | 98 | cret := xNewExpanderRow() | ||
| @@ -109,6 +110,8 @@ var xExpanderRowAddAction func(uintptr, uintptr) | |||||
| 109 | 110 | ||||
| 110 | // Adds an action widget to @self. | 111 | // Adds an action widget to @self. | ||
| 111 | func (x *ExpanderRow) AddAction(WidgetVar *gtk.Widget) { | 112 | func (x *ExpanderRow) AddAction(WidgetVar *gtk.Widget) { | ||
| 113 | + | core.LazyRegister(&xExpanderRowAddAction, "ADW", "adw_expander_row_add_action", false) | |||
| 114 | + | ||||
| 112 | xExpanderRowAddAction(x.GoPointer(), WidgetVar.GoPointer()) | 115 | xExpanderRowAddAction(x.GoPointer(), WidgetVar.GoPointer()) | ||
| 113 | } | 116 | } | ||
| 114 | 117 | ||||
| @@ -116,6 +119,8 @@ var xExpanderRowAddPrefix func(uintptr, uintptr) | |||||
| 116 | 119 | ||||
| 117 | // Adds a prefix widget to @self. | 120 | // Adds a prefix widget to @self. | ||
| 118 | func (x *ExpanderRow) AddPrefix(WidgetVar *gtk.Widget) { | 121 | func (x *ExpanderRow) AddPrefix(WidgetVar *gtk.Widget) { | ||
| 122 | + | core.LazyRegister(&xExpanderRowAddPrefix, "ADW", "adw_expander_row_add_prefix", false) | |||
| 123 | + | ||||
| 119 | xExpanderRowAddPrefix(x.GoPointer(), WidgetVar.GoPointer()) | 124 | xExpanderRowAddPrefix(x.GoPointer(), WidgetVar.GoPointer()) | ||
| 120 | } | 125 | } | ||
| 121 | 126 | ||||
| @@ -125,6 +130,8 @@ var xExpanderRowAddRow func(uintptr, uintptr) | |||||
| 125 | // | 130 | // | ||
| 126 | // The widget will appear in the expanding list below @self. | 131 | // The widget will appear in the expanding list below @self. | ||
| 127 | func (x *ExpanderRow) AddRow(ChildVar *gtk.Widget) { | 132 | func (x *ExpanderRow) AddRow(ChildVar *gtk.Widget) { | ||
| 133 | + | core.LazyRegister(&xExpanderRowAddRow, "ADW", "adw_expander_row_add_row", false) | |||
| 134 | + | ||||
| 128 | xExpanderRowAddRow(x.GoPointer(), ChildVar.GoPointer()) | 135 | xExpanderRowAddRow(x.GoPointer(), ChildVar.GoPointer()) | ||
| 129 | } | 136 | } | ||
| 130 | 137 | ||||
| @@ -132,6 +139,8 @@ var xExpanderRowAddSuffix func(uintptr, uintptr) | |||||
| 132 | 139 | ||||
| 133 | // Adds an suffix widget to @self. | 140 | // Adds an suffix widget to @self. | ||
| 134 | func (x *ExpanderRow) AddSuffix(WidgetVar *gtk.Widget) { | 141 | func (x *ExpanderRow) AddSuffix(WidgetVar *gtk.Widget) { | ||
| 142 | + | core.LazyRegister(&xExpanderRowAddSuffix, "ADW", "adw_expander_row_add_suffix", false) | |||
| 143 | + | ||||
| 135 | xExpanderRowAddSuffix(x.GoPointer(), WidgetVar.GoPointer()) | 144 | xExpanderRowAddSuffix(x.GoPointer(), WidgetVar.GoPointer()) | ||
| 136 | } | 145 | } | ||
| 137 | 146 | ||||
| @@ -139,6 +148,8 @@ var xExpanderRowGetEnableExpansion func(uintptr) bool | |||||
| 139 | 148 | ||||
| 140 | // Gets whether the expansion of @self is enabled. | 149 | // Gets whether the expansion of @self is enabled. | ||
| 141 | func (x *ExpanderRow) GetEnableExpansion() bool { | 150 | func (x *ExpanderRow) GetEnableExpansion() bool { | ||
| 151 | + | core.LazyRegister(&xExpanderRowGetEnableExpansion, "ADW", "adw_expander_row_get_enable_expansion", false) | |||
| 152 | + | ||||
| 142 | cret := xExpanderRowGetEnableExpansion(x.GoPointer()) | 153 | cret := xExpanderRowGetEnableExpansion(x.GoPointer()) | ||
| 143 | return cret | 154 | return cret | ||
| 144 | } | 155 | } | ||
| @@ -147,6 +158,8 @@ var xExpanderRowGetExpanded func(uintptr) bool | |||||
| 147 | 158 | ||||
| 148 | // Gets whether @self is expanded. | 159 | // Gets whether @self is expanded. | ||
| 149 | func (x *ExpanderRow) GetExpanded() bool { | 160 | func (x *ExpanderRow) GetExpanded() bool { | ||
| 161 | + | core.LazyRegister(&xExpanderRowGetExpanded, "ADW", "adw_expander_row_get_expanded", false) | |||
| 162 | + | ||||
| 150 | cret := xExpanderRowGetExpanded(x.GoPointer()) | 163 | cret := xExpanderRowGetExpanded(x.GoPointer()) | ||
| 151 | return cret | 164 | return cret | ||
| 152 | } | 165 | } | ||
| @@ -155,6 +168,8 @@ var xExpanderRowGetIconName func(uintptr) string | |||||
| 155 | 168 | ||||
| 156 | // Gets the icon name for @self. | 169 | // Gets the icon name for @self. | ||
| 157 | func (x *ExpanderRow) GetIconName() string { | 170 | func (x *ExpanderRow) GetIconName() string { | ||
| 171 | + | core.LazyRegister(&xExpanderRowGetIconName, "ADW", "adw_expander_row_get_icon_name", false) | |||
| 172 | + | ||||
| 158 | cret := xExpanderRowGetIconName(x.GoPointer()) | 173 | cret := xExpanderRowGetIconName(x.GoPointer()) | ||
| 159 | return cret | 174 | return cret | ||
| 160 | } | 175 | } | ||
| @@ -163,6 +178,8 @@ var xExpanderRowGetShowEnableSwitch func(uintptr) bool | |||||
| 163 | 178 | ||||
| 164 | // Gets whether the switch enabling the expansion of @self is visible. | 179 | // Gets whether the switch enabling the expansion of @self is visible. | ||
| 165 | func (x *ExpanderRow) GetShowEnableSwitch() bool { | 180 | func (x *ExpanderRow) GetShowEnableSwitch() bool { | ||
| 181 | + | core.LazyRegister(&xExpanderRowGetShowEnableSwitch, "ADW", "adw_expander_row_get_show_enable_switch", false) | |||
| 182 | + | ||||
| 166 | cret := xExpanderRowGetShowEnableSwitch(x.GoPointer()) | 183 | cret := xExpanderRowGetShowEnableSwitch(x.GoPointer()) | ||
| 167 | return cret | 184 | return cret | ||
| 168 | } | 185 | } | ||
| @@ -171,6 +188,8 @@ var xExpanderRowGetSubtitle func(uintptr) string | |||||
| 171 | 188 | ||||
| 172 | // Gets the subtitle for @self. | 189 | // Gets the subtitle for @self. | ||
| 173 | func (x *ExpanderRow) GetSubtitle() string { | 190 | func (x *ExpanderRow) GetSubtitle() string { | ||
| 191 | + | core.LazyRegister(&xExpanderRowGetSubtitle, "ADW", "adw_expander_row_get_subtitle", false) | |||
| 192 | + | ||||
| 174 | cret := xExpanderRowGetSubtitle(x.GoPointer()) | 193 | cret := xExpanderRowGetSubtitle(x.GoPointer()) | ||
| 175 | return cret | 194 | return cret | ||
| 176 | } | 195 | } | ||
| @@ -180,6 +199,8 @@ var xExpanderRowGetSubtitleLines func(uintptr) int | |||||
| 180 | // Gets the number of lines at the end of which the subtitle label will be | 199 | // Gets the number of lines at the end of which the subtitle label will be | ||
| 181 | // ellipsized. | 200 | // ellipsized. | ||
| 182 | func (x *ExpanderRow) GetSubtitleLines() int { | 201 | func (x *ExpanderRow) GetSubtitleLines() int { | ||
| 202 | + | core.LazyRegister(&xExpanderRowGetSubtitleLines, "ADW", "adw_expander_row_get_subtitle_lines", false) | |||
| 203 | + | ||||
| 183 | cret := xExpanderRowGetSubtitleLines(x.GoPointer()) | 204 | cret := xExpanderRowGetSubtitleLines(x.GoPointer()) | ||
| 184 | return cret | 205 | return cret | ||
| 185 | } | 206 | } | ||
| @@ -189,6 +210,8 @@ var xExpanderRowGetTitleLines func(uintptr) int | |||||
| 189 | // Gets the number of lines at the end of which the title label will be | 210 | // Gets the number of lines at the end of which the title label will be | ||
| 190 | // ellipsized. | 211 | // ellipsized. | ||
| 191 | func (x *ExpanderRow) GetTitleLines() int { | 212 | func (x *ExpanderRow) GetTitleLines() int { | ||
| 213 | + | core.LazyRegister(&xExpanderRowGetTitleLines, "ADW", "adw_expander_row_get_title_lines", false) | |||
| 214 | + | ||||
| 192 | cret := xExpanderRowGetTitleLines(x.GoPointer()) | 215 | cret := xExpanderRowGetTitleLines(x.GoPointer()) | ||
| 193 | return cret | 216 | return cret | ||
| 194 | } | 217 | } | ||
| @@ -197,6 +220,8 @@ var xExpanderRowRemove func(uintptr, uintptr) | |||||
| 197 | 220 | ||||
| 198 | // Removes a child from @self. | 221 | // Removes a child from @self. | ||
| 199 | func (x *ExpanderRow) Remove(ChildVar *gtk.Widget) { | 222 | func (x *ExpanderRow) Remove(ChildVar *gtk.Widget) { | ||
| 223 | + | core.LazyRegister(&xExpanderRowRemove, "ADW", "adw_expander_row_remove", false) | |||
| 224 | + | ||||
| 200 | xExpanderRowRemove(x.GoPointer(), ChildVar.GoPointer()) | 225 | xExpanderRowRemove(x.GoPointer(), ChildVar.GoPointer()) | ||
| 201 | } | 226 | } | ||
| 202 | 227 | ||||
| @@ -204,6 +229,8 @@ var xExpanderRowSetEnableExpansion func(uintptr, bool) | |||||
| 204 | 229 | ||||
| 205 | // Sets whether the expansion of @self is enabled. | 230 | // Sets whether the expansion of @self is enabled. | ||
| 206 | func (x *ExpanderRow) SetEnableExpansion(EnableExpansionVar bool) { | 231 | func (x *ExpanderRow) SetEnableExpansion(EnableExpansionVar bool) { | ||
| 232 | + | core.LazyRegister(&xExpanderRowSetEnableExpansion, "ADW", "adw_expander_row_set_enable_expansion", false) | |||
| 233 | + | ||||
| 207 | xExpanderRowSetEnableExpansion(x.GoPointer(), EnableExpansionVar) | 234 | xExpanderRowSetEnableExpansion(x.GoPointer(), EnableExpansionVar) | ||
| 208 | } | 235 | } | ||
| 209 | 236 | ||||
| @@ -211,6 +238,8 @@ var xExpanderRowSetExpanded func(uintptr, bool) | |||||
| 211 | 238 | ||||
| 212 | // Sets whether @self is expanded. | 239 | // Sets whether @self is expanded. | ||
| 213 | func (x *ExpanderRow) SetExpanded(ExpandedVar bool) { | 240 | func (x *ExpanderRow) SetExpanded(ExpandedVar bool) { | ||
| 241 | + | core.LazyRegister(&xExpanderRowSetExpanded, "ADW", "adw_expander_row_set_expanded", false) | |||
| 242 | + | ||||
| 214 | xExpanderRowSetExpanded(x.GoPointer(), ExpandedVar) | 243 | xExpanderRowSetExpanded(x.GoPointer(), ExpandedVar) | ||
| 215 | } | 244 | } | ||
| 216 | 245 | ||||
| @@ -218,6 +247,8 @@ var xExpanderRowSetIconName func(uintptr, uintptr) | |||||
| 218 | 247 | ||||
| 219 | // Sets the icon name for @self. | 248 | // Sets the icon name for @self. | ||
| 220 | func (x *ExpanderRow) SetIconName(IconNameVar *string) { | 249 | func (x *ExpanderRow) SetIconName(IconNameVar *string) { | ||
| 250 | + | core.LazyRegister(&xExpanderRowSetIconName, "ADW", "adw_expander_row_set_icon_name", false) | |||
| 251 | + | ||||
| 221 | IconNameVarPtr := core.GStrdupNullable(IconNameVar) | 252 | IconNameVarPtr := core.GStrdupNullable(IconNameVar) | ||
| 222 | defer core.GFreeNullable(IconNameVarPtr) | 253 | defer core.GFreeNullable(IconNameVarPtr) | ||
| 223 | 254 | ||||
| @@ -228,6 +259,8 @@ var xExpanderRowSetShowEnableSwitch func(uintptr, bool) | |||||
| 228 | 259 | ||||
| 229 | // Sets whether the switch enabling the expansion of @self is visible. | 260 | // Sets whether the switch enabling the expansion of @self is visible. | ||
| 230 | func (x *ExpanderRow) SetShowEnableSwitch(ShowEnableSwitchVar bool) { | 261 | func (x *ExpanderRow) SetShowEnableSwitch(ShowEnableSwitchVar bool) { | ||
| 262 | + | core.LazyRegister(&xExpanderRowSetShowEnableSwitch, "ADW", "adw_expander_row_set_show_enable_switch", false) | |||
| 263 | + | ||||
| 231 | xExpanderRowSetShowEnableSwitch(x.GoPointer(), ShowEnableSwitchVar) | 264 | xExpanderRowSetShowEnableSwitch(x.GoPointer(), ShowEnableSwitchVar) | ||
| 232 | } | 265 | } | ||
| 233 | 266 | ||||
| @@ -238,6 +271,8 @@ var xExpanderRowSetSubtitle func(uintptr, string) | |||||
| 238 | // The subtitle is interpreted as Pango markup unless | 271 | // The subtitle is interpreted as Pango markup unless | ||
| 239 | // [property@PreferencesRow:use-markup] is set to `FALSE`. | 272 | // [property@PreferencesRow:use-markup] is set to `FALSE`. | ||
| 240 | func (x *ExpanderRow) SetSubtitle(SubtitleVar string) { | 273 | func (x *ExpanderRow) SetSubtitle(SubtitleVar string) { | ||
| 274 | + | core.LazyRegister(&xExpanderRowSetSubtitle, "ADW", "adw_expander_row_set_subtitle", false) | |||
| 275 | + | ||||
| 241 | xExpanderRowSetSubtitle(x.GoPointer(), SubtitleVar) | 276 | xExpanderRowSetSubtitle(x.GoPointer(), SubtitleVar) | ||
| 242 | } | 277 | } | ||
| 243 | 278 | ||||
| @@ -248,6 +283,8 @@ var xExpanderRowSetSubtitleLines func(uintptr, int) | |||||
| 248 | // | 283 | // | ||
| 249 | // If the value is 0, the number of lines won't be limited. | 284 | // If the value is 0, the number of lines won't be limited. | ||
| 250 | func (x *ExpanderRow) SetSubtitleLines(SubtitleLinesVar int) { | 285 | func (x *ExpanderRow) SetSubtitleLines(SubtitleLinesVar int) { | ||
| 286 | + | core.LazyRegister(&xExpanderRowSetSubtitleLines, "ADW", "adw_expander_row_set_subtitle_lines", false) | |||
| 287 | + | ||||
| 251 | xExpanderRowSetSubtitleLines(x.GoPointer(), SubtitleLinesVar) | 288 | xExpanderRowSetSubtitleLines(x.GoPointer(), SubtitleLinesVar) | ||
| 252 | } | 289 | } | ||
| 253 | 290 | ||||
| @@ -258,6 +295,8 @@ var xExpanderRowSetTitleLines func(uintptr, int) | |||||
| 258 | // | 295 | // | ||
| 259 | // If the value is 0, the number of lines won't be limited. | 296 | // If the value is 0, the number of lines won't be limited. | ||
| 260 | func (x *ExpanderRow) SetTitleLines(TitleLinesVar int) { | 297 | func (x *ExpanderRow) SetTitleLines(TitleLinesVar int) { | ||
| 298 | + | core.LazyRegister(&xExpanderRowSetTitleLines, "ADW", "adw_expander_row_set_title_lines", false) | |||
| 299 | + | ||||
| 261 | xExpanderRowSetTitleLines(x.GoPointer(), TitleLinesVar) | 300 | xExpanderRowSetTitleLines(x.GoPointer(), TitleLinesVar) | ||
| 262 | } | 301 | } | ||
| 263 | 302 | ||||
| @@ -749,36 +788,4 @@ func (x *ExpanderRow) GetBuildableId() string { | |||||
| 749 | func init() { | 788 | func init() { | ||
| 750 | core.SetPackageName("ADW", "libadwaita-1") | 789 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 751 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 790 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 752 | - | var libs []uintptr | |||
| 753 | - | for _, libPath := range core.GetPaths("ADW") { | |||
| 754 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 755 | - | if err != nil { | |||
| 756 | - | panic(err) | |||
| 757 | - | } | |||
| 758 | - | libs = append(libs, lib) | |||
| 759 | - | } | |||
| 760 | - | ||||
| 761 | - | core.PuregoSafeRegister(&xExpanderRowGLibType, libs, "adw_expander_row_get_type") | |||
| 762 | - | ||||
| 763 | - | core.PuregoSafeRegister(&xNewExpanderRow, libs, "adw_expander_row_new") | |||
| 764 | - | ||||
| 765 | - | core.PuregoSafeRegister(&xExpanderRowAddAction, libs, "adw_expander_row_add_action") | |||
| 766 | - | core.PuregoSafeRegister(&xExpanderRowAddPrefix, libs, "adw_expander_row_add_prefix") | |||
| 767 | - | core.PuregoSafeRegister(&xExpanderRowAddRow, libs, "adw_expander_row_add_row") | |||
| 768 | - | core.PuregoSafeRegister(&xExpanderRowAddSuffix, libs, "adw_expander_row_add_suffix") | |||
| 769 | - | core.PuregoSafeRegister(&xExpanderRowGetEnableExpansion, libs, "adw_expander_row_get_enable_expansion") | |||
| 770 | - | core.PuregoSafeRegister(&xExpanderRowGetExpanded, libs, "adw_expander_row_get_expanded") | |||
| 771 | - | core.PuregoSafeRegister(&xExpanderRowGetIconName, libs, "adw_expander_row_get_icon_name") | |||
| 772 | - | core.PuregoSafeRegister(&xExpanderRowGetShowEnableSwitch, libs, "adw_expander_row_get_show_enable_switch") | |||
| 773 | - | core.PuregoSafeRegister(&xExpanderRowGetSubtitle, libs, "adw_expander_row_get_subtitle") | |||
| 774 | - | core.PuregoSafeRegister(&xExpanderRowGetSubtitleLines, libs, "adw_expander_row_get_subtitle_lines") | |||
| 775 | - | core.PuregoSafeRegister(&xExpanderRowGetTitleLines, libs, "adw_expander_row_get_title_lines") | |||
| 776 | - | core.PuregoSafeRegister(&xExpanderRowRemove, libs, "adw_expander_row_remove") | |||
| 777 | - | core.PuregoSafeRegister(&xExpanderRowSetEnableExpansion, libs, "adw_expander_row_set_enable_expansion") | |||
| 778 | - | core.PuregoSafeRegister(&xExpanderRowSetExpanded, libs, "adw_expander_row_set_expanded") | |||
| 779 | - | core.PuregoSafeRegister(&xExpanderRowSetIconName, libs, "adw_expander_row_set_icon_name") | |||
| 780 | - | core.PuregoSafeRegister(&xExpanderRowSetShowEnableSwitch, libs, "adw_expander_row_set_show_enable_switch") | |||
| 781 | - | core.PuregoSafeRegister(&xExpanderRowSetSubtitle, libs, "adw_expander_row_set_subtitle") | |||
| 782 | - | core.PuregoSafeRegister(&xExpanderRowSetSubtitleLines, libs, "adw_expander_row_set_subtitle_lines") | |||
| 783 | - | core.PuregoSafeRegister(&xExpanderRowSetTitleLines, libs, "adw_expander_row_set_title_lines") | |||
| 784 | } | 791 | } | ||