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