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
| @@ -4,7 +4,6 @@ package gio | |||
| 4 | 4 | import ( | |
| 5 | 5 | "unsafe" | |
| 6 | 6 | ||
| 7 | - | "github.com/bnema/purego" | |
| 8 | 7 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 8 | "github.com/bnema/puregotk/v4/glib" | |
| 10 | 9 | "github.com/bnema/puregotk/v4/gobject" | |
| @@ -50,6 +49,7 @@ type DBusMethodInvocation struct { | |||
| 50 | 49 | var xDBusMethodInvocationGLibType func() types.GType | |
| 51 | 50 | ||
| 52 | 51 | func DBusMethodInvocationGLibType() types.GType { | |
| 52 | + | core.LazyRegister(&xDBusMethodInvocationGLibType, "GIO", "g_dbus_method_invocation_get_type", false) | |
| 53 | 53 | return xDBusMethodInvocationGLibType() | |
| 54 | 54 | } | |
| 55 | 55 | ||
| @@ -63,6 +63,7 @@ var xDBusMethodInvocationGetConnection func(uintptr) uintptr | |||
| 63 | 63 | ||
| 64 | 64 | // Gets the #GDBusConnection the method was invoked on. | |
| 65 | 65 | func (x *DBusMethodInvocation) GetConnection() *DBusConnection { | |
| 66 | + | core.LazyRegister(&xDBusMethodInvocationGetConnection, "GIO", "g_dbus_method_invocation_get_connection", false) | |
| 66 | 67 | var cls *DBusConnection | |
| 67 | 68 | ||
| 68 | 69 | cret := xDBusMethodInvocationGetConnection(x.GoPointer()) | |
| @@ -90,6 +91,8 @@ var xDBusMethodInvocationGetInterfaceName func(uintptr) string | |||
| 90 | 91 | // "org.freedesktop.DBus.Properties" will be returned. See | |
| 91 | 92 | // #GDBusInterfaceVTable for more information. | |
| 92 | 93 | func (x *DBusMethodInvocation) GetInterfaceName() string { | |
| 94 | + | core.LazyRegister(&xDBusMethodInvocationGetInterfaceName, "GIO", "g_dbus_method_invocation_get_interface_name", false) | |
| 95 | + | ||
| 93 | 96 | cret := xDBusMethodInvocationGetInterfaceName(x.GoPointer()) | |
| 94 | 97 | return cret | |
| 95 | 98 | } | |
| @@ -106,6 +109,7 @@ var xDBusMethodInvocationGetMessage func(uintptr) uintptr | |||
| 106 | 109 | // for an example of how to use this low-level API to send and receive | |
| 107 | 110 | // UNIX file descriptors. | |
| 108 | 111 | func (x *DBusMethodInvocation) GetMessage() *DBusMessage { | |
| 112 | + | core.LazyRegister(&xDBusMethodInvocationGetMessage, "GIO", "g_dbus_method_invocation_get_message", false) | |
| 109 | 113 | var cls *DBusMessage | |
| 110 | 114 | ||
| 111 | 115 | cret := xDBusMethodInvocationGetMessage(x.GoPointer()) | |
| @@ -128,6 +132,8 @@ var xDBusMethodInvocationGetMethodInfo func(uintptr) uintptr | |||
| 128 | 132 | // returned. See g_dbus_method_invocation_get_property_info() and | |
| 129 | 133 | // #GDBusInterfaceVTable for more information. | |
| 130 | 134 | func (x *DBusMethodInvocation) GetMethodInfo() *DBusMethodInfo { | |
| 135 | + | core.LazyRegister(&xDBusMethodInvocationGetMethodInfo, "GIO", "g_dbus_method_invocation_get_method_info", false) | |
| 136 | + | ||
| 131 | 137 | cret := xDBusMethodInvocationGetMethodInfo(x.GoPointer()) | |
| 132 | 138 | if cret == 0 { | |
| 133 | 139 | return nil | |
| @@ -139,6 +145,8 @@ var xDBusMethodInvocationGetMethodName func(uintptr) string | |||
| 139 | 145 | ||
| 140 | 146 | // Gets the name of the method that was invoked. | |
| 141 | 147 | func (x *DBusMethodInvocation) GetMethodName() string { | |
| 148 | + | core.LazyRegister(&xDBusMethodInvocationGetMethodName, "GIO", "g_dbus_method_invocation_get_method_name", false) | |
| 149 | + | ||
| 142 | 150 | cret := xDBusMethodInvocationGetMethodName(x.GoPointer()) | |
| 143 | 151 | return cret | |
| 144 | 152 | } | |
| @@ -147,6 +155,8 @@ var xDBusMethodInvocationGetObjectPath func(uintptr) string | |||
| 147 | 155 | ||
| 148 | 156 | // Gets the object path the method was invoked on. | |
| 149 | 157 | func (x *DBusMethodInvocation) GetObjectPath() string { | |
| 158 | + | core.LazyRegister(&xDBusMethodInvocationGetObjectPath, "GIO", "g_dbus_method_invocation_get_object_path", false) | |
| 159 | + | ||
| 150 | 160 | cret := xDBusMethodInvocationGetObjectPath(x.GoPointer()) | |
| 151 | 161 | return cret | |
| 152 | 162 | } | |
| @@ -156,6 +166,8 @@ var xDBusMethodInvocationGetParameters func(uintptr) uintptr | |||
| 156 | 166 | // Gets the parameters of the method invocation. If there are no input | |
| 157 | 167 | // parameters then this will return a GVariant with 0 children rather than NULL. | |
| 158 | 168 | func (x *DBusMethodInvocation) GetParameters() *glib.Variant { | |
| 169 | + | core.LazyRegister(&xDBusMethodInvocationGetParameters, "GIO", "g_dbus_method_invocation_get_parameters", false) | |
| 170 | + | ||
| 159 | 171 | cret := xDBusMethodInvocationGetParameters(x.GoPointer()) | |
| 160 | 172 | if cret == 0 { | |
| 161 | 173 | return nil | |
| @@ -177,6 +189,8 @@ var xDBusMethodInvocationGetPropertyInfo func(uintptr) uintptr | |||
| 177 | 189 | // | |
| 178 | 190 | // If the call was GetAll, %NULL will be returned. | |
| 179 | 191 | func (x *DBusMethodInvocation) GetPropertyInfo() *DBusPropertyInfo { | |
| 192 | + | core.LazyRegister(&xDBusMethodInvocationGetPropertyInfo, "GIO", "g_dbus_method_invocation_get_property_info", false) | |
| 193 | + | ||
| 180 | 194 | cret := xDBusMethodInvocationGetPropertyInfo(x.GoPointer()) | |
| 181 | 195 | if cret == 0 { | |
| 182 | 196 | return nil | |
| @@ -191,6 +205,8 @@ var xDBusMethodInvocationGetSender func(uintptr) string | |||
| 191 | 205 | // This can return %NULL if not specified by the caller, e.g. on peer-to-peer | |
| 192 | 206 | // connections. | |
| 193 | 207 | func (x *DBusMethodInvocation) GetSender() string { | |
| 208 | + | core.LazyRegister(&xDBusMethodInvocationGetSender, "GIO", "g_dbus_method_invocation_get_sender", false) | |
| 209 | + | ||
| 194 | 210 | cret := xDBusMethodInvocationGetSender(x.GoPointer()) | |
| 195 | 211 | return cret | |
| 196 | 212 | } | |
| @@ -199,6 +215,8 @@ var xDBusMethodInvocationGetUserData func(uintptr) uintptr | |||
| 199 | 215 | ||
| 200 | 216 | // Gets the @user_data #gpointer passed to g_dbus_connection_register_object(). | |
| 201 | 217 | func (x *DBusMethodInvocation) GetUserData() uintptr { | |
| 218 | + | core.LazyRegister(&xDBusMethodInvocationGetUserData, "GIO", "g_dbus_method_invocation_get_user_data", false) | |
| 219 | + | ||
| 202 | 220 | cret := xDBusMethodInvocationGetUserData(x.GoPointer()) | |
| 203 | 221 | return cret | |
| 204 | 222 | } | |
| @@ -211,6 +229,8 @@ var xDBusMethodInvocationReturnDbusError func(uintptr, string, string) | |||
| 211 | 229 | // #GDBusInterfaceVTable for more information about the ownership of | |
| 212 | 230 | // @invocation. | |
| 213 | 231 | func (x *DBusMethodInvocation) ReturnDbusError(ErrorNameVar string, ErrorMessageVar string) { | |
| 232 | + | core.LazyRegister(&xDBusMethodInvocationReturnDbusError, "GIO", "g_dbus_method_invocation_return_dbus_error", false) | |
| 233 | + | ||
| 214 | 234 | xDBusMethodInvocationReturnDbusError(x.GoPointer(), ErrorNameVar, ErrorMessageVar) | |
| 215 | 235 | } | |
| 216 | 236 | ||
| @@ -237,6 +257,8 @@ var xDBusMethodInvocationReturnError func(uintptr, glib.Quark, int, string, ...i | |||
| 237 | 257 | // then this call will free @invocation but otherwise do nothing (as per | |
| 238 | 258 | // the recommendations of the D-Bus specification). | |
| 239 | 259 | func (x *DBusMethodInvocation) ReturnError(DomainVar glib.Quark, CodeVar int, FormatVar string, varArgs ...interface{}) { | |
| 260 | + | core.LazyRegister(&xDBusMethodInvocationReturnError, "GIO", "g_dbus_method_invocation_return_error", false) | |
| 261 | + | ||
| 240 | 262 | xDBusMethodInvocationReturnError(x.GoPointer(), DomainVar, CodeVar, FormatVar, varArgs...) | |
| 241 | 263 | } | |
| 242 | 264 | ||
| @@ -248,6 +270,8 @@ var xDBusMethodInvocationReturnErrorLiteral func(uintptr, glib.Quark, int, strin | |||
| 248 | 270 | // #GDBusInterfaceVTable for more information about the ownership of | |
| 249 | 271 | // @invocation. | |
| 250 | 272 | func (x *DBusMethodInvocation) ReturnErrorLiteral(DomainVar glib.Quark, CodeVar int, MessageVar string) { | |
| 273 | + | core.LazyRegister(&xDBusMethodInvocationReturnErrorLiteral, "GIO", "g_dbus_method_invocation_return_error_literal", false) | |
| 274 | + | ||
| 251 | 275 | xDBusMethodInvocationReturnErrorLiteral(x.GoPointer(), DomainVar, CodeVar, MessageVar) | |
| 252 | 276 | } | |
| 253 | 277 | ||
| @@ -260,6 +284,8 @@ var xDBusMethodInvocationReturnErrorValist func(uintptr, glib.Quark, int, string | |||
| 260 | 284 | // #GDBusInterfaceVTable for more information about the ownership of | |
| 261 | 285 | // @invocation. | |
| 262 | 286 | func (x *DBusMethodInvocation) ReturnErrorValist(DomainVar glib.Quark, CodeVar int, FormatVar string, VarArgsVar []interface{}) { | |
| 287 | + | core.LazyRegister(&xDBusMethodInvocationReturnErrorValist, "GIO", "g_dbus_method_invocation_return_error_valist", false) | |
| 288 | + | ||
| 263 | 289 | xDBusMethodInvocationReturnErrorValist(x.GoPointer(), DomainVar, CodeVar, FormatVar, VarArgsVar) | |
| 264 | 290 | } | |
| 265 | 291 | ||
| @@ -272,6 +298,8 @@ var xDBusMethodInvocationReturnGerror func(uintptr, *glib.Error) | |||
| 272 | 298 | // #GDBusInterfaceVTable for more information about the ownership of | |
| 273 | 299 | // @invocation. | |
| 274 | 300 | func (x *DBusMethodInvocation) ReturnGerror(ErrorVar *glib.Error) { | |
| 301 | + | core.LazyRegister(&xDBusMethodInvocationReturnGerror, "GIO", "g_dbus_method_invocation_return_gerror", false) | |
| 302 | + | ||
| 275 | 303 | xDBusMethodInvocationReturnGerror(x.GoPointer(), ErrorVar) | |
| 276 | 304 | } | |
| 277 | 305 | ||
| @@ -313,6 +341,8 @@ var xDBusMethodInvocationReturnValue func(uintptr, *glib.Variant) | |||
| 313 | 341 | // otherwise do nothing (as per the recommendations of the D-Bus | |
| 314 | 342 | // specification). | |
| 315 | 343 | func (x *DBusMethodInvocation) ReturnValue(ParametersVar *glib.Variant) { | |
| 344 | + | core.LazyRegister(&xDBusMethodInvocationReturnValue, "GIO", "g_dbus_method_invocation_return_value", false) | |
| 345 | + | ||
| 316 | 346 | xDBusMethodInvocationReturnValue(x.GoPointer(), ParametersVar) | |
| 317 | 347 | } | |
| 318 | 348 | ||
| @@ -326,6 +356,8 @@ var xDBusMethodInvocationReturnValueWithUnixFdList func(uintptr, *glib.Variant, | |||
| 326 | 356 | // #GDBusInterfaceVTable for more information about the ownership of | |
| 327 | 357 | // @invocation. | |
| 328 | 358 | func (x *DBusMethodInvocation) ReturnValueWithUnixFdList(ParametersVar *glib.Variant, FdListVar *UnixFDList) { | |
| 359 | + | core.LazyRegister(&xDBusMethodInvocationReturnValueWithUnixFdList, "GIO", "g_dbus_method_invocation_return_value_with_unix_fd_list", false) | |
| 360 | + | ||
| 329 | 361 | xDBusMethodInvocationReturnValueWithUnixFdList(x.GoPointer(), ParametersVar, FdListVar.GoPointer()) | |
| 330 | 362 | } | |
| 331 | 363 | ||
| @@ -338,6 +370,8 @@ var xDBusMethodInvocationTakeError func(uintptr, *glib.Error) | |||
| 338 | 370 | // #GDBusInterfaceVTable for more information about the ownership of | |
| 339 | 371 | // @invocation. | |
| 340 | 372 | func (x *DBusMethodInvocation) TakeError(ErrorVar *glib.Error) { | |
| 373 | + | core.LazyRegister(&xDBusMethodInvocationTakeError, "GIO", "g_dbus_method_invocation_take_error", false) | |
| 374 | + | ||
| 341 | 375 | xDBusMethodInvocationTakeError(x.GoPointer(), ErrorVar) | |
| 342 | 376 | } | |
| 343 | 377 | ||
| @@ -355,33 +389,4 @@ func (c *DBusMethodInvocation) SetGoPointer(ptr uintptr) { | |||
| 355 | 389 | func init() { | |
| 356 | 390 | core.SetPackageName("GIO", "gio-2.0") | |
| 357 | 391 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 358 | - | var libs []uintptr | |
| 359 | - | for _, libPath := range core.GetPaths("GIO") { | |
| 360 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 361 | - | if err != nil { | |
| 362 | - | panic(err) | |
| 363 | - | } | |
| 364 | - | libs = append(libs, lib) | |
| 365 | - | } | |
| 366 | - | ||
| 367 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGLibType, libs, "g_dbus_method_invocation_get_type") | |
| 368 | - | ||
| 369 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetConnection, libs, "g_dbus_method_invocation_get_connection") | |
| 370 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetInterfaceName, libs, "g_dbus_method_invocation_get_interface_name") | |
| 371 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetMessage, libs, "g_dbus_method_invocation_get_message") | |
| 372 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetMethodInfo, libs, "g_dbus_method_invocation_get_method_info") | |
| 373 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetMethodName, libs, "g_dbus_method_invocation_get_method_name") | |
| 374 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetObjectPath, libs, "g_dbus_method_invocation_get_object_path") | |
| 375 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetParameters, libs, "g_dbus_method_invocation_get_parameters") | |
| 376 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetPropertyInfo, libs, "g_dbus_method_invocation_get_property_info") | |
| 377 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetSender, libs, "g_dbus_method_invocation_get_sender") | |
| 378 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetUserData, libs, "g_dbus_method_invocation_get_user_data") | |
| 379 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnDbusError, libs, "g_dbus_method_invocation_return_dbus_error") | |
| 380 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnError, libs, "g_dbus_method_invocation_return_error") | |
| 381 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnErrorLiteral, libs, "g_dbus_method_invocation_return_error_literal") | |
| 382 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnErrorValist, libs, "g_dbus_method_invocation_return_error_valist") | |
| 383 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnGerror, libs, "g_dbus_method_invocation_return_gerror") | |
| 384 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnValue, libs, "g_dbus_method_invocation_return_value") | |
| 385 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnValueWithUnixFdList, libs, "g_dbus_method_invocation_return_value_with_unix_fd_list") | |
| 386 | - | core.PuregoSafeRegister(&xDBusMethodInvocationTakeError, libs, "g_dbus_method_invocation_take_error") | |
| 387 | 392 | } | |
| @@ -4,7 +4,6 @@ package gio | |||||
| 4 | import ( | 4 | import ( | ||
| 5 | "unsafe" | 5 | "unsafe" | ||
| 6 | 6 | ||||
| 7 | - | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 7 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/glib" | 8 | "github.com/bnema/puregotk/v4/glib" | ||
| 10 | "github.com/bnema/puregotk/v4/gobject" | 9 | "github.com/bnema/puregotk/v4/gobject" | ||
| @@ -50,6 +49,7 @@ type DBusMethodInvocation struct { | |||||
| 50 | var xDBusMethodInvocationGLibType func() types.GType | 49 | var xDBusMethodInvocationGLibType func() types.GType | ||
| 51 | 50 | ||||
| 52 | func DBusMethodInvocationGLibType() types.GType { | 51 | func DBusMethodInvocationGLibType() types.GType { | ||
| 52 | + | core.LazyRegister(&xDBusMethodInvocationGLibType, "GIO", "g_dbus_method_invocation_get_type", false) | |||
| 53 | return xDBusMethodInvocationGLibType() | 53 | return xDBusMethodInvocationGLibType() | ||
| 54 | } | 54 | } | ||
| 55 | 55 | ||||
| @@ -63,6 +63,7 @@ var xDBusMethodInvocationGetConnection func(uintptr) uintptr | |||||
| 63 | 63 | ||||
| 64 | // Gets the #GDBusConnection the method was invoked on. | 64 | // Gets the #GDBusConnection the method was invoked on. | ||
| 65 | func (x *DBusMethodInvocation) GetConnection() *DBusConnection { | 65 | func (x *DBusMethodInvocation) GetConnection() *DBusConnection { | ||
| 66 | + | core.LazyRegister(&xDBusMethodInvocationGetConnection, "GIO", "g_dbus_method_invocation_get_connection", false) | |||
| 66 | var cls *DBusConnection | 67 | var cls *DBusConnection | ||
| 67 | 68 | ||||
| 68 | cret := xDBusMethodInvocationGetConnection(x.GoPointer()) | 69 | cret := xDBusMethodInvocationGetConnection(x.GoPointer()) | ||
| @@ -90,6 +91,8 @@ var xDBusMethodInvocationGetInterfaceName func(uintptr) string | |||||
| 90 | // "org.freedesktop.DBus.Properties" will be returned. See | 91 | // "org.freedesktop.DBus.Properties" will be returned. See | ||
| 91 | // #GDBusInterfaceVTable for more information. | 92 | // #GDBusInterfaceVTable for more information. | ||
| 92 | func (x *DBusMethodInvocation) GetInterfaceName() string { | 93 | func (x *DBusMethodInvocation) GetInterfaceName() string { | ||
| 94 | + | core.LazyRegister(&xDBusMethodInvocationGetInterfaceName, "GIO", "g_dbus_method_invocation_get_interface_name", false) | |||
| 95 | + | ||||
| 93 | cret := xDBusMethodInvocationGetInterfaceName(x.GoPointer()) | 96 | cret := xDBusMethodInvocationGetInterfaceName(x.GoPointer()) | ||
| 94 | return cret | 97 | return cret | ||
| 95 | } | 98 | } | ||
| @@ -106,6 +109,7 @@ var xDBusMethodInvocationGetMessage func(uintptr) uintptr | |||||
| 106 | // for an example of how to use this low-level API to send and receive | 109 | // for an example of how to use this low-level API to send and receive | ||
| 107 | // UNIX file descriptors. | 110 | // UNIX file descriptors. | ||
| 108 | func (x *DBusMethodInvocation) GetMessage() *DBusMessage { | 111 | func (x *DBusMethodInvocation) GetMessage() *DBusMessage { | ||
| 112 | + | core.LazyRegister(&xDBusMethodInvocationGetMessage, "GIO", "g_dbus_method_invocation_get_message", false) | |||
| 109 | var cls *DBusMessage | 113 | var cls *DBusMessage | ||
| 110 | 114 | ||||
| 111 | cret := xDBusMethodInvocationGetMessage(x.GoPointer()) | 115 | cret := xDBusMethodInvocationGetMessage(x.GoPointer()) | ||
| @@ -128,6 +132,8 @@ var xDBusMethodInvocationGetMethodInfo func(uintptr) uintptr | |||||
| 128 | // returned. See g_dbus_method_invocation_get_property_info() and | 132 | // returned. See g_dbus_method_invocation_get_property_info() and | ||
| 129 | // #GDBusInterfaceVTable for more information. | 133 | // #GDBusInterfaceVTable for more information. | ||
| 130 | func (x *DBusMethodInvocation) GetMethodInfo() *DBusMethodInfo { | 134 | func (x *DBusMethodInvocation) GetMethodInfo() *DBusMethodInfo { | ||
| 135 | + | core.LazyRegister(&xDBusMethodInvocationGetMethodInfo, "GIO", "g_dbus_method_invocation_get_method_info", false) | |||
| 136 | + | ||||
| 131 | cret := xDBusMethodInvocationGetMethodInfo(x.GoPointer()) | 137 | cret := xDBusMethodInvocationGetMethodInfo(x.GoPointer()) | ||
| 132 | if cret == 0 { | 138 | if cret == 0 { | ||
| 133 | return nil | 139 | return nil | ||
| @@ -139,6 +145,8 @@ var xDBusMethodInvocationGetMethodName func(uintptr) string | |||||
| 139 | 145 | ||||
| 140 | // Gets the name of the method that was invoked. | 146 | // Gets the name of the method that was invoked. | ||
| 141 | func (x *DBusMethodInvocation) GetMethodName() string { | 147 | func (x *DBusMethodInvocation) GetMethodName() string { | ||
| 148 | + | core.LazyRegister(&xDBusMethodInvocationGetMethodName, "GIO", "g_dbus_method_invocation_get_method_name", false) | |||
| 149 | + | ||||
| 142 | cret := xDBusMethodInvocationGetMethodName(x.GoPointer()) | 150 | cret := xDBusMethodInvocationGetMethodName(x.GoPointer()) | ||
| 143 | return cret | 151 | return cret | ||
| 144 | } | 152 | } | ||
| @@ -147,6 +155,8 @@ var xDBusMethodInvocationGetObjectPath func(uintptr) string | |||||
| 147 | 155 | ||||
| 148 | // Gets the object path the method was invoked on. | 156 | // Gets the object path the method was invoked on. | ||
| 149 | func (x *DBusMethodInvocation) GetObjectPath() string { | 157 | func (x *DBusMethodInvocation) GetObjectPath() string { | ||
| 158 | + | core.LazyRegister(&xDBusMethodInvocationGetObjectPath, "GIO", "g_dbus_method_invocation_get_object_path", false) | |||
| 159 | + | ||||
| 150 | cret := xDBusMethodInvocationGetObjectPath(x.GoPointer()) | 160 | cret := xDBusMethodInvocationGetObjectPath(x.GoPointer()) | ||
| 151 | return cret | 161 | return cret | ||
| 152 | } | 162 | } | ||
| @@ -156,6 +166,8 @@ var xDBusMethodInvocationGetParameters func(uintptr) uintptr | |||||
| 156 | // Gets the parameters of the method invocation. If there are no input | 166 | // Gets the parameters of the method invocation. If there are no input | ||
| 157 | // parameters then this will return a GVariant with 0 children rather than NULL. | 167 | // parameters then this will return a GVariant with 0 children rather than NULL. | ||
| 158 | func (x *DBusMethodInvocation) GetParameters() *glib.Variant { | 168 | func (x *DBusMethodInvocation) GetParameters() *glib.Variant { | ||
| 169 | + | core.LazyRegister(&xDBusMethodInvocationGetParameters, "GIO", "g_dbus_method_invocation_get_parameters", false) | |||
| 170 | + | ||||
| 159 | cret := xDBusMethodInvocationGetParameters(x.GoPointer()) | 171 | cret := xDBusMethodInvocationGetParameters(x.GoPointer()) | ||
| 160 | if cret == 0 { | 172 | if cret == 0 { | ||
| 161 | return nil | 173 | return nil | ||
| @@ -177,6 +189,8 @@ var xDBusMethodInvocationGetPropertyInfo func(uintptr) uintptr | |||||
| 177 | // | 189 | // | ||
| 178 | // If the call was GetAll, %NULL will be returned. | 190 | // If the call was GetAll, %NULL will be returned. | ||
| 179 | func (x *DBusMethodInvocation) GetPropertyInfo() *DBusPropertyInfo { | 191 | func (x *DBusMethodInvocation) GetPropertyInfo() *DBusPropertyInfo { | ||
| 192 | + | core.LazyRegister(&xDBusMethodInvocationGetPropertyInfo, "GIO", "g_dbus_method_invocation_get_property_info", false) | |||
| 193 | + | ||||
| 180 | cret := xDBusMethodInvocationGetPropertyInfo(x.GoPointer()) | 194 | cret := xDBusMethodInvocationGetPropertyInfo(x.GoPointer()) | ||
| 181 | if cret == 0 { | 195 | if cret == 0 { | ||
| 182 | return nil | 196 | return nil | ||
| @@ -191,6 +205,8 @@ var xDBusMethodInvocationGetSender func(uintptr) string | |||||
| 191 | // This can return %NULL if not specified by the caller, e.g. on peer-to-peer | 205 | // This can return %NULL if not specified by the caller, e.g. on peer-to-peer | ||
| 192 | // connections. | 206 | // connections. | ||
| 193 | func (x *DBusMethodInvocation) GetSender() string { | 207 | func (x *DBusMethodInvocation) GetSender() string { | ||
| 208 | + | core.LazyRegister(&xDBusMethodInvocationGetSender, "GIO", "g_dbus_method_invocation_get_sender", false) | |||
| 209 | + | ||||
| 194 | cret := xDBusMethodInvocationGetSender(x.GoPointer()) | 210 | cret := xDBusMethodInvocationGetSender(x.GoPointer()) | ||
| 195 | return cret | 211 | return cret | ||
| 196 | } | 212 | } | ||
| @@ -199,6 +215,8 @@ var xDBusMethodInvocationGetUserData func(uintptr) uintptr | |||||
| 199 | 215 | ||||
| 200 | // Gets the @user_data #gpointer passed to g_dbus_connection_register_object(). | 216 | // Gets the @user_data #gpointer passed to g_dbus_connection_register_object(). | ||
| 201 | func (x *DBusMethodInvocation) GetUserData() uintptr { | 217 | func (x *DBusMethodInvocation) GetUserData() uintptr { | ||
| 218 | + | core.LazyRegister(&xDBusMethodInvocationGetUserData, "GIO", "g_dbus_method_invocation_get_user_data", false) | |||
| 219 | + | ||||
| 202 | cret := xDBusMethodInvocationGetUserData(x.GoPointer()) | 220 | cret := xDBusMethodInvocationGetUserData(x.GoPointer()) | ||
| 203 | return cret | 221 | return cret | ||
| 204 | } | 222 | } | ||
| @@ -211,6 +229,8 @@ var xDBusMethodInvocationReturnDbusError func(uintptr, string, string) | |||||
| 211 | // #GDBusInterfaceVTable for more information about the ownership of | 229 | // #GDBusInterfaceVTable for more information about the ownership of | ||
| 212 | // @invocation. | 230 | // @invocation. | ||
| 213 | func (x *DBusMethodInvocation) ReturnDbusError(ErrorNameVar string, ErrorMessageVar string) { | 231 | func (x *DBusMethodInvocation) ReturnDbusError(ErrorNameVar string, ErrorMessageVar string) { | ||
| 232 | + | core.LazyRegister(&xDBusMethodInvocationReturnDbusError, "GIO", "g_dbus_method_invocation_return_dbus_error", false) | |||
| 233 | + | ||||
| 214 | xDBusMethodInvocationReturnDbusError(x.GoPointer(), ErrorNameVar, ErrorMessageVar) | 234 | xDBusMethodInvocationReturnDbusError(x.GoPointer(), ErrorNameVar, ErrorMessageVar) | ||
| 215 | } | 235 | } | ||
| 216 | 236 | ||||
| @@ -237,6 +257,8 @@ var xDBusMethodInvocationReturnError func(uintptr, glib.Quark, int, string, ...i | |||||
| 237 | // then this call will free @invocation but otherwise do nothing (as per | 257 | // then this call will free @invocation but otherwise do nothing (as per | ||
| 238 | // the recommendations of the D-Bus specification). | 258 | // the recommendations of the D-Bus specification). | ||
| 239 | func (x *DBusMethodInvocation) ReturnError(DomainVar glib.Quark, CodeVar int, FormatVar string, varArgs ...interface{}) { | 259 | func (x *DBusMethodInvocation) ReturnError(DomainVar glib.Quark, CodeVar int, FormatVar string, varArgs ...interface{}) { | ||
| 260 | + | core.LazyRegister(&xDBusMethodInvocationReturnError, "GIO", "g_dbus_method_invocation_return_error", false) | |||
| 261 | + | ||||
| 240 | xDBusMethodInvocationReturnError(x.GoPointer(), DomainVar, CodeVar, FormatVar, varArgs...) | 262 | xDBusMethodInvocationReturnError(x.GoPointer(), DomainVar, CodeVar, FormatVar, varArgs...) | ||
| 241 | } | 263 | } | ||
| 242 | 264 | ||||
| @@ -248,6 +270,8 @@ var xDBusMethodInvocationReturnErrorLiteral func(uintptr, glib.Quark, int, strin | |||||
| 248 | // #GDBusInterfaceVTable for more information about the ownership of | 270 | // #GDBusInterfaceVTable for more information about the ownership of | ||
| 249 | // @invocation. | 271 | // @invocation. | ||
| 250 | func (x *DBusMethodInvocation) ReturnErrorLiteral(DomainVar glib.Quark, CodeVar int, MessageVar string) { | 272 | func (x *DBusMethodInvocation) ReturnErrorLiteral(DomainVar glib.Quark, CodeVar int, MessageVar string) { | ||
| 273 | + | core.LazyRegister(&xDBusMethodInvocationReturnErrorLiteral, "GIO", "g_dbus_method_invocation_return_error_literal", false) | |||
| 274 | + | ||||
| 251 | xDBusMethodInvocationReturnErrorLiteral(x.GoPointer(), DomainVar, CodeVar, MessageVar) | 275 | xDBusMethodInvocationReturnErrorLiteral(x.GoPointer(), DomainVar, CodeVar, MessageVar) | ||
| 252 | } | 276 | } | ||
| 253 | 277 | ||||
| @@ -260,6 +284,8 @@ var xDBusMethodInvocationReturnErrorValist func(uintptr, glib.Quark, int, string | |||||
| 260 | // #GDBusInterfaceVTable for more information about the ownership of | 284 | // #GDBusInterfaceVTable for more information about the ownership of | ||
| 261 | // @invocation. | 285 | // @invocation. | ||
| 262 | func (x *DBusMethodInvocation) ReturnErrorValist(DomainVar glib.Quark, CodeVar int, FormatVar string, VarArgsVar []interface{}) { | 286 | func (x *DBusMethodInvocation) ReturnErrorValist(DomainVar glib.Quark, CodeVar int, FormatVar string, VarArgsVar []interface{}) { | ||
| 287 | + | core.LazyRegister(&xDBusMethodInvocationReturnErrorValist, "GIO", "g_dbus_method_invocation_return_error_valist", false) | |||
| 288 | + | ||||
| 263 | xDBusMethodInvocationReturnErrorValist(x.GoPointer(), DomainVar, CodeVar, FormatVar, VarArgsVar) | 289 | xDBusMethodInvocationReturnErrorValist(x.GoPointer(), DomainVar, CodeVar, FormatVar, VarArgsVar) | ||
| 264 | } | 290 | } | ||
| 265 | 291 | ||||
| @@ -272,6 +298,8 @@ var xDBusMethodInvocationReturnGerror func(uintptr, *glib.Error) | |||||
| 272 | // #GDBusInterfaceVTable for more information about the ownership of | 298 | // #GDBusInterfaceVTable for more information about the ownership of | ||
| 273 | // @invocation. | 299 | // @invocation. | ||
| 274 | func (x *DBusMethodInvocation) ReturnGerror(ErrorVar *glib.Error) { | 300 | func (x *DBusMethodInvocation) ReturnGerror(ErrorVar *glib.Error) { | ||
| 301 | + | core.LazyRegister(&xDBusMethodInvocationReturnGerror, "GIO", "g_dbus_method_invocation_return_gerror", false) | |||
| 302 | + | ||||
| 275 | xDBusMethodInvocationReturnGerror(x.GoPointer(), ErrorVar) | 303 | xDBusMethodInvocationReturnGerror(x.GoPointer(), ErrorVar) | ||
| 276 | } | 304 | } | ||
| 277 | 305 | ||||
| @@ -313,6 +341,8 @@ var xDBusMethodInvocationReturnValue func(uintptr, *glib.Variant) | |||||
| 313 | // otherwise do nothing (as per the recommendations of the D-Bus | 341 | // otherwise do nothing (as per the recommendations of the D-Bus | ||
| 314 | // specification). | 342 | // specification). | ||
| 315 | func (x *DBusMethodInvocation) ReturnValue(ParametersVar *glib.Variant) { | 343 | func (x *DBusMethodInvocation) ReturnValue(ParametersVar *glib.Variant) { | ||
| 344 | + | core.LazyRegister(&xDBusMethodInvocationReturnValue, "GIO", "g_dbus_method_invocation_return_value", false) | |||
| 345 | + | ||||
| 316 | xDBusMethodInvocationReturnValue(x.GoPointer(), ParametersVar) | 346 | xDBusMethodInvocationReturnValue(x.GoPointer(), ParametersVar) | ||
| 317 | } | 347 | } | ||
| 318 | 348 | ||||
| @@ -326,6 +356,8 @@ var xDBusMethodInvocationReturnValueWithUnixFdList func(uintptr, *glib.Variant, | |||||
| 326 | // #GDBusInterfaceVTable for more information about the ownership of | 356 | // #GDBusInterfaceVTable for more information about the ownership of | ||
| 327 | // @invocation. | 357 | // @invocation. | ||
| 328 | func (x *DBusMethodInvocation) ReturnValueWithUnixFdList(ParametersVar *glib.Variant, FdListVar *UnixFDList) { | 358 | func (x *DBusMethodInvocation) ReturnValueWithUnixFdList(ParametersVar *glib.Variant, FdListVar *UnixFDList) { | ||
| 359 | + | core.LazyRegister(&xDBusMethodInvocationReturnValueWithUnixFdList, "GIO", "g_dbus_method_invocation_return_value_with_unix_fd_list", false) | |||
| 360 | + | ||||
| 329 | xDBusMethodInvocationReturnValueWithUnixFdList(x.GoPointer(), ParametersVar, FdListVar.GoPointer()) | 361 | xDBusMethodInvocationReturnValueWithUnixFdList(x.GoPointer(), ParametersVar, FdListVar.GoPointer()) | ||
| 330 | } | 362 | } | ||
| 331 | 363 | ||||
| @@ -338,6 +370,8 @@ var xDBusMethodInvocationTakeError func(uintptr, *glib.Error) | |||||
| 338 | // #GDBusInterfaceVTable for more information about the ownership of | 370 | // #GDBusInterfaceVTable for more information about the ownership of | ||
| 339 | // @invocation. | 371 | // @invocation. | ||
| 340 | func (x *DBusMethodInvocation) TakeError(ErrorVar *glib.Error) { | 372 | func (x *DBusMethodInvocation) TakeError(ErrorVar *glib.Error) { | ||
| 373 | + | core.LazyRegister(&xDBusMethodInvocationTakeError, "GIO", "g_dbus_method_invocation_take_error", false) | |||
| 374 | + | ||||
| 341 | xDBusMethodInvocationTakeError(x.GoPointer(), ErrorVar) | 375 | xDBusMethodInvocationTakeError(x.GoPointer(), ErrorVar) | ||
| 342 | } | 376 | } | ||
| 343 | 377 | ||||
| @@ -355,33 +389,4 @@ func (c *DBusMethodInvocation) SetGoPointer(ptr uintptr) { | |||||
| 355 | func init() { | 389 | func init() { | ||
| 356 | core.SetPackageName("GIO", "gio-2.0") | 390 | core.SetPackageName("GIO", "gio-2.0") | ||
| 357 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 391 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 358 | - | var libs []uintptr | |||
| 359 | - | for _, libPath := range core.GetPaths("GIO") { | |||
| 360 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 361 | - | if err != nil { | |||
| 362 | - | panic(err) | |||
| 363 | - | } | |||
| 364 | - | libs = append(libs, lib) | |||
| 365 | - | } | |||
| 366 | - | ||||
| 367 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGLibType, libs, "g_dbus_method_invocation_get_type") | |||
| 368 | - | ||||
| 369 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetConnection, libs, "g_dbus_method_invocation_get_connection") | |||
| 370 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetInterfaceName, libs, "g_dbus_method_invocation_get_interface_name") | |||
| 371 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetMessage, libs, "g_dbus_method_invocation_get_message") | |||
| 372 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetMethodInfo, libs, "g_dbus_method_invocation_get_method_info") | |||
| 373 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetMethodName, libs, "g_dbus_method_invocation_get_method_name") | |||
| 374 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetObjectPath, libs, "g_dbus_method_invocation_get_object_path") | |||
| 375 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetParameters, libs, "g_dbus_method_invocation_get_parameters") | |||
| 376 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetPropertyInfo, libs, "g_dbus_method_invocation_get_property_info") | |||
| 377 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetSender, libs, "g_dbus_method_invocation_get_sender") | |||
| 378 | - | core.PuregoSafeRegister(&xDBusMethodInvocationGetUserData, libs, "g_dbus_method_invocation_get_user_data") | |||
| 379 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnDbusError, libs, "g_dbus_method_invocation_return_dbus_error") | |||
| 380 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnError, libs, "g_dbus_method_invocation_return_error") | |||
| 381 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnErrorLiteral, libs, "g_dbus_method_invocation_return_error_literal") | |||
| 382 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnErrorValist, libs, "g_dbus_method_invocation_return_error_valist") | |||
| 383 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnGerror, libs, "g_dbus_method_invocation_return_gerror") | |||
| 384 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnValue, libs, "g_dbus_method_invocation_return_value") | |||
| 385 | - | core.PuregoSafeRegister(&xDBusMethodInvocationReturnValueWithUnixFdList, libs, "g_dbus_method_invocation_return_value_with_unix_fd_list") | |||
| 386 | - | core.PuregoSafeRegister(&xDBusMethodInvocationTakeError, libs, "g_dbus_method_invocation_take_error") | |||
| 387 | } | 392 | } | ||