Merge pull request #349 from bnema/fix/rollback-lazy-puregotk
fix(deps): emergency rollback puregotk lazy registration regression
905 files · +25263 -27842
M go.mod +1 -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.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 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 | |
| @@ -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.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 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 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14
| @@ -5,6 +5,7 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/purego" | |
| 8 | 9 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 10 | "github.com/bnema/puregotk/v4/gdk" | |
| 10 | 11 | "github.com/bnema/puregotk/v4/gio" | |
| @@ -77,7 +78,6 @@ type ApplicationWindow struct { | |||
| 77 | 78 | var xApplicationWindowGLibType func() types.GType | |
| 78 | 79 | ||
| 79 | 80 | func ApplicationWindowGLibType() types.GType { | |
| 80 | - | core.LazyRegister(&xApplicationWindowGLibType, "ADW", "adw_application_window_get_type", false) | |
| 81 | 81 | return xApplicationWindowGLibType() | |
| 82 | 82 | } | |
| 83 | 83 | ||
| @@ -91,7 +91,6 @@ var xNewApplicationWindow func(uintptr) uintptr | |||
| 91 | 91 | ||
| 92 | 92 | // Creates a new `AdwApplicationWindow` for @app. | |
| 93 | 93 | func NewApplicationWindow(AppVar *gtk.Application) *ApplicationWindow { | |
| 94 | - | core.LazyRegister(&xNewApplicationWindow, "ADW", "adw_application_window_new", false) | |
| 95 | 94 | var cls *ApplicationWindow | |
| 96 | 95 | ||
| 97 | 96 | cret := xNewApplicationWindow(AppVar.GoPointer()) | |
| @@ -109,8 +108,6 @@ var xApplicationWindowAddBreakpoint func(uintptr, uintptr) | |||
| 109 | 108 | ||
| 110 | 109 | // Adds @breakpoint to @self. | |
| 111 | 110 | func (x *ApplicationWindow) AddBreakpoint(BreakpointVar *Breakpoint) { | |
| 112 | - | core.LazyRegister(&xApplicationWindowAddBreakpoint, "ADW", "adw_application_window_add_breakpoint", false) | |
| 113 | - | ||
| 114 | 111 | xApplicationWindowAddBreakpoint(x.GoPointer(), BreakpointVar.GoPointer()) | |
| 115 | 112 | } | |
| 116 | 113 | ||
| @@ -118,8 +115,6 @@ var xApplicationWindowGetAdaptivePreview func(uintptr) bool | |||
| 118 | 115 | ||
| 119 | 116 | // Gets whether adaptive preview for @self is currently open. | |
| 120 | 117 | func (x *ApplicationWindow) GetAdaptivePreview() bool { | |
| 121 | - | core.LazyRegister(&xApplicationWindowGetAdaptivePreview, "ADW", "adw_application_window_get_adaptive_preview", false) | |
| 122 | - | ||
| 123 | 118 | cret := xApplicationWindowGetAdaptivePreview(x.GoPointer()) | |
| 124 | 119 | return cret | |
| 125 | 120 | } | |
| @@ -130,7 +125,6 @@ var xApplicationWindowGetContent func(uintptr) uintptr | |||
| 130 | 125 | // | |
| 131 | 126 | // This method should always be used instead of [method@Gtk.Window.get_child]. | |
| 132 | 127 | func (x *ApplicationWindow) GetContent() *gtk.Widget { | |
| 133 | - | core.LazyRegister(&xApplicationWindowGetContent, "ADW", "adw_application_window_get_content", false) | |
| 134 | 128 | var cls *gtk.Widget | |
| 135 | 129 | ||
| 136 | 130 | cret := xApplicationWindowGetContent(x.GoPointer()) | |
| @@ -148,7 +142,6 @@ var xApplicationWindowGetCurrentBreakpoint func(uintptr) uintptr | |||
| 148 | 142 | ||
| 149 | 143 | // Gets the current breakpoint. | |
| 150 | 144 | func (x *ApplicationWindow) GetCurrentBreakpoint() *Breakpoint { | |
| 151 | - | core.LazyRegister(&xApplicationWindowGetCurrentBreakpoint, "ADW", "adw_application_window_get_current_breakpoint", false) | |
| 152 | 145 | var cls *Breakpoint | |
| 153 | 146 | ||
| 154 | 147 | cret := xApplicationWindowGetCurrentBreakpoint(x.GoPointer()) | |
| @@ -168,7 +161,6 @@ var xApplicationWindowGetDialogs func(uintptr) uintptr | |||
| 168 | 161 | // | |
| 169 | 162 | // This can be used to keep an up-to-date view. | |
| 170 | 163 | func (x *ApplicationWindow) GetDialogs() *gio.ListModelBase { | |
| 171 | - | core.LazyRegister(&xApplicationWindowGetDialogs, "ADW", "adw_application_window_get_dialogs", false) | |
| 172 | 164 | var cls *gio.ListModelBase | |
| 173 | 165 | ||
| 174 | 166 | cret := xApplicationWindowGetDialogs(x.GoPointer()) | |
| @@ -185,7 +177,6 @@ var xApplicationWindowGetVisibleDialog func(uintptr) uintptr | |||
| 185 | 177 | ||
| 186 | 178 | // Returns the currently visible dialog in @self, if there's one. | |
| 187 | 179 | func (x *ApplicationWindow) GetVisibleDialog() *Dialog { | |
| 188 | - | core.LazyRegister(&xApplicationWindowGetVisibleDialog, "ADW", "adw_application_window_get_visible_dialog", false) | |
| 189 | 180 | var cls *Dialog | |
| 190 | 181 | ||
| 191 | 182 | cret := xApplicationWindowGetVisibleDialog(x.GoPointer()) | |
| @@ -211,8 +202,6 @@ var xApplicationWindowSetAdaptivePreview func(uintptr, bool) | |||
| 211 | 202 | // | |
| 212 | 203 | // Most applications should not use this function. | |
| 213 | 204 | func (x *ApplicationWindow) SetAdaptivePreview(AdaptivePreviewVar bool) { | |
| 214 | - | core.LazyRegister(&xApplicationWindowSetAdaptivePreview, "ADW", "adw_application_window_set_adaptive_preview", false) | |
| 215 | - | ||
| 216 | 205 | xApplicationWindowSetAdaptivePreview(x.GoPointer(), AdaptivePreviewVar) | |
| 217 | 206 | } | |
| 218 | 207 | ||
| @@ -222,8 +211,6 @@ var xApplicationWindowSetContent func(uintptr, uintptr) | |||
| 222 | 211 | // | |
| 223 | 212 | // This method should always be used instead of [method@Gtk.Window.set_child]. | |
| 224 | 213 | func (x *ApplicationWindow) SetContent(ContentVar *gtk.Widget) { | |
| 225 | - | core.LazyRegister(&xApplicationWindowSetContent, "ADW", "adw_application_window_set_content", false) | |
| 226 | - | ||
| 227 | 214 | xApplicationWindowSetContent(x.GoPointer(), ContentVar.GoPointer()) | |
| 228 | 215 | } | |
| 229 | 216 | ||
| @@ -966,4 +953,25 @@ func (x *ApplicationWindow) SetFocus(FocusVar *gtk.Widget) { | |||
| 966 | 953 | func init() { | |
| 967 | 954 | core.SetPackageName("ADW", "libadwaita-1") | |
| 968 | 955 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 956 | + | var libs []uintptr | |
| 957 | + | for _, libPath := range core.GetPaths("ADW") { | |
| 958 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 959 | + | if err != nil { | |
| 960 | + | panic(err) | |
| 961 | + | } | |
| 962 | + | libs = append(libs, lib) | |
| 963 | + | } | |
| 964 | + | ||
| 965 | + | core.PuregoSafeRegister(&xApplicationWindowGLibType, libs, "adw_application_window_get_type") | |
| 966 | + | ||
| 967 | + | core.PuregoSafeRegister(&xNewApplicationWindow, libs, "adw_application_window_new") | |
| 968 | + | ||
| 969 | + | core.PuregoSafeRegister(&xApplicationWindowAddBreakpoint, libs, "adw_application_window_add_breakpoint") | |
| 970 | + | core.PuregoSafeRegister(&xApplicationWindowGetAdaptivePreview, libs, "adw_application_window_get_adaptive_preview") | |
| 971 | + | core.PuregoSafeRegister(&xApplicationWindowGetContent, libs, "adw_application_window_get_content") | |
| 972 | + | core.PuregoSafeRegister(&xApplicationWindowGetCurrentBreakpoint, libs, "adw_application_window_get_current_breakpoint") | |
| 973 | + | core.PuregoSafeRegister(&xApplicationWindowGetDialogs, libs, "adw_application_window_get_dialogs") | |
| 974 | + | core.PuregoSafeRegister(&xApplicationWindowGetVisibleDialog, libs, "adw_application_window_get_visible_dialog") | |
| 975 | + | core.PuregoSafeRegister(&xApplicationWindowSetAdaptivePreview, libs, "adw_application_window_set_adaptive_preview") | |
| 976 | + | core.PuregoSafeRegister(&xApplicationWindowSetContent, libs, "adw_application_window_set_content") | |
| 969 | 977 | } | |
| @@ -5,6 +5,7 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 9 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/gdk" | 10 | "github.com/bnema/puregotk/v4/gdk" | ||
| 10 | "github.com/bnema/puregotk/v4/gio" | 11 | "github.com/bnema/puregotk/v4/gio" | ||
| @@ -77,7 +78,6 @@ type ApplicationWindow struct { | |||||
| 77 | var xApplicationWindowGLibType func() types.GType | 78 | var xApplicationWindowGLibType func() types.GType | ||
| 78 | 79 | ||||
| 79 | func ApplicationWindowGLibType() types.GType { | 80 | func ApplicationWindowGLibType() types.GType { | ||
| 80 | - | core.LazyRegister(&xApplicationWindowGLibType, "ADW", "adw_application_window_get_type", false) | |||
| 81 | return xApplicationWindowGLibType() | 81 | return xApplicationWindowGLibType() | ||
| 82 | } | 82 | } | ||
| 83 | 83 | ||||
| @@ -91,7 +91,6 @@ var xNewApplicationWindow func(uintptr) uintptr | |||||
| 91 | 91 | ||||
| 92 | // Creates a new `AdwApplicationWindow` for @app. | 92 | // Creates a new `AdwApplicationWindow` for @app. | ||
| 93 | func NewApplicationWindow(AppVar *gtk.Application) *ApplicationWindow { | 93 | func NewApplicationWindow(AppVar *gtk.Application) *ApplicationWindow { | ||
| 94 | - | core.LazyRegister(&xNewApplicationWindow, "ADW", "adw_application_window_new", false) | |||
| 95 | var cls *ApplicationWindow | 94 | var cls *ApplicationWindow | ||
| 96 | 95 | ||||
| 97 | cret := xNewApplicationWindow(AppVar.GoPointer()) | 96 | cret := xNewApplicationWindow(AppVar.GoPointer()) | ||
| @@ -109,8 +108,6 @@ var xApplicationWindowAddBreakpoint func(uintptr, uintptr) | |||||
| 109 | 108 | ||||
| 110 | // Adds @breakpoint to @self. | 109 | // Adds @breakpoint to @self. | ||
| 111 | func (x *ApplicationWindow) AddBreakpoint(BreakpointVar *Breakpoint) { | 110 | func (x *ApplicationWindow) AddBreakpoint(BreakpointVar *Breakpoint) { | ||
| 112 | - | core.LazyRegister(&xApplicationWindowAddBreakpoint, "ADW", "adw_application_window_add_breakpoint", false) | |||
| 113 | - | ||||
| 114 | xApplicationWindowAddBreakpoint(x.GoPointer(), BreakpointVar.GoPointer()) | 111 | xApplicationWindowAddBreakpoint(x.GoPointer(), BreakpointVar.GoPointer()) | ||
| 115 | } | 112 | } | ||
| 116 | 113 | ||||
| @@ -118,8 +115,6 @@ var xApplicationWindowGetAdaptivePreview func(uintptr) bool | |||||
| 118 | 115 | ||||
| 119 | // Gets whether adaptive preview for @self is currently open. | 116 | // Gets whether adaptive preview for @self is currently open. | ||
| 120 | func (x *ApplicationWindow) GetAdaptivePreview() bool { | 117 | func (x *ApplicationWindow) GetAdaptivePreview() bool { | ||
| 121 | - | core.LazyRegister(&xApplicationWindowGetAdaptivePreview, "ADW", "adw_application_window_get_adaptive_preview", false) | |||
| 122 | - | ||||
| 123 | cret := xApplicationWindowGetAdaptivePreview(x.GoPointer()) | 118 | cret := xApplicationWindowGetAdaptivePreview(x.GoPointer()) | ||
| 124 | return cret | 119 | return cret | ||
| 125 | } | 120 | } | ||
| @@ -130,7 +125,6 @@ var xApplicationWindowGetContent func(uintptr) uintptr | |||||
| 130 | // | 125 | // | ||
| 131 | // This method should always be used instead of [method@Gtk.Window.get_child]. | 126 | // This method should always be used instead of [method@Gtk.Window.get_child]. | ||
| 132 | func (x *ApplicationWindow) GetContent() *gtk.Widget { | 127 | func (x *ApplicationWindow) GetContent() *gtk.Widget { | ||
| 133 | - | core.LazyRegister(&xApplicationWindowGetContent, "ADW", "adw_application_window_get_content", false) | |||
| 134 | var cls *gtk.Widget | 128 | var cls *gtk.Widget | ||
| 135 | 129 | ||||
| 136 | cret := xApplicationWindowGetContent(x.GoPointer()) | 130 | cret := xApplicationWindowGetContent(x.GoPointer()) | ||
| @@ -148,7 +142,6 @@ var xApplicationWindowGetCurrentBreakpoint func(uintptr) uintptr | |||||
| 148 | 142 | ||||
| 149 | // Gets the current breakpoint. | 143 | // Gets the current breakpoint. | ||
| 150 | func (x *ApplicationWindow) GetCurrentBreakpoint() *Breakpoint { | 144 | func (x *ApplicationWindow) GetCurrentBreakpoint() *Breakpoint { | ||
| 151 | - | core.LazyRegister(&xApplicationWindowGetCurrentBreakpoint, "ADW", "adw_application_window_get_current_breakpoint", false) | |||
| 152 | var cls *Breakpoint | 145 | var cls *Breakpoint | ||
| 153 | 146 | ||||
| 154 | cret := xApplicationWindowGetCurrentBreakpoint(x.GoPointer()) | 147 | cret := xApplicationWindowGetCurrentBreakpoint(x.GoPointer()) | ||
| @@ -168,7 +161,6 @@ var xApplicationWindowGetDialogs func(uintptr) uintptr | |||||
| 168 | // | 161 | // | ||
| 169 | // This can be used to keep an up-to-date view. | 162 | // This can be used to keep an up-to-date view. | ||
| 170 | func (x *ApplicationWindow) GetDialogs() *gio.ListModelBase { | 163 | func (x *ApplicationWindow) GetDialogs() *gio.ListModelBase { | ||
| 171 | - | core.LazyRegister(&xApplicationWindowGetDialogs, "ADW", "adw_application_window_get_dialogs", false) | |||
| 172 | var cls *gio.ListModelBase | 164 | var cls *gio.ListModelBase | ||
| 173 | 165 | ||||
| 174 | cret := xApplicationWindowGetDialogs(x.GoPointer()) | 166 | cret := xApplicationWindowGetDialogs(x.GoPointer()) | ||
| @@ -185,7 +177,6 @@ var xApplicationWindowGetVisibleDialog func(uintptr) uintptr | |||||
| 185 | 177 | ||||
| 186 | // Returns the currently visible dialog in @self, if there's one. | 178 | // Returns the currently visible dialog in @self, if there's one. | ||
| 187 | func (x *ApplicationWindow) GetVisibleDialog() *Dialog { | 179 | func (x *ApplicationWindow) GetVisibleDialog() *Dialog { | ||
| 188 | - | core.LazyRegister(&xApplicationWindowGetVisibleDialog, "ADW", "adw_application_window_get_visible_dialog", false) | |||
| 189 | var cls *Dialog | 180 | var cls *Dialog | ||
| 190 | 181 | ||||
| 191 | cret := xApplicationWindowGetVisibleDialog(x.GoPointer()) | 182 | cret := xApplicationWindowGetVisibleDialog(x.GoPointer()) | ||
| @@ -211,8 +202,6 @@ var xApplicationWindowSetAdaptivePreview func(uintptr, bool) | |||||
| 211 | // | 202 | // | ||
| 212 | // Most applications should not use this function. | 203 | // Most applications should not use this function. | ||
| 213 | func (x *ApplicationWindow) SetAdaptivePreview(AdaptivePreviewVar bool) { | 204 | func (x *ApplicationWindow) SetAdaptivePreview(AdaptivePreviewVar bool) { | ||
| 214 | - | core.LazyRegister(&xApplicationWindowSetAdaptivePreview, "ADW", "adw_application_window_set_adaptive_preview", false) | |||
| 215 | - | ||||
| 216 | xApplicationWindowSetAdaptivePreview(x.GoPointer(), AdaptivePreviewVar) | 205 | xApplicationWindowSetAdaptivePreview(x.GoPointer(), AdaptivePreviewVar) | ||
| 217 | } | 206 | } | ||
| 218 | 207 | ||||
| @@ -222,8 +211,6 @@ var xApplicationWindowSetContent func(uintptr, uintptr) | |||||
| 222 | // | 211 | // | ||
| 223 | // This method should always be used instead of [method@Gtk.Window.set_child]. | 212 | // This method should always be used instead of [method@Gtk.Window.set_child]. | ||
| 224 | func (x *ApplicationWindow) SetContent(ContentVar *gtk.Widget) { | 213 | func (x *ApplicationWindow) SetContent(ContentVar *gtk.Widget) { | ||
| 225 | - | core.LazyRegister(&xApplicationWindowSetContent, "ADW", "adw_application_window_set_content", false) | |||
| 226 | - | ||||
| 227 | xApplicationWindowSetContent(x.GoPointer(), ContentVar.GoPointer()) | 214 | xApplicationWindowSetContent(x.GoPointer(), ContentVar.GoPointer()) | ||
| 228 | } | 215 | } | ||
| 229 | 216 | ||||
| @@ -966,4 +953,25 @@ func (x *ApplicationWindow) SetFocus(FocusVar *gtk.Widget) { | |||||
| 966 | func init() { | 953 | func init() { | ||
| 967 | core.SetPackageName("ADW", "libadwaita-1") | 954 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 968 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 955 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 956 | + | var libs []uintptr | |||
| 957 | + | for _, libPath := range core.GetPaths("ADW") { | |||
| 958 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 959 | + | if err != nil { | |||
| 960 | + | panic(err) | |||
| 961 | + | } | |||
| 962 | + | libs = append(libs, lib) | |||
| 963 | + | } | |||
| 964 | + | ||||
| 965 | + | core.PuregoSafeRegister(&xApplicationWindowGLibType, libs, "adw_application_window_get_type") | |||
| 966 | + | ||||
| 967 | + | core.PuregoSafeRegister(&xNewApplicationWindow, libs, "adw_application_window_new") | |||
| 968 | + | ||||
| 969 | + | core.PuregoSafeRegister(&xApplicationWindowAddBreakpoint, libs, "adw_application_window_add_breakpoint") | |||
| 970 | + | core.PuregoSafeRegister(&xApplicationWindowGetAdaptivePreview, libs, "adw_application_window_get_adaptive_preview") | |||
| 971 | + | core.PuregoSafeRegister(&xApplicationWindowGetContent, libs, "adw_application_window_get_content") | |||
| 972 | + | core.PuregoSafeRegister(&xApplicationWindowGetCurrentBreakpoint, libs, "adw_application_window_get_current_breakpoint") | |||
| 973 | + | core.PuregoSafeRegister(&xApplicationWindowGetDialogs, libs, "adw_application_window_get_dialogs") | |||
| 974 | + | core.PuregoSafeRegister(&xApplicationWindowGetVisibleDialog, libs, "adw_application_window_get_visible_dialog") | |||
| 975 | + | core.PuregoSafeRegister(&xApplicationWindowSetAdaptivePreview, libs, "adw_application_window_set_adaptive_preview") | |||
| 976 | + | core.PuregoSafeRegister(&xApplicationWindowSetContent, libs, "adw_application_window_set_content") | |||
| 969 | } | 977 | } | ||