Merge pull request #350 from bnema/fix/repin-fixed-puregotk
fix(deps): validate puregotk lazy registration fix
907 files · +27874 -25296
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.20260714200603-7370c78950ef | |
| 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.20260714200603-7370c78950ef |
| 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 -18 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
| @@ -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/gio" | |
| 11 | 10 | "github.com/bnema/puregotk/v4/gobject" | |
| @@ -56,6 +55,7 @@ type EnumListItem struct { | |||
| 56 | 55 | var xEnumListItemGLibType func() types.GType | |
| 57 | 56 | ||
| 58 | 57 | func EnumListItemGLibType() types.GType { | |
| 58 | + | core.LazyRegister(&xEnumListItemGLibType, "ADW", "adw_enum_list_item_get_type", false) | |
| 59 | 59 | return xEnumListItemGLibType() | |
| 60 | 60 | } | |
| 61 | 61 | ||
| @@ -69,6 +69,8 @@ var xEnumListItemGetName func(uintptr) string | |||
| 69 | 69 | ||
| 70 | 70 | // Gets the enum value name. | |
| 71 | 71 | func (x *EnumListItem) GetName() string { | |
| 72 | + | core.LazyRegister(&xEnumListItemGetName, "ADW", "adw_enum_list_item_get_name", false) | |
| 73 | + | ||
| 72 | 74 | cret := xEnumListItemGetName(x.GoPointer()) | |
| 73 | 75 | return cret | |
| 74 | 76 | } | |
| @@ -77,6 +79,8 @@ var xEnumListItemGetNick func(uintptr) string | |||
| 77 | 79 | ||
| 78 | 80 | // Gets the enum value nick. | |
| 79 | 81 | func (x *EnumListItem) GetNick() string { | |
| 82 | + | core.LazyRegister(&xEnumListItemGetNick, "ADW", "adw_enum_list_item_get_nick", false) | |
| 83 | + | ||
| 80 | 84 | cret := xEnumListItemGetNick(x.GoPointer()) | |
| 81 | 85 | return cret | |
| 82 | 86 | } | |
| @@ -85,6 +89,8 @@ var xEnumListItemGetValue func(uintptr) int | |||
| 85 | 89 | ||
| 86 | 90 | // Gets the enum value. | |
| 87 | 91 | func (x *EnumListItem) GetValue() int { | |
| 92 | + | core.LazyRegister(&xEnumListItemGetValue, "ADW", "adw_enum_list_item_get_value", false) | |
| 93 | + | ||
| 88 | 94 | cret := xEnumListItemGetValue(x.GoPointer()) | |
| 89 | 95 | return cret | |
| 90 | 96 | } | |
| @@ -134,6 +140,7 @@ type EnumListModel struct { | |||
| 134 | 140 | var xEnumListModelGLibType func() types.GType | |
| 135 | 141 | ||
| 136 | 142 | func EnumListModelGLibType() types.GType { | |
| 143 | + | core.LazyRegister(&xEnumListModelGLibType, "ADW", "adw_enum_list_model_get_type", false) | |
| 137 | 144 | return xEnumListModelGLibType() | |
| 138 | 145 | } | |
| 139 | 146 | ||
| @@ -147,6 +154,7 @@ var xNewEnumListModel func(types.GType) uintptr | |||
| 147 | 154 | ||
| 148 | 155 | // Creates a new `AdwEnumListModel` for @enum_type. | |
| 149 | 156 | func NewEnumListModel(EnumTypeVar types.GType) *EnumListModel { | |
| 157 | + | core.LazyRegister(&xNewEnumListModel, "ADW", "adw_enum_list_model_new", false) | |
| 150 | 158 | var cls *EnumListModel | |
| 151 | 159 | ||
| 152 | 160 | cret := xNewEnumListModel(EnumTypeVar) | |
| @@ -165,6 +173,8 @@ var xEnumListModelFindPosition func(uintptr, int) uint | |||
| 165 | 173 | // | |
| 166 | 174 | // If the value is not found, [const@Gtk.INVALID_LIST_POSITION] is returned. | |
| 167 | 175 | func (x *EnumListModel) FindPosition(ValueVar int) uint { | |
| 176 | + | core.LazyRegister(&xEnumListModelFindPosition, "ADW", "adw_enum_list_model_find_position", false) | |
| 177 | + | ||
| 168 | 178 | cret := xEnumListModelFindPosition(x.GoPointer(), ValueVar) | |
| 169 | 179 | return cret | |
| 170 | 180 | } | |
| @@ -173,6 +183,8 @@ var xEnumListModelGetEnumType func(uintptr) types.GType | |||
| 173 | 183 | ||
| 174 | 184 | // Gets the type of the enum represented by @self. | |
| 175 | 185 | func (x *EnumListModel) GetEnumType() types.GType { | |
| 186 | + | core.LazyRegister(&xEnumListModelGetEnumType, "ADW", "adw_enum_list_model_get_enum_type", false) | |
| 187 | + | ||
| 176 | 188 | cret := xEnumListModelGetEnumType(x.GoPointer()) | |
| 177 | 189 | return cret | |
| 178 | 190 | } | |
| @@ -285,25 +297,4 @@ func (x *EnumListModel) ItemsChanged(PositionVar uint, RemovedVar uint, AddedVar | |||
| 285 | 297 | func init() { | |
| 286 | 298 | core.SetPackageName("ADW", "libadwaita-1") | |
| 287 | 299 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 288 | - | var libs []uintptr | |
| 289 | - | for _, libPath := range core.GetPaths("ADW") { | |
| 290 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 291 | - | if err != nil { | |
| 292 | - | panic(err) | |
| 293 | - | } | |
| 294 | - | libs = append(libs, lib) | |
| 295 | - | } | |
| 296 | - | ||
| 297 | - | core.PuregoSafeRegister(&xEnumListItemGLibType, libs, "adw_enum_list_item_get_type") | |
| 298 | - | ||
| 299 | - | core.PuregoSafeRegister(&xEnumListItemGetName, libs, "adw_enum_list_item_get_name") | |
| 300 | - | core.PuregoSafeRegister(&xEnumListItemGetNick, libs, "adw_enum_list_item_get_nick") | |
| 301 | - | core.PuregoSafeRegister(&xEnumListItemGetValue, libs, "adw_enum_list_item_get_value") | |
| 302 | - | ||
| 303 | - | core.PuregoSafeRegister(&xEnumListModelGLibType, libs, "adw_enum_list_model_get_type") | |
| 304 | - | ||
| 305 | - | core.PuregoSafeRegister(&xNewEnumListModel, libs, "adw_enum_list_model_new") | |
| 306 | - | ||
| 307 | - | core.PuregoSafeRegister(&xEnumListModelFindPosition, libs, "adw_enum_list_model_find_position") | |
| 308 | - | core.PuregoSafeRegister(&xEnumListModelGetEnumType, libs, "adw_enum_list_model_get_enum_type") | |
| 309 | 300 | } | |
| @@ -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/gio" | 9 | "github.com/bnema/puregotk/v4/gio" | ||
| 11 | "github.com/bnema/puregotk/v4/gobject" | 10 | "github.com/bnema/puregotk/v4/gobject" | ||
| @@ -56,6 +55,7 @@ type EnumListItem struct { | |||||
| 56 | var xEnumListItemGLibType func() types.GType | 55 | var xEnumListItemGLibType func() types.GType | ||
| 57 | 56 | ||||
| 58 | func EnumListItemGLibType() types.GType { | 57 | func EnumListItemGLibType() types.GType { | ||
| 58 | + | core.LazyRegister(&xEnumListItemGLibType, "ADW", "adw_enum_list_item_get_type", false) | |||
| 59 | return xEnumListItemGLibType() | 59 | return xEnumListItemGLibType() | ||
| 60 | } | 60 | } | ||
| 61 | 61 | ||||
| @@ -69,6 +69,8 @@ var xEnumListItemGetName func(uintptr) string | |||||
| 69 | 69 | ||||
| 70 | // Gets the enum value name. | 70 | // Gets the enum value name. | ||
| 71 | func (x *EnumListItem) GetName() string { | 71 | func (x *EnumListItem) GetName() string { | ||
| 72 | + | core.LazyRegister(&xEnumListItemGetName, "ADW", "adw_enum_list_item_get_name", false) | |||
| 73 | + | ||||
| 72 | cret := xEnumListItemGetName(x.GoPointer()) | 74 | cret := xEnumListItemGetName(x.GoPointer()) | ||
| 73 | return cret | 75 | return cret | ||
| 74 | } | 76 | } | ||
| @@ -77,6 +79,8 @@ var xEnumListItemGetNick func(uintptr) string | |||||
| 77 | 79 | ||||
| 78 | // Gets the enum value nick. | 80 | // Gets the enum value nick. | ||
| 79 | func (x *EnumListItem) GetNick() string { | 81 | func (x *EnumListItem) GetNick() string { | ||
| 82 | + | core.LazyRegister(&xEnumListItemGetNick, "ADW", "adw_enum_list_item_get_nick", false) | |||
| 83 | + | ||||
| 80 | cret := xEnumListItemGetNick(x.GoPointer()) | 84 | cret := xEnumListItemGetNick(x.GoPointer()) | ||
| 81 | return cret | 85 | return cret | ||
| 82 | } | 86 | } | ||
| @@ -85,6 +89,8 @@ var xEnumListItemGetValue func(uintptr) int | |||||
| 85 | 89 | ||||
| 86 | // Gets the enum value. | 90 | // Gets the enum value. | ||
| 87 | func (x *EnumListItem) GetValue() int { | 91 | func (x *EnumListItem) GetValue() int { | ||
| 92 | + | core.LazyRegister(&xEnumListItemGetValue, "ADW", "adw_enum_list_item_get_value", false) | |||
| 93 | + | ||||
| 88 | cret := xEnumListItemGetValue(x.GoPointer()) | 94 | cret := xEnumListItemGetValue(x.GoPointer()) | ||
| 89 | return cret | 95 | return cret | ||
| 90 | } | 96 | } | ||
| @@ -134,6 +140,7 @@ type EnumListModel struct { | |||||
| 134 | var xEnumListModelGLibType func() types.GType | 140 | var xEnumListModelGLibType func() types.GType | ||
| 135 | 141 | ||||
| 136 | func EnumListModelGLibType() types.GType { | 142 | func EnumListModelGLibType() types.GType { | ||
| 143 | + | core.LazyRegister(&xEnumListModelGLibType, "ADW", "adw_enum_list_model_get_type", false) | |||
| 137 | return xEnumListModelGLibType() | 144 | return xEnumListModelGLibType() | ||
| 138 | } | 145 | } | ||
| 139 | 146 | ||||
| @@ -147,6 +154,7 @@ var xNewEnumListModel func(types.GType) uintptr | |||||
| 147 | 154 | ||||
| 148 | // Creates a new `AdwEnumListModel` for @enum_type. | 155 | // Creates a new `AdwEnumListModel` for @enum_type. | ||
| 149 | func NewEnumListModel(EnumTypeVar types.GType) *EnumListModel { | 156 | func NewEnumListModel(EnumTypeVar types.GType) *EnumListModel { | ||
| 157 | + | core.LazyRegister(&xNewEnumListModel, "ADW", "adw_enum_list_model_new", false) | |||
| 150 | var cls *EnumListModel | 158 | var cls *EnumListModel | ||
| 151 | 159 | ||||
| 152 | cret := xNewEnumListModel(EnumTypeVar) | 160 | cret := xNewEnumListModel(EnumTypeVar) | ||
| @@ -165,6 +173,8 @@ var xEnumListModelFindPosition func(uintptr, int) uint | |||||
| 165 | // | 173 | // | ||
| 166 | // If the value is not found, [const@Gtk.INVALID_LIST_POSITION] is returned. | 174 | // If the value is not found, [const@Gtk.INVALID_LIST_POSITION] is returned. | ||
| 167 | func (x *EnumListModel) FindPosition(ValueVar int) uint { | 175 | func (x *EnumListModel) FindPosition(ValueVar int) uint { | ||
| 176 | + | core.LazyRegister(&xEnumListModelFindPosition, "ADW", "adw_enum_list_model_find_position", false) | |||
| 177 | + | ||||
| 168 | cret := xEnumListModelFindPosition(x.GoPointer(), ValueVar) | 178 | cret := xEnumListModelFindPosition(x.GoPointer(), ValueVar) | ||
| 169 | return cret | 179 | return cret | ||
| 170 | } | 180 | } | ||
| @@ -173,6 +183,8 @@ var xEnumListModelGetEnumType func(uintptr) types.GType | |||||
| 173 | 183 | ||||
| 174 | // Gets the type of the enum represented by @self. | 184 | // Gets the type of the enum represented by @self. | ||
| 175 | func (x *EnumListModel) GetEnumType() types.GType { | 185 | func (x *EnumListModel) GetEnumType() types.GType { | ||
| 186 | + | core.LazyRegister(&xEnumListModelGetEnumType, "ADW", "adw_enum_list_model_get_enum_type", false) | |||
| 187 | + | ||||
| 176 | cret := xEnumListModelGetEnumType(x.GoPointer()) | 188 | cret := xEnumListModelGetEnumType(x.GoPointer()) | ||
| 177 | return cret | 189 | return cret | ||
| 178 | } | 190 | } | ||
| @@ -285,25 +297,4 @@ func (x *EnumListModel) ItemsChanged(PositionVar uint, RemovedVar uint, AddedVar | |||||
| 285 | func init() { | 297 | func init() { | ||
| 286 | core.SetPackageName("ADW", "libadwaita-1") | 298 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 287 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 299 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 288 | - | var libs []uintptr | |||
| 289 | - | for _, libPath := range core.GetPaths("ADW") { | |||
| 290 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 291 | - | if err != nil { | |||
| 292 | - | panic(err) | |||
| 293 | - | } | |||
| 294 | - | libs = append(libs, lib) | |||
| 295 | - | } | |||
| 296 | - | ||||
| 297 | - | core.PuregoSafeRegister(&xEnumListItemGLibType, libs, "adw_enum_list_item_get_type") | |||
| 298 | - | ||||
| 299 | - | core.PuregoSafeRegister(&xEnumListItemGetName, libs, "adw_enum_list_item_get_name") | |||
| 300 | - | core.PuregoSafeRegister(&xEnumListItemGetNick, libs, "adw_enum_list_item_get_nick") | |||
| 301 | - | core.PuregoSafeRegister(&xEnumListItemGetValue, libs, "adw_enum_list_item_get_value") | |||
| 302 | - | ||||
| 303 | - | core.PuregoSafeRegister(&xEnumListModelGLibType, libs, "adw_enum_list_model_get_type") | |||
| 304 | - | ||||
| 305 | - | core.PuregoSafeRegister(&xNewEnumListModel, libs, "adw_enum_list_model_new") | |||
| 306 | - | ||||
| 307 | - | core.PuregoSafeRegister(&xEnumListModelFindPosition, libs, "adw_enum_list_model_find_position") | |||
| 308 | - | core.PuregoSafeRegister(&xEnumListModelGetEnumType, libs, "adw_enum_list_model_get_enum_type") | |||
| 309 | } | 300 | } | ||