Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +87 -123 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +28 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +36 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +51 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +35 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +62 -78 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +22 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +46 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +46 -57 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +79 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +25 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +32 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +31 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +28 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +22 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +43 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +41 -53 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +28 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +1 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +118 -120 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +20 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +36 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +35 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +22 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +35 -42 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 +33 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +26 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +21 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +66 -157 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +16 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +72 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +32 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +1 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +79 -102 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +17 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +31 -59 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +39 -96 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +116 -244 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +55 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +26 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +20 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +30 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +35 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +23 -14
| @@ -179,7 +179,6 @@ type DataOutputStream struct { | |||
| 179 | 179 | var xDataOutputStreamGLibType func() types.GType | |
| 180 | 180 | ||
| 181 | 181 | func DataOutputStreamGLibType() types.GType { | |
| 182 | - | core.LazyRegister(&xDataOutputStreamGLibType, "GIO", "g_data_output_stream_get_type", false) | |
| 183 | 182 | return xDataOutputStreamGLibType() | |
| 184 | 183 | } | |
| 185 | 184 | ||
| @@ -193,7 +192,6 @@ var xNewDataOutputStream func(uintptr) uintptr | |||
| 193 | 192 | ||
| 194 | 193 | // Creates a new data output stream for @base_stream. | |
| 195 | 194 | func NewDataOutputStream(BaseStreamVar *OutputStream) *DataOutputStream { | |
| 196 | - | core.LazyRegister(&xNewDataOutputStream, "GIO", "g_data_output_stream_new", false) | |
| 197 | 195 | var cls *DataOutputStream | |
| 198 | 196 | ||
| 199 | 197 | cret := xNewDataOutputStream(BaseStreamVar.GoPointer()) | |
| @@ -210,8 +208,6 @@ var xDataOutputStreamGetByteOrder func(uintptr) DataStreamByteOrder | |||
| 210 | 208 | ||
| 211 | 209 | // Gets the byte order for the stream. | |
| 212 | 210 | func (x *DataOutputStream) GetByteOrder() DataStreamByteOrder { | |
| 213 | - | core.LazyRegister(&xDataOutputStreamGetByteOrder, "GIO", "g_data_output_stream_get_byte_order", false) | |
| 214 | - | ||
| 215 | 211 | cret := xDataOutputStreamGetByteOrder(x.GoPointer()) | |
| 216 | 212 | return cret | |
| 217 | 213 | } | |
| @@ -220,7 +216,6 @@ var xDataOutputStreamPutByte func(uintptr, byte, uintptr, **glib.Error) bool | |||
| 220 | 216 | ||
| 221 | 217 | // Puts a byte into the output stream. | |
| 222 | 218 | func (x *DataOutputStream) PutByte(DataVar byte, CancellableVar *Cancellable) (bool, error) { | |
| 223 | - | core.LazyRegister(&xDataOutputStreamPutByte, "GIO", "g_data_output_stream_put_byte", false) | |
| 224 | 219 | var cerr *glib.Error | |
| 225 | 220 | ||
| 226 | 221 | cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -234,7 +229,6 @@ var xDataOutputStreamPutInt16 func(uintptr, int16, uintptr, **glib.Error) bool | |||
| 234 | 229 | ||
| 235 | 230 | // Puts a signed 16-bit integer into the output stream. | |
| 236 | 231 | func (x *DataOutputStream) PutInt16(DataVar int16, CancellableVar *Cancellable) (bool, error) { | |
| 237 | - | core.LazyRegister(&xDataOutputStreamPutInt16, "GIO", "g_data_output_stream_put_int16", false) | |
| 238 | 232 | var cerr *glib.Error | |
| 239 | 233 | ||
| 240 | 234 | cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -248,7 +242,6 @@ var xDataOutputStreamPutInt32 func(uintptr, int32, uintptr, **glib.Error) bool | |||
| 248 | 242 | ||
| 249 | 243 | // Puts a signed 32-bit integer into the output stream. | |
| 250 | 244 | func (x *DataOutputStream) PutInt32(DataVar int32, CancellableVar *Cancellable) (bool, error) { | |
| 251 | - | core.LazyRegister(&xDataOutputStreamPutInt32, "GIO", "g_data_output_stream_put_int32", false) | |
| 252 | 245 | var cerr *glib.Error | |
| 253 | 246 | ||
| 254 | 247 | cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -262,7 +255,6 @@ var xDataOutputStreamPutInt64 func(uintptr, int64, uintptr, **glib.Error) bool | |||
| 262 | 255 | ||
| 263 | 256 | // Puts a signed 64-bit integer into the stream. | |
| 264 | 257 | func (x *DataOutputStream) PutInt64(DataVar int64, CancellableVar *Cancellable) (bool, error) { | |
| 265 | - | core.LazyRegister(&xDataOutputStreamPutInt64, "GIO", "g_data_output_stream_put_int64", false) | |
| 266 | 258 | var cerr *glib.Error | |
| 267 | 259 | ||
| 268 | 260 | cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -276,7 +268,6 @@ var xDataOutputStreamPutString func(uintptr, string, uintptr, **glib.Error) bool | |||
| 276 | 268 | ||
| 277 | 269 | // Puts a string into the output stream. | |
| 278 | 270 | func (x *DataOutputStream) PutString(StrVar string, CancellableVar *Cancellable) (bool, error) { | |
| 279 | - | core.LazyRegister(&xDataOutputStreamPutString, "GIO", "g_data_output_stream_put_string", false) | |
| 280 | 271 | var cerr *glib.Error | |
| 281 | 272 | ||
| 282 | 273 | cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -290,7 +281,6 @@ var xDataOutputStreamPutUint16 func(uintptr, uint16, uintptr, **glib.Error) bool | |||
| 290 | 281 | ||
| 291 | 282 | // Puts an unsigned 16-bit integer into the output stream. | |
| 292 | 283 | func (x *DataOutputStream) PutUint16(DataVar uint16, CancellableVar *Cancellable) (bool, error) { | |
| 293 | - | core.LazyRegister(&xDataOutputStreamPutUint16, "GIO", "g_data_output_stream_put_uint16", false) | |
| 294 | 284 | var cerr *glib.Error | |
| 295 | 285 | ||
| 296 | 286 | cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -304,7 +294,6 @@ var xDataOutputStreamPutUint32 func(uintptr, uint32, uintptr, **glib.Error) bool | |||
| 304 | 294 | ||
| 305 | 295 | // Puts an unsigned 32-bit integer into the stream. | |
| 306 | 296 | func (x *DataOutputStream) PutUint32(DataVar uint32, CancellableVar *Cancellable) (bool, error) { | |
| 307 | - | core.LazyRegister(&xDataOutputStreamPutUint32, "GIO", "g_data_output_stream_put_uint32", false) | |
| 308 | 297 | var cerr *glib.Error | |
| 309 | 298 | ||
| 310 | 299 | cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -318,7 +307,6 @@ var xDataOutputStreamPutUint64 func(uintptr, uint64, uintptr, **glib.Error) bool | |||
| 318 | 307 | ||
| 319 | 308 | // Puts an unsigned 64-bit integer into the stream. | |
| 320 | 309 | func (x *DataOutputStream) PutUint64(DataVar uint64, CancellableVar *Cancellable) (bool, error) { | |
| 321 | - | core.LazyRegister(&xDataOutputStreamPutUint64, "GIO", "g_data_output_stream_put_uint64", false) | |
| 322 | 310 | var cerr *glib.Error | |
| 323 | 311 | ||
| 324 | 312 | cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | |
| @@ -332,8 +320,6 @@ var xDataOutputStreamSetByteOrder func(uintptr, DataStreamByteOrder) | |||
| 332 | 320 | ||
| 333 | 321 | // Sets the byte order of the data output stream to @order. | |
| 334 | 322 | func (x *DataOutputStream) SetByteOrder(OrderVar DataStreamByteOrder) { | |
| 335 | - | core.LazyRegister(&xDataOutputStreamSetByteOrder, "GIO", "g_data_output_stream_set_byte_order", false) | |
| 336 | - | ||
| 337 | 323 | xDataOutputStreamSetByteOrder(x.GoPointer(), OrderVar) | |
| 338 | 324 | } | |
| 339 | 325 | ||
| @@ -413,4 +399,27 @@ func (x *DataOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable | |||
| 413 | 399 | func init() { | |
| 414 | 400 | core.SetPackageName("GIO", "gio-2.0") | |
| 415 | 401 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 402 | + | var libs []uintptr | |
| 403 | + | for _, libPath := range core.GetPaths("GIO") { | |
| 404 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 405 | + | if err != nil { | |
| 406 | + | panic(err) | |
| 407 | + | } | |
| 408 | + | libs = append(libs, lib) | |
| 409 | + | } | |
| 410 | + | ||
| 411 | + | core.PuregoSafeRegister(&xDataOutputStreamGLibType, libs, "g_data_output_stream_get_type") | |
| 412 | + | ||
| 413 | + | core.PuregoSafeRegister(&xNewDataOutputStream, libs, "g_data_output_stream_new") | |
| 414 | + | ||
| 415 | + | core.PuregoSafeRegister(&xDataOutputStreamGetByteOrder, libs, "g_data_output_stream_get_byte_order") | |
| 416 | + | core.PuregoSafeRegister(&xDataOutputStreamPutByte, libs, "g_data_output_stream_put_byte") | |
| 417 | + | core.PuregoSafeRegister(&xDataOutputStreamPutInt16, libs, "g_data_output_stream_put_int16") | |
| 418 | + | core.PuregoSafeRegister(&xDataOutputStreamPutInt32, libs, "g_data_output_stream_put_int32") | |
| 419 | + | core.PuregoSafeRegister(&xDataOutputStreamPutInt64, libs, "g_data_output_stream_put_int64") | |
| 420 | + | core.PuregoSafeRegister(&xDataOutputStreamPutString, libs, "g_data_output_stream_put_string") | |
| 421 | + | core.PuregoSafeRegister(&xDataOutputStreamPutUint16, libs, "g_data_output_stream_put_uint16") | |
| 422 | + | core.PuregoSafeRegister(&xDataOutputStreamPutUint32, libs, "g_data_output_stream_put_uint32") | |
| 423 | + | core.PuregoSafeRegister(&xDataOutputStreamPutUint64, libs, "g_data_output_stream_put_uint64") | |
| 424 | + | core.PuregoSafeRegister(&xDataOutputStreamSetByteOrder, libs, "g_data_output_stream_set_byte_order") | |
| 416 | 425 | } | |
| @@ -179,7 +179,6 @@ type DataOutputStream struct { | |||||
| 179 | var xDataOutputStreamGLibType func() types.GType | 179 | var xDataOutputStreamGLibType func() types.GType | ||
| 180 | 180 | ||||
| 181 | func DataOutputStreamGLibType() types.GType { | 181 | func DataOutputStreamGLibType() types.GType { | ||
| 182 | - | core.LazyRegister(&xDataOutputStreamGLibType, "GIO", "g_data_output_stream_get_type", false) | |||
| 183 | return xDataOutputStreamGLibType() | 182 | return xDataOutputStreamGLibType() | ||
| 184 | } | 183 | } | ||
| 185 | 184 | ||||
| @@ -193,7 +192,6 @@ var xNewDataOutputStream func(uintptr) uintptr | |||||
| 193 | 192 | ||||
| 194 | // Creates a new data output stream for @base_stream. | 193 | // Creates a new data output stream for @base_stream. | ||
| 195 | func NewDataOutputStream(BaseStreamVar *OutputStream) *DataOutputStream { | 194 | func NewDataOutputStream(BaseStreamVar *OutputStream) *DataOutputStream { | ||
| 196 | - | core.LazyRegister(&xNewDataOutputStream, "GIO", "g_data_output_stream_new", false) | |||
| 197 | var cls *DataOutputStream | 195 | var cls *DataOutputStream | ||
| 198 | 196 | ||||
| 199 | cret := xNewDataOutputStream(BaseStreamVar.GoPointer()) | 197 | cret := xNewDataOutputStream(BaseStreamVar.GoPointer()) | ||
| @@ -210,8 +208,6 @@ var xDataOutputStreamGetByteOrder func(uintptr) DataStreamByteOrder | |||||
| 210 | 208 | ||||
| 211 | // Gets the byte order for the stream. | 209 | // Gets the byte order for the stream. | ||
| 212 | func (x *DataOutputStream) GetByteOrder() DataStreamByteOrder { | 210 | func (x *DataOutputStream) GetByteOrder() DataStreamByteOrder { | ||
| 213 | - | core.LazyRegister(&xDataOutputStreamGetByteOrder, "GIO", "g_data_output_stream_get_byte_order", false) | |||
| 214 | - | ||||
| 215 | cret := xDataOutputStreamGetByteOrder(x.GoPointer()) | 211 | cret := xDataOutputStreamGetByteOrder(x.GoPointer()) | ||
| 216 | return cret | 212 | return cret | ||
| 217 | } | 213 | } | ||
| @@ -220,7 +216,6 @@ var xDataOutputStreamPutByte func(uintptr, byte, uintptr, **glib.Error) bool | |||||
| 220 | 216 | ||||
| 221 | // Puts a byte into the output stream. | 217 | // Puts a byte into the output stream. | ||
| 222 | func (x *DataOutputStream) PutByte(DataVar byte, CancellableVar *Cancellable) (bool, error) { | 218 | func (x *DataOutputStream) PutByte(DataVar byte, CancellableVar *Cancellable) (bool, error) { | ||
| 223 | - | core.LazyRegister(&xDataOutputStreamPutByte, "GIO", "g_data_output_stream_put_byte", false) | |||
| 224 | var cerr *glib.Error | 219 | var cerr *glib.Error | ||
| 225 | 220 | ||||
| 226 | cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 221 | cret := xDataOutputStreamPutByte(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -234,7 +229,6 @@ var xDataOutputStreamPutInt16 func(uintptr, int16, uintptr, **glib.Error) bool | |||||
| 234 | 229 | ||||
| 235 | // Puts a signed 16-bit integer into the output stream. | 230 | // Puts a signed 16-bit integer into the output stream. | ||
| 236 | func (x *DataOutputStream) PutInt16(DataVar int16, CancellableVar *Cancellable) (bool, error) { | 231 | func (x *DataOutputStream) PutInt16(DataVar int16, CancellableVar *Cancellable) (bool, error) { | ||
| 237 | - | core.LazyRegister(&xDataOutputStreamPutInt16, "GIO", "g_data_output_stream_put_int16", false) | |||
| 238 | var cerr *glib.Error | 232 | var cerr *glib.Error | ||
| 239 | 233 | ||||
| 240 | cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 234 | cret := xDataOutputStreamPutInt16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -248,7 +242,6 @@ var xDataOutputStreamPutInt32 func(uintptr, int32, uintptr, **glib.Error) bool | |||||
| 248 | 242 | ||||
| 249 | // Puts a signed 32-bit integer into the output stream. | 243 | // Puts a signed 32-bit integer into the output stream. | ||
| 250 | func (x *DataOutputStream) PutInt32(DataVar int32, CancellableVar *Cancellable) (bool, error) { | 244 | func (x *DataOutputStream) PutInt32(DataVar int32, CancellableVar *Cancellable) (bool, error) { | ||
| 251 | - | core.LazyRegister(&xDataOutputStreamPutInt32, "GIO", "g_data_output_stream_put_int32", false) | |||
| 252 | var cerr *glib.Error | 245 | var cerr *glib.Error | ||
| 253 | 246 | ||||
| 254 | cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 247 | cret := xDataOutputStreamPutInt32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -262,7 +255,6 @@ var xDataOutputStreamPutInt64 func(uintptr, int64, uintptr, **glib.Error) bool | |||||
| 262 | 255 | ||||
| 263 | // Puts a signed 64-bit integer into the stream. | 256 | // Puts a signed 64-bit integer into the stream. | ||
| 264 | func (x *DataOutputStream) PutInt64(DataVar int64, CancellableVar *Cancellable) (bool, error) { | 257 | func (x *DataOutputStream) PutInt64(DataVar int64, CancellableVar *Cancellable) (bool, error) { | ||
| 265 | - | core.LazyRegister(&xDataOutputStreamPutInt64, "GIO", "g_data_output_stream_put_int64", false) | |||
| 266 | var cerr *glib.Error | 258 | var cerr *glib.Error | ||
| 267 | 259 | ||||
| 268 | cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 260 | cret := xDataOutputStreamPutInt64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -276,7 +268,6 @@ var xDataOutputStreamPutString func(uintptr, string, uintptr, **glib.Error) bool | |||||
| 276 | 268 | ||||
| 277 | // Puts a string into the output stream. | 269 | // Puts a string into the output stream. | ||
| 278 | func (x *DataOutputStream) PutString(StrVar string, CancellableVar *Cancellable) (bool, error) { | 270 | func (x *DataOutputStream) PutString(StrVar string, CancellableVar *Cancellable) (bool, error) { | ||
| 279 | - | core.LazyRegister(&xDataOutputStreamPutString, "GIO", "g_data_output_stream_put_string", false) | |||
| 280 | var cerr *glib.Error | 271 | var cerr *glib.Error | ||
| 281 | 272 | ||||
| 282 | cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr) | 273 | cret := xDataOutputStreamPutString(x.GoPointer(), StrVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -290,7 +281,6 @@ var xDataOutputStreamPutUint16 func(uintptr, uint16, uintptr, **glib.Error) bool | |||||
| 290 | 281 | ||||
| 291 | // Puts an unsigned 16-bit integer into the output stream. | 282 | // Puts an unsigned 16-bit integer into the output stream. | ||
| 292 | func (x *DataOutputStream) PutUint16(DataVar uint16, CancellableVar *Cancellable) (bool, error) { | 283 | func (x *DataOutputStream) PutUint16(DataVar uint16, CancellableVar *Cancellable) (bool, error) { | ||
| 293 | - | core.LazyRegister(&xDataOutputStreamPutUint16, "GIO", "g_data_output_stream_put_uint16", false) | |||
| 294 | var cerr *glib.Error | 284 | var cerr *glib.Error | ||
| 295 | 285 | ||||
| 296 | cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 286 | cret := xDataOutputStreamPutUint16(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -304,7 +294,6 @@ var xDataOutputStreamPutUint32 func(uintptr, uint32, uintptr, **glib.Error) bool | |||||
| 304 | 294 | ||||
| 305 | // Puts an unsigned 32-bit integer into the stream. | 295 | // Puts an unsigned 32-bit integer into the stream. | ||
| 306 | func (x *DataOutputStream) PutUint32(DataVar uint32, CancellableVar *Cancellable) (bool, error) { | 296 | func (x *DataOutputStream) PutUint32(DataVar uint32, CancellableVar *Cancellable) (bool, error) { | ||
| 307 | - | core.LazyRegister(&xDataOutputStreamPutUint32, "GIO", "g_data_output_stream_put_uint32", false) | |||
| 308 | var cerr *glib.Error | 297 | var cerr *glib.Error | ||
| 309 | 298 | ||||
| 310 | cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 299 | cret := xDataOutputStreamPutUint32(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -318,7 +307,6 @@ var xDataOutputStreamPutUint64 func(uintptr, uint64, uintptr, **glib.Error) bool | |||||
| 318 | 307 | ||||
| 319 | // Puts an unsigned 64-bit integer into the stream. | 308 | // Puts an unsigned 64-bit integer into the stream. | ||
| 320 | func (x *DataOutputStream) PutUint64(DataVar uint64, CancellableVar *Cancellable) (bool, error) { | 309 | func (x *DataOutputStream) PutUint64(DataVar uint64, CancellableVar *Cancellable) (bool, error) { | ||
| 321 | - | core.LazyRegister(&xDataOutputStreamPutUint64, "GIO", "g_data_output_stream_put_uint64", false) | |||
| 322 | var cerr *glib.Error | 310 | var cerr *glib.Error | ||
| 323 | 311 | ||||
| 324 | cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | 312 | cret := xDataOutputStreamPutUint64(x.GoPointer(), DataVar, CancellableVar.GoPointer(), &cerr) | ||
| @@ -332,8 +320,6 @@ var xDataOutputStreamSetByteOrder func(uintptr, DataStreamByteOrder) | |||||
| 332 | 320 | ||||
| 333 | // Sets the byte order of the data output stream to @order. | 321 | // Sets the byte order of the data output stream to @order. | ||
| 334 | func (x *DataOutputStream) SetByteOrder(OrderVar DataStreamByteOrder) { | 322 | func (x *DataOutputStream) SetByteOrder(OrderVar DataStreamByteOrder) { | ||
| 335 | - | core.LazyRegister(&xDataOutputStreamSetByteOrder, "GIO", "g_data_output_stream_set_byte_order", false) | |||
| 336 | - | ||||
| 337 | xDataOutputStreamSetByteOrder(x.GoPointer(), OrderVar) | 323 | xDataOutputStreamSetByteOrder(x.GoPointer(), OrderVar) | ||
| 338 | } | 324 | } | ||
| 339 | 325 | ||||
| @@ -413,4 +399,27 @@ func (x *DataOutputStream) Truncate(OffsetVar int64, CancellableVar *Cancellable | |||||
| 413 | func init() { | 399 | func init() { | ||
| 414 | core.SetPackageName("GIO", "gio-2.0") | 400 | core.SetPackageName("GIO", "gio-2.0") | ||
| 415 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 401 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 402 | + | var libs []uintptr | |||
| 403 | + | for _, libPath := range core.GetPaths("GIO") { | |||
| 404 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 405 | + | if err != nil { | |||
| 406 | + | panic(err) | |||
| 407 | + | } | |||
| 408 | + | libs = append(libs, lib) | |||
| 409 | + | } | |||
| 410 | + | ||||
| 411 | + | core.PuregoSafeRegister(&xDataOutputStreamGLibType, libs, "g_data_output_stream_get_type") | |||
| 412 | + | ||||
| 413 | + | core.PuregoSafeRegister(&xNewDataOutputStream, libs, "g_data_output_stream_new") | |||
| 414 | + | ||||
| 415 | + | core.PuregoSafeRegister(&xDataOutputStreamGetByteOrder, libs, "g_data_output_stream_get_byte_order") | |||
| 416 | + | core.PuregoSafeRegister(&xDataOutputStreamPutByte, libs, "g_data_output_stream_put_byte") | |||
| 417 | + | core.PuregoSafeRegister(&xDataOutputStreamPutInt16, libs, "g_data_output_stream_put_int16") | |||
| 418 | + | core.PuregoSafeRegister(&xDataOutputStreamPutInt32, libs, "g_data_output_stream_put_int32") | |||
| 419 | + | core.PuregoSafeRegister(&xDataOutputStreamPutInt64, libs, "g_data_output_stream_put_int64") | |||
| 420 | + | core.PuregoSafeRegister(&xDataOutputStreamPutString, libs, "g_data_output_stream_put_string") | |||
| 421 | + | core.PuregoSafeRegister(&xDataOutputStreamPutUint16, libs, "g_data_output_stream_put_uint16") | |||
| 422 | + | core.PuregoSafeRegister(&xDataOutputStreamPutUint32, libs, "g_data_output_stream_put_uint32") | |||
| 423 | + | core.PuregoSafeRegister(&xDataOutputStreamPutUint64, libs, "g_data_output_stream_put_uint64") | |||
| 424 | + | core.PuregoSafeRegister(&xDataOutputStreamSetByteOrder, libs, "g_data_output_stream_set_byte_order") | |||
| 416 | } | 425 | } | ||