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 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +66 -77 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +18 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +56 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +64 -88 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +30 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +23 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +18 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +38 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +14 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +82 -214 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +24 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +80 -207 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +450 -1148 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +35 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +84 -138 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +15 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +25 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +48 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +1 -90 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +13 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +60 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +50 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +33 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +86 -215 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +32 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +21 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +31 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +19 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +72 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +22 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +21 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +15 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +67 -75 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +67 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +43 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +72 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +44 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +25 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +11 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +39 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +31 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +52 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +22 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +33 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +29 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +46 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +48 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +22 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +24 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +58 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +28 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +59 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +39 -56 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +24 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +61 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +17 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +28 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +28 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +65 -103 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +66 -107 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +29 -30
| @@ -5,6 +5,7 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/purego" | |
| 8 | 9 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 10 | "github.com/bnema/puregotk/v4/gobject/types" | |
| 10 | 11 | ) | |
| @@ -51,7 +52,6 @@ type Error struct { | |||
| 51 | 52 | var xErrorGLibType func() types.GType | |
| 52 | 53 | ||
| 53 | 54 | func ErrorGLibType() types.GType { | |
| 54 | - | core.LazyRegister(&xErrorGLibType, "GLIB", "g_error_get_type", false) | |
| 55 | 55 | return xErrorGLibType() | |
| 56 | 56 | } | |
| 57 | 57 | ||
| @@ -72,8 +72,6 @@ var xNewError func(Quark, int, string, ...interface{}) uintptr | |||
| 72 | 72 | // Creates a new #GError with the given @domain and @code, | |
| 73 | 73 | // and a message formatted with @format. | |
| 74 | 74 | func NewError(DomainVar Quark, CodeVar int, FormatVar string, varArgs ...interface{}) *Error { | |
| 75 | - | core.LazyRegister(&xNewError, "GLIB", "g_error_new", false) | |
| 76 | - | ||
| 77 | 75 | cret := xNewError(DomainVar, CodeVar, FormatVar, varArgs...) | |
| 78 | 76 | if cret == 0 { | |
| 79 | 77 | return nil | |
| @@ -88,8 +86,6 @@ var xNewErrorLiteral func(Quark, int, string) uintptr | |||
| 88 | 86 | // @message contains text you don't have control over, | |
| 89 | 87 | // that could include printf() escape sequences. | |
| 90 | 88 | func NewErrorLiteral(DomainVar Quark, CodeVar int, MessageVar string) *Error { | |
| 91 | - | core.LazyRegister(&xNewErrorLiteral, "GLIB", "g_error_new_literal", false) | |
| 92 | - | ||
| 93 | 89 | cret := xNewErrorLiteral(DomainVar, CodeVar, MessageVar) | |
| 94 | 90 | if cret == 0 { | |
| 95 | 91 | return nil | |
| @@ -102,8 +98,6 @@ var xNewErrorValist func(Quark, int, string, []interface{}) uintptr | |||
| 102 | 98 | // Creates a new #GError with the given @domain and @code, | |
| 103 | 99 | // and a message formatted with @format. | |
| 104 | 100 | func NewErrorValist(DomainVar Quark, CodeVar int, FormatVar string, ArgsVar []interface{}) *Error { | |
| 105 | - | core.LazyRegister(&xNewErrorValist, "GLIB", "g_error_new_valist", false) | |
| 106 | - | ||
| 107 | 101 | cret := xNewErrorValist(DomainVar, CodeVar, FormatVar, ArgsVar) | |
| 108 | 102 | if cret == 0 { | |
| 109 | 103 | return nil | |
| @@ -115,8 +109,6 @@ var xErrorCopy func(uintptr) uintptr | |||
| 115 | 109 | ||
| 116 | 110 | // Makes a copy of @error. | |
| 117 | 111 | func (x *Error) Copy() *Error { | |
| 118 | - | core.LazyRegister(&xErrorCopy, "GLIB", "g_error_copy", false) | |
| 119 | - | ||
| 120 | 112 | cret := xErrorCopy(x.GoPointer()) | |
| 121 | 113 | if cret == 0 { | |
| 122 | 114 | return nil | |
| @@ -128,8 +120,6 @@ var xErrorFree func(uintptr) | |||
| 128 | 120 | ||
| 129 | 121 | // Frees a #GError and associated resources. | |
| 130 | 122 | func (x *Error) Free() { | |
| 131 | - | core.LazyRegister(&xErrorFree, "GLIB", "g_error_free", false) | |
| 132 | - | ||
| 133 | 123 | xErrorFree(x.GoPointer()) | |
| 134 | 124 | } | |
| 135 | 125 | ||
| @@ -146,8 +136,6 @@ var xErrorMatches func(uintptr, Quark, int) bool | |||
| 146 | 136 | // extended in the future to provide a more specific error code for | |
| 147 | 137 | // a certain case, your code will still work. | |
| 148 | 138 | func (x *Error) Matches(DomainVar Quark, CodeVar int) bool { | |
| 149 | - | core.LazyRegister(&xErrorMatches, "GLIB", "g_error_matches", false) | |
| 150 | - | ||
| 151 | 139 | cret := xErrorMatches(x.GoPointer(), DomainVar, CodeVar) | |
| 152 | 140 | return cret | |
| 153 | 141 | } | |
| @@ -157,7 +145,6 @@ var xClearError func(**Error) | |||
| 157 | 145 | // If @err or `*err` is %NULL, does nothing. Otherwise, | |
| 158 | 146 | // calls g_error_free() on `*err` and sets `*err` to %NULL. | |
| 159 | 147 | func ClearError() error { | |
| 160 | - | core.LazyRegister(&xClearError, "GLIB", "g_clear_error", false) | |
| 161 | 148 | var cerr *Error | |
| 162 | 149 | ||
| 163 | 150 | xClearError(&cerr) | |
| @@ -173,8 +160,6 @@ var xErrorDomainRegister func(string, uint, uintptr, uintptr, uintptr) Quark | |||
| 173 | 160 | // @error_type_name will be duplicated. Otherwise does the same as | |
| 174 | 161 | // g_error_domain_register_static(). | |
| 175 | 162 | func ErrorDomainRegister(ErrorTypeNameVar string, ErrorTypePrivateSizeVar uint, ErrorTypeInitVar *ErrorInitFunc, ErrorTypeCopyVar *ErrorCopyFunc, ErrorTypeClearVar *ErrorClearFunc) Quark { | |
| 176 | - | core.LazyRegister(&xErrorDomainRegister, "GLIB", "g_error_domain_register", false) | |
| 177 | - | ||
| 178 | 163 | cret := xErrorDomainRegister(ErrorTypeNameVar, ErrorTypePrivateSizeVar, NewCallback(ErrorTypeInitVar), NewCallback(ErrorTypeCopyVar), NewCallback(ErrorTypeClearVar)) | |
| 179 | 164 | return cret | |
| 180 | 165 | } | |
| @@ -199,8 +184,6 @@ var xErrorDomainRegisterStatic func(string, uint, uintptr, uintptr, uintptr) Qua | |||
| 199 | 184 | // Normally, it is better to use G_DEFINE_EXTENDED_ERROR(), as it | |
| 200 | 185 | // already takes care of passing valid information to this function. | |
| 201 | 186 | func ErrorDomainRegisterStatic(ErrorTypeNameVar string, ErrorTypePrivateSizeVar uint, ErrorTypeInitVar *ErrorInitFunc, ErrorTypeCopyVar *ErrorCopyFunc, ErrorTypeClearVar *ErrorClearFunc) Quark { | |
| 202 | - | core.LazyRegister(&xErrorDomainRegisterStatic, "GLIB", "g_error_domain_register_static", false) | |
| 203 | - | ||
| 204 | 187 | cret := xErrorDomainRegisterStatic(ErrorTypeNameVar, ErrorTypePrivateSizeVar, NewCallback(ErrorTypeInitVar), NewCallback(ErrorTypeCopyVar), NewCallback(ErrorTypeClearVar)) | |
| 205 | 188 | return cret | |
| 206 | 189 | } | |
| @@ -214,8 +197,6 @@ var xPrefixError func(**Error, string, ...interface{}) | |||
| 214 | 197 | // If `*err` is %NULL (ie: an error variable is present but there is no | |
| 215 | 198 | // error condition) then also do nothing. | |
| 216 | 199 | func PrefixError(ErrVar **Error, FormatVar string, varArgs ...interface{}) { | |
| 217 | - | core.LazyRegister(&xPrefixError, "GLIB", "g_prefix_error", false) | |
| 218 | - | ||
| 219 | 200 | xPrefixError(ErrVar, FormatVar, varArgs...) | |
| 220 | 201 | } | |
| 221 | 202 | ||
| @@ -224,8 +205,6 @@ var xPrefixErrorLiteral func(**Error, string) | |||
| 224 | 205 | // Prefixes @prefix to an existing error message. If @err or `*err` is | |
| 225 | 206 | // %NULL (i.e.: no error variable) then do nothing. | |
| 226 | 207 | func PrefixErrorLiteral(ErrVar **Error, PrefixVar string) { | |
| 227 | - | core.LazyRegister(&xPrefixErrorLiteral, "GLIB", "g_prefix_error_literal", false) | |
| 228 | - | ||
| 229 | 208 | xPrefixErrorLiteral(ErrVar, PrefixVar) | |
| 230 | 209 | } | |
| 231 | 210 | ||
| @@ -240,8 +219,6 @@ var xPropagateError func(**Error, *Error) | |||
| 240 | 219 | // to keep using the same GError*, you need to set it to %NULL | |
| 241 | 220 | // after calling this function on it. | |
| 242 | 221 | func PropagateError(DestVar **Error, SrcVar *Error) { | |
| 243 | - | core.LazyRegister(&xPropagateError, "GLIB", "g_propagate_error", false) | |
| 244 | - | ||
| 245 | 222 | xPropagateError(DestVar, SrcVar) | |
| 246 | 223 | } | |
| 247 | 224 | ||
| @@ -251,8 +228,6 @@ var xPropagatePrefixedError func(**Error, *Error, string, ...interface{}) | |||
| 251 | 228 | // `*dest` must be %NULL. After the move, add a prefix as with | |
| 252 | 229 | // g_prefix_error(). | |
| 253 | 230 | func PropagatePrefixedError(DestVar **Error, SrcVar *Error, FormatVar string, varArgs ...interface{}) { | |
| 254 | - | core.LazyRegister(&xPropagatePrefixedError, "GLIB", "g_propagate_prefixed_error", false) | |
| 255 | - | ||
| 256 | 231 | xPropagatePrefixedError(DestVar, SrcVar, FormatVar, varArgs...) | |
| 257 | 232 | } | |
| 258 | 233 | ||
| @@ -261,8 +236,6 @@ var xSetError func(**Error, Quark, int, string, ...interface{}) | |||
| 261 | 236 | // Does nothing if @err is %NULL; if @err is non-%NULL, then `*err` | |
| 262 | 237 | // must be %NULL. A new #GError is created and assigned to `*err`. | |
| 263 | 238 | func SetError(ErrVar **Error, DomainVar Quark, CodeVar int, FormatVar string, varArgs ...interface{}) { | |
| 264 | - | core.LazyRegister(&xSetError, "GLIB", "g_set_error", false) | |
| 265 | - | ||
| 266 | 239 | xSetError(ErrVar, DomainVar, CodeVar, FormatVar, varArgs...) | |
| 267 | 240 | } | |
| 268 | 241 | ||
| @@ -274,12 +247,38 @@ var xSetErrorLiteral func(**Error, Quark, int, string) | |||
| 274 | 247 | // Use this function if @message contains text you don't have control over, | |
| 275 | 248 | // that could include printf() escape sequences. | |
| 276 | 249 | func SetErrorLiteral(ErrVar **Error, DomainVar Quark, CodeVar int, MessageVar string) { | |
| 277 | - | core.LazyRegister(&xSetErrorLiteral, "GLIB", "g_set_error_literal", false) | |
| 278 | - | ||
| 279 | 250 | xSetErrorLiteral(ErrVar, DomainVar, CodeVar, MessageVar) | |
| 280 | 251 | } | |
| 281 | 252 | ||
| 282 | 253 | func init() { | |
| 283 | 254 | core.SetPackageName("GLIB", "glib-2.0") | |
| 284 | 255 | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | |
| 256 | + | var libs []uintptr | |
| 257 | + | for _, libPath := range core.GetPaths("GLIB") { | |
| 258 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 259 | + | if err != nil { | |
| 260 | + | panic(err) | |
| 261 | + | } | |
| 262 | + | libs = append(libs, lib) | |
| 263 | + | } | |
| 264 | + | ||
| 265 | + | core.PuregoSafeRegister(&xClearError, libs, "g_clear_error") | |
| 266 | + | core.PuregoSafeRegister(&xErrorDomainRegister, libs, "g_error_domain_register") | |
| 267 | + | core.PuregoSafeRegister(&xErrorDomainRegisterStatic, libs, "g_error_domain_register_static") | |
| 268 | + | core.PuregoSafeRegister(&xPrefixError, libs, "g_prefix_error") | |
| 269 | + | core.PuregoSafeRegister(&xPrefixErrorLiteral, libs, "g_prefix_error_literal") | |
| 270 | + | core.PuregoSafeRegister(&xPropagateError, libs, "g_propagate_error") | |
| 271 | + | core.PuregoSafeRegister(&xPropagatePrefixedError, libs, "g_propagate_prefixed_error") | |
| 272 | + | core.PuregoSafeRegister(&xSetError, libs, "g_set_error") | |
| 273 | + | core.PuregoSafeRegister(&xSetErrorLiteral, libs, "g_set_error_literal") | |
| 274 | + | ||
| 275 | + | core.PuregoSafeRegister(&xErrorGLibType, libs, "g_error_get_type") | |
| 276 | + | ||
| 277 | + | core.PuregoSafeRegister(&xNewError, libs, "g_error_new") | |
| 278 | + | core.PuregoSafeRegister(&xNewErrorLiteral, libs, "g_error_new_literal") | |
| 279 | + | core.PuregoSafeRegister(&xNewErrorValist, libs, "g_error_new_valist") | |
| 280 | + | ||
| 281 | + | core.PuregoSafeRegister(&xErrorCopy, libs, "g_error_copy") | |
| 282 | + | core.PuregoSafeRegister(&xErrorFree, libs, "g_error_free") | |
| 283 | + | core.PuregoSafeRegister(&xErrorMatches, libs, "g_error_matches") | |
| 285 | 284 | } | |
| @@ -5,6 +5,7 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 9 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/gobject/types" | 10 | "github.com/bnema/puregotk/v4/gobject/types" | ||
| 10 | ) | 11 | ) | ||
| @@ -51,7 +52,6 @@ type Error struct { | |||||
| 51 | var xErrorGLibType func() types.GType | 52 | var xErrorGLibType func() types.GType | ||
| 52 | 53 | ||||
| 53 | func ErrorGLibType() types.GType { | 54 | func ErrorGLibType() types.GType { | ||
| 54 | - | core.LazyRegister(&xErrorGLibType, "GLIB", "g_error_get_type", false) | |||
| 55 | return xErrorGLibType() | 55 | return xErrorGLibType() | ||
| 56 | } | 56 | } | ||
| 57 | 57 | ||||
| @@ -72,8 +72,6 @@ var xNewError func(Quark, int, string, ...interface{}) uintptr | |||||
| 72 | // Creates a new #GError with the given @domain and @code, | 72 | // Creates a new #GError with the given @domain and @code, | ||
| 73 | // and a message formatted with @format. | 73 | // and a message formatted with @format. | ||
| 74 | func NewError(DomainVar Quark, CodeVar int, FormatVar string, varArgs ...interface{}) *Error { | 74 | func NewError(DomainVar Quark, CodeVar int, FormatVar string, varArgs ...interface{}) *Error { | ||
| 75 | - | core.LazyRegister(&xNewError, "GLIB", "g_error_new", false) | |||
| 76 | - | ||||
| 77 | cret := xNewError(DomainVar, CodeVar, FormatVar, varArgs...) | 75 | cret := xNewError(DomainVar, CodeVar, FormatVar, varArgs...) | ||
| 78 | if cret == 0 { | 76 | if cret == 0 { | ||
| 79 | return nil | 77 | return nil | ||
| @@ -88,8 +86,6 @@ var xNewErrorLiteral func(Quark, int, string) uintptr | |||||
| 88 | // @message contains text you don't have control over, | 86 | // @message contains text you don't have control over, | ||
| 89 | // that could include printf() escape sequences. | 87 | // that could include printf() escape sequences. | ||
| 90 | func NewErrorLiteral(DomainVar Quark, CodeVar int, MessageVar string) *Error { | 88 | func NewErrorLiteral(DomainVar Quark, CodeVar int, MessageVar string) *Error { | ||
| 91 | - | core.LazyRegister(&xNewErrorLiteral, "GLIB", "g_error_new_literal", false) | |||
| 92 | - | ||||
| 93 | cret := xNewErrorLiteral(DomainVar, CodeVar, MessageVar) | 89 | cret := xNewErrorLiteral(DomainVar, CodeVar, MessageVar) | ||
| 94 | if cret == 0 { | 90 | if cret == 0 { | ||
| 95 | return nil | 91 | return nil | ||
| @@ -102,8 +98,6 @@ var xNewErrorValist func(Quark, int, string, []interface{}) uintptr | |||||
| 102 | // Creates a new #GError with the given @domain and @code, | 98 | // Creates a new #GError with the given @domain and @code, | ||
| 103 | // and a message formatted with @format. | 99 | // and a message formatted with @format. | ||
| 104 | func NewErrorValist(DomainVar Quark, CodeVar int, FormatVar string, ArgsVar []interface{}) *Error { | 100 | func NewErrorValist(DomainVar Quark, CodeVar int, FormatVar string, ArgsVar []interface{}) *Error { | ||
| 105 | - | core.LazyRegister(&xNewErrorValist, "GLIB", "g_error_new_valist", false) | |||
| 106 | - | ||||
| 107 | cret := xNewErrorValist(DomainVar, CodeVar, FormatVar, ArgsVar) | 101 | cret := xNewErrorValist(DomainVar, CodeVar, FormatVar, ArgsVar) | ||
| 108 | if cret == 0 { | 102 | if cret == 0 { | ||
| 109 | return nil | 103 | return nil | ||
| @@ -115,8 +109,6 @@ var xErrorCopy func(uintptr) uintptr | |||||
| 115 | 109 | ||||
| 116 | // Makes a copy of @error. | 110 | // Makes a copy of @error. | ||
| 117 | func (x *Error) Copy() *Error { | 111 | func (x *Error) Copy() *Error { | ||
| 118 | - | core.LazyRegister(&xErrorCopy, "GLIB", "g_error_copy", false) | |||
| 119 | - | ||||
| 120 | cret := xErrorCopy(x.GoPointer()) | 112 | cret := xErrorCopy(x.GoPointer()) | ||
| 121 | if cret == 0 { | 113 | if cret == 0 { | ||
| 122 | return nil | 114 | return nil | ||
| @@ -128,8 +120,6 @@ var xErrorFree func(uintptr) | |||||
| 128 | 120 | ||||
| 129 | // Frees a #GError and associated resources. | 121 | // Frees a #GError and associated resources. | ||
| 130 | func (x *Error) Free() { | 122 | func (x *Error) Free() { | ||
| 131 | - | core.LazyRegister(&xErrorFree, "GLIB", "g_error_free", false) | |||
| 132 | - | ||||
| 133 | xErrorFree(x.GoPointer()) | 123 | xErrorFree(x.GoPointer()) | ||
| 134 | } | 124 | } | ||
| 135 | 125 | ||||
| @@ -146,8 +136,6 @@ var xErrorMatches func(uintptr, Quark, int) bool | |||||
| 146 | // extended in the future to provide a more specific error code for | 136 | // extended in the future to provide a more specific error code for | ||
| 147 | // a certain case, your code will still work. | 137 | // a certain case, your code will still work. | ||
| 148 | func (x *Error) Matches(DomainVar Quark, CodeVar int) bool { | 138 | func (x *Error) Matches(DomainVar Quark, CodeVar int) bool { | ||
| 149 | - | core.LazyRegister(&xErrorMatches, "GLIB", "g_error_matches", false) | |||
| 150 | - | ||||
| 151 | cret := xErrorMatches(x.GoPointer(), DomainVar, CodeVar) | 139 | cret := xErrorMatches(x.GoPointer(), DomainVar, CodeVar) | ||
| 152 | return cret | 140 | return cret | ||
| 153 | } | 141 | } | ||
| @@ -157,7 +145,6 @@ var xClearError func(**Error) | |||||
| 157 | // If @err or `*err` is %NULL, does nothing. Otherwise, | 145 | // If @err or `*err` is %NULL, does nothing. Otherwise, | ||
| 158 | // calls g_error_free() on `*err` and sets `*err` to %NULL. | 146 | // calls g_error_free() on `*err` and sets `*err` to %NULL. | ||
| 159 | func ClearError() error { | 147 | func ClearError() error { | ||
| 160 | - | core.LazyRegister(&xClearError, "GLIB", "g_clear_error", false) | |||
| 161 | var cerr *Error | 148 | var cerr *Error | ||
| 162 | 149 | ||||
| 163 | xClearError(&cerr) | 150 | xClearError(&cerr) | ||
| @@ -173,8 +160,6 @@ var xErrorDomainRegister func(string, uint, uintptr, uintptr, uintptr) Quark | |||||
| 173 | // @error_type_name will be duplicated. Otherwise does the same as | 160 | // @error_type_name will be duplicated. Otherwise does the same as | ||
| 174 | // g_error_domain_register_static(). | 161 | // g_error_domain_register_static(). | ||
| 175 | func ErrorDomainRegister(ErrorTypeNameVar string, ErrorTypePrivateSizeVar uint, ErrorTypeInitVar *ErrorInitFunc, ErrorTypeCopyVar *ErrorCopyFunc, ErrorTypeClearVar *ErrorClearFunc) Quark { | 162 | func ErrorDomainRegister(ErrorTypeNameVar string, ErrorTypePrivateSizeVar uint, ErrorTypeInitVar *ErrorInitFunc, ErrorTypeCopyVar *ErrorCopyFunc, ErrorTypeClearVar *ErrorClearFunc) Quark { | ||
| 176 | - | core.LazyRegister(&xErrorDomainRegister, "GLIB", "g_error_domain_register", false) | |||
| 177 | - | ||||
| 178 | cret := xErrorDomainRegister(ErrorTypeNameVar, ErrorTypePrivateSizeVar, NewCallback(ErrorTypeInitVar), NewCallback(ErrorTypeCopyVar), NewCallback(ErrorTypeClearVar)) | 163 | cret := xErrorDomainRegister(ErrorTypeNameVar, ErrorTypePrivateSizeVar, NewCallback(ErrorTypeInitVar), NewCallback(ErrorTypeCopyVar), NewCallback(ErrorTypeClearVar)) | ||
| 179 | return cret | 164 | return cret | ||
| 180 | } | 165 | } | ||
| @@ -199,8 +184,6 @@ var xErrorDomainRegisterStatic func(string, uint, uintptr, uintptr, uintptr) Qua | |||||
| 199 | // Normally, it is better to use G_DEFINE_EXTENDED_ERROR(), as it | 184 | // Normally, it is better to use G_DEFINE_EXTENDED_ERROR(), as it | ||
| 200 | // already takes care of passing valid information to this function. | 185 | // already takes care of passing valid information to this function. | ||
| 201 | func ErrorDomainRegisterStatic(ErrorTypeNameVar string, ErrorTypePrivateSizeVar uint, ErrorTypeInitVar *ErrorInitFunc, ErrorTypeCopyVar *ErrorCopyFunc, ErrorTypeClearVar *ErrorClearFunc) Quark { | 186 | func ErrorDomainRegisterStatic(ErrorTypeNameVar string, ErrorTypePrivateSizeVar uint, ErrorTypeInitVar *ErrorInitFunc, ErrorTypeCopyVar *ErrorCopyFunc, ErrorTypeClearVar *ErrorClearFunc) Quark { | ||
| 202 | - | core.LazyRegister(&xErrorDomainRegisterStatic, "GLIB", "g_error_domain_register_static", false) | |||
| 203 | - | ||||
| 204 | cret := xErrorDomainRegisterStatic(ErrorTypeNameVar, ErrorTypePrivateSizeVar, NewCallback(ErrorTypeInitVar), NewCallback(ErrorTypeCopyVar), NewCallback(ErrorTypeClearVar)) | 187 | cret := xErrorDomainRegisterStatic(ErrorTypeNameVar, ErrorTypePrivateSizeVar, NewCallback(ErrorTypeInitVar), NewCallback(ErrorTypeCopyVar), NewCallback(ErrorTypeClearVar)) | ||
| 205 | return cret | 188 | return cret | ||
| 206 | } | 189 | } | ||
| @@ -214,8 +197,6 @@ var xPrefixError func(**Error, string, ...interface{}) | |||||
| 214 | // If `*err` is %NULL (ie: an error variable is present but there is no | 197 | // If `*err` is %NULL (ie: an error variable is present but there is no | ||
| 215 | // error condition) then also do nothing. | 198 | // error condition) then also do nothing. | ||
| 216 | func PrefixError(ErrVar **Error, FormatVar string, varArgs ...interface{}) { | 199 | func PrefixError(ErrVar **Error, FormatVar string, varArgs ...interface{}) { | ||
| 217 | - | core.LazyRegister(&xPrefixError, "GLIB", "g_prefix_error", false) | |||
| 218 | - | ||||
| 219 | xPrefixError(ErrVar, FormatVar, varArgs...) | 200 | xPrefixError(ErrVar, FormatVar, varArgs...) | ||
| 220 | } | 201 | } | ||
| 221 | 202 | ||||
| @@ -224,8 +205,6 @@ var xPrefixErrorLiteral func(**Error, string) | |||||
| 224 | // Prefixes @prefix to an existing error message. If @err or `*err` is | 205 | // Prefixes @prefix to an existing error message. If @err or `*err` is | ||
| 225 | // %NULL (i.e.: no error variable) then do nothing. | 206 | // %NULL (i.e.: no error variable) then do nothing. | ||
| 226 | func PrefixErrorLiteral(ErrVar **Error, PrefixVar string) { | 207 | func PrefixErrorLiteral(ErrVar **Error, PrefixVar string) { | ||
| 227 | - | core.LazyRegister(&xPrefixErrorLiteral, "GLIB", "g_prefix_error_literal", false) | |||
| 228 | - | ||||
| 229 | xPrefixErrorLiteral(ErrVar, PrefixVar) | 208 | xPrefixErrorLiteral(ErrVar, PrefixVar) | ||
| 230 | } | 209 | } | ||
| 231 | 210 | ||||
| @@ -240,8 +219,6 @@ var xPropagateError func(**Error, *Error) | |||||
| 240 | // to keep using the same GError*, you need to set it to %NULL | 219 | // to keep using the same GError*, you need to set it to %NULL | ||
| 241 | // after calling this function on it. | 220 | // after calling this function on it. | ||
| 242 | func PropagateError(DestVar **Error, SrcVar *Error) { | 221 | func PropagateError(DestVar **Error, SrcVar *Error) { | ||
| 243 | - | core.LazyRegister(&xPropagateError, "GLIB", "g_propagate_error", false) | |||
| 244 | - | ||||
| 245 | xPropagateError(DestVar, SrcVar) | 222 | xPropagateError(DestVar, SrcVar) | ||
| 246 | } | 223 | } | ||
| 247 | 224 | ||||
| @@ -251,8 +228,6 @@ var xPropagatePrefixedError func(**Error, *Error, string, ...interface{}) | |||||
| 251 | // `*dest` must be %NULL. After the move, add a prefix as with | 228 | // `*dest` must be %NULL. After the move, add a prefix as with | ||
| 252 | // g_prefix_error(). | 229 | // g_prefix_error(). | ||
| 253 | func PropagatePrefixedError(DestVar **Error, SrcVar *Error, FormatVar string, varArgs ...interface{}) { | 230 | func PropagatePrefixedError(DestVar **Error, SrcVar *Error, FormatVar string, varArgs ...interface{}) { | ||
| 254 | - | core.LazyRegister(&xPropagatePrefixedError, "GLIB", "g_propagate_prefixed_error", false) | |||
| 255 | - | ||||
| 256 | xPropagatePrefixedError(DestVar, SrcVar, FormatVar, varArgs...) | 231 | xPropagatePrefixedError(DestVar, SrcVar, FormatVar, varArgs...) | ||
| 257 | } | 232 | } | ||
| 258 | 233 | ||||
| @@ -261,8 +236,6 @@ var xSetError func(**Error, Quark, int, string, ...interface{}) | |||||
| 261 | // Does nothing if @err is %NULL; if @err is non-%NULL, then `*err` | 236 | // Does nothing if @err is %NULL; if @err is non-%NULL, then `*err` | ||
| 262 | // must be %NULL. A new #GError is created and assigned to `*err`. | 237 | // must be %NULL. A new #GError is created and assigned to `*err`. | ||
| 263 | func SetError(ErrVar **Error, DomainVar Quark, CodeVar int, FormatVar string, varArgs ...interface{}) { | 238 | func SetError(ErrVar **Error, DomainVar Quark, CodeVar int, FormatVar string, varArgs ...interface{}) { | ||
| 264 | - | core.LazyRegister(&xSetError, "GLIB", "g_set_error", false) | |||
| 265 | - | ||||
| 266 | xSetError(ErrVar, DomainVar, CodeVar, FormatVar, varArgs...) | 239 | xSetError(ErrVar, DomainVar, CodeVar, FormatVar, varArgs...) | ||
| 267 | } | 240 | } | ||
| 268 | 241 | ||||
| @@ -274,12 +247,38 @@ var xSetErrorLiteral func(**Error, Quark, int, string) | |||||
| 274 | // Use this function if @message contains text you don't have control over, | 247 | // Use this function if @message contains text you don't have control over, | ||
| 275 | // that could include printf() escape sequences. | 248 | // that could include printf() escape sequences. | ||
| 276 | func SetErrorLiteral(ErrVar **Error, DomainVar Quark, CodeVar int, MessageVar string) { | 249 | func SetErrorLiteral(ErrVar **Error, DomainVar Quark, CodeVar int, MessageVar string) { | ||
| 277 | - | core.LazyRegister(&xSetErrorLiteral, "GLIB", "g_set_error_literal", false) | |||
| 278 | - | ||||
| 279 | xSetErrorLiteral(ErrVar, DomainVar, CodeVar, MessageVar) | 250 | xSetErrorLiteral(ErrVar, DomainVar, CodeVar, MessageVar) | ||
| 280 | } | 251 | } | ||
| 281 | 252 | ||||
| 282 | func init() { | 253 | func init() { | ||
| 283 | core.SetPackageName("GLIB", "glib-2.0") | 254 | core.SetPackageName("GLIB", "glib-2.0") | ||
| 284 | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | 255 | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | ||
| 256 | + | var libs []uintptr | |||
| 257 | + | for _, libPath := range core.GetPaths("GLIB") { | |||
| 258 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 259 | + | if err != nil { | |||
| 260 | + | panic(err) | |||
| 261 | + | } | |||
| 262 | + | libs = append(libs, lib) | |||
| 263 | + | } | |||
| 264 | + | ||||
| 265 | + | core.PuregoSafeRegister(&xClearError, libs, "g_clear_error") | |||
| 266 | + | core.PuregoSafeRegister(&xErrorDomainRegister, libs, "g_error_domain_register") | |||
| 267 | + | core.PuregoSafeRegister(&xErrorDomainRegisterStatic, libs, "g_error_domain_register_static") | |||
| 268 | + | core.PuregoSafeRegister(&xPrefixError, libs, "g_prefix_error") | |||
| 269 | + | core.PuregoSafeRegister(&xPrefixErrorLiteral, libs, "g_prefix_error_literal") | |||
| 270 | + | core.PuregoSafeRegister(&xPropagateError, libs, "g_propagate_error") | |||
| 271 | + | core.PuregoSafeRegister(&xPropagatePrefixedError, libs, "g_propagate_prefixed_error") | |||
| 272 | + | core.PuregoSafeRegister(&xSetError, libs, "g_set_error") | |||
| 273 | + | core.PuregoSafeRegister(&xSetErrorLiteral, libs, "g_set_error_literal") | |||
| 274 | + | ||||
| 275 | + | core.PuregoSafeRegister(&xErrorGLibType, libs, "g_error_get_type") | |||
| 276 | + | ||||
| 277 | + | core.PuregoSafeRegister(&xNewError, libs, "g_error_new") | |||
| 278 | + | core.PuregoSafeRegister(&xNewErrorLiteral, libs, "g_error_new_literal") | |||
| 279 | + | core.PuregoSafeRegister(&xNewErrorValist, libs, "g_error_new_valist") | |||
| 280 | + | ||||
| 281 | + | core.PuregoSafeRegister(&xErrorCopy, libs, "g_error_copy") | |||
| 282 | + | core.PuregoSafeRegister(&xErrorFree, libs, "g_error_free") | |||
| 283 | + | core.PuregoSafeRegister(&xErrorMatches, libs, "g_error_matches") | |||
| 285 | } | 284 | } | ||