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
| @@ -157,6 +157,7 @@ type DBusProxy struct { | |||
| 157 | 157 | var xDBusProxyGLibType func() types.GType | |
| 158 | 158 | ||
| 159 | 159 | func DBusProxyGLibType() types.GType { | |
| 160 | + | core.LazyRegister(&xDBusProxyGLibType, "GIO", "g_dbus_proxy_get_type", false) | |
| 160 | 161 | return xDBusProxyGLibType() | |
| 161 | 162 | } | |
| 162 | 163 | ||
| @@ -170,6 +171,7 @@ var xNewDBusProxyFinish func(uintptr, **glib.Error) uintptr | |||
| 170 | 171 | ||
| 171 | 172 | // Finishes creating a #GDBusProxy. | |
| 172 | 173 | func NewDBusProxyFinish(ResVar AsyncResult) (*DBusProxy, error) { | |
| 174 | + | core.LazyRegister(&xNewDBusProxyFinish, "GIO", "g_dbus_proxy_new_finish", false) | |
| 173 | 175 | var cls *DBusProxy | |
| 174 | 176 | var cerr *glib.Error | |
| 175 | 177 | ||
| @@ -190,6 +192,7 @@ var xNewDBusProxyForBusFinish func(uintptr, **glib.Error) uintptr | |||
| 190 | 192 | ||
| 191 | 193 | // Finishes creating a #GDBusProxy. | |
| 192 | 194 | func NewDBusProxyForBusFinish(ResVar AsyncResult) (*DBusProxy, error) { | |
| 195 | + | core.LazyRegister(&xNewDBusProxyForBusFinish, "GIO", "g_dbus_proxy_new_for_bus_finish", false) | |
| 193 | 196 | var cls *DBusProxy | |
| 194 | 197 | var cerr *glib.Error | |
| 195 | 198 | ||
| @@ -212,6 +215,7 @@ var xNewDBusProxyForBusSync func(BusType, DBusProxyFlags, *DBusInterfaceInfo, st | |||
| 212 | 215 | // | |
| 213 | 216 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | |
| 214 | 217 | func NewDBusProxyForBusSync(BusTypeVar BusType, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable) (*DBusProxy, error) { | |
| 218 | + | core.LazyRegister(&xNewDBusProxyForBusSync, "GIO", "g_dbus_proxy_new_for_bus_sync", false) | |
| 215 | 219 | var cls *DBusProxy | |
| 216 | 220 | var cerr *glib.Error | |
| 217 | 221 | ||
| @@ -253,6 +257,7 @@ var xNewDBusProxySync func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, uintptr, | |||
| 253 | 257 | // | |
| 254 | 258 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | |
| 255 | 259 | func NewDBusProxySync(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar *string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable) (*DBusProxy, error) { | |
| 260 | + | core.LazyRegister(&xNewDBusProxySync, "GIO", "g_dbus_proxy_new_sync", false) | |
| 256 | 261 | var cls *DBusProxy | |
| 257 | 262 | var cerr *glib.Error | |
| 258 | 263 | ||
| @@ -319,6 +324,8 @@ var xDBusProxyCall func(uintptr, string, *glib.Variant, DBusCallFlags, int, uint | |||
| 319 | 324 | // If @callback is %NULL then the D-Bus method call message will be sent with | |
| 320 | 325 | // the %G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED flag set. | |
| 321 | 326 | func (x *DBusProxy) Call(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 327 | + | core.LazyRegister(&xDBusProxyCall, "GIO", "g_dbus_proxy_call", false) | |
| 328 | + | ||
| 322 | 329 | xDBusProxyCall(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 323 | 330 | } | |
| 324 | 331 | ||
| @@ -326,6 +333,7 @@ var xDBusProxyCallFinish func(uintptr, uintptr, **glib.Error) uintptr | |||
| 326 | 333 | ||
| 327 | 334 | // Finishes an operation started with g_dbus_proxy_call(). | |
| 328 | 335 | func (x *DBusProxy) CallFinish(ResVar AsyncResult) (*glib.Variant, error) { | |
| 336 | + | core.LazyRegister(&xDBusProxyCallFinish, "GIO", "g_dbus_proxy_call_finish", false) | |
| 329 | 337 | var cerr *glib.Error | |
| 330 | 338 | ||
| 331 | 339 | cret := xDBusProxyCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| @@ -377,6 +385,7 @@ var xDBusProxyCallSync func(uintptr, string, *glib.Variant, DBusCallFlags, int, | |||
| 377 | 385 | // #GDBusProxy:g-interface-info) and @method_name is referenced by it, | |
| 378 | 386 | // then the return value is checked against the return type. | |
| 379 | 387 | func (x *DBusProxy) CallSync(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable) (*glib.Variant, error) { | |
| 388 | + | core.LazyRegister(&xDBusProxyCallSync, "GIO", "g_dbus_proxy_call_sync", false) | |
| 380 | 389 | var cerr *glib.Error | |
| 381 | 390 | ||
| 382 | 391 | cret := xDBusProxyCallSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -395,6 +404,8 @@ var xDBusProxyCallWithUnixFdList func(uintptr, string, *glib.Variant, DBusCallFl | |||
| 395 | 404 | // | |
| 396 | 405 | // This method is only available on UNIX. | |
| 397 | 406 | func (x *DBusProxy) CallWithUnixFdList(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 407 | + | core.LazyRegister(&xDBusProxyCallWithUnixFdList, "GIO", "g_dbus_proxy_call_with_unix_fd_list", false) | |
| 408 | + | ||
| 398 | 409 | xDBusProxyCallWithUnixFdList(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 399 | 410 | } | |
| 400 | 411 | ||
| @@ -402,6 +413,7 @@ var xDBusProxyCallWithUnixFdListFinish func(uintptr, **UnixFDList, uintptr, **gl | |||
| 402 | 413 | ||
| 403 | 414 | // Finishes an operation started with g_dbus_proxy_call_with_unix_fd_list(). | |
| 404 | 415 | func (x *DBusProxy) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, ResVar AsyncResult) (*glib.Variant, error) { | |
| 416 | + | core.LazyRegister(&xDBusProxyCallWithUnixFdListFinish, "GIO", "g_dbus_proxy_call_with_unix_fd_list_finish", false) | |
| 405 | 417 | var cerr *glib.Error | |
| 406 | 418 | ||
| 407 | 419 | cret := xDBusProxyCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr) | |
| @@ -420,6 +432,7 @@ var xDBusProxyCallWithUnixFdListSync func(uintptr, string, *glib.Variant, DBusCa | |||
| 420 | 432 | // | |
| 421 | 433 | // This method is only available on UNIX. | |
| 422 | 434 | func (x *DBusProxy) CallWithUnixFdListSync(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, OutFdListVar **UnixFDList, CancellableVar *Cancellable) (*glib.Variant, error) { | |
| 435 | + | core.LazyRegister(&xDBusProxyCallWithUnixFdListSync, "GIO", "g_dbus_proxy_call_with_unix_fd_list_sync", false) | |
| 423 | 436 | var cerr *glib.Error | |
| 424 | 437 | ||
| 425 | 438 | cret := xDBusProxyCallWithUnixFdListSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -441,6 +454,8 @@ var xDBusProxyGetCachedProperty func(uintptr, string) uintptr | |||
| 441 | 454 | // #GDBusProxy:g-interface-info) and @property_name is referenced by | |
| 442 | 455 | // it, then @value is checked against the type of the property. | |
| 443 | 456 | func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant { | |
| 457 | + | core.LazyRegister(&xDBusProxyGetCachedProperty, "GIO", "g_dbus_proxy_get_cached_property", false) | |
| 458 | + | ||
| 444 | 459 | cret := xDBusProxyGetCachedProperty(x.GoPointer(), PropertyNameVar) | |
| 445 | 460 | if cret == 0 { | |
| 446 | 461 | return nil | |
| @@ -452,6 +467,8 @@ var xDBusProxyGetCachedPropertyNames func(uintptr) []string | |||
| 452 | 467 | ||
| 453 | 468 | // Gets the names of all cached properties on @proxy. | |
| 454 | 469 | func (x *DBusProxy) GetCachedPropertyNames() []string { | |
| 470 | + | core.LazyRegister(&xDBusProxyGetCachedPropertyNames, "GIO", "g_dbus_proxy_get_cached_property_names", false) | |
| 471 | + | ||
| 455 | 472 | cret := xDBusProxyGetCachedPropertyNames(x.GoPointer()) | |
| 456 | 473 | return cret | |
| 457 | 474 | } | |
| @@ -460,6 +477,7 @@ var xDBusProxyGetConnection func(uintptr) uintptr | |||
| 460 | 477 | ||
| 461 | 478 | // Gets the connection @proxy is for. | |
| 462 | 479 | func (x *DBusProxy) GetConnection() *DBusConnection { | |
| 480 | + | core.LazyRegister(&xDBusProxyGetConnection, "GIO", "g_dbus_proxy_get_connection", false) | |
| 463 | 481 | var cls *DBusConnection | |
| 464 | 482 | ||
| 465 | 483 | cret := xDBusProxyGetConnection(x.GoPointer()) | |
| @@ -481,6 +499,8 @@ var xDBusProxyGetDefaultTimeout func(uintptr) int | |||
| 481 | 499 | // | |
| 482 | 500 | // See the #GDBusProxy:g-default-timeout property for more details. | |
| 483 | 501 | func (x *DBusProxy) GetDefaultTimeout() int { | |
| 502 | + | core.LazyRegister(&xDBusProxyGetDefaultTimeout, "GIO", "g_dbus_proxy_get_default_timeout", false) | |
| 503 | + | ||
| 484 | 504 | cret := xDBusProxyGetDefaultTimeout(x.GoPointer()) | |
| 485 | 505 | return cret | |
| 486 | 506 | } | |
| @@ -489,6 +509,8 @@ var xDBusProxyGetFlags func(uintptr) DBusProxyFlags | |||
| 489 | 509 | ||
| 490 | 510 | // Gets the flags that @proxy was constructed with. | |
| 491 | 511 | func (x *DBusProxy) GetFlags() DBusProxyFlags { | |
| 512 | + | core.LazyRegister(&xDBusProxyGetFlags, "GIO", "g_dbus_proxy_get_flags", false) | |
| 513 | + | ||
| 492 | 514 | cret := xDBusProxyGetFlags(x.GoPointer()) | |
| 493 | 515 | return cret | |
| 494 | 516 | } | |
| @@ -499,6 +521,8 @@ var xDBusProxyGetInterfaceInfo func(uintptr) uintptr | |||
| 499 | 521 | // that @proxy conforms to. See the #GDBusProxy:g-interface-info | |
| 500 | 522 | // property for more details. | |
| 501 | 523 | func (x *DBusProxy) GetInterfaceInfo() *DBusInterfaceInfo { | |
| 524 | + | core.LazyRegister(&xDBusProxyGetInterfaceInfo, "GIO", "g_dbus_proxy_get_interface_info", false) | |
| 525 | + | ||
| 502 | 526 | cret := xDBusProxyGetInterfaceInfo(x.GoPointer()) | |
| 503 | 527 | if cret == 0 { | |
| 504 | 528 | return nil | |
| @@ -510,6 +534,8 @@ var xDBusProxyGetInterfaceName func(uintptr) string | |||
| 510 | 534 | ||
| 511 | 535 | // Gets the D-Bus interface name @proxy is for. | |
| 512 | 536 | func (x *DBusProxy) GetInterfaceName() string { | |
| 537 | + | core.LazyRegister(&xDBusProxyGetInterfaceName, "GIO", "g_dbus_proxy_get_interface_name", false) | |
| 538 | + | ||
| 513 | 539 | cret := xDBusProxyGetInterfaceName(x.GoPointer()) | |
| 514 | 540 | return cret | |
| 515 | 541 | } | |
| @@ -522,6 +548,8 @@ var xDBusProxyGetName func(uintptr) string | |||
| 522 | 548 | // However, it may be %NULL for a proxy that communicates using a peer-to-peer | |
| 523 | 549 | // pattern. | |
| 524 | 550 | func (x *DBusProxy) GetName() string { | |
| 551 | + | core.LazyRegister(&xDBusProxyGetName, "GIO", "g_dbus_proxy_get_name", false) | |
| 552 | + | ||
| 525 | 553 | cret := xDBusProxyGetName(x.GoPointer()) | |
| 526 | 554 | return cret | |
| 527 | 555 | } | |
| @@ -533,6 +561,8 @@ var xDBusProxyGetNameOwner func(uintptr) string | |||
| 533 | 561 | // #GObject::notify signal to track changes to the | |
| 534 | 562 | // #GDBusProxy:g-name-owner property. | |
| 535 | 563 | func (x *DBusProxy) GetNameOwner() string { | |
| 564 | + | core.LazyRegister(&xDBusProxyGetNameOwner, "GIO", "g_dbus_proxy_get_name_owner", false) | |
| 565 | + | ||
| 536 | 566 | cret := xDBusProxyGetNameOwner(x.GoPointer()) | |
| 537 | 567 | return cret | |
| 538 | 568 | } | |
| @@ -541,6 +571,8 @@ var xDBusProxyGetObjectPath func(uintptr) string | |||
| 541 | 571 | ||
| 542 | 572 | // Gets the object path @proxy is for. | |
| 543 | 573 | func (x *DBusProxy) GetObjectPath() string { | |
| 574 | + | core.LazyRegister(&xDBusProxyGetObjectPath, "GIO", "g_dbus_proxy_get_object_path", false) | |
| 575 | + | ||
| 544 | 576 | cret := xDBusProxyGetObjectPath(x.GoPointer()) | |
| 545 | 577 | return cret | |
| 546 | 578 | } | |
| @@ -583,6 +615,8 @@ var xDBusProxySetCachedProperty func(uintptr, string, *glib.Variant) | |||
| 583 | 615 | // `ChatroomParticipantJoined(String name)` and | |
| 584 | 616 | // `ChatroomParticipantParted(String name)`. | |
| 585 | 617 | func (x *DBusProxy) SetCachedProperty(PropertyNameVar string, ValueVar *glib.Variant) { | |
| 618 | + | core.LazyRegister(&xDBusProxySetCachedProperty, "GIO", "g_dbus_proxy_set_cached_property", false) | |
| 619 | + | ||
| 586 | 620 | xDBusProxySetCachedProperty(x.GoPointer(), PropertyNameVar, ValueVar) | |
| 587 | 621 | } | |
| 588 | 622 | ||
| @@ -594,6 +628,8 @@ var xDBusProxySetDefaultTimeout func(uintptr, int) | |||
| 594 | 628 | // | |
| 595 | 629 | // See the #GDBusProxy:g-default-timeout property for more details. | |
| 596 | 630 | func (x *DBusProxy) SetDefaultTimeout(TimeoutMsecVar int) { | |
| 631 | + | core.LazyRegister(&xDBusProxySetDefaultTimeout, "GIO", "g_dbus_proxy_set_default_timeout", false) | |
| 632 | + | ||
| 597 | 633 | xDBusProxySetDefaultTimeout(x.GoPointer(), TimeoutMsecVar) | |
| 598 | 634 | } | |
| 599 | 635 | ||
| @@ -603,6 +639,8 @@ var xDBusProxySetInterfaceInfo func(uintptr, *DBusInterfaceInfo) | |||
| 603 | 639 | // interface. See the #GDBusProxy:g-interface-info property for more | |
| 604 | 640 | // details. | |
| 605 | 641 | func (x *DBusProxy) SetInterfaceInfo(InfoVar *DBusInterfaceInfo) { | |
| 642 | + | core.LazyRegister(&xDBusProxySetInterfaceInfo, "GIO", "g_dbus_proxy_set_interface_info", false) | |
| 643 | + | ||
| 606 | 644 | xDBusProxySetInterfaceInfo(x.GoPointer(), InfoVar) | |
| 607 | 645 | } | |
| 608 | 646 | ||
| @@ -1039,6 +1077,8 @@ var xDBusProxyNew func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, uintptr, str | |||
| 1039 | 1077 | // | |
| 1040 | 1078 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | |
| 1041 | 1079 | func DBusProxyNew(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar *string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1080 | + | core.LazyRegister(&xDBusProxyNew, "GIO", "g_dbus_proxy_new", false) | |
| 1081 | + | ||
| 1042 | 1082 | NameVarPtr := core.GStrdupNullable(NameVar) | |
| 1043 | 1083 | defer core.GFreeNullable(NameVarPtr) | |
| 1044 | 1084 | ||
| @@ -1051,48 +1091,12 @@ var xDBusProxyNewForBus func(BusType, DBusProxyFlags, *DBusInterfaceInfo, string | |||
| 1051 | 1091 | // | |
| 1052 | 1092 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | |
| 1053 | 1093 | func DBusProxyNewForBus(BusTypeVar BusType, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1094 | + | core.LazyRegister(&xDBusProxyNewForBus, "GIO", "g_dbus_proxy_new_for_bus", false) | |
| 1095 | + | ||
| 1054 | 1096 | xDBusProxyNewForBus(BusTypeVar, FlagsVar, InfoVar, NameVar, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1055 | 1097 | } | |
| 1056 | 1098 | ||
| 1057 | 1099 | func init() { | |
| 1058 | 1100 | core.SetPackageName("GIO", "gio-2.0") | |
| 1059 | 1101 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 1060 | - | var libs []uintptr | |
| 1061 | - | for _, libPath := range core.GetPaths("GIO") { | |
| 1062 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 1063 | - | if err != nil { | |
| 1064 | - | panic(err) | |
| 1065 | - | } | |
| 1066 | - | libs = append(libs, lib) | |
| 1067 | - | } | |
| 1068 | - | ||
| 1069 | - | core.PuregoSafeRegister(&xDBusProxyGLibType, libs, "g_dbus_proxy_get_type") | |
| 1070 | - | ||
| 1071 | - | core.PuregoSafeRegister(&xNewDBusProxyFinish, libs, "g_dbus_proxy_new_finish") | |
| 1072 | - | core.PuregoSafeRegister(&xNewDBusProxyForBusFinish, libs, "g_dbus_proxy_new_for_bus_finish") | |
| 1073 | - | core.PuregoSafeRegister(&xNewDBusProxyForBusSync, libs, "g_dbus_proxy_new_for_bus_sync") | |
| 1074 | - | core.PuregoSafeRegister(&xNewDBusProxySync, libs, "g_dbus_proxy_new_sync") | |
| 1075 | - | ||
| 1076 | - | core.PuregoSafeRegister(&xDBusProxyCall, libs, "g_dbus_proxy_call") | |
| 1077 | - | core.PuregoSafeRegister(&xDBusProxyCallFinish, libs, "g_dbus_proxy_call_finish") | |
| 1078 | - | core.PuregoSafeRegister(&xDBusProxyCallSync, libs, "g_dbus_proxy_call_sync") | |
| 1079 | - | core.PuregoSafeRegister(&xDBusProxyCallWithUnixFdList, libs, "g_dbus_proxy_call_with_unix_fd_list") | |
| 1080 | - | core.PuregoSafeRegister(&xDBusProxyCallWithUnixFdListFinish, libs, "g_dbus_proxy_call_with_unix_fd_list_finish") | |
| 1081 | - | core.PuregoSafeRegister(&xDBusProxyCallWithUnixFdListSync, libs, "g_dbus_proxy_call_with_unix_fd_list_sync") | |
| 1082 | - | core.PuregoSafeRegister(&xDBusProxyGetCachedProperty, libs, "g_dbus_proxy_get_cached_property") | |
| 1083 | - | core.PuregoSafeRegister(&xDBusProxyGetCachedPropertyNames, libs, "g_dbus_proxy_get_cached_property_names") | |
| 1084 | - | core.PuregoSafeRegister(&xDBusProxyGetConnection, libs, "g_dbus_proxy_get_connection") | |
| 1085 | - | core.PuregoSafeRegister(&xDBusProxyGetDefaultTimeout, libs, "g_dbus_proxy_get_default_timeout") | |
| 1086 | - | core.PuregoSafeRegister(&xDBusProxyGetFlags, libs, "g_dbus_proxy_get_flags") | |
| 1087 | - | core.PuregoSafeRegister(&xDBusProxyGetInterfaceInfo, libs, "g_dbus_proxy_get_interface_info") | |
| 1088 | - | core.PuregoSafeRegister(&xDBusProxyGetInterfaceName, libs, "g_dbus_proxy_get_interface_name") | |
| 1089 | - | core.PuregoSafeRegister(&xDBusProxyGetName, libs, "g_dbus_proxy_get_name") | |
| 1090 | - | core.PuregoSafeRegister(&xDBusProxyGetNameOwner, libs, "g_dbus_proxy_get_name_owner") | |
| 1091 | - | core.PuregoSafeRegister(&xDBusProxyGetObjectPath, libs, "g_dbus_proxy_get_object_path") | |
| 1092 | - | core.PuregoSafeRegister(&xDBusProxySetCachedProperty, libs, "g_dbus_proxy_set_cached_property") | |
| 1093 | - | core.PuregoSafeRegister(&xDBusProxySetDefaultTimeout, libs, "g_dbus_proxy_set_default_timeout") | |
| 1094 | - | core.PuregoSafeRegister(&xDBusProxySetInterfaceInfo, libs, "g_dbus_proxy_set_interface_info") | |
| 1095 | - | ||
| 1096 | - | core.PuregoSafeRegister(&xDBusProxyNew, libs, "g_dbus_proxy_new") | |
| 1097 | - | core.PuregoSafeRegister(&xDBusProxyNewForBus, libs, "g_dbus_proxy_new_for_bus") | |
| 1098 | 1102 | } | |
| @@ -157,6 +157,7 @@ type DBusProxy struct { | |||||
| 157 | var xDBusProxyGLibType func() types.GType | 157 | var xDBusProxyGLibType func() types.GType | ||
| 158 | 158 | ||||
| 159 | func DBusProxyGLibType() types.GType { | 159 | func DBusProxyGLibType() types.GType { | ||
| 160 | + | core.LazyRegister(&xDBusProxyGLibType, "GIO", "g_dbus_proxy_get_type", false) | |||
| 160 | return xDBusProxyGLibType() | 161 | return xDBusProxyGLibType() | ||
| 161 | } | 162 | } | ||
| 162 | 163 | ||||
| @@ -170,6 +171,7 @@ var xNewDBusProxyFinish func(uintptr, **glib.Error) uintptr | |||||
| 170 | 171 | ||||
| 171 | // Finishes creating a #GDBusProxy. | 172 | // Finishes creating a #GDBusProxy. | ||
| 172 | func NewDBusProxyFinish(ResVar AsyncResult) (*DBusProxy, error) { | 173 | func NewDBusProxyFinish(ResVar AsyncResult) (*DBusProxy, error) { | ||
| 174 | + | core.LazyRegister(&xNewDBusProxyFinish, "GIO", "g_dbus_proxy_new_finish", false) | |||
| 173 | var cls *DBusProxy | 175 | var cls *DBusProxy | ||
| 174 | var cerr *glib.Error | 176 | var cerr *glib.Error | ||
| 175 | 177 | ||||
| @@ -190,6 +192,7 @@ var xNewDBusProxyForBusFinish func(uintptr, **glib.Error) uintptr | |||||
| 190 | 192 | ||||
| 191 | // Finishes creating a #GDBusProxy. | 193 | // Finishes creating a #GDBusProxy. | ||
| 192 | func NewDBusProxyForBusFinish(ResVar AsyncResult) (*DBusProxy, error) { | 194 | func NewDBusProxyForBusFinish(ResVar AsyncResult) (*DBusProxy, error) { | ||
| 195 | + | core.LazyRegister(&xNewDBusProxyForBusFinish, "GIO", "g_dbus_proxy_new_for_bus_finish", false) | |||
| 193 | var cls *DBusProxy | 196 | var cls *DBusProxy | ||
| 194 | var cerr *glib.Error | 197 | var cerr *glib.Error | ||
| 195 | 198 | ||||
| @@ -212,6 +215,7 @@ var xNewDBusProxyForBusSync func(BusType, DBusProxyFlags, *DBusInterfaceInfo, st | |||||
| 212 | // | 215 | // | ||
| 213 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | 216 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | ||
| 214 | func NewDBusProxyForBusSync(BusTypeVar BusType, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable) (*DBusProxy, error) { | 217 | func NewDBusProxyForBusSync(BusTypeVar BusType, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable) (*DBusProxy, error) { | ||
| 218 | + | core.LazyRegister(&xNewDBusProxyForBusSync, "GIO", "g_dbus_proxy_new_for_bus_sync", false) | |||
| 215 | var cls *DBusProxy | 219 | var cls *DBusProxy | ||
| 216 | var cerr *glib.Error | 220 | var cerr *glib.Error | ||
| 217 | 221 | ||||
| @@ -253,6 +257,7 @@ var xNewDBusProxySync func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, uintptr, | |||||
| 253 | // | 257 | // | ||
| 254 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | 258 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | ||
| 255 | func NewDBusProxySync(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar *string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable) (*DBusProxy, error) { | 259 | func NewDBusProxySync(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar *string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable) (*DBusProxy, error) { | ||
| 260 | + | core.LazyRegister(&xNewDBusProxySync, "GIO", "g_dbus_proxy_new_sync", false) | |||
| 256 | var cls *DBusProxy | 261 | var cls *DBusProxy | ||
| 257 | var cerr *glib.Error | 262 | var cerr *glib.Error | ||
| 258 | 263 | ||||
| @@ -319,6 +324,8 @@ var xDBusProxyCall func(uintptr, string, *glib.Variant, DBusCallFlags, int, uint | |||||
| 319 | // If @callback is %NULL then the D-Bus method call message will be sent with | 324 | // If @callback is %NULL then the D-Bus method call message will be sent with | ||
| 320 | // the %G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED flag set. | 325 | // the %G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED flag set. | ||
| 321 | func (x *DBusProxy) Call(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 326 | func (x *DBusProxy) Call(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 327 | + | core.LazyRegister(&xDBusProxyCall, "GIO", "g_dbus_proxy_call", false) | |||
| 328 | + | ||||
| 322 | xDBusProxyCall(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 329 | xDBusProxyCall(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 323 | } | 330 | } | ||
| 324 | 331 | ||||
| @@ -326,6 +333,7 @@ var xDBusProxyCallFinish func(uintptr, uintptr, **glib.Error) uintptr | |||||
| 326 | 333 | ||||
| 327 | // Finishes an operation started with g_dbus_proxy_call(). | 334 | // Finishes an operation started with g_dbus_proxy_call(). | ||
| 328 | func (x *DBusProxy) CallFinish(ResVar AsyncResult) (*glib.Variant, error) { | 335 | func (x *DBusProxy) CallFinish(ResVar AsyncResult) (*glib.Variant, error) { | ||
| 336 | + | core.LazyRegister(&xDBusProxyCallFinish, "GIO", "g_dbus_proxy_call_finish", false) | |||
| 329 | var cerr *glib.Error | 337 | var cerr *glib.Error | ||
| 330 | 338 | ||||
| 331 | cret := xDBusProxyCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | 339 | cret := xDBusProxyCallFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | ||
| @@ -377,6 +385,7 @@ var xDBusProxyCallSync func(uintptr, string, *glib.Variant, DBusCallFlags, int, | |||||
| 377 | // #GDBusProxy:g-interface-info) and @method_name is referenced by it, | 385 | // #GDBusProxy:g-interface-info) and @method_name is referenced by it, | ||
| 378 | // then the return value is checked against the return type. | 386 | // then the return value is checked against the return type. | ||
| 379 | func (x *DBusProxy) CallSync(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable) (*glib.Variant, error) { | 387 | func (x *DBusProxy) CallSync(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, CancellableVar *Cancellable) (*glib.Variant, error) { | ||
| 388 | + | core.LazyRegister(&xDBusProxyCallSync, "GIO", "g_dbus_proxy_call_sync", false) | |||
| 380 | var cerr *glib.Error | 389 | var cerr *glib.Error | ||
| 381 | 390 | ||||
| 382 | cret := xDBusProxyCallSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr) | 391 | cret := xDBusProxyCallSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -395,6 +404,8 @@ var xDBusProxyCallWithUnixFdList func(uintptr, string, *glib.Variant, DBusCallFl | |||||
| 395 | // | 404 | // | ||
| 396 | // This method is only available on UNIX. | 405 | // This method is only available on UNIX. | ||
| 397 | func (x *DBusProxy) CallWithUnixFdList(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 406 | func (x *DBusProxy) CallWithUnixFdList(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 407 | + | core.LazyRegister(&xDBusProxyCallWithUnixFdList, "GIO", "g_dbus_proxy_call_with_unix_fd_list", false) | |||
| 408 | + | ||||
| 398 | xDBusProxyCallWithUnixFdList(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 409 | xDBusProxyCallWithUnixFdList(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 399 | } | 410 | } | ||
| 400 | 411 | ||||
| @@ -402,6 +413,7 @@ var xDBusProxyCallWithUnixFdListFinish func(uintptr, **UnixFDList, uintptr, **gl | |||||
| 402 | 413 | ||||
| 403 | // Finishes an operation started with g_dbus_proxy_call_with_unix_fd_list(). | 414 | // Finishes an operation started with g_dbus_proxy_call_with_unix_fd_list(). | ||
| 404 | func (x *DBusProxy) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, ResVar AsyncResult) (*glib.Variant, error) { | 415 | func (x *DBusProxy) CallWithUnixFdListFinish(OutFdListVar **UnixFDList, ResVar AsyncResult) (*glib.Variant, error) { | ||
| 416 | + | core.LazyRegister(&xDBusProxyCallWithUnixFdListFinish, "GIO", "g_dbus_proxy_call_with_unix_fd_list_finish", false) | |||
| 405 | var cerr *glib.Error | 417 | var cerr *glib.Error | ||
| 406 | 418 | ||||
| 407 | cret := xDBusProxyCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr) | 419 | cret := xDBusProxyCallWithUnixFdListFinish(x.GoPointer(), OutFdListVar, ResVar.GoPointer(), &cerr) | ||
| @@ -420,6 +432,7 @@ var xDBusProxyCallWithUnixFdListSync func(uintptr, string, *glib.Variant, DBusCa | |||||
| 420 | // | 432 | // | ||
| 421 | // This method is only available on UNIX. | 433 | // This method is only available on UNIX. | ||
| 422 | func (x *DBusProxy) CallWithUnixFdListSync(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, OutFdListVar **UnixFDList, CancellableVar *Cancellable) (*glib.Variant, error) { | 434 | func (x *DBusProxy) CallWithUnixFdListSync(MethodNameVar string, ParametersVar *glib.Variant, FlagsVar DBusCallFlags, TimeoutMsecVar int, FdListVar *UnixFDList, OutFdListVar **UnixFDList, CancellableVar *Cancellable) (*glib.Variant, error) { | ||
| 435 | + | core.LazyRegister(&xDBusProxyCallWithUnixFdListSync, "GIO", "g_dbus_proxy_call_with_unix_fd_list_sync", false) | |||
| 423 | var cerr *glib.Error | 436 | var cerr *glib.Error | ||
| 424 | 437 | ||||
| 425 | cret := xDBusProxyCallWithUnixFdListSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr) | 438 | cret := xDBusProxyCallWithUnixFdListSync(x.GoPointer(), MethodNameVar, ParametersVar, FlagsVar, TimeoutMsecVar, FdListVar.GoPointer(), OutFdListVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -441,6 +454,8 @@ var xDBusProxyGetCachedProperty func(uintptr, string) uintptr | |||||
| 441 | // #GDBusProxy:g-interface-info) and @property_name is referenced by | 454 | // #GDBusProxy:g-interface-info) and @property_name is referenced by | ||
| 442 | // it, then @value is checked against the type of the property. | 455 | // it, then @value is checked against the type of the property. | ||
| 443 | func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant { | 456 | func (x *DBusProxy) GetCachedProperty(PropertyNameVar string) *glib.Variant { | ||
| 457 | + | core.LazyRegister(&xDBusProxyGetCachedProperty, "GIO", "g_dbus_proxy_get_cached_property", false) | |||
| 458 | + | ||||
| 444 | cret := xDBusProxyGetCachedProperty(x.GoPointer(), PropertyNameVar) | 459 | cret := xDBusProxyGetCachedProperty(x.GoPointer(), PropertyNameVar) | ||
| 445 | if cret == 0 { | 460 | if cret == 0 { | ||
| 446 | return nil | 461 | return nil | ||
| @@ -452,6 +467,8 @@ var xDBusProxyGetCachedPropertyNames func(uintptr) []string | |||||
| 452 | 467 | ||||
| 453 | // Gets the names of all cached properties on @proxy. | 468 | // Gets the names of all cached properties on @proxy. | ||
| 454 | func (x *DBusProxy) GetCachedPropertyNames() []string { | 469 | func (x *DBusProxy) GetCachedPropertyNames() []string { | ||
| 470 | + | core.LazyRegister(&xDBusProxyGetCachedPropertyNames, "GIO", "g_dbus_proxy_get_cached_property_names", false) | |||
| 471 | + | ||||
| 455 | cret := xDBusProxyGetCachedPropertyNames(x.GoPointer()) | 472 | cret := xDBusProxyGetCachedPropertyNames(x.GoPointer()) | ||
| 456 | return cret | 473 | return cret | ||
| 457 | } | 474 | } | ||
| @@ -460,6 +477,7 @@ var xDBusProxyGetConnection func(uintptr) uintptr | |||||
| 460 | 477 | ||||
| 461 | // Gets the connection @proxy is for. | 478 | // Gets the connection @proxy is for. | ||
| 462 | func (x *DBusProxy) GetConnection() *DBusConnection { | 479 | func (x *DBusProxy) GetConnection() *DBusConnection { | ||
| 480 | + | core.LazyRegister(&xDBusProxyGetConnection, "GIO", "g_dbus_proxy_get_connection", false) | |||
| 463 | var cls *DBusConnection | 481 | var cls *DBusConnection | ||
| 464 | 482 | ||||
| 465 | cret := xDBusProxyGetConnection(x.GoPointer()) | 483 | cret := xDBusProxyGetConnection(x.GoPointer()) | ||
| @@ -481,6 +499,8 @@ var xDBusProxyGetDefaultTimeout func(uintptr) int | |||||
| 481 | // | 499 | // | ||
| 482 | // See the #GDBusProxy:g-default-timeout property for more details. | 500 | // See the #GDBusProxy:g-default-timeout property for more details. | ||
| 483 | func (x *DBusProxy) GetDefaultTimeout() int { | 501 | func (x *DBusProxy) GetDefaultTimeout() int { | ||
| 502 | + | core.LazyRegister(&xDBusProxyGetDefaultTimeout, "GIO", "g_dbus_proxy_get_default_timeout", false) | |||
| 503 | + | ||||
| 484 | cret := xDBusProxyGetDefaultTimeout(x.GoPointer()) | 504 | cret := xDBusProxyGetDefaultTimeout(x.GoPointer()) | ||
| 485 | return cret | 505 | return cret | ||
| 486 | } | 506 | } | ||
| @@ -489,6 +509,8 @@ var xDBusProxyGetFlags func(uintptr) DBusProxyFlags | |||||
| 489 | 509 | ||||
| 490 | // Gets the flags that @proxy was constructed with. | 510 | // Gets the flags that @proxy was constructed with. | ||
| 491 | func (x *DBusProxy) GetFlags() DBusProxyFlags { | 511 | func (x *DBusProxy) GetFlags() DBusProxyFlags { | ||
| 512 | + | core.LazyRegister(&xDBusProxyGetFlags, "GIO", "g_dbus_proxy_get_flags", false) | |||
| 513 | + | ||||
| 492 | cret := xDBusProxyGetFlags(x.GoPointer()) | 514 | cret := xDBusProxyGetFlags(x.GoPointer()) | ||
| 493 | return cret | 515 | return cret | ||
| 494 | } | 516 | } | ||
| @@ -499,6 +521,8 @@ var xDBusProxyGetInterfaceInfo func(uintptr) uintptr | |||||
| 499 | // that @proxy conforms to. See the #GDBusProxy:g-interface-info | 521 | // that @proxy conforms to. See the #GDBusProxy:g-interface-info | ||
| 500 | // property for more details. | 522 | // property for more details. | ||
| 501 | func (x *DBusProxy) GetInterfaceInfo() *DBusInterfaceInfo { | 523 | func (x *DBusProxy) GetInterfaceInfo() *DBusInterfaceInfo { | ||
| 524 | + | core.LazyRegister(&xDBusProxyGetInterfaceInfo, "GIO", "g_dbus_proxy_get_interface_info", false) | |||
| 525 | + | ||||
| 502 | cret := xDBusProxyGetInterfaceInfo(x.GoPointer()) | 526 | cret := xDBusProxyGetInterfaceInfo(x.GoPointer()) | ||
| 503 | if cret == 0 { | 527 | if cret == 0 { | ||
| 504 | return nil | 528 | return nil | ||
| @@ -510,6 +534,8 @@ var xDBusProxyGetInterfaceName func(uintptr) string | |||||
| 510 | 534 | ||||
| 511 | // Gets the D-Bus interface name @proxy is for. | 535 | // Gets the D-Bus interface name @proxy is for. | ||
| 512 | func (x *DBusProxy) GetInterfaceName() string { | 536 | func (x *DBusProxy) GetInterfaceName() string { | ||
| 537 | + | core.LazyRegister(&xDBusProxyGetInterfaceName, "GIO", "g_dbus_proxy_get_interface_name", false) | |||
| 538 | + | ||||
| 513 | cret := xDBusProxyGetInterfaceName(x.GoPointer()) | 539 | cret := xDBusProxyGetInterfaceName(x.GoPointer()) | ||
| 514 | return cret | 540 | return cret | ||
| 515 | } | 541 | } | ||
| @@ -522,6 +548,8 @@ var xDBusProxyGetName func(uintptr) string | |||||
| 522 | // However, it may be %NULL for a proxy that communicates using a peer-to-peer | 548 | // However, it may be %NULL for a proxy that communicates using a peer-to-peer | ||
| 523 | // pattern. | 549 | // pattern. | ||
| 524 | func (x *DBusProxy) GetName() string { | 550 | func (x *DBusProxy) GetName() string { | ||
| 551 | + | core.LazyRegister(&xDBusProxyGetName, "GIO", "g_dbus_proxy_get_name", false) | |||
| 552 | + | ||||
| 525 | cret := xDBusProxyGetName(x.GoPointer()) | 553 | cret := xDBusProxyGetName(x.GoPointer()) | ||
| 526 | return cret | 554 | return cret | ||
| 527 | } | 555 | } | ||
| @@ -533,6 +561,8 @@ var xDBusProxyGetNameOwner func(uintptr) string | |||||
| 533 | // #GObject::notify signal to track changes to the | 561 | // #GObject::notify signal to track changes to the | ||
| 534 | // #GDBusProxy:g-name-owner property. | 562 | // #GDBusProxy:g-name-owner property. | ||
| 535 | func (x *DBusProxy) GetNameOwner() string { | 563 | func (x *DBusProxy) GetNameOwner() string { | ||
| 564 | + | core.LazyRegister(&xDBusProxyGetNameOwner, "GIO", "g_dbus_proxy_get_name_owner", false) | |||
| 565 | + | ||||
| 536 | cret := xDBusProxyGetNameOwner(x.GoPointer()) | 566 | cret := xDBusProxyGetNameOwner(x.GoPointer()) | ||
| 537 | return cret | 567 | return cret | ||
| 538 | } | 568 | } | ||
| @@ -541,6 +571,8 @@ var xDBusProxyGetObjectPath func(uintptr) string | |||||
| 541 | 571 | ||||
| 542 | // Gets the object path @proxy is for. | 572 | // Gets the object path @proxy is for. | ||
| 543 | func (x *DBusProxy) GetObjectPath() string { | 573 | func (x *DBusProxy) GetObjectPath() string { | ||
| 574 | + | core.LazyRegister(&xDBusProxyGetObjectPath, "GIO", "g_dbus_proxy_get_object_path", false) | |||
| 575 | + | ||||
| 544 | cret := xDBusProxyGetObjectPath(x.GoPointer()) | 576 | cret := xDBusProxyGetObjectPath(x.GoPointer()) | ||
| 545 | return cret | 577 | return cret | ||
| 546 | } | 578 | } | ||
| @@ -583,6 +615,8 @@ var xDBusProxySetCachedProperty func(uintptr, string, *glib.Variant) | |||||
| 583 | // `ChatroomParticipantJoined(String name)` and | 615 | // `ChatroomParticipantJoined(String name)` and | ||
| 584 | // `ChatroomParticipantParted(String name)`. | 616 | // `ChatroomParticipantParted(String name)`. | ||
| 585 | func (x *DBusProxy) SetCachedProperty(PropertyNameVar string, ValueVar *glib.Variant) { | 617 | func (x *DBusProxy) SetCachedProperty(PropertyNameVar string, ValueVar *glib.Variant) { | ||
| 618 | + | core.LazyRegister(&xDBusProxySetCachedProperty, "GIO", "g_dbus_proxy_set_cached_property", false) | |||
| 619 | + | ||||
| 586 | xDBusProxySetCachedProperty(x.GoPointer(), PropertyNameVar, ValueVar) | 620 | xDBusProxySetCachedProperty(x.GoPointer(), PropertyNameVar, ValueVar) | ||
| 587 | } | 621 | } | ||
| 588 | 622 | ||||
| @@ -594,6 +628,8 @@ var xDBusProxySetDefaultTimeout func(uintptr, int) | |||||
| 594 | // | 628 | // | ||
| 595 | // See the #GDBusProxy:g-default-timeout property for more details. | 629 | // See the #GDBusProxy:g-default-timeout property for more details. | ||
| 596 | func (x *DBusProxy) SetDefaultTimeout(TimeoutMsecVar int) { | 630 | func (x *DBusProxy) SetDefaultTimeout(TimeoutMsecVar int) { | ||
| 631 | + | core.LazyRegister(&xDBusProxySetDefaultTimeout, "GIO", "g_dbus_proxy_set_default_timeout", false) | |||
| 632 | + | ||||
| 597 | xDBusProxySetDefaultTimeout(x.GoPointer(), TimeoutMsecVar) | 633 | xDBusProxySetDefaultTimeout(x.GoPointer(), TimeoutMsecVar) | ||
| 598 | } | 634 | } | ||
| 599 | 635 | ||||
| @@ -603,6 +639,8 @@ var xDBusProxySetInterfaceInfo func(uintptr, *DBusInterfaceInfo) | |||||
| 603 | // interface. See the #GDBusProxy:g-interface-info property for more | 639 | // interface. See the #GDBusProxy:g-interface-info property for more | ||
| 604 | // details. | 640 | // details. | ||
| 605 | func (x *DBusProxy) SetInterfaceInfo(InfoVar *DBusInterfaceInfo) { | 641 | func (x *DBusProxy) SetInterfaceInfo(InfoVar *DBusInterfaceInfo) { | ||
| 642 | + | core.LazyRegister(&xDBusProxySetInterfaceInfo, "GIO", "g_dbus_proxy_set_interface_info", false) | |||
| 643 | + | ||||
| 606 | xDBusProxySetInterfaceInfo(x.GoPointer(), InfoVar) | 644 | xDBusProxySetInterfaceInfo(x.GoPointer(), InfoVar) | ||
| 607 | } | 645 | } | ||
| 608 | 646 | ||||
| @@ -1039,6 +1077,8 @@ var xDBusProxyNew func(uintptr, DBusProxyFlags, *DBusInterfaceInfo, uintptr, str | |||||
| 1039 | // | 1077 | // | ||
| 1040 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | 1078 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | ||
| 1041 | func DBusProxyNew(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar *string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 1079 | func DBusProxyNew(ConnectionVar *DBusConnection, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar *string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 1080 | + | core.LazyRegister(&xDBusProxyNew, "GIO", "g_dbus_proxy_new", false) | |||
| 1081 | + | ||||
| 1042 | NameVarPtr := core.GStrdupNullable(NameVar) | 1082 | NameVarPtr := core.GStrdupNullable(NameVar) | ||
| 1043 | defer core.GFreeNullable(NameVarPtr) | 1083 | defer core.GFreeNullable(NameVarPtr) | ||
| 1044 | 1084 | ||||
| @@ -1051,48 +1091,12 @@ var xDBusProxyNewForBus func(BusType, DBusProxyFlags, *DBusInterfaceInfo, string | |||||
| 1051 | // | 1091 | // | ||
| 1052 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | 1092 | // #GDBusProxy is used in this [example][class@Gio.DBusProxy#a-watch-proxy-example]. | ||
| 1053 | func DBusProxyNewForBus(BusTypeVar BusType, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | 1093 | func DBusProxyNewForBus(BusTypeVar BusType, FlagsVar DBusProxyFlags, InfoVar *DBusInterfaceInfo, NameVar string, ObjectPathVar string, InterfaceNameVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | ||
| 1094 | + | core.LazyRegister(&xDBusProxyNewForBus, "GIO", "g_dbus_proxy_new_for_bus", false) | |||
| 1095 | + | ||||
| 1054 | xDBusProxyNewForBus(BusTypeVar, FlagsVar, InfoVar, NameVar, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 1096 | xDBusProxyNewForBus(BusTypeVar, FlagsVar, InfoVar, NameVar, ObjectPathVar, InterfaceNameVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 1055 | } | 1097 | } | ||
| 1056 | 1098 | ||||
| 1057 | func init() { | 1099 | func init() { | ||
| 1058 | core.SetPackageName("GIO", "gio-2.0") | 1100 | core.SetPackageName("GIO", "gio-2.0") | ||
| 1059 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 1101 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 1060 | - | var libs []uintptr | |||
| 1061 | - | for _, libPath := range core.GetPaths("GIO") { | |||
| 1062 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 1063 | - | if err != nil { | |||
| 1064 | - | panic(err) | |||
| 1065 | - | } | |||
| 1066 | - | libs = append(libs, lib) | |||
| 1067 | - | } | |||
| 1068 | - | ||||
| 1069 | - | core.PuregoSafeRegister(&xDBusProxyGLibType, libs, "g_dbus_proxy_get_type") | |||
| 1070 | - | ||||
| 1071 | - | core.PuregoSafeRegister(&xNewDBusProxyFinish, libs, "g_dbus_proxy_new_finish") | |||
| 1072 | - | core.PuregoSafeRegister(&xNewDBusProxyForBusFinish, libs, "g_dbus_proxy_new_for_bus_finish") | |||
| 1073 | - | core.PuregoSafeRegister(&xNewDBusProxyForBusSync, libs, "g_dbus_proxy_new_for_bus_sync") | |||
| 1074 | - | core.PuregoSafeRegister(&xNewDBusProxySync, libs, "g_dbus_proxy_new_sync") | |||
| 1075 | - | ||||
| 1076 | - | core.PuregoSafeRegister(&xDBusProxyCall, libs, "g_dbus_proxy_call") | |||
| 1077 | - | core.PuregoSafeRegister(&xDBusProxyCallFinish, libs, "g_dbus_proxy_call_finish") | |||
| 1078 | - | core.PuregoSafeRegister(&xDBusProxyCallSync, libs, "g_dbus_proxy_call_sync") | |||
| 1079 | - | core.PuregoSafeRegister(&xDBusProxyCallWithUnixFdList, libs, "g_dbus_proxy_call_with_unix_fd_list") | |||
| 1080 | - | core.PuregoSafeRegister(&xDBusProxyCallWithUnixFdListFinish, libs, "g_dbus_proxy_call_with_unix_fd_list_finish") | |||
| 1081 | - | core.PuregoSafeRegister(&xDBusProxyCallWithUnixFdListSync, libs, "g_dbus_proxy_call_with_unix_fd_list_sync") | |||
| 1082 | - | core.PuregoSafeRegister(&xDBusProxyGetCachedProperty, libs, "g_dbus_proxy_get_cached_property") | |||
| 1083 | - | core.PuregoSafeRegister(&xDBusProxyGetCachedPropertyNames, libs, "g_dbus_proxy_get_cached_property_names") | |||
| 1084 | - | core.PuregoSafeRegister(&xDBusProxyGetConnection, libs, "g_dbus_proxy_get_connection") | |||
| 1085 | - | core.PuregoSafeRegister(&xDBusProxyGetDefaultTimeout, libs, "g_dbus_proxy_get_default_timeout") | |||
| 1086 | - | core.PuregoSafeRegister(&xDBusProxyGetFlags, libs, "g_dbus_proxy_get_flags") | |||
| 1087 | - | core.PuregoSafeRegister(&xDBusProxyGetInterfaceInfo, libs, "g_dbus_proxy_get_interface_info") | |||
| 1088 | - | core.PuregoSafeRegister(&xDBusProxyGetInterfaceName, libs, "g_dbus_proxy_get_interface_name") | |||
| 1089 | - | core.PuregoSafeRegister(&xDBusProxyGetName, libs, "g_dbus_proxy_get_name") | |||
| 1090 | - | core.PuregoSafeRegister(&xDBusProxyGetNameOwner, libs, "g_dbus_proxy_get_name_owner") | |||
| 1091 | - | core.PuregoSafeRegister(&xDBusProxyGetObjectPath, libs, "g_dbus_proxy_get_object_path") | |||
| 1092 | - | core.PuregoSafeRegister(&xDBusProxySetCachedProperty, libs, "g_dbus_proxy_set_cached_property") | |||
| 1093 | - | core.PuregoSafeRegister(&xDBusProxySetDefaultTimeout, libs, "g_dbus_proxy_set_default_timeout") | |||
| 1094 | - | core.PuregoSafeRegister(&xDBusProxySetInterfaceInfo, libs, "g_dbus_proxy_set_interface_info") | |||
| 1095 | - | ||||
| 1096 | - | core.PuregoSafeRegister(&xDBusProxyNew, libs, "g_dbus_proxy_new") | |||
| 1097 | - | core.PuregoSafeRegister(&xDBusProxyNewForBus, libs, "g_dbus_proxy_new_for_bus") | |||
| 1098 | } | 1102 | } | ||