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
| @@ -179,7 +179,6 @@ type SettingsBindFlags int | |||
| 179 | 179 | var xSettingsBindFlagsGLibType func() types.GType | |
| 180 | 180 | ||
| 181 | 181 | func SettingsBindFlagsGLibType() types.GType { | |
| 182 | - | core.LazyRegister(&xSettingsBindFlagsGLibType, "GIO", "g_settings_bind_flags_get_type", false) | |
| 183 | 182 | return xSettingsBindFlagsGLibType() | |
| 184 | 183 | } | |
| 185 | 184 | ||
| @@ -609,7 +608,6 @@ type Settings struct { | |||
| 609 | 608 | var xSettingsGLibType func() types.GType | |
| 610 | 609 | ||
| 611 | 610 | func SettingsGLibType() types.GType { | |
| 612 | - | core.LazyRegister(&xSettingsGLibType, "GIO", "g_settings_get_type", false) | |
| 613 | 611 | return xSettingsGLibType() | |
| 614 | 612 | } | |
| 615 | 613 | ||
| @@ -635,7 +633,6 @@ var xNewSettings func(string) uintptr | |||
| 635 | 633 | // call to [ctor@Gio.Settings.new]. The new [class@Gio.Settings] will hold a reference | |
| 636 | 634 | // on the context. See [method@GLib.MainContext.push_thread_default]. | |
| 637 | 635 | func NewSettings(SchemaIdVar string) *Settings { | |
| 638 | - | core.LazyRegister(&xNewSettings, "GIO", "g_settings_new", false) | |
| 639 | 636 | var cls *Settings | |
| 640 | 637 | ||
| 641 | 638 | cret := xNewSettings(SchemaIdVar) | |
| @@ -674,7 +671,6 @@ var xNewSettingsFull func(*SettingsSchema, uintptr, uintptr) uintptr | |||
| 674 | 671 | // @path is non-`NULL` and not equal to the path that the schema does | |
| 675 | 672 | // have. | |
| 676 | 673 | func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar *string) *Settings { | |
| 677 | - | core.LazyRegister(&xNewSettingsFull, "GIO", "g_settings_new_full", false) | |
| 678 | 674 | var cls *Settings | |
| 679 | 675 | ||
| 680 | 676 | PathVarPtr := core.GStrdupNullable(PathVar) | |
| @@ -701,7 +697,6 @@ var xNewSettingsWithBackend func(string, uintptr) uintptr | |||
| 701 | 697 | // the system to get a settings object that modifies the system default | |
| 702 | 698 | // settings instead of the settings for this user. | |
| 703 | 699 | func NewSettingsWithBackend(SchemaIdVar string, BackendVar *SettingsBackend) *Settings { | |
| 704 | - | core.LazyRegister(&xNewSettingsWithBackend, "GIO", "g_settings_new_with_backend", false) | |
| 705 | 700 | var cls *Settings | |
| 706 | 701 | ||
| 707 | 702 | cret := xNewSettingsWithBackend(SchemaIdVar, BackendVar.GoPointer()) | |
| @@ -722,7 +717,6 @@ var xNewSettingsWithBackendAndPath func(string, uintptr, string) uintptr | |||
| 722 | 717 | // This is a mix of [ctor@Gio.Settings.new_with_backend] and | |
| 723 | 718 | // [ctor@Gio.Settings.new_with_path]. | |
| 724 | 719 | func NewSettingsWithBackendAndPath(SchemaIdVar string, BackendVar *SettingsBackend, PathVar string) *Settings { | |
| 725 | - | core.LazyRegister(&xNewSettingsWithBackendAndPath, "GIO", "g_settings_new_with_backend_and_path", false) | |
| 726 | 720 | var cls *Settings | |
| 727 | 721 | ||
| 728 | 722 | cret := xNewSettingsWithBackendAndPath(SchemaIdVar, BackendVar.GoPointer(), PathVar) | |
| @@ -751,7 +745,6 @@ var xNewSettingsWithPath func(string, string) uintptr | |||
| 751 | 745 | // begins and ends with `/` and does not contain two consecutive `/` | |
| 752 | 746 | // characters. | |
| 753 | 747 | func NewSettingsWithPath(SchemaIdVar string, PathVar string) *Settings { | |
| 754 | - | core.LazyRegister(&xNewSettingsWithPath, "GIO", "g_settings_new_with_path", false) | |
| 755 | 748 | var cls *Settings | |
| 756 | 749 | ||
| 757 | 750 | cret := xNewSettingsWithPath(SchemaIdVar, PathVar) | |
| @@ -772,8 +765,6 @@ var xSettingsApply func(uintptr) | |||
| 772 | 765 | // [‘delay-apply’ mode](class.Settings.html#delay-apply-mode). In the normal | |
| 773 | 766 | // case settings are always applied immediately. | |
| 774 | 767 | func (x *Settings) Apply() { | |
| 775 | - | core.LazyRegister(&xSettingsApply, "GIO", "g_settings_apply", false) | |
| 776 | - | ||
| 777 | 768 | xSettingsApply(x.GoPointer()) | |
| 778 | 769 | } | |
| 779 | 770 | ||
| @@ -800,8 +791,6 @@ var xSettingsBind func(uintptr, string, uintptr, string, SettingsBindFlags) | |||
| 800 | 791 | // If you bind the same property twice on the same object, the second | |
| 801 | 792 | // binding overrides the first one. | |
| 802 | 793 | func (x *Settings) Bind(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, FlagsVar SettingsBindFlags) { | |
| 803 | - | core.LazyRegister(&xSettingsBind, "GIO", "g_settings_bind", false) | |
| 804 | - | ||
| 805 | 794 | xSettingsBind(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, FlagsVar) | |
| 806 | 795 | } | |
| 807 | 796 | ||
| @@ -818,8 +807,6 @@ var xSettingsBindWithMapping func(uintptr, string, uintptr, string, SettingsBind | |||
| 818 | 807 | // If you bind the same property twice on the same object, the second | |
| 819 | 808 | // binding overrides the first one. | |
| 820 | 809 | func (x *Settings) BindWithMapping(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, FlagsVar SettingsBindFlags, GetMappingVar *SettingsBindGetMapping, SetMappingVar *SettingsBindSetMapping, UserDataVar uintptr, DestroyVar *glib.DestroyNotify) { | |
| 821 | - | core.LazyRegister(&xSettingsBindWithMapping, "GIO", "g_settings_bind_with_mapping", false) | |
| 822 | - | ||
| 823 | 810 | xSettingsBindWithMapping(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, FlagsVar, glib.NewCallbackNullable(GetMappingVar), glib.NewCallbackNullable(SetMappingVar), UserDataVar, glib.NewCallbackNullable(DestroyVar)) | |
| 824 | 811 | } | |
| 825 | 812 | ||
| @@ -828,8 +815,6 @@ var xSettingsBindWithMappingClosures func(uintptr, string, uintptr, string, Sett | |||
| 828 | 815 | // Version of [method@Gio.Settings.bind_with_mapping] using closures instead of | |
| 829 | 816 | // callbacks for easier binding in other languages. | |
| 830 | 817 | func (x *Settings) BindWithMappingClosures(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, FlagsVar SettingsBindFlags, GetMappingVar *gobject.Closure, SetMappingVar *gobject.Closure) { | |
| 831 | - | core.LazyRegister(&xSettingsBindWithMappingClosures, "GIO", "g_settings_bind_with_mapping_closures", false) | |
| 832 | - | ||
| 833 | 818 | xSettingsBindWithMappingClosures(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, FlagsVar, GetMappingVar, SetMappingVar) | |
| 834 | 819 | } | |
| 835 | 820 | ||
| @@ -854,8 +839,6 @@ var xSettingsBindWritable func(uintptr, string, uintptr, string, bool) | |||
| 854 | 839 | // If you bind the same property twice on the same object, the second | |
| 855 | 840 | // binding overrides the first one. | |
| 856 | 841 | func (x *Settings) BindWritable(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, InvertedVar bool) { | |
| 857 | - | core.LazyRegister(&xSettingsBindWritable, "GIO", "g_settings_bind_writable", false) | |
| 858 | - | ||
| 859 | 842 | xSettingsBindWritable(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, InvertedVar) | |
| 860 | 843 | } | |
| 861 | 844 | ||
| @@ -876,7 +859,6 @@ var xSettingsCreateAction func(uintptr, string) uintptr | |||
| 876 | 859 | // activations take the new value for the key (which must have the | |
| 877 | 860 | // correct type). | |
| 878 | 861 | func (x *Settings) CreateAction(KeyVar string) *ActionBase { | |
| 879 | - | core.LazyRegister(&xSettingsCreateAction, "GIO", "g_settings_create_action", false) | |
| 880 | 862 | var cls *ActionBase | |
| 881 | 863 | ||
| 882 | 864 | cret := xSettingsCreateAction(x.GoPointer(), KeyVar) | |
| @@ -898,8 +880,6 @@ var xSettingsDelay func(uintptr) | |||
| 898 | 880 | // mode, changes to @settings are not immediately propagated to the | |
| 899 | 881 | // backend, but kept locally until [method@Gio.Settings.apply] is called. | |
| 900 | 882 | func (x *Settings) Delay() { | |
| 901 | - | core.LazyRegister(&xSettingsDelay, "GIO", "g_settings_delay", false) | |
| 902 | - | ||
| 903 | 883 | xSettingsDelay(x.GoPointer()) | |
| 904 | 884 | } | |
| 905 | 885 | ||
| @@ -914,8 +894,6 @@ var xSettingsGet func(uintptr, string, string, ...interface{}) | |||
| 914 | 894 | // schema for @settings or for the [struct@GLib.VariantType] of @format to mismatch | |
| 915 | 895 | // the type given in the schema. | |
| 916 | 896 | func (x *Settings) Get(KeyVar string, FormatVar string, varArgs ...interface{}) { | |
| 917 | - | core.LazyRegister(&xSettingsGet, "GIO", "g_settings_get", false) | |
| 918 | - | ||
| 919 | 897 | xSettingsGet(x.GoPointer(), KeyVar, FormatVar, varArgs...) | |
| 920 | 898 | } | |
| 921 | 899 | ||
| @@ -928,8 +906,6 @@ var xSettingsGetBoolean func(uintptr, string) bool | |||
| 928 | 906 | // It is a programmer error to give a @key that isn’t specified as | |
| 929 | 907 | // having a `b` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 930 | 908 | func (x *Settings) GetBoolean(KeyVar string) bool { | |
| 931 | - | core.LazyRegister(&xSettingsGetBoolean, "GIO", "g_settings_get_boolean", false) | |
| 932 | - | ||
| 933 | 909 | cret := xSettingsGetBoolean(x.GoPointer(), KeyVar) | |
| 934 | 910 | return cret | |
| 935 | 911 | } | |
| @@ -946,7 +922,6 @@ var xSettingsGetChild func(uintptr, string) uintptr | |||
| 946 | 922 | // The created child settings object will inherit the | |
| 947 | 923 | // [property@Gio.Settings:delay-apply] mode from @settings. | |
| 948 | 924 | func (x *Settings) GetChild(NameVar string) *Settings { | |
| 949 | - | core.LazyRegister(&xSettingsGetChild, "GIO", "g_settings_get_child", false) | |
| 950 | 925 | var cls *Settings | |
| 951 | 926 | ||
| 952 | 927 | cret := xSettingsGetChild(x.GoPointer(), NameVar) | |
| @@ -983,8 +958,6 @@ var xSettingsGetDefaultValue func(uintptr, string) uintptr | |||
| 983 | 958 | // It is a programmer error to give a @key that isn’t contained in the | |
| 984 | 959 | // schema for @settings. | |
| 985 | 960 | func (x *Settings) GetDefaultValue(KeyVar string) *glib.Variant { | |
| 986 | - | core.LazyRegister(&xSettingsGetDefaultValue, "GIO", "g_settings_get_default_value", false) | |
| 987 | - | ||
| 988 | 961 | cret := xSettingsGetDefaultValue(x.GoPointer(), KeyVar) | |
| 989 | 962 | if cret == 0 { | |
| 990 | 963 | return nil | |
| @@ -1001,8 +974,6 @@ var xSettingsGetDouble func(uintptr, string) float64 | |||
| 1001 | 974 | // It is a programmer error to give a @key that isn’t specified as | |
| 1002 | 975 | // having a `d` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1003 | 976 | func (x *Settings) GetDouble(KeyVar string) float64 { | |
| 1004 | - | core.LazyRegister(&xSettingsGetDouble, "GIO", "g_settings_get_double", false) | |
| 1005 | - | ||
| 1006 | 977 | cret := xSettingsGetDouble(x.GoPointer(), KeyVar) | |
| 1007 | 978 | return cret | |
| 1008 | 979 | } | |
| @@ -1022,8 +993,6 @@ var xSettingsGetEnum func(uintptr, string) int | |||
| 1022 | 993 | // value for the enumerated type then this function will return the | |
| 1023 | 994 | // default value. | |
| 1024 | 995 | func (x *Settings) GetEnum(KeyVar string) int { | |
| 1025 | - | core.LazyRegister(&xSettingsGetEnum, "GIO", "g_settings_get_enum", false) | |
| 1026 | - | ||
| 1027 | 996 | cret := xSettingsGetEnum(x.GoPointer(), KeyVar) | |
| 1028 | 997 | return cret | |
| 1029 | 998 | } | |
| @@ -1043,8 +1012,6 @@ var xSettingsGetFlags func(uintptr, string) uint | |||
| 1043 | 1012 | // value for the flags type then this function will return the default | |
| 1044 | 1013 | // value. | |
| 1045 | 1014 | func (x *Settings) GetFlags(KeyVar string) uint { | |
| 1046 | - | core.LazyRegister(&xSettingsGetFlags, "GIO", "g_settings_get_flags", false) | |
| 1047 | - | ||
| 1048 | 1015 | cret := xSettingsGetFlags(x.GoPointer(), KeyVar) | |
| 1049 | 1016 | return cret | |
| 1050 | 1017 | } | |
| @@ -1057,8 +1024,6 @@ var xSettingsGetHasUnapplied func(uintptr) bool | |||
| 1057 | 1024 | // This can only be the case if it is in | |
| 1058 | 1025 | // [‘delay-apply’ mode](class.Settings.html#delay-apply-mode). | |
| 1059 | 1026 | func (x *Settings) GetHasUnapplied() bool { | |
| 1060 | - | core.LazyRegister(&xSettingsGetHasUnapplied, "GIO", "g_settings_get_has_unapplied", false) | |
| 1061 | - | ||
| 1062 | 1027 | cret := xSettingsGetHasUnapplied(x.GoPointer()) | |
| 1063 | 1028 | return cret | |
| 1064 | 1029 | } | |
| @@ -1072,8 +1037,6 @@ var xSettingsGetInt func(uintptr, string) int | |||
| 1072 | 1037 | // It is a programmer error to give a @key that isn’t specified as | |
| 1073 | 1038 | // having an `i` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1074 | 1039 | func (x *Settings) GetInt(KeyVar string) int { | |
| 1075 | - | core.LazyRegister(&xSettingsGetInt, "GIO", "g_settings_get_int", false) | |
| 1076 | - | ||
| 1077 | 1040 | cret := xSettingsGetInt(x.GoPointer(), KeyVar) | |
| 1078 | 1041 | return cret | |
| 1079 | 1042 | } | |
| @@ -1087,8 +1050,6 @@ var xSettingsGetInt64 func(uintptr, string) int64 | |||
| 1087 | 1050 | // It is a programmer error to give a @key that isn’t specified as | |
| 1088 | 1051 | // having an `x` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1089 | 1052 | func (x *Settings) GetInt64(KeyVar string) int64 { | |
| 1090 | - | core.LazyRegister(&xSettingsGetInt64, "GIO", "g_settings_get_int64", false) | |
| 1091 | - | ||
| 1092 | 1053 | cret := xSettingsGetInt64(x.GoPointer(), KeyVar) | |
| 1093 | 1054 | return cret | |
| 1094 | 1055 | } | |
| @@ -1123,8 +1084,6 @@ var xSettingsGetMapped func(uintptr, string, uintptr, uintptr) uintptr | |||
| 1123 | 1084 | // what is returned by this function. `NULL` is valid; it is returned | |
| 1124 | 1085 | // just as any other value would be. | |
| 1125 | 1086 | func (x *Settings) GetMapped(KeyVar string, MappingVar *SettingsGetMapping, UserDataVar uintptr) uintptr { | |
| 1126 | - | core.LazyRegister(&xSettingsGetMapped, "GIO", "g_settings_get_mapped", false) | |
| 1127 | - | ||
| 1128 | 1087 | cret := xSettingsGetMapped(x.GoPointer(), KeyVar, glib.NewCallback(MappingVar), UserDataVar) | |
| 1129 | 1088 | return cret | |
| 1130 | 1089 | } | |
| @@ -1133,8 +1092,6 @@ var xSettingsGetRange func(uintptr, string) uintptr | |||
| 1133 | 1092 | ||
| 1134 | 1093 | // Queries the range of a key. | |
| 1135 | 1094 | func (x *Settings) GetRange(KeyVar string) *glib.Variant { | |
| 1136 | - | core.LazyRegister(&xSettingsGetRange, "GIO", "g_settings_get_range", false) | |
| 1137 | - | ||
| 1138 | 1095 | cret := xSettingsGetRange(x.GoPointer(), KeyVar) | |
| 1139 | 1096 | if cret == 0 { | |
| 1140 | 1097 | return nil | |
| @@ -1151,8 +1108,6 @@ var xSettingsGetString func(uintptr, string) string | |||
| 1151 | 1108 | // It is a programmer error to give a @key that isn’t specified as | |
| 1152 | 1109 | // having an `s` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1153 | 1110 | func (x *Settings) GetString(KeyVar string) string { | |
| 1154 | - | core.LazyRegister(&xSettingsGetString, "GIO", "g_settings_get_string", false) | |
| 1155 | - | ||
| 1156 | 1111 | cret := xSettingsGetString(x.GoPointer(), KeyVar) | |
| 1157 | 1112 | return cret | |
| 1158 | 1113 | } | |
| @@ -1164,8 +1119,6 @@ var xSettingsGetStrv func(uintptr, string) []string | |||
| 1164 | 1119 | // It is a programmer error to give a @key that isn’t specified as | |
| 1165 | 1120 | // having an `as` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1166 | 1121 | func (x *Settings) GetStrv(KeyVar string) []string { | |
| 1167 | - | core.LazyRegister(&xSettingsGetStrv, "GIO", "g_settings_get_strv", false) | |
| 1168 | - | ||
| 1169 | 1122 | cret := xSettingsGetStrv(x.GoPointer(), KeyVar) | |
| 1170 | 1123 | return cret | |
| 1171 | 1124 | } | |
| @@ -1180,8 +1133,6 @@ var xSettingsGetUint func(uintptr, string) uint | |||
| 1180 | 1133 | // It is a programmer error to give a @key that isn’t specified as | |
| 1181 | 1134 | // having a `u` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1182 | 1135 | func (x *Settings) GetUint(KeyVar string) uint { | |
| 1183 | - | core.LazyRegister(&xSettingsGetUint, "GIO", "g_settings_get_uint", false) | |
| 1184 | - | ||
| 1185 | 1136 | cret := xSettingsGetUint(x.GoPointer(), KeyVar) | |
| 1186 | 1137 | return cret | |
| 1187 | 1138 | } | |
| @@ -1196,8 +1147,6 @@ var xSettingsGetUint64 func(uintptr, string) uint64 | |||
| 1196 | 1147 | // It is a programmer error to give a @key that isn’t specified as | |
| 1197 | 1148 | // having a `t` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1198 | 1149 | func (x *Settings) GetUint64(KeyVar string) uint64 { | |
| 1199 | - | core.LazyRegister(&xSettingsGetUint64, "GIO", "g_settings_get_uint64", false) | |
| 1200 | - | ||
| 1201 | 1150 | cret := xSettingsGetUint64(x.GoPointer(), KeyVar) | |
| 1202 | 1151 | return cret | |
| 1203 | 1152 | } | |
| @@ -1223,8 +1172,6 @@ var xSettingsGetUserValue func(uintptr, string) uintptr | |||
| 1223 | 1172 | // It is a programmer error to give a @key that isn’t contained in the | |
| 1224 | 1173 | // schema for @settings. | |
| 1225 | 1174 | func (x *Settings) GetUserValue(KeyVar string) *glib.Variant { | |
| 1226 | - | core.LazyRegister(&xSettingsGetUserValue, "GIO", "g_settings_get_user_value", false) | |
| 1227 | - | ||
| 1228 | 1175 | cret := xSettingsGetUserValue(x.GoPointer(), KeyVar) | |
| 1229 | 1176 | if cret == 0 { | |
| 1230 | 1177 | return nil | |
| @@ -1239,8 +1186,6 @@ var xSettingsGetValue func(uintptr, string) uintptr | |||
| 1239 | 1186 | // It is a programmer error to give a @key that isn’t contained in the | |
| 1240 | 1187 | // schema for @settings. | |
| 1241 | 1188 | func (x *Settings) GetValue(KeyVar string) *glib.Variant { | |
| 1242 | - | core.LazyRegister(&xSettingsGetValue, "GIO", "g_settings_get_value", false) | |
| 1243 | - | ||
| 1244 | 1189 | cret := xSettingsGetValue(x.GoPointer(), KeyVar) | |
| 1245 | 1190 | if cret == 0 { | |
| 1246 | 1191 | return nil | |
| @@ -1252,8 +1197,6 @@ var xSettingsIsWritable func(uintptr, string) bool | |||
| 1252 | 1197 | ||
| 1253 | 1198 | // Finds out if a key can be written. | |
| 1254 | 1199 | func (x *Settings) IsWritable(NameVar string) bool { | |
| 1255 | - | core.LazyRegister(&xSettingsIsWritable, "GIO", "g_settings_is_writable", false) | |
| 1256 | - | ||
| 1257 | 1200 | cret := xSettingsIsWritable(x.GoPointer(), NameVar) | |
| 1258 | 1201 | return cret | |
| 1259 | 1202 | } | |
| @@ -1272,8 +1215,6 @@ var xSettingsListChildren func(uintptr) []string | |||
| 1272 | 1215 | // You should free the return value with [func@GLib.strfreev] when you are done | |
| 1273 | 1216 | // with it. | |
| 1274 | 1217 | func (x *Settings) ListChildren() []string { | |
| 1275 | - | core.LazyRegister(&xSettingsListChildren, "GIO", "g_settings_list_children", false) | |
| 1276 | - | ||
| 1277 | 1218 | cret := xSettingsListChildren(x.GoPointer()) | |
| 1278 | 1219 | return cret | |
| 1279 | 1220 | } | |
| @@ -1289,8 +1230,6 @@ var xSettingsListKeys func(uintptr) []string | |||
| 1289 | 1230 | // You should free the return value with [func@GLib.strfreev] when you are done | |
| 1290 | 1231 | // with it. | |
| 1291 | 1232 | func (x *Settings) ListKeys() []string { | |
| 1292 | - | core.LazyRegister(&xSettingsListKeys, "GIO", "g_settings_list_keys", false) | |
| 1293 | - | ||
| 1294 | 1233 | cret := xSettingsListKeys(x.GoPointer()) | |
| 1295 | 1234 | return cret | |
| 1296 | 1235 | } | |
| @@ -1300,8 +1239,6 @@ var xSettingsRangeCheck func(uintptr, string, *glib.Variant) bool | |||
| 1300 | 1239 | // Checks if the given @value is of the correct type and within the | |
| 1301 | 1240 | // permitted range for @key. | |
| 1302 | 1241 | func (x *Settings) RangeCheck(KeyVar string, ValueVar *glib.Variant) bool { | |
| 1303 | - | core.LazyRegister(&xSettingsRangeCheck, "GIO", "g_settings_range_check", false) | |
| 1304 | - | ||
| 1305 | 1242 | cret := xSettingsRangeCheck(x.GoPointer(), KeyVar, ValueVar) | |
| 1306 | 1243 | return cret | |
| 1307 | 1244 | } | |
| @@ -1314,8 +1251,6 @@ var xSettingsReset func(uintptr, string) | |||
| 1314 | 1251 | // That might be the value specified in the schema or the one set by the | |
| 1315 | 1252 | // administrator. | |
| 1316 | 1253 | func (x *Settings) Reset(KeyVar string) { | |
| 1317 | - | core.LazyRegister(&xSettingsReset, "GIO", "g_settings_reset", false) | |
| 1318 | - | ||
| 1319 | 1254 | xSettingsReset(x.GoPointer(), KeyVar) | |
| 1320 | 1255 | } | |
| 1321 | 1256 | ||
| @@ -1329,8 +1264,6 @@ var xSettingsRevert func(uintptr) | |||
| 1329 | 1264 | // | |
| 1330 | 1265 | // Change notifications will be emitted for affected keys. | |
| 1331 | 1266 | func (x *Settings) Revert() { | |
| 1332 | - | core.LazyRegister(&xSettingsRevert, "GIO", "g_settings_revert", false) | |
| 1333 | - | ||
| 1334 | 1267 | xSettingsRevert(x.GoPointer()) | |
| 1335 | 1268 | } | |
| 1336 | 1269 | ||
| @@ -1345,8 +1278,6 @@ var xSettingsSet func(uintptr, string, string, ...interface{}) bool | |||
| 1345 | 1278 | // schema for @settings or for the [struct@GLib.VariantType] of @format to mismatch | |
| 1346 | 1279 | // the type given in the schema. | |
| 1347 | 1280 | func (x *Settings) Set(KeyVar string, FormatVar string, varArgs ...interface{}) bool { | |
| 1348 | - | core.LazyRegister(&xSettingsSet, "GIO", "g_settings_set", false) | |
| 1349 | - | ||
| 1350 | 1281 | cret := xSettingsSet(x.GoPointer(), KeyVar, FormatVar, varArgs...) | |
| 1351 | 1282 | return cret | |
| 1352 | 1283 | } | |
| @@ -1360,8 +1291,6 @@ var xSettingsSetBoolean func(uintptr, string, bool) bool | |||
| 1360 | 1291 | // It is a programmer error to give a @key that isn’t specified as | |
| 1361 | 1292 | // having a `b` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1362 | 1293 | func (x *Settings) SetBoolean(KeyVar string, ValueVar bool) bool { | |
| 1363 | - | core.LazyRegister(&xSettingsSetBoolean, "GIO", "g_settings_set_boolean", false) | |
| 1364 | - | ||
| 1365 | 1294 | cret := xSettingsSetBoolean(x.GoPointer(), KeyVar, ValueVar) | |
| 1366 | 1295 | return cret | |
| 1367 | 1296 | } | |
| @@ -1375,8 +1304,6 @@ var xSettingsSetDouble func(uintptr, string, float64) bool | |||
| 1375 | 1304 | // It is a programmer error to give a @key that isn’t specified as | |
| 1376 | 1305 | // having a `d` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1377 | 1306 | func (x *Settings) SetDouble(KeyVar string, ValueVar float64) bool { | |
| 1378 | - | core.LazyRegister(&xSettingsSetDouble, "GIO", "g_settings_set_double", false) | |
| 1379 | - | ||
| 1380 | 1307 | cret := xSettingsSetDouble(x.GoPointer(), KeyVar, ValueVar) | |
| 1381 | 1308 | return cret | |
| 1382 | 1309 | } | |
| @@ -1394,8 +1321,6 @@ var xSettingsSetEnum func(uintptr, string, int) bool | |||
| 1394 | 1321 | // [method@Gio.Settings.get_string] will return the ‘nick’ associated with | |
| 1395 | 1322 | // @value. | |
| 1396 | 1323 | func (x *Settings) SetEnum(KeyVar string, ValueVar int) bool { | |
| 1397 | - | core.LazyRegister(&xSettingsSetEnum, "GIO", "g_settings_set_enum", false) | |
| 1398 | - | ||
| 1399 | 1324 | cret := xSettingsSetEnum(x.GoPointer(), KeyVar, ValueVar) | |
| 1400 | 1325 | return cret | |
| 1401 | 1326 | } | |
| @@ -1414,8 +1339,6 @@ var xSettingsSetFlags func(uintptr, string, uint) bool | |||
| 1414 | 1339 | // [method@Gio.Settings.get_strv] will return an array of ‘nicks’; one for each | |
| 1415 | 1340 | // bit in @value. | |
| 1416 | 1341 | func (x *Settings) SetFlags(KeyVar string, ValueVar uint) bool { | |
| 1417 | - | core.LazyRegister(&xSettingsSetFlags, "GIO", "g_settings_set_flags", false) | |
| 1418 | - | ||
| 1419 | 1342 | cret := xSettingsSetFlags(x.GoPointer(), KeyVar, ValueVar) | |
| 1420 | 1343 | return cret | |
| 1421 | 1344 | } | |
| @@ -1429,8 +1352,6 @@ var xSettingsSetInt func(uintptr, string, int) bool | |||
| 1429 | 1352 | // It is a programmer error to give a @key that isn’t specified as | |
| 1430 | 1353 | // having an `i` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1431 | 1354 | func (x *Settings) SetInt(KeyVar string, ValueVar int) bool { | |
| 1432 | - | core.LazyRegister(&xSettingsSetInt, "GIO", "g_settings_set_int", false) | |
| 1433 | - | ||
| 1434 | 1355 | cret := xSettingsSetInt(x.GoPointer(), KeyVar, ValueVar) | |
| 1435 | 1356 | return cret | |
| 1436 | 1357 | } | |
| @@ -1444,8 +1365,6 @@ var xSettingsSetInt64 func(uintptr, string, int64) bool | |||
| 1444 | 1365 | // It is a programmer error to give a @key that isn’t specified as | |
| 1445 | 1366 | // having an `x` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1446 | 1367 | func (x *Settings) SetInt64(KeyVar string, ValueVar int64) bool { | |
| 1447 | - | core.LazyRegister(&xSettingsSetInt64, "GIO", "g_settings_set_int64", false) | |
| 1448 | - | ||
| 1449 | 1368 | cret := xSettingsSetInt64(x.GoPointer(), KeyVar, ValueVar) | |
| 1450 | 1369 | return cret | |
| 1451 | 1370 | } | |
| @@ -1459,8 +1378,6 @@ var xSettingsSetString func(uintptr, string, string) bool | |||
| 1459 | 1378 | // It is a programmer error to give a @key that isn’t specified as | |
| 1460 | 1379 | // having an `s` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1461 | 1380 | func (x *Settings) SetString(KeyVar string, ValueVar string) bool { | |
| 1462 | - | core.LazyRegister(&xSettingsSetString, "GIO", "g_settings_set_string", false) | |
| 1463 | - | ||
| 1464 | 1381 | cret := xSettingsSetString(x.GoPointer(), KeyVar, ValueVar) | |
| 1465 | 1382 | return cret | |
| 1466 | 1383 | } | |
| @@ -1475,8 +1392,6 @@ var xSettingsSetStrv func(uintptr, string, []string) bool | |||
| 1475 | 1392 | // It is a programmer error to give a @key that isn’t specified as | |
| 1476 | 1393 | // having an `as` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1477 | 1394 | func (x *Settings) SetStrv(KeyVar string, ValueVar []string) bool { | |
| 1478 | - | core.LazyRegister(&xSettingsSetStrv, "GIO", "g_settings_set_strv", false) | |
| 1479 | - | ||
| 1480 | 1395 | cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar) | |
| 1481 | 1396 | return cret | |
| 1482 | 1397 | } | |
| @@ -1491,8 +1406,6 @@ var xSettingsSetUint func(uintptr, string, uint) bool | |||
| 1491 | 1406 | // It is a programmer error to give a @key that isn’t specified as | |
| 1492 | 1407 | // having a `u` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1493 | 1408 | func (x *Settings) SetUint(KeyVar string, ValueVar uint) bool { | |
| 1494 | - | core.LazyRegister(&xSettingsSetUint, "GIO", "g_settings_set_uint", false) | |
| 1495 | - | ||
| 1496 | 1409 | cret := xSettingsSetUint(x.GoPointer(), KeyVar, ValueVar) | |
| 1497 | 1410 | return cret | |
| 1498 | 1411 | } | |
| @@ -1507,8 +1420,6 @@ var xSettingsSetUint64 func(uintptr, string, uint64) bool | |||
| 1507 | 1420 | // It is a programmer error to give a @key that isn’t specified as | |
| 1508 | 1421 | // having a `t` type in the schema for @settings (see [struct@GLib.VariantType]). | |
| 1509 | 1422 | func (x *Settings) SetUint64(KeyVar string, ValueVar uint64) bool { | |
| 1510 | - | core.LazyRegister(&xSettingsSetUint64, "GIO", "g_settings_set_uint64", false) | |
| 1511 | - | ||
| 1512 | 1423 | cret := xSettingsSetUint64(x.GoPointer(), KeyVar, ValueVar) | |
| 1513 | 1424 | return cret | |
| 1514 | 1425 | } | |
| @@ -1523,8 +1434,6 @@ var xSettingsSetValue func(uintptr, string, *glib.Variant) bool | |||
| 1523 | 1434 | // | |
| 1524 | 1435 | // If @value is floating then this function consumes the reference. | |
| 1525 | 1436 | func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool { | |
| 1526 | - | core.LazyRegister(&xSettingsSetValue, "GIO", "g_settings_set_value", false) | |
| 1527 | - | ||
| 1528 | 1437 | cret := xSettingsSetValue(x.GoPointer(), KeyVar, ValueVar) | |
| 1529 | 1438 | return cret | |
| 1530 | 1439 | } | |
| @@ -1809,8 +1718,6 @@ var xSettingsListRelocatableSchemas func() []string | |||
| 1809 | 1718 | ||
| 1810 | 1719 | // Deprecated. | |
| 1811 | 1720 | func SettingsListRelocatableSchemas() []string { | |
| 1812 | - | core.LazyRegister(&xSettingsListRelocatableSchemas, "GIO", "g_settings_list_relocatable_schemas", false) | |
| 1813 | - | ||
| 1814 | 1721 | cret := xSettingsListRelocatableSchemas() | |
| 1815 | 1722 | return cret | |
| 1816 | 1723 | } | |
| @@ -1819,8 +1726,6 @@ var xSettingsListSchemas func() []string | |||
| 1819 | 1726 | ||
| 1820 | 1727 | // Deprecated. | |
| 1821 | 1728 | func SettingsListSchemas() []string { | |
| 1822 | - | core.LazyRegister(&xSettingsListSchemas, "GIO", "g_settings_list_schemas", false) | |
| 1823 | - | ||
| 1824 | 1729 | cret := xSettingsListSchemas() | |
| 1825 | 1730 | return cret | |
| 1826 | 1731 | } | |
| @@ -1838,8 +1743,6 @@ var xSettingsSync func() | |||
| 1838 | 1743 | // will be dispatched during this call (but some may be queued by the | |
| 1839 | 1744 | // time the call is done). | |
| 1840 | 1745 | func SettingsSync() { | |
| 1841 | - | core.LazyRegister(&xSettingsSync, "GIO", "g_settings_sync", false) | |
| 1842 | - | ||
| 1843 | 1746 | xSettingsSync() | |
| 1844 | 1747 | } | |
| 1845 | 1748 | ||
| @@ -1851,12 +1754,77 @@ var xSettingsUnbind func(uintptr, string) | |||
| 1851 | 1754 | // object is finalized, so it is rarely necessary to call this | |
| 1852 | 1755 | // function. | |
| 1853 | 1756 | func SettingsUnbind(ObjectVar *gobject.Object, PropertyVar string) { | |
| 1854 | - | core.LazyRegister(&xSettingsUnbind, "GIO", "g_settings_unbind", false) | |
| 1855 | - | ||
| 1856 | 1757 | xSettingsUnbind(ObjectVar.GoPointer(), PropertyVar) | |
| 1857 | 1758 | } | |
| 1858 | 1759 | ||
| 1859 | 1760 | func init() { | |
| 1860 | 1761 | core.SetPackageName("GIO", "gio-2.0") | |
| 1861 | 1762 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 1763 | + | var libs []uintptr | |
| 1764 | + | for _, libPath := range core.GetPaths("GIO") { | |
| 1765 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 1766 | + | if err != nil { | |
| 1767 | + | panic(err) | |
| 1768 | + | } | |
| 1769 | + | libs = append(libs, lib) | |
| 1770 | + | } | |
| 1771 | + | ||
| 1772 | + | core.PuregoSafeRegister(&xSettingsBindFlagsGLibType, libs, "g_settings_bind_flags_get_type") | |
| 1773 | + | ||
| 1774 | + | core.PuregoSafeRegister(&xSettingsGLibType, libs, "g_settings_get_type") | |
| 1775 | + | ||
| 1776 | + | core.PuregoSafeRegister(&xNewSettings, libs, "g_settings_new") | |
| 1777 | + | core.PuregoSafeRegister(&xNewSettingsFull, libs, "g_settings_new_full") | |
| 1778 | + | core.PuregoSafeRegister(&xNewSettingsWithBackend, libs, "g_settings_new_with_backend") | |
| 1779 | + | core.PuregoSafeRegister(&xNewSettingsWithBackendAndPath, libs, "g_settings_new_with_backend_and_path") | |
| 1780 | + | core.PuregoSafeRegister(&xNewSettingsWithPath, libs, "g_settings_new_with_path") | |
| 1781 | + | ||
| 1782 | + | core.PuregoSafeRegister(&xSettingsApply, libs, "g_settings_apply") | |
| 1783 | + | core.PuregoSafeRegister(&xSettingsBind, libs, "g_settings_bind") | |
| 1784 | + | core.PuregoSafeRegister(&xSettingsBindWithMapping, libs, "g_settings_bind_with_mapping") | |
| 1785 | + | core.PuregoSafeRegister(&xSettingsBindWithMappingClosures, libs, "g_settings_bind_with_mapping_closures") | |
| 1786 | + | core.PuregoSafeRegister(&xSettingsBindWritable, libs, "g_settings_bind_writable") | |
| 1787 | + | core.PuregoSafeRegister(&xSettingsCreateAction, libs, "g_settings_create_action") | |
| 1788 | + | core.PuregoSafeRegister(&xSettingsDelay, libs, "g_settings_delay") | |
| 1789 | + | core.PuregoSafeRegister(&xSettingsGet, libs, "g_settings_get") | |
| 1790 | + | core.PuregoSafeRegister(&xSettingsGetBoolean, libs, "g_settings_get_boolean") | |
| 1791 | + | core.PuregoSafeRegister(&xSettingsGetChild, libs, "g_settings_get_child") | |
| 1792 | + | core.PuregoSafeRegister(&xSettingsGetDefaultValue, libs, "g_settings_get_default_value") | |
| 1793 | + | core.PuregoSafeRegister(&xSettingsGetDouble, libs, "g_settings_get_double") | |
| 1794 | + | core.PuregoSafeRegister(&xSettingsGetEnum, libs, "g_settings_get_enum") | |
| 1795 | + | core.PuregoSafeRegister(&xSettingsGetFlags, libs, "g_settings_get_flags") | |
| 1796 | + | core.PuregoSafeRegister(&xSettingsGetHasUnapplied, libs, "g_settings_get_has_unapplied") | |
| 1797 | + | core.PuregoSafeRegister(&xSettingsGetInt, libs, "g_settings_get_int") | |
| 1798 | + | core.PuregoSafeRegister(&xSettingsGetInt64, libs, "g_settings_get_int64") | |
| 1799 | + | core.PuregoSafeRegister(&xSettingsGetMapped, libs, "g_settings_get_mapped") | |
| 1800 | + | core.PuregoSafeRegister(&xSettingsGetRange, libs, "g_settings_get_range") | |
| 1801 | + | core.PuregoSafeRegister(&xSettingsGetString, libs, "g_settings_get_string") | |
| 1802 | + | core.PuregoSafeRegister(&xSettingsGetStrv, libs, "g_settings_get_strv") | |
| 1803 | + | core.PuregoSafeRegister(&xSettingsGetUint, libs, "g_settings_get_uint") | |
| 1804 | + | core.PuregoSafeRegister(&xSettingsGetUint64, libs, "g_settings_get_uint64") | |
| 1805 | + | core.PuregoSafeRegister(&xSettingsGetUserValue, libs, "g_settings_get_user_value") | |
| 1806 | + | core.PuregoSafeRegister(&xSettingsGetValue, libs, "g_settings_get_value") | |
| 1807 | + | core.PuregoSafeRegister(&xSettingsIsWritable, libs, "g_settings_is_writable") | |
| 1808 | + | core.PuregoSafeRegister(&xSettingsListChildren, libs, "g_settings_list_children") | |
| 1809 | + | core.PuregoSafeRegister(&xSettingsListKeys, libs, "g_settings_list_keys") | |
| 1810 | + | core.PuregoSafeRegister(&xSettingsRangeCheck, libs, "g_settings_range_check") | |
| 1811 | + | core.PuregoSafeRegister(&xSettingsReset, libs, "g_settings_reset") | |
| 1812 | + | core.PuregoSafeRegister(&xSettingsRevert, libs, "g_settings_revert") | |
| 1813 | + | core.PuregoSafeRegister(&xSettingsSet, libs, "g_settings_set") | |
| 1814 | + | core.PuregoSafeRegister(&xSettingsSetBoolean, libs, "g_settings_set_boolean") | |
| 1815 | + | core.PuregoSafeRegister(&xSettingsSetDouble, libs, "g_settings_set_double") | |
| 1816 | + | core.PuregoSafeRegister(&xSettingsSetEnum, libs, "g_settings_set_enum") | |
| 1817 | + | core.PuregoSafeRegister(&xSettingsSetFlags, libs, "g_settings_set_flags") | |
| 1818 | + | core.PuregoSafeRegister(&xSettingsSetInt, libs, "g_settings_set_int") | |
| 1819 | + | core.PuregoSafeRegister(&xSettingsSetInt64, libs, "g_settings_set_int64") | |
| 1820 | + | core.PuregoSafeRegister(&xSettingsSetString, libs, "g_settings_set_string") | |
| 1821 | + | core.PuregoSafeRegister(&xSettingsSetStrv, libs, "g_settings_set_strv") | |
| 1822 | + | core.PuregoSafeRegister(&xSettingsSetUint, libs, "g_settings_set_uint") | |
| 1823 | + | core.PuregoSafeRegister(&xSettingsSetUint64, libs, "g_settings_set_uint64") | |
| 1824 | + | core.PuregoSafeRegister(&xSettingsSetValue, libs, "g_settings_set_value") | |
| 1825 | + | ||
| 1826 | + | core.PuregoSafeRegister(&xSettingsListRelocatableSchemas, libs, "g_settings_list_relocatable_schemas") | |
| 1827 | + | core.PuregoSafeRegister(&xSettingsListSchemas, libs, "g_settings_list_schemas") | |
| 1828 | + | core.PuregoSafeRegister(&xSettingsSync, libs, "g_settings_sync") | |
| 1829 | + | core.PuregoSafeRegister(&xSettingsUnbind, libs, "g_settings_unbind") | |
| 1862 | 1830 | } | |
| @@ -179,7 +179,6 @@ type SettingsBindFlags int | |||||
| 179 | var xSettingsBindFlagsGLibType func() types.GType | 179 | var xSettingsBindFlagsGLibType func() types.GType | ||
| 180 | 180 | ||||
| 181 | func SettingsBindFlagsGLibType() types.GType { | 181 | func SettingsBindFlagsGLibType() types.GType { | ||
| 182 | - | core.LazyRegister(&xSettingsBindFlagsGLibType, "GIO", "g_settings_bind_flags_get_type", false) | |||
| 183 | return xSettingsBindFlagsGLibType() | 182 | return xSettingsBindFlagsGLibType() | ||
| 184 | } | 183 | } | ||
| 185 | 184 | ||||
| @@ -609,7 +608,6 @@ type Settings struct { | |||||
| 609 | var xSettingsGLibType func() types.GType | 608 | var xSettingsGLibType func() types.GType | ||
| 610 | 609 | ||||
| 611 | func SettingsGLibType() types.GType { | 610 | func SettingsGLibType() types.GType { | ||
| 612 | - | core.LazyRegister(&xSettingsGLibType, "GIO", "g_settings_get_type", false) | |||
| 613 | return xSettingsGLibType() | 611 | return xSettingsGLibType() | ||
| 614 | } | 612 | } | ||
| 615 | 613 | ||||
| @@ -635,7 +633,6 @@ var xNewSettings func(string) uintptr | |||||
| 635 | // call to [ctor@Gio.Settings.new]. The new [class@Gio.Settings] will hold a reference | 633 | // call to [ctor@Gio.Settings.new]. The new [class@Gio.Settings] will hold a reference | ||
| 636 | // on the context. See [method@GLib.MainContext.push_thread_default]. | 634 | // on the context. See [method@GLib.MainContext.push_thread_default]. | ||
| 637 | func NewSettings(SchemaIdVar string) *Settings { | 635 | func NewSettings(SchemaIdVar string) *Settings { | ||
| 638 | - | core.LazyRegister(&xNewSettings, "GIO", "g_settings_new", false) | |||
| 639 | var cls *Settings | 636 | var cls *Settings | ||
| 640 | 637 | ||||
| 641 | cret := xNewSettings(SchemaIdVar) | 638 | cret := xNewSettings(SchemaIdVar) | ||
| @@ -674,7 +671,6 @@ var xNewSettingsFull func(*SettingsSchema, uintptr, uintptr) uintptr | |||||
| 674 | // @path is non-`NULL` and not equal to the path that the schema does | 671 | // @path is non-`NULL` and not equal to the path that the schema does | ||
| 675 | // have. | 672 | // have. | ||
| 676 | func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar *string) *Settings { | 673 | func NewSettingsFull(SchemaVar *SettingsSchema, BackendVar *SettingsBackend, PathVar *string) *Settings { | ||
| 677 | - | core.LazyRegister(&xNewSettingsFull, "GIO", "g_settings_new_full", false) | |||
| 678 | var cls *Settings | 674 | var cls *Settings | ||
| 679 | 675 | ||||
| 680 | PathVarPtr := core.GStrdupNullable(PathVar) | 676 | PathVarPtr := core.GStrdupNullable(PathVar) | ||
| @@ -701,7 +697,6 @@ var xNewSettingsWithBackend func(string, uintptr) uintptr | |||||
| 701 | // the system to get a settings object that modifies the system default | 697 | // the system to get a settings object that modifies the system default | ||
| 702 | // settings instead of the settings for this user. | 698 | // settings instead of the settings for this user. | ||
| 703 | func NewSettingsWithBackend(SchemaIdVar string, BackendVar *SettingsBackend) *Settings { | 699 | func NewSettingsWithBackend(SchemaIdVar string, BackendVar *SettingsBackend) *Settings { | ||
| 704 | - | core.LazyRegister(&xNewSettingsWithBackend, "GIO", "g_settings_new_with_backend", false) | |||
| 705 | var cls *Settings | 700 | var cls *Settings | ||
| 706 | 701 | ||||
| 707 | cret := xNewSettingsWithBackend(SchemaIdVar, BackendVar.GoPointer()) | 702 | cret := xNewSettingsWithBackend(SchemaIdVar, BackendVar.GoPointer()) | ||
| @@ -722,7 +717,6 @@ var xNewSettingsWithBackendAndPath func(string, uintptr, string) uintptr | |||||
| 722 | // This is a mix of [ctor@Gio.Settings.new_with_backend] and | 717 | // This is a mix of [ctor@Gio.Settings.new_with_backend] and | ||
| 723 | // [ctor@Gio.Settings.new_with_path]. | 718 | // [ctor@Gio.Settings.new_with_path]. | ||
| 724 | func NewSettingsWithBackendAndPath(SchemaIdVar string, BackendVar *SettingsBackend, PathVar string) *Settings { | 719 | func NewSettingsWithBackendAndPath(SchemaIdVar string, BackendVar *SettingsBackend, PathVar string) *Settings { | ||
| 725 | - | core.LazyRegister(&xNewSettingsWithBackendAndPath, "GIO", "g_settings_new_with_backend_and_path", false) | |||
| 726 | var cls *Settings | 720 | var cls *Settings | ||
| 727 | 721 | ||||
| 728 | cret := xNewSettingsWithBackendAndPath(SchemaIdVar, BackendVar.GoPointer(), PathVar) | 722 | cret := xNewSettingsWithBackendAndPath(SchemaIdVar, BackendVar.GoPointer(), PathVar) | ||
| @@ -751,7 +745,6 @@ var xNewSettingsWithPath func(string, string) uintptr | |||||
| 751 | // begins and ends with `/` and does not contain two consecutive `/` | 745 | // begins and ends with `/` and does not contain two consecutive `/` | ||
| 752 | // characters. | 746 | // characters. | ||
| 753 | func NewSettingsWithPath(SchemaIdVar string, PathVar string) *Settings { | 747 | func NewSettingsWithPath(SchemaIdVar string, PathVar string) *Settings { | ||
| 754 | - | core.LazyRegister(&xNewSettingsWithPath, "GIO", "g_settings_new_with_path", false) | |||
| 755 | var cls *Settings | 748 | var cls *Settings | ||
| 756 | 749 | ||||
| 757 | cret := xNewSettingsWithPath(SchemaIdVar, PathVar) | 750 | cret := xNewSettingsWithPath(SchemaIdVar, PathVar) | ||
| @@ -772,8 +765,6 @@ var xSettingsApply func(uintptr) | |||||
| 772 | // [‘delay-apply’ mode](class.Settings.html#delay-apply-mode). In the normal | 765 | // [‘delay-apply’ mode](class.Settings.html#delay-apply-mode). In the normal | ||
| 773 | // case settings are always applied immediately. | 766 | // case settings are always applied immediately. | ||
| 774 | func (x *Settings) Apply() { | 767 | func (x *Settings) Apply() { | ||
| 775 | - | core.LazyRegister(&xSettingsApply, "GIO", "g_settings_apply", false) | |||
| 776 | - | ||||
| 777 | xSettingsApply(x.GoPointer()) | 768 | xSettingsApply(x.GoPointer()) | ||
| 778 | } | 769 | } | ||
| 779 | 770 | ||||
| @@ -800,8 +791,6 @@ var xSettingsBind func(uintptr, string, uintptr, string, SettingsBindFlags) | |||||
| 800 | // If you bind the same property twice on the same object, the second | 791 | // If you bind the same property twice on the same object, the second | ||
| 801 | // binding overrides the first one. | 792 | // binding overrides the first one. | ||
| 802 | func (x *Settings) Bind(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, FlagsVar SettingsBindFlags) { | 793 | func (x *Settings) Bind(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, FlagsVar SettingsBindFlags) { | ||
| 803 | - | core.LazyRegister(&xSettingsBind, "GIO", "g_settings_bind", false) | |||
| 804 | - | ||||
| 805 | xSettingsBind(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, FlagsVar) | 794 | xSettingsBind(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, FlagsVar) | ||
| 806 | } | 795 | } | ||
| 807 | 796 | ||||
| @@ -818,8 +807,6 @@ var xSettingsBindWithMapping func(uintptr, string, uintptr, string, SettingsBind | |||||
| 818 | // If you bind the same property twice on the same object, the second | 807 | // If you bind the same property twice on the same object, the second | ||
| 819 | // binding overrides the first one. | 808 | // binding overrides the first one. | ||
| 820 | func (x *Settings) BindWithMapping(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, FlagsVar SettingsBindFlags, GetMappingVar *SettingsBindGetMapping, SetMappingVar *SettingsBindSetMapping, UserDataVar uintptr, DestroyVar *glib.DestroyNotify) { | 809 | func (x *Settings) BindWithMapping(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, FlagsVar SettingsBindFlags, GetMappingVar *SettingsBindGetMapping, SetMappingVar *SettingsBindSetMapping, UserDataVar uintptr, DestroyVar *glib.DestroyNotify) { | ||
| 821 | - | core.LazyRegister(&xSettingsBindWithMapping, "GIO", "g_settings_bind_with_mapping", false) | |||
| 822 | - | ||||
| 823 | xSettingsBindWithMapping(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, FlagsVar, glib.NewCallbackNullable(GetMappingVar), glib.NewCallbackNullable(SetMappingVar), UserDataVar, glib.NewCallbackNullable(DestroyVar)) | 810 | xSettingsBindWithMapping(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, FlagsVar, glib.NewCallbackNullable(GetMappingVar), glib.NewCallbackNullable(SetMappingVar), UserDataVar, glib.NewCallbackNullable(DestroyVar)) | ||
| 824 | } | 811 | } | ||
| 825 | 812 | ||||
| @@ -828,8 +815,6 @@ var xSettingsBindWithMappingClosures func(uintptr, string, uintptr, string, Sett | |||||
| 828 | // Version of [method@Gio.Settings.bind_with_mapping] using closures instead of | 815 | // Version of [method@Gio.Settings.bind_with_mapping] using closures instead of | ||
| 829 | // callbacks for easier binding in other languages. | 816 | // callbacks for easier binding in other languages. | ||
| 830 | func (x *Settings) BindWithMappingClosures(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, FlagsVar SettingsBindFlags, GetMappingVar *gobject.Closure, SetMappingVar *gobject.Closure) { | 817 | func (x *Settings) BindWithMappingClosures(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, FlagsVar SettingsBindFlags, GetMappingVar *gobject.Closure, SetMappingVar *gobject.Closure) { | ||
| 831 | - | core.LazyRegister(&xSettingsBindWithMappingClosures, "GIO", "g_settings_bind_with_mapping_closures", false) | |||
| 832 | - | ||||
| 833 | xSettingsBindWithMappingClosures(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, FlagsVar, GetMappingVar, SetMappingVar) | 818 | xSettingsBindWithMappingClosures(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, FlagsVar, GetMappingVar, SetMappingVar) | ||
| 834 | } | 819 | } | ||
| 835 | 820 | ||||
| @@ -854,8 +839,6 @@ var xSettingsBindWritable func(uintptr, string, uintptr, string, bool) | |||||
| 854 | // If you bind the same property twice on the same object, the second | 839 | // If you bind the same property twice on the same object, the second | ||
| 855 | // binding overrides the first one. | 840 | // binding overrides the first one. | ||
| 856 | func (x *Settings) BindWritable(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, InvertedVar bool) { | 841 | func (x *Settings) BindWritable(KeyVar string, ObjectVar *gobject.Object, PropertyVar string, InvertedVar bool) { | ||
| 857 | - | core.LazyRegister(&xSettingsBindWritable, "GIO", "g_settings_bind_writable", false) | |||
| 858 | - | ||||
| 859 | xSettingsBindWritable(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, InvertedVar) | 842 | xSettingsBindWritable(x.GoPointer(), KeyVar, ObjectVar.GoPointer(), PropertyVar, InvertedVar) | ||
| 860 | } | 843 | } | ||
| 861 | 844 | ||||
| @@ -876,7 +859,6 @@ var xSettingsCreateAction func(uintptr, string) uintptr | |||||
| 876 | // activations take the new value for the key (which must have the | 859 | // activations take the new value for the key (which must have the | ||
| 877 | // correct type). | 860 | // correct type). | ||
| 878 | func (x *Settings) CreateAction(KeyVar string) *ActionBase { | 861 | func (x *Settings) CreateAction(KeyVar string) *ActionBase { | ||
| 879 | - | core.LazyRegister(&xSettingsCreateAction, "GIO", "g_settings_create_action", false) | |||
| 880 | var cls *ActionBase | 862 | var cls *ActionBase | ||
| 881 | 863 | ||||
| 882 | cret := xSettingsCreateAction(x.GoPointer(), KeyVar) | 864 | cret := xSettingsCreateAction(x.GoPointer(), KeyVar) | ||
| @@ -898,8 +880,6 @@ var xSettingsDelay func(uintptr) | |||||
| 898 | // mode, changes to @settings are not immediately propagated to the | 880 | // mode, changes to @settings are not immediately propagated to the | ||
| 899 | // backend, but kept locally until [method@Gio.Settings.apply] is called. | 881 | // backend, but kept locally until [method@Gio.Settings.apply] is called. | ||
| 900 | func (x *Settings) Delay() { | 882 | func (x *Settings) Delay() { | ||
| 901 | - | core.LazyRegister(&xSettingsDelay, "GIO", "g_settings_delay", false) | |||
| 902 | - | ||||
| 903 | xSettingsDelay(x.GoPointer()) | 883 | xSettingsDelay(x.GoPointer()) | ||
| 904 | } | 884 | } | ||
| 905 | 885 | ||||
| @@ -914,8 +894,6 @@ var xSettingsGet func(uintptr, string, string, ...interface{}) | |||||
| 914 | // schema for @settings or for the [struct@GLib.VariantType] of @format to mismatch | 894 | // schema for @settings or for the [struct@GLib.VariantType] of @format to mismatch | ||
| 915 | // the type given in the schema. | 895 | // the type given in the schema. | ||
| 916 | func (x *Settings) Get(KeyVar string, FormatVar string, varArgs ...interface{}) { | 896 | func (x *Settings) Get(KeyVar string, FormatVar string, varArgs ...interface{}) { | ||
| 917 | - | core.LazyRegister(&xSettingsGet, "GIO", "g_settings_get", false) | |||
| 918 | - | ||||
| 919 | xSettingsGet(x.GoPointer(), KeyVar, FormatVar, varArgs...) | 897 | xSettingsGet(x.GoPointer(), KeyVar, FormatVar, varArgs...) | ||
| 920 | } | 898 | } | ||
| 921 | 899 | ||||
| @@ -928,8 +906,6 @@ var xSettingsGetBoolean func(uintptr, string) bool | |||||
| 928 | // It is a programmer error to give a @key that isn’t specified as | 906 | // It is a programmer error to give a @key that isn’t specified as | ||
| 929 | // having a `b` type in the schema for @settings (see [struct@GLib.VariantType]). | 907 | // having a `b` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 930 | func (x *Settings) GetBoolean(KeyVar string) bool { | 908 | func (x *Settings) GetBoolean(KeyVar string) bool { | ||
| 931 | - | core.LazyRegister(&xSettingsGetBoolean, "GIO", "g_settings_get_boolean", false) | |||
| 932 | - | ||||
| 933 | cret := xSettingsGetBoolean(x.GoPointer(), KeyVar) | 909 | cret := xSettingsGetBoolean(x.GoPointer(), KeyVar) | ||
| 934 | return cret | 910 | return cret | ||
| 935 | } | 911 | } | ||
| @@ -946,7 +922,6 @@ var xSettingsGetChild func(uintptr, string) uintptr | |||||
| 946 | // The created child settings object will inherit the | 922 | // The created child settings object will inherit the | ||
| 947 | // [property@Gio.Settings:delay-apply] mode from @settings. | 923 | // [property@Gio.Settings:delay-apply] mode from @settings. | ||
| 948 | func (x *Settings) GetChild(NameVar string) *Settings { | 924 | func (x *Settings) GetChild(NameVar string) *Settings { | ||
| 949 | - | core.LazyRegister(&xSettingsGetChild, "GIO", "g_settings_get_child", false) | |||
| 950 | var cls *Settings | 925 | var cls *Settings | ||
| 951 | 926 | ||||
| 952 | cret := xSettingsGetChild(x.GoPointer(), NameVar) | 927 | cret := xSettingsGetChild(x.GoPointer(), NameVar) | ||
| @@ -983,8 +958,6 @@ var xSettingsGetDefaultValue func(uintptr, string) uintptr | |||||
| 983 | // It is a programmer error to give a @key that isn’t contained in the | 958 | // It is a programmer error to give a @key that isn’t contained in the | ||
| 984 | // schema for @settings. | 959 | // schema for @settings. | ||
| 985 | func (x *Settings) GetDefaultValue(KeyVar string) *glib.Variant { | 960 | func (x *Settings) GetDefaultValue(KeyVar string) *glib.Variant { | ||
| 986 | - | core.LazyRegister(&xSettingsGetDefaultValue, "GIO", "g_settings_get_default_value", false) | |||
| 987 | - | ||||
| 988 | cret := xSettingsGetDefaultValue(x.GoPointer(), KeyVar) | 961 | cret := xSettingsGetDefaultValue(x.GoPointer(), KeyVar) | ||
| 989 | if cret == 0 { | 962 | if cret == 0 { | ||
| 990 | return nil | 963 | return nil | ||
| @@ -1001,8 +974,6 @@ var xSettingsGetDouble func(uintptr, string) float64 | |||||
| 1001 | // It is a programmer error to give a @key that isn’t specified as | 974 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1002 | // having a `d` type in the schema for @settings (see [struct@GLib.VariantType]). | 975 | // having a `d` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1003 | func (x *Settings) GetDouble(KeyVar string) float64 { | 976 | func (x *Settings) GetDouble(KeyVar string) float64 { | ||
| 1004 | - | core.LazyRegister(&xSettingsGetDouble, "GIO", "g_settings_get_double", false) | |||
| 1005 | - | ||||
| 1006 | cret := xSettingsGetDouble(x.GoPointer(), KeyVar) | 977 | cret := xSettingsGetDouble(x.GoPointer(), KeyVar) | ||
| 1007 | return cret | 978 | return cret | ||
| 1008 | } | 979 | } | ||
| @@ -1022,8 +993,6 @@ var xSettingsGetEnum func(uintptr, string) int | |||||
| 1022 | // value for the enumerated type then this function will return the | 993 | // value for the enumerated type then this function will return the | ||
| 1023 | // default value. | 994 | // default value. | ||
| 1024 | func (x *Settings) GetEnum(KeyVar string) int { | 995 | func (x *Settings) GetEnum(KeyVar string) int { | ||
| 1025 | - | core.LazyRegister(&xSettingsGetEnum, "GIO", "g_settings_get_enum", false) | |||
| 1026 | - | ||||
| 1027 | cret := xSettingsGetEnum(x.GoPointer(), KeyVar) | 996 | cret := xSettingsGetEnum(x.GoPointer(), KeyVar) | ||
| 1028 | return cret | 997 | return cret | ||
| 1029 | } | 998 | } | ||
| @@ -1043,8 +1012,6 @@ var xSettingsGetFlags func(uintptr, string) uint | |||||
| 1043 | // value for the flags type then this function will return the default | 1012 | // value for the flags type then this function will return the default | ||
| 1044 | // value. | 1013 | // value. | ||
| 1045 | func (x *Settings) GetFlags(KeyVar string) uint { | 1014 | func (x *Settings) GetFlags(KeyVar string) uint { | ||
| 1046 | - | core.LazyRegister(&xSettingsGetFlags, "GIO", "g_settings_get_flags", false) | |||
| 1047 | - | ||||
| 1048 | cret := xSettingsGetFlags(x.GoPointer(), KeyVar) | 1015 | cret := xSettingsGetFlags(x.GoPointer(), KeyVar) | ||
| 1049 | return cret | 1016 | return cret | ||
| 1050 | } | 1017 | } | ||
| @@ -1057,8 +1024,6 @@ var xSettingsGetHasUnapplied func(uintptr) bool | |||||
| 1057 | // This can only be the case if it is in | 1024 | // This can only be the case if it is in | ||
| 1058 | // [‘delay-apply’ mode](class.Settings.html#delay-apply-mode). | 1025 | // [‘delay-apply’ mode](class.Settings.html#delay-apply-mode). | ||
| 1059 | func (x *Settings) GetHasUnapplied() bool { | 1026 | func (x *Settings) GetHasUnapplied() bool { | ||
| 1060 | - | core.LazyRegister(&xSettingsGetHasUnapplied, "GIO", "g_settings_get_has_unapplied", false) | |||
| 1061 | - | ||||
| 1062 | cret := xSettingsGetHasUnapplied(x.GoPointer()) | 1027 | cret := xSettingsGetHasUnapplied(x.GoPointer()) | ||
| 1063 | return cret | 1028 | return cret | ||
| 1064 | } | 1029 | } | ||
| @@ -1072,8 +1037,6 @@ var xSettingsGetInt func(uintptr, string) int | |||||
| 1072 | // It is a programmer error to give a @key that isn’t specified as | 1037 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1073 | // having an `i` type in the schema for @settings (see [struct@GLib.VariantType]). | 1038 | // having an `i` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1074 | func (x *Settings) GetInt(KeyVar string) int { | 1039 | func (x *Settings) GetInt(KeyVar string) int { | ||
| 1075 | - | core.LazyRegister(&xSettingsGetInt, "GIO", "g_settings_get_int", false) | |||
| 1076 | - | ||||
| 1077 | cret := xSettingsGetInt(x.GoPointer(), KeyVar) | 1040 | cret := xSettingsGetInt(x.GoPointer(), KeyVar) | ||
| 1078 | return cret | 1041 | return cret | ||
| 1079 | } | 1042 | } | ||
| @@ -1087,8 +1050,6 @@ var xSettingsGetInt64 func(uintptr, string) int64 | |||||
| 1087 | // It is a programmer error to give a @key that isn’t specified as | 1050 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1088 | // having an `x` type in the schema for @settings (see [struct@GLib.VariantType]). | 1051 | // having an `x` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1089 | func (x *Settings) GetInt64(KeyVar string) int64 { | 1052 | func (x *Settings) GetInt64(KeyVar string) int64 { | ||
| 1090 | - | core.LazyRegister(&xSettingsGetInt64, "GIO", "g_settings_get_int64", false) | |||
| 1091 | - | ||||
| 1092 | cret := xSettingsGetInt64(x.GoPointer(), KeyVar) | 1053 | cret := xSettingsGetInt64(x.GoPointer(), KeyVar) | ||
| 1093 | return cret | 1054 | return cret | ||
| 1094 | } | 1055 | } | ||
| @@ -1123,8 +1084,6 @@ var xSettingsGetMapped func(uintptr, string, uintptr, uintptr) uintptr | |||||
| 1123 | // what is returned by this function. `NULL` is valid; it is returned | 1084 | // what is returned by this function. `NULL` is valid; it is returned | ||
| 1124 | // just as any other value would be. | 1085 | // just as any other value would be. | ||
| 1125 | func (x *Settings) GetMapped(KeyVar string, MappingVar *SettingsGetMapping, UserDataVar uintptr) uintptr { | 1086 | func (x *Settings) GetMapped(KeyVar string, MappingVar *SettingsGetMapping, UserDataVar uintptr) uintptr { | ||
| 1126 | - | core.LazyRegister(&xSettingsGetMapped, "GIO", "g_settings_get_mapped", false) | |||
| 1127 | - | ||||
| 1128 | cret := xSettingsGetMapped(x.GoPointer(), KeyVar, glib.NewCallback(MappingVar), UserDataVar) | 1087 | cret := xSettingsGetMapped(x.GoPointer(), KeyVar, glib.NewCallback(MappingVar), UserDataVar) | ||
| 1129 | return cret | 1088 | return cret | ||
| 1130 | } | 1089 | } | ||
| @@ -1133,8 +1092,6 @@ var xSettingsGetRange func(uintptr, string) uintptr | |||||
| 1133 | 1092 | ||||
| 1134 | // Queries the range of a key. | 1093 | // Queries the range of a key. | ||
| 1135 | func (x *Settings) GetRange(KeyVar string) *glib.Variant { | 1094 | func (x *Settings) GetRange(KeyVar string) *glib.Variant { | ||
| 1136 | - | core.LazyRegister(&xSettingsGetRange, "GIO", "g_settings_get_range", false) | |||
| 1137 | - | ||||
| 1138 | cret := xSettingsGetRange(x.GoPointer(), KeyVar) | 1095 | cret := xSettingsGetRange(x.GoPointer(), KeyVar) | ||
| 1139 | if cret == 0 { | 1096 | if cret == 0 { | ||
| 1140 | return nil | 1097 | return nil | ||
| @@ -1151,8 +1108,6 @@ var xSettingsGetString func(uintptr, string) string | |||||
| 1151 | // It is a programmer error to give a @key that isn’t specified as | 1108 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1152 | // having an `s` type in the schema for @settings (see [struct@GLib.VariantType]). | 1109 | // having an `s` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1153 | func (x *Settings) GetString(KeyVar string) string { | 1110 | func (x *Settings) GetString(KeyVar string) string { | ||
| 1154 | - | core.LazyRegister(&xSettingsGetString, "GIO", "g_settings_get_string", false) | |||
| 1155 | - | ||||
| 1156 | cret := xSettingsGetString(x.GoPointer(), KeyVar) | 1111 | cret := xSettingsGetString(x.GoPointer(), KeyVar) | ||
| 1157 | return cret | 1112 | return cret | ||
| 1158 | } | 1113 | } | ||
| @@ -1164,8 +1119,6 @@ var xSettingsGetStrv func(uintptr, string) []string | |||||
| 1164 | // It is a programmer error to give a @key that isn’t specified as | 1119 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1165 | // having an `as` type in the schema for @settings (see [struct@GLib.VariantType]). | 1120 | // having an `as` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1166 | func (x *Settings) GetStrv(KeyVar string) []string { | 1121 | func (x *Settings) GetStrv(KeyVar string) []string { | ||
| 1167 | - | core.LazyRegister(&xSettingsGetStrv, "GIO", "g_settings_get_strv", false) | |||
| 1168 | - | ||||
| 1169 | cret := xSettingsGetStrv(x.GoPointer(), KeyVar) | 1122 | cret := xSettingsGetStrv(x.GoPointer(), KeyVar) | ||
| 1170 | return cret | 1123 | return cret | ||
| 1171 | } | 1124 | } | ||
| @@ -1180,8 +1133,6 @@ var xSettingsGetUint func(uintptr, string) uint | |||||
| 1180 | // It is a programmer error to give a @key that isn’t specified as | 1133 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1181 | // having a `u` type in the schema for @settings (see [struct@GLib.VariantType]). | 1134 | // having a `u` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1182 | func (x *Settings) GetUint(KeyVar string) uint { | 1135 | func (x *Settings) GetUint(KeyVar string) uint { | ||
| 1183 | - | core.LazyRegister(&xSettingsGetUint, "GIO", "g_settings_get_uint", false) | |||
| 1184 | - | ||||
| 1185 | cret := xSettingsGetUint(x.GoPointer(), KeyVar) | 1136 | cret := xSettingsGetUint(x.GoPointer(), KeyVar) | ||
| 1186 | return cret | 1137 | return cret | ||
| 1187 | } | 1138 | } | ||
| @@ -1196,8 +1147,6 @@ var xSettingsGetUint64 func(uintptr, string) uint64 | |||||
| 1196 | // It is a programmer error to give a @key that isn’t specified as | 1147 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1197 | // having a `t` type in the schema for @settings (see [struct@GLib.VariantType]). | 1148 | // having a `t` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1198 | func (x *Settings) GetUint64(KeyVar string) uint64 { | 1149 | func (x *Settings) GetUint64(KeyVar string) uint64 { | ||
| 1199 | - | core.LazyRegister(&xSettingsGetUint64, "GIO", "g_settings_get_uint64", false) | |||
| 1200 | - | ||||
| 1201 | cret := xSettingsGetUint64(x.GoPointer(), KeyVar) | 1150 | cret := xSettingsGetUint64(x.GoPointer(), KeyVar) | ||
| 1202 | return cret | 1151 | return cret | ||
| 1203 | } | 1152 | } | ||
| @@ -1223,8 +1172,6 @@ var xSettingsGetUserValue func(uintptr, string) uintptr | |||||
| 1223 | // It is a programmer error to give a @key that isn’t contained in the | 1172 | // It is a programmer error to give a @key that isn’t contained in the | ||
| 1224 | // schema for @settings. | 1173 | // schema for @settings. | ||
| 1225 | func (x *Settings) GetUserValue(KeyVar string) *glib.Variant { | 1174 | func (x *Settings) GetUserValue(KeyVar string) *glib.Variant { | ||
| 1226 | - | core.LazyRegister(&xSettingsGetUserValue, "GIO", "g_settings_get_user_value", false) | |||
| 1227 | - | ||||
| 1228 | cret := xSettingsGetUserValue(x.GoPointer(), KeyVar) | 1175 | cret := xSettingsGetUserValue(x.GoPointer(), KeyVar) | ||
| 1229 | if cret == 0 { | 1176 | if cret == 0 { | ||
| 1230 | return nil | 1177 | return nil | ||
| @@ -1239,8 +1186,6 @@ var xSettingsGetValue func(uintptr, string) uintptr | |||||
| 1239 | // It is a programmer error to give a @key that isn’t contained in the | 1186 | // It is a programmer error to give a @key that isn’t contained in the | ||
| 1240 | // schema for @settings. | 1187 | // schema for @settings. | ||
| 1241 | func (x *Settings) GetValue(KeyVar string) *glib.Variant { | 1188 | func (x *Settings) GetValue(KeyVar string) *glib.Variant { | ||
| 1242 | - | core.LazyRegister(&xSettingsGetValue, "GIO", "g_settings_get_value", false) | |||
| 1243 | - | ||||
| 1244 | cret := xSettingsGetValue(x.GoPointer(), KeyVar) | 1189 | cret := xSettingsGetValue(x.GoPointer(), KeyVar) | ||
| 1245 | if cret == 0 { | 1190 | if cret == 0 { | ||
| 1246 | return nil | 1191 | return nil | ||
| @@ -1252,8 +1197,6 @@ var xSettingsIsWritable func(uintptr, string) bool | |||||
| 1252 | 1197 | ||||
| 1253 | // Finds out if a key can be written. | 1198 | // Finds out if a key can be written. | ||
| 1254 | func (x *Settings) IsWritable(NameVar string) bool { | 1199 | func (x *Settings) IsWritable(NameVar string) bool { | ||
| 1255 | - | core.LazyRegister(&xSettingsIsWritable, "GIO", "g_settings_is_writable", false) | |||
| 1256 | - | ||||
| 1257 | cret := xSettingsIsWritable(x.GoPointer(), NameVar) | 1200 | cret := xSettingsIsWritable(x.GoPointer(), NameVar) | ||
| 1258 | return cret | 1201 | return cret | ||
| 1259 | } | 1202 | } | ||
| @@ -1272,8 +1215,6 @@ var xSettingsListChildren func(uintptr) []string | |||||
| 1272 | // You should free the return value with [func@GLib.strfreev] when you are done | 1215 | // You should free the return value with [func@GLib.strfreev] when you are done | ||
| 1273 | // with it. | 1216 | // with it. | ||
| 1274 | func (x *Settings) ListChildren() []string { | 1217 | func (x *Settings) ListChildren() []string { | ||
| 1275 | - | core.LazyRegister(&xSettingsListChildren, "GIO", "g_settings_list_children", false) | |||
| 1276 | - | ||||
| 1277 | cret := xSettingsListChildren(x.GoPointer()) | 1218 | cret := xSettingsListChildren(x.GoPointer()) | ||
| 1278 | return cret | 1219 | return cret | ||
| 1279 | } | 1220 | } | ||
| @@ -1289,8 +1230,6 @@ var xSettingsListKeys func(uintptr) []string | |||||
| 1289 | // You should free the return value with [func@GLib.strfreev] when you are done | 1230 | // You should free the return value with [func@GLib.strfreev] when you are done | ||
| 1290 | // with it. | 1231 | // with it. | ||
| 1291 | func (x *Settings) ListKeys() []string { | 1232 | func (x *Settings) ListKeys() []string { | ||
| 1292 | - | core.LazyRegister(&xSettingsListKeys, "GIO", "g_settings_list_keys", false) | |||
| 1293 | - | ||||
| 1294 | cret := xSettingsListKeys(x.GoPointer()) | 1233 | cret := xSettingsListKeys(x.GoPointer()) | ||
| 1295 | return cret | 1234 | return cret | ||
| 1296 | } | 1235 | } | ||
| @@ -1300,8 +1239,6 @@ var xSettingsRangeCheck func(uintptr, string, *glib.Variant) bool | |||||
| 1300 | // Checks if the given @value is of the correct type and within the | 1239 | // Checks if the given @value is of the correct type and within the | ||
| 1301 | // permitted range for @key. | 1240 | // permitted range for @key. | ||
| 1302 | func (x *Settings) RangeCheck(KeyVar string, ValueVar *glib.Variant) bool { | 1241 | func (x *Settings) RangeCheck(KeyVar string, ValueVar *glib.Variant) bool { | ||
| 1303 | - | core.LazyRegister(&xSettingsRangeCheck, "GIO", "g_settings_range_check", false) | |||
| 1304 | - | ||||
| 1305 | cret := xSettingsRangeCheck(x.GoPointer(), KeyVar, ValueVar) | 1242 | cret := xSettingsRangeCheck(x.GoPointer(), KeyVar, ValueVar) | ||
| 1306 | return cret | 1243 | return cret | ||
| 1307 | } | 1244 | } | ||
| @@ -1314,8 +1251,6 @@ var xSettingsReset func(uintptr, string) | |||||
| 1314 | // That might be the value specified in the schema or the one set by the | 1251 | // That might be the value specified in the schema or the one set by the | ||
| 1315 | // administrator. | 1252 | // administrator. | ||
| 1316 | func (x *Settings) Reset(KeyVar string) { | 1253 | func (x *Settings) Reset(KeyVar string) { | ||
| 1317 | - | core.LazyRegister(&xSettingsReset, "GIO", "g_settings_reset", false) | |||
| 1318 | - | ||||
| 1319 | xSettingsReset(x.GoPointer(), KeyVar) | 1254 | xSettingsReset(x.GoPointer(), KeyVar) | ||
| 1320 | } | 1255 | } | ||
| 1321 | 1256 | ||||
| @@ -1329,8 +1264,6 @@ var xSettingsRevert func(uintptr) | |||||
| 1329 | // | 1264 | // | ||
| 1330 | // Change notifications will be emitted for affected keys. | 1265 | // Change notifications will be emitted for affected keys. | ||
| 1331 | func (x *Settings) Revert() { | 1266 | func (x *Settings) Revert() { | ||
| 1332 | - | core.LazyRegister(&xSettingsRevert, "GIO", "g_settings_revert", false) | |||
| 1333 | - | ||||
| 1334 | xSettingsRevert(x.GoPointer()) | 1267 | xSettingsRevert(x.GoPointer()) | ||
| 1335 | } | 1268 | } | ||
| 1336 | 1269 | ||||
| @@ -1345,8 +1278,6 @@ var xSettingsSet func(uintptr, string, string, ...interface{}) bool | |||||
| 1345 | // schema for @settings or for the [struct@GLib.VariantType] of @format to mismatch | 1278 | // schema for @settings or for the [struct@GLib.VariantType] of @format to mismatch | ||
| 1346 | // the type given in the schema. | 1279 | // the type given in the schema. | ||
| 1347 | func (x *Settings) Set(KeyVar string, FormatVar string, varArgs ...interface{}) bool { | 1280 | func (x *Settings) Set(KeyVar string, FormatVar string, varArgs ...interface{}) bool { | ||
| 1348 | - | core.LazyRegister(&xSettingsSet, "GIO", "g_settings_set", false) | |||
| 1349 | - | ||||
| 1350 | cret := xSettingsSet(x.GoPointer(), KeyVar, FormatVar, varArgs...) | 1281 | cret := xSettingsSet(x.GoPointer(), KeyVar, FormatVar, varArgs...) | ||
| 1351 | return cret | 1282 | return cret | ||
| 1352 | } | 1283 | } | ||
| @@ -1360,8 +1291,6 @@ var xSettingsSetBoolean func(uintptr, string, bool) bool | |||||
| 1360 | // It is a programmer error to give a @key that isn’t specified as | 1291 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1361 | // having a `b` type in the schema for @settings (see [struct@GLib.VariantType]). | 1292 | // having a `b` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1362 | func (x *Settings) SetBoolean(KeyVar string, ValueVar bool) bool { | 1293 | func (x *Settings) SetBoolean(KeyVar string, ValueVar bool) bool { | ||
| 1363 | - | core.LazyRegister(&xSettingsSetBoolean, "GIO", "g_settings_set_boolean", false) | |||
| 1364 | - | ||||
| 1365 | cret := xSettingsSetBoolean(x.GoPointer(), KeyVar, ValueVar) | 1294 | cret := xSettingsSetBoolean(x.GoPointer(), KeyVar, ValueVar) | ||
| 1366 | return cret | 1295 | return cret | ||
| 1367 | } | 1296 | } | ||
| @@ -1375,8 +1304,6 @@ var xSettingsSetDouble func(uintptr, string, float64) bool | |||||
| 1375 | // It is a programmer error to give a @key that isn’t specified as | 1304 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1376 | // having a `d` type in the schema for @settings (see [struct@GLib.VariantType]). | 1305 | // having a `d` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1377 | func (x *Settings) SetDouble(KeyVar string, ValueVar float64) bool { | 1306 | func (x *Settings) SetDouble(KeyVar string, ValueVar float64) bool { | ||
| 1378 | - | core.LazyRegister(&xSettingsSetDouble, "GIO", "g_settings_set_double", false) | |||
| 1379 | - | ||||
| 1380 | cret := xSettingsSetDouble(x.GoPointer(), KeyVar, ValueVar) | 1307 | cret := xSettingsSetDouble(x.GoPointer(), KeyVar, ValueVar) | ||
| 1381 | return cret | 1308 | return cret | ||
| 1382 | } | 1309 | } | ||
| @@ -1394,8 +1321,6 @@ var xSettingsSetEnum func(uintptr, string, int) bool | |||||
| 1394 | // [method@Gio.Settings.get_string] will return the ‘nick’ associated with | 1321 | // [method@Gio.Settings.get_string] will return the ‘nick’ associated with | ||
| 1395 | // @value. | 1322 | // @value. | ||
| 1396 | func (x *Settings) SetEnum(KeyVar string, ValueVar int) bool { | 1323 | func (x *Settings) SetEnum(KeyVar string, ValueVar int) bool { | ||
| 1397 | - | core.LazyRegister(&xSettingsSetEnum, "GIO", "g_settings_set_enum", false) | |||
| 1398 | - | ||||
| 1399 | cret := xSettingsSetEnum(x.GoPointer(), KeyVar, ValueVar) | 1324 | cret := xSettingsSetEnum(x.GoPointer(), KeyVar, ValueVar) | ||
| 1400 | return cret | 1325 | return cret | ||
| 1401 | } | 1326 | } | ||
| @@ -1414,8 +1339,6 @@ var xSettingsSetFlags func(uintptr, string, uint) bool | |||||
| 1414 | // [method@Gio.Settings.get_strv] will return an array of ‘nicks’; one for each | 1339 | // [method@Gio.Settings.get_strv] will return an array of ‘nicks’; one for each | ||
| 1415 | // bit in @value. | 1340 | // bit in @value. | ||
| 1416 | func (x *Settings) SetFlags(KeyVar string, ValueVar uint) bool { | 1341 | func (x *Settings) SetFlags(KeyVar string, ValueVar uint) bool { | ||
| 1417 | - | core.LazyRegister(&xSettingsSetFlags, "GIO", "g_settings_set_flags", false) | |||
| 1418 | - | ||||
| 1419 | cret := xSettingsSetFlags(x.GoPointer(), KeyVar, ValueVar) | 1342 | cret := xSettingsSetFlags(x.GoPointer(), KeyVar, ValueVar) | ||
| 1420 | return cret | 1343 | return cret | ||
| 1421 | } | 1344 | } | ||
| @@ -1429,8 +1352,6 @@ var xSettingsSetInt func(uintptr, string, int) bool | |||||
| 1429 | // It is a programmer error to give a @key that isn’t specified as | 1352 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1430 | // having an `i` type in the schema for @settings (see [struct@GLib.VariantType]). | 1353 | // having an `i` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1431 | func (x *Settings) SetInt(KeyVar string, ValueVar int) bool { | 1354 | func (x *Settings) SetInt(KeyVar string, ValueVar int) bool { | ||
| 1432 | - | core.LazyRegister(&xSettingsSetInt, "GIO", "g_settings_set_int", false) | |||
| 1433 | - | ||||
| 1434 | cret := xSettingsSetInt(x.GoPointer(), KeyVar, ValueVar) | 1355 | cret := xSettingsSetInt(x.GoPointer(), KeyVar, ValueVar) | ||
| 1435 | return cret | 1356 | return cret | ||
| 1436 | } | 1357 | } | ||
| @@ -1444,8 +1365,6 @@ var xSettingsSetInt64 func(uintptr, string, int64) bool | |||||
| 1444 | // It is a programmer error to give a @key that isn’t specified as | 1365 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1445 | // having an `x` type in the schema for @settings (see [struct@GLib.VariantType]). | 1366 | // having an `x` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1446 | func (x *Settings) SetInt64(KeyVar string, ValueVar int64) bool { | 1367 | func (x *Settings) SetInt64(KeyVar string, ValueVar int64) bool { | ||
| 1447 | - | core.LazyRegister(&xSettingsSetInt64, "GIO", "g_settings_set_int64", false) | |||
| 1448 | - | ||||
| 1449 | cret := xSettingsSetInt64(x.GoPointer(), KeyVar, ValueVar) | 1368 | cret := xSettingsSetInt64(x.GoPointer(), KeyVar, ValueVar) | ||
| 1450 | return cret | 1369 | return cret | ||
| 1451 | } | 1370 | } | ||
| @@ -1459,8 +1378,6 @@ var xSettingsSetString func(uintptr, string, string) bool | |||||
| 1459 | // It is a programmer error to give a @key that isn’t specified as | 1378 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1460 | // having an `s` type in the schema for @settings (see [struct@GLib.VariantType]). | 1379 | // having an `s` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1461 | func (x *Settings) SetString(KeyVar string, ValueVar string) bool { | 1380 | func (x *Settings) SetString(KeyVar string, ValueVar string) bool { | ||
| 1462 | - | core.LazyRegister(&xSettingsSetString, "GIO", "g_settings_set_string", false) | |||
| 1463 | - | ||||
| 1464 | cret := xSettingsSetString(x.GoPointer(), KeyVar, ValueVar) | 1381 | cret := xSettingsSetString(x.GoPointer(), KeyVar, ValueVar) | ||
| 1465 | return cret | 1382 | return cret | ||
| 1466 | } | 1383 | } | ||
| @@ -1475,8 +1392,6 @@ var xSettingsSetStrv func(uintptr, string, []string) bool | |||||
| 1475 | // It is a programmer error to give a @key that isn’t specified as | 1392 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1476 | // having an `as` type in the schema for @settings (see [struct@GLib.VariantType]). | 1393 | // having an `as` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1477 | func (x *Settings) SetStrv(KeyVar string, ValueVar []string) bool { | 1394 | func (x *Settings) SetStrv(KeyVar string, ValueVar []string) bool { | ||
| 1478 | - | core.LazyRegister(&xSettingsSetStrv, "GIO", "g_settings_set_strv", false) | |||
| 1479 | - | ||||
| 1480 | cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar) | 1395 | cret := xSettingsSetStrv(x.GoPointer(), KeyVar, ValueVar) | ||
| 1481 | return cret | 1396 | return cret | ||
| 1482 | } | 1397 | } | ||
| @@ -1491,8 +1406,6 @@ var xSettingsSetUint func(uintptr, string, uint) bool | |||||
| 1491 | // It is a programmer error to give a @key that isn’t specified as | 1406 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1492 | // having a `u` type in the schema for @settings (see [struct@GLib.VariantType]). | 1407 | // having a `u` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1493 | func (x *Settings) SetUint(KeyVar string, ValueVar uint) bool { | 1408 | func (x *Settings) SetUint(KeyVar string, ValueVar uint) bool { | ||
| 1494 | - | core.LazyRegister(&xSettingsSetUint, "GIO", "g_settings_set_uint", false) | |||
| 1495 | - | ||||
| 1496 | cret := xSettingsSetUint(x.GoPointer(), KeyVar, ValueVar) | 1409 | cret := xSettingsSetUint(x.GoPointer(), KeyVar, ValueVar) | ||
| 1497 | return cret | 1410 | return cret | ||
| 1498 | } | 1411 | } | ||
| @@ -1507,8 +1420,6 @@ var xSettingsSetUint64 func(uintptr, string, uint64) bool | |||||
| 1507 | // It is a programmer error to give a @key that isn’t specified as | 1420 | // It is a programmer error to give a @key that isn’t specified as | ||
| 1508 | // having a `t` type in the schema for @settings (see [struct@GLib.VariantType]). | 1421 | // having a `t` type in the schema for @settings (see [struct@GLib.VariantType]). | ||
| 1509 | func (x *Settings) SetUint64(KeyVar string, ValueVar uint64) bool { | 1422 | func (x *Settings) SetUint64(KeyVar string, ValueVar uint64) bool { | ||
| 1510 | - | core.LazyRegister(&xSettingsSetUint64, "GIO", "g_settings_set_uint64", false) | |||
| 1511 | - | ||||
| 1512 | cret := xSettingsSetUint64(x.GoPointer(), KeyVar, ValueVar) | 1423 | cret := xSettingsSetUint64(x.GoPointer(), KeyVar, ValueVar) | ||
| 1513 | return cret | 1424 | return cret | ||
| 1514 | } | 1425 | } | ||
| @@ -1523,8 +1434,6 @@ var xSettingsSetValue func(uintptr, string, *glib.Variant) bool | |||||
| 1523 | // | 1434 | // | ||
| 1524 | // If @value is floating then this function consumes the reference. | 1435 | // If @value is floating then this function consumes the reference. | ||
| 1525 | func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool { | 1436 | func (x *Settings) SetValue(KeyVar string, ValueVar *glib.Variant) bool { | ||
| 1526 | - | core.LazyRegister(&xSettingsSetValue, "GIO", "g_settings_set_value", false) | |||
| 1527 | - | ||||
| 1528 | cret := xSettingsSetValue(x.GoPointer(), KeyVar, ValueVar) | 1437 | cret := xSettingsSetValue(x.GoPointer(), KeyVar, ValueVar) | ||
| 1529 | return cret | 1438 | return cret | ||
| 1530 | } | 1439 | } | ||
| @@ -1809,8 +1718,6 @@ var xSettingsListRelocatableSchemas func() []string | |||||
| 1809 | 1718 | ||||
| 1810 | // Deprecated. | 1719 | // Deprecated. | ||
| 1811 | func SettingsListRelocatableSchemas() []string { | 1720 | func SettingsListRelocatableSchemas() []string { | ||
| 1812 | - | core.LazyRegister(&xSettingsListRelocatableSchemas, "GIO", "g_settings_list_relocatable_schemas", false) | |||
| 1813 | - | ||||
| 1814 | cret := xSettingsListRelocatableSchemas() | 1721 | cret := xSettingsListRelocatableSchemas() | ||
| 1815 | return cret | 1722 | return cret | ||
| 1816 | } | 1723 | } | ||
| @@ -1819,8 +1726,6 @@ var xSettingsListSchemas func() []string | |||||
| 1819 | 1726 | ||||
| 1820 | // Deprecated. | 1727 | // Deprecated. | ||
| 1821 | func SettingsListSchemas() []string { | 1728 | func SettingsListSchemas() []string { | ||
| 1822 | - | core.LazyRegister(&xSettingsListSchemas, "GIO", "g_settings_list_schemas", false) | |||
| 1823 | - | ||||
| 1824 | cret := xSettingsListSchemas() | 1729 | cret := xSettingsListSchemas() | ||
| 1825 | return cret | 1730 | return cret | ||
| 1826 | } | 1731 | } | ||
| @@ -1838,8 +1743,6 @@ var xSettingsSync func() | |||||
| 1838 | // will be dispatched during this call (but some may be queued by the | 1743 | // will be dispatched during this call (but some may be queued by the | ||
| 1839 | // time the call is done). | 1744 | // time the call is done). | ||
| 1840 | func SettingsSync() { | 1745 | func SettingsSync() { | ||
| 1841 | - | core.LazyRegister(&xSettingsSync, "GIO", "g_settings_sync", false) | |||
| 1842 | - | ||||
| 1843 | xSettingsSync() | 1746 | xSettingsSync() | ||
| 1844 | } | 1747 | } | ||
| 1845 | 1748 | ||||
| @@ -1851,12 +1754,77 @@ var xSettingsUnbind func(uintptr, string) | |||||
| 1851 | // object is finalized, so it is rarely necessary to call this | 1754 | // object is finalized, so it is rarely necessary to call this | ||
| 1852 | // function. | 1755 | // function. | ||
| 1853 | func SettingsUnbind(ObjectVar *gobject.Object, PropertyVar string) { | 1756 | func SettingsUnbind(ObjectVar *gobject.Object, PropertyVar string) { | ||
| 1854 | - | core.LazyRegister(&xSettingsUnbind, "GIO", "g_settings_unbind", false) | |||
| 1855 | - | ||||
| 1856 | xSettingsUnbind(ObjectVar.GoPointer(), PropertyVar) | 1757 | xSettingsUnbind(ObjectVar.GoPointer(), PropertyVar) | ||
| 1857 | } | 1758 | } | ||
| 1858 | 1759 | ||||
| 1859 | func init() { | 1760 | func init() { | ||
| 1860 | core.SetPackageName("GIO", "gio-2.0") | 1761 | core.SetPackageName("GIO", "gio-2.0") | ||
| 1861 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 1762 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 1763 | + | var libs []uintptr | |||
| 1764 | + | for _, libPath := range core.GetPaths("GIO") { | |||
| 1765 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 1766 | + | if err != nil { | |||
| 1767 | + | panic(err) | |||
| 1768 | + | } | |||
| 1769 | + | libs = append(libs, lib) | |||
| 1770 | + | } | |||
| 1771 | + | ||||
| 1772 | + | core.PuregoSafeRegister(&xSettingsBindFlagsGLibType, libs, "g_settings_bind_flags_get_type") | |||
| 1773 | + | ||||
| 1774 | + | core.PuregoSafeRegister(&xSettingsGLibType, libs, "g_settings_get_type") | |||
| 1775 | + | ||||
| 1776 | + | core.PuregoSafeRegister(&xNewSettings, libs, "g_settings_new") | |||
| 1777 | + | core.PuregoSafeRegister(&xNewSettingsFull, libs, "g_settings_new_full") | |||
| 1778 | + | core.PuregoSafeRegister(&xNewSettingsWithBackend, libs, "g_settings_new_with_backend") | |||
| 1779 | + | core.PuregoSafeRegister(&xNewSettingsWithBackendAndPath, libs, "g_settings_new_with_backend_and_path") | |||
| 1780 | + | core.PuregoSafeRegister(&xNewSettingsWithPath, libs, "g_settings_new_with_path") | |||
| 1781 | + | ||||
| 1782 | + | core.PuregoSafeRegister(&xSettingsApply, libs, "g_settings_apply") | |||
| 1783 | + | core.PuregoSafeRegister(&xSettingsBind, libs, "g_settings_bind") | |||
| 1784 | + | core.PuregoSafeRegister(&xSettingsBindWithMapping, libs, "g_settings_bind_with_mapping") | |||
| 1785 | + | core.PuregoSafeRegister(&xSettingsBindWithMappingClosures, libs, "g_settings_bind_with_mapping_closures") | |||
| 1786 | + | core.PuregoSafeRegister(&xSettingsBindWritable, libs, "g_settings_bind_writable") | |||
| 1787 | + | core.PuregoSafeRegister(&xSettingsCreateAction, libs, "g_settings_create_action") | |||
| 1788 | + | core.PuregoSafeRegister(&xSettingsDelay, libs, "g_settings_delay") | |||
| 1789 | + | core.PuregoSafeRegister(&xSettingsGet, libs, "g_settings_get") | |||
| 1790 | + | core.PuregoSafeRegister(&xSettingsGetBoolean, libs, "g_settings_get_boolean") | |||
| 1791 | + | core.PuregoSafeRegister(&xSettingsGetChild, libs, "g_settings_get_child") | |||
| 1792 | + | core.PuregoSafeRegister(&xSettingsGetDefaultValue, libs, "g_settings_get_default_value") | |||
| 1793 | + | core.PuregoSafeRegister(&xSettingsGetDouble, libs, "g_settings_get_double") | |||
| 1794 | + | core.PuregoSafeRegister(&xSettingsGetEnum, libs, "g_settings_get_enum") | |||
| 1795 | + | core.PuregoSafeRegister(&xSettingsGetFlags, libs, "g_settings_get_flags") | |||
| 1796 | + | core.PuregoSafeRegister(&xSettingsGetHasUnapplied, libs, "g_settings_get_has_unapplied") | |||
| 1797 | + | core.PuregoSafeRegister(&xSettingsGetInt, libs, "g_settings_get_int") | |||
| 1798 | + | core.PuregoSafeRegister(&xSettingsGetInt64, libs, "g_settings_get_int64") | |||
| 1799 | + | core.PuregoSafeRegister(&xSettingsGetMapped, libs, "g_settings_get_mapped") | |||
| 1800 | + | core.PuregoSafeRegister(&xSettingsGetRange, libs, "g_settings_get_range") | |||
| 1801 | + | core.PuregoSafeRegister(&xSettingsGetString, libs, "g_settings_get_string") | |||
| 1802 | + | core.PuregoSafeRegister(&xSettingsGetStrv, libs, "g_settings_get_strv") | |||
| 1803 | + | core.PuregoSafeRegister(&xSettingsGetUint, libs, "g_settings_get_uint") | |||
| 1804 | + | core.PuregoSafeRegister(&xSettingsGetUint64, libs, "g_settings_get_uint64") | |||
| 1805 | + | core.PuregoSafeRegister(&xSettingsGetUserValue, libs, "g_settings_get_user_value") | |||
| 1806 | + | core.PuregoSafeRegister(&xSettingsGetValue, libs, "g_settings_get_value") | |||
| 1807 | + | core.PuregoSafeRegister(&xSettingsIsWritable, libs, "g_settings_is_writable") | |||
| 1808 | + | core.PuregoSafeRegister(&xSettingsListChildren, libs, "g_settings_list_children") | |||
| 1809 | + | core.PuregoSafeRegister(&xSettingsListKeys, libs, "g_settings_list_keys") | |||
| 1810 | + | core.PuregoSafeRegister(&xSettingsRangeCheck, libs, "g_settings_range_check") | |||
| 1811 | + | core.PuregoSafeRegister(&xSettingsReset, libs, "g_settings_reset") | |||
| 1812 | + | core.PuregoSafeRegister(&xSettingsRevert, libs, "g_settings_revert") | |||
| 1813 | + | core.PuregoSafeRegister(&xSettingsSet, libs, "g_settings_set") | |||
| 1814 | + | core.PuregoSafeRegister(&xSettingsSetBoolean, libs, "g_settings_set_boolean") | |||
| 1815 | + | core.PuregoSafeRegister(&xSettingsSetDouble, libs, "g_settings_set_double") | |||
| 1816 | + | core.PuregoSafeRegister(&xSettingsSetEnum, libs, "g_settings_set_enum") | |||
| 1817 | + | core.PuregoSafeRegister(&xSettingsSetFlags, libs, "g_settings_set_flags") | |||
| 1818 | + | core.PuregoSafeRegister(&xSettingsSetInt, libs, "g_settings_set_int") | |||
| 1819 | + | core.PuregoSafeRegister(&xSettingsSetInt64, libs, "g_settings_set_int64") | |||
| 1820 | + | core.PuregoSafeRegister(&xSettingsSetString, libs, "g_settings_set_string") | |||
| 1821 | + | core.PuregoSafeRegister(&xSettingsSetStrv, libs, "g_settings_set_strv") | |||
| 1822 | + | core.PuregoSafeRegister(&xSettingsSetUint, libs, "g_settings_set_uint") | |||
| 1823 | + | core.PuregoSafeRegister(&xSettingsSetUint64, libs, "g_settings_set_uint64") | |||
| 1824 | + | core.PuregoSafeRegister(&xSettingsSetValue, libs, "g_settings_set_value") | |||
| 1825 | + | ||||
| 1826 | + | core.PuregoSafeRegister(&xSettingsListRelocatableSchemas, libs, "g_settings_list_relocatable_schemas") | |||
| 1827 | + | core.PuregoSafeRegister(&xSettingsListSchemas, libs, "g_settings_list_schemas") | |||
| 1828 | + | core.PuregoSafeRegister(&xSettingsSync, libs, "g_settings_sync") | |||
| 1829 | + | core.PuregoSafeRegister(&xSettingsUnbind, libs, "g_settings_unbind") | |||
| 1862 | } | 1830 | } | ||