Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +87 -123 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +28 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +36 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +51 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +35 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +62 -78 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +22 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +46 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +46 -57 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +79 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +25 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +32 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +31 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +28 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +22 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +43 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +41 -53 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +28 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +1 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +118 -120 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +20 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +36 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +35 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +22 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +35 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +33 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +26 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +21 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +66 -157 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +16 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +72 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +32 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +1 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +79 -102 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +17 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +31 -59 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +39 -96 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +116 -244 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +55 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +26 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +20 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +30 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +35 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +23 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +66 -77 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +18 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +56 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +64 -88 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +30 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +23 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +18 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +38 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +14 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +82 -214 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +24 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +80 -207 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +450 -1148 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +35 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +84 -138 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +15 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +25 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +48 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +1 -90 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +13 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +60 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +50 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +33 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +86 -215 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +32 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +21 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +31 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +19 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +72 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +22 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +21 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +15 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +67 -75 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +67 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +43 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +72 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +44 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +25 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +11 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +39 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +31 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +52 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +22 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +33 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +29 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +46 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +48 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +22 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +24 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +58 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +28 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +59 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +39 -56 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +24 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +61 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +17 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +28 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +28 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +65 -103 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +66 -107 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +29 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +38 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +53 -81 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +26 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +18 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +67 -83 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +62 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +117 -181 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +21 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +43 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +31 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +45 -70 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +35 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +43 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +24 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +23 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +13 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +52 -84 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +30 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +57 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +21 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +30 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +49 -74 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +23 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +27 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +71 -115 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +51 -77 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +22 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +80 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +97 -146 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +25 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +20 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +14 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +85 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +50 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +41 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +143 -242 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +28 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +18 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +31 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +35 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +82 -116
| @@ -435,7 +435,6 @@ var xObjectClassFindProperty func(uintptr, string) uintptr | |||
| 435 | 435 | ||
| 436 | 436 | // Looks up the #GParamSpec for a property of a class. | |
| 437 | 437 | func (x *ObjectClass) FindProperty(PropertyNameVar string) *ParamSpec { | |
| 438 | - | core.LazyRegister(&xObjectClassFindProperty, "GOBJECT", "g_object_class_find_property", false) | |
| 439 | 438 | var cls *ParamSpec | |
| 440 | 439 | ||
| 441 | 440 | cret := xObjectClassFindProperty(x.GoPointer(), PropertyNameVar) | |
| @@ -520,8 +519,6 @@ var xObjectClassInstallProperties func(uintptr, uint, uintptr) | |||
| 520 | 519 | // | |
| 521 | 520 | // ]| | |
| 522 | 521 | func (x *ObjectClass) InstallProperties(NPspecsVar uint, PspecsVar uintptr) { | |
| 523 | - | core.LazyRegister(&xObjectClassInstallProperties, "GOBJECT", "g_object_class_install_properties", false) | |
| 524 | - | ||
| 525 | 522 | xObjectClassInstallProperties(x.GoPointer(), NPspecsVar, PspecsVar) | |
| 526 | 523 | } | |
| 527 | 524 | ||
| @@ -538,8 +535,6 @@ var xObjectClassInstallProperty func(uintptr, uint, uintptr) | |||
| 538 | 535 | // by installing a property with the same name. This can be useful at times, | |
| 539 | 536 | // e.g. to change the range of allowed values or the default value. | |
| 540 | 537 | func (x *ObjectClass) InstallProperty(PropertyIdVar uint, PspecVar *ParamSpec) { | |
| 541 | - | core.LazyRegister(&xObjectClassInstallProperty, "GOBJECT", "g_object_class_install_property", false) | |
| 542 | - | ||
| 543 | 538 | xObjectClassInstallProperty(x.GoPointer(), PropertyIdVar, PspecVar.GoPointer()) | |
| 544 | 539 | } | |
| 545 | 540 | ||
| @@ -547,8 +542,6 @@ var xObjectClassListProperties func(uintptr, *uint) uintptr | |||
| 547 | 542 | ||
| 548 | 543 | // Get an array of #GParamSpec* for all properties of a class. | |
| 549 | 544 | func (x *ObjectClass) ListProperties(NPropertiesVar *uint) uintptr { | |
| 550 | - | core.LazyRegister(&xObjectClassListProperties, "GOBJECT", "g_object_class_list_properties", false) | |
| 551 | - | ||
| 552 | 545 | cret := xObjectClassListProperties(x.GoPointer(), NPropertiesVar) | |
| 553 | 546 | return cret | |
| 554 | 547 | } | |
| @@ -572,8 +565,6 @@ var xObjectClassOverrideProperty func(uintptr, uint, string) | |||
| 572 | 565 | // need to get the overridden property, you can call | |
| 573 | 566 | // g_param_spec_get_redirect_target(). | |
| 574 | 567 | func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | |
| 575 | - | core.LazyRegister(&xObjectClassOverrideProperty, "GOBJECT", "g_object_class_override_property", false) | |
| 576 | - | ||
| 577 | 568 | xObjectClassOverrideProperty(x.GoPointer(), PropertyIdVar, NameVar) | |
| 578 | 569 | } | |
| 579 | 570 | ||
| @@ -897,8 +888,6 @@ var xWeakRefClear func(uintptr) | |||
| 897 | 888 | // You should only call this on a #GWeakRef that previously had | |
| 898 | 889 | // g_weak_ref_init() called on it. | |
| 899 | 890 | func (x *WeakRef) Clear() { | |
| 900 | - | core.LazyRegister(&xWeakRefClear, "GOBJECT", "g_weak_ref_clear", false) | |
| 901 | - | ||
| 902 | 891 | xWeakRefClear(x.GoPointer()) | |
| 903 | 892 | } | |
| 904 | 893 | ||
| @@ -914,7 +903,6 @@ var xWeakRefGet func(uintptr) uintptr | |||
| 914 | 903 | // The caller should release the resulting reference in the usual way, | |
| 915 | 904 | // by using g_object_unref(). | |
| 916 | 905 | func (x *WeakRef) Get() *Object { | |
| 917 | - | core.LazyRegister(&xWeakRefGet, "GOBJECT", "g_weak_ref_get", false) | |
| 918 | 906 | var cls *Object | |
| 919 | 907 | ||
| 920 | 908 | cret := xWeakRefGet(x.GoPointer()) | |
| @@ -939,8 +927,6 @@ var xWeakRefInit func(uintptr, uintptr) | |||
| 939 | 927 | // #GWeakRef in static storage because it will already be | |
| 940 | 928 | // properly initialised. Just use g_weak_ref_set() directly. | |
| 941 | 929 | func (x *WeakRef) Init(ObjectVar *Object) { | |
| 942 | - | core.LazyRegister(&xWeakRefInit, "GOBJECT", "g_weak_ref_init", false) | |
| 943 | - | ||
| 944 | 930 | xWeakRefInit(x.GoPointer(), ObjectVar.GoPointer()) | |
| 945 | 931 | } | |
| 946 | 932 | ||
| @@ -952,8 +938,6 @@ var xWeakRefSet func(uintptr, uintptr) | |||
| 952 | 938 | // You must own a strong reference on @object while calling this | |
| 953 | 939 | // function. | |
| 954 | 940 | func (x *WeakRef) Set(ObjectVar *Object) { | |
| 955 | - | core.LazyRegister(&xWeakRefSet, "GOBJECT", "g_weak_ref_set", false) | |
| 956 | - | ||
| 957 | 941 | xWeakRefSet(x.GoPointer(), ObjectVar.GoPointer()) | |
| 958 | 942 | } | |
| 959 | 943 | ||
| @@ -965,8 +949,6 @@ var xCclosureNewObject func(uintptr, uintptr) uintptr | |||
| 965 | 949 | // associated with a #GObject, and want the callback to no longer run | |
| 966 | 950 | // after the object is is freed. | |
| 967 | 951 | func CclosureNewObject(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | |
| 968 | - | core.LazyRegister(&xCclosureNewObject, "GOBJECT", "g_cclosure_new_object", false) | |
| 969 | - | ||
| 970 | 952 | cret := xCclosureNewObject(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | |
| 971 | 953 | if cret == 0 { | |
| 972 | 954 | return nil | |
| @@ -982,8 +964,6 @@ var xCclosureNewObjectSwap func(uintptr, uintptr) uintptr | |||
| 982 | 964 | // associated with a #GObject, and want the callback to no longer run | |
| 983 | 965 | // after the object is is freed. | |
| 984 | 966 | func CclosureNewObjectSwap(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | |
| 985 | - | core.LazyRegister(&xCclosureNewObjectSwap, "GOBJECT", "g_cclosure_new_object_swap", false) | |
| 986 | - | ||
| 987 | 967 | cret := xCclosureNewObjectSwap(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | |
| 988 | 968 | if cret == 0 { | |
| 989 | 969 | return nil | |
| @@ -1004,8 +984,6 @@ var xClearObject func(uintptr) | |||
| 1004 | 984 | // A macro is also included that allows this function to be used without | |
| 1005 | 985 | // pointer casts. | |
| 1006 | 986 | func ClearObject(ObjectPtrVar **Object) { | |
| 1007 | - | core.LazyRegister(&xClearObject, "GOBJECT", "g_clear_object", false) | |
| 1008 | - | ||
| 1009 | 987 | xClearObject(*ConvertPtr(ObjectPtrVar)) | |
| 1010 | 988 | } | |
| 1011 | 989 | ||
| @@ -1028,8 +1006,6 @@ var xSignalConnectObject func(*TypeInstance, string, uintptr, uintptr, ConnectFl | |||
| 1028 | 1006 | // Refer to the [signals documentation](signals.html) for more | |
| 1029 | 1007 | // details. | |
| 1030 | 1008 | func SignalConnectObject(InstanceVar *TypeInstance, DetailedSignalVar string, CHandlerVar *Callback, GobjectVar *Object, ConnectFlagsVar ConnectFlags) uint { | |
| 1031 | - | core.LazyRegister(&xSignalConnectObject, "GOBJECT", "g_signal_connect_object", false) | |
| 1032 | - | ||
| 1033 | 1009 | cret := xSignalConnectObject(InstanceVar, DetailedSignalVar, glib.NewCallback(CHandlerVar), GobjectVar.GoPointer(), ConnectFlagsVar) | |
| 1034 | 1010 | return cret | |
| 1035 | 1011 | } | |
| @@ -1045,7 +1021,6 @@ type InitiallyUnowned struct { | |||
| 1045 | 1021 | var xInitiallyUnownedGLibType func() types.GType | |
| 1046 | 1022 | ||
| 1047 | 1023 | func InitiallyUnownedGLibType() types.GType { | |
| 1048 | - | core.LazyRegister(&xInitiallyUnownedGLibType, "GOBJECT", "g_initially_unowned_get_type", false) | |
| 1049 | 1024 | return xInitiallyUnownedGLibType() | |
| 1050 | 1025 | } | |
| 1051 | 1026 | ||
| @@ -1095,7 +1070,6 @@ type Object struct { | |||
| 1095 | 1070 | var xObjectGLibType func() types.GType | |
| 1096 | 1071 | ||
| 1097 | 1072 | func ObjectGLibType() types.GType { | |
| 1098 | - | core.LazyRegister(&xObjectGLibType, "GOBJECT", "g_object_get_type", false) | |
| 1099 | 1073 | return xObjectGLibType() | |
| 1100 | 1074 | } | |
| 1101 | 1075 | ||
| @@ -1134,7 +1108,6 @@ var xNewObject func(types.GType, string, ...interface{}) uintptr | |||
| 1134 | 1108 | // should allocate it on the heap (aligned), or arrange for your #GObject to be | |
| 1135 | 1109 | // appropriately padded. | |
| 1136 | 1110 | func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object { | |
| 1137 | - | core.LazyRegister(&xNewObject, "GOBJECT", "g_object_new", false) | |
| 1138 | 1111 | var cls *Object | |
| 1139 | 1112 | ||
| 1140 | 1113 | cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...) | |
| @@ -1154,7 +1127,6 @@ var xNewObjectValist func(types.GType, string, []interface{}) uintptr | |||
| 1154 | 1127 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1155 | 1128 | // which are not explicitly specified are set to their default values. | |
| 1156 | 1129 | func NewObjectValist(ObjectTypeVar types.GType, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object { | |
| 1157 | - | core.LazyRegister(&xNewObjectValist, "GOBJECT", "g_object_new_valist", false) | |
| 1158 | 1130 | var cls *Object | |
| 1159 | 1131 | ||
| 1160 | 1132 | cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar) | |
| @@ -1176,7 +1148,6 @@ var xNewObjectWithProperties func(types.GType, uint, []string, []Value) uintptr | |||
| 1176 | 1148 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1177 | 1149 | // which are not explicitly specified are set to their default values. | |
| 1178 | 1150 | func NewObjectWithProperties(ObjectTypeVar types.GType, NPropertiesVar uint, NamesVar []string, ValuesVar []Value) *Object { | |
| 1179 | - | core.LazyRegister(&xNewObjectWithProperties, "GOBJECT", "g_object_new_with_properties", false) | |
| 1180 | 1151 | var cls *Object | |
| 1181 | 1152 | ||
| 1182 | 1153 | cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar) | |
| @@ -1196,7 +1167,6 @@ var xNewObjectv func(types.GType, uint, []Parameter) uintptr | |||
| 1196 | 1167 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1197 | 1168 | // which are not explicitly specified are set to their default values. | |
| 1198 | 1169 | func NewObjectv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []Parameter) *Object { | |
| 1199 | - | core.LazyRegister(&xNewObjectv, "GOBJECT", "g_object_newv", false) | |
| 1200 | 1170 | var cls *Object | |
| 1201 | 1171 | ||
| 1202 | 1172 | cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar) | |
| @@ -1247,8 +1217,6 @@ var xObjectAddToggleRef func(uintptr, uintptr, uintptr) | |||
| 1247 | 1217 | // | |
| 1248 | 1218 | // A g_object_add_toggle_ref() must be released with g_object_remove_toggle_ref(). | |
| 1249 | 1219 | func (x *Object) AddToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | |
| 1250 | - | core.LazyRegister(&xObjectAddToggleRef, "GOBJECT", "g_object_add_toggle_ref", false) | |
| 1251 | - | ||
| 1252 | 1220 | xObjectAddToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 1253 | 1221 | } | |
| 1254 | 1222 | ||
| @@ -1264,8 +1232,6 @@ var xObjectAddWeakPointer func(uintptr, *uintptr) | |||
| 1264 | 1232 | // thread if the object's last g_object_unref() might happen in another | |
| 1265 | 1233 | // thread. Use #GWeakRef if thread-safety is required. | |
| 1266 | 1234 | func (x *Object) AddWeakPointer(WeakPointerLocationVar *uintptr) { | |
| 1267 | - | core.LazyRegister(&xObjectAddWeakPointer, "GOBJECT", "g_object_add_weak_pointer", false) | |
| 1268 | - | ||
| 1269 | 1235 | xObjectAddWeakPointer(x.GoPointer(), WeakPointerLocationVar) | |
| 1270 | 1236 | } | |
| 1271 | 1237 | ||
| @@ -1305,7 +1271,6 @@ var xObjectBindProperty func(uintptr, string, uintptr, string, BindingFlags) uin | |||
| 1305 | 1271 | // | |
| 1306 | 1272 | // A #GObject can have multiple bindings. | |
| 1307 | 1273 | func (x *Object) BindProperty(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags) *Binding { | |
| 1308 | - | core.LazyRegister(&xObjectBindProperty, "GOBJECT", "g_object_bind_property", false) | |
| 1309 | 1274 | var cls *Binding | |
| 1310 | 1275 | ||
| 1311 | 1276 | cret := xObjectBindProperty(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar) | |
| @@ -1347,7 +1312,6 @@ var xObjectBindPropertyFull func(uintptr, string, uintptr, string, BindingFlags, | |||
| 1347 | 1312 | // for each transformation function, please use | |
| 1348 | 1313 | // g_object_bind_property_with_closures() instead. | |
| 1349 | 1314 | func (x *Object) BindPropertyFull(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *BindingTransformFunc, TransformFromVar *BindingTransformFunc, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) *Binding { | |
| 1350 | - | core.LazyRegister(&xObjectBindPropertyFull, "GOBJECT", "g_object_bind_property_full", false) | |
| 1351 | 1315 | var cls *Binding | |
| 1352 | 1316 | ||
| 1353 | 1317 | cret := xObjectBindPropertyFull(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, glib.NewCallbackNullable(TransformToVar), glib.NewCallbackNullable(TransformFromVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | |
| @@ -1371,7 +1335,6 @@ var xObjectBindPropertyWithClosures func(uintptr, string, uintptr, string, Bindi | |||
| 1371 | 1335 | // g_object_bind_property_full(), using #GClosures instead of | |
| 1372 | 1336 | // function pointers. | |
| 1373 | 1337 | func (x *Object) BindPropertyWithClosures(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *Closure, TransformFromVar *Closure) *Binding { | |
| 1374 | - | core.LazyRegister(&xObjectBindPropertyWithClosures, "GOBJECT", "g_object_bind_property_with_closures", false) | |
| 1375 | 1338 | var cls *Binding | |
| 1376 | 1339 | ||
| 1377 | 1340 | cret := xObjectBindPropertyWithClosures(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, TransformToVar, TransformFromVar) | |
| @@ -1415,7 +1378,6 @@ var xObjectConnect func(uintptr, string, ...interface{}) uintptr | |||
| 1415 | 1378 | // | |
| 1416 | 1379 | // ``` | |
| 1417 | 1380 | func (x *Object) Connect(SignalSpecVar string, varArgs ...interface{}) *Object { | |
| 1418 | - | core.LazyRegister(&xObjectConnect, "GOBJECT", "g_object_connect", false) | |
| 1419 | 1381 | var cls *Object | |
| 1420 | 1382 | ||
| 1421 | 1383 | cret := xObjectConnect(x.GoPointer(), SignalSpecVar, varArgs...) | |
| @@ -1438,8 +1400,6 @@ var xObjectDisconnect func(uintptr, string, ...interface{}) | |||
| 1438 | 1400 | // callback and data, or "any_signal::signal_name", which only | |
| 1439 | 1401 | // disconnects the signal named "signal_name". | |
| 1440 | 1402 | func (x *Object) Disconnect(SignalSpecVar string, varArgs ...interface{}) { | |
| 1441 | - | core.LazyRegister(&xObjectDisconnect, "GOBJECT", "g_object_disconnect", false) | |
| 1442 | - | ||
| 1443 | 1403 | xObjectDisconnect(x.GoPointer(), SignalSpecVar, varArgs...) | |
| 1444 | 1404 | } | |
| 1445 | 1405 | ||
| @@ -1460,8 +1420,6 @@ var xObjectDupData func(uintptr, string, uintptr, uintptr) uintptr | |||
| 1460 | 1420 | // threads are using object data on the same key on the same | |
| 1461 | 1421 | // object. | |
| 1462 | 1422 | func (x *Object) DupData(KeyVar string, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | |
| 1463 | - | core.LazyRegister(&xObjectDupData, "GOBJECT", "g_object_dup_data", false) | |
| 1464 | - | ||
| 1465 | 1423 | cret := xObjectDupData(x.GoPointer(), KeyVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | |
| 1466 | 1424 | return cret | |
| 1467 | 1425 | } | |
| @@ -1483,8 +1441,6 @@ var xObjectDupQdata func(uintptr, glib.Quark, uintptr, uintptr) uintptr | |||
| 1483 | 1441 | // threads are using object data on the same key on the same | |
| 1484 | 1442 | // object. | |
| 1485 | 1443 | func (x *Object) DupQdata(QuarkVar glib.Quark, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | |
| 1486 | - | core.LazyRegister(&xObjectDupQdata, "GOBJECT", "g_object_dup_qdata", false) | |
| 1487 | - | ||
| 1488 | 1444 | cret := xObjectDupQdata(x.GoPointer(), QuarkVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | |
| 1489 | 1445 | return cret | |
| 1490 | 1446 | } | |
| @@ -1496,8 +1452,6 @@ var xObjectForceFloating func(uintptr) | |||
| 1496 | 1452 | // required: all #GInitiallyUnowneds are created with a floating reference | |
| 1497 | 1453 | // which usually just needs to be sunken by calling g_object_ref_sink(). | |
| 1498 | 1454 | func (x *Object) ForceFloating() { | |
| 1499 | - | core.LazyRegister(&xObjectForceFloating, "GOBJECT", "g_object_force_floating", false) | |
| 1500 | - | ||
| 1501 | 1455 | xObjectForceFloating(x.GoPointer()) | |
| 1502 | 1456 | } | |
| 1503 | 1457 | ||
| @@ -1513,8 +1467,6 @@ var xObjectFreezeNotify func(uintptr) | |||
| 1513 | 1467 | // This is necessary for accessors that modify multiple properties to prevent | |
| 1514 | 1468 | // premature notification while the object is still being modified. | |
| 1515 | 1469 | func (x *Object) FreezeNotify() { | |
| 1516 | - | core.LazyRegister(&xObjectFreezeNotify, "GOBJECT", "g_object_freeze_notify", false) | |
| 1517 | - | ||
| 1518 | 1470 | xObjectFreezeNotify(x.GoPointer()) | |
| 1519 | 1471 | } | |
| 1520 | 1472 | ||
| @@ -1549,8 +1501,6 @@ var xObjectGet func(uintptr, string, ...interface{}) | |||
| 1549 | 1501 | // | |
| 1550 | 1502 | // ]| | |
| 1551 | 1503 | func (x *Object) Get(FirstPropertyNameVar string, varArgs ...interface{}) { | |
| 1552 | - | core.LazyRegister(&xObjectGet, "GOBJECT", "g_object_get", false) | |
| 1553 | - | ||
| 1554 | 1504 | xObjectGet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | |
| 1555 | 1505 | } | |
| 1556 | 1506 | ||
| @@ -1558,8 +1508,6 @@ var xObjectGetData func(uintptr, string) uintptr | |||
| 1558 | 1508 | ||
| 1559 | 1509 | // Gets a named field from the objects table of associations (see g_object_set_data()). | |
| 1560 | 1510 | func (x *Object) GetData(KeyVar string) uintptr { | |
| 1561 | - | core.LazyRegister(&xObjectGetData, "GOBJECT", "g_object_get_data", false) | |
| 1562 | - | ||
| 1563 | 1511 | cret := xObjectGetData(x.GoPointer(), KeyVar) | |
| 1564 | 1512 | return cret | |
| 1565 | 1513 | } | |
| @@ -1583,8 +1531,6 @@ var xObjectGetProperty func(uintptr, string, *Value) | |||
| 1583 | 1531 | // Note that g_object_get_property() is really intended for language | |
| 1584 | 1532 | // bindings, g_object_get() is much more convenient for C programming. | |
| 1585 | 1533 | func (x *Object) GetProperty(PropertyNameVar string, ValueVar *Value) { | |
| 1586 | - | core.LazyRegister(&xObjectGetProperty, "GOBJECT", "g_object_get_property", false) | |
| 1587 | - | ||
| 1588 | 1534 | xObjectGetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | |
| 1589 | 1535 | } | |
| 1590 | 1536 | ||
| @@ -1593,8 +1539,6 @@ var xObjectGetQdata func(uintptr, glib.Quark) uintptr | |||
| 1593 | 1539 | // This function gets back user data pointers stored via | |
| 1594 | 1540 | // g_object_set_qdata(). | |
| 1595 | 1541 | func (x *Object) GetQdata(QuarkVar glib.Quark) uintptr { | |
| 1596 | - | core.LazyRegister(&xObjectGetQdata, "GOBJECT", "g_object_get_qdata", false) | |
| 1597 | - | ||
| 1598 | 1542 | cret := xObjectGetQdata(x.GoPointer(), QuarkVar) | |
| 1599 | 1543 | return cret | |
| 1600 | 1544 | } | |
| @@ -1609,8 +1553,6 @@ var xObjectGetValist func(uintptr, string, []interface{}) | |||
| 1609 | 1553 | // | |
| 1610 | 1554 | // See g_object_get(). | |
| 1611 | 1555 | func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | |
| 1612 | - | core.LazyRegister(&xObjectGetValist, "GOBJECT", "g_object_get_valist", false) | |
| 1613 | - | ||
| 1614 | 1556 | xObjectGetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | |
| 1615 | 1557 | } | |
| 1616 | 1558 | ||
| @@ -1621,8 +1563,6 @@ var xObjectGetv func(uintptr, uint, []string, []Value) | |||
| 1621 | 1563 | // Warnings will be emitted and undefined behaviour may result if invalid | |
| 1622 | 1564 | // properties are passed in. | |
| 1623 | 1565 | func (x *Object) Getv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | |
| 1624 | - | core.LazyRegister(&xObjectGetv, "GOBJECT", "g_object_getv", false) | |
| 1625 | - | ||
| 1626 | 1566 | xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | |
| 1627 | 1567 | } | |
| 1628 | 1568 | ||
| @@ -1630,8 +1570,6 @@ var xObjectIsFloating func(uintptr) bool | |||
| 1630 | 1570 | ||
| 1631 | 1571 | // Checks whether @object has a [floating](floating-refs.html) reference. | |
| 1632 | 1572 | func (x *Object) IsFloating() bool { | |
| 1633 | - | core.LazyRegister(&xObjectIsFloating, "GOBJECT", "g_object_is_floating", false) | |
| 1634 | - | ||
| 1635 | 1573 | cret := xObjectIsFloating(x.GoPointer()) | |
| 1636 | 1574 | return cret | |
| 1637 | 1575 | } | |
| @@ -1649,8 +1587,6 @@ var xObjectNotify func(uintptr, string) | |||
| 1649 | 1587 | // and will be emitted (in reverse order) when g_object_thaw_notify() is | |
| 1650 | 1588 | // called. | |
| 1651 | 1589 | func (x *Object) Notify(PropertyNameVar string) { | |
| 1652 | - | core.LazyRegister(&xObjectNotify, "GOBJECT", "g_object_notify", false) | |
| 1653 | - | ||
| 1654 | 1590 | xObjectNotify(x.GoPointer(), PropertyNameVar) | |
| 1655 | 1591 | } | |
| 1656 | 1592 | ||
| @@ -1698,8 +1634,6 @@ var xObjectNotifyByPspec func(uintptr, uintptr) | |||
| 1698 | 1634 | // | |
| 1699 | 1635 | // ]| | |
| 1700 | 1636 | func (x *Object) NotifyByPspec(PspecVar *ParamSpec) { | |
| 1701 | - | core.LazyRegister(&xObjectNotifyByPspec, "GOBJECT", "g_object_notify_by_pspec", false) | |
| 1702 | - | ||
| 1703 | 1637 | xObjectNotifyByPspec(x.GoPointer(), PspecVar.GoPointer()) | |
| 1704 | 1638 | } | |
| 1705 | 1639 | ||
| @@ -1712,7 +1646,6 @@ var xObjectRef func(uintptr) uintptr | |||
| 1712 | 1646 | // extension), so any casting the caller needs to do on the return type must be | |
| 1713 | 1647 | // explicit. | |
| 1714 | 1648 | func (x *Object) Ref() *Object { | |
| 1715 | - | core.LazyRegister(&xObjectRef, "GOBJECT", "g_object_ref", false) | |
| 1716 | 1649 | var cls *Object | |
| 1717 | 1650 | ||
| 1718 | 1651 | cret := xObjectRef(x.GoPointer()) | |
| @@ -1739,7 +1672,6 @@ var xObjectRefSink func(uintptr) uintptr | |||
| 1739 | 1672 | // Since GLib 2.56, the type of @object will be propagated to the return type | |
| 1740 | 1673 | // under the same conditions as for g_object_ref(). | |
| 1741 | 1674 | func (x *Object) RefSink() *Object { | |
| 1742 | - | core.LazyRegister(&xObjectRefSink, "GOBJECT", "g_object_ref_sink", false) | |
| 1743 | 1675 | var cls *Object | |
| 1744 | 1676 | ||
| 1745 | 1677 | cret := xObjectRefSink(x.GoPointer()) | |
| @@ -1763,8 +1695,6 @@ var xObjectRemoveToggleRef func(uintptr, uintptr, uintptr) | |||
| 1763 | 1695 | // might be a dangling pointer. If the object is destroyed on other threads, | |
| 1764 | 1696 | // you must take care of that yourself. | |
| 1765 | 1697 | func (x *Object) RemoveToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | |
| 1766 | - | core.LazyRegister(&xObjectRemoveToggleRef, "GOBJECT", "g_object_remove_toggle_ref", false) | |
| 1767 | - | ||
| 1768 | 1698 | xObjectRemoveToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 1769 | 1699 | } | |
| 1770 | 1700 | ||
| @@ -1774,8 +1704,6 @@ var xObjectRemoveWeakPointer func(uintptr, *uintptr) | |||
| 1774 | 1704 | // using g_object_add_weak_pointer(). The @weak_pointer_location has | |
| 1775 | 1705 | // to match the one used with g_object_add_weak_pointer(). | |
| 1776 | 1706 | func (x *Object) RemoveWeakPointer(WeakPointerLocationVar *uintptr) { | |
| 1777 | - | core.LazyRegister(&xObjectRemoveWeakPointer, "GOBJECT", "g_object_remove_weak_pointer", false) | |
| 1778 | - | ||
| 1779 | 1707 | xObjectRemoveWeakPointer(x.GoPointer(), WeakPointerLocationVar) | |
| 1780 | 1708 | } | |
| 1781 | 1709 | ||
| @@ -1798,8 +1726,6 @@ var xObjectReplaceData func(uintptr, string, uintptr, uintptr, uintptr, *glib.De | |||
| 1798 | 1726 | // See g_object_set_data() for guidance on using a small, bounded set of values | |
| 1799 | 1727 | // for @key. | |
| 1800 | 1728 | func (x *Object) ReplaceData(KeyVar string, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | |
| 1801 | - | core.LazyRegister(&xObjectReplaceData, "GOBJECT", "g_object_replace_data", false) | |
| 1802 | - | ||
| 1803 | 1729 | cret := xObjectReplaceData(x.GoPointer(), KeyVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | |
| 1804 | 1730 | return cret | |
| 1805 | 1731 | } | |
| @@ -1820,8 +1746,6 @@ var xObjectReplaceQdata func(uintptr, glib.Quark, uintptr, uintptr, uintptr, *gl | |||
| 1820 | 1746 | // or may not include using @old_destroy as sometimes replacement | |
| 1821 | 1747 | // should not destroy the object in the normal way. | |
| 1822 | 1748 | func (x *Object) ReplaceQdata(QuarkVar glib.Quark, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | |
| 1823 | - | core.LazyRegister(&xObjectReplaceQdata, "GOBJECT", "g_object_replace_qdata", false) | |
| 1824 | - | ||
| 1825 | 1749 | cret := xObjectReplaceQdata(x.GoPointer(), QuarkVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | |
| 1826 | 1750 | return cret | |
| 1827 | 1751 | } | |
| @@ -1833,8 +1757,6 @@ var xObjectRunDispose func(uintptr) | |||
| 1833 | 1757 | // | |
| 1834 | 1758 | // This function should only be called from object system implementations. | |
| 1835 | 1759 | func (x *Object) RunDispose() { | |
| 1836 | - | core.LazyRegister(&xObjectRunDispose, "GOBJECT", "g_object_run_dispose", false) | |
| 1837 | - | ||
| 1838 | 1760 | xObjectRunDispose(x.GoPointer()) | |
| 1839 | 1761 | } | |
| 1840 | 1762 | ||
| @@ -1851,8 +1773,6 @@ var xObjectSet func(uintptr, string, ...interface{}) | |||
| 1851 | 1773 | // reverse order) after all properties have been set. See | |
| 1852 | 1774 | // g_object_freeze_notify(). | |
| 1853 | 1775 | func (x *Object) Set(FirstPropertyNameVar string, varArgs ...interface{}) { | |
| 1854 | - | core.LazyRegister(&xObjectSet, "GOBJECT", "g_object_set", false) | |
| 1855 | - | ||
| 1856 | 1776 | xObjectSet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | |
| 1857 | 1777 | } | |
| 1858 | 1778 | ||
| @@ -1869,8 +1789,6 @@ var xObjectSetData func(uintptr, string, uintptr) | |||
| 1869 | 1789 | // finalized) — so it is recommended to only use a small, bounded set of values | |
| 1870 | 1790 | // for @key in your program, to avoid the #GQuark storage growing unbounded. | |
| 1871 | 1791 | func (x *Object) SetData(KeyVar string, DataVar uintptr) { | |
| 1872 | - | core.LazyRegister(&xObjectSetData, "GOBJECT", "g_object_set_data", false) | |
| 1873 | - | ||
| 1874 | 1792 | xObjectSetData(x.GoPointer(), KeyVar, DataVar) | |
| 1875 | 1793 | } | |
| 1876 | 1794 | ||
| @@ -1882,8 +1800,6 @@ var xObjectSetDataFull func(uintptr, string, uintptr, uintptr) | |||
| 1882 | 1800 | // | |
| 1883 | 1801 | // Note that the @destroy callback is not called if @data is %NULL. | |
| 1884 | 1802 | func (x *Object) SetDataFull(KeyVar string, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | |
| 1885 | - | core.LazyRegister(&xObjectSetDataFull, "GOBJECT", "g_object_set_data_full", false) | |
| 1886 | - | ||
| 1887 | 1803 | xObjectSetDataFull(x.GoPointer(), KeyVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | |
| 1888 | 1804 | } | |
| 1889 | 1805 | ||
| @@ -1891,8 +1807,6 @@ var xObjectSetProperty func(uintptr, string, *Value) | |||
| 1891 | 1807 | ||
| 1892 | 1808 | // Sets a property on an object. | |
| 1893 | 1809 | func (x *Object) SetProperty(PropertyNameVar string, ValueVar *Value) { | |
| 1894 | - | core.LazyRegister(&xObjectSetProperty, "GOBJECT", "g_object_set_property", false) | |
| 1895 | - | ||
| 1896 | 1810 | xObjectSetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | |
| 1897 | 1811 | } | |
| 1898 | 1812 | ||
| @@ -1907,8 +1821,6 @@ var xObjectSetQdata func(uintptr, glib.Quark, uintptr) | |||
| 1907 | 1821 | // the old pointer set, using #NULL as pointer essentially | |
| 1908 | 1822 | // removes the data stored. | |
| 1909 | 1823 | func (x *Object) SetQdata(QuarkVar glib.Quark, DataVar uintptr) { | |
| 1910 | - | core.LazyRegister(&xObjectSetQdata, "GOBJECT", "g_object_set_qdata", false) | |
| 1911 | - | ||
| 1912 | 1824 | xObjectSetQdata(x.GoPointer(), QuarkVar, DataVar) | |
| 1913 | 1825 | } | |
| 1914 | 1826 | ||
| @@ -1920,8 +1832,6 @@ var xObjectSetQdataFull func(uintptr, glib.Quark, uintptr, uintptr) | |||
| 1920 | 1832 | // the data is being overwritten by a call to g_object_set_qdata() | |
| 1921 | 1833 | // with the same @quark. | |
| 1922 | 1834 | func (x *Object) SetQdataFull(QuarkVar glib.Quark, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | |
| 1923 | - | core.LazyRegister(&xObjectSetQdataFull, "GOBJECT", "g_object_set_qdata_full", false) | |
| 1924 | - | ||
| 1925 | 1835 | xObjectSetQdataFull(x.GoPointer(), QuarkVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | |
| 1926 | 1836 | } | |
| 1927 | 1837 | ||
| @@ -1929,8 +1839,6 @@ var xObjectSetValist func(uintptr, string, []interface{}) | |||
| 1929 | 1839 | ||
| 1930 | 1840 | // Sets properties on an object. | |
| 1931 | 1841 | func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | |
| 1932 | - | core.LazyRegister(&xObjectSetValist, "GOBJECT", "g_object_set_valist", false) | |
| 1933 | - | ||
| 1934 | 1842 | xObjectSetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | |
| 1935 | 1843 | } | |
| 1936 | 1844 | ||
| @@ -1941,8 +1849,6 @@ var xObjectSetv func(uintptr, uint, []string, []Value) | |||
| 1941 | 1849 | // valid. Warnings will be emitted and undefined behaviour may result if invalid | |
| 1942 | 1850 | // properties are passed in. | |
| 1943 | 1851 | func (x *Object) Setv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | |
| 1944 | - | core.LazyRegister(&xObjectSetv, "GOBJECT", "g_object_setv", false) | |
| 1945 | - | ||
| 1946 | 1852 | xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | |
| 1947 | 1853 | } | |
| 1948 | 1854 | ||
| @@ -1951,8 +1857,6 @@ var xObjectStealData func(uintptr, string) uintptr | |||
| 1951 | 1857 | // Remove a specified datum from the object's data associations, | |
| 1952 | 1858 | // without invoking the association's destroy handler. | |
| 1953 | 1859 | func (x *Object) StealData(KeyVar string) uintptr { | |
| 1954 | - | core.LazyRegister(&xObjectStealData, "GOBJECT", "g_object_steal_data", false) | |
| 1955 | - | ||
| 1956 | 1860 | cret := xObjectStealData(x.GoPointer(), KeyVar) | |
| 1957 | 1861 | return cret | |
| 1958 | 1862 | } | |
| @@ -2000,8 +1904,6 @@ var xObjectStealQdata func(uintptr, glib.Quark) uintptr | |||
| 2000 | 1904 | // and thus the partial string list would have been freed upon | |
| 2001 | 1905 | // g_object_set_qdata_full(). | |
| 2002 | 1906 | func (x *Object) StealQdata(QuarkVar glib.Quark) uintptr { | |
| 2003 | - | core.LazyRegister(&xObjectStealQdata, "GOBJECT", "g_object_steal_qdata", false) | |
| 2004 | - | ||
| 2005 | 1907 | cret := xObjectStealQdata(x.GoPointer(), QuarkVar) | |
| 2006 | 1908 | return cret | |
| 2007 | 1909 | } | |
| @@ -2044,7 +1946,6 @@ var xObjectTakeRef func(uintptr) uintptr | |||
| 2044 | 1946 | // additional reference on top of that one is added. It is best to avoid | |
| 2045 | 1947 | // this situation. | |
| 2046 | 1948 | func (x *Object) TakeRef() *Object { | |
| 2047 | - | core.LazyRegister(&xObjectTakeRef, "GOBJECT", "g_object_take_ref", false) | |
| 2048 | 1949 | var cls *Object | |
| 2049 | 1950 | ||
| 2050 | 1951 | cret := xObjectTakeRef(x.GoPointer()) | |
| @@ -2069,8 +1970,6 @@ var xObjectThawNotify func(uintptr) | |||
| 2069 | 1970 | // | |
| 2070 | 1971 | // It is an error to call this function when the freeze count is zero. | |
| 2071 | 1972 | func (x *Object) ThawNotify() { | |
| 2072 | - | core.LazyRegister(&xObjectThawNotify, "GOBJECT", "g_object_thaw_notify", false) | |
| 2073 | - | ||
| 2074 | 1973 | xObjectThawNotify(x.GoPointer()) | |
| 2075 | 1974 | } | |
| 2076 | 1975 | ||
| @@ -2084,8 +1983,6 @@ var xObjectUnref func(uintptr) | |||
| 2084 | 1983 | // pointer to %NULL rather than retain a dangling pointer to a potentially | |
| 2085 | 1984 | // invalid #GObject instance. Use g_clear_object() for this. | |
| 2086 | 1985 | func (x *Object) Unref() { | |
| 2087 | - | core.LazyRegister(&xObjectUnref, "GOBJECT", "g_object_unref", false) | |
| 2088 | - | ||
| 2089 | 1986 | xObjectUnref(x.GoPointer()) | |
| 2090 | 1987 | } | |
| 2091 | 1988 | ||
| @@ -2101,8 +1998,6 @@ var xObjectWatchClosure func(uintptr, *Closure) | |||
| 2101 | 1998 | // @closure. Usually, this function will be called on closures that | |
| 2102 | 1999 | // use this @object as closure data. | |
| 2103 | 2000 | func (x *Object) WatchClosure(ClosureVar *Closure) { | |
| 2104 | - | core.LazyRegister(&xObjectWatchClosure, "GOBJECT", "g_object_watch_closure", false) | |
| 2105 | - | ||
| 2106 | 2001 | xObjectWatchClosure(x.GoPointer(), ClosureVar) | |
| 2107 | 2002 | } | |
| 2108 | 2003 | ||
| @@ -2119,8 +2014,6 @@ var xObjectWeakRef func(uintptr, uintptr, uintptr) | |||
| 2119 | 2014 | // object's last g_object_unref() might happen in another thread. | |
| 2120 | 2015 | // Use #GWeakRef if thread-safety is required. | |
| 2121 | 2016 | func (x *Object) WeakRef(NotifyVar *WeakNotify, DataVar uintptr) { | |
| 2122 | - | core.LazyRegister(&xObjectWeakRef, "GOBJECT", "g_object_weak_ref", false) | |
| 2123 | - | ||
| 2124 | 2017 | xObjectWeakRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 2125 | 2018 | } | |
| 2126 | 2019 | ||
| @@ -2128,8 +2021,6 @@ var xObjectWeakUnref func(uintptr, uintptr, uintptr) | |||
| 2128 | 2021 | ||
| 2129 | 2022 | // Removes a weak reference callback to an object. | |
| 2130 | 2023 | func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | |
| 2131 | - | core.LazyRegister(&xObjectWeakUnref, "GOBJECT", "g_object_weak_unref", false) | |
| 2132 | - | ||
| 2133 | 2024 | xObjectWeakUnref(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 2134 | 2025 | } | |
| 2135 | 2026 | ||
| @@ -2196,8 +2087,6 @@ func (x *Object) ConnectNotify(cb *func(Object, uintptr)) uint { | |||
| 2196 | 2087 | var xObjectCompatControl func(uint, uintptr) uint | |
| 2197 | 2088 | ||
| 2198 | 2089 | func ObjectCompatControl(WhatVar uint, DataVar uintptr) uint { | |
| 2199 | - | core.LazyRegister(&xObjectCompatControl, "GOBJECT", "g_object_compat_control", false) | |
| 2200 | - | ||
| 2201 | 2090 | cret := xObjectCompatControl(WhatVar, DataVar) | |
| 2202 | 2091 | return cret | |
| 2203 | 2092 | } | |
| @@ -2210,7 +2099,6 @@ var xObjectInterfaceFindProperty func(*TypeInterface, string) uintptr | |||
| 2210 | 2099 | // if you know the interface has already been loaded, | |
| 2211 | 2100 | // g_type_default_interface_peek(). | |
| 2212 | 2101 | func ObjectInterfaceFindProperty(GIfaceVar *TypeInterface, PropertyNameVar string) *ParamSpec { | |
| 2213 | - | core.LazyRegister(&xObjectInterfaceFindProperty, "GOBJECT", "g_object_interface_find_property", false) | |
| 2214 | 2102 | var cls *ParamSpec | |
| 2215 | 2103 | ||
| 2216 | 2104 | cret := xObjectInterfaceFindProperty(GIfaceVar, PropertyNameVar) | |
| @@ -2243,8 +2131,6 @@ var xObjectInterfaceInstallProperty func(*TypeInterface, uintptr) | |||
| 2243 | 2131 | // | |
| 2244 | 2132 | // If @pspec is a floating reference, it will be consumed. | |
| 2245 | 2133 | func ObjectInterfaceInstallProperty(GIfaceVar *TypeInterface, PspecVar *ParamSpec) { | |
| 2246 | - | core.LazyRegister(&xObjectInterfaceInstallProperty, "GOBJECT", "g_object_interface_install_property", false) | |
| 2247 | - | ||
| 2248 | 2134 | xObjectInterfaceInstallProperty(GIfaceVar, PspecVar.GoPointer()) | |
| 2249 | 2135 | } | |
| 2250 | 2136 | ||
| @@ -2255,8 +2141,6 @@ var xObjectInterfaceListProperties func(*TypeInterface, *uint) uintptr | |||
| 2255 | 2141 | // g_type_default_interface_ref(), or, if you know the interface has | |
| 2256 | 2142 | // already been loaded, g_type_default_interface_peek(). | |
| 2257 | 2143 | func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *uint) uintptr { | |
| 2258 | - | core.LazyRegister(&xObjectInterfaceListProperties, "GOBJECT", "g_object_interface_list_properties", false) | |
| 2259 | - | ||
| 2260 | 2144 | cret := xObjectInterfaceListProperties(GIfaceVar, NPropertiesPVar) | |
| 2261 | 2145 | return cret | |
| 2262 | 2146 | } | |
| @@ -2264,4 +2148,86 @@ func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *ui | |||
| 2264 | 2148 | func init() { | |
| 2265 | 2149 | core.SetPackageName("GOBJECT", "gobject-2.0") | |
| 2266 | 2150 | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | |
| 2151 | + | var libs []uintptr | |
| 2152 | + | for _, libPath := range core.GetPaths("GOBJECT") { | |
| 2153 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 2154 | + | if err != nil { | |
| 2155 | + | panic(err) | |
| 2156 | + | } | |
| 2157 | + | libs = append(libs, lib) | |
| 2158 | + | } | |
| 2159 | + | ||
| 2160 | + | core.PuregoSafeRegister(&xCclosureNewObject, libs, "g_cclosure_new_object") | |
| 2161 | + | core.PuregoSafeRegister(&xCclosureNewObjectSwap, libs, "g_cclosure_new_object_swap") | |
| 2162 | + | core.PuregoSafeRegister(&xClearObject, libs, "g_clear_object") | |
| 2163 | + | core.PuregoSafeRegister(&xSignalConnectObject, libs, "g_signal_connect_object") | |
| 2164 | + | ||
| 2165 | + | core.PuregoSafeRegister(&xObjectClassFindProperty, libs, "g_object_class_find_property") | |
| 2166 | + | core.PuregoSafeRegister(&xObjectClassInstallProperties, libs, "g_object_class_install_properties") | |
| 2167 | + | core.PuregoSafeRegister(&xObjectClassInstallProperty, libs, "g_object_class_install_property") | |
| 2168 | + | core.PuregoSafeRegister(&xObjectClassListProperties, libs, "g_object_class_list_properties") | |
| 2169 | + | core.PuregoSafeRegister(&xObjectClassOverrideProperty, libs, "g_object_class_override_property") | |
| 2170 | + | ||
| 2171 | + | core.PuregoSafeRegister(&xWeakRefClear, libs, "g_weak_ref_clear") | |
| 2172 | + | core.PuregoSafeRegister(&xWeakRefGet, libs, "g_weak_ref_get") | |
| 2173 | + | core.PuregoSafeRegister(&xWeakRefInit, libs, "g_weak_ref_init") | |
| 2174 | + | core.PuregoSafeRegister(&xWeakRefSet, libs, "g_weak_ref_set") | |
| 2175 | + | ||
| 2176 | + | core.PuregoSafeRegister(&xInitiallyUnownedGLibType, libs, "g_initially_unowned_get_type") | |
| 2177 | + | ||
| 2178 | + | core.PuregoSafeRegister(&xObjectGLibType, libs, "g_object_get_type") | |
| 2179 | + | ||
| 2180 | + | core.PuregoSafeRegister(&xNewObject, libs, "g_object_new") | |
| 2181 | + | core.PuregoSafeRegister(&xNewObjectValist, libs, "g_object_new_valist") | |
| 2182 | + | core.PuregoSafeRegister(&xNewObjectWithProperties, libs, "g_object_new_with_properties") | |
| 2183 | + | core.PuregoSafeRegister(&xNewObjectv, libs, "g_object_newv") | |
| 2184 | + | ||
| 2185 | + | core.PuregoSafeRegister(&xObjectAddToggleRef, libs, "g_object_add_toggle_ref") | |
| 2186 | + | core.PuregoSafeRegister(&xObjectAddWeakPointer, libs, "g_object_add_weak_pointer") | |
| 2187 | + | core.PuregoSafeRegister(&xObjectBindProperty, libs, "g_object_bind_property") | |
| 2188 | + | core.PuregoSafeRegister(&xObjectBindPropertyFull, libs, "g_object_bind_property_full") | |
| 2189 | + | core.PuregoSafeRegister(&xObjectBindPropertyWithClosures, libs, "g_object_bind_property_with_closures") | |
| 2190 | + | core.PuregoSafeRegister(&xObjectConnect, libs, "g_object_connect") | |
| 2191 | + | core.PuregoSafeRegister(&xObjectDisconnect, libs, "g_object_disconnect") | |
| 2192 | + | core.PuregoSafeRegister(&xObjectDupData, libs, "g_object_dup_data") | |
| 2193 | + | core.PuregoSafeRegister(&xObjectDupQdata, libs, "g_object_dup_qdata") | |
| 2194 | + | core.PuregoSafeRegister(&xObjectForceFloating, libs, "g_object_force_floating") | |
| 2195 | + | core.PuregoSafeRegister(&xObjectFreezeNotify, libs, "g_object_freeze_notify") | |
| 2196 | + | core.PuregoSafeRegister(&xObjectGet, libs, "g_object_get") | |
| 2197 | + | core.PuregoSafeRegister(&xObjectGetData, libs, "g_object_get_data") | |
| 2198 | + | core.PuregoSafeRegister(&xObjectGetProperty, libs, "g_object_get_property") | |
| 2199 | + | core.PuregoSafeRegister(&xObjectGetQdata, libs, "g_object_get_qdata") | |
| 2200 | + | core.PuregoSafeRegister(&xObjectGetValist, libs, "g_object_get_valist") | |
| 2201 | + | core.PuregoSafeRegister(&xObjectGetv, libs, "g_object_getv") | |
| 2202 | + | core.PuregoSafeRegister(&xObjectIsFloating, libs, "g_object_is_floating") | |
| 2203 | + | core.PuregoSafeRegister(&xObjectNotify, libs, "g_object_notify") | |
| 2204 | + | core.PuregoSafeRegister(&xObjectNotifyByPspec, libs, "g_object_notify_by_pspec") | |
| 2205 | + | core.PuregoSafeRegister(&xObjectRef, libs, "g_object_ref") | |
| 2206 | + | core.PuregoSafeRegister(&xObjectRefSink, libs, "g_object_ref_sink") | |
| 2207 | + | core.PuregoSafeRegister(&xObjectRemoveToggleRef, libs, "g_object_remove_toggle_ref") | |
| 2208 | + | core.PuregoSafeRegister(&xObjectRemoveWeakPointer, libs, "g_object_remove_weak_pointer") | |
| 2209 | + | core.PuregoSafeRegister(&xObjectReplaceData, libs, "g_object_replace_data") | |
| 2210 | + | core.PuregoSafeRegister(&xObjectReplaceQdata, libs, "g_object_replace_qdata") | |
| 2211 | + | core.PuregoSafeRegister(&xObjectRunDispose, libs, "g_object_run_dispose") | |
| 2212 | + | core.PuregoSafeRegister(&xObjectSet, libs, "g_object_set") | |
| 2213 | + | core.PuregoSafeRegister(&xObjectSetData, libs, "g_object_set_data") | |
| 2214 | + | core.PuregoSafeRegister(&xObjectSetDataFull, libs, "g_object_set_data_full") | |
| 2215 | + | core.PuregoSafeRegister(&xObjectSetProperty, libs, "g_object_set_property") | |
| 2216 | + | core.PuregoSafeRegister(&xObjectSetQdata, libs, "g_object_set_qdata") | |
| 2217 | + | core.PuregoSafeRegister(&xObjectSetQdataFull, libs, "g_object_set_qdata_full") | |
| 2218 | + | core.PuregoSafeRegister(&xObjectSetValist, libs, "g_object_set_valist") | |
| 2219 | + | core.PuregoSafeRegister(&xObjectSetv, libs, "g_object_setv") | |
| 2220 | + | core.PuregoSafeRegister(&xObjectStealData, libs, "g_object_steal_data") | |
| 2221 | + | core.PuregoSafeRegister(&xObjectStealQdata, libs, "g_object_steal_qdata") | |
| 2222 | + | core.PuregoSafeRegister(&xObjectTakeRef, libs, "g_object_take_ref") | |
| 2223 | + | core.PuregoSafeRegister(&xObjectThawNotify, libs, "g_object_thaw_notify") | |
| 2224 | + | core.PuregoSafeRegister(&xObjectUnref, libs, "g_object_unref") | |
| 2225 | + | core.PuregoSafeRegister(&xObjectWatchClosure, libs, "g_object_watch_closure") | |
| 2226 | + | core.PuregoSafeRegister(&xObjectWeakRef, libs, "g_object_weak_ref") | |
| 2227 | + | core.PuregoSafeRegister(&xObjectWeakUnref, libs, "g_object_weak_unref") | |
| 2228 | + | ||
| 2229 | + | core.PuregoSafeRegister(&xObjectCompatControl, libs, "g_object_compat_control") | |
| 2230 | + | core.PuregoSafeRegister(&xObjectInterfaceFindProperty, libs, "g_object_interface_find_property") | |
| 2231 | + | core.PuregoSafeRegister(&xObjectInterfaceInstallProperty, libs, "g_object_interface_install_property") | |
| 2232 | + | core.PuregoSafeRegister(&xObjectInterfaceListProperties, libs, "g_object_interface_list_properties") | |
| 2267 | 2233 | } | |
| @@ -435,7 +435,6 @@ var xObjectClassFindProperty func(uintptr, string) uintptr | |||||
| 435 | 435 | ||||
| 436 | // Looks up the #GParamSpec for a property of a class. | 436 | // Looks up the #GParamSpec for a property of a class. | ||
| 437 | func (x *ObjectClass) FindProperty(PropertyNameVar string) *ParamSpec { | 437 | func (x *ObjectClass) FindProperty(PropertyNameVar string) *ParamSpec { | ||
| 438 | - | core.LazyRegister(&xObjectClassFindProperty, "GOBJECT", "g_object_class_find_property", false) | |||
| 439 | var cls *ParamSpec | 438 | var cls *ParamSpec | ||
| 440 | 439 | ||||
| 441 | cret := xObjectClassFindProperty(x.GoPointer(), PropertyNameVar) | 440 | cret := xObjectClassFindProperty(x.GoPointer(), PropertyNameVar) | ||
| @@ -520,8 +519,6 @@ var xObjectClassInstallProperties func(uintptr, uint, uintptr) | |||||
| 520 | // | 519 | // | ||
| 521 | // ]| | 520 | // ]| | ||
| 522 | func (x *ObjectClass) InstallProperties(NPspecsVar uint, PspecsVar uintptr) { | 521 | func (x *ObjectClass) InstallProperties(NPspecsVar uint, PspecsVar uintptr) { | ||
| 523 | - | core.LazyRegister(&xObjectClassInstallProperties, "GOBJECT", "g_object_class_install_properties", false) | |||
| 524 | - | ||||
| 525 | xObjectClassInstallProperties(x.GoPointer(), NPspecsVar, PspecsVar) | 522 | xObjectClassInstallProperties(x.GoPointer(), NPspecsVar, PspecsVar) | ||
| 526 | } | 523 | } | ||
| 527 | 524 | ||||
| @@ -538,8 +535,6 @@ var xObjectClassInstallProperty func(uintptr, uint, uintptr) | |||||
| 538 | // by installing a property with the same name. This can be useful at times, | 535 | // by installing a property with the same name. This can be useful at times, | ||
| 539 | // e.g. to change the range of allowed values or the default value. | 536 | // e.g. to change the range of allowed values or the default value. | ||
| 540 | func (x *ObjectClass) InstallProperty(PropertyIdVar uint, PspecVar *ParamSpec) { | 537 | func (x *ObjectClass) InstallProperty(PropertyIdVar uint, PspecVar *ParamSpec) { | ||
| 541 | - | core.LazyRegister(&xObjectClassInstallProperty, "GOBJECT", "g_object_class_install_property", false) | |||
| 542 | - | ||||
| 543 | xObjectClassInstallProperty(x.GoPointer(), PropertyIdVar, PspecVar.GoPointer()) | 538 | xObjectClassInstallProperty(x.GoPointer(), PropertyIdVar, PspecVar.GoPointer()) | ||
| 544 | } | 539 | } | ||
| 545 | 540 | ||||
| @@ -547,8 +542,6 @@ var xObjectClassListProperties func(uintptr, *uint) uintptr | |||||
| 547 | 542 | ||||
| 548 | // Get an array of #GParamSpec* for all properties of a class. | 543 | // Get an array of #GParamSpec* for all properties of a class. | ||
| 549 | func (x *ObjectClass) ListProperties(NPropertiesVar *uint) uintptr { | 544 | func (x *ObjectClass) ListProperties(NPropertiesVar *uint) uintptr { | ||
| 550 | - | core.LazyRegister(&xObjectClassListProperties, "GOBJECT", "g_object_class_list_properties", false) | |||
| 551 | - | ||||
| 552 | cret := xObjectClassListProperties(x.GoPointer(), NPropertiesVar) | 545 | cret := xObjectClassListProperties(x.GoPointer(), NPropertiesVar) | ||
| 553 | return cret | 546 | return cret | ||
| 554 | } | 547 | } | ||
| @@ -572,8 +565,6 @@ var xObjectClassOverrideProperty func(uintptr, uint, string) | |||||
| 572 | // need to get the overridden property, you can call | 565 | // need to get the overridden property, you can call | ||
| 573 | // g_param_spec_get_redirect_target(). | 566 | // g_param_spec_get_redirect_target(). | ||
| 574 | func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | 567 | func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | ||
| 575 | - | core.LazyRegister(&xObjectClassOverrideProperty, "GOBJECT", "g_object_class_override_property", false) | |||
| 576 | - | ||||
| 577 | xObjectClassOverrideProperty(x.GoPointer(), PropertyIdVar, NameVar) | 568 | xObjectClassOverrideProperty(x.GoPointer(), PropertyIdVar, NameVar) | ||
| 578 | } | 569 | } | ||
| 579 | 570 | ||||
| @@ -897,8 +888,6 @@ var xWeakRefClear func(uintptr) | |||||
| 897 | // You should only call this on a #GWeakRef that previously had | 888 | // You should only call this on a #GWeakRef that previously had | ||
| 898 | // g_weak_ref_init() called on it. | 889 | // g_weak_ref_init() called on it. | ||
| 899 | func (x *WeakRef) Clear() { | 890 | func (x *WeakRef) Clear() { | ||
| 900 | - | core.LazyRegister(&xWeakRefClear, "GOBJECT", "g_weak_ref_clear", false) | |||
| 901 | - | ||||
| 902 | xWeakRefClear(x.GoPointer()) | 891 | xWeakRefClear(x.GoPointer()) | ||
| 903 | } | 892 | } | ||
| 904 | 893 | ||||
| @@ -914,7 +903,6 @@ var xWeakRefGet func(uintptr) uintptr | |||||
| 914 | // The caller should release the resulting reference in the usual way, | 903 | // The caller should release the resulting reference in the usual way, | ||
| 915 | // by using g_object_unref(). | 904 | // by using g_object_unref(). | ||
| 916 | func (x *WeakRef) Get() *Object { | 905 | func (x *WeakRef) Get() *Object { | ||
| 917 | - | core.LazyRegister(&xWeakRefGet, "GOBJECT", "g_weak_ref_get", false) | |||
| 918 | var cls *Object | 906 | var cls *Object | ||
| 919 | 907 | ||||
| 920 | cret := xWeakRefGet(x.GoPointer()) | 908 | cret := xWeakRefGet(x.GoPointer()) | ||
| @@ -939,8 +927,6 @@ var xWeakRefInit func(uintptr, uintptr) | |||||
| 939 | // #GWeakRef in static storage because it will already be | 927 | // #GWeakRef in static storage because it will already be | ||
| 940 | // properly initialised. Just use g_weak_ref_set() directly. | 928 | // properly initialised. Just use g_weak_ref_set() directly. | ||
| 941 | func (x *WeakRef) Init(ObjectVar *Object) { | 929 | func (x *WeakRef) Init(ObjectVar *Object) { | ||
| 942 | - | core.LazyRegister(&xWeakRefInit, "GOBJECT", "g_weak_ref_init", false) | |||
| 943 | - | ||||
| 944 | xWeakRefInit(x.GoPointer(), ObjectVar.GoPointer()) | 930 | xWeakRefInit(x.GoPointer(), ObjectVar.GoPointer()) | ||
| 945 | } | 931 | } | ||
| 946 | 932 | ||||
| @@ -952,8 +938,6 @@ var xWeakRefSet func(uintptr, uintptr) | |||||
| 952 | // You must own a strong reference on @object while calling this | 938 | // You must own a strong reference on @object while calling this | ||
| 953 | // function. | 939 | // function. | ||
| 954 | func (x *WeakRef) Set(ObjectVar *Object) { | 940 | func (x *WeakRef) Set(ObjectVar *Object) { | ||
| 955 | - | core.LazyRegister(&xWeakRefSet, "GOBJECT", "g_weak_ref_set", false) | |||
| 956 | - | ||||
| 957 | xWeakRefSet(x.GoPointer(), ObjectVar.GoPointer()) | 941 | xWeakRefSet(x.GoPointer(), ObjectVar.GoPointer()) | ||
| 958 | } | 942 | } | ||
| 959 | 943 | ||||
| @@ -965,8 +949,6 @@ var xCclosureNewObject func(uintptr, uintptr) uintptr | |||||
| 965 | // associated with a #GObject, and want the callback to no longer run | 949 | // associated with a #GObject, and want the callback to no longer run | ||
| 966 | // after the object is is freed. | 950 | // after the object is is freed. | ||
| 967 | func CclosureNewObject(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | 951 | func CclosureNewObject(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | ||
| 968 | - | core.LazyRegister(&xCclosureNewObject, "GOBJECT", "g_cclosure_new_object", false) | |||
| 969 | - | ||||
| 970 | cret := xCclosureNewObject(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | 952 | cret := xCclosureNewObject(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | ||
| 971 | if cret == 0 { | 953 | if cret == 0 { | ||
| 972 | return nil | 954 | return nil | ||
| @@ -982,8 +964,6 @@ var xCclosureNewObjectSwap func(uintptr, uintptr) uintptr | |||||
| 982 | // associated with a #GObject, and want the callback to no longer run | 964 | // associated with a #GObject, and want the callback to no longer run | ||
| 983 | // after the object is is freed. | 965 | // after the object is is freed. | ||
| 984 | func CclosureNewObjectSwap(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | 966 | func CclosureNewObjectSwap(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | ||
| 985 | - | core.LazyRegister(&xCclosureNewObjectSwap, "GOBJECT", "g_cclosure_new_object_swap", false) | |||
| 986 | - | ||||
| 987 | cret := xCclosureNewObjectSwap(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | 967 | cret := xCclosureNewObjectSwap(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | ||
| 988 | if cret == 0 { | 968 | if cret == 0 { | ||
| 989 | return nil | 969 | return nil | ||
| @@ -1004,8 +984,6 @@ var xClearObject func(uintptr) | |||||
| 1004 | // A macro is also included that allows this function to be used without | 984 | // A macro is also included that allows this function to be used without | ||
| 1005 | // pointer casts. | 985 | // pointer casts. | ||
| 1006 | func ClearObject(ObjectPtrVar **Object) { | 986 | func ClearObject(ObjectPtrVar **Object) { | ||
| 1007 | - | core.LazyRegister(&xClearObject, "GOBJECT", "g_clear_object", false) | |||
| 1008 | - | ||||
| 1009 | xClearObject(*ConvertPtr(ObjectPtrVar)) | 987 | xClearObject(*ConvertPtr(ObjectPtrVar)) | ||
| 1010 | } | 988 | } | ||
| 1011 | 989 | ||||
| @@ -1028,8 +1006,6 @@ var xSignalConnectObject func(*TypeInstance, string, uintptr, uintptr, ConnectFl | |||||
| 1028 | // Refer to the [signals documentation](signals.html) for more | 1006 | // Refer to the [signals documentation](signals.html) for more | ||
| 1029 | // details. | 1007 | // details. | ||
| 1030 | func SignalConnectObject(InstanceVar *TypeInstance, DetailedSignalVar string, CHandlerVar *Callback, GobjectVar *Object, ConnectFlagsVar ConnectFlags) uint { | 1008 | func SignalConnectObject(InstanceVar *TypeInstance, DetailedSignalVar string, CHandlerVar *Callback, GobjectVar *Object, ConnectFlagsVar ConnectFlags) uint { | ||
| 1031 | - | core.LazyRegister(&xSignalConnectObject, "GOBJECT", "g_signal_connect_object", false) | |||
| 1032 | - | ||||
| 1033 | cret := xSignalConnectObject(InstanceVar, DetailedSignalVar, glib.NewCallback(CHandlerVar), GobjectVar.GoPointer(), ConnectFlagsVar) | 1009 | cret := xSignalConnectObject(InstanceVar, DetailedSignalVar, glib.NewCallback(CHandlerVar), GobjectVar.GoPointer(), ConnectFlagsVar) | ||
| 1034 | return cret | 1010 | return cret | ||
| 1035 | } | 1011 | } | ||
| @@ -1045,7 +1021,6 @@ type InitiallyUnowned struct { | |||||
| 1045 | var xInitiallyUnownedGLibType func() types.GType | 1021 | var xInitiallyUnownedGLibType func() types.GType | ||
| 1046 | 1022 | ||||
| 1047 | func InitiallyUnownedGLibType() types.GType { | 1023 | func InitiallyUnownedGLibType() types.GType { | ||
| 1048 | - | core.LazyRegister(&xInitiallyUnownedGLibType, "GOBJECT", "g_initially_unowned_get_type", false) | |||
| 1049 | return xInitiallyUnownedGLibType() | 1024 | return xInitiallyUnownedGLibType() | ||
| 1050 | } | 1025 | } | ||
| 1051 | 1026 | ||||
| @@ -1095,7 +1070,6 @@ type Object struct { | |||||
| 1095 | var xObjectGLibType func() types.GType | 1070 | var xObjectGLibType func() types.GType | ||
| 1096 | 1071 | ||||
| 1097 | func ObjectGLibType() types.GType { | 1072 | func ObjectGLibType() types.GType { | ||
| 1098 | - | core.LazyRegister(&xObjectGLibType, "GOBJECT", "g_object_get_type", false) | |||
| 1099 | return xObjectGLibType() | 1073 | return xObjectGLibType() | ||
| 1100 | } | 1074 | } | ||
| 1101 | 1075 | ||||
| @@ -1134,7 +1108,6 @@ var xNewObject func(types.GType, string, ...interface{}) uintptr | |||||
| 1134 | // should allocate it on the heap (aligned), or arrange for your #GObject to be | 1108 | // should allocate it on the heap (aligned), or arrange for your #GObject to be | ||
| 1135 | // appropriately padded. | 1109 | // appropriately padded. | ||
| 1136 | func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object { | 1110 | func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object { | ||
| 1137 | - | core.LazyRegister(&xNewObject, "GOBJECT", "g_object_new", false) | |||
| 1138 | var cls *Object | 1111 | var cls *Object | ||
| 1139 | 1112 | ||||
| 1140 | cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...) | 1113 | cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...) | ||
| @@ -1154,7 +1127,6 @@ var xNewObjectValist func(types.GType, string, []interface{}) uintptr | |||||
| 1154 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | 1127 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | ||
| 1155 | // which are not explicitly specified are set to their default values. | 1128 | // which are not explicitly specified are set to their default values. | ||
| 1156 | func NewObjectValist(ObjectTypeVar types.GType, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object { | 1129 | func NewObjectValist(ObjectTypeVar types.GType, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object { | ||
| 1157 | - | core.LazyRegister(&xNewObjectValist, "GOBJECT", "g_object_new_valist", false) | |||
| 1158 | var cls *Object | 1130 | var cls *Object | ||
| 1159 | 1131 | ||||
| 1160 | cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar) | 1132 | cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar) | ||
| @@ -1176,7 +1148,6 @@ var xNewObjectWithProperties func(types.GType, uint, []string, []Value) uintptr | |||||
| 1176 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | 1148 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | ||
| 1177 | // which are not explicitly specified are set to their default values. | 1149 | // which are not explicitly specified are set to their default values. | ||
| 1178 | func NewObjectWithProperties(ObjectTypeVar types.GType, NPropertiesVar uint, NamesVar []string, ValuesVar []Value) *Object { | 1150 | func NewObjectWithProperties(ObjectTypeVar types.GType, NPropertiesVar uint, NamesVar []string, ValuesVar []Value) *Object { | ||
| 1179 | - | core.LazyRegister(&xNewObjectWithProperties, "GOBJECT", "g_object_new_with_properties", false) | |||
| 1180 | var cls *Object | 1151 | var cls *Object | ||
| 1181 | 1152 | ||||
| 1182 | cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar) | 1153 | cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar) | ||
| @@ -1196,7 +1167,6 @@ var xNewObjectv func(types.GType, uint, []Parameter) uintptr | |||||
| 1196 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | 1167 | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | ||
| 1197 | // which are not explicitly specified are set to their default values. | 1168 | // which are not explicitly specified are set to their default values. | ||
| 1198 | func NewObjectv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []Parameter) *Object { | 1169 | func NewObjectv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []Parameter) *Object { | ||
| 1199 | - | core.LazyRegister(&xNewObjectv, "GOBJECT", "g_object_newv", false) | |||
| 1200 | var cls *Object | 1170 | var cls *Object | ||
| 1201 | 1171 | ||||
| 1202 | cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar) | 1172 | cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar) | ||
| @@ -1247,8 +1217,6 @@ var xObjectAddToggleRef func(uintptr, uintptr, uintptr) | |||||
| 1247 | // | 1217 | // | ||
| 1248 | // A g_object_add_toggle_ref() must be released with g_object_remove_toggle_ref(). | 1218 | // A g_object_add_toggle_ref() must be released with g_object_remove_toggle_ref(). | ||
| 1249 | func (x *Object) AddToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | 1219 | func (x *Object) AddToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | ||
| 1250 | - | core.LazyRegister(&xObjectAddToggleRef, "GOBJECT", "g_object_add_toggle_ref", false) | |||
| 1251 | - | ||||
| 1252 | xObjectAddToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | 1220 | xObjectAddToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | ||
| 1253 | } | 1221 | } | ||
| 1254 | 1222 | ||||
| @@ -1264,8 +1232,6 @@ var xObjectAddWeakPointer func(uintptr, *uintptr) | |||||
| 1264 | // thread if the object's last g_object_unref() might happen in another | 1232 | // thread if the object's last g_object_unref() might happen in another | ||
| 1265 | // thread. Use #GWeakRef if thread-safety is required. | 1233 | // thread. Use #GWeakRef if thread-safety is required. | ||
| 1266 | func (x *Object) AddWeakPointer(WeakPointerLocationVar *uintptr) { | 1234 | func (x *Object) AddWeakPointer(WeakPointerLocationVar *uintptr) { | ||
| 1267 | - | core.LazyRegister(&xObjectAddWeakPointer, "GOBJECT", "g_object_add_weak_pointer", false) | |||
| 1268 | - | ||||
| 1269 | xObjectAddWeakPointer(x.GoPointer(), WeakPointerLocationVar) | 1235 | xObjectAddWeakPointer(x.GoPointer(), WeakPointerLocationVar) | ||
| 1270 | } | 1236 | } | ||
| 1271 | 1237 | ||||
| @@ -1305,7 +1271,6 @@ var xObjectBindProperty func(uintptr, string, uintptr, string, BindingFlags) uin | |||||
| 1305 | // | 1271 | // | ||
| 1306 | // A #GObject can have multiple bindings. | 1272 | // A #GObject can have multiple bindings. | ||
| 1307 | func (x *Object) BindProperty(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags) *Binding { | 1273 | func (x *Object) BindProperty(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags) *Binding { | ||
| 1308 | - | core.LazyRegister(&xObjectBindProperty, "GOBJECT", "g_object_bind_property", false) | |||
| 1309 | var cls *Binding | 1274 | var cls *Binding | ||
| 1310 | 1275 | ||||
| 1311 | cret := xObjectBindProperty(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar) | 1276 | cret := xObjectBindProperty(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar) | ||
| @@ -1347,7 +1312,6 @@ var xObjectBindPropertyFull func(uintptr, string, uintptr, string, BindingFlags, | |||||
| 1347 | // for each transformation function, please use | 1312 | // for each transformation function, please use | ||
| 1348 | // g_object_bind_property_with_closures() instead. | 1313 | // g_object_bind_property_with_closures() instead. | ||
| 1349 | func (x *Object) BindPropertyFull(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *BindingTransformFunc, TransformFromVar *BindingTransformFunc, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) *Binding { | 1314 | func (x *Object) BindPropertyFull(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *BindingTransformFunc, TransformFromVar *BindingTransformFunc, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) *Binding { | ||
| 1350 | - | core.LazyRegister(&xObjectBindPropertyFull, "GOBJECT", "g_object_bind_property_full", false) | |||
| 1351 | var cls *Binding | 1315 | var cls *Binding | ||
| 1352 | 1316 | ||||
| 1353 | cret := xObjectBindPropertyFull(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, glib.NewCallbackNullable(TransformToVar), glib.NewCallbackNullable(TransformFromVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | 1317 | cret := xObjectBindPropertyFull(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, glib.NewCallbackNullable(TransformToVar), glib.NewCallbackNullable(TransformFromVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | ||
| @@ -1371,7 +1335,6 @@ var xObjectBindPropertyWithClosures func(uintptr, string, uintptr, string, Bindi | |||||
| 1371 | // g_object_bind_property_full(), using #GClosures instead of | 1335 | // g_object_bind_property_full(), using #GClosures instead of | ||
| 1372 | // function pointers. | 1336 | // function pointers. | ||
| 1373 | func (x *Object) BindPropertyWithClosures(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *Closure, TransformFromVar *Closure) *Binding { | 1337 | func (x *Object) BindPropertyWithClosures(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *Closure, TransformFromVar *Closure) *Binding { | ||
| 1374 | - | core.LazyRegister(&xObjectBindPropertyWithClosures, "GOBJECT", "g_object_bind_property_with_closures", false) | |||
| 1375 | var cls *Binding | 1338 | var cls *Binding | ||
| 1376 | 1339 | ||||
| 1377 | cret := xObjectBindPropertyWithClosures(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, TransformToVar, TransformFromVar) | 1340 | cret := xObjectBindPropertyWithClosures(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, TransformToVar, TransformFromVar) | ||
| @@ -1415,7 +1378,6 @@ var xObjectConnect func(uintptr, string, ...interface{}) uintptr | |||||
| 1415 | // | 1378 | // | ||
| 1416 | // ``` | 1379 | // ``` | ||
| 1417 | func (x *Object) Connect(SignalSpecVar string, varArgs ...interface{}) *Object { | 1380 | func (x *Object) Connect(SignalSpecVar string, varArgs ...interface{}) *Object { | ||
| 1418 | - | core.LazyRegister(&xObjectConnect, "GOBJECT", "g_object_connect", false) | |||
| 1419 | var cls *Object | 1381 | var cls *Object | ||
| 1420 | 1382 | ||||
| 1421 | cret := xObjectConnect(x.GoPointer(), SignalSpecVar, varArgs...) | 1383 | cret := xObjectConnect(x.GoPointer(), SignalSpecVar, varArgs...) | ||
| @@ -1438,8 +1400,6 @@ var xObjectDisconnect func(uintptr, string, ...interface{}) | |||||
| 1438 | // callback and data, or "any_signal::signal_name", which only | 1400 | // callback and data, or "any_signal::signal_name", which only | ||
| 1439 | // disconnects the signal named "signal_name". | 1401 | // disconnects the signal named "signal_name". | ||
| 1440 | func (x *Object) Disconnect(SignalSpecVar string, varArgs ...interface{}) { | 1402 | func (x *Object) Disconnect(SignalSpecVar string, varArgs ...interface{}) { | ||
| 1441 | - | core.LazyRegister(&xObjectDisconnect, "GOBJECT", "g_object_disconnect", false) | |||
| 1442 | - | ||||
| 1443 | xObjectDisconnect(x.GoPointer(), SignalSpecVar, varArgs...) | 1403 | xObjectDisconnect(x.GoPointer(), SignalSpecVar, varArgs...) | ||
| 1444 | } | 1404 | } | ||
| 1445 | 1405 | ||||
| @@ -1460,8 +1420,6 @@ var xObjectDupData func(uintptr, string, uintptr, uintptr) uintptr | |||||
| 1460 | // threads are using object data on the same key on the same | 1420 | // threads are using object data on the same key on the same | ||
| 1461 | // object. | 1421 | // object. | ||
| 1462 | func (x *Object) DupData(KeyVar string, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | 1422 | func (x *Object) DupData(KeyVar string, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | ||
| 1463 | - | core.LazyRegister(&xObjectDupData, "GOBJECT", "g_object_dup_data", false) | |||
| 1464 | - | ||||
| 1465 | cret := xObjectDupData(x.GoPointer(), KeyVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | 1423 | cret := xObjectDupData(x.GoPointer(), KeyVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | ||
| 1466 | return cret | 1424 | return cret | ||
| 1467 | } | 1425 | } | ||
| @@ -1483,8 +1441,6 @@ var xObjectDupQdata func(uintptr, glib.Quark, uintptr, uintptr) uintptr | |||||
| 1483 | // threads are using object data on the same key on the same | 1441 | // threads are using object data on the same key on the same | ||
| 1484 | // object. | 1442 | // object. | ||
| 1485 | func (x *Object) DupQdata(QuarkVar glib.Quark, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | 1443 | func (x *Object) DupQdata(QuarkVar glib.Quark, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | ||
| 1486 | - | core.LazyRegister(&xObjectDupQdata, "GOBJECT", "g_object_dup_qdata", false) | |||
| 1487 | - | ||||
| 1488 | cret := xObjectDupQdata(x.GoPointer(), QuarkVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | 1444 | cret := xObjectDupQdata(x.GoPointer(), QuarkVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | ||
| 1489 | return cret | 1445 | return cret | ||
| 1490 | } | 1446 | } | ||
| @@ -1496,8 +1452,6 @@ var xObjectForceFloating func(uintptr) | |||||
| 1496 | // required: all #GInitiallyUnowneds are created with a floating reference | 1452 | // required: all #GInitiallyUnowneds are created with a floating reference | ||
| 1497 | // which usually just needs to be sunken by calling g_object_ref_sink(). | 1453 | // which usually just needs to be sunken by calling g_object_ref_sink(). | ||
| 1498 | func (x *Object) ForceFloating() { | 1454 | func (x *Object) ForceFloating() { | ||
| 1499 | - | core.LazyRegister(&xObjectForceFloating, "GOBJECT", "g_object_force_floating", false) | |||
| 1500 | - | ||||
| 1501 | xObjectForceFloating(x.GoPointer()) | 1455 | xObjectForceFloating(x.GoPointer()) | ||
| 1502 | } | 1456 | } | ||
| 1503 | 1457 | ||||
| @@ -1513,8 +1467,6 @@ var xObjectFreezeNotify func(uintptr) | |||||
| 1513 | // This is necessary for accessors that modify multiple properties to prevent | 1467 | // This is necessary for accessors that modify multiple properties to prevent | ||
| 1514 | // premature notification while the object is still being modified. | 1468 | // premature notification while the object is still being modified. | ||
| 1515 | func (x *Object) FreezeNotify() { | 1469 | func (x *Object) FreezeNotify() { | ||
| 1516 | - | core.LazyRegister(&xObjectFreezeNotify, "GOBJECT", "g_object_freeze_notify", false) | |||
| 1517 | - | ||||
| 1518 | xObjectFreezeNotify(x.GoPointer()) | 1470 | xObjectFreezeNotify(x.GoPointer()) | ||
| 1519 | } | 1471 | } | ||
| 1520 | 1472 | ||||
| @@ -1549,8 +1501,6 @@ var xObjectGet func(uintptr, string, ...interface{}) | |||||
| 1549 | // | 1501 | // | ||
| 1550 | // ]| | 1502 | // ]| | ||
| 1551 | func (x *Object) Get(FirstPropertyNameVar string, varArgs ...interface{}) { | 1503 | func (x *Object) Get(FirstPropertyNameVar string, varArgs ...interface{}) { | ||
| 1552 | - | core.LazyRegister(&xObjectGet, "GOBJECT", "g_object_get", false) | |||
| 1553 | - | ||||
| 1554 | xObjectGet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | 1504 | xObjectGet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | ||
| 1555 | } | 1505 | } | ||
| 1556 | 1506 | ||||
| @@ -1558,8 +1508,6 @@ var xObjectGetData func(uintptr, string) uintptr | |||||
| 1558 | 1508 | ||||
| 1559 | // Gets a named field from the objects table of associations (see g_object_set_data()). | 1509 | // Gets a named field from the objects table of associations (see g_object_set_data()). | ||
| 1560 | func (x *Object) GetData(KeyVar string) uintptr { | 1510 | func (x *Object) GetData(KeyVar string) uintptr { | ||
| 1561 | - | core.LazyRegister(&xObjectGetData, "GOBJECT", "g_object_get_data", false) | |||
| 1562 | - | ||||
| 1563 | cret := xObjectGetData(x.GoPointer(), KeyVar) | 1511 | cret := xObjectGetData(x.GoPointer(), KeyVar) | ||
| 1564 | return cret | 1512 | return cret | ||
| 1565 | } | 1513 | } | ||
| @@ -1583,8 +1531,6 @@ var xObjectGetProperty func(uintptr, string, *Value) | |||||
| 1583 | // Note that g_object_get_property() is really intended for language | 1531 | // Note that g_object_get_property() is really intended for language | ||
| 1584 | // bindings, g_object_get() is much more convenient for C programming. | 1532 | // bindings, g_object_get() is much more convenient for C programming. | ||
| 1585 | func (x *Object) GetProperty(PropertyNameVar string, ValueVar *Value) { | 1533 | func (x *Object) GetProperty(PropertyNameVar string, ValueVar *Value) { | ||
| 1586 | - | core.LazyRegister(&xObjectGetProperty, "GOBJECT", "g_object_get_property", false) | |||
| 1587 | - | ||||
| 1588 | xObjectGetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | 1534 | xObjectGetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | ||
| 1589 | } | 1535 | } | ||
| 1590 | 1536 | ||||
| @@ -1593,8 +1539,6 @@ var xObjectGetQdata func(uintptr, glib.Quark) uintptr | |||||
| 1593 | // This function gets back user data pointers stored via | 1539 | // This function gets back user data pointers stored via | ||
| 1594 | // g_object_set_qdata(). | 1540 | // g_object_set_qdata(). | ||
| 1595 | func (x *Object) GetQdata(QuarkVar glib.Quark) uintptr { | 1541 | func (x *Object) GetQdata(QuarkVar glib.Quark) uintptr { | ||
| 1596 | - | core.LazyRegister(&xObjectGetQdata, "GOBJECT", "g_object_get_qdata", false) | |||
| 1597 | - | ||||
| 1598 | cret := xObjectGetQdata(x.GoPointer(), QuarkVar) | 1542 | cret := xObjectGetQdata(x.GoPointer(), QuarkVar) | ||
| 1599 | return cret | 1543 | return cret | ||
| 1600 | } | 1544 | } | ||
| @@ -1609,8 +1553,6 @@ var xObjectGetValist func(uintptr, string, []interface{}) | |||||
| 1609 | // | 1553 | // | ||
| 1610 | // See g_object_get(). | 1554 | // See g_object_get(). | ||
| 1611 | func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | 1555 | func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | ||
| 1612 | - | core.LazyRegister(&xObjectGetValist, "GOBJECT", "g_object_get_valist", false) | |||
| 1613 | - | ||||
| 1614 | xObjectGetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | 1556 | xObjectGetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | ||
| 1615 | } | 1557 | } | ||
| 1616 | 1558 | ||||
| @@ -1621,8 +1563,6 @@ var xObjectGetv func(uintptr, uint, []string, []Value) | |||||
| 1621 | // Warnings will be emitted and undefined behaviour may result if invalid | 1563 | // Warnings will be emitted and undefined behaviour may result if invalid | ||
| 1622 | // properties are passed in. | 1564 | // properties are passed in. | ||
| 1623 | func (x *Object) Getv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | 1565 | func (x *Object) Getv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | ||
| 1624 | - | core.LazyRegister(&xObjectGetv, "GOBJECT", "g_object_getv", false) | |||
| 1625 | - | ||||
| 1626 | xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | 1566 | xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | ||
| 1627 | } | 1567 | } | ||
| 1628 | 1568 | ||||
| @@ -1630,8 +1570,6 @@ var xObjectIsFloating func(uintptr) bool | |||||
| 1630 | 1570 | ||||
| 1631 | // Checks whether @object has a [floating](floating-refs.html) reference. | 1571 | // Checks whether @object has a [floating](floating-refs.html) reference. | ||
| 1632 | func (x *Object) IsFloating() bool { | 1572 | func (x *Object) IsFloating() bool { | ||
| 1633 | - | core.LazyRegister(&xObjectIsFloating, "GOBJECT", "g_object_is_floating", false) | |||
| 1634 | - | ||||
| 1635 | cret := xObjectIsFloating(x.GoPointer()) | 1573 | cret := xObjectIsFloating(x.GoPointer()) | ||
| 1636 | return cret | 1574 | return cret | ||
| 1637 | } | 1575 | } | ||
| @@ -1649,8 +1587,6 @@ var xObjectNotify func(uintptr, string) | |||||
| 1649 | // and will be emitted (in reverse order) when g_object_thaw_notify() is | 1587 | // and will be emitted (in reverse order) when g_object_thaw_notify() is | ||
| 1650 | // called. | 1588 | // called. | ||
| 1651 | func (x *Object) Notify(PropertyNameVar string) { | 1589 | func (x *Object) Notify(PropertyNameVar string) { | ||
| 1652 | - | core.LazyRegister(&xObjectNotify, "GOBJECT", "g_object_notify", false) | |||
| 1653 | - | ||||
| 1654 | xObjectNotify(x.GoPointer(), PropertyNameVar) | 1590 | xObjectNotify(x.GoPointer(), PropertyNameVar) | ||
| 1655 | } | 1591 | } | ||
| 1656 | 1592 | ||||
| @@ -1698,8 +1634,6 @@ var xObjectNotifyByPspec func(uintptr, uintptr) | |||||
| 1698 | // | 1634 | // | ||
| 1699 | // ]| | 1635 | // ]| | ||
| 1700 | func (x *Object) NotifyByPspec(PspecVar *ParamSpec) { | 1636 | func (x *Object) NotifyByPspec(PspecVar *ParamSpec) { | ||
| 1701 | - | core.LazyRegister(&xObjectNotifyByPspec, "GOBJECT", "g_object_notify_by_pspec", false) | |||
| 1702 | - | ||||
| 1703 | xObjectNotifyByPspec(x.GoPointer(), PspecVar.GoPointer()) | 1637 | xObjectNotifyByPspec(x.GoPointer(), PspecVar.GoPointer()) | ||
| 1704 | } | 1638 | } | ||
| 1705 | 1639 | ||||
| @@ -1712,7 +1646,6 @@ var xObjectRef func(uintptr) uintptr | |||||
| 1712 | // extension), so any casting the caller needs to do on the return type must be | 1646 | // extension), so any casting the caller needs to do on the return type must be | ||
| 1713 | // explicit. | 1647 | // explicit. | ||
| 1714 | func (x *Object) Ref() *Object { | 1648 | func (x *Object) Ref() *Object { | ||
| 1715 | - | core.LazyRegister(&xObjectRef, "GOBJECT", "g_object_ref", false) | |||
| 1716 | var cls *Object | 1649 | var cls *Object | ||
| 1717 | 1650 | ||||
| 1718 | cret := xObjectRef(x.GoPointer()) | 1651 | cret := xObjectRef(x.GoPointer()) | ||
| @@ -1739,7 +1672,6 @@ var xObjectRefSink func(uintptr) uintptr | |||||
| 1739 | // Since GLib 2.56, the type of @object will be propagated to the return type | 1672 | // Since GLib 2.56, the type of @object will be propagated to the return type | ||
| 1740 | // under the same conditions as for g_object_ref(). | 1673 | // under the same conditions as for g_object_ref(). | ||
| 1741 | func (x *Object) RefSink() *Object { | 1674 | func (x *Object) RefSink() *Object { | ||
| 1742 | - | core.LazyRegister(&xObjectRefSink, "GOBJECT", "g_object_ref_sink", false) | |||
| 1743 | var cls *Object | 1675 | var cls *Object | ||
| 1744 | 1676 | ||||
| 1745 | cret := xObjectRefSink(x.GoPointer()) | 1677 | cret := xObjectRefSink(x.GoPointer()) | ||
| @@ -1763,8 +1695,6 @@ var xObjectRemoveToggleRef func(uintptr, uintptr, uintptr) | |||||
| 1763 | // might be a dangling pointer. If the object is destroyed on other threads, | 1695 | // might be a dangling pointer. If the object is destroyed on other threads, | ||
| 1764 | // you must take care of that yourself. | 1696 | // you must take care of that yourself. | ||
| 1765 | func (x *Object) RemoveToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | 1697 | func (x *Object) RemoveToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | ||
| 1766 | - | core.LazyRegister(&xObjectRemoveToggleRef, "GOBJECT", "g_object_remove_toggle_ref", false) | |||
| 1767 | - | ||||
| 1768 | xObjectRemoveToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | 1698 | xObjectRemoveToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | ||
| 1769 | } | 1699 | } | ||
| 1770 | 1700 | ||||
| @@ -1774,8 +1704,6 @@ var xObjectRemoveWeakPointer func(uintptr, *uintptr) | |||||
| 1774 | // using g_object_add_weak_pointer(). The @weak_pointer_location has | 1704 | // using g_object_add_weak_pointer(). The @weak_pointer_location has | ||
| 1775 | // to match the one used with g_object_add_weak_pointer(). | 1705 | // to match the one used with g_object_add_weak_pointer(). | ||
| 1776 | func (x *Object) RemoveWeakPointer(WeakPointerLocationVar *uintptr) { | 1706 | func (x *Object) RemoveWeakPointer(WeakPointerLocationVar *uintptr) { | ||
| 1777 | - | core.LazyRegister(&xObjectRemoveWeakPointer, "GOBJECT", "g_object_remove_weak_pointer", false) | |||
| 1778 | - | ||||
| 1779 | xObjectRemoveWeakPointer(x.GoPointer(), WeakPointerLocationVar) | 1707 | xObjectRemoveWeakPointer(x.GoPointer(), WeakPointerLocationVar) | ||
| 1780 | } | 1708 | } | ||
| 1781 | 1709 | ||||
| @@ -1798,8 +1726,6 @@ var xObjectReplaceData func(uintptr, string, uintptr, uintptr, uintptr, *glib.De | |||||
| 1798 | // See g_object_set_data() for guidance on using a small, bounded set of values | 1726 | // See g_object_set_data() for guidance on using a small, bounded set of values | ||
| 1799 | // for @key. | 1727 | // for @key. | ||
| 1800 | func (x *Object) ReplaceData(KeyVar string, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | 1728 | func (x *Object) ReplaceData(KeyVar string, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | ||
| 1801 | - | core.LazyRegister(&xObjectReplaceData, "GOBJECT", "g_object_replace_data", false) | |||
| 1802 | - | ||||
| 1803 | cret := xObjectReplaceData(x.GoPointer(), KeyVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | 1729 | cret := xObjectReplaceData(x.GoPointer(), KeyVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | ||
| 1804 | return cret | 1730 | return cret | ||
| 1805 | } | 1731 | } | ||
| @@ -1820,8 +1746,6 @@ var xObjectReplaceQdata func(uintptr, glib.Quark, uintptr, uintptr, uintptr, *gl | |||||
| 1820 | // or may not include using @old_destroy as sometimes replacement | 1746 | // or may not include using @old_destroy as sometimes replacement | ||
| 1821 | // should not destroy the object in the normal way. | 1747 | // should not destroy the object in the normal way. | ||
| 1822 | func (x *Object) ReplaceQdata(QuarkVar glib.Quark, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | 1748 | func (x *Object) ReplaceQdata(QuarkVar glib.Quark, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | ||
| 1823 | - | core.LazyRegister(&xObjectReplaceQdata, "GOBJECT", "g_object_replace_qdata", false) | |||
| 1824 | - | ||||
| 1825 | cret := xObjectReplaceQdata(x.GoPointer(), QuarkVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | 1749 | cret := xObjectReplaceQdata(x.GoPointer(), QuarkVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | ||
| 1826 | return cret | 1750 | return cret | ||
| 1827 | } | 1751 | } | ||
| @@ -1833,8 +1757,6 @@ var xObjectRunDispose func(uintptr) | |||||
| 1833 | // | 1757 | // | ||
| 1834 | // This function should only be called from object system implementations. | 1758 | // This function should only be called from object system implementations. | ||
| 1835 | func (x *Object) RunDispose() { | 1759 | func (x *Object) RunDispose() { | ||
| 1836 | - | core.LazyRegister(&xObjectRunDispose, "GOBJECT", "g_object_run_dispose", false) | |||
| 1837 | - | ||||
| 1838 | xObjectRunDispose(x.GoPointer()) | 1760 | xObjectRunDispose(x.GoPointer()) | ||
| 1839 | } | 1761 | } | ||
| 1840 | 1762 | ||||
| @@ -1851,8 +1773,6 @@ var xObjectSet func(uintptr, string, ...interface{}) | |||||
| 1851 | // reverse order) after all properties have been set. See | 1773 | // reverse order) after all properties have been set. See | ||
| 1852 | // g_object_freeze_notify(). | 1774 | // g_object_freeze_notify(). | ||
| 1853 | func (x *Object) Set(FirstPropertyNameVar string, varArgs ...interface{}) { | 1775 | func (x *Object) Set(FirstPropertyNameVar string, varArgs ...interface{}) { | ||
| 1854 | - | core.LazyRegister(&xObjectSet, "GOBJECT", "g_object_set", false) | |||
| 1855 | - | ||||
| 1856 | xObjectSet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | 1776 | xObjectSet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | ||
| 1857 | } | 1777 | } | ||
| 1858 | 1778 | ||||
| @@ -1869,8 +1789,6 @@ var xObjectSetData func(uintptr, string, uintptr) | |||||
| 1869 | // finalized) — so it is recommended to only use a small, bounded set of values | 1789 | // finalized) — so it is recommended to only use a small, bounded set of values | ||
| 1870 | // for @key in your program, to avoid the #GQuark storage growing unbounded. | 1790 | // for @key in your program, to avoid the #GQuark storage growing unbounded. | ||
| 1871 | func (x *Object) SetData(KeyVar string, DataVar uintptr) { | 1791 | func (x *Object) SetData(KeyVar string, DataVar uintptr) { | ||
| 1872 | - | core.LazyRegister(&xObjectSetData, "GOBJECT", "g_object_set_data", false) | |||
| 1873 | - | ||||
| 1874 | xObjectSetData(x.GoPointer(), KeyVar, DataVar) | 1792 | xObjectSetData(x.GoPointer(), KeyVar, DataVar) | ||
| 1875 | } | 1793 | } | ||
| 1876 | 1794 | ||||
| @@ -1882,8 +1800,6 @@ var xObjectSetDataFull func(uintptr, string, uintptr, uintptr) | |||||
| 1882 | // | 1800 | // | ||
| 1883 | // Note that the @destroy callback is not called if @data is %NULL. | 1801 | // Note that the @destroy callback is not called if @data is %NULL. | ||
| 1884 | func (x *Object) SetDataFull(KeyVar string, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | 1802 | func (x *Object) SetDataFull(KeyVar string, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | ||
| 1885 | - | core.LazyRegister(&xObjectSetDataFull, "GOBJECT", "g_object_set_data_full", false) | |||
| 1886 | - | ||||
| 1887 | xObjectSetDataFull(x.GoPointer(), KeyVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | 1803 | xObjectSetDataFull(x.GoPointer(), KeyVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | ||
| 1888 | } | 1804 | } | ||
| 1889 | 1805 | ||||
| @@ -1891,8 +1807,6 @@ var xObjectSetProperty func(uintptr, string, *Value) | |||||
| 1891 | 1807 | ||||
| 1892 | // Sets a property on an object. | 1808 | // Sets a property on an object. | ||
| 1893 | func (x *Object) SetProperty(PropertyNameVar string, ValueVar *Value) { | 1809 | func (x *Object) SetProperty(PropertyNameVar string, ValueVar *Value) { | ||
| 1894 | - | core.LazyRegister(&xObjectSetProperty, "GOBJECT", "g_object_set_property", false) | |||
| 1895 | - | ||||
| 1896 | xObjectSetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | 1810 | xObjectSetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | ||
| 1897 | } | 1811 | } | ||
| 1898 | 1812 | ||||
| @@ -1907,8 +1821,6 @@ var xObjectSetQdata func(uintptr, glib.Quark, uintptr) | |||||
| 1907 | // the old pointer set, using #NULL as pointer essentially | 1821 | // the old pointer set, using #NULL as pointer essentially | ||
| 1908 | // removes the data stored. | 1822 | // removes the data stored. | ||
| 1909 | func (x *Object) SetQdata(QuarkVar glib.Quark, DataVar uintptr) { | 1823 | func (x *Object) SetQdata(QuarkVar glib.Quark, DataVar uintptr) { | ||
| 1910 | - | core.LazyRegister(&xObjectSetQdata, "GOBJECT", "g_object_set_qdata", false) | |||
| 1911 | - | ||||
| 1912 | xObjectSetQdata(x.GoPointer(), QuarkVar, DataVar) | 1824 | xObjectSetQdata(x.GoPointer(), QuarkVar, DataVar) | ||
| 1913 | } | 1825 | } | ||
| 1914 | 1826 | ||||
| @@ -1920,8 +1832,6 @@ var xObjectSetQdataFull func(uintptr, glib.Quark, uintptr, uintptr) | |||||
| 1920 | // the data is being overwritten by a call to g_object_set_qdata() | 1832 | // the data is being overwritten by a call to g_object_set_qdata() | ||
| 1921 | // with the same @quark. | 1833 | // with the same @quark. | ||
| 1922 | func (x *Object) SetQdataFull(QuarkVar glib.Quark, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | 1834 | func (x *Object) SetQdataFull(QuarkVar glib.Quark, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | ||
| 1923 | - | core.LazyRegister(&xObjectSetQdataFull, "GOBJECT", "g_object_set_qdata_full", false) | |||
| 1924 | - | ||||
| 1925 | xObjectSetQdataFull(x.GoPointer(), QuarkVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | 1835 | xObjectSetQdataFull(x.GoPointer(), QuarkVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | ||
| 1926 | } | 1836 | } | ||
| 1927 | 1837 | ||||
| @@ -1929,8 +1839,6 @@ var xObjectSetValist func(uintptr, string, []interface{}) | |||||
| 1929 | 1839 | ||||
| 1930 | // Sets properties on an object. | 1840 | // Sets properties on an object. | ||
| 1931 | func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | 1841 | func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | ||
| 1932 | - | core.LazyRegister(&xObjectSetValist, "GOBJECT", "g_object_set_valist", false) | |||
| 1933 | - | ||||
| 1934 | xObjectSetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | 1842 | xObjectSetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | ||
| 1935 | } | 1843 | } | ||
| 1936 | 1844 | ||||
| @@ -1941,8 +1849,6 @@ var xObjectSetv func(uintptr, uint, []string, []Value) | |||||
| 1941 | // valid. Warnings will be emitted and undefined behaviour may result if invalid | 1849 | // valid. Warnings will be emitted and undefined behaviour may result if invalid | ||
| 1942 | // properties are passed in. | 1850 | // properties are passed in. | ||
| 1943 | func (x *Object) Setv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | 1851 | func (x *Object) Setv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | ||
| 1944 | - | core.LazyRegister(&xObjectSetv, "GOBJECT", "g_object_setv", false) | |||
| 1945 | - | ||||
| 1946 | xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | 1852 | xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | ||
| 1947 | } | 1853 | } | ||
| 1948 | 1854 | ||||
| @@ -1951,8 +1857,6 @@ var xObjectStealData func(uintptr, string) uintptr | |||||
| 1951 | // Remove a specified datum from the object's data associations, | 1857 | // Remove a specified datum from the object's data associations, | ||
| 1952 | // without invoking the association's destroy handler. | 1858 | // without invoking the association's destroy handler. | ||
| 1953 | func (x *Object) StealData(KeyVar string) uintptr { | 1859 | func (x *Object) StealData(KeyVar string) uintptr { | ||
| 1954 | - | core.LazyRegister(&xObjectStealData, "GOBJECT", "g_object_steal_data", false) | |||
| 1955 | - | ||||
| 1956 | cret := xObjectStealData(x.GoPointer(), KeyVar) | 1860 | cret := xObjectStealData(x.GoPointer(), KeyVar) | ||
| 1957 | return cret | 1861 | return cret | ||
| 1958 | } | 1862 | } | ||
| @@ -2000,8 +1904,6 @@ var xObjectStealQdata func(uintptr, glib.Quark) uintptr | |||||
| 2000 | // and thus the partial string list would have been freed upon | 1904 | // and thus the partial string list would have been freed upon | ||
| 2001 | // g_object_set_qdata_full(). | 1905 | // g_object_set_qdata_full(). | ||
| 2002 | func (x *Object) StealQdata(QuarkVar glib.Quark) uintptr { | 1906 | func (x *Object) StealQdata(QuarkVar glib.Quark) uintptr { | ||
| 2003 | - | core.LazyRegister(&xObjectStealQdata, "GOBJECT", "g_object_steal_qdata", false) | |||
| 2004 | - | ||||
| 2005 | cret := xObjectStealQdata(x.GoPointer(), QuarkVar) | 1907 | cret := xObjectStealQdata(x.GoPointer(), QuarkVar) | ||
| 2006 | return cret | 1908 | return cret | ||
| 2007 | } | 1909 | } | ||
| @@ -2044,7 +1946,6 @@ var xObjectTakeRef func(uintptr) uintptr | |||||
| 2044 | // additional reference on top of that one is added. It is best to avoid | 1946 | // additional reference on top of that one is added. It is best to avoid | ||
| 2045 | // this situation. | 1947 | // this situation. | ||
| 2046 | func (x *Object) TakeRef() *Object { | 1948 | func (x *Object) TakeRef() *Object { | ||
| 2047 | - | core.LazyRegister(&xObjectTakeRef, "GOBJECT", "g_object_take_ref", false) | |||
| 2048 | var cls *Object | 1949 | var cls *Object | ||
| 2049 | 1950 | ||||
| 2050 | cret := xObjectTakeRef(x.GoPointer()) | 1951 | cret := xObjectTakeRef(x.GoPointer()) | ||
| @@ -2069,8 +1970,6 @@ var xObjectThawNotify func(uintptr) | |||||
| 2069 | // | 1970 | // | ||
| 2070 | // It is an error to call this function when the freeze count is zero. | 1971 | // It is an error to call this function when the freeze count is zero. | ||
| 2071 | func (x *Object) ThawNotify() { | 1972 | func (x *Object) ThawNotify() { | ||
| 2072 | - | core.LazyRegister(&xObjectThawNotify, "GOBJECT", "g_object_thaw_notify", false) | |||
| 2073 | - | ||||
| 2074 | xObjectThawNotify(x.GoPointer()) | 1973 | xObjectThawNotify(x.GoPointer()) | ||
| 2075 | } | 1974 | } | ||
| 2076 | 1975 | ||||
| @@ -2084,8 +1983,6 @@ var xObjectUnref func(uintptr) | |||||
| 2084 | // pointer to %NULL rather than retain a dangling pointer to a potentially | 1983 | // pointer to %NULL rather than retain a dangling pointer to a potentially | ||
| 2085 | // invalid #GObject instance. Use g_clear_object() for this. | 1984 | // invalid #GObject instance. Use g_clear_object() for this. | ||
| 2086 | func (x *Object) Unref() { | 1985 | func (x *Object) Unref() { | ||
| 2087 | - | core.LazyRegister(&xObjectUnref, "GOBJECT", "g_object_unref", false) | |||
| 2088 | - | ||||
| 2089 | xObjectUnref(x.GoPointer()) | 1986 | xObjectUnref(x.GoPointer()) | ||
| 2090 | } | 1987 | } | ||
| 2091 | 1988 | ||||
| @@ -2101,8 +1998,6 @@ var xObjectWatchClosure func(uintptr, *Closure) | |||||
| 2101 | // @closure. Usually, this function will be called on closures that | 1998 | // @closure. Usually, this function will be called on closures that | ||
| 2102 | // use this @object as closure data. | 1999 | // use this @object as closure data. | ||
| 2103 | func (x *Object) WatchClosure(ClosureVar *Closure) { | 2000 | func (x *Object) WatchClosure(ClosureVar *Closure) { | ||
| 2104 | - | core.LazyRegister(&xObjectWatchClosure, "GOBJECT", "g_object_watch_closure", false) | |||
| 2105 | - | ||||
| 2106 | xObjectWatchClosure(x.GoPointer(), ClosureVar) | 2001 | xObjectWatchClosure(x.GoPointer(), ClosureVar) | ||
| 2107 | } | 2002 | } | ||
| 2108 | 2003 | ||||
| @@ -2119,8 +2014,6 @@ var xObjectWeakRef func(uintptr, uintptr, uintptr) | |||||
| 2119 | // object's last g_object_unref() might happen in another thread. | 2014 | // object's last g_object_unref() might happen in another thread. | ||
| 2120 | // Use #GWeakRef if thread-safety is required. | 2015 | // Use #GWeakRef if thread-safety is required. | ||
| 2121 | func (x *Object) WeakRef(NotifyVar *WeakNotify, DataVar uintptr) { | 2016 | func (x *Object) WeakRef(NotifyVar *WeakNotify, DataVar uintptr) { | ||
| 2122 | - | core.LazyRegister(&xObjectWeakRef, "GOBJECT", "g_object_weak_ref", false) | |||
| 2123 | - | ||||
| 2124 | xObjectWeakRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | 2017 | xObjectWeakRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | ||
| 2125 | } | 2018 | } | ||
| 2126 | 2019 | ||||
| @@ -2128,8 +2021,6 @@ var xObjectWeakUnref func(uintptr, uintptr, uintptr) | |||||
| 2128 | 2021 | ||||
| 2129 | // Removes a weak reference callback to an object. | 2022 | // Removes a weak reference callback to an object. | ||
| 2130 | func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | 2023 | func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | ||
| 2131 | - | core.LazyRegister(&xObjectWeakUnref, "GOBJECT", "g_object_weak_unref", false) | |||
| 2132 | - | ||||
| 2133 | xObjectWeakUnref(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | 2024 | xObjectWeakUnref(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | ||
| 2134 | } | 2025 | } | ||
| 2135 | 2026 | ||||
| @@ -2196,8 +2087,6 @@ func (x *Object) ConnectNotify(cb *func(Object, uintptr)) uint { | |||||
| 2196 | var xObjectCompatControl func(uint, uintptr) uint | 2087 | var xObjectCompatControl func(uint, uintptr) uint | ||
| 2197 | 2088 | ||||
| 2198 | func ObjectCompatControl(WhatVar uint, DataVar uintptr) uint { | 2089 | func ObjectCompatControl(WhatVar uint, DataVar uintptr) uint { | ||
| 2199 | - | core.LazyRegister(&xObjectCompatControl, "GOBJECT", "g_object_compat_control", false) | |||
| 2200 | - | ||||
| 2201 | cret := xObjectCompatControl(WhatVar, DataVar) | 2090 | cret := xObjectCompatControl(WhatVar, DataVar) | ||
| 2202 | return cret | 2091 | return cret | ||
| 2203 | } | 2092 | } | ||
| @@ -2210,7 +2099,6 @@ var xObjectInterfaceFindProperty func(*TypeInterface, string) uintptr | |||||
| 2210 | // if you know the interface has already been loaded, | 2099 | // if you know the interface has already been loaded, | ||
| 2211 | // g_type_default_interface_peek(). | 2100 | // g_type_default_interface_peek(). | ||
| 2212 | func ObjectInterfaceFindProperty(GIfaceVar *TypeInterface, PropertyNameVar string) *ParamSpec { | 2101 | func ObjectInterfaceFindProperty(GIfaceVar *TypeInterface, PropertyNameVar string) *ParamSpec { | ||
| 2213 | - | core.LazyRegister(&xObjectInterfaceFindProperty, "GOBJECT", "g_object_interface_find_property", false) | |||
| 2214 | var cls *ParamSpec | 2102 | var cls *ParamSpec | ||
| 2215 | 2103 | ||||
| 2216 | cret := xObjectInterfaceFindProperty(GIfaceVar, PropertyNameVar) | 2104 | cret := xObjectInterfaceFindProperty(GIfaceVar, PropertyNameVar) | ||
| @@ -2243,8 +2131,6 @@ var xObjectInterfaceInstallProperty func(*TypeInterface, uintptr) | |||||
| 2243 | // | 2131 | // | ||
| 2244 | // If @pspec is a floating reference, it will be consumed. | 2132 | // If @pspec is a floating reference, it will be consumed. | ||
| 2245 | func ObjectInterfaceInstallProperty(GIfaceVar *TypeInterface, PspecVar *ParamSpec) { | 2133 | func ObjectInterfaceInstallProperty(GIfaceVar *TypeInterface, PspecVar *ParamSpec) { | ||
| 2246 | - | core.LazyRegister(&xObjectInterfaceInstallProperty, "GOBJECT", "g_object_interface_install_property", false) | |||
| 2247 | - | ||||
| 2248 | xObjectInterfaceInstallProperty(GIfaceVar, PspecVar.GoPointer()) | 2134 | xObjectInterfaceInstallProperty(GIfaceVar, PspecVar.GoPointer()) | ||
| 2249 | } | 2135 | } | ||
| 2250 | 2136 | ||||
| @@ -2255,8 +2141,6 @@ var xObjectInterfaceListProperties func(*TypeInterface, *uint) uintptr | |||||
| 2255 | // g_type_default_interface_ref(), or, if you know the interface has | 2141 | // g_type_default_interface_ref(), or, if you know the interface has | ||
| 2256 | // already been loaded, g_type_default_interface_peek(). | 2142 | // already been loaded, g_type_default_interface_peek(). | ||
| 2257 | func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *uint) uintptr { | 2143 | func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *uint) uintptr { | ||
| 2258 | - | core.LazyRegister(&xObjectInterfaceListProperties, "GOBJECT", "g_object_interface_list_properties", false) | |||
| 2259 | - | ||||
| 2260 | cret := xObjectInterfaceListProperties(GIfaceVar, NPropertiesPVar) | 2144 | cret := xObjectInterfaceListProperties(GIfaceVar, NPropertiesPVar) | ||
| 2261 | return cret | 2145 | return cret | ||
| 2262 | } | 2146 | } | ||
| @@ -2264,4 +2148,86 @@ func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *ui | |||||
| 2264 | func init() { | 2148 | func init() { | ||
| 2265 | core.SetPackageName("GOBJECT", "gobject-2.0") | 2149 | core.SetPackageName("GOBJECT", "gobject-2.0") | ||
| 2266 | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | 2150 | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | ||
| 2151 | + | var libs []uintptr | |||
| 2152 | + | for _, libPath := range core.GetPaths("GOBJECT") { | |||
| 2153 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 2154 | + | if err != nil { | |||
| 2155 | + | panic(err) | |||
| 2156 | + | } | |||
| 2157 | + | libs = append(libs, lib) | |||
| 2158 | + | } | |||
| 2159 | + | ||||
| 2160 | + | core.PuregoSafeRegister(&xCclosureNewObject, libs, "g_cclosure_new_object") | |||
| 2161 | + | core.PuregoSafeRegister(&xCclosureNewObjectSwap, libs, "g_cclosure_new_object_swap") | |||
| 2162 | + | core.PuregoSafeRegister(&xClearObject, libs, "g_clear_object") | |||
| 2163 | + | core.PuregoSafeRegister(&xSignalConnectObject, libs, "g_signal_connect_object") | |||
| 2164 | + | ||||
| 2165 | + | core.PuregoSafeRegister(&xObjectClassFindProperty, libs, "g_object_class_find_property") | |||
| 2166 | + | core.PuregoSafeRegister(&xObjectClassInstallProperties, libs, "g_object_class_install_properties") | |||
| 2167 | + | core.PuregoSafeRegister(&xObjectClassInstallProperty, libs, "g_object_class_install_property") | |||
| 2168 | + | core.PuregoSafeRegister(&xObjectClassListProperties, libs, "g_object_class_list_properties") | |||
| 2169 | + | core.PuregoSafeRegister(&xObjectClassOverrideProperty, libs, "g_object_class_override_property") | |||
| 2170 | + | ||||
| 2171 | + | core.PuregoSafeRegister(&xWeakRefClear, libs, "g_weak_ref_clear") | |||
| 2172 | + | core.PuregoSafeRegister(&xWeakRefGet, libs, "g_weak_ref_get") | |||
| 2173 | + | core.PuregoSafeRegister(&xWeakRefInit, libs, "g_weak_ref_init") | |||
| 2174 | + | core.PuregoSafeRegister(&xWeakRefSet, libs, "g_weak_ref_set") | |||
| 2175 | + | ||||
| 2176 | + | core.PuregoSafeRegister(&xInitiallyUnownedGLibType, libs, "g_initially_unowned_get_type") | |||
| 2177 | + | ||||
| 2178 | + | core.PuregoSafeRegister(&xObjectGLibType, libs, "g_object_get_type") | |||
| 2179 | + | ||||
| 2180 | + | core.PuregoSafeRegister(&xNewObject, libs, "g_object_new") | |||
| 2181 | + | core.PuregoSafeRegister(&xNewObjectValist, libs, "g_object_new_valist") | |||
| 2182 | + | core.PuregoSafeRegister(&xNewObjectWithProperties, libs, "g_object_new_with_properties") | |||
| 2183 | + | core.PuregoSafeRegister(&xNewObjectv, libs, "g_object_newv") | |||
| 2184 | + | ||||
| 2185 | + | core.PuregoSafeRegister(&xObjectAddToggleRef, libs, "g_object_add_toggle_ref") | |||
| 2186 | + | core.PuregoSafeRegister(&xObjectAddWeakPointer, libs, "g_object_add_weak_pointer") | |||
| 2187 | + | core.PuregoSafeRegister(&xObjectBindProperty, libs, "g_object_bind_property") | |||
| 2188 | + | core.PuregoSafeRegister(&xObjectBindPropertyFull, libs, "g_object_bind_property_full") | |||
| 2189 | + | core.PuregoSafeRegister(&xObjectBindPropertyWithClosures, libs, "g_object_bind_property_with_closures") | |||
| 2190 | + | core.PuregoSafeRegister(&xObjectConnect, libs, "g_object_connect") | |||
| 2191 | + | core.PuregoSafeRegister(&xObjectDisconnect, libs, "g_object_disconnect") | |||
| 2192 | + | core.PuregoSafeRegister(&xObjectDupData, libs, "g_object_dup_data") | |||
| 2193 | + | core.PuregoSafeRegister(&xObjectDupQdata, libs, "g_object_dup_qdata") | |||
| 2194 | + | core.PuregoSafeRegister(&xObjectForceFloating, libs, "g_object_force_floating") | |||
| 2195 | + | core.PuregoSafeRegister(&xObjectFreezeNotify, libs, "g_object_freeze_notify") | |||
| 2196 | + | core.PuregoSafeRegister(&xObjectGet, libs, "g_object_get") | |||
| 2197 | + | core.PuregoSafeRegister(&xObjectGetData, libs, "g_object_get_data") | |||
| 2198 | + | core.PuregoSafeRegister(&xObjectGetProperty, libs, "g_object_get_property") | |||
| 2199 | + | core.PuregoSafeRegister(&xObjectGetQdata, libs, "g_object_get_qdata") | |||
| 2200 | + | core.PuregoSafeRegister(&xObjectGetValist, libs, "g_object_get_valist") | |||
| 2201 | + | core.PuregoSafeRegister(&xObjectGetv, libs, "g_object_getv") | |||
| 2202 | + | core.PuregoSafeRegister(&xObjectIsFloating, libs, "g_object_is_floating") | |||
| 2203 | + | core.PuregoSafeRegister(&xObjectNotify, libs, "g_object_notify") | |||
| 2204 | + | core.PuregoSafeRegister(&xObjectNotifyByPspec, libs, "g_object_notify_by_pspec") | |||
| 2205 | + | core.PuregoSafeRegister(&xObjectRef, libs, "g_object_ref") | |||
| 2206 | + | core.PuregoSafeRegister(&xObjectRefSink, libs, "g_object_ref_sink") | |||
| 2207 | + | core.PuregoSafeRegister(&xObjectRemoveToggleRef, libs, "g_object_remove_toggle_ref") | |||
| 2208 | + | core.PuregoSafeRegister(&xObjectRemoveWeakPointer, libs, "g_object_remove_weak_pointer") | |||
| 2209 | + | core.PuregoSafeRegister(&xObjectReplaceData, libs, "g_object_replace_data") | |||
| 2210 | + | core.PuregoSafeRegister(&xObjectReplaceQdata, libs, "g_object_replace_qdata") | |||
| 2211 | + | core.PuregoSafeRegister(&xObjectRunDispose, libs, "g_object_run_dispose") | |||
| 2212 | + | core.PuregoSafeRegister(&xObjectSet, libs, "g_object_set") | |||
| 2213 | + | core.PuregoSafeRegister(&xObjectSetData, libs, "g_object_set_data") | |||
| 2214 | + | core.PuregoSafeRegister(&xObjectSetDataFull, libs, "g_object_set_data_full") | |||
| 2215 | + | core.PuregoSafeRegister(&xObjectSetProperty, libs, "g_object_set_property") | |||
| 2216 | + | core.PuregoSafeRegister(&xObjectSetQdata, libs, "g_object_set_qdata") | |||
| 2217 | + | core.PuregoSafeRegister(&xObjectSetQdataFull, libs, "g_object_set_qdata_full") | |||
| 2218 | + | core.PuregoSafeRegister(&xObjectSetValist, libs, "g_object_set_valist") | |||
| 2219 | + | core.PuregoSafeRegister(&xObjectSetv, libs, "g_object_setv") | |||
| 2220 | + | core.PuregoSafeRegister(&xObjectStealData, libs, "g_object_steal_data") | |||
| 2221 | + | core.PuregoSafeRegister(&xObjectStealQdata, libs, "g_object_steal_qdata") | |||
| 2222 | + | core.PuregoSafeRegister(&xObjectTakeRef, libs, "g_object_take_ref") | |||
| 2223 | + | core.PuregoSafeRegister(&xObjectThawNotify, libs, "g_object_thaw_notify") | |||
| 2224 | + | core.PuregoSafeRegister(&xObjectUnref, libs, "g_object_unref") | |||
| 2225 | + | core.PuregoSafeRegister(&xObjectWatchClosure, libs, "g_object_watch_closure") | |||
| 2226 | + | core.PuregoSafeRegister(&xObjectWeakRef, libs, "g_object_weak_ref") | |||
| 2227 | + | core.PuregoSafeRegister(&xObjectWeakUnref, libs, "g_object_weak_unref") | |||
| 2228 | + | ||||
| 2229 | + | core.PuregoSafeRegister(&xObjectCompatControl, libs, "g_object_compat_control") | |||
| 2230 | + | core.PuregoSafeRegister(&xObjectInterfaceFindProperty, libs, "g_object_interface_find_property") | |||
| 2231 | + | core.PuregoSafeRegister(&xObjectInterfaceInstallProperty, libs, "g_object_interface_install_property") | |||
| 2232 | + | core.PuregoSafeRegister(&xObjectInterfaceListProperties, libs, "g_object_interface_list_properties") | |||
| 2267 | } | 2233 | } | ||