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 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +61 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +18 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +7 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +69 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +5 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +63 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +60 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +48 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +38 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +31 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +24 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +41 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +39 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +34 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +17 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +49 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +20 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +25 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +33 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +35 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +123 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +30 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +41 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +64 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +40 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +78 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +15 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +66 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +57 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +36 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +20 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +34 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +28 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +23 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +27 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +51 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +53 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder_extra.go +6 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +20 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +21 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +120 -118 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +17 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +40 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +41 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +19 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +42 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +63 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +47 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +19 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +157 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +9 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +95 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +26 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +9 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +11 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +102 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +5 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +59 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +96 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +244 -116 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +79 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +30 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +23 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +45 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +31 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +14 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +77 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +16 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +54 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +88 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +35 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +16 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +12 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +42 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +4 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +214 -82 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +34 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +207 -80 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +6 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +1148 -450 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +34 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +138 -84 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +9 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +32 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +52 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +90 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +6 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +25 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +70 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +62 -50 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +31 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +215 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +40 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +11 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +49 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +12 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +86 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +30 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +16 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +12 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +75 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +99 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +48 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +87 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +11 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +54 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +18 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +2 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +40 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +34 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +70 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +16 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +69 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +25 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +55 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +56 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +51 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +20 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +6 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +143 -58 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +82 -59 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +56 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +43 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +23 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +69 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +14 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +25 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +36 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +103 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +107 -66 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +45 -38 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +81 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +28 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +83 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +72 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +181 -117 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +51 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +44 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +70 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +50 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +57 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +26 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +84 -52 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +33 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +72 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +40 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +74 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +12 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +33 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +115 -71 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +77 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +19 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +132 -80 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +146 -97 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +26 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +18 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +27 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +8 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +63 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +132 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +63 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +62 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +242 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +63 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +31 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +14 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +37 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +45 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +116 -82
| @@ -435,6 +435,7 @@ var xObjectClassFindProperty func(uintptr, string) uintptr | |||
| 435 | 435 | ||
| 436 | 436 | // Looks up the #GParamSpec for a property of a class. | |
| 437 | 437 | func (x *ObjectClass) FindProperty(PropertyNameVar string) *ParamSpec { | |
| 438 | + | core.LazyRegister(&xObjectClassFindProperty, "GOBJECT", "g_object_class_find_property", false) | |
| 438 | 439 | var cls *ParamSpec | |
| 439 | 440 | ||
| 440 | 441 | cret := xObjectClassFindProperty(x.GoPointer(), PropertyNameVar) | |
| @@ -519,6 +520,8 @@ var xObjectClassInstallProperties func(uintptr, uint, uintptr) | |||
| 519 | 520 | // | |
| 520 | 521 | // ]| | |
| 521 | 522 | func (x *ObjectClass) InstallProperties(NPspecsVar uint, PspecsVar uintptr) { | |
| 523 | + | core.LazyRegister(&xObjectClassInstallProperties, "GOBJECT", "g_object_class_install_properties", false) | |
| 524 | + | ||
| 522 | 525 | xObjectClassInstallProperties(x.GoPointer(), NPspecsVar, PspecsVar) | |
| 523 | 526 | } | |
| 524 | 527 | ||
| @@ -535,6 +538,8 @@ var xObjectClassInstallProperty func(uintptr, uint, uintptr) | |||
| 535 | 538 | // by installing a property with the same name. This can be useful at times, | |
| 536 | 539 | // e.g. to change the range of allowed values or the default value. | |
| 537 | 540 | func (x *ObjectClass) InstallProperty(PropertyIdVar uint, PspecVar *ParamSpec) { | |
| 541 | + | core.LazyRegister(&xObjectClassInstallProperty, "GOBJECT", "g_object_class_install_property", false) | |
| 542 | + | ||
| 538 | 543 | xObjectClassInstallProperty(x.GoPointer(), PropertyIdVar, PspecVar.GoPointer()) | |
| 539 | 544 | } | |
| 540 | 545 | ||
| @@ -542,6 +547,8 @@ var xObjectClassListProperties func(uintptr, *uint) uintptr | |||
| 542 | 547 | ||
| 543 | 548 | // Get an array of #GParamSpec* for all properties of a class. | |
| 544 | 549 | func (x *ObjectClass) ListProperties(NPropertiesVar *uint) uintptr { | |
| 550 | + | core.LazyRegister(&xObjectClassListProperties, "GOBJECT", "g_object_class_list_properties", false) | |
| 551 | + | ||
| 545 | 552 | cret := xObjectClassListProperties(x.GoPointer(), NPropertiesVar) | |
| 546 | 553 | return cret | |
| 547 | 554 | } | |
| @@ -565,6 +572,8 @@ var xObjectClassOverrideProperty func(uintptr, uint, string) | |||
| 565 | 572 | // need to get the overridden property, you can call | |
| 566 | 573 | // g_param_spec_get_redirect_target(). | |
| 567 | 574 | func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | |
| 575 | + | core.LazyRegister(&xObjectClassOverrideProperty, "GOBJECT", "g_object_class_override_property", false) | |
| 576 | + | ||
| 568 | 577 | xObjectClassOverrideProperty(x.GoPointer(), PropertyIdVar, NameVar) | |
| 569 | 578 | } | |
| 570 | 579 | ||
| @@ -888,6 +897,8 @@ var xWeakRefClear func(uintptr) | |||
| 888 | 897 | // You should only call this on a #GWeakRef that previously had | |
| 889 | 898 | // g_weak_ref_init() called on it. | |
| 890 | 899 | func (x *WeakRef) Clear() { | |
| 900 | + | core.LazyRegister(&xWeakRefClear, "GOBJECT", "g_weak_ref_clear", false) | |
| 901 | + | ||
| 891 | 902 | xWeakRefClear(x.GoPointer()) | |
| 892 | 903 | } | |
| 893 | 904 | ||
| @@ -903,6 +914,7 @@ var xWeakRefGet func(uintptr) uintptr | |||
| 903 | 914 | // The caller should release the resulting reference in the usual way, | |
| 904 | 915 | // by using g_object_unref(). | |
| 905 | 916 | func (x *WeakRef) Get() *Object { | |
| 917 | + | core.LazyRegister(&xWeakRefGet, "GOBJECT", "g_weak_ref_get", false) | |
| 906 | 918 | var cls *Object | |
| 907 | 919 | ||
| 908 | 920 | cret := xWeakRefGet(x.GoPointer()) | |
| @@ -927,6 +939,8 @@ var xWeakRefInit func(uintptr, uintptr) | |||
| 927 | 939 | // #GWeakRef in static storage because it will already be | |
| 928 | 940 | // properly initialised. Just use g_weak_ref_set() directly. | |
| 929 | 941 | func (x *WeakRef) Init(ObjectVar *Object) { | |
| 942 | + | core.LazyRegister(&xWeakRefInit, "GOBJECT", "g_weak_ref_init", false) | |
| 943 | + | ||
| 930 | 944 | xWeakRefInit(x.GoPointer(), ObjectVar.GoPointer()) | |
| 931 | 945 | } | |
| 932 | 946 | ||
| @@ -938,6 +952,8 @@ var xWeakRefSet func(uintptr, uintptr) | |||
| 938 | 952 | // You must own a strong reference on @object while calling this | |
| 939 | 953 | // function. | |
| 940 | 954 | func (x *WeakRef) Set(ObjectVar *Object) { | |
| 955 | + | core.LazyRegister(&xWeakRefSet, "GOBJECT", "g_weak_ref_set", false) | |
| 956 | + | ||
| 941 | 957 | xWeakRefSet(x.GoPointer(), ObjectVar.GoPointer()) | |
| 942 | 958 | } | |
| 943 | 959 | ||
| @@ -949,6 +965,8 @@ var xCclosureNewObject func(uintptr, uintptr) uintptr | |||
| 949 | 965 | // associated with a #GObject, and want the callback to no longer run | |
| 950 | 966 | // after the object is is freed. | |
| 951 | 967 | func CclosureNewObject(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | |
| 968 | + | core.LazyRegister(&xCclosureNewObject, "GOBJECT", "g_cclosure_new_object", false) | |
| 969 | + | ||
| 952 | 970 | cret := xCclosureNewObject(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | |
| 953 | 971 | if cret == 0 { | |
| 954 | 972 | return nil | |
| @@ -964,6 +982,8 @@ var xCclosureNewObjectSwap func(uintptr, uintptr) uintptr | |||
| 964 | 982 | // associated with a #GObject, and want the callback to no longer run | |
| 965 | 983 | // after the object is is freed. | |
| 966 | 984 | func CclosureNewObjectSwap(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | |
| 985 | + | core.LazyRegister(&xCclosureNewObjectSwap, "GOBJECT", "g_cclosure_new_object_swap", false) | |
| 986 | + | ||
| 967 | 987 | cret := xCclosureNewObjectSwap(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | |
| 968 | 988 | if cret == 0 { | |
| 969 | 989 | return nil | |
| @@ -984,6 +1004,8 @@ var xClearObject func(uintptr) | |||
| 984 | 1004 | // A macro is also included that allows this function to be used without | |
| 985 | 1005 | // pointer casts. | |
| 986 | 1006 | func ClearObject(ObjectPtrVar **Object) { | |
| 1007 | + | core.LazyRegister(&xClearObject, "GOBJECT", "g_clear_object", false) | |
| 1008 | + | ||
| 987 | 1009 | xClearObject(*ConvertPtr(ObjectPtrVar)) | |
| 988 | 1010 | } | |
| 989 | 1011 | ||
| @@ -1006,6 +1028,8 @@ var xSignalConnectObject func(*TypeInstance, string, uintptr, uintptr, ConnectFl | |||
| 1006 | 1028 | // Refer to the [signals documentation](signals.html) for more | |
| 1007 | 1029 | // details. | |
| 1008 | 1030 | func SignalConnectObject(InstanceVar *TypeInstance, DetailedSignalVar string, CHandlerVar *Callback, GobjectVar *Object, ConnectFlagsVar ConnectFlags) uint { | |
| 1031 | + | core.LazyRegister(&xSignalConnectObject, "GOBJECT", "g_signal_connect_object", false) | |
| 1032 | + | ||
| 1009 | 1033 | cret := xSignalConnectObject(InstanceVar, DetailedSignalVar, glib.NewCallback(CHandlerVar), GobjectVar.GoPointer(), ConnectFlagsVar) | |
| 1010 | 1034 | return cret | |
| 1011 | 1035 | } | |
| @@ -1021,6 +1045,7 @@ type InitiallyUnowned struct { | |||
| 1021 | 1045 | var xInitiallyUnownedGLibType func() types.GType | |
| 1022 | 1046 | ||
| 1023 | 1047 | func InitiallyUnownedGLibType() types.GType { | |
| 1048 | + | core.LazyRegister(&xInitiallyUnownedGLibType, "GOBJECT", "g_initially_unowned_get_type", false) | |
| 1024 | 1049 | return xInitiallyUnownedGLibType() | |
| 1025 | 1050 | } | |
| 1026 | 1051 | ||
| @@ -1070,6 +1095,7 @@ type Object struct { | |||
| 1070 | 1095 | var xObjectGLibType func() types.GType | |
| 1071 | 1096 | ||
| 1072 | 1097 | func ObjectGLibType() types.GType { | |
| 1098 | + | core.LazyRegister(&xObjectGLibType, "GOBJECT", "g_object_get_type", false) | |
| 1073 | 1099 | return xObjectGLibType() | |
| 1074 | 1100 | } | |
| 1075 | 1101 | ||
| @@ -1108,6 +1134,7 @@ var xNewObject func(types.GType, string, ...interface{}) uintptr | |||
| 1108 | 1134 | // should allocate it on the heap (aligned), or arrange for your #GObject to be | |
| 1109 | 1135 | // appropriately padded. | |
| 1110 | 1136 | func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object { | |
| 1137 | + | core.LazyRegister(&xNewObject, "GOBJECT", "g_object_new", false) | |
| 1111 | 1138 | var cls *Object | |
| 1112 | 1139 | ||
| 1113 | 1140 | cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...) | |
| @@ -1127,6 +1154,7 @@ var xNewObjectValist func(types.GType, string, []interface{}) uintptr | |||
| 1127 | 1154 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1128 | 1155 | // which are not explicitly specified are set to their default values. | |
| 1129 | 1156 | func NewObjectValist(ObjectTypeVar types.GType, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object { | |
| 1157 | + | core.LazyRegister(&xNewObjectValist, "GOBJECT", "g_object_new_valist", false) | |
| 1130 | 1158 | var cls *Object | |
| 1131 | 1159 | ||
| 1132 | 1160 | cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar) | |
| @@ -1148,6 +1176,7 @@ var xNewObjectWithProperties func(types.GType, uint, []string, []Value) uintptr | |||
| 1148 | 1176 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1149 | 1177 | // which are not explicitly specified are set to their default values. | |
| 1150 | 1178 | func NewObjectWithProperties(ObjectTypeVar types.GType, NPropertiesVar uint, NamesVar []string, ValuesVar []Value) *Object { | |
| 1179 | + | core.LazyRegister(&xNewObjectWithProperties, "GOBJECT", "g_object_new_with_properties", false) | |
| 1151 | 1180 | var cls *Object | |
| 1152 | 1181 | ||
| 1153 | 1182 | cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar) | |
| @@ -1167,6 +1196,7 @@ var xNewObjectv func(types.GType, uint, []Parameter) uintptr | |||
| 1167 | 1196 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1168 | 1197 | // which are not explicitly specified are set to their default values. | |
| 1169 | 1198 | func NewObjectv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []Parameter) *Object { | |
| 1199 | + | core.LazyRegister(&xNewObjectv, "GOBJECT", "g_object_newv", false) | |
| 1170 | 1200 | var cls *Object | |
| 1171 | 1201 | ||
| 1172 | 1202 | cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar) | |
| @@ -1217,6 +1247,8 @@ var xObjectAddToggleRef func(uintptr, uintptr, uintptr) | |||
| 1217 | 1247 | // | |
| 1218 | 1248 | // A g_object_add_toggle_ref() must be released with g_object_remove_toggle_ref(). | |
| 1219 | 1249 | func (x *Object) AddToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | |
| 1250 | + | core.LazyRegister(&xObjectAddToggleRef, "GOBJECT", "g_object_add_toggle_ref", false) | |
| 1251 | + | ||
| 1220 | 1252 | xObjectAddToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 1221 | 1253 | } | |
| 1222 | 1254 | ||
| @@ -1232,6 +1264,8 @@ var xObjectAddWeakPointer func(uintptr, *uintptr) | |||
| 1232 | 1264 | // thread if the object's last g_object_unref() might happen in another | |
| 1233 | 1265 | // thread. Use #GWeakRef if thread-safety is required. | |
| 1234 | 1266 | func (x *Object) AddWeakPointer(WeakPointerLocationVar *uintptr) { | |
| 1267 | + | core.LazyRegister(&xObjectAddWeakPointer, "GOBJECT", "g_object_add_weak_pointer", false) | |
| 1268 | + | ||
| 1235 | 1269 | xObjectAddWeakPointer(x.GoPointer(), WeakPointerLocationVar) | |
| 1236 | 1270 | } | |
| 1237 | 1271 | ||
| @@ -1271,6 +1305,7 @@ var xObjectBindProperty func(uintptr, string, uintptr, string, BindingFlags) uin | |||
| 1271 | 1305 | // | |
| 1272 | 1306 | // A #GObject can have multiple bindings. | |
| 1273 | 1307 | func (x *Object) BindProperty(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags) *Binding { | |
| 1308 | + | core.LazyRegister(&xObjectBindProperty, "GOBJECT", "g_object_bind_property", false) | |
| 1274 | 1309 | var cls *Binding | |
| 1275 | 1310 | ||
| 1276 | 1311 | cret := xObjectBindProperty(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar) | |
| @@ -1312,6 +1347,7 @@ var xObjectBindPropertyFull func(uintptr, string, uintptr, string, BindingFlags, | |||
| 1312 | 1347 | // for each transformation function, please use | |
| 1313 | 1348 | // g_object_bind_property_with_closures() instead. | |
| 1314 | 1349 | func (x *Object) BindPropertyFull(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *BindingTransformFunc, TransformFromVar *BindingTransformFunc, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) *Binding { | |
| 1350 | + | core.LazyRegister(&xObjectBindPropertyFull, "GOBJECT", "g_object_bind_property_full", false) | |
| 1315 | 1351 | var cls *Binding | |
| 1316 | 1352 | ||
| 1317 | 1353 | cret := xObjectBindPropertyFull(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, glib.NewCallbackNullable(TransformToVar), glib.NewCallbackNullable(TransformFromVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | |
| @@ -1335,6 +1371,7 @@ var xObjectBindPropertyWithClosures func(uintptr, string, uintptr, string, Bindi | |||
| 1335 | 1371 | // g_object_bind_property_full(), using #GClosures instead of | |
| 1336 | 1372 | // function pointers. | |
| 1337 | 1373 | func (x *Object) BindPropertyWithClosures(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *Closure, TransformFromVar *Closure) *Binding { | |
| 1374 | + | core.LazyRegister(&xObjectBindPropertyWithClosures, "GOBJECT", "g_object_bind_property_with_closures", false) | |
| 1338 | 1375 | var cls *Binding | |
| 1339 | 1376 | ||
| 1340 | 1377 | cret := xObjectBindPropertyWithClosures(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, TransformToVar, TransformFromVar) | |
| @@ -1378,6 +1415,7 @@ var xObjectConnect func(uintptr, string, ...interface{}) uintptr | |||
| 1378 | 1415 | // | |
| 1379 | 1416 | // ``` | |
| 1380 | 1417 | func (x *Object) Connect(SignalSpecVar string, varArgs ...interface{}) *Object { | |
| 1418 | + | core.LazyRegister(&xObjectConnect, "GOBJECT", "g_object_connect", false) | |
| 1381 | 1419 | var cls *Object | |
| 1382 | 1420 | ||
| 1383 | 1421 | cret := xObjectConnect(x.GoPointer(), SignalSpecVar, varArgs...) | |
| @@ -1400,6 +1438,8 @@ var xObjectDisconnect func(uintptr, string, ...interface{}) | |||
| 1400 | 1438 | // callback and data, or "any_signal::signal_name", which only | |
| 1401 | 1439 | // disconnects the signal named "signal_name". | |
| 1402 | 1440 | func (x *Object) Disconnect(SignalSpecVar string, varArgs ...interface{}) { | |
| 1441 | + | core.LazyRegister(&xObjectDisconnect, "GOBJECT", "g_object_disconnect", false) | |
| 1442 | + | ||
| 1403 | 1443 | xObjectDisconnect(x.GoPointer(), SignalSpecVar, varArgs...) | |
| 1404 | 1444 | } | |
| 1405 | 1445 | ||
| @@ -1420,6 +1460,8 @@ var xObjectDupData func(uintptr, string, uintptr, uintptr) uintptr | |||
| 1420 | 1460 | // threads are using object data on the same key on the same | |
| 1421 | 1461 | // object. | |
| 1422 | 1462 | func (x *Object) DupData(KeyVar string, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | |
| 1463 | + | core.LazyRegister(&xObjectDupData, "GOBJECT", "g_object_dup_data", false) | |
| 1464 | + | ||
| 1423 | 1465 | cret := xObjectDupData(x.GoPointer(), KeyVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | |
| 1424 | 1466 | return cret | |
| 1425 | 1467 | } | |
| @@ -1441,6 +1483,8 @@ var xObjectDupQdata func(uintptr, glib.Quark, uintptr, uintptr) uintptr | |||
| 1441 | 1483 | // threads are using object data on the same key on the same | |
| 1442 | 1484 | // object. | |
| 1443 | 1485 | func (x *Object) DupQdata(QuarkVar glib.Quark, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | |
| 1486 | + | core.LazyRegister(&xObjectDupQdata, "GOBJECT", "g_object_dup_qdata", false) | |
| 1487 | + | ||
| 1444 | 1488 | cret := xObjectDupQdata(x.GoPointer(), QuarkVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | |
| 1445 | 1489 | return cret | |
| 1446 | 1490 | } | |
| @@ -1452,6 +1496,8 @@ var xObjectForceFloating func(uintptr) | |||
| 1452 | 1496 | // required: all #GInitiallyUnowneds are created with a floating reference | |
| 1453 | 1497 | // which usually just needs to be sunken by calling g_object_ref_sink(). | |
| 1454 | 1498 | func (x *Object) ForceFloating() { | |
| 1499 | + | core.LazyRegister(&xObjectForceFloating, "GOBJECT", "g_object_force_floating", false) | |
| 1500 | + | ||
| 1455 | 1501 | xObjectForceFloating(x.GoPointer()) | |
| 1456 | 1502 | } | |
| 1457 | 1503 | ||
| @@ -1467,6 +1513,8 @@ var xObjectFreezeNotify func(uintptr) | |||
| 1467 | 1513 | // This is necessary for accessors that modify multiple properties to prevent | |
| 1468 | 1514 | // premature notification while the object is still being modified. | |
| 1469 | 1515 | func (x *Object) FreezeNotify() { | |
| 1516 | + | core.LazyRegister(&xObjectFreezeNotify, "GOBJECT", "g_object_freeze_notify", false) | |
| 1517 | + | ||
| 1470 | 1518 | xObjectFreezeNotify(x.GoPointer()) | |
| 1471 | 1519 | } | |
| 1472 | 1520 | ||
| @@ -1501,6 +1549,8 @@ var xObjectGet func(uintptr, string, ...interface{}) | |||
| 1501 | 1549 | // | |
| 1502 | 1550 | // ]| | |
| 1503 | 1551 | func (x *Object) Get(FirstPropertyNameVar string, varArgs ...interface{}) { | |
| 1552 | + | core.LazyRegister(&xObjectGet, "GOBJECT", "g_object_get", false) | |
| 1553 | + | ||
| 1504 | 1554 | xObjectGet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | |
| 1505 | 1555 | } | |
| 1506 | 1556 | ||
| @@ -1508,6 +1558,8 @@ var xObjectGetData func(uintptr, string) uintptr | |||
| 1508 | 1558 | ||
| 1509 | 1559 | // Gets a named field from the objects table of associations (see g_object_set_data()). | |
| 1510 | 1560 | func (x *Object) GetData(KeyVar string) uintptr { | |
| 1561 | + | core.LazyRegister(&xObjectGetData, "GOBJECT", "g_object_get_data", false) | |
| 1562 | + | ||
| 1511 | 1563 | cret := xObjectGetData(x.GoPointer(), KeyVar) | |
| 1512 | 1564 | return cret | |
| 1513 | 1565 | } | |
| @@ -1531,6 +1583,8 @@ var xObjectGetProperty func(uintptr, string, *Value) | |||
| 1531 | 1583 | // Note that g_object_get_property() is really intended for language | |
| 1532 | 1584 | // bindings, g_object_get() is much more convenient for C programming. | |
| 1533 | 1585 | func (x *Object) GetProperty(PropertyNameVar string, ValueVar *Value) { | |
| 1586 | + | core.LazyRegister(&xObjectGetProperty, "GOBJECT", "g_object_get_property", false) | |
| 1587 | + | ||
| 1534 | 1588 | xObjectGetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | |
| 1535 | 1589 | } | |
| 1536 | 1590 | ||
| @@ -1539,6 +1593,8 @@ var xObjectGetQdata func(uintptr, glib.Quark) uintptr | |||
| 1539 | 1593 | // This function gets back user data pointers stored via | |
| 1540 | 1594 | // g_object_set_qdata(). | |
| 1541 | 1595 | func (x *Object) GetQdata(QuarkVar glib.Quark) uintptr { | |
| 1596 | + | core.LazyRegister(&xObjectGetQdata, "GOBJECT", "g_object_get_qdata", false) | |
| 1597 | + | ||
| 1542 | 1598 | cret := xObjectGetQdata(x.GoPointer(), QuarkVar) | |
| 1543 | 1599 | return cret | |
| 1544 | 1600 | } | |
| @@ -1553,6 +1609,8 @@ var xObjectGetValist func(uintptr, string, []interface{}) | |||
| 1553 | 1609 | // | |
| 1554 | 1610 | // See g_object_get(). | |
| 1555 | 1611 | func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | |
| 1612 | + | core.LazyRegister(&xObjectGetValist, "GOBJECT", "g_object_get_valist", false) | |
| 1613 | + | ||
| 1556 | 1614 | xObjectGetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | |
| 1557 | 1615 | } | |
| 1558 | 1616 | ||
| @@ -1563,6 +1621,8 @@ var xObjectGetv func(uintptr, uint, []string, []Value) | |||
| 1563 | 1621 | // Warnings will be emitted and undefined behaviour may result if invalid | |
| 1564 | 1622 | // properties are passed in. | |
| 1565 | 1623 | func (x *Object) Getv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | |
| 1624 | + | core.LazyRegister(&xObjectGetv, "GOBJECT", "g_object_getv", false) | |
| 1625 | + | ||
| 1566 | 1626 | xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | |
| 1567 | 1627 | } | |
| 1568 | 1628 | ||
| @@ -1570,6 +1630,8 @@ var xObjectIsFloating func(uintptr) bool | |||
| 1570 | 1630 | ||
| 1571 | 1631 | // Checks whether @object has a [floating](floating-refs.html) reference. | |
| 1572 | 1632 | func (x *Object) IsFloating() bool { | |
| 1633 | + | core.LazyRegister(&xObjectIsFloating, "GOBJECT", "g_object_is_floating", false) | |
| 1634 | + | ||
| 1573 | 1635 | cret := xObjectIsFloating(x.GoPointer()) | |
| 1574 | 1636 | return cret | |
| 1575 | 1637 | } | |
| @@ -1587,6 +1649,8 @@ var xObjectNotify func(uintptr, string) | |||
| 1587 | 1649 | // and will be emitted (in reverse order) when g_object_thaw_notify() is | |
| 1588 | 1650 | // called. | |
| 1589 | 1651 | func (x *Object) Notify(PropertyNameVar string) { | |
| 1652 | + | core.LazyRegister(&xObjectNotify, "GOBJECT", "g_object_notify", false) | |
| 1653 | + | ||
| 1590 | 1654 | xObjectNotify(x.GoPointer(), PropertyNameVar) | |
| 1591 | 1655 | } | |
| 1592 | 1656 | ||
| @@ -1634,6 +1698,8 @@ var xObjectNotifyByPspec func(uintptr, uintptr) | |||
| 1634 | 1698 | // | |
| 1635 | 1699 | // ]| | |
| 1636 | 1700 | func (x *Object) NotifyByPspec(PspecVar *ParamSpec) { | |
| 1701 | + | core.LazyRegister(&xObjectNotifyByPspec, "GOBJECT", "g_object_notify_by_pspec", false) | |
| 1702 | + | ||
| 1637 | 1703 | xObjectNotifyByPspec(x.GoPointer(), PspecVar.GoPointer()) | |
| 1638 | 1704 | } | |
| 1639 | 1705 | ||
| @@ -1646,6 +1712,7 @@ var xObjectRef func(uintptr) uintptr | |||
| 1646 | 1712 | // extension), so any casting the caller needs to do on the return type must be | |
| 1647 | 1713 | // explicit. | |
| 1648 | 1714 | func (x *Object) Ref() *Object { | |
| 1715 | + | core.LazyRegister(&xObjectRef, "GOBJECT", "g_object_ref", false) | |
| 1649 | 1716 | var cls *Object | |
| 1650 | 1717 | ||
| 1651 | 1718 | cret := xObjectRef(x.GoPointer()) | |
| @@ -1672,6 +1739,7 @@ var xObjectRefSink func(uintptr) uintptr | |||
| 1672 | 1739 | // Since GLib 2.56, the type of @object will be propagated to the return type | |
| 1673 | 1740 | // under the same conditions as for g_object_ref(). | |
| 1674 | 1741 | func (x *Object) RefSink() *Object { | |
| 1742 | + | core.LazyRegister(&xObjectRefSink, "GOBJECT", "g_object_ref_sink", false) | |
| 1675 | 1743 | var cls *Object | |
| 1676 | 1744 | ||
| 1677 | 1745 | cret := xObjectRefSink(x.GoPointer()) | |
| @@ -1695,6 +1763,8 @@ var xObjectRemoveToggleRef func(uintptr, uintptr, uintptr) | |||
| 1695 | 1763 | // might be a dangling pointer. If the object is destroyed on other threads, | |
| 1696 | 1764 | // you must take care of that yourself. | |
| 1697 | 1765 | func (x *Object) RemoveToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | |
| 1766 | + | core.LazyRegister(&xObjectRemoveToggleRef, "GOBJECT", "g_object_remove_toggle_ref", false) | |
| 1767 | + | ||
| 1698 | 1768 | xObjectRemoveToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 1699 | 1769 | } | |
| 1700 | 1770 | ||
| @@ -1704,6 +1774,8 @@ var xObjectRemoveWeakPointer func(uintptr, *uintptr) | |||
| 1704 | 1774 | // using g_object_add_weak_pointer(). The @weak_pointer_location has | |
| 1705 | 1775 | // to match the one used with g_object_add_weak_pointer(). | |
| 1706 | 1776 | func (x *Object) RemoveWeakPointer(WeakPointerLocationVar *uintptr) { | |
| 1777 | + | core.LazyRegister(&xObjectRemoveWeakPointer, "GOBJECT", "g_object_remove_weak_pointer", false) | |
| 1778 | + | ||
| 1707 | 1779 | xObjectRemoveWeakPointer(x.GoPointer(), WeakPointerLocationVar) | |
| 1708 | 1780 | } | |
| 1709 | 1781 | ||
| @@ -1726,6 +1798,8 @@ var xObjectReplaceData func(uintptr, string, uintptr, uintptr, uintptr, *glib.De | |||
| 1726 | 1798 | // See g_object_set_data() for guidance on using a small, bounded set of values | |
| 1727 | 1799 | // for @key. | |
| 1728 | 1800 | func (x *Object) ReplaceData(KeyVar string, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | |
| 1801 | + | core.LazyRegister(&xObjectReplaceData, "GOBJECT", "g_object_replace_data", false) | |
| 1802 | + | ||
| 1729 | 1803 | cret := xObjectReplaceData(x.GoPointer(), KeyVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | |
| 1730 | 1804 | return cret | |
| 1731 | 1805 | } | |
| @@ -1746,6 +1820,8 @@ var xObjectReplaceQdata func(uintptr, glib.Quark, uintptr, uintptr, uintptr, *gl | |||
| 1746 | 1820 | // or may not include using @old_destroy as sometimes replacement | |
| 1747 | 1821 | // should not destroy the object in the normal way. | |
| 1748 | 1822 | func (x *Object) ReplaceQdata(QuarkVar glib.Quark, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | |
| 1823 | + | core.LazyRegister(&xObjectReplaceQdata, "GOBJECT", "g_object_replace_qdata", false) | |
| 1824 | + | ||
| 1749 | 1825 | cret := xObjectReplaceQdata(x.GoPointer(), QuarkVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | |
| 1750 | 1826 | return cret | |
| 1751 | 1827 | } | |
| @@ -1757,6 +1833,8 @@ var xObjectRunDispose func(uintptr) | |||
| 1757 | 1833 | // | |
| 1758 | 1834 | // This function should only be called from object system implementations. | |
| 1759 | 1835 | func (x *Object) RunDispose() { | |
| 1836 | + | core.LazyRegister(&xObjectRunDispose, "GOBJECT", "g_object_run_dispose", false) | |
| 1837 | + | ||
| 1760 | 1838 | xObjectRunDispose(x.GoPointer()) | |
| 1761 | 1839 | } | |
| 1762 | 1840 | ||
| @@ -1773,6 +1851,8 @@ var xObjectSet func(uintptr, string, ...interface{}) | |||
| 1773 | 1851 | // reverse order) after all properties have been set. See | |
| 1774 | 1852 | // g_object_freeze_notify(). | |
| 1775 | 1853 | func (x *Object) Set(FirstPropertyNameVar string, varArgs ...interface{}) { | |
| 1854 | + | core.LazyRegister(&xObjectSet, "GOBJECT", "g_object_set", false) | |
| 1855 | + | ||
| 1776 | 1856 | xObjectSet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | |
| 1777 | 1857 | } | |
| 1778 | 1858 | ||
| @@ -1789,6 +1869,8 @@ var xObjectSetData func(uintptr, string, uintptr) | |||
| 1789 | 1869 | // finalized) — so it is recommended to only use a small, bounded set of values | |
| 1790 | 1870 | // for @key in your program, to avoid the #GQuark storage growing unbounded. | |
| 1791 | 1871 | func (x *Object) SetData(KeyVar string, DataVar uintptr) { | |
| 1872 | + | core.LazyRegister(&xObjectSetData, "GOBJECT", "g_object_set_data", false) | |
| 1873 | + | ||
| 1792 | 1874 | xObjectSetData(x.GoPointer(), KeyVar, DataVar) | |
| 1793 | 1875 | } | |
| 1794 | 1876 | ||
| @@ -1800,6 +1882,8 @@ var xObjectSetDataFull func(uintptr, string, uintptr, uintptr) | |||
| 1800 | 1882 | // | |
| 1801 | 1883 | // Note that the @destroy callback is not called if @data is %NULL. | |
| 1802 | 1884 | func (x *Object) SetDataFull(KeyVar string, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | |
| 1885 | + | core.LazyRegister(&xObjectSetDataFull, "GOBJECT", "g_object_set_data_full", false) | |
| 1886 | + | ||
| 1803 | 1887 | xObjectSetDataFull(x.GoPointer(), KeyVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | |
| 1804 | 1888 | } | |
| 1805 | 1889 | ||
| @@ -1807,6 +1891,8 @@ var xObjectSetProperty func(uintptr, string, *Value) | |||
| 1807 | 1891 | ||
| 1808 | 1892 | // Sets a property on an object. | |
| 1809 | 1893 | func (x *Object) SetProperty(PropertyNameVar string, ValueVar *Value) { | |
| 1894 | + | core.LazyRegister(&xObjectSetProperty, "GOBJECT", "g_object_set_property", false) | |
| 1895 | + | ||
| 1810 | 1896 | xObjectSetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | |
| 1811 | 1897 | } | |
| 1812 | 1898 | ||
| @@ -1821,6 +1907,8 @@ var xObjectSetQdata func(uintptr, glib.Quark, uintptr) | |||
| 1821 | 1907 | // the old pointer set, using #NULL as pointer essentially | |
| 1822 | 1908 | // removes the data stored. | |
| 1823 | 1909 | func (x *Object) SetQdata(QuarkVar glib.Quark, DataVar uintptr) { | |
| 1910 | + | core.LazyRegister(&xObjectSetQdata, "GOBJECT", "g_object_set_qdata", false) | |
| 1911 | + | ||
| 1824 | 1912 | xObjectSetQdata(x.GoPointer(), QuarkVar, DataVar) | |
| 1825 | 1913 | } | |
| 1826 | 1914 | ||
| @@ -1832,6 +1920,8 @@ var xObjectSetQdataFull func(uintptr, glib.Quark, uintptr, uintptr) | |||
| 1832 | 1920 | // the data is being overwritten by a call to g_object_set_qdata() | |
| 1833 | 1921 | // with the same @quark. | |
| 1834 | 1922 | func (x *Object) SetQdataFull(QuarkVar glib.Quark, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | |
| 1923 | + | core.LazyRegister(&xObjectSetQdataFull, "GOBJECT", "g_object_set_qdata_full", false) | |
| 1924 | + | ||
| 1835 | 1925 | xObjectSetQdataFull(x.GoPointer(), QuarkVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | |
| 1836 | 1926 | } | |
| 1837 | 1927 | ||
| @@ -1839,6 +1929,8 @@ var xObjectSetValist func(uintptr, string, []interface{}) | |||
| 1839 | 1929 | ||
| 1840 | 1930 | // Sets properties on an object. | |
| 1841 | 1931 | func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | |
| 1932 | + | core.LazyRegister(&xObjectSetValist, "GOBJECT", "g_object_set_valist", false) | |
| 1933 | + | ||
| 1842 | 1934 | xObjectSetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | |
| 1843 | 1935 | } | |
| 1844 | 1936 | ||
| @@ -1849,6 +1941,8 @@ var xObjectSetv func(uintptr, uint, []string, []Value) | |||
| 1849 | 1941 | // valid. Warnings will be emitted and undefined behaviour may result if invalid | |
| 1850 | 1942 | // properties are passed in. | |
| 1851 | 1943 | func (x *Object) Setv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | |
| 1944 | + | core.LazyRegister(&xObjectSetv, "GOBJECT", "g_object_setv", false) | |
| 1945 | + | ||
| 1852 | 1946 | xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | |
| 1853 | 1947 | } | |
| 1854 | 1948 | ||
| @@ -1857,6 +1951,8 @@ var xObjectStealData func(uintptr, string) uintptr | |||
| 1857 | 1951 | // Remove a specified datum from the object's data associations, | |
| 1858 | 1952 | // without invoking the association's destroy handler. | |
| 1859 | 1953 | func (x *Object) StealData(KeyVar string) uintptr { | |
| 1954 | + | core.LazyRegister(&xObjectStealData, "GOBJECT", "g_object_steal_data", false) | |
| 1955 | + | ||
| 1860 | 1956 | cret := xObjectStealData(x.GoPointer(), KeyVar) | |
| 1861 | 1957 | return cret | |
| 1862 | 1958 | } | |
| @@ -1904,6 +2000,8 @@ var xObjectStealQdata func(uintptr, glib.Quark) uintptr | |||
| 1904 | 2000 | // and thus the partial string list would have been freed upon | |
| 1905 | 2001 | // g_object_set_qdata_full(). | |
| 1906 | 2002 | func (x *Object) StealQdata(QuarkVar glib.Quark) uintptr { | |
| 2003 | + | core.LazyRegister(&xObjectStealQdata, "GOBJECT", "g_object_steal_qdata", false) | |
| 2004 | + | ||
| 1907 | 2005 | cret := xObjectStealQdata(x.GoPointer(), QuarkVar) | |
| 1908 | 2006 | return cret | |
| 1909 | 2007 | } | |
| @@ -1946,6 +2044,7 @@ var xObjectTakeRef func(uintptr) uintptr | |||
| 1946 | 2044 | // additional reference on top of that one is added. It is best to avoid | |
| 1947 | 2045 | // this situation. | |
| 1948 | 2046 | func (x *Object) TakeRef() *Object { | |
| 2047 | + | core.LazyRegister(&xObjectTakeRef, "GOBJECT", "g_object_take_ref", false) | |
| 1949 | 2048 | var cls *Object | |
| 1950 | 2049 | ||
| 1951 | 2050 | cret := xObjectTakeRef(x.GoPointer()) | |
| @@ -1970,6 +2069,8 @@ var xObjectThawNotify func(uintptr) | |||
| 1970 | 2069 | // | |
| 1971 | 2070 | // It is an error to call this function when the freeze count is zero. | |
| 1972 | 2071 | func (x *Object) ThawNotify() { | |
| 2072 | + | core.LazyRegister(&xObjectThawNotify, "GOBJECT", "g_object_thaw_notify", false) | |
| 2073 | + | ||
| 1973 | 2074 | xObjectThawNotify(x.GoPointer()) | |
| 1974 | 2075 | } | |
| 1975 | 2076 | ||
| @@ -1983,6 +2084,8 @@ var xObjectUnref func(uintptr) | |||
| 1983 | 2084 | // pointer to %NULL rather than retain a dangling pointer to a potentially | |
| 1984 | 2085 | // invalid #GObject instance. Use g_clear_object() for this. | |
| 1985 | 2086 | func (x *Object) Unref() { | |
| 2087 | + | core.LazyRegister(&xObjectUnref, "GOBJECT", "g_object_unref", false) | |
| 2088 | + | ||
| 1986 | 2089 | xObjectUnref(x.GoPointer()) | |
| 1987 | 2090 | } | |
| 1988 | 2091 | ||
| @@ -1998,6 +2101,8 @@ var xObjectWatchClosure func(uintptr, *Closure) | |||
| 1998 | 2101 | // @closure. Usually, this function will be called on closures that | |
| 1999 | 2102 | // use this @object as closure data. | |
| 2000 | 2103 | func (x *Object) WatchClosure(ClosureVar *Closure) { | |
| 2104 | + | core.LazyRegister(&xObjectWatchClosure, "GOBJECT", "g_object_watch_closure", false) | |
| 2105 | + | ||
| 2001 | 2106 | xObjectWatchClosure(x.GoPointer(), ClosureVar) | |
| 2002 | 2107 | } | |
| 2003 | 2108 | ||
| @@ -2014,6 +2119,8 @@ var xObjectWeakRef func(uintptr, uintptr, uintptr) | |||
| 2014 | 2119 | // object's last g_object_unref() might happen in another thread. | |
| 2015 | 2120 | // Use #GWeakRef if thread-safety is required. | |
| 2016 | 2121 | func (x *Object) WeakRef(NotifyVar *WeakNotify, DataVar uintptr) { | |
| 2122 | + | core.LazyRegister(&xObjectWeakRef, "GOBJECT", "g_object_weak_ref", false) | |
| 2123 | + | ||
| 2017 | 2124 | xObjectWeakRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 2018 | 2125 | } | |
| 2019 | 2126 | ||
| @@ -2021,6 +2128,8 @@ var xObjectWeakUnref func(uintptr, uintptr, uintptr) | |||
| 2021 | 2128 | ||
| 2022 | 2129 | // Removes a weak reference callback to an object. | |
| 2023 | 2130 | func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | |
| 2131 | + | core.LazyRegister(&xObjectWeakUnref, "GOBJECT", "g_object_weak_unref", false) | |
| 2132 | + | ||
| 2024 | 2133 | xObjectWeakUnref(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 2025 | 2134 | } | |
| 2026 | 2135 | ||
| @@ -2087,6 +2196,8 @@ func (x *Object) ConnectNotify(cb *func(Object, uintptr)) uint { | |||
| 2087 | 2196 | var xObjectCompatControl func(uint, uintptr) uint | |
| 2088 | 2197 | ||
| 2089 | 2198 | func ObjectCompatControl(WhatVar uint, DataVar uintptr) uint { | |
| 2199 | + | core.LazyRegister(&xObjectCompatControl, "GOBJECT", "g_object_compat_control", false) | |
| 2200 | + | ||
| 2090 | 2201 | cret := xObjectCompatControl(WhatVar, DataVar) | |
| 2091 | 2202 | return cret | |
| 2092 | 2203 | } | |
| @@ -2099,6 +2210,7 @@ var xObjectInterfaceFindProperty func(*TypeInterface, string) uintptr | |||
| 2099 | 2210 | // if you know the interface has already been loaded, | |
| 2100 | 2211 | // g_type_default_interface_peek(). | |
| 2101 | 2212 | func ObjectInterfaceFindProperty(GIfaceVar *TypeInterface, PropertyNameVar string) *ParamSpec { | |
| 2213 | + | core.LazyRegister(&xObjectInterfaceFindProperty, "GOBJECT", "g_object_interface_find_property", false) | |
| 2102 | 2214 | var cls *ParamSpec | |
| 2103 | 2215 | ||
| 2104 | 2216 | cret := xObjectInterfaceFindProperty(GIfaceVar, PropertyNameVar) | |
| @@ -2131,6 +2243,8 @@ var xObjectInterfaceInstallProperty func(*TypeInterface, uintptr) | |||
| 2131 | 2243 | // | |
| 2132 | 2244 | // If @pspec is a floating reference, it will be consumed. | |
| 2133 | 2245 | func ObjectInterfaceInstallProperty(GIfaceVar *TypeInterface, PspecVar *ParamSpec) { | |
| 2246 | + | core.LazyRegister(&xObjectInterfaceInstallProperty, "GOBJECT", "g_object_interface_install_property", false) | |
| 2247 | + | ||
| 2134 | 2248 | xObjectInterfaceInstallProperty(GIfaceVar, PspecVar.GoPointer()) | |
| 2135 | 2249 | } | |
| 2136 | 2250 | ||
| @@ -2141,6 +2255,8 @@ var xObjectInterfaceListProperties func(*TypeInterface, *uint) uintptr | |||
| 2141 | 2255 | // g_type_default_interface_ref(), or, if you know the interface has | |
| 2142 | 2256 | // already been loaded, g_type_default_interface_peek(). | |
| 2143 | 2257 | func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *uint) uintptr { | |
| 2258 | + | core.LazyRegister(&xObjectInterfaceListProperties, "GOBJECT", "g_object_interface_list_properties", false) | |
| 2259 | + | ||
| 2144 | 2260 | cret := xObjectInterfaceListProperties(GIfaceVar, NPropertiesPVar) | |
| 2145 | 2261 | return cret | |
| 2146 | 2262 | } | |
| @@ -2148,86 +2264,4 @@ func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *ui | |||
| 2148 | 2264 | func init() { | |
| 2149 | 2265 | core.SetPackageName("GOBJECT", "gobject-2.0") | |
| 2150 | 2266 | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | |
| 2151 | - | var libs []uintptr | |
| 2152 | - | for _, libPath := range core.GetPaths("GOBJECT") { | |
| 2153 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 2154 | - | if err != nil { | |
| 2155 | - | panic(err) | |
| 2156 | - | } | |
| 2157 | - | libs = append(libs, lib) | |
| 2158 | - | } | |
| 2159 | - | ||
| 2160 | - | core.PuregoSafeRegister(&xCclosureNewObject, libs, "g_cclosure_new_object") | |
| 2161 | - | core.PuregoSafeRegister(&xCclosureNewObjectSwap, libs, "g_cclosure_new_object_swap") | |
| 2162 | - | core.PuregoSafeRegister(&xClearObject, libs, "g_clear_object") | |
| 2163 | - | core.PuregoSafeRegister(&xSignalConnectObject, libs, "g_signal_connect_object") | |
| 2164 | - | ||
| 2165 | - | core.PuregoSafeRegister(&xObjectClassFindProperty, libs, "g_object_class_find_property") | |
| 2166 | - | core.PuregoSafeRegister(&xObjectClassInstallProperties, libs, "g_object_class_install_properties") | |
| 2167 | - | core.PuregoSafeRegister(&xObjectClassInstallProperty, libs, "g_object_class_install_property") | |
| 2168 | - | core.PuregoSafeRegister(&xObjectClassListProperties, libs, "g_object_class_list_properties") | |
| 2169 | - | core.PuregoSafeRegister(&xObjectClassOverrideProperty, libs, "g_object_class_override_property") | |
| 2170 | - | ||
| 2171 | - | core.PuregoSafeRegister(&xWeakRefClear, libs, "g_weak_ref_clear") | |
| 2172 | - | core.PuregoSafeRegister(&xWeakRefGet, libs, "g_weak_ref_get") | |
| 2173 | - | core.PuregoSafeRegister(&xWeakRefInit, libs, "g_weak_ref_init") | |
| 2174 | - | core.PuregoSafeRegister(&xWeakRefSet, libs, "g_weak_ref_set") | |
| 2175 | - | ||
| 2176 | - | core.PuregoSafeRegister(&xInitiallyUnownedGLibType, libs, "g_initially_unowned_get_type") | |
| 2177 | - | ||
| 2178 | - | core.PuregoSafeRegister(&xObjectGLibType, libs, "g_object_get_type") | |
| 2179 | - | ||
| 2180 | - | core.PuregoSafeRegister(&xNewObject, libs, "g_object_new") | |
| 2181 | - | core.PuregoSafeRegister(&xNewObjectValist, libs, "g_object_new_valist") | |
| 2182 | - | core.PuregoSafeRegister(&xNewObjectWithProperties, libs, "g_object_new_with_properties") | |
| 2183 | - | core.PuregoSafeRegister(&xNewObjectv, libs, "g_object_newv") | |
| 2184 | - | ||
| 2185 | - | core.PuregoSafeRegister(&xObjectAddToggleRef, libs, "g_object_add_toggle_ref") | |
| 2186 | - | core.PuregoSafeRegister(&xObjectAddWeakPointer, libs, "g_object_add_weak_pointer") | |
| 2187 | - | core.PuregoSafeRegister(&xObjectBindProperty, libs, "g_object_bind_property") | |
| 2188 | - | core.PuregoSafeRegister(&xObjectBindPropertyFull, libs, "g_object_bind_property_full") | |
| 2189 | - | core.PuregoSafeRegister(&xObjectBindPropertyWithClosures, libs, "g_object_bind_property_with_closures") | |
| 2190 | - | core.PuregoSafeRegister(&xObjectConnect, libs, "g_object_connect") | |
| 2191 | - | core.PuregoSafeRegister(&xObjectDisconnect, libs, "g_object_disconnect") | |
| 2192 | - | core.PuregoSafeRegister(&xObjectDupData, libs, "g_object_dup_data") | |
| 2193 | - | core.PuregoSafeRegister(&xObjectDupQdata, libs, "g_object_dup_qdata") | |
| 2194 | - | core.PuregoSafeRegister(&xObjectForceFloating, libs, "g_object_force_floating") | |
| 2195 | - | core.PuregoSafeRegister(&xObjectFreezeNotify, libs, "g_object_freeze_notify") | |
| 2196 | - | core.PuregoSafeRegister(&xObjectGet, libs, "g_object_get") | |
| 2197 | - | core.PuregoSafeRegister(&xObjectGetData, libs, "g_object_get_data") | |
| 2198 | - | core.PuregoSafeRegister(&xObjectGetProperty, libs, "g_object_get_property") | |
| 2199 | - | core.PuregoSafeRegister(&xObjectGetQdata, libs, "g_object_get_qdata") | |
| 2200 | - | core.PuregoSafeRegister(&xObjectGetValist, libs, "g_object_get_valist") | |
| 2201 | - | core.PuregoSafeRegister(&xObjectGetv, libs, "g_object_getv") | |
| 2202 | - | core.PuregoSafeRegister(&xObjectIsFloating, libs, "g_object_is_floating") | |
| 2203 | - | core.PuregoSafeRegister(&xObjectNotify, libs, "g_object_notify") | |
| 2204 | - | core.PuregoSafeRegister(&xObjectNotifyByPspec, libs, "g_object_notify_by_pspec") | |
| 2205 | - | core.PuregoSafeRegister(&xObjectRef, libs, "g_object_ref") | |
| 2206 | - | core.PuregoSafeRegister(&xObjectRefSink, libs, "g_object_ref_sink") | |
| 2207 | - | core.PuregoSafeRegister(&xObjectRemoveToggleRef, libs, "g_object_remove_toggle_ref") | |
| 2208 | - | core.PuregoSafeRegister(&xObjectRemoveWeakPointer, libs, "g_object_remove_weak_pointer") | |
| 2209 | - | core.PuregoSafeRegister(&xObjectReplaceData, libs, "g_object_replace_data") | |
| 2210 | - | core.PuregoSafeRegister(&xObjectReplaceQdata, libs, "g_object_replace_qdata") | |
| 2211 | - | core.PuregoSafeRegister(&xObjectRunDispose, libs, "g_object_run_dispose") | |
| 2212 | - | core.PuregoSafeRegister(&xObjectSet, libs, "g_object_set") | |
| 2213 | - | core.PuregoSafeRegister(&xObjectSetData, libs, "g_object_set_data") | |
| 2214 | - | core.PuregoSafeRegister(&xObjectSetDataFull, libs, "g_object_set_data_full") | |
| 2215 | - | core.PuregoSafeRegister(&xObjectSetProperty, libs, "g_object_set_property") | |
| 2216 | - | core.PuregoSafeRegister(&xObjectSetQdata, libs, "g_object_set_qdata") | |
| 2217 | - | core.PuregoSafeRegister(&xObjectSetQdataFull, libs, "g_object_set_qdata_full") | |
| 2218 | - | core.PuregoSafeRegister(&xObjectSetValist, libs, "g_object_set_valist") | |
| 2219 | - | core.PuregoSafeRegister(&xObjectSetv, libs, "g_object_setv") | |
| 2220 | - | core.PuregoSafeRegister(&xObjectStealData, libs, "g_object_steal_data") | |
| 2221 | - | core.PuregoSafeRegister(&xObjectStealQdata, libs, "g_object_steal_qdata") | |
| 2222 | - | core.PuregoSafeRegister(&xObjectTakeRef, libs, "g_object_take_ref") | |
| 2223 | - | core.PuregoSafeRegister(&xObjectThawNotify, libs, "g_object_thaw_notify") | |
| 2224 | - | core.PuregoSafeRegister(&xObjectUnref, libs, "g_object_unref") | |
| 2225 | - | core.PuregoSafeRegister(&xObjectWatchClosure, libs, "g_object_watch_closure") | |
| 2226 | - | core.PuregoSafeRegister(&xObjectWeakRef, libs, "g_object_weak_ref") | |
| 2227 | - | core.PuregoSafeRegister(&xObjectWeakUnref, libs, "g_object_weak_unref") | |
| 2228 | - | ||
| 2229 | - | core.PuregoSafeRegister(&xObjectCompatControl, libs, "g_object_compat_control") | |
| 2230 | - | core.PuregoSafeRegister(&xObjectInterfaceFindProperty, libs, "g_object_interface_find_property") | |
| 2231 | - | core.PuregoSafeRegister(&xObjectInterfaceInstallProperty, libs, "g_object_interface_install_property") | |
| 2232 | - | core.PuregoSafeRegister(&xObjectInterfaceListProperties, libs, "g_object_interface_list_properties") | |
| 2233 | 2267 | } | |
| @@ -435,6 +435,7 @@ var xObjectClassFindProperty func(uintptr, string) uintptr | |||||
| 435 | 435 | ||||
| 436 | // Looks up the #GParamSpec for a property of a class. | 436 | // Looks up the #GParamSpec for a property of a class. | ||
| 437 | func (x *ObjectClass) FindProperty(PropertyNameVar string) *ParamSpec { | 437 | func (x *ObjectClass) FindProperty(PropertyNameVar string) *ParamSpec { | ||
| 438 | + | core.LazyRegister(&xObjectClassFindProperty, "GOBJECT", "g_object_class_find_property", false) | |||
| 438 | var cls *ParamSpec | 439 | var cls *ParamSpec | ||
| 439 | 440 | ||||
| 440 | cret := xObjectClassFindProperty(x.GoPointer(), PropertyNameVar) | 441 | cret := xObjectClassFindProperty(x.GoPointer(), PropertyNameVar) | ||
| @@ -519,6 +520,8 @@ var xObjectClassInstallProperties func(uintptr, uint, uintptr) | |||||
| 519 | // | 520 | // | ||
| 520 | // ]| | 521 | // ]| | ||
| 521 | func (x *ObjectClass) InstallProperties(NPspecsVar uint, PspecsVar uintptr) { | 522 | func (x *ObjectClass) InstallProperties(NPspecsVar uint, PspecsVar uintptr) { | ||
| 523 | + | core.LazyRegister(&xObjectClassInstallProperties, "GOBJECT", "g_object_class_install_properties", false) | |||
| 524 | + | ||||
| 522 | xObjectClassInstallProperties(x.GoPointer(), NPspecsVar, PspecsVar) | 525 | xObjectClassInstallProperties(x.GoPointer(), NPspecsVar, PspecsVar) | ||
| 523 | } | 526 | } | ||
| 524 | 527 | ||||
| @@ -535,6 +538,8 @@ var xObjectClassInstallProperty func(uintptr, uint, uintptr) | |||||
| 535 | // by installing a property with the same name. This can be useful at times, | 538 | // by installing a property with the same name. This can be useful at times, | ||
| 536 | // e.g. to change the range of allowed values or the default value. | 539 | // e.g. to change the range of allowed values or the default value. | ||
| 537 | func (x *ObjectClass) InstallProperty(PropertyIdVar uint, PspecVar *ParamSpec) { | 540 | func (x *ObjectClass) InstallProperty(PropertyIdVar uint, PspecVar *ParamSpec) { | ||
| 541 | + | core.LazyRegister(&xObjectClassInstallProperty, "GOBJECT", "g_object_class_install_property", false) | |||
| 542 | + | ||||
| 538 | xObjectClassInstallProperty(x.GoPointer(), PropertyIdVar, PspecVar.GoPointer()) | 543 | xObjectClassInstallProperty(x.GoPointer(), PropertyIdVar, PspecVar.GoPointer()) | ||
| 539 | } | 544 | } | ||
| 540 | 545 | ||||
| @@ -542,6 +547,8 @@ var xObjectClassListProperties func(uintptr, *uint) uintptr | |||||
| 542 | 547 | ||||
| 543 | // Get an array of #GParamSpec* for all properties of a class. | 548 | // Get an array of #GParamSpec* for all properties of a class. | ||
| 544 | func (x *ObjectClass) ListProperties(NPropertiesVar *uint) uintptr { | 549 | func (x *ObjectClass) ListProperties(NPropertiesVar *uint) uintptr { | ||
| 550 | + | core.LazyRegister(&xObjectClassListProperties, "GOBJECT", "g_object_class_list_properties", false) | |||
| 551 | + | ||||
| 545 | cret := xObjectClassListProperties(x.GoPointer(), NPropertiesVar) | 552 | cret := xObjectClassListProperties(x.GoPointer(), NPropertiesVar) | ||
| 546 | return cret | 553 | return cret | ||
| 547 | } | 554 | } | ||
| @@ -565,6 +572,8 @@ var xObjectClassOverrideProperty func(uintptr, uint, string) | |||||
| 565 | // need to get the overridden property, you can call | 572 | // need to get the overridden property, you can call | ||
| 566 | // g_param_spec_get_redirect_target(). | 573 | // g_param_spec_get_redirect_target(). | ||
| 567 | func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | 574 | func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | ||
| 575 | + | core.LazyRegister(&xObjectClassOverrideProperty, "GOBJECT", "g_object_class_override_property", false) | |||
| 576 | + | ||||
| 568 | xObjectClassOverrideProperty(x.GoPointer(), PropertyIdVar, NameVar) | 577 | xObjectClassOverrideProperty(x.GoPointer(), PropertyIdVar, NameVar) | ||
| 569 | } | 578 | } | ||
| 570 | 579 | ||||
| @@ -888,6 +897,8 @@ var xWeakRefClear func(uintptr) | |||||
| 888 | // You should only call this on a #GWeakRef that previously had | 897 | // You should only call this on a #GWeakRef that previously had | ||
| 889 | // g_weak_ref_init() called on it. | 898 | // g_weak_ref_init() called on it. | ||
| 890 | func (x *WeakRef) Clear() { | 899 | func (x *WeakRef) Clear() { | ||
| 900 | + | core.LazyRegister(&xWeakRefClear, "GOBJECT", "g_weak_ref_clear", false) | |||
| 901 | + | ||||
| 891 | xWeakRefClear(x.GoPointer()) | 902 | xWeakRefClear(x.GoPointer()) | ||
| 892 | } | 903 | } | ||
| 893 | 904 | ||||
| @@ -903,6 +914,7 @@ var xWeakRefGet func(uintptr) uintptr | |||||
| 903 | // The caller should release the resulting reference in the usual way, | 914 | // The caller should release the resulting reference in the usual way, | ||
| 904 | // by using g_object_unref(). | 915 | // by using g_object_unref(). | ||
| 905 | func (x *WeakRef) Get() *Object { | 916 | func (x *WeakRef) Get() *Object { | ||
| 917 | + | core.LazyRegister(&xWeakRefGet, "GOBJECT", "g_weak_ref_get", false) | |||
| 906 | var cls *Object | 918 | var cls *Object | ||
| 907 | 919 | ||||
| 908 | cret := xWeakRefGet(x.GoPointer()) | 920 | cret := xWeakRefGet(x.GoPointer()) | ||
| @@ -927,6 +939,8 @@ var xWeakRefInit func(uintptr, uintptr) | |||||
| 927 | // #GWeakRef in static storage because it will already be | 939 | // #GWeakRef in static storage because it will already be | ||
| 928 | // properly initialised. Just use g_weak_ref_set() directly. | 940 | // properly initialised. Just use g_weak_ref_set() directly. | ||
| 929 | func (x *WeakRef) Init(ObjectVar *Object) { | 941 | func (x *WeakRef) Init(ObjectVar *Object) { | ||
| 942 | + | core.LazyRegister(&xWeakRefInit, "GOBJECT", "g_weak_ref_init", false) | |||
| 943 | + | ||||
| 930 | xWeakRefInit(x.GoPointer(), ObjectVar.GoPointer()) | 944 | xWeakRefInit(x.GoPointer(), ObjectVar.GoPointer()) | ||
| 931 | } | 945 | } | ||
| 932 | 946 | ||||
| @@ -938,6 +952,8 @@ var xWeakRefSet func(uintptr, uintptr) | |||||
| 938 | // You must own a strong reference on @object while calling this | 952 | // You must own a strong reference on @object while calling this | ||
| 939 | // function. | 953 | // function. | ||
| 940 | func (x *WeakRef) Set(ObjectVar *Object) { | 954 | func (x *WeakRef) Set(ObjectVar *Object) { | ||
| 955 | + | core.LazyRegister(&xWeakRefSet, "GOBJECT", "g_weak_ref_set", false) | |||
| 956 | + | ||||
| 941 | xWeakRefSet(x.GoPointer(), ObjectVar.GoPointer()) | 957 | xWeakRefSet(x.GoPointer(), ObjectVar.GoPointer()) | ||
| 942 | } | 958 | } | ||
| 943 | 959 | ||||
| @@ -949,6 +965,8 @@ var xCclosureNewObject func(uintptr, uintptr) uintptr | |||||
| 949 | // associated with a #GObject, and want the callback to no longer run | 965 | // associated with a #GObject, and want the callback to no longer run | ||
| 950 | // after the object is is freed. | 966 | // after the object is is freed. | ||
| 951 | func CclosureNewObject(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | 967 | func CclosureNewObject(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | ||
| 968 | + | core.LazyRegister(&xCclosureNewObject, "GOBJECT", "g_cclosure_new_object", false) | |||
| 969 | + | ||||
| 952 | cret := xCclosureNewObject(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | 970 | cret := xCclosureNewObject(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | ||
| 953 | if cret == 0 { | 971 | if cret == 0 { | ||
| 954 | return nil | 972 | return nil | ||
| @@ -964,6 +982,8 @@ var xCclosureNewObjectSwap func(uintptr, uintptr) uintptr | |||||
| 964 | // associated with a #GObject, and want the callback to no longer run | 982 | // associated with a #GObject, and want the callback to no longer run | ||
| 965 | // after the object is is freed. | 983 | // after the object is is freed. | ||
| 966 | func CclosureNewObjectSwap(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | 984 | func CclosureNewObjectSwap(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | ||
| 985 | + | core.LazyRegister(&xCclosureNewObjectSwap, "GOBJECT", "g_cclosure_new_object_swap", false) | |||
| 986 | + | ||||
| 967 | cret := xCclosureNewObjectSwap(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | 987 | cret := xCclosureNewObjectSwap(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | ||
| 968 | if cret == 0 { | 988 | if cret == 0 { | ||
| 969 | return nil | 989 | return nil | ||
| @@ -984,6 +1004,8 @@ var xClearObject func(uintptr) | |||||
| 984 | // A macro is also included that allows this function to be used without | 1004 | // A macro is also included that allows this function to be used without | ||
| 985 | // pointer casts. | 1005 | // pointer casts. | ||
| 986 | func ClearObject(ObjectPtrVar **Object) { | 1006 | func ClearObject(ObjectPtrVar **Object) { | ||
| 1007 | + | core.LazyRegister(&xClearObject, "GOBJECT", "g_clear_object", false) | |||
| 1008 | + | ||||
| 987 | xClearObject(*ConvertPtr(ObjectPtrVar)) | 1009 | xClearObject(*ConvertPtr(ObjectPtrVar)) | ||
| 988 | } | 1010 | } | ||
| 989 | 1011 | ||||
| @@ -1006,6 +1028,8 @@ var xSignalConnectObject func(*TypeInstance, string, uintptr, uintptr, ConnectFl | |||||
| 1006 | // Refer to the [signals documentation](signals.html) for more | 1028 | // Refer to the [signals documentation](signals.html) for more | ||
| 1007 | // details. | 1029 | // details. | ||
| 1008 | func SignalConnectObject(InstanceVar *TypeInstance, DetailedSignalVar string, CHandlerVar *Callback, GobjectVar *Object, ConnectFlagsVar ConnectFlags) uint { | 1030 | func SignalConnectObject(InstanceVar *TypeInstance, DetailedSignalVar string, CHandlerVar *Callback, GobjectVar *Object, ConnectFlagsVar ConnectFlags) uint { | ||
| 1031 | + | core.LazyRegister(&xSignalConnectObject, "GOBJECT", "g_signal_connect_object", false) | |||
| 1032 | + | ||||
| 1009 | cret := xSignalConnectObject(InstanceVar, DetailedSignalVar, glib.NewCallback(CHandlerVar), GobjectVar.GoPointer(), ConnectFlagsVar) | 1033 | cret := xSignalConnectObject(InstanceVar, DetailedSignalVar, glib.NewCallback(CHandlerVar), GobjectVar.GoPointer(), ConnectFlagsVar) | ||
| 1010 | return cret | 1034 | return cret | ||
| 1011 | } | 1035 | } | ||
| @@ -1021,6 +1045,7 @@ type InitiallyUnowned struct { | |||||
| 1021 | var xInitiallyUnownedGLibType func() types.GType | 1045 | var xInitiallyUnownedGLibType func() types.GType | ||
| 1022 | 1046 | ||||
| 1023 | func InitiallyUnownedGLibType() types.GType { | 1047 | func InitiallyUnownedGLibType() types.GType { | ||
| 1048 | + | core.LazyRegister(&xInitiallyUnownedGLibType, "GOBJECT", "g_initially_unowned_get_type", false) | |||
| 1024 | return xInitiallyUnownedGLibType() | 1049 | return xInitiallyUnownedGLibType() | ||
| 1025 | } | 1050 | } | ||
| 1026 | 1051 | ||||
| @@ -1070,6 +1095,7 @@ type Object struct { | |||||
| 1070 | var xObjectGLibType func() types.GType | 1095 | var xObjectGLibType func() types.GType | ||
| 1071 | 1096 | ||||
| 1072 | func ObjectGLibType() types.GType { | 1097 | func ObjectGLibType() types.GType { | ||
| 1098 | + | core.LazyRegister(&xObjectGLibType, "GOBJECT", "g_object_get_type", false) | |||
| 1073 | return xObjectGLibType() | 1099 | return xObjectGLibType() | ||
| 1074 | } | 1100 | } | ||
| 1075 | 1101 | ||||
| @@ -1108,6 +1134,7 @@ var xNewObject func(types.GType, string, ...interface{}) uintptr | |||||
| 1108 | // should allocate it on the heap (aligned), or arrange for your #GObject to be | 1134 | // should allocate it on the heap (aligned), or arrange for your #GObject to be | ||
| 1109 | // appropriately padded. | 1135 | // appropriately padded. | ||
| 1110 | func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object { | 1136 | func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object { | ||
| 1137 | + | core.LazyRegister(&xNewObject, "GOBJECT", "g_object_new", false) | |||
| 1111 | var cls *Object | 1138 | var cls *Object | ||
| 1112 | 1139 | ||||
| 1113 | cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...) | 1140 | cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...) | ||
| @@ -1127,6 +1154,7 @@ var xNewObjectValist func(types.GType, string, []interface{}) uintptr | |||||
| 1127 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | 1154 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | ||
| 1128 | // which are not explicitly specified are set to their default values. | 1155 | // which are not explicitly specified are set to their default values. | ||
| 1129 | func NewObjectValist(ObjectTypeVar types.GType, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object { | 1156 | func NewObjectValist(ObjectTypeVar types.GType, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object { | ||
| 1157 | + | core.LazyRegister(&xNewObjectValist, "GOBJECT", "g_object_new_valist", false) | |||
| 1130 | var cls *Object | 1158 | var cls *Object | ||
| 1131 | 1159 | ||||
| 1132 | cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar) | 1160 | cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar) | ||
| @@ -1148,6 +1176,7 @@ var xNewObjectWithProperties func(types.GType, uint, []string, []Value) uintptr | |||||
| 1148 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | 1176 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | ||
| 1149 | // which are not explicitly specified are set to their default values. | 1177 | // which are not explicitly specified are set to their default values. | ||
| 1150 | func NewObjectWithProperties(ObjectTypeVar types.GType, NPropertiesVar uint, NamesVar []string, ValuesVar []Value) *Object { | 1178 | func NewObjectWithProperties(ObjectTypeVar types.GType, NPropertiesVar uint, NamesVar []string, ValuesVar []Value) *Object { | ||
| 1179 | + | core.LazyRegister(&xNewObjectWithProperties, "GOBJECT", "g_object_new_with_properties", false) | |||
| 1151 | var cls *Object | 1180 | var cls *Object | ||
| 1152 | 1181 | ||||
| 1153 | cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar) | 1182 | cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar) | ||
| @@ -1167,6 +1196,7 @@ var xNewObjectv func(types.GType, uint, []Parameter) uintptr | |||||
| 1167 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | 1196 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | ||
| 1168 | // which are not explicitly specified are set to their default values. | 1197 | // which are not explicitly specified are set to their default values. | ||
| 1169 | func NewObjectv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []Parameter) *Object { | 1198 | func NewObjectv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []Parameter) *Object { | ||
| 1199 | + | core.LazyRegister(&xNewObjectv, "GOBJECT", "g_object_newv", false) | |||
| 1170 | var cls *Object | 1200 | var cls *Object | ||
| 1171 | 1201 | ||||
| 1172 | cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar) | 1202 | cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar) | ||
| @@ -1217,6 +1247,8 @@ var xObjectAddToggleRef func(uintptr, uintptr, uintptr) | |||||
| 1217 | // | 1247 | // | ||
| 1218 | // A g_object_add_toggle_ref() must be released with g_object_remove_toggle_ref(). | 1248 | // A g_object_add_toggle_ref() must be released with g_object_remove_toggle_ref(). | ||
| 1219 | func (x *Object) AddToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | 1249 | func (x *Object) AddToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | ||
| 1250 | + | core.LazyRegister(&xObjectAddToggleRef, "GOBJECT", "g_object_add_toggle_ref", false) | |||
| 1251 | + | ||||
| 1220 | xObjectAddToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | 1252 | xObjectAddToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | ||
| 1221 | } | 1253 | } | ||
| 1222 | 1254 | ||||
| @@ -1232,6 +1264,8 @@ var xObjectAddWeakPointer func(uintptr, *uintptr) | |||||
| 1232 | // thread if the object's last g_object_unref() might happen in another | 1264 | // thread if the object's last g_object_unref() might happen in another | ||
| 1233 | // thread. Use #GWeakRef if thread-safety is required. | 1265 | // thread. Use #GWeakRef if thread-safety is required. | ||
| 1234 | func (x *Object) AddWeakPointer(WeakPointerLocationVar *uintptr) { | 1266 | func (x *Object) AddWeakPointer(WeakPointerLocationVar *uintptr) { | ||
| 1267 | + | core.LazyRegister(&xObjectAddWeakPointer, "GOBJECT", "g_object_add_weak_pointer", false) | |||
| 1268 | + | ||||
| 1235 | xObjectAddWeakPointer(x.GoPointer(), WeakPointerLocationVar) | 1269 | xObjectAddWeakPointer(x.GoPointer(), WeakPointerLocationVar) | ||
| 1236 | } | 1270 | } | ||
| 1237 | 1271 | ||||
| @@ -1271,6 +1305,7 @@ var xObjectBindProperty func(uintptr, string, uintptr, string, BindingFlags) uin | |||||
| 1271 | // | 1305 | // | ||
| 1272 | // A #GObject can have multiple bindings. | 1306 | // A #GObject can have multiple bindings. | ||
| 1273 | func (x *Object) BindProperty(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags) *Binding { | 1307 | func (x *Object) BindProperty(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags) *Binding { | ||
| 1308 | + | core.LazyRegister(&xObjectBindProperty, "GOBJECT", "g_object_bind_property", false) | |||
| 1274 | var cls *Binding | 1309 | var cls *Binding | ||
| 1275 | 1310 | ||||
| 1276 | cret := xObjectBindProperty(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar) | 1311 | cret := xObjectBindProperty(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar) | ||
| @@ -1312,6 +1347,7 @@ var xObjectBindPropertyFull func(uintptr, string, uintptr, string, BindingFlags, | |||||
| 1312 | // for each transformation function, please use | 1347 | // for each transformation function, please use | ||
| 1313 | // g_object_bind_property_with_closures() instead. | 1348 | // g_object_bind_property_with_closures() instead. | ||
| 1314 | func (x *Object) BindPropertyFull(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *BindingTransformFunc, TransformFromVar *BindingTransformFunc, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) *Binding { | 1349 | func (x *Object) BindPropertyFull(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *BindingTransformFunc, TransformFromVar *BindingTransformFunc, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) *Binding { | ||
| 1350 | + | core.LazyRegister(&xObjectBindPropertyFull, "GOBJECT", "g_object_bind_property_full", false) | |||
| 1315 | var cls *Binding | 1351 | var cls *Binding | ||
| 1316 | 1352 | ||||
| 1317 | cret := xObjectBindPropertyFull(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, glib.NewCallbackNullable(TransformToVar), glib.NewCallbackNullable(TransformFromVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | 1353 | cret := xObjectBindPropertyFull(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, glib.NewCallbackNullable(TransformToVar), glib.NewCallbackNullable(TransformFromVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | ||
| @@ -1335,6 +1371,7 @@ var xObjectBindPropertyWithClosures func(uintptr, string, uintptr, string, Bindi | |||||
| 1335 | // g_object_bind_property_full(), using #GClosures instead of | 1371 | // g_object_bind_property_full(), using #GClosures instead of | ||
| 1336 | // function pointers. | 1372 | // function pointers. | ||
| 1337 | func (x *Object) BindPropertyWithClosures(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *Closure, TransformFromVar *Closure) *Binding { | 1373 | func (x *Object) BindPropertyWithClosures(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *Closure, TransformFromVar *Closure) *Binding { | ||
| 1374 | + | core.LazyRegister(&xObjectBindPropertyWithClosures, "GOBJECT", "g_object_bind_property_with_closures", false) | |||
| 1338 | var cls *Binding | 1375 | var cls *Binding | ||
| 1339 | 1376 | ||||
| 1340 | cret := xObjectBindPropertyWithClosures(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, TransformToVar, TransformFromVar) | 1377 | cret := xObjectBindPropertyWithClosures(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, TransformToVar, TransformFromVar) | ||
| @@ -1378,6 +1415,7 @@ var xObjectConnect func(uintptr, string, ...interface{}) uintptr | |||||
| 1378 | // | 1415 | // | ||
| 1379 | // ``` | 1416 | // ``` | ||
| 1380 | func (x *Object) Connect(SignalSpecVar string, varArgs ...interface{}) *Object { | 1417 | func (x *Object) Connect(SignalSpecVar string, varArgs ...interface{}) *Object { | ||
| 1418 | + | core.LazyRegister(&xObjectConnect, "GOBJECT", "g_object_connect", false) | |||
| 1381 | var cls *Object | 1419 | var cls *Object | ||
| 1382 | 1420 | ||||
| 1383 | cret := xObjectConnect(x.GoPointer(), SignalSpecVar, varArgs...) | 1421 | cret := xObjectConnect(x.GoPointer(), SignalSpecVar, varArgs...) | ||
| @@ -1400,6 +1438,8 @@ var xObjectDisconnect func(uintptr, string, ...interface{}) | |||||
| 1400 | // callback and data, or "any_signal::signal_name", which only | 1438 | // callback and data, or "any_signal::signal_name", which only | ||
| 1401 | // disconnects the signal named "signal_name". | 1439 | // disconnects the signal named "signal_name". | ||
| 1402 | func (x *Object) Disconnect(SignalSpecVar string, varArgs ...interface{}) { | 1440 | func (x *Object) Disconnect(SignalSpecVar string, varArgs ...interface{}) { | ||
| 1441 | + | core.LazyRegister(&xObjectDisconnect, "GOBJECT", "g_object_disconnect", false) | |||
| 1442 | + | ||||
| 1403 | xObjectDisconnect(x.GoPointer(), SignalSpecVar, varArgs...) | 1443 | xObjectDisconnect(x.GoPointer(), SignalSpecVar, varArgs...) | ||
| 1404 | } | 1444 | } | ||
| 1405 | 1445 | ||||
| @@ -1420,6 +1460,8 @@ var xObjectDupData func(uintptr, string, uintptr, uintptr) uintptr | |||||
| 1420 | // threads are using object data on the same key on the same | 1460 | // threads are using object data on the same key on the same | ||
| 1421 | // object. | 1461 | // object. | ||
| 1422 | func (x *Object) DupData(KeyVar string, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | 1462 | func (x *Object) DupData(KeyVar string, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | ||
| 1463 | + | core.LazyRegister(&xObjectDupData, "GOBJECT", "g_object_dup_data", false) | |||
| 1464 | + | ||||
| 1423 | cret := xObjectDupData(x.GoPointer(), KeyVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | 1465 | cret := xObjectDupData(x.GoPointer(), KeyVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | ||
| 1424 | return cret | 1466 | return cret | ||
| 1425 | } | 1467 | } | ||
| @@ -1441,6 +1483,8 @@ var xObjectDupQdata func(uintptr, glib.Quark, uintptr, uintptr) uintptr | |||||
| 1441 | // threads are using object data on the same key on the same | 1483 | // threads are using object data on the same key on the same | ||
| 1442 | // object. | 1484 | // object. | ||
| 1443 | func (x *Object) DupQdata(QuarkVar glib.Quark, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | 1485 | func (x *Object) DupQdata(QuarkVar glib.Quark, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | ||
| 1486 | + | core.LazyRegister(&xObjectDupQdata, "GOBJECT", "g_object_dup_qdata", false) | |||
| 1487 | + | ||||
| 1444 | cret := xObjectDupQdata(x.GoPointer(), QuarkVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | 1488 | cret := xObjectDupQdata(x.GoPointer(), QuarkVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | ||
| 1445 | return cret | 1489 | return cret | ||
| 1446 | } | 1490 | } | ||
| @@ -1452,6 +1496,8 @@ var xObjectForceFloating func(uintptr) | |||||
| 1452 | // required: all #GInitiallyUnowneds are created with a floating reference | 1496 | // required: all #GInitiallyUnowneds are created with a floating reference | ||
| 1453 | // which usually just needs to be sunken by calling g_object_ref_sink(). | 1497 | // which usually just needs to be sunken by calling g_object_ref_sink(). | ||
| 1454 | func (x *Object) ForceFloating() { | 1498 | func (x *Object) ForceFloating() { | ||
| 1499 | + | core.LazyRegister(&xObjectForceFloating, "GOBJECT", "g_object_force_floating", false) | |||
| 1500 | + | ||||
| 1455 | xObjectForceFloating(x.GoPointer()) | 1501 | xObjectForceFloating(x.GoPointer()) | ||
| 1456 | } | 1502 | } | ||
| 1457 | 1503 | ||||
| @@ -1467,6 +1513,8 @@ var xObjectFreezeNotify func(uintptr) | |||||
| 1467 | // This is necessary for accessors that modify multiple properties to prevent | 1513 | // This is necessary for accessors that modify multiple properties to prevent | ||
| 1468 | // premature notification while the object is still being modified. | 1514 | // premature notification while the object is still being modified. | ||
| 1469 | func (x *Object) FreezeNotify() { | 1515 | func (x *Object) FreezeNotify() { | ||
| 1516 | + | core.LazyRegister(&xObjectFreezeNotify, "GOBJECT", "g_object_freeze_notify", false) | |||
| 1517 | + | ||||
| 1470 | xObjectFreezeNotify(x.GoPointer()) | 1518 | xObjectFreezeNotify(x.GoPointer()) | ||
| 1471 | } | 1519 | } | ||
| 1472 | 1520 | ||||
| @@ -1501,6 +1549,8 @@ var xObjectGet func(uintptr, string, ...interface{}) | |||||
| 1501 | // | 1549 | // | ||
| 1502 | // ]| | 1550 | // ]| | ||
| 1503 | func (x *Object) Get(FirstPropertyNameVar string, varArgs ...interface{}) { | 1551 | func (x *Object) Get(FirstPropertyNameVar string, varArgs ...interface{}) { | ||
| 1552 | + | core.LazyRegister(&xObjectGet, "GOBJECT", "g_object_get", false) | |||
| 1553 | + | ||||
| 1504 | xObjectGet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | 1554 | xObjectGet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | ||
| 1505 | } | 1555 | } | ||
| 1506 | 1556 | ||||
| @@ -1508,6 +1558,8 @@ var xObjectGetData func(uintptr, string) uintptr | |||||
| 1508 | 1558 | ||||
| 1509 | // Gets a named field from the objects table of associations (see g_object_set_data()). | 1559 | // Gets a named field from the objects table of associations (see g_object_set_data()). | ||
| 1510 | func (x *Object) GetData(KeyVar string) uintptr { | 1560 | func (x *Object) GetData(KeyVar string) uintptr { | ||
| 1561 | + | core.LazyRegister(&xObjectGetData, "GOBJECT", "g_object_get_data", false) | |||
| 1562 | + | ||||
| 1511 | cret := xObjectGetData(x.GoPointer(), KeyVar) | 1563 | cret := xObjectGetData(x.GoPointer(), KeyVar) | ||
| 1512 | return cret | 1564 | return cret | ||
| 1513 | } | 1565 | } | ||
| @@ -1531,6 +1583,8 @@ var xObjectGetProperty func(uintptr, string, *Value) | |||||
| 1531 | // Note that g_object_get_property() is really intended for language | 1583 | // Note that g_object_get_property() is really intended for language | ||
| 1532 | // bindings, g_object_get() is much more convenient for C programming. | 1584 | // bindings, g_object_get() is much more convenient for C programming. | ||
| 1533 | func (x *Object) GetProperty(PropertyNameVar string, ValueVar *Value) { | 1585 | func (x *Object) GetProperty(PropertyNameVar string, ValueVar *Value) { | ||
| 1586 | + | core.LazyRegister(&xObjectGetProperty, "GOBJECT", "g_object_get_property", false) | |||
| 1587 | + | ||||
| 1534 | xObjectGetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | 1588 | xObjectGetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | ||
| 1535 | } | 1589 | } | ||
| 1536 | 1590 | ||||
| @@ -1539,6 +1593,8 @@ var xObjectGetQdata func(uintptr, glib.Quark) uintptr | |||||
| 1539 | // This function gets back user data pointers stored via | 1593 | // This function gets back user data pointers stored via | ||
| 1540 | // g_object_set_qdata(). | 1594 | // g_object_set_qdata(). | ||
| 1541 | func (x *Object) GetQdata(QuarkVar glib.Quark) uintptr { | 1595 | func (x *Object) GetQdata(QuarkVar glib.Quark) uintptr { | ||
| 1596 | + | core.LazyRegister(&xObjectGetQdata, "GOBJECT", "g_object_get_qdata", false) | |||
| 1597 | + | ||||
| 1542 | cret := xObjectGetQdata(x.GoPointer(), QuarkVar) | 1598 | cret := xObjectGetQdata(x.GoPointer(), QuarkVar) | ||
| 1543 | return cret | 1599 | return cret | ||
| 1544 | } | 1600 | } | ||
| @@ -1553,6 +1609,8 @@ var xObjectGetValist func(uintptr, string, []interface{}) | |||||
| 1553 | // | 1609 | // | ||
| 1554 | // See g_object_get(). | 1610 | // See g_object_get(). | ||
| 1555 | func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | 1611 | func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | ||
| 1612 | + | core.LazyRegister(&xObjectGetValist, "GOBJECT", "g_object_get_valist", false) | |||
| 1613 | + | ||||
| 1556 | xObjectGetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | 1614 | xObjectGetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | ||
| 1557 | } | 1615 | } | ||
| 1558 | 1616 | ||||
| @@ -1563,6 +1621,8 @@ var xObjectGetv func(uintptr, uint, []string, []Value) | |||||
| 1563 | // Warnings will be emitted and undefined behaviour may result if invalid | 1621 | // Warnings will be emitted and undefined behaviour may result if invalid | ||
| 1564 | // properties are passed in. | 1622 | // properties are passed in. | ||
| 1565 | func (x *Object) Getv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | 1623 | func (x *Object) Getv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | ||
| 1624 | + | core.LazyRegister(&xObjectGetv, "GOBJECT", "g_object_getv", false) | |||
| 1625 | + | ||||
| 1566 | xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | 1626 | xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | ||
| 1567 | } | 1627 | } | ||
| 1568 | 1628 | ||||
| @@ -1570,6 +1630,8 @@ var xObjectIsFloating func(uintptr) bool | |||||
| 1570 | 1630 | ||||
| 1571 | // Checks whether @object has a [floating](floating-refs.html) reference. | 1631 | // Checks whether @object has a [floating](floating-refs.html) reference. | ||
| 1572 | func (x *Object) IsFloating() bool { | 1632 | func (x *Object) IsFloating() bool { | ||
| 1633 | + | core.LazyRegister(&xObjectIsFloating, "GOBJECT", "g_object_is_floating", false) | |||
| 1634 | + | ||||
| 1573 | cret := xObjectIsFloating(x.GoPointer()) | 1635 | cret := xObjectIsFloating(x.GoPointer()) | ||
| 1574 | return cret | 1636 | return cret | ||
| 1575 | } | 1637 | } | ||
| @@ -1587,6 +1649,8 @@ var xObjectNotify func(uintptr, string) | |||||
| 1587 | // and will be emitted (in reverse order) when g_object_thaw_notify() is | 1649 | // and will be emitted (in reverse order) when g_object_thaw_notify() is | ||
| 1588 | // called. | 1650 | // called. | ||
| 1589 | func (x *Object) Notify(PropertyNameVar string) { | 1651 | func (x *Object) Notify(PropertyNameVar string) { | ||
| 1652 | + | core.LazyRegister(&xObjectNotify, "GOBJECT", "g_object_notify", false) | |||
| 1653 | + | ||||
| 1590 | xObjectNotify(x.GoPointer(), PropertyNameVar) | 1654 | xObjectNotify(x.GoPointer(), PropertyNameVar) | ||
| 1591 | } | 1655 | } | ||
| 1592 | 1656 | ||||
| @@ -1634,6 +1698,8 @@ var xObjectNotifyByPspec func(uintptr, uintptr) | |||||
| 1634 | // | 1698 | // | ||
| 1635 | // ]| | 1699 | // ]| | ||
| 1636 | func (x *Object) NotifyByPspec(PspecVar *ParamSpec) { | 1700 | func (x *Object) NotifyByPspec(PspecVar *ParamSpec) { | ||
| 1701 | + | core.LazyRegister(&xObjectNotifyByPspec, "GOBJECT", "g_object_notify_by_pspec", false) | |||
| 1702 | + | ||||
| 1637 | xObjectNotifyByPspec(x.GoPointer(), PspecVar.GoPointer()) | 1703 | xObjectNotifyByPspec(x.GoPointer(), PspecVar.GoPointer()) | ||
| 1638 | } | 1704 | } | ||
| 1639 | 1705 | ||||
| @@ -1646,6 +1712,7 @@ var xObjectRef func(uintptr) uintptr | |||||
| 1646 | // extension), so any casting the caller needs to do on the return type must be | 1712 | // extension), so any casting the caller needs to do on the return type must be | ||
| 1647 | // explicit. | 1713 | // explicit. | ||
| 1648 | func (x *Object) Ref() *Object { | 1714 | func (x *Object) Ref() *Object { | ||
| 1715 | + | core.LazyRegister(&xObjectRef, "GOBJECT", "g_object_ref", false) | |||
| 1649 | var cls *Object | 1716 | var cls *Object | ||
| 1650 | 1717 | ||||
| 1651 | cret := xObjectRef(x.GoPointer()) | 1718 | cret := xObjectRef(x.GoPointer()) | ||
| @@ -1672,6 +1739,7 @@ var xObjectRefSink func(uintptr) uintptr | |||||
| 1672 | // Since GLib 2.56, the type of @object will be propagated to the return type | 1739 | // Since GLib 2.56, the type of @object will be propagated to the return type | ||
| 1673 | // under the same conditions as for g_object_ref(). | 1740 | // under the same conditions as for g_object_ref(). | ||
| 1674 | func (x *Object) RefSink() *Object { | 1741 | func (x *Object) RefSink() *Object { | ||
| 1742 | + | core.LazyRegister(&xObjectRefSink, "GOBJECT", "g_object_ref_sink", false) | |||
| 1675 | var cls *Object | 1743 | var cls *Object | ||
| 1676 | 1744 | ||||
| 1677 | cret := xObjectRefSink(x.GoPointer()) | 1745 | cret := xObjectRefSink(x.GoPointer()) | ||
| @@ -1695,6 +1763,8 @@ var xObjectRemoveToggleRef func(uintptr, uintptr, uintptr) | |||||
| 1695 | // might be a dangling pointer. If the object is destroyed on other threads, | 1763 | // might be a dangling pointer. If the object is destroyed on other threads, | ||
| 1696 | // you must take care of that yourself. | 1764 | // you must take care of that yourself. | ||
| 1697 | func (x *Object) RemoveToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | 1765 | func (x *Object) RemoveToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | ||
| 1766 | + | core.LazyRegister(&xObjectRemoveToggleRef, "GOBJECT", "g_object_remove_toggle_ref", false) | |||
| 1767 | + | ||||
| 1698 | xObjectRemoveToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | 1768 | xObjectRemoveToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | ||
| 1699 | } | 1769 | } | ||
| 1700 | 1770 | ||||
| @@ -1704,6 +1774,8 @@ var xObjectRemoveWeakPointer func(uintptr, *uintptr) | |||||
| 1704 | // using g_object_add_weak_pointer(). The @weak_pointer_location has | 1774 | // using g_object_add_weak_pointer(). The @weak_pointer_location has | ||
| 1705 | // to match the one used with g_object_add_weak_pointer(). | 1775 | // to match the one used with g_object_add_weak_pointer(). | ||
| 1706 | func (x *Object) RemoveWeakPointer(WeakPointerLocationVar *uintptr) { | 1776 | func (x *Object) RemoveWeakPointer(WeakPointerLocationVar *uintptr) { | ||
| 1777 | + | core.LazyRegister(&xObjectRemoveWeakPointer, "GOBJECT", "g_object_remove_weak_pointer", false) | |||
| 1778 | + | ||||
| 1707 | xObjectRemoveWeakPointer(x.GoPointer(), WeakPointerLocationVar) | 1779 | xObjectRemoveWeakPointer(x.GoPointer(), WeakPointerLocationVar) | ||
| 1708 | } | 1780 | } | ||
| 1709 | 1781 | ||||
| @@ -1726,6 +1798,8 @@ var xObjectReplaceData func(uintptr, string, uintptr, uintptr, uintptr, *glib.De | |||||
| 1726 | // See g_object_set_data() for guidance on using a small, bounded set of values | 1798 | // See g_object_set_data() for guidance on using a small, bounded set of values | ||
| 1727 | // for @key. | 1799 | // for @key. | ||
| 1728 | func (x *Object) ReplaceData(KeyVar string, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | 1800 | func (x *Object) ReplaceData(KeyVar string, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | ||
| 1801 | + | core.LazyRegister(&xObjectReplaceData, "GOBJECT", "g_object_replace_data", false) | |||
| 1802 | + | ||||
| 1729 | cret := xObjectReplaceData(x.GoPointer(), KeyVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | 1803 | cret := xObjectReplaceData(x.GoPointer(), KeyVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | ||
| 1730 | return cret | 1804 | return cret | ||
| 1731 | } | 1805 | } | ||
| @@ -1746,6 +1820,8 @@ var xObjectReplaceQdata func(uintptr, glib.Quark, uintptr, uintptr, uintptr, *gl | |||||
| 1746 | // or may not include using @old_destroy as sometimes replacement | 1820 | // or may not include using @old_destroy as sometimes replacement | ||
| 1747 | // should not destroy the object in the normal way. | 1821 | // should not destroy the object in the normal way. | ||
| 1748 | func (x *Object) ReplaceQdata(QuarkVar glib.Quark, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | 1822 | func (x *Object) ReplaceQdata(QuarkVar glib.Quark, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | ||
| 1823 | + | core.LazyRegister(&xObjectReplaceQdata, "GOBJECT", "g_object_replace_qdata", false) | |||
| 1824 | + | ||||
| 1749 | cret := xObjectReplaceQdata(x.GoPointer(), QuarkVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | 1825 | cret := xObjectReplaceQdata(x.GoPointer(), QuarkVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | ||
| 1750 | return cret | 1826 | return cret | ||
| 1751 | } | 1827 | } | ||
| @@ -1757,6 +1833,8 @@ var xObjectRunDispose func(uintptr) | |||||
| 1757 | // | 1833 | // | ||
| 1758 | // This function should only be called from object system implementations. | 1834 | // This function should only be called from object system implementations. | ||
| 1759 | func (x *Object) RunDispose() { | 1835 | func (x *Object) RunDispose() { | ||
| 1836 | + | core.LazyRegister(&xObjectRunDispose, "GOBJECT", "g_object_run_dispose", false) | |||
| 1837 | + | ||||
| 1760 | xObjectRunDispose(x.GoPointer()) | 1838 | xObjectRunDispose(x.GoPointer()) | ||
| 1761 | } | 1839 | } | ||
| 1762 | 1840 | ||||
| @@ -1773,6 +1851,8 @@ var xObjectSet func(uintptr, string, ...interface{}) | |||||
| 1773 | // reverse order) after all properties have been set. See | 1851 | // reverse order) after all properties have been set. See | ||
| 1774 | // g_object_freeze_notify(). | 1852 | // g_object_freeze_notify(). | ||
| 1775 | func (x *Object) Set(FirstPropertyNameVar string, varArgs ...interface{}) { | 1853 | func (x *Object) Set(FirstPropertyNameVar string, varArgs ...interface{}) { | ||
| 1854 | + | core.LazyRegister(&xObjectSet, "GOBJECT", "g_object_set", false) | |||
| 1855 | + | ||||
| 1776 | xObjectSet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | 1856 | xObjectSet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | ||
| 1777 | } | 1857 | } | ||
| 1778 | 1858 | ||||
| @@ -1789,6 +1869,8 @@ var xObjectSetData func(uintptr, string, uintptr) | |||||
| 1789 | // finalized) — so it is recommended to only use a small, bounded set of values | 1869 | // finalized) — so it is recommended to only use a small, bounded set of values | ||
| 1790 | // for @key in your program, to avoid the #GQuark storage growing unbounded. | 1870 | // for @key in your program, to avoid the #GQuark storage growing unbounded. | ||
| 1791 | func (x *Object) SetData(KeyVar string, DataVar uintptr) { | 1871 | func (x *Object) SetData(KeyVar string, DataVar uintptr) { | ||
| 1872 | + | core.LazyRegister(&xObjectSetData, "GOBJECT", "g_object_set_data", false) | |||
| 1873 | + | ||||
| 1792 | xObjectSetData(x.GoPointer(), KeyVar, DataVar) | 1874 | xObjectSetData(x.GoPointer(), KeyVar, DataVar) | ||
| 1793 | } | 1875 | } | ||
| 1794 | 1876 | ||||
| @@ -1800,6 +1882,8 @@ var xObjectSetDataFull func(uintptr, string, uintptr, uintptr) | |||||
| 1800 | // | 1882 | // | ||
| 1801 | // Note that the @destroy callback is not called if @data is %NULL. | 1883 | // Note that the @destroy callback is not called if @data is %NULL. | ||
| 1802 | func (x *Object) SetDataFull(KeyVar string, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | 1884 | func (x *Object) SetDataFull(KeyVar string, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | ||
| 1885 | + | core.LazyRegister(&xObjectSetDataFull, "GOBJECT", "g_object_set_data_full", false) | |||
| 1886 | + | ||||
| 1803 | xObjectSetDataFull(x.GoPointer(), KeyVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | 1887 | xObjectSetDataFull(x.GoPointer(), KeyVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | ||
| 1804 | } | 1888 | } | ||
| 1805 | 1889 | ||||
| @@ -1807,6 +1891,8 @@ var xObjectSetProperty func(uintptr, string, *Value) | |||||
| 1807 | 1891 | ||||
| 1808 | // Sets a property on an object. | 1892 | // Sets a property on an object. | ||
| 1809 | func (x *Object) SetProperty(PropertyNameVar string, ValueVar *Value) { | 1893 | func (x *Object) SetProperty(PropertyNameVar string, ValueVar *Value) { | ||
| 1894 | + | core.LazyRegister(&xObjectSetProperty, "GOBJECT", "g_object_set_property", false) | |||
| 1895 | + | ||||
| 1810 | xObjectSetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | 1896 | xObjectSetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | ||
| 1811 | } | 1897 | } | ||
| 1812 | 1898 | ||||
| @@ -1821,6 +1907,8 @@ var xObjectSetQdata func(uintptr, glib.Quark, uintptr) | |||||
| 1821 | // the old pointer set, using #NULL as pointer essentially | 1907 | // the old pointer set, using #NULL as pointer essentially | ||
| 1822 | // removes the data stored. | 1908 | // removes the data stored. | ||
| 1823 | func (x *Object) SetQdata(QuarkVar glib.Quark, DataVar uintptr) { | 1909 | func (x *Object) SetQdata(QuarkVar glib.Quark, DataVar uintptr) { | ||
| 1910 | + | core.LazyRegister(&xObjectSetQdata, "GOBJECT", "g_object_set_qdata", false) | |||
| 1911 | + | ||||
| 1824 | xObjectSetQdata(x.GoPointer(), QuarkVar, DataVar) | 1912 | xObjectSetQdata(x.GoPointer(), QuarkVar, DataVar) | ||
| 1825 | } | 1913 | } | ||
| 1826 | 1914 | ||||
| @@ -1832,6 +1920,8 @@ var xObjectSetQdataFull func(uintptr, glib.Quark, uintptr, uintptr) | |||||
| 1832 | // the data is being overwritten by a call to g_object_set_qdata() | 1920 | // the data is being overwritten by a call to g_object_set_qdata() | ||
| 1833 | // with the same @quark. | 1921 | // with the same @quark. | ||
| 1834 | func (x *Object) SetQdataFull(QuarkVar glib.Quark, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | 1922 | func (x *Object) SetQdataFull(QuarkVar glib.Quark, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | ||
| 1923 | + | core.LazyRegister(&xObjectSetQdataFull, "GOBJECT", "g_object_set_qdata_full", false) | |||
| 1924 | + | ||||
| 1835 | xObjectSetQdataFull(x.GoPointer(), QuarkVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | 1925 | xObjectSetQdataFull(x.GoPointer(), QuarkVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | ||
| 1836 | } | 1926 | } | ||
| 1837 | 1927 | ||||
| @@ -1839,6 +1929,8 @@ var xObjectSetValist func(uintptr, string, []interface{}) | |||||
| 1839 | 1929 | ||||
| 1840 | // Sets properties on an object. | 1930 | // Sets properties on an object. | ||
| 1841 | func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | 1931 | func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | ||
| 1932 | + | core.LazyRegister(&xObjectSetValist, "GOBJECT", "g_object_set_valist", false) | |||
| 1933 | + | ||||
| 1842 | xObjectSetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | 1934 | xObjectSetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | ||
| 1843 | } | 1935 | } | ||
| 1844 | 1936 | ||||
| @@ -1849,6 +1941,8 @@ var xObjectSetv func(uintptr, uint, []string, []Value) | |||||
| 1849 | // valid. Warnings will be emitted and undefined behaviour may result if invalid | 1941 | // valid. Warnings will be emitted and undefined behaviour may result if invalid | ||
| 1850 | // properties are passed in. | 1942 | // properties are passed in. | ||
| 1851 | func (x *Object) Setv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | 1943 | func (x *Object) Setv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | ||
| 1944 | + | core.LazyRegister(&xObjectSetv, "GOBJECT", "g_object_setv", false) | |||
| 1945 | + | ||||
| 1852 | xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | 1946 | xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | ||
| 1853 | } | 1947 | } | ||
| 1854 | 1948 | ||||
| @@ -1857,6 +1951,8 @@ var xObjectStealData func(uintptr, string) uintptr | |||||
| 1857 | // Remove a specified datum from the object's data associations, | 1951 | // Remove a specified datum from the object's data associations, | ||
| 1858 | // without invoking the association's destroy handler. | 1952 | // without invoking the association's destroy handler. | ||
| 1859 | func (x *Object) StealData(KeyVar string) uintptr { | 1953 | func (x *Object) StealData(KeyVar string) uintptr { | ||
| 1954 | + | core.LazyRegister(&xObjectStealData, "GOBJECT", "g_object_steal_data", false) | |||
| 1955 | + | ||||
| 1860 | cret := xObjectStealData(x.GoPointer(), KeyVar) | 1956 | cret := xObjectStealData(x.GoPointer(), KeyVar) | ||
| 1861 | return cret | 1957 | return cret | ||
| 1862 | } | 1958 | } | ||
| @@ -1904,6 +2000,8 @@ var xObjectStealQdata func(uintptr, glib.Quark) uintptr | |||||
| 1904 | // and thus the partial string list would have been freed upon | 2000 | // and thus the partial string list would have been freed upon | ||
| 1905 | // g_object_set_qdata_full(). | 2001 | // g_object_set_qdata_full(). | ||
| 1906 | func (x *Object) StealQdata(QuarkVar glib.Quark) uintptr { | 2002 | func (x *Object) StealQdata(QuarkVar glib.Quark) uintptr { | ||
| 2003 | + | core.LazyRegister(&xObjectStealQdata, "GOBJECT", "g_object_steal_qdata", false) | |||
| 2004 | + | ||||
| 1907 | cret := xObjectStealQdata(x.GoPointer(), QuarkVar) | 2005 | cret := xObjectStealQdata(x.GoPointer(), QuarkVar) | ||
| 1908 | return cret | 2006 | return cret | ||
| 1909 | } | 2007 | } | ||
| @@ -1946,6 +2044,7 @@ var xObjectTakeRef func(uintptr) uintptr | |||||
| 1946 | // additional reference on top of that one is added. It is best to avoid | 2044 | // additional reference on top of that one is added. It is best to avoid | ||
| 1947 | // this situation. | 2045 | // this situation. | ||
| 1948 | func (x *Object) TakeRef() *Object { | 2046 | func (x *Object) TakeRef() *Object { | ||
| 2047 | + | core.LazyRegister(&xObjectTakeRef, "GOBJECT", "g_object_take_ref", false) | |||
| 1949 | var cls *Object | 2048 | var cls *Object | ||
| 1950 | 2049 | ||||
| 1951 | cret := xObjectTakeRef(x.GoPointer()) | 2050 | cret := xObjectTakeRef(x.GoPointer()) | ||
| @@ -1970,6 +2069,8 @@ var xObjectThawNotify func(uintptr) | |||||
| 1970 | // | 2069 | // | ||
| 1971 | // It is an error to call this function when the freeze count is zero. | 2070 | // It is an error to call this function when the freeze count is zero. | ||
| 1972 | func (x *Object) ThawNotify() { | 2071 | func (x *Object) ThawNotify() { | ||
| 2072 | + | core.LazyRegister(&xObjectThawNotify, "GOBJECT", "g_object_thaw_notify", false) | |||
| 2073 | + | ||||
| 1973 | xObjectThawNotify(x.GoPointer()) | 2074 | xObjectThawNotify(x.GoPointer()) | ||
| 1974 | } | 2075 | } | ||
| 1975 | 2076 | ||||
| @@ -1983,6 +2084,8 @@ var xObjectUnref func(uintptr) | |||||
| 1983 | // pointer to %NULL rather than retain a dangling pointer to a potentially | 2084 | // pointer to %NULL rather than retain a dangling pointer to a potentially | ||
| 1984 | // invalid #GObject instance. Use g_clear_object() for this. | 2085 | // invalid #GObject instance. Use g_clear_object() for this. | ||
| 1985 | func (x *Object) Unref() { | 2086 | func (x *Object) Unref() { | ||
| 2087 | + | core.LazyRegister(&xObjectUnref, "GOBJECT", "g_object_unref", false) | |||
| 2088 | + | ||||
| 1986 | xObjectUnref(x.GoPointer()) | 2089 | xObjectUnref(x.GoPointer()) | ||
| 1987 | } | 2090 | } | ||
| 1988 | 2091 | ||||
| @@ -1998,6 +2101,8 @@ var xObjectWatchClosure func(uintptr, *Closure) | |||||
| 1998 | // @closure. Usually, this function will be called on closures that | 2101 | // @closure. Usually, this function will be called on closures that | ||
| 1999 | // use this @object as closure data. | 2102 | // use this @object as closure data. | ||
| 2000 | func (x *Object) WatchClosure(ClosureVar *Closure) { | 2103 | func (x *Object) WatchClosure(ClosureVar *Closure) { | ||
| 2104 | + | core.LazyRegister(&xObjectWatchClosure, "GOBJECT", "g_object_watch_closure", false) | |||
| 2105 | + | ||||
| 2001 | xObjectWatchClosure(x.GoPointer(), ClosureVar) | 2106 | xObjectWatchClosure(x.GoPointer(), ClosureVar) | ||
| 2002 | } | 2107 | } | ||
| 2003 | 2108 | ||||
| @@ -2014,6 +2119,8 @@ var xObjectWeakRef func(uintptr, uintptr, uintptr) | |||||
| 2014 | // object's last g_object_unref() might happen in another thread. | 2119 | // object's last g_object_unref() might happen in another thread. | ||
| 2015 | // Use #GWeakRef if thread-safety is required. | 2120 | // Use #GWeakRef if thread-safety is required. | ||
| 2016 | func (x *Object) WeakRef(NotifyVar *WeakNotify, DataVar uintptr) { | 2121 | func (x *Object) WeakRef(NotifyVar *WeakNotify, DataVar uintptr) { | ||
| 2122 | + | core.LazyRegister(&xObjectWeakRef, "GOBJECT", "g_object_weak_ref", false) | |||
| 2123 | + | ||||
| 2017 | xObjectWeakRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | 2124 | xObjectWeakRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | ||
| 2018 | } | 2125 | } | ||
| 2019 | 2126 | ||||
| @@ -2021,6 +2128,8 @@ var xObjectWeakUnref func(uintptr, uintptr, uintptr) | |||||
| 2021 | 2128 | ||||
| 2022 | // Removes a weak reference callback to an object. | 2129 | // Removes a weak reference callback to an object. | ||
| 2023 | func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | 2130 | func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | ||
| 2131 | + | core.LazyRegister(&xObjectWeakUnref, "GOBJECT", "g_object_weak_unref", false) | |||
| 2132 | + | ||||
| 2024 | xObjectWeakUnref(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | 2133 | xObjectWeakUnref(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | ||
| 2025 | } | 2134 | } | ||
| 2026 | 2135 | ||||
| @@ -2087,6 +2196,8 @@ func (x *Object) ConnectNotify(cb *func(Object, uintptr)) uint { | |||||
| 2087 | var xObjectCompatControl func(uint, uintptr) uint | 2196 | var xObjectCompatControl func(uint, uintptr) uint | ||
| 2088 | 2197 | ||||
| 2089 | func ObjectCompatControl(WhatVar uint, DataVar uintptr) uint { | 2198 | func ObjectCompatControl(WhatVar uint, DataVar uintptr) uint { | ||
| 2199 | + | core.LazyRegister(&xObjectCompatControl, "GOBJECT", "g_object_compat_control", false) | |||
| 2200 | + | ||||
| 2090 | cret := xObjectCompatControl(WhatVar, DataVar) | 2201 | cret := xObjectCompatControl(WhatVar, DataVar) | ||
| 2091 | return cret | 2202 | return cret | ||
| 2092 | } | 2203 | } | ||
| @@ -2099,6 +2210,7 @@ var xObjectInterfaceFindProperty func(*TypeInterface, string) uintptr | |||||
| 2099 | // if you know the interface has already been loaded, | 2210 | // if you know the interface has already been loaded, | ||
| 2100 | // g_type_default_interface_peek(). | 2211 | // g_type_default_interface_peek(). | ||
| 2101 | func ObjectInterfaceFindProperty(GIfaceVar *TypeInterface, PropertyNameVar string) *ParamSpec { | 2212 | func ObjectInterfaceFindProperty(GIfaceVar *TypeInterface, PropertyNameVar string) *ParamSpec { | ||
| 2213 | + | core.LazyRegister(&xObjectInterfaceFindProperty, "GOBJECT", "g_object_interface_find_property", false) | |||
| 2102 | var cls *ParamSpec | 2214 | var cls *ParamSpec | ||
| 2103 | 2215 | ||||
| 2104 | cret := xObjectInterfaceFindProperty(GIfaceVar, PropertyNameVar) | 2216 | cret := xObjectInterfaceFindProperty(GIfaceVar, PropertyNameVar) | ||
| @@ -2131,6 +2243,8 @@ var xObjectInterfaceInstallProperty func(*TypeInterface, uintptr) | |||||
| 2131 | // | 2243 | // | ||
| 2132 | // If @pspec is a floating reference, it will be consumed. | 2244 | // If @pspec is a floating reference, it will be consumed. | ||
| 2133 | func ObjectInterfaceInstallProperty(GIfaceVar *TypeInterface, PspecVar *ParamSpec) { | 2245 | func ObjectInterfaceInstallProperty(GIfaceVar *TypeInterface, PspecVar *ParamSpec) { | ||
| 2246 | + | core.LazyRegister(&xObjectInterfaceInstallProperty, "GOBJECT", "g_object_interface_install_property", false) | |||
| 2247 | + | ||||
| 2134 | xObjectInterfaceInstallProperty(GIfaceVar, PspecVar.GoPointer()) | 2248 | xObjectInterfaceInstallProperty(GIfaceVar, PspecVar.GoPointer()) | ||
| 2135 | } | 2249 | } | ||
| 2136 | 2250 | ||||
| @@ -2141,6 +2255,8 @@ var xObjectInterfaceListProperties func(*TypeInterface, *uint) uintptr | |||||
| 2141 | // g_type_default_interface_ref(), or, if you know the interface has | 2255 | // g_type_default_interface_ref(), or, if you know the interface has | ||
| 2142 | // already been loaded, g_type_default_interface_peek(). | 2256 | // already been loaded, g_type_default_interface_peek(). | ||
| 2143 | func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *uint) uintptr { | 2257 | func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *uint) uintptr { | ||
| 2258 | + | core.LazyRegister(&xObjectInterfaceListProperties, "GOBJECT", "g_object_interface_list_properties", false) | |||
| 2259 | + | ||||
| 2144 | cret := xObjectInterfaceListProperties(GIfaceVar, NPropertiesPVar) | 2260 | cret := xObjectInterfaceListProperties(GIfaceVar, NPropertiesPVar) | ||
| 2145 | return cret | 2261 | return cret | ||
| 2146 | } | 2262 | } | ||
| @@ -2148,86 +2264,4 @@ func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *ui | |||||
| 2148 | func init() { | 2264 | func init() { | ||
| 2149 | core.SetPackageName("GOBJECT", "gobject-2.0") | 2265 | core.SetPackageName("GOBJECT", "gobject-2.0") | ||
| 2150 | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | 2266 | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | ||
| 2151 | - | var libs []uintptr | |||
| 2152 | - | for _, libPath := range core.GetPaths("GOBJECT") { | |||
| 2153 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 2154 | - | if err != nil { | |||
| 2155 | - | panic(err) | |||
| 2156 | - | } | |||
| 2157 | - | libs = append(libs, lib) | |||
| 2158 | - | } | |||
| 2159 | - | ||||
| 2160 | - | core.PuregoSafeRegister(&xCclosureNewObject, libs, "g_cclosure_new_object") | |||
| 2161 | - | core.PuregoSafeRegister(&xCclosureNewObjectSwap, libs, "g_cclosure_new_object_swap") | |||
| 2162 | - | core.PuregoSafeRegister(&xClearObject, libs, "g_clear_object") | |||
| 2163 | - | core.PuregoSafeRegister(&xSignalConnectObject, libs, "g_signal_connect_object") | |||
| 2164 | - | ||||
| 2165 | - | core.PuregoSafeRegister(&xObjectClassFindProperty, libs, "g_object_class_find_property") | |||
| 2166 | - | core.PuregoSafeRegister(&xObjectClassInstallProperties, libs, "g_object_class_install_properties") | |||
| 2167 | - | core.PuregoSafeRegister(&xObjectClassInstallProperty, libs, "g_object_class_install_property") | |||
| 2168 | - | core.PuregoSafeRegister(&xObjectClassListProperties, libs, "g_object_class_list_properties") | |||
| 2169 | - | core.PuregoSafeRegister(&xObjectClassOverrideProperty, libs, "g_object_class_override_property") | |||
| 2170 | - | ||||
| 2171 | - | core.PuregoSafeRegister(&xWeakRefClear, libs, "g_weak_ref_clear") | |||
| 2172 | - | core.PuregoSafeRegister(&xWeakRefGet, libs, "g_weak_ref_get") | |||
| 2173 | - | core.PuregoSafeRegister(&xWeakRefInit, libs, "g_weak_ref_init") | |||
| 2174 | - | core.PuregoSafeRegister(&xWeakRefSet, libs, "g_weak_ref_set") | |||
| 2175 | - | ||||
| 2176 | - | core.PuregoSafeRegister(&xInitiallyUnownedGLibType, libs, "g_initially_unowned_get_type") | |||
| 2177 | - | ||||
| 2178 | - | core.PuregoSafeRegister(&xObjectGLibType, libs, "g_object_get_type") | |||
| 2179 | - | ||||
| 2180 | - | core.PuregoSafeRegister(&xNewObject, libs, "g_object_new") | |||
| 2181 | - | core.PuregoSafeRegister(&xNewObjectValist, libs, "g_object_new_valist") | |||
| 2182 | - | core.PuregoSafeRegister(&xNewObjectWithProperties, libs, "g_object_new_with_properties") | |||
| 2183 | - | core.PuregoSafeRegister(&xNewObjectv, libs, "g_object_newv") | |||
| 2184 | - | ||||
| 2185 | - | core.PuregoSafeRegister(&xObjectAddToggleRef, libs, "g_object_add_toggle_ref") | |||
| 2186 | - | core.PuregoSafeRegister(&xObjectAddWeakPointer, libs, "g_object_add_weak_pointer") | |||
| 2187 | - | core.PuregoSafeRegister(&xObjectBindProperty, libs, "g_object_bind_property") | |||
| 2188 | - | core.PuregoSafeRegister(&xObjectBindPropertyFull, libs, "g_object_bind_property_full") | |||
| 2189 | - | core.PuregoSafeRegister(&xObjectBindPropertyWithClosures, libs, "g_object_bind_property_with_closures") | |||
| 2190 | - | core.PuregoSafeRegister(&xObjectConnect, libs, "g_object_connect") | |||
| 2191 | - | core.PuregoSafeRegister(&xObjectDisconnect, libs, "g_object_disconnect") | |||
| 2192 | - | core.PuregoSafeRegister(&xObjectDupData, libs, "g_object_dup_data") | |||
| 2193 | - | core.PuregoSafeRegister(&xObjectDupQdata, libs, "g_object_dup_qdata") | |||
| 2194 | - | core.PuregoSafeRegister(&xObjectForceFloating, libs, "g_object_force_floating") | |||
| 2195 | - | core.PuregoSafeRegister(&xObjectFreezeNotify, libs, "g_object_freeze_notify") | |||
| 2196 | - | core.PuregoSafeRegister(&xObjectGet, libs, "g_object_get") | |||
| 2197 | - | core.PuregoSafeRegister(&xObjectGetData, libs, "g_object_get_data") | |||
| 2198 | - | core.PuregoSafeRegister(&xObjectGetProperty, libs, "g_object_get_property") | |||
| 2199 | - | core.PuregoSafeRegister(&xObjectGetQdata, libs, "g_object_get_qdata") | |||
| 2200 | - | core.PuregoSafeRegister(&xObjectGetValist, libs, "g_object_get_valist") | |||
| 2201 | - | core.PuregoSafeRegister(&xObjectGetv, libs, "g_object_getv") | |||
| 2202 | - | core.PuregoSafeRegister(&xObjectIsFloating, libs, "g_object_is_floating") | |||
| 2203 | - | core.PuregoSafeRegister(&xObjectNotify, libs, "g_object_notify") | |||
| 2204 | - | core.PuregoSafeRegister(&xObjectNotifyByPspec, libs, "g_object_notify_by_pspec") | |||
| 2205 | - | core.PuregoSafeRegister(&xObjectRef, libs, "g_object_ref") | |||
| 2206 | - | core.PuregoSafeRegister(&xObjectRefSink, libs, "g_object_ref_sink") | |||
| 2207 | - | core.PuregoSafeRegister(&xObjectRemoveToggleRef, libs, "g_object_remove_toggle_ref") | |||
| 2208 | - | core.PuregoSafeRegister(&xObjectRemoveWeakPointer, libs, "g_object_remove_weak_pointer") | |||
| 2209 | - | core.PuregoSafeRegister(&xObjectReplaceData, libs, "g_object_replace_data") | |||
| 2210 | - | core.PuregoSafeRegister(&xObjectReplaceQdata, libs, "g_object_replace_qdata") | |||
| 2211 | - | core.PuregoSafeRegister(&xObjectRunDispose, libs, "g_object_run_dispose") | |||
| 2212 | - | core.PuregoSafeRegister(&xObjectSet, libs, "g_object_set") | |||
| 2213 | - | core.PuregoSafeRegister(&xObjectSetData, libs, "g_object_set_data") | |||
| 2214 | - | core.PuregoSafeRegister(&xObjectSetDataFull, libs, "g_object_set_data_full") | |||
| 2215 | - | core.PuregoSafeRegister(&xObjectSetProperty, libs, "g_object_set_property") | |||
| 2216 | - | core.PuregoSafeRegister(&xObjectSetQdata, libs, "g_object_set_qdata") | |||
| 2217 | - | core.PuregoSafeRegister(&xObjectSetQdataFull, libs, "g_object_set_qdata_full") | |||
| 2218 | - | core.PuregoSafeRegister(&xObjectSetValist, libs, "g_object_set_valist") | |||
| 2219 | - | core.PuregoSafeRegister(&xObjectSetv, libs, "g_object_setv") | |||
| 2220 | - | core.PuregoSafeRegister(&xObjectStealData, libs, "g_object_steal_data") | |||
| 2221 | - | core.PuregoSafeRegister(&xObjectStealQdata, libs, "g_object_steal_qdata") | |||
| 2222 | - | core.PuregoSafeRegister(&xObjectTakeRef, libs, "g_object_take_ref") | |||
| 2223 | - | core.PuregoSafeRegister(&xObjectThawNotify, libs, "g_object_thaw_notify") | |||
| 2224 | - | core.PuregoSafeRegister(&xObjectUnref, libs, "g_object_unref") | |||
| 2225 | - | core.PuregoSafeRegister(&xObjectWatchClosure, libs, "g_object_watch_closure") | |||
| 2226 | - | core.PuregoSafeRegister(&xObjectWeakRef, libs, "g_object_weak_ref") | |||
| 2227 | - | core.PuregoSafeRegister(&xObjectWeakUnref, libs, "g_object_weak_unref") | |||
| 2228 | - | ||||
| 2229 | - | core.PuregoSafeRegister(&xObjectCompatControl, libs, "g_object_compat_control") | |||
| 2230 | - | core.PuregoSafeRegister(&xObjectInterfaceFindProperty, libs, "g_object_interface_find_property") | |||
| 2231 | - | core.PuregoSafeRegister(&xObjectInterfaceInstallProperty, libs, "g_object_interface_install_property") | |||
| 2232 | - | core.PuregoSafeRegister(&xObjectInterfaceListProperties, libs, "g_object_interface_list_properties") | |||
| 2233 | } | 2267 | } | ||