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
| @@ -5,6 +5,7 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/purego" | |
| 8 | 9 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 10 | "github.com/bnema/puregotk/v4/gobject/types" | |
| 10 | 11 | ) | |
| @@ -53,7 +54,6 @@ type BookmarkFile struct { | |||
| 53 | 54 | var xBookmarkFileGLibType func() types.GType | |
| 54 | 55 | ||
| 55 | 56 | func BookmarkFileGLibType() types.GType { | |
| 56 | - | core.LazyRegister(&xBookmarkFileGLibType, "GLIB", "g_bookmark_file_get_type", false) | |
| 57 | 57 | return xBookmarkFileGLibType() | |
| 58 | 58 | } | |
| 59 | 59 | ||
| @@ -77,8 +77,6 @@ var xNewBookmarkFile func() uintptr | |||
| 77 | 77 | // or g_bookmark_file_load_from_data_dirs() to read an existing bookmark | |
| 78 | 78 | // file. | |
| 79 | 79 | func NewBookmarkFile() *BookmarkFile { | |
| 80 | - | core.LazyRegister(&xNewBookmarkFile, "GLIB", "g_bookmark_file_new", false) | |
| 81 | - | ||
| 82 | 80 | cret := xNewBookmarkFile() | |
| 83 | 81 | if cret == 0 { | |
| 84 | 82 | return nil | |
| @@ -111,8 +109,6 @@ var xBookmarkFileAddApplication func(uintptr, string, uintptr, uintptr) | |||
| 111 | 109 | // | |
| 112 | 110 | // If no bookmark for @uri is found, one is created. | |
| 113 | 111 | func (x *BookmarkFile) AddApplication(UriVar string, NameVar *string, ExecVar *string) { | |
| 114 | - | core.LazyRegister(&xBookmarkFileAddApplication, "GLIB", "g_bookmark_file_add_application", false) | |
| 115 | - | ||
| 116 | 112 | NameVarPtr := core.GStrdupNullable(NameVar) | |
| 117 | 113 | defer core.GFreeNullable(NameVarPtr) | |
| 118 | 114 | ||
| @@ -129,8 +125,6 @@ var xBookmarkFileAddGroup func(uintptr, string, string) | |||
| 129 | 125 | // | |
| 130 | 126 | // If no bookmark for @uri is found then it is created. | |
| 131 | 127 | func (x *BookmarkFile) AddGroup(UriVar string, GroupVar string) { | |
| 132 | - | core.LazyRegister(&xBookmarkFileAddGroup, "GLIB", "g_bookmark_file_add_group", false) | |
| 133 | - | ||
| 134 | 128 | xBookmarkFileAddGroup(x.GoPointer(), UriVar, GroupVar) | |
| 135 | 129 | } | |
| 136 | 130 | ||
| @@ -138,8 +132,6 @@ var xBookmarkFileCopy func(uintptr) uintptr | |||
| 138 | 132 | ||
| 139 | 133 | // Deeply copies a @bookmark #GBookmarkFile object to a new one. | |
| 140 | 134 | func (x *BookmarkFile) Copy() *BookmarkFile { | |
| 141 | - | core.LazyRegister(&xBookmarkFileCopy, "GLIB", "g_bookmark_file_copy", false) | |
| 142 | - | ||
| 143 | 135 | cret := xBookmarkFileCopy(x.GoPointer()) | |
| 144 | 136 | if cret == 0 { | |
| 145 | 137 | return nil | |
| @@ -151,8 +143,6 @@ var xBookmarkFileFree func(uintptr) | |||
| 151 | 143 | ||
| 152 | 144 | // Frees a #GBookmarkFile. | |
| 153 | 145 | func (x *BookmarkFile) Free() { | |
| 154 | - | core.LazyRegister(&xBookmarkFileFree, "GLIB", "g_bookmark_file_free", false) | |
| 155 | - | ||
| 156 | 146 | xBookmarkFileFree(x.GoPointer()) | |
| 157 | 147 | } | |
| 158 | 148 | ||
| @@ -163,7 +153,6 @@ var xBookmarkFileGetAdded func(uintptr, string, **Error) int | |||
| 163 | 153 | // In the event the URI cannot be found, -1 is returned and | |
| 164 | 154 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 165 | 155 | func (x *BookmarkFile) GetAdded(UriVar string) (int, error) { | |
| 166 | - | core.LazyRegister(&xBookmarkFileGetAdded, "GLIB", "g_bookmark_file_get_added", false) | |
| 167 | 156 | var cerr *Error | |
| 168 | 157 | ||
| 169 | 158 | cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr) | |
| @@ -180,7 +169,6 @@ var xBookmarkFileGetAddedDateTime func(uintptr, string, **Error) uintptr | |||
| 180 | 169 | // In the event the URI cannot be found, %NULL is returned and | |
| 181 | 170 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 182 | 171 | func (x *BookmarkFile) GetAddedDateTime(UriVar string) (*DateTime, error) { | |
| 183 | - | core.LazyRegister(&xBookmarkFileGetAddedDateTime, "GLIB", "g_bookmark_file_get_added_date_time", false) | |
| 184 | 172 | var cerr *Error | |
| 185 | 173 | ||
| 186 | 174 | cret := xBookmarkFileGetAddedDateTime(x.GoPointer(), UriVar, &cerr) | |
| @@ -209,7 +197,6 @@ var xBookmarkFileGetAppInfo func(uintptr, string, string, *string, *uint, *int, | |||
| 209 | 197 | // the command line fails, an error of the %G_SHELL_ERROR domain is | |
| 210 | 198 | // set and %FALSE is returned. | |
| 211 | 199 | func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar *string, CountVar *uint, StampVar *int) (bool, error) { | |
| 212 | - | core.LazyRegister(&xBookmarkFileGetAppInfo, "GLIB", "g_bookmark_file_get_app_info", false) | |
| 213 | 200 | var cerr *Error | |
| 214 | 201 | ||
| 215 | 202 | cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| @@ -235,7 +222,6 @@ var xBookmarkFileGetApplicationInfo func(uintptr, string, string, *string, *uint | |||
| 235 | 222 | // the command line fails, an error of the %G_SHELL_ERROR domain is | |
| 236 | 223 | // set and %FALSE is returned. | |
| 237 | 224 | func (x *BookmarkFile) GetApplicationInfo(UriVar string, NameVar string, ExecVar *string, CountVar *uint, StampVar **DateTime) (bool, error) { | |
| 238 | - | core.LazyRegister(&xBookmarkFileGetApplicationInfo, "GLIB", "g_bookmark_file_get_application_info", false) | |
| 239 | 225 | var cerr *Error | |
| 240 | 226 | ||
| 241 | 227 | cret := xBookmarkFileGetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| @@ -253,7 +239,6 @@ var xBookmarkFileGetApplications func(uintptr, string, *uint, **Error) []string | |||
| 253 | 239 | // In the event the URI cannot be found, %NULL is returned and | |
| 254 | 240 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 255 | 241 | func (x *BookmarkFile) GetApplications(UriVar string, LengthVar *uint) ([]string, error) { | |
| 256 | - | core.LazyRegister(&xBookmarkFileGetApplications, "GLIB", "g_bookmark_file_get_applications", false) | |
| 257 | 242 | var cerr *Error | |
| 258 | 243 | ||
| 259 | 244 | cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr) | |
| @@ -270,7 +255,6 @@ var xBookmarkFileGetDescription func(uintptr, string, **Error) string | |||
| 270 | 255 | // In the event the URI cannot be found, %NULL is returned and | |
| 271 | 256 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 272 | 257 | func (x *BookmarkFile) GetDescription(UriVar string) (string, error) { | |
| 273 | - | core.LazyRegister(&xBookmarkFileGetDescription, "GLIB", "g_bookmark_file_get_description", false) | |
| 274 | 258 | var cerr *Error | |
| 275 | 259 | ||
| 276 | 260 | cret := xBookmarkFileGetDescription(x.GoPointer(), UriVar, &cerr) | |
| @@ -290,7 +274,6 @@ var xBookmarkFileGetGroups func(uintptr, string, *uint, **Error) []string | |||
| 290 | 274 | // The returned array is %NULL terminated, so @length may optionally | |
| 291 | 275 | // be %NULL. | |
| 292 | 276 | func (x *BookmarkFile) GetGroups(UriVar string, LengthVar *uint) ([]string, error) { | |
| 293 | - | core.LazyRegister(&xBookmarkFileGetGroups, "GLIB", "g_bookmark_file_get_groups", false) | |
| 294 | 277 | var cerr *Error | |
| 295 | 278 | ||
| 296 | 279 | cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr) | |
| @@ -307,7 +290,6 @@ var xBookmarkFileGetIcon func(uintptr, string, *string, *string, **Error) bool | |||
| 307 | 290 | // In the event the URI cannot be found, %FALSE is returned and | |
| 308 | 291 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 309 | 292 | func (x *BookmarkFile) GetIcon(UriVar string, HrefVar *string, MimeTypeVar *string) (bool, error) { | |
| 310 | - | core.LazyRegister(&xBookmarkFileGetIcon, "GLIB", "g_bookmark_file_get_icon", false) | |
| 311 | 293 | var cerr *Error | |
| 312 | 294 | ||
| 313 | 295 | cret := xBookmarkFileGetIcon(x.GoPointer(), UriVar, HrefVar, MimeTypeVar, &cerr) | |
| @@ -326,7 +308,6 @@ var xBookmarkFileGetIsPrivate func(uintptr, string, **Error) bool | |||
| 326 | 308 | // event that the private flag cannot be found, %FALSE is returned and | |
| 327 | 309 | // @error is set to %G_BOOKMARK_FILE_ERROR_INVALID_VALUE. | |
| 328 | 310 | func (x *BookmarkFile) GetIsPrivate(UriVar string) (bool, error) { | |
| 329 | - | core.LazyRegister(&xBookmarkFileGetIsPrivate, "GLIB", "g_bookmark_file_get_is_private", false) | |
| 330 | 311 | var cerr *Error | |
| 331 | 312 | ||
| 332 | 313 | cret := xBookmarkFileGetIsPrivate(x.GoPointer(), UriVar, &cerr) | |
| @@ -345,7 +326,6 @@ var xBookmarkFileGetMimeType func(uintptr, string, **Error) string | |||
| 345 | 326 | // event that the MIME type cannot be found, %NULL is returned and | |
| 346 | 327 | // @error is set to %G_BOOKMARK_FILE_ERROR_INVALID_VALUE. | |
| 347 | 328 | func (x *BookmarkFile) GetMimeType(UriVar string) (string, error) { | |
| 348 | - | core.LazyRegister(&xBookmarkFileGetMimeType, "GLIB", "g_bookmark_file_get_mime_type", false) | |
| 349 | 329 | var cerr *Error | |
| 350 | 330 | ||
| 351 | 331 | cret := xBookmarkFileGetMimeType(x.GoPointer(), UriVar, &cerr) | |
| @@ -362,7 +342,6 @@ var xBookmarkFileGetModified func(uintptr, string, **Error) int | |||
| 362 | 342 | // In the event the URI cannot be found, -1 is returned and | |
| 363 | 343 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 364 | 344 | func (x *BookmarkFile) GetModified(UriVar string) (int, error) { | |
| 365 | - | core.LazyRegister(&xBookmarkFileGetModified, "GLIB", "g_bookmark_file_get_modified", false) | |
| 366 | 345 | var cerr *Error | |
| 367 | 346 | ||
| 368 | 347 | cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr) | |
| @@ -379,7 +358,6 @@ var xBookmarkFileGetModifiedDateTime func(uintptr, string, **Error) uintptr | |||
| 379 | 358 | // In the event the URI cannot be found, %NULL is returned and | |
| 380 | 359 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 381 | 360 | func (x *BookmarkFile) GetModifiedDateTime(UriVar string) (*DateTime, error) { | |
| 382 | - | core.LazyRegister(&xBookmarkFileGetModifiedDateTime, "GLIB", "g_bookmark_file_get_modified_date_time", false) | |
| 383 | 361 | var cerr *Error | |
| 384 | 362 | ||
| 385 | 363 | cret := xBookmarkFileGetModifiedDateTime(x.GoPointer(), UriVar, &cerr) | |
| @@ -396,8 +374,6 @@ var xBookmarkFileGetSize func(uintptr) int | |||
| 396 | 374 | ||
| 397 | 375 | // Gets the number of bookmarks inside @bookmark. | |
| 398 | 376 | func (x *BookmarkFile) GetSize() int { | |
| 399 | - | core.LazyRegister(&xBookmarkFileGetSize, "GLIB", "g_bookmark_file_get_size", false) | |
| 400 | - | ||
| 401 | 377 | cret := xBookmarkFileGetSize(x.GoPointer()) | |
| 402 | 378 | return cret | |
| 403 | 379 | } | |
| @@ -411,7 +387,6 @@ var xBookmarkFileGetTitle func(uintptr, uintptr, **Error) string | |||
| 411 | 387 | // In the event the URI cannot be found, %NULL is returned and | |
| 412 | 388 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 413 | 389 | func (x *BookmarkFile) GetTitle(UriVar *string) (string, error) { | |
| 414 | - | core.LazyRegister(&xBookmarkFileGetTitle, "GLIB", "g_bookmark_file_get_title", false) | |
| 415 | 390 | var cerr *Error | |
| 416 | 391 | ||
| 417 | 392 | UriVarPtr := core.GStrdupNullable(UriVar) | |
| @@ -430,8 +405,6 @@ var xBookmarkFileGetUris func(uintptr, *uint) []string | |||
| 430 | 405 | // The array of returned URIs will be %NULL-terminated, so @length may | |
| 431 | 406 | // optionally be %NULL. | |
| 432 | 407 | func (x *BookmarkFile) GetUris(LengthVar *uint) []string { | |
| 433 | - | core.LazyRegister(&xBookmarkFileGetUris, "GLIB", "g_bookmark_file_get_uris", false) | |
| 434 | - | ||
| 435 | 408 | cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar) | |
| 436 | 409 | return cret | |
| 437 | 410 | } | |
| @@ -443,7 +416,6 @@ var xBookmarkFileGetVisited func(uintptr, string, **Error) int | |||
| 443 | 416 | // In the event the URI cannot be found, -1 is returned and | |
| 444 | 417 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 445 | 418 | func (x *BookmarkFile) GetVisited(UriVar string) (int, error) { | |
| 446 | - | core.LazyRegister(&xBookmarkFileGetVisited, "GLIB", "g_bookmark_file_get_visited", false) | |
| 447 | 419 | var cerr *Error | |
| 448 | 420 | ||
| 449 | 421 | cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr) | |
| @@ -460,7 +432,6 @@ var xBookmarkFileGetVisitedDateTime func(uintptr, string, **Error) uintptr | |||
| 460 | 432 | // In the event the URI cannot be found, %NULL is returned and | |
| 461 | 433 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 462 | 434 | func (x *BookmarkFile) GetVisitedDateTime(UriVar string) (*DateTime, error) { | |
| 463 | - | core.LazyRegister(&xBookmarkFileGetVisitedDateTime, "GLIB", "g_bookmark_file_get_visited_date_time", false) | |
| 464 | 435 | var cerr *Error | |
| 465 | 436 | ||
| 466 | 437 | cret := xBookmarkFileGetVisitedDateTime(x.GoPointer(), UriVar, &cerr) | |
| @@ -481,7 +452,6 @@ var xBookmarkFileHasApplication func(uintptr, string, string, **Error) bool | |||
| 481 | 452 | // In the event the URI cannot be found, %FALSE is returned and | |
| 482 | 453 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 483 | 454 | func (x *BookmarkFile) HasApplication(UriVar string, NameVar string) (bool, error) { | |
| 484 | - | core.LazyRegister(&xBookmarkFileHasApplication, "GLIB", "g_bookmark_file_has_application", false) | |
| 485 | 455 | var cerr *Error | |
| 486 | 456 | ||
| 487 | 457 | cret := xBookmarkFileHasApplication(x.GoPointer(), UriVar, NameVar, &cerr) | |
| @@ -499,7 +469,6 @@ var xBookmarkFileHasGroup func(uintptr, string, string, **Error) bool | |||
| 499 | 469 | // In the event the URI cannot be found, %FALSE is returned and | |
| 500 | 470 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 501 | 471 | func (x *BookmarkFile) HasGroup(UriVar string, GroupVar string) (bool, error) { | |
| 502 | - | core.LazyRegister(&xBookmarkFileHasGroup, "GLIB", "g_bookmark_file_has_group", false) | |
| 503 | 472 | var cerr *Error | |
| 504 | 473 | ||
| 505 | 474 | cret := xBookmarkFileHasGroup(x.GoPointer(), UriVar, GroupVar, &cerr) | |
| @@ -513,8 +482,6 @@ var xBookmarkFileHasItem func(uintptr, string) bool | |||
| 513 | 482 | ||
| 514 | 483 | // Looks whether the desktop bookmark has an item with its URI set to @uri. | |
| 515 | 484 | func (x *BookmarkFile) HasItem(UriVar string) bool { | |
| 516 | - | core.LazyRegister(&xBookmarkFileHasItem, "GLIB", "g_bookmark_file_has_item", false) | |
| 517 | - | ||
| 518 | 485 | cret := xBookmarkFileHasItem(x.GoPointer(), UriVar) | |
| 519 | 486 | return cret | |
| 520 | 487 | } | |
| @@ -525,7 +492,6 @@ var xBookmarkFileLoadFromData func(uintptr, []byte, uint, **Error) bool | |||
| 525 | 492 | // structure. If the object cannot be created then @error is set to a | |
| 526 | 493 | // #GBookmarkFileError. | |
| 527 | 494 | func (x *BookmarkFile) LoadFromData(DataVar []byte, LengthVar uint) (bool, error) { | |
| 528 | - | core.LazyRegister(&xBookmarkFileLoadFromData, "GLIB", "g_bookmark_file_load_from_data", false) | |
| 529 | 495 | var cerr *Error | |
| 530 | 496 | ||
| 531 | 497 | cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr) | |
| @@ -543,7 +509,6 @@ var xBookmarkFileLoadFromDataDirs func(uintptr, string, *string, **Error) bool | |||
| 543 | 509 | // @full_path. If the file could not be loaded then @error is | |
| 544 | 510 | // set to either a #GFileError or #GBookmarkFileError. | |
| 545 | 511 | func (x *BookmarkFile) LoadFromDataDirs(FileVar string, FullPathVar *string) (bool, error) { | |
| 546 | - | core.LazyRegister(&xBookmarkFileLoadFromDataDirs, "GLIB", "g_bookmark_file_load_from_data_dirs", false) | |
| 547 | 512 | var cerr *Error | |
| 548 | 513 | ||
| 549 | 514 | cret := xBookmarkFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, &cerr) | |
| @@ -559,7 +524,6 @@ var xBookmarkFileLoadFromFile func(uintptr, string, **Error) bool | |||
| 559 | 524 | // If the file could not be loaded then @error is set to either a #GFileError | |
| 560 | 525 | // or #GBookmarkFileError. | |
| 561 | 526 | func (x *BookmarkFile) LoadFromFile(FilenameVar string) (bool, error) { | |
| 562 | - | core.LazyRegister(&xBookmarkFileLoadFromFile, "GLIB", "g_bookmark_file_load_from_file", false) | |
| 563 | 527 | var cerr *Error | |
| 564 | 528 | ||
| 565 | 529 | cret := xBookmarkFileLoadFromFile(x.GoPointer(), FilenameVar, &cerr) | |
| @@ -578,7 +542,6 @@ var xBookmarkFileMoveItem func(uintptr, string, uintptr, **Error) bool | |||
| 578 | 542 | // In the event the URI cannot be found, %FALSE is returned and | |
| 579 | 543 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | |
| 580 | 544 | func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar *string) (bool, error) { | |
| 581 | - | core.LazyRegister(&xBookmarkFileMoveItem, "GLIB", "g_bookmark_file_move_item", false) | |
| 582 | 545 | var cerr *Error | |
| 583 | 546 | ||
| 584 | 547 | NewUriVarPtr := core.GStrdupNullable(NewUriVar) | |
| @@ -602,7 +565,6 @@ var xBookmarkFileRemoveApplication func(uintptr, string, string, **Error) bool | |||
| 602 | 565 | // a bookmark for @uri, %FALSE is returned and error is set to | |
| 603 | 566 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. | |
| 604 | 567 | func (x *BookmarkFile) RemoveApplication(UriVar string, NameVar string) (bool, error) { | |
| 605 | - | core.LazyRegister(&xBookmarkFileRemoveApplication, "GLIB", "g_bookmark_file_remove_application", false) | |
| 606 | 568 | var cerr *Error | |
| 607 | 569 | ||
| 608 | 570 | cret := xBookmarkFileRemoveApplication(x.GoPointer(), UriVar, NameVar, &cerr) | |
| @@ -622,7 +584,6 @@ var xBookmarkFileRemoveGroup func(uintptr, string, string, **Error) bool | |||
| 622 | 584 | // In the event no group was defined, %FALSE is returned and | |
| 623 | 585 | // @error is set to %G_BOOKMARK_FILE_ERROR_INVALID_VALUE. | |
| 624 | 586 | func (x *BookmarkFile) RemoveGroup(UriVar string, GroupVar string) (bool, error) { | |
| 625 | - | core.LazyRegister(&xBookmarkFileRemoveGroup, "GLIB", "g_bookmark_file_remove_group", false) | |
| 626 | 587 | var cerr *Error | |
| 627 | 588 | ||
| 628 | 589 | cret := xBookmarkFileRemoveGroup(x.GoPointer(), UriVar, GroupVar, &cerr) | |
| @@ -636,7 +597,6 @@ var xBookmarkFileRemoveItem func(uintptr, string, **Error) bool | |||
| 636 | 597 | ||
| 637 | 598 | // Removes the bookmark for @uri from the bookmark file @bookmark. | |
| 638 | 599 | func (x *BookmarkFile) RemoveItem(UriVar string) (bool, error) { | |
| 639 | - | core.LazyRegister(&xBookmarkFileRemoveItem, "GLIB", "g_bookmark_file_remove_item", false) | |
| 640 | 600 | var cerr *Error | |
| 641 | 601 | ||
| 642 | 602 | cret := xBookmarkFileRemoveItem(x.GoPointer(), UriVar, &cerr) | |
| @@ -652,8 +612,6 @@ var xBookmarkFileSetAdded func(uintptr, string, int) | |||
| 652 | 612 | // | |
| 653 | 613 | // If no bookmark for @uri is found then it is created. | |
| 654 | 614 | func (x *BookmarkFile) SetAdded(UriVar string, AddedVar int) { | |
| 655 | - | core.LazyRegister(&xBookmarkFileSetAdded, "GLIB", "g_bookmark_file_set_added", false) | |
| 656 | - | ||
| 657 | 615 | xBookmarkFileSetAdded(x.GoPointer(), UriVar, AddedVar) | |
| 658 | 616 | } | |
| 659 | 617 | ||
| @@ -663,8 +621,6 @@ var xBookmarkFileSetAddedDateTime func(uintptr, string, *DateTime) | |||
| 663 | 621 | // | |
| 664 | 622 | // If no bookmark for @uri is found then it is created. | |
| 665 | 623 | func (x *BookmarkFile) SetAddedDateTime(UriVar string, AddedVar *DateTime) { | |
| 666 | - | core.LazyRegister(&xBookmarkFileSetAddedDateTime, "GLIB", "g_bookmark_file_set_added_date_time", false) | |
| 667 | - | ||
| 668 | 624 | xBookmarkFileSetAddedDateTime(x.GoPointer(), UriVar, AddedVar) | |
| 669 | 625 | } | |
| 670 | 626 | ||
| @@ -699,7 +655,6 @@ var xBookmarkFileSetAppInfo func(uintptr, string, string, string, int, int, **Er | |||
| 699 | 655 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark | |
| 700 | 656 | // for @uri is found, one is created. | |
| 701 | 657 | func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar int) (bool, error) { | |
| 702 | - | core.LazyRegister(&xBookmarkFileSetAppInfo, "GLIB", "g_bookmark_file_set_app_info", false) | |
| 703 | 658 | var cerr *Error | |
| 704 | 659 | ||
| 705 | 660 | cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| @@ -739,7 +694,6 @@ var xBookmarkFileSetApplicationInfo func(uintptr, string, string, string, int, * | |||
| 739 | 694 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark | |
| 740 | 695 | // for @uri is found, one is created. | |
| 741 | 696 | func (x *BookmarkFile) SetApplicationInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar *DateTime) (bool, error) { | |
| 742 | - | core.LazyRegister(&xBookmarkFileSetApplicationInfo, "GLIB", "g_bookmark_file_set_application_info", false) | |
| 743 | 697 | var cerr *Error | |
| 744 | 698 | ||
| 745 | 699 | cret := xBookmarkFileSetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | |
| @@ -757,8 +711,6 @@ var xBookmarkFileSetDescription func(uintptr, uintptr, string) | |||
| 757 | 711 | // | |
| 758 | 712 | // If a bookmark for @uri cannot be found then it is created. | |
| 759 | 713 | func (x *BookmarkFile) SetDescription(UriVar *string, DescriptionVar string) { | |
| 760 | - | core.LazyRegister(&xBookmarkFileSetDescription, "GLIB", "g_bookmark_file_set_description", false) | |
| 761 | - | ||
| 762 | 714 | UriVarPtr := core.GStrdupNullable(UriVar) | |
| 763 | 715 | defer core.GFreeNullable(UriVarPtr) | |
| 764 | 716 | ||
| @@ -772,8 +724,6 @@ var xBookmarkFileSetGroups func(uintptr, string, []string, uint) | |||
| 772 | 724 | // | |
| 773 | 725 | // If @uri cannot be found then an item for it is created. | |
| 774 | 726 | func (x *BookmarkFile) SetGroups(UriVar string, GroupsVar []string, LengthVar uint) { | |
| 775 | - | core.LazyRegister(&xBookmarkFileSetGroups, "GLIB", "g_bookmark_file_set_groups", false) | |
| 776 | - | ||
| 777 | 727 | xBookmarkFileSetGroups(x.GoPointer(), UriVar, GroupsVar, LengthVar) | |
| 778 | 728 | } | |
| 779 | 729 | ||
| @@ -785,8 +735,6 @@ var xBookmarkFileSetIcon func(uintptr, string, uintptr, string) | |||
| 785 | 735 | // | |
| 786 | 736 | // If no bookmark for @uri is found one is created. | |
| 787 | 737 | func (x *BookmarkFile) SetIcon(UriVar string, HrefVar *string, MimeTypeVar string) { | |
| 788 | - | core.LazyRegister(&xBookmarkFileSetIcon, "GLIB", "g_bookmark_file_set_icon", false) | |
| 789 | - | ||
| 790 | 738 | HrefVarPtr := core.GStrdupNullable(HrefVar) | |
| 791 | 739 | defer core.GFreeNullable(HrefVarPtr) | |
| 792 | 740 | ||
| @@ -799,8 +747,6 @@ var xBookmarkFileSetIsPrivate func(uintptr, string, bool) | |||
| 799 | 747 | // | |
| 800 | 748 | // If a bookmark for @uri cannot be found then it is created. | |
| 801 | 749 | func (x *BookmarkFile) SetIsPrivate(UriVar string, IsPrivateVar bool) { | |
| 802 | - | core.LazyRegister(&xBookmarkFileSetIsPrivate, "GLIB", "g_bookmark_file_set_is_private", false) | |
| 803 | - | ||
| 804 | 750 | xBookmarkFileSetIsPrivate(x.GoPointer(), UriVar, IsPrivateVar) | |
| 805 | 751 | } | |
| 806 | 752 | ||
| @@ -810,8 +756,6 @@ var xBookmarkFileSetMimeType func(uintptr, string, string) | |||
| 810 | 756 | // | |
| 811 | 757 | // If a bookmark for @uri cannot be found then it is created. | |
| 812 | 758 | func (x *BookmarkFile) SetMimeType(UriVar string, MimeTypeVar string) { | |
| 813 | - | core.LazyRegister(&xBookmarkFileSetMimeType, "GLIB", "g_bookmark_file_set_mime_type", false) | |
| 814 | - | ||
| 815 | 759 | xBookmarkFileSetMimeType(x.GoPointer(), UriVar, MimeTypeVar) | |
| 816 | 760 | } | |
| 817 | 761 | ||
| @@ -826,8 +770,6 @@ var xBookmarkFileSetModified func(uintptr, string, int) | |||
| 826 | 770 | // modifies a bookmark also changes the modification time, except for | |
| 827 | 771 | // g_bookmark_file_set_visited_date_time(). | |
| 828 | 772 | func (x *BookmarkFile) SetModified(UriVar string, ModifiedVar int) { | |
| 829 | - | core.LazyRegister(&xBookmarkFileSetModified, "GLIB", "g_bookmark_file_set_modified", false) | |
| 830 | - | ||
| 831 | 773 | xBookmarkFileSetModified(x.GoPointer(), UriVar, ModifiedVar) | |
| 832 | 774 | } | |
| 833 | 775 | ||
| @@ -842,8 +784,6 @@ var xBookmarkFileSetModifiedDateTime func(uintptr, string, *DateTime) | |||
| 842 | 784 | // modifies a bookmark also changes the modification time, except for | |
| 843 | 785 | // g_bookmark_file_set_visited_date_time(). | |
| 844 | 786 | func (x *BookmarkFile) SetModifiedDateTime(UriVar string, ModifiedVar *DateTime) { | |
| 845 | - | core.LazyRegister(&xBookmarkFileSetModifiedDateTime, "GLIB", "g_bookmark_file_set_modified_date_time", false) | |
| 846 | - | ||
| 847 | 787 | xBookmarkFileSetModifiedDateTime(x.GoPointer(), UriVar, ModifiedVar) | |
| 848 | 788 | } | |
| 849 | 789 | ||
| @@ -856,8 +796,6 @@ var xBookmarkFileSetTitle func(uintptr, uintptr, string) | |||
| 856 | 796 | // | |
| 857 | 797 | // If a bookmark for @uri cannot be found then it is created. | |
| 858 | 798 | func (x *BookmarkFile) SetTitle(UriVar *string, TitleVar string) { | |
| 859 | - | core.LazyRegister(&xBookmarkFileSetTitle, "GLIB", "g_bookmark_file_set_title", false) | |
| 860 | - | ||
| 861 | 799 | UriVarPtr := core.GStrdupNullable(UriVar) | |
| 862 | 800 | defer core.GFreeNullable(UriVarPtr) | |
| 863 | 801 | ||
| @@ -876,8 +814,6 @@ var xBookmarkFileSetVisited func(uintptr, string, int) | |||
| 876 | 814 | // using g_bookmark_file_get_mime_type(). Changing the "visited" time | |
| 877 | 815 | // does not affect the "modified" time. | |
| 878 | 816 | func (x *BookmarkFile) SetVisited(UriVar string, VisitedVar int) { | |
| 879 | - | core.LazyRegister(&xBookmarkFileSetVisited, "GLIB", "g_bookmark_file_set_visited", false) | |
| 880 | - | ||
| 881 | 817 | xBookmarkFileSetVisited(x.GoPointer(), UriVar, VisitedVar) | |
| 882 | 818 | } | |
| 883 | 819 | ||
| @@ -893,8 +829,6 @@ var xBookmarkFileSetVisitedDateTime func(uintptr, string, *DateTime) | |||
| 893 | 829 | // using g_bookmark_file_get_mime_type(). Changing the "visited" time | |
| 894 | 830 | // does not affect the "modified" time. | |
| 895 | 831 | func (x *BookmarkFile) SetVisitedDateTime(UriVar string, VisitedVar *DateTime) { | |
| 896 | - | core.LazyRegister(&xBookmarkFileSetVisitedDateTime, "GLIB", "g_bookmark_file_set_visited_date_time", false) | |
| 897 | - | ||
| 898 | 832 | xBookmarkFileSetVisitedDateTime(x.GoPointer(), UriVar, VisitedVar) | |
| 899 | 833 | } | |
| 900 | 834 | ||
| @@ -902,7 +836,6 @@ var xBookmarkFileToData func(uintptr, *uint, **Error) uintptr | |||
| 902 | 836 | ||
| 903 | 837 | // This function outputs @bookmark as a string. | |
| 904 | 838 | func (x *BookmarkFile) ToData(LengthVar *uint) (uintptr, error) { | |
| 905 | - | core.LazyRegister(&xBookmarkFileToData, "GLIB", "g_bookmark_file_to_data", false) | |
| 906 | 839 | var cerr *Error | |
| 907 | 840 | ||
| 908 | 841 | cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr) | |
| @@ -917,7 +850,6 @@ var xBookmarkFileToFile func(uintptr, string, **Error) bool | |||
| 917 | 850 | // This function outputs @bookmark into a file. The write process is | |
| 918 | 851 | // guaranteed to be atomic by using g_file_set_contents() internally. | |
| 919 | 852 | func (x *BookmarkFile) ToFile(FilenameVar string) (bool, error) { | |
| 920 | - | core.LazyRegister(&xBookmarkFileToFile, "GLIB", "g_bookmark_file_to_file", false) | |
| 921 | 853 | var cerr *Error | |
| 922 | 854 | ||
| 923 | 855 | cret := xBookmarkFileToFile(x.GoPointer(), FilenameVar, &cerr) | |
| @@ -955,4 +887,64 @@ const ( | |||
| 955 | 887 | func init() { | |
| 956 | 888 | core.SetPackageName("GLIB", "glib-2.0") | |
| 957 | 889 | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | |
| 890 | + | var libs []uintptr | |
| 891 | + | for _, libPath := range core.GetPaths("GLIB") { | |
| 892 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 893 | + | if err != nil { | |
| 894 | + | panic(err) | |
| 895 | + | } | |
| 896 | + | libs = append(libs, lib) | |
| 897 | + | } | |
| 898 | + | ||
| 899 | + | core.PuregoSafeRegister(&xBookmarkFileGLibType, libs, "g_bookmark_file_get_type") | |
| 900 | + | ||
| 901 | + | core.PuregoSafeRegister(&xNewBookmarkFile, libs, "g_bookmark_file_new") | |
| 902 | + | ||
| 903 | + | core.PuregoSafeRegister(&xBookmarkFileAddApplication, libs, "g_bookmark_file_add_application") | |
| 904 | + | core.PuregoSafeRegister(&xBookmarkFileAddGroup, libs, "g_bookmark_file_add_group") | |
| 905 | + | core.PuregoSafeRegister(&xBookmarkFileCopy, libs, "g_bookmark_file_copy") | |
| 906 | + | core.PuregoSafeRegister(&xBookmarkFileFree, libs, "g_bookmark_file_free") | |
| 907 | + | core.PuregoSafeRegister(&xBookmarkFileGetAdded, libs, "g_bookmark_file_get_added") | |
| 908 | + | core.PuregoSafeRegister(&xBookmarkFileGetAddedDateTime, libs, "g_bookmark_file_get_added_date_time") | |
| 909 | + | core.PuregoSafeRegister(&xBookmarkFileGetAppInfo, libs, "g_bookmark_file_get_app_info") | |
| 910 | + | core.PuregoSafeRegister(&xBookmarkFileGetApplicationInfo, libs, "g_bookmark_file_get_application_info") | |
| 911 | + | core.PuregoSafeRegister(&xBookmarkFileGetApplications, libs, "g_bookmark_file_get_applications") | |
| 912 | + | core.PuregoSafeRegister(&xBookmarkFileGetDescription, libs, "g_bookmark_file_get_description") | |
| 913 | + | core.PuregoSafeRegister(&xBookmarkFileGetGroups, libs, "g_bookmark_file_get_groups") | |
| 914 | + | core.PuregoSafeRegister(&xBookmarkFileGetIcon, libs, "g_bookmark_file_get_icon") | |
| 915 | + | core.PuregoSafeRegister(&xBookmarkFileGetIsPrivate, libs, "g_bookmark_file_get_is_private") | |
| 916 | + | core.PuregoSafeRegister(&xBookmarkFileGetMimeType, libs, "g_bookmark_file_get_mime_type") | |
| 917 | + | core.PuregoSafeRegister(&xBookmarkFileGetModified, libs, "g_bookmark_file_get_modified") | |
| 918 | + | core.PuregoSafeRegister(&xBookmarkFileGetModifiedDateTime, libs, "g_bookmark_file_get_modified_date_time") | |
| 919 | + | core.PuregoSafeRegister(&xBookmarkFileGetSize, libs, "g_bookmark_file_get_size") | |
| 920 | + | core.PuregoSafeRegister(&xBookmarkFileGetTitle, libs, "g_bookmark_file_get_title") | |
| 921 | + | core.PuregoSafeRegister(&xBookmarkFileGetUris, libs, "g_bookmark_file_get_uris") | |
| 922 | + | core.PuregoSafeRegister(&xBookmarkFileGetVisited, libs, "g_bookmark_file_get_visited") | |
| 923 | + | core.PuregoSafeRegister(&xBookmarkFileGetVisitedDateTime, libs, "g_bookmark_file_get_visited_date_time") | |
| 924 | + | core.PuregoSafeRegister(&xBookmarkFileHasApplication, libs, "g_bookmark_file_has_application") | |
| 925 | + | core.PuregoSafeRegister(&xBookmarkFileHasGroup, libs, "g_bookmark_file_has_group") | |
| 926 | + | core.PuregoSafeRegister(&xBookmarkFileHasItem, libs, "g_bookmark_file_has_item") | |
| 927 | + | core.PuregoSafeRegister(&xBookmarkFileLoadFromData, libs, "g_bookmark_file_load_from_data") | |
| 928 | + | core.PuregoSafeRegister(&xBookmarkFileLoadFromDataDirs, libs, "g_bookmark_file_load_from_data_dirs") | |
| 929 | + | core.PuregoSafeRegister(&xBookmarkFileLoadFromFile, libs, "g_bookmark_file_load_from_file") | |
| 930 | + | core.PuregoSafeRegister(&xBookmarkFileMoveItem, libs, "g_bookmark_file_move_item") | |
| 931 | + | core.PuregoSafeRegister(&xBookmarkFileRemoveApplication, libs, "g_bookmark_file_remove_application") | |
| 932 | + | core.PuregoSafeRegister(&xBookmarkFileRemoveGroup, libs, "g_bookmark_file_remove_group") | |
| 933 | + | core.PuregoSafeRegister(&xBookmarkFileRemoveItem, libs, "g_bookmark_file_remove_item") | |
| 934 | + | core.PuregoSafeRegister(&xBookmarkFileSetAdded, libs, "g_bookmark_file_set_added") | |
| 935 | + | core.PuregoSafeRegister(&xBookmarkFileSetAddedDateTime, libs, "g_bookmark_file_set_added_date_time") | |
| 936 | + | core.PuregoSafeRegister(&xBookmarkFileSetAppInfo, libs, "g_bookmark_file_set_app_info") | |
| 937 | + | core.PuregoSafeRegister(&xBookmarkFileSetApplicationInfo, libs, "g_bookmark_file_set_application_info") | |
| 938 | + | core.PuregoSafeRegister(&xBookmarkFileSetDescription, libs, "g_bookmark_file_set_description") | |
| 939 | + | core.PuregoSafeRegister(&xBookmarkFileSetGroups, libs, "g_bookmark_file_set_groups") | |
| 940 | + | core.PuregoSafeRegister(&xBookmarkFileSetIcon, libs, "g_bookmark_file_set_icon") | |
| 941 | + | core.PuregoSafeRegister(&xBookmarkFileSetIsPrivate, libs, "g_bookmark_file_set_is_private") | |
| 942 | + | core.PuregoSafeRegister(&xBookmarkFileSetMimeType, libs, "g_bookmark_file_set_mime_type") | |
| 943 | + | core.PuregoSafeRegister(&xBookmarkFileSetModified, libs, "g_bookmark_file_set_modified") | |
| 944 | + | core.PuregoSafeRegister(&xBookmarkFileSetModifiedDateTime, libs, "g_bookmark_file_set_modified_date_time") | |
| 945 | + | core.PuregoSafeRegister(&xBookmarkFileSetTitle, libs, "g_bookmark_file_set_title") | |
| 946 | + | core.PuregoSafeRegister(&xBookmarkFileSetVisited, libs, "g_bookmark_file_set_visited") | |
| 947 | + | core.PuregoSafeRegister(&xBookmarkFileSetVisitedDateTime, libs, "g_bookmark_file_set_visited_date_time") | |
| 948 | + | core.PuregoSafeRegister(&xBookmarkFileToData, libs, "g_bookmark_file_to_data") | |
| 949 | + | core.PuregoSafeRegister(&xBookmarkFileToFile, libs, "g_bookmark_file_to_file") | |
| 958 | 950 | } | |
| @@ -5,6 +5,7 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 9 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/gobject/types" | 10 | "github.com/bnema/puregotk/v4/gobject/types" | ||
| 10 | ) | 11 | ) | ||
| @@ -53,7 +54,6 @@ type BookmarkFile struct { | |||||
| 53 | var xBookmarkFileGLibType func() types.GType | 54 | var xBookmarkFileGLibType func() types.GType | ||
| 54 | 55 | ||||
| 55 | func BookmarkFileGLibType() types.GType { | 56 | func BookmarkFileGLibType() types.GType { | ||
| 56 | - | core.LazyRegister(&xBookmarkFileGLibType, "GLIB", "g_bookmark_file_get_type", false) | |||
| 57 | return xBookmarkFileGLibType() | 57 | return xBookmarkFileGLibType() | ||
| 58 | } | 58 | } | ||
| 59 | 59 | ||||
| @@ -77,8 +77,6 @@ var xNewBookmarkFile func() uintptr | |||||
| 77 | // or g_bookmark_file_load_from_data_dirs() to read an existing bookmark | 77 | // or g_bookmark_file_load_from_data_dirs() to read an existing bookmark | ||
| 78 | // file. | 78 | // file. | ||
| 79 | func NewBookmarkFile() *BookmarkFile { | 79 | func NewBookmarkFile() *BookmarkFile { | ||
| 80 | - | core.LazyRegister(&xNewBookmarkFile, "GLIB", "g_bookmark_file_new", false) | |||
| 81 | - | ||||
| 82 | cret := xNewBookmarkFile() | 80 | cret := xNewBookmarkFile() | ||
| 83 | if cret == 0 { | 81 | if cret == 0 { | ||
| 84 | return nil | 82 | return nil | ||
| @@ -111,8 +109,6 @@ var xBookmarkFileAddApplication func(uintptr, string, uintptr, uintptr) | |||||
| 111 | // | 109 | // | ||
| 112 | // If no bookmark for @uri is found, one is created. | 110 | // If no bookmark for @uri is found, one is created. | ||
| 113 | func (x *BookmarkFile) AddApplication(UriVar string, NameVar *string, ExecVar *string) { | 111 | func (x *BookmarkFile) AddApplication(UriVar string, NameVar *string, ExecVar *string) { | ||
| 114 | - | core.LazyRegister(&xBookmarkFileAddApplication, "GLIB", "g_bookmark_file_add_application", false) | |||
| 115 | - | ||||
| 116 | NameVarPtr := core.GStrdupNullable(NameVar) | 112 | NameVarPtr := core.GStrdupNullable(NameVar) | ||
| 117 | defer core.GFreeNullable(NameVarPtr) | 113 | defer core.GFreeNullable(NameVarPtr) | ||
| 118 | 114 | ||||
| @@ -129,8 +125,6 @@ var xBookmarkFileAddGroup func(uintptr, string, string) | |||||
| 129 | // | 125 | // | ||
| 130 | // If no bookmark for @uri is found then it is created. | 126 | // If no bookmark for @uri is found then it is created. | ||
| 131 | func (x *BookmarkFile) AddGroup(UriVar string, GroupVar string) { | 127 | func (x *BookmarkFile) AddGroup(UriVar string, GroupVar string) { | ||
| 132 | - | core.LazyRegister(&xBookmarkFileAddGroup, "GLIB", "g_bookmark_file_add_group", false) | |||
| 133 | - | ||||
| 134 | xBookmarkFileAddGroup(x.GoPointer(), UriVar, GroupVar) | 128 | xBookmarkFileAddGroup(x.GoPointer(), UriVar, GroupVar) | ||
| 135 | } | 129 | } | ||
| 136 | 130 | ||||
| @@ -138,8 +132,6 @@ var xBookmarkFileCopy func(uintptr) uintptr | |||||
| 138 | 132 | ||||
| 139 | // Deeply copies a @bookmark #GBookmarkFile object to a new one. | 133 | // Deeply copies a @bookmark #GBookmarkFile object to a new one. | ||
| 140 | func (x *BookmarkFile) Copy() *BookmarkFile { | 134 | func (x *BookmarkFile) Copy() *BookmarkFile { | ||
| 141 | - | core.LazyRegister(&xBookmarkFileCopy, "GLIB", "g_bookmark_file_copy", false) | |||
| 142 | - | ||||
| 143 | cret := xBookmarkFileCopy(x.GoPointer()) | 135 | cret := xBookmarkFileCopy(x.GoPointer()) | ||
| 144 | if cret == 0 { | 136 | if cret == 0 { | ||
| 145 | return nil | 137 | return nil | ||
| @@ -151,8 +143,6 @@ var xBookmarkFileFree func(uintptr) | |||||
| 151 | 143 | ||||
| 152 | // Frees a #GBookmarkFile. | 144 | // Frees a #GBookmarkFile. | ||
| 153 | func (x *BookmarkFile) Free() { | 145 | func (x *BookmarkFile) Free() { | ||
| 154 | - | core.LazyRegister(&xBookmarkFileFree, "GLIB", "g_bookmark_file_free", false) | |||
| 155 | - | ||||
| 156 | xBookmarkFileFree(x.GoPointer()) | 146 | xBookmarkFileFree(x.GoPointer()) | ||
| 157 | } | 147 | } | ||
| 158 | 148 | ||||
| @@ -163,7 +153,6 @@ var xBookmarkFileGetAdded func(uintptr, string, **Error) int | |||||
| 163 | // In the event the URI cannot be found, -1 is returned and | 153 | // In the event the URI cannot be found, -1 is returned and | ||
| 164 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 154 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 165 | func (x *BookmarkFile) GetAdded(UriVar string) (int, error) { | 155 | func (x *BookmarkFile) GetAdded(UriVar string) (int, error) { | ||
| 166 | - | core.LazyRegister(&xBookmarkFileGetAdded, "GLIB", "g_bookmark_file_get_added", false) | |||
| 167 | var cerr *Error | 156 | var cerr *Error | ||
| 168 | 157 | ||||
| 169 | cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr) | 158 | cret := xBookmarkFileGetAdded(x.GoPointer(), UriVar, &cerr) | ||
| @@ -180,7 +169,6 @@ var xBookmarkFileGetAddedDateTime func(uintptr, string, **Error) uintptr | |||||
| 180 | // In the event the URI cannot be found, %NULL is returned and | 169 | // In the event the URI cannot be found, %NULL is returned and | ||
| 181 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 170 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 182 | func (x *BookmarkFile) GetAddedDateTime(UriVar string) (*DateTime, error) { | 171 | func (x *BookmarkFile) GetAddedDateTime(UriVar string) (*DateTime, error) { | ||
| 183 | - | core.LazyRegister(&xBookmarkFileGetAddedDateTime, "GLIB", "g_bookmark_file_get_added_date_time", false) | |||
| 184 | var cerr *Error | 172 | var cerr *Error | ||
| 185 | 173 | ||||
| 186 | cret := xBookmarkFileGetAddedDateTime(x.GoPointer(), UriVar, &cerr) | 174 | cret := xBookmarkFileGetAddedDateTime(x.GoPointer(), UriVar, &cerr) | ||
| @@ -209,7 +197,6 @@ var xBookmarkFileGetAppInfo func(uintptr, string, string, *string, *uint, *int, | |||||
| 209 | // the command line fails, an error of the %G_SHELL_ERROR domain is | 197 | // the command line fails, an error of the %G_SHELL_ERROR domain is | ||
| 210 | // set and %FALSE is returned. | 198 | // set and %FALSE is returned. | ||
| 211 | func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar *string, CountVar *uint, StampVar *int) (bool, error) { | 199 | func (x *BookmarkFile) GetAppInfo(UriVar string, NameVar string, ExecVar *string, CountVar *uint, StampVar *int) (bool, error) { | ||
| 212 | - | core.LazyRegister(&xBookmarkFileGetAppInfo, "GLIB", "g_bookmark_file_get_app_info", false) | |||
| 213 | var cerr *Error | 200 | var cerr *Error | ||
| 214 | 201 | ||||
| 215 | cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | 202 | cret := xBookmarkFileGetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | ||
| @@ -235,7 +222,6 @@ var xBookmarkFileGetApplicationInfo func(uintptr, string, string, *string, *uint | |||||
| 235 | // the command line fails, an error of the %G_SHELL_ERROR domain is | 222 | // the command line fails, an error of the %G_SHELL_ERROR domain is | ||
| 236 | // set and %FALSE is returned. | 223 | // set and %FALSE is returned. | ||
| 237 | func (x *BookmarkFile) GetApplicationInfo(UriVar string, NameVar string, ExecVar *string, CountVar *uint, StampVar **DateTime) (bool, error) { | 224 | func (x *BookmarkFile) GetApplicationInfo(UriVar string, NameVar string, ExecVar *string, CountVar *uint, StampVar **DateTime) (bool, error) { | ||
| 238 | - | core.LazyRegister(&xBookmarkFileGetApplicationInfo, "GLIB", "g_bookmark_file_get_application_info", false) | |||
| 239 | var cerr *Error | 225 | var cerr *Error | ||
| 240 | 226 | ||||
| 241 | cret := xBookmarkFileGetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | 227 | cret := xBookmarkFileGetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | ||
| @@ -253,7 +239,6 @@ var xBookmarkFileGetApplications func(uintptr, string, *uint, **Error) []string | |||||
| 253 | // In the event the URI cannot be found, %NULL is returned and | 239 | // In the event the URI cannot be found, %NULL is returned and | ||
| 254 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 240 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 255 | func (x *BookmarkFile) GetApplications(UriVar string, LengthVar *uint) ([]string, error) { | 241 | func (x *BookmarkFile) GetApplications(UriVar string, LengthVar *uint) ([]string, error) { | ||
| 256 | - | core.LazyRegister(&xBookmarkFileGetApplications, "GLIB", "g_bookmark_file_get_applications", false) | |||
| 257 | var cerr *Error | 242 | var cerr *Error | ||
| 258 | 243 | ||||
| 259 | cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr) | 244 | cret := xBookmarkFileGetApplications(x.GoPointer(), UriVar, LengthVar, &cerr) | ||
| @@ -270,7 +255,6 @@ var xBookmarkFileGetDescription func(uintptr, string, **Error) string | |||||
| 270 | // In the event the URI cannot be found, %NULL is returned and | 255 | // In the event the URI cannot be found, %NULL is returned and | ||
| 271 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 256 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 272 | func (x *BookmarkFile) GetDescription(UriVar string) (string, error) { | 257 | func (x *BookmarkFile) GetDescription(UriVar string) (string, error) { | ||
| 273 | - | core.LazyRegister(&xBookmarkFileGetDescription, "GLIB", "g_bookmark_file_get_description", false) | |||
| 274 | var cerr *Error | 258 | var cerr *Error | ||
| 275 | 259 | ||||
| 276 | cret := xBookmarkFileGetDescription(x.GoPointer(), UriVar, &cerr) | 260 | cret := xBookmarkFileGetDescription(x.GoPointer(), UriVar, &cerr) | ||
| @@ -290,7 +274,6 @@ var xBookmarkFileGetGroups func(uintptr, string, *uint, **Error) []string | |||||
| 290 | // The returned array is %NULL terminated, so @length may optionally | 274 | // The returned array is %NULL terminated, so @length may optionally | ||
| 291 | // be %NULL. | 275 | // be %NULL. | ||
| 292 | func (x *BookmarkFile) GetGroups(UriVar string, LengthVar *uint) ([]string, error) { | 276 | func (x *BookmarkFile) GetGroups(UriVar string, LengthVar *uint) ([]string, error) { | ||
| 293 | - | core.LazyRegister(&xBookmarkFileGetGroups, "GLIB", "g_bookmark_file_get_groups", false) | |||
| 294 | var cerr *Error | 277 | var cerr *Error | ||
| 295 | 278 | ||||
| 296 | cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr) | 279 | cret := xBookmarkFileGetGroups(x.GoPointer(), UriVar, LengthVar, &cerr) | ||
| @@ -307,7 +290,6 @@ var xBookmarkFileGetIcon func(uintptr, string, *string, *string, **Error) bool | |||||
| 307 | // In the event the URI cannot be found, %FALSE is returned and | 290 | // In the event the URI cannot be found, %FALSE is returned and | ||
| 308 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 291 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 309 | func (x *BookmarkFile) GetIcon(UriVar string, HrefVar *string, MimeTypeVar *string) (bool, error) { | 292 | func (x *BookmarkFile) GetIcon(UriVar string, HrefVar *string, MimeTypeVar *string) (bool, error) { | ||
| 310 | - | core.LazyRegister(&xBookmarkFileGetIcon, "GLIB", "g_bookmark_file_get_icon", false) | |||
| 311 | var cerr *Error | 293 | var cerr *Error | ||
| 312 | 294 | ||||
| 313 | cret := xBookmarkFileGetIcon(x.GoPointer(), UriVar, HrefVar, MimeTypeVar, &cerr) | 295 | cret := xBookmarkFileGetIcon(x.GoPointer(), UriVar, HrefVar, MimeTypeVar, &cerr) | ||
| @@ -326,7 +308,6 @@ var xBookmarkFileGetIsPrivate func(uintptr, string, **Error) bool | |||||
| 326 | // event that the private flag cannot be found, %FALSE is returned and | 308 | // event that the private flag cannot be found, %FALSE is returned and | ||
| 327 | // @error is set to %G_BOOKMARK_FILE_ERROR_INVALID_VALUE. | 309 | // @error is set to %G_BOOKMARK_FILE_ERROR_INVALID_VALUE. | ||
| 328 | func (x *BookmarkFile) GetIsPrivate(UriVar string) (bool, error) { | 310 | func (x *BookmarkFile) GetIsPrivate(UriVar string) (bool, error) { | ||
| 329 | - | core.LazyRegister(&xBookmarkFileGetIsPrivate, "GLIB", "g_bookmark_file_get_is_private", false) | |||
| 330 | var cerr *Error | 311 | var cerr *Error | ||
| 331 | 312 | ||||
| 332 | cret := xBookmarkFileGetIsPrivate(x.GoPointer(), UriVar, &cerr) | 313 | cret := xBookmarkFileGetIsPrivate(x.GoPointer(), UriVar, &cerr) | ||
| @@ -345,7 +326,6 @@ var xBookmarkFileGetMimeType func(uintptr, string, **Error) string | |||||
| 345 | // event that the MIME type cannot be found, %NULL is returned and | 326 | // event that the MIME type cannot be found, %NULL is returned and | ||
| 346 | // @error is set to %G_BOOKMARK_FILE_ERROR_INVALID_VALUE. | 327 | // @error is set to %G_BOOKMARK_FILE_ERROR_INVALID_VALUE. | ||
| 347 | func (x *BookmarkFile) GetMimeType(UriVar string) (string, error) { | 328 | func (x *BookmarkFile) GetMimeType(UriVar string) (string, error) { | ||
| 348 | - | core.LazyRegister(&xBookmarkFileGetMimeType, "GLIB", "g_bookmark_file_get_mime_type", false) | |||
| 349 | var cerr *Error | 329 | var cerr *Error | ||
| 350 | 330 | ||||
| 351 | cret := xBookmarkFileGetMimeType(x.GoPointer(), UriVar, &cerr) | 331 | cret := xBookmarkFileGetMimeType(x.GoPointer(), UriVar, &cerr) | ||
| @@ -362,7 +342,6 @@ var xBookmarkFileGetModified func(uintptr, string, **Error) int | |||||
| 362 | // In the event the URI cannot be found, -1 is returned and | 342 | // In the event the URI cannot be found, -1 is returned and | ||
| 363 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 343 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 364 | func (x *BookmarkFile) GetModified(UriVar string) (int, error) { | 344 | func (x *BookmarkFile) GetModified(UriVar string) (int, error) { | ||
| 365 | - | core.LazyRegister(&xBookmarkFileGetModified, "GLIB", "g_bookmark_file_get_modified", false) | |||
| 366 | var cerr *Error | 345 | var cerr *Error | ||
| 367 | 346 | ||||
| 368 | cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr) | 347 | cret := xBookmarkFileGetModified(x.GoPointer(), UriVar, &cerr) | ||
| @@ -379,7 +358,6 @@ var xBookmarkFileGetModifiedDateTime func(uintptr, string, **Error) uintptr | |||||
| 379 | // In the event the URI cannot be found, %NULL is returned and | 358 | // In the event the URI cannot be found, %NULL is returned and | ||
| 380 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 359 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 381 | func (x *BookmarkFile) GetModifiedDateTime(UriVar string) (*DateTime, error) { | 360 | func (x *BookmarkFile) GetModifiedDateTime(UriVar string) (*DateTime, error) { | ||
| 382 | - | core.LazyRegister(&xBookmarkFileGetModifiedDateTime, "GLIB", "g_bookmark_file_get_modified_date_time", false) | |||
| 383 | var cerr *Error | 361 | var cerr *Error | ||
| 384 | 362 | ||||
| 385 | cret := xBookmarkFileGetModifiedDateTime(x.GoPointer(), UriVar, &cerr) | 363 | cret := xBookmarkFileGetModifiedDateTime(x.GoPointer(), UriVar, &cerr) | ||
| @@ -396,8 +374,6 @@ var xBookmarkFileGetSize func(uintptr) int | |||||
| 396 | 374 | ||||
| 397 | // Gets the number of bookmarks inside @bookmark. | 375 | // Gets the number of bookmarks inside @bookmark. | ||
| 398 | func (x *BookmarkFile) GetSize() int { | 376 | func (x *BookmarkFile) GetSize() int { | ||
| 399 | - | core.LazyRegister(&xBookmarkFileGetSize, "GLIB", "g_bookmark_file_get_size", false) | |||
| 400 | - | ||||
| 401 | cret := xBookmarkFileGetSize(x.GoPointer()) | 377 | cret := xBookmarkFileGetSize(x.GoPointer()) | ||
| 402 | return cret | 378 | return cret | ||
| 403 | } | 379 | } | ||
| @@ -411,7 +387,6 @@ var xBookmarkFileGetTitle func(uintptr, uintptr, **Error) string | |||||
| 411 | // In the event the URI cannot be found, %NULL is returned and | 387 | // In the event the URI cannot be found, %NULL is returned and | ||
| 412 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 388 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 413 | func (x *BookmarkFile) GetTitle(UriVar *string) (string, error) { | 389 | func (x *BookmarkFile) GetTitle(UriVar *string) (string, error) { | ||
| 414 | - | core.LazyRegister(&xBookmarkFileGetTitle, "GLIB", "g_bookmark_file_get_title", false) | |||
| 415 | var cerr *Error | 390 | var cerr *Error | ||
| 416 | 391 | ||||
| 417 | UriVarPtr := core.GStrdupNullable(UriVar) | 392 | UriVarPtr := core.GStrdupNullable(UriVar) | ||
| @@ -430,8 +405,6 @@ var xBookmarkFileGetUris func(uintptr, *uint) []string | |||||
| 430 | // The array of returned URIs will be %NULL-terminated, so @length may | 405 | // The array of returned URIs will be %NULL-terminated, so @length may | ||
| 431 | // optionally be %NULL. | 406 | // optionally be %NULL. | ||
| 432 | func (x *BookmarkFile) GetUris(LengthVar *uint) []string { | 407 | func (x *BookmarkFile) GetUris(LengthVar *uint) []string { | ||
| 433 | - | core.LazyRegister(&xBookmarkFileGetUris, "GLIB", "g_bookmark_file_get_uris", false) | |||
| 434 | - | ||||
| 435 | cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar) | 408 | cret := xBookmarkFileGetUris(x.GoPointer(), LengthVar) | ||
| 436 | return cret | 409 | return cret | ||
| 437 | } | 410 | } | ||
| @@ -443,7 +416,6 @@ var xBookmarkFileGetVisited func(uintptr, string, **Error) int | |||||
| 443 | // In the event the URI cannot be found, -1 is returned and | 416 | // In the event the URI cannot be found, -1 is returned and | ||
| 444 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 417 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 445 | func (x *BookmarkFile) GetVisited(UriVar string) (int, error) { | 418 | func (x *BookmarkFile) GetVisited(UriVar string) (int, error) { | ||
| 446 | - | core.LazyRegister(&xBookmarkFileGetVisited, "GLIB", "g_bookmark_file_get_visited", false) | |||
| 447 | var cerr *Error | 419 | var cerr *Error | ||
| 448 | 420 | ||||
| 449 | cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr) | 421 | cret := xBookmarkFileGetVisited(x.GoPointer(), UriVar, &cerr) | ||
| @@ -460,7 +432,6 @@ var xBookmarkFileGetVisitedDateTime func(uintptr, string, **Error) uintptr | |||||
| 460 | // In the event the URI cannot be found, %NULL is returned and | 432 | // In the event the URI cannot be found, %NULL is returned and | ||
| 461 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 433 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 462 | func (x *BookmarkFile) GetVisitedDateTime(UriVar string) (*DateTime, error) { | 434 | func (x *BookmarkFile) GetVisitedDateTime(UriVar string) (*DateTime, error) { | ||
| 463 | - | core.LazyRegister(&xBookmarkFileGetVisitedDateTime, "GLIB", "g_bookmark_file_get_visited_date_time", false) | |||
| 464 | var cerr *Error | 435 | var cerr *Error | ||
| 465 | 436 | ||||
| 466 | cret := xBookmarkFileGetVisitedDateTime(x.GoPointer(), UriVar, &cerr) | 437 | cret := xBookmarkFileGetVisitedDateTime(x.GoPointer(), UriVar, &cerr) | ||
| @@ -481,7 +452,6 @@ var xBookmarkFileHasApplication func(uintptr, string, string, **Error) bool | |||||
| 481 | // In the event the URI cannot be found, %FALSE is returned and | 452 | // In the event the URI cannot be found, %FALSE is returned and | ||
| 482 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 453 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 483 | func (x *BookmarkFile) HasApplication(UriVar string, NameVar string) (bool, error) { | 454 | func (x *BookmarkFile) HasApplication(UriVar string, NameVar string) (bool, error) { | ||
| 484 | - | core.LazyRegister(&xBookmarkFileHasApplication, "GLIB", "g_bookmark_file_has_application", false) | |||
| 485 | var cerr *Error | 455 | var cerr *Error | ||
| 486 | 456 | ||||
| 487 | cret := xBookmarkFileHasApplication(x.GoPointer(), UriVar, NameVar, &cerr) | 457 | cret := xBookmarkFileHasApplication(x.GoPointer(), UriVar, NameVar, &cerr) | ||
| @@ -499,7 +469,6 @@ var xBookmarkFileHasGroup func(uintptr, string, string, **Error) bool | |||||
| 499 | // In the event the URI cannot be found, %FALSE is returned and | 469 | // In the event the URI cannot be found, %FALSE is returned and | ||
| 500 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 470 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 501 | func (x *BookmarkFile) HasGroup(UriVar string, GroupVar string) (bool, error) { | 471 | func (x *BookmarkFile) HasGroup(UriVar string, GroupVar string) (bool, error) { | ||
| 502 | - | core.LazyRegister(&xBookmarkFileHasGroup, "GLIB", "g_bookmark_file_has_group", false) | |||
| 503 | var cerr *Error | 472 | var cerr *Error | ||
| 504 | 473 | ||||
| 505 | cret := xBookmarkFileHasGroup(x.GoPointer(), UriVar, GroupVar, &cerr) | 474 | cret := xBookmarkFileHasGroup(x.GoPointer(), UriVar, GroupVar, &cerr) | ||
| @@ -513,8 +482,6 @@ var xBookmarkFileHasItem func(uintptr, string) bool | |||||
| 513 | 482 | ||||
| 514 | // Looks whether the desktop bookmark has an item with its URI set to @uri. | 483 | // Looks whether the desktop bookmark has an item with its URI set to @uri. | ||
| 515 | func (x *BookmarkFile) HasItem(UriVar string) bool { | 484 | func (x *BookmarkFile) HasItem(UriVar string) bool { | ||
| 516 | - | core.LazyRegister(&xBookmarkFileHasItem, "GLIB", "g_bookmark_file_has_item", false) | |||
| 517 | - | ||||
| 518 | cret := xBookmarkFileHasItem(x.GoPointer(), UriVar) | 485 | cret := xBookmarkFileHasItem(x.GoPointer(), UriVar) | ||
| 519 | return cret | 486 | return cret | ||
| 520 | } | 487 | } | ||
| @@ -525,7 +492,6 @@ var xBookmarkFileLoadFromData func(uintptr, []byte, uint, **Error) bool | |||||
| 525 | // structure. If the object cannot be created then @error is set to a | 492 | // structure. If the object cannot be created then @error is set to a | ||
| 526 | // #GBookmarkFileError. | 493 | // #GBookmarkFileError. | ||
| 527 | func (x *BookmarkFile) LoadFromData(DataVar []byte, LengthVar uint) (bool, error) { | 494 | func (x *BookmarkFile) LoadFromData(DataVar []byte, LengthVar uint) (bool, error) { | ||
| 528 | - | core.LazyRegister(&xBookmarkFileLoadFromData, "GLIB", "g_bookmark_file_load_from_data", false) | |||
| 529 | var cerr *Error | 495 | var cerr *Error | ||
| 530 | 496 | ||||
| 531 | cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr) | 497 | cret := xBookmarkFileLoadFromData(x.GoPointer(), DataVar, LengthVar, &cerr) | ||
| @@ -543,7 +509,6 @@ var xBookmarkFileLoadFromDataDirs func(uintptr, string, *string, **Error) bool | |||||
| 543 | // @full_path. If the file could not be loaded then @error is | 509 | // @full_path. If the file could not be loaded then @error is | ||
| 544 | // set to either a #GFileError or #GBookmarkFileError. | 510 | // set to either a #GFileError or #GBookmarkFileError. | ||
| 545 | func (x *BookmarkFile) LoadFromDataDirs(FileVar string, FullPathVar *string) (bool, error) { | 511 | func (x *BookmarkFile) LoadFromDataDirs(FileVar string, FullPathVar *string) (bool, error) { | ||
| 546 | - | core.LazyRegister(&xBookmarkFileLoadFromDataDirs, "GLIB", "g_bookmark_file_load_from_data_dirs", false) | |||
| 547 | var cerr *Error | 512 | var cerr *Error | ||
| 548 | 513 | ||||
| 549 | cret := xBookmarkFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, &cerr) | 514 | cret := xBookmarkFileLoadFromDataDirs(x.GoPointer(), FileVar, FullPathVar, &cerr) | ||
| @@ -559,7 +524,6 @@ var xBookmarkFileLoadFromFile func(uintptr, string, **Error) bool | |||||
| 559 | // If the file could not be loaded then @error is set to either a #GFileError | 524 | // If the file could not be loaded then @error is set to either a #GFileError | ||
| 560 | // or #GBookmarkFileError. | 525 | // or #GBookmarkFileError. | ||
| 561 | func (x *BookmarkFile) LoadFromFile(FilenameVar string) (bool, error) { | 526 | func (x *BookmarkFile) LoadFromFile(FilenameVar string) (bool, error) { | ||
| 562 | - | core.LazyRegister(&xBookmarkFileLoadFromFile, "GLIB", "g_bookmark_file_load_from_file", false) | |||
| 563 | var cerr *Error | 527 | var cerr *Error | ||
| 564 | 528 | ||||
| 565 | cret := xBookmarkFileLoadFromFile(x.GoPointer(), FilenameVar, &cerr) | 529 | cret := xBookmarkFileLoadFromFile(x.GoPointer(), FilenameVar, &cerr) | ||
| @@ -578,7 +542,6 @@ var xBookmarkFileMoveItem func(uintptr, string, uintptr, **Error) bool | |||||
| 578 | // In the event the URI cannot be found, %FALSE is returned and | 542 | // In the event the URI cannot be found, %FALSE is returned and | ||
| 579 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | 543 | // @error is set to %G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. | ||
| 580 | func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar *string) (bool, error) { | 544 | func (x *BookmarkFile) MoveItem(OldUriVar string, NewUriVar *string) (bool, error) { | ||
| 581 | - | core.LazyRegister(&xBookmarkFileMoveItem, "GLIB", "g_bookmark_file_move_item", false) | |||
| 582 | var cerr *Error | 545 | var cerr *Error | ||
| 583 | 546 | ||||
| 584 | NewUriVarPtr := core.GStrdupNullable(NewUriVar) | 547 | NewUriVarPtr := core.GStrdupNullable(NewUriVar) | ||
| @@ -602,7 +565,6 @@ var xBookmarkFileRemoveApplication func(uintptr, string, string, **Error) bool | |||||
| 602 | // a bookmark for @uri, %FALSE is returned and error is set to | 565 | // a bookmark for @uri, %FALSE is returned and error is set to | ||
| 603 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. | 566 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. | ||
| 604 | func (x *BookmarkFile) RemoveApplication(UriVar string, NameVar string) (bool, error) { | 567 | func (x *BookmarkFile) RemoveApplication(UriVar string, NameVar string) (bool, error) { | ||
| 605 | - | core.LazyRegister(&xBookmarkFileRemoveApplication, "GLIB", "g_bookmark_file_remove_application", false) | |||
| 606 | var cerr *Error | 568 | var cerr *Error | ||
| 607 | 569 | ||||
| 608 | cret := xBookmarkFileRemoveApplication(x.GoPointer(), UriVar, NameVar, &cerr) | 570 | cret := xBookmarkFileRemoveApplication(x.GoPointer(), UriVar, NameVar, &cerr) | ||
| @@ -622,7 +584,6 @@ var xBookmarkFileRemoveGroup func(uintptr, string, string, **Error) bool | |||||
| 622 | // In the event no group was defined, %FALSE is returned and | 584 | // In the event no group was defined, %FALSE is returned and | ||
| 623 | // @error is set to %G_BOOKMARK_FILE_ERROR_INVALID_VALUE. | 585 | // @error is set to %G_BOOKMARK_FILE_ERROR_INVALID_VALUE. | ||
| 624 | func (x *BookmarkFile) RemoveGroup(UriVar string, GroupVar string) (bool, error) { | 586 | func (x *BookmarkFile) RemoveGroup(UriVar string, GroupVar string) (bool, error) { | ||
| 625 | - | core.LazyRegister(&xBookmarkFileRemoveGroup, "GLIB", "g_bookmark_file_remove_group", false) | |||
| 626 | var cerr *Error | 587 | var cerr *Error | ||
| 627 | 588 | ||||
| 628 | cret := xBookmarkFileRemoveGroup(x.GoPointer(), UriVar, GroupVar, &cerr) | 589 | cret := xBookmarkFileRemoveGroup(x.GoPointer(), UriVar, GroupVar, &cerr) | ||
| @@ -636,7 +597,6 @@ var xBookmarkFileRemoveItem func(uintptr, string, **Error) bool | |||||
| 636 | 597 | ||||
| 637 | // Removes the bookmark for @uri from the bookmark file @bookmark. | 598 | // Removes the bookmark for @uri from the bookmark file @bookmark. | ||
| 638 | func (x *BookmarkFile) RemoveItem(UriVar string) (bool, error) { | 599 | func (x *BookmarkFile) RemoveItem(UriVar string) (bool, error) { | ||
| 639 | - | core.LazyRegister(&xBookmarkFileRemoveItem, "GLIB", "g_bookmark_file_remove_item", false) | |||
| 640 | var cerr *Error | 600 | var cerr *Error | ||
| 641 | 601 | ||||
| 642 | cret := xBookmarkFileRemoveItem(x.GoPointer(), UriVar, &cerr) | 602 | cret := xBookmarkFileRemoveItem(x.GoPointer(), UriVar, &cerr) | ||
| @@ -652,8 +612,6 @@ var xBookmarkFileSetAdded func(uintptr, string, int) | |||||
| 652 | // | 612 | // | ||
| 653 | // If no bookmark for @uri is found then it is created. | 613 | // If no bookmark for @uri is found then it is created. | ||
| 654 | func (x *BookmarkFile) SetAdded(UriVar string, AddedVar int) { | 614 | func (x *BookmarkFile) SetAdded(UriVar string, AddedVar int) { | ||
| 655 | - | core.LazyRegister(&xBookmarkFileSetAdded, "GLIB", "g_bookmark_file_set_added", false) | |||
| 656 | - | ||||
| 657 | xBookmarkFileSetAdded(x.GoPointer(), UriVar, AddedVar) | 615 | xBookmarkFileSetAdded(x.GoPointer(), UriVar, AddedVar) | ||
| 658 | } | 616 | } | ||
| 659 | 617 | ||||
| @@ -663,8 +621,6 @@ var xBookmarkFileSetAddedDateTime func(uintptr, string, *DateTime) | |||||
| 663 | // | 621 | // | ||
| 664 | // If no bookmark for @uri is found then it is created. | 622 | // If no bookmark for @uri is found then it is created. | ||
| 665 | func (x *BookmarkFile) SetAddedDateTime(UriVar string, AddedVar *DateTime) { | 623 | func (x *BookmarkFile) SetAddedDateTime(UriVar string, AddedVar *DateTime) { | ||
| 666 | - | core.LazyRegister(&xBookmarkFileSetAddedDateTime, "GLIB", "g_bookmark_file_set_added_date_time", false) | |||
| 667 | - | ||||
| 668 | xBookmarkFileSetAddedDateTime(x.GoPointer(), UriVar, AddedVar) | 624 | xBookmarkFileSetAddedDateTime(x.GoPointer(), UriVar, AddedVar) | ||
| 669 | } | 625 | } | ||
| 670 | 626 | ||||
| @@ -699,7 +655,6 @@ var xBookmarkFileSetAppInfo func(uintptr, string, string, string, int, int, **Er | |||||
| 699 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark | 655 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark | ||
| 700 | // for @uri is found, one is created. | 656 | // for @uri is found, one is created. | ||
| 701 | func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar int) (bool, error) { | 657 | func (x *BookmarkFile) SetAppInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar int) (bool, error) { | ||
| 702 | - | core.LazyRegister(&xBookmarkFileSetAppInfo, "GLIB", "g_bookmark_file_set_app_info", false) | |||
| 703 | var cerr *Error | 658 | var cerr *Error | ||
| 704 | 659 | ||||
| 705 | cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | 660 | cret := xBookmarkFileSetAppInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | ||
| @@ -739,7 +694,6 @@ var xBookmarkFileSetApplicationInfo func(uintptr, string, string, string, int, * | |||||
| 739 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark | 694 | // %G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark | ||
| 740 | // for @uri is found, one is created. | 695 | // for @uri is found, one is created. | ||
| 741 | func (x *BookmarkFile) SetApplicationInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar *DateTime) (bool, error) { | 696 | func (x *BookmarkFile) SetApplicationInfo(UriVar string, NameVar string, ExecVar string, CountVar int, StampVar *DateTime) (bool, error) { | ||
| 742 | - | core.LazyRegister(&xBookmarkFileSetApplicationInfo, "GLIB", "g_bookmark_file_set_application_info", false) | |||
| 743 | var cerr *Error | 697 | var cerr *Error | ||
| 744 | 698 | ||||
| 745 | cret := xBookmarkFileSetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | 699 | cret := xBookmarkFileSetApplicationInfo(x.GoPointer(), UriVar, NameVar, ExecVar, CountVar, StampVar, &cerr) | ||
| @@ -757,8 +711,6 @@ var xBookmarkFileSetDescription func(uintptr, uintptr, string) | |||||
| 757 | // | 711 | // | ||
| 758 | // If a bookmark for @uri cannot be found then it is created. | 712 | // If a bookmark for @uri cannot be found then it is created. | ||
| 759 | func (x *BookmarkFile) SetDescription(UriVar *string, DescriptionVar string) { | 713 | func (x *BookmarkFile) SetDescription(UriVar *string, DescriptionVar string) { | ||
| 760 | - | core.LazyRegister(&xBookmarkFileSetDescription, "GLIB", "g_bookmark_file_set_description", false) | |||
| 761 | - | ||||
| 762 | UriVarPtr := core.GStrdupNullable(UriVar) | 714 | UriVarPtr := core.GStrdupNullable(UriVar) | ||
| 763 | defer core.GFreeNullable(UriVarPtr) | 715 | defer core.GFreeNullable(UriVarPtr) | ||
| 764 | 716 | ||||
| @@ -772,8 +724,6 @@ var xBookmarkFileSetGroups func(uintptr, string, []string, uint) | |||||
| 772 | // | 724 | // | ||
| 773 | // If @uri cannot be found then an item for it is created. | 725 | // If @uri cannot be found then an item for it is created. | ||
| 774 | func (x *BookmarkFile) SetGroups(UriVar string, GroupsVar []string, LengthVar uint) { | 726 | func (x *BookmarkFile) SetGroups(UriVar string, GroupsVar []string, LengthVar uint) { | ||
| 775 | - | core.LazyRegister(&xBookmarkFileSetGroups, "GLIB", "g_bookmark_file_set_groups", false) | |||
| 776 | - | ||||
| 777 | xBookmarkFileSetGroups(x.GoPointer(), UriVar, GroupsVar, LengthVar) | 727 | xBookmarkFileSetGroups(x.GoPointer(), UriVar, GroupsVar, LengthVar) | ||
| 778 | } | 728 | } | ||
| 779 | 729 | ||||
| @@ -785,8 +735,6 @@ var xBookmarkFileSetIcon func(uintptr, string, uintptr, string) | |||||
| 785 | // | 735 | // | ||
| 786 | // If no bookmark for @uri is found one is created. | 736 | // If no bookmark for @uri is found one is created. | ||
| 787 | func (x *BookmarkFile) SetIcon(UriVar string, HrefVar *string, MimeTypeVar string) { | 737 | func (x *BookmarkFile) SetIcon(UriVar string, HrefVar *string, MimeTypeVar string) { | ||
| 788 | - | core.LazyRegister(&xBookmarkFileSetIcon, "GLIB", "g_bookmark_file_set_icon", false) | |||
| 789 | - | ||||
| 790 | HrefVarPtr := core.GStrdupNullable(HrefVar) | 738 | HrefVarPtr := core.GStrdupNullable(HrefVar) | ||
| 791 | defer core.GFreeNullable(HrefVarPtr) | 739 | defer core.GFreeNullable(HrefVarPtr) | ||
| 792 | 740 | ||||
| @@ -799,8 +747,6 @@ var xBookmarkFileSetIsPrivate func(uintptr, string, bool) | |||||
| 799 | // | 747 | // | ||
| 800 | // If a bookmark for @uri cannot be found then it is created. | 748 | // If a bookmark for @uri cannot be found then it is created. | ||
| 801 | func (x *BookmarkFile) SetIsPrivate(UriVar string, IsPrivateVar bool) { | 749 | func (x *BookmarkFile) SetIsPrivate(UriVar string, IsPrivateVar bool) { | ||
| 802 | - | core.LazyRegister(&xBookmarkFileSetIsPrivate, "GLIB", "g_bookmark_file_set_is_private", false) | |||
| 803 | - | ||||
| 804 | xBookmarkFileSetIsPrivate(x.GoPointer(), UriVar, IsPrivateVar) | 750 | xBookmarkFileSetIsPrivate(x.GoPointer(), UriVar, IsPrivateVar) | ||
| 805 | } | 751 | } | ||
| 806 | 752 | ||||
| @@ -810,8 +756,6 @@ var xBookmarkFileSetMimeType func(uintptr, string, string) | |||||
| 810 | // | 756 | // | ||
| 811 | // If a bookmark for @uri cannot be found then it is created. | 757 | // If a bookmark for @uri cannot be found then it is created. | ||
| 812 | func (x *BookmarkFile) SetMimeType(UriVar string, MimeTypeVar string) { | 758 | func (x *BookmarkFile) SetMimeType(UriVar string, MimeTypeVar string) { | ||
| 813 | - | core.LazyRegister(&xBookmarkFileSetMimeType, "GLIB", "g_bookmark_file_set_mime_type", false) | |||
| 814 | - | ||||
| 815 | xBookmarkFileSetMimeType(x.GoPointer(), UriVar, MimeTypeVar) | 759 | xBookmarkFileSetMimeType(x.GoPointer(), UriVar, MimeTypeVar) | ||
| 816 | } | 760 | } | ||
| 817 | 761 | ||||
| @@ -826,8 +770,6 @@ var xBookmarkFileSetModified func(uintptr, string, int) | |||||
| 826 | // modifies a bookmark also changes the modification time, except for | 770 | // modifies a bookmark also changes the modification time, except for | ||
| 827 | // g_bookmark_file_set_visited_date_time(). | 771 | // g_bookmark_file_set_visited_date_time(). | ||
| 828 | func (x *BookmarkFile) SetModified(UriVar string, ModifiedVar int) { | 772 | func (x *BookmarkFile) SetModified(UriVar string, ModifiedVar int) { | ||
| 829 | - | core.LazyRegister(&xBookmarkFileSetModified, "GLIB", "g_bookmark_file_set_modified", false) | |||
| 830 | - | ||||
| 831 | xBookmarkFileSetModified(x.GoPointer(), UriVar, ModifiedVar) | 773 | xBookmarkFileSetModified(x.GoPointer(), UriVar, ModifiedVar) | ||
| 832 | } | 774 | } | ||
| 833 | 775 | ||||
| @@ -842,8 +784,6 @@ var xBookmarkFileSetModifiedDateTime func(uintptr, string, *DateTime) | |||||
| 842 | // modifies a bookmark also changes the modification time, except for | 784 | // modifies a bookmark also changes the modification time, except for | ||
| 843 | // g_bookmark_file_set_visited_date_time(). | 785 | // g_bookmark_file_set_visited_date_time(). | ||
| 844 | func (x *BookmarkFile) SetModifiedDateTime(UriVar string, ModifiedVar *DateTime) { | 786 | func (x *BookmarkFile) SetModifiedDateTime(UriVar string, ModifiedVar *DateTime) { | ||
| 845 | - | core.LazyRegister(&xBookmarkFileSetModifiedDateTime, "GLIB", "g_bookmark_file_set_modified_date_time", false) | |||
| 846 | - | ||||
| 847 | xBookmarkFileSetModifiedDateTime(x.GoPointer(), UriVar, ModifiedVar) | 787 | xBookmarkFileSetModifiedDateTime(x.GoPointer(), UriVar, ModifiedVar) | ||
| 848 | } | 788 | } | ||
| 849 | 789 | ||||
| @@ -856,8 +796,6 @@ var xBookmarkFileSetTitle func(uintptr, uintptr, string) | |||||
| 856 | // | 796 | // | ||
| 857 | // If a bookmark for @uri cannot be found then it is created. | 797 | // If a bookmark for @uri cannot be found then it is created. | ||
| 858 | func (x *BookmarkFile) SetTitle(UriVar *string, TitleVar string) { | 798 | func (x *BookmarkFile) SetTitle(UriVar *string, TitleVar string) { | ||
| 859 | - | core.LazyRegister(&xBookmarkFileSetTitle, "GLIB", "g_bookmark_file_set_title", false) | |||
| 860 | - | ||||
| 861 | UriVarPtr := core.GStrdupNullable(UriVar) | 799 | UriVarPtr := core.GStrdupNullable(UriVar) | ||
| 862 | defer core.GFreeNullable(UriVarPtr) | 800 | defer core.GFreeNullable(UriVarPtr) | ||
| 863 | 801 | ||||
| @@ -876,8 +814,6 @@ var xBookmarkFileSetVisited func(uintptr, string, int) | |||||
| 876 | // using g_bookmark_file_get_mime_type(). Changing the "visited" time | 814 | // using g_bookmark_file_get_mime_type(). Changing the "visited" time | ||
| 877 | // does not affect the "modified" time. | 815 | // does not affect the "modified" time. | ||
| 878 | func (x *BookmarkFile) SetVisited(UriVar string, VisitedVar int) { | 816 | func (x *BookmarkFile) SetVisited(UriVar string, VisitedVar int) { | ||
| 879 | - | core.LazyRegister(&xBookmarkFileSetVisited, "GLIB", "g_bookmark_file_set_visited", false) | |||
| 880 | - | ||||
| 881 | xBookmarkFileSetVisited(x.GoPointer(), UriVar, VisitedVar) | 817 | xBookmarkFileSetVisited(x.GoPointer(), UriVar, VisitedVar) | ||
| 882 | } | 818 | } | ||
| 883 | 819 | ||||
| @@ -893,8 +829,6 @@ var xBookmarkFileSetVisitedDateTime func(uintptr, string, *DateTime) | |||||
| 893 | // using g_bookmark_file_get_mime_type(). Changing the "visited" time | 829 | // using g_bookmark_file_get_mime_type(). Changing the "visited" time | ||
| 894 | // does not affect the "modified" time. | 830 | // does not affect the "modified" time. | ||
| 895 | func (x *BookmarkFile) SetVisitedDateTime(UriVar string, VisitedVar *DateTime) { | 831 | func (x *BookmarkFile) SetVisitedDateTime(UriVar string, VisitedVar *DateTime) { | ||
| 896 | - | core.LazyRegister(&xBookmarkFileSetVisitedDateTime, "GLIB", "g_bookmark_file_set_visited_date_time", false) | |||
| 897 | - | ||||
| 898 | xBookmarkFileSetVisitedDateTime(x.GoPointer(), UriVar, VisitedVar) | 832 | xBookmarkFileSetVisitedDateTime(x.GoPointer(), UriVar, VisitedVar) | ||
| 899 | } | 833 | } | ||
| 900 | 834 | ||||
| @@ -902,7 +836,6 @@ var xBookmarkFileToData func(uintptr, *uint, **Error) uintptr | |||||
| 902 | 836 | ||||
| 903 | // This function outputs @bookmark as a string. | 837 | // This function outputs @bookmark as a string. | ||
| 904 | func (x *BookmarkFile) ToData(LengthVar *uint) (uintptr, error) { | 838 | func (x *BookmarkFile) ToData(LengthVar *uint) (uintptr, error) { | ||
| 905 | - | core.LazyRegister(&xBookmarkFileToData, "GLIB", "g_bookmark_file_to_data", false) | |||
| 906 | var cerr *Error | 839 | var cerr *Error | ||
| 907 | 840 | ||||
| 908 | cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr) | 841 | cret := xBookmarkFileToData(x.GoPointer(), LengthVar, &cerr) | ||
| @@ -917,7 +850,6 @@ var xBookmarkFileToFile func(uintptr, string, **Error) bool | |||||
| 917 | // This function outputs @bookmark into a file. The write process is | 850 | // This function outputs @bookmark into a file. The write process is | ||
| 918 | // guaranteed to be atomic by using g_file_set_contents() internally. | 851 | // guaranteed to be atomic by using g_file_set_contents() internally. | ||
| 919 | func (x *BookmarkFile) ToFile(FilenameVar string) (bool, error) { | 852 | func (x *BookmarkFile) ToFile(FilenameVar string) (bool, error) { | ||
| 920 | - | core.LazyRegister(&xBookmarkFileToFile, "GLIB", "g_bookmark_file_to_file", false) | |||
| 921 | var cerr *Error | 853 | var cerr *Error | ||
| 922 | 854 | ||||
| 923 | cret := xBookmarkFileToFile(x.GoPointer(), FilenameVar, &cerr) | 855 | cret := xBookmarkFileToFile(x.GoPointer(), FilenameVar, &cerr) | ||
| @@ -955,4 +887,64 @@ const ( | |||||
| 955 | func init() { | 887 | func init() { | ||
| 956 | core.SetPackageName("GLIB", "glib-2.0") | 888 | core.SetPackageName("GLIB", "glib-2.0") | ||
| 957 | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | 889 | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | ||
| 890 | + | var libs []uintptr | |||
| 891 | + | for _, libPath := range core.GetPaths("GLIB") { | |||
| 892 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 893 | + | if err != nil { | |||
| 894 | + | panic(err) | |||
| 895 | + | } | |||
| 896 | + | libs = append(libs, lib) | |||
| 897 | + | } | |||
| 898 | + | ||||
| 899 | + | core.PuregoSafeRegister(&xBookmarkFileGLibType, libs, "g_bookmark_file_get_type") | |||
| 900 | + | ||||
| 901 | + | core.PuregoSafeRegister(&xNewBookmarkFile, libs, "g_bookmark_file_new") | |||
| 902 | + | ||||
| 903 | + | core.PuregoSafeRegister(&xBookmarkFileAddApplication, libs, "g_bookmark_file_add_application") | |||
| 904 | + | core.PuregoSafeRegister(&xBookmarkFileAddGroup, libs, "g_bookmark_file_add_group") | |||
| 905 | + | core.PuregoSafeRegister(&xBookmarkFileCopy, libs, "g_bookmark_file_copy") | |||
| 906 | + | core.PuregoSafeRegister(&xBookmarkFileFree, libs, "g_bookmark_file_free") | |||
| 907 | + | core.PuregoSafeRegister(&xBookmarkFileGetAdded, libs, "g_bookmark_file_get_added") | |||
| 908 | + | core.PuregoSafeRegister(&xBookmarkFileGetAddedDateTime, libs, "g_bookmark_file_get_added_date_time") | |||
| 909 | + | core.PuregoSafeRegister(&xBookmarkFileGetAppInfo, libs, "g_bookmark_file_get_app_info") | |||
| 910 | + | core.PuregoSafeRegister(&xBookmarkFileGetApplicationInfo, libs, "g_bookmark_file_get_application_info") | |||
| 911 | + | core.PuregoSafeRegister(&xBookmarkFileGetApplications, libs, "g_bookmark_file_get_applications") | |||
| 912 | + | core.PuregoSafeRegister(&xBookmarkFileGetDescription, libs, "g_bookmark_file_get_description") | |||
| 913 | + | core.PuregoSafeRegister(&xBookmarkFileGetGroups, libs, "g_bookmark_file_get_groups") | |||
| 914 | + | core.PuregoSafeRegister(&xBookmarkFileGetIcon, libs, "g_bookmark_file_get_icon") | |||
| 915 | + | core.PuregoSafeRegister(&xBookmarkFileGetIsPrivate, libs, "g_bookmark_file_get_is_private") | |||
| 916 | + | core.PuregoSafeRegister(&xBookmarkFileGetMimeType, libs, "g_bookmark_file_get_mime_type") | |||
| 917 | + | core.PuregoSafeRegister(&xBookmarkFileGetModified, libs, "g_bookmark_file_get_modified") | |||
| 918 | + | core.PuregoSafeRegister(&xBookmarkFileGetModifiedDateTime, libs, "g_bookmark_file_get_modified_date_time") | |||
| 919 | + | core.PuregoSafeRegister(&xBookmarkFileGetSize, libs, "g_bookmark_file_get_size") | |||
| 920 | + | core.PuregoSafeRegister(&xBookmarkFileGetTitle, libs, "g_bookmark_file_get_title") | |||
| 921 | + | core.PuregoSafeRegister(&xBookmarkFileGetUris, libs, "g_bookmark_file_get_uris") | |||
| 922 | + | core.PuregoSafeRegister(&xBookmarkFileGetVisited, libs, "g_bookmark_file_get_visited") | |||
| 923 | + | core.PuregoSafeRegister(&xBookmarkFileGetVisitedDateTime, libs, "g_bookmark_file_get_visited_date_time") | |||
| 924 | + | core.PuregoSafeRegister(&xBookmarkFileHasApplication, libs, "g_bookmark_file_has_application") | |||
| 925 | + | core.PuregoSafeRegister(&xBookmarkFileHasGroup, libs, "g_bookmark_file_has_group") | |||
| 926 | + | core.PuregoSafeRegister(&xBookmarkFileHasItem, libs, "g_bookmark_file_has_item") | |||
| 927 | + | core.PuregoSafeRegister(&xBookmarkFileLoadFromData, libs, "g_bookmark_file_load_from_data") | |||
| 928 | + | core.PuregoSafeRegister(&xBookmarkFileLoadFromDataDirs, libs, "g_bookmark_file_load_from_data_dirs") | |||
| 929 | + | core.PuregoSafeRegister(&xBookmarkFileLoadFromFile, libs, "g_bookmark_file_load_from_file") | |||
| 930 | + | core.PuregoSafeRegister(&xBookmarkFileMoveItem, libs, "g_bookmark_file_move_item") | |||
| 931 | + | core.PuregoSafeRegister(&xBookmarkFileRemoveApplication, libs, "g_bookmark_file_remove_application") | |||
| 932 | + | core.PuregoSafeRegister(&xBookmarkFileRemoveGroup, libs, "g_bookmark_file_remove_group") | |||
| 933 | + | core.PuregoSafeRegister(&xBookmarkFileRemoveItem, libs, "g_bookmark_file_remove_item") | |||
| 934 | + | core.PuregoSafeRegister(&xBookmarkFileSetAdded, libs, "g_bookmark_file_set_added") | |||
| 935 | + | core.PuregoSafeRegister(&xBookmarkFileSetAddedDateTime, libs, "g_bookmark_file_set_added_date_time") | |||
| 936 | + | core.PuregoSafeRegister(&xBookmarkFileSetAppInfo, libs, "g_bookmark_file_set_app_info") | |||
| 937 | + | core.PuregoSafeRegister(&xBookmarkFileSetApplicationInfo, libs, "g_bookmark_file_set_application_info") | |||
| 938 | + | core.PuregoSafeRegister(&xBookmarkFileSetDescription, libs, "g_bookmark_file_set_description") | |||
| 939 | + | core.PuregoSafeRegister(&xBookmarkFileSetGroups, libs, "g_bookmark_file_set_groups") | |||
| 940 | + | core.PuregoSafeRegister(&xBookmarkFileSetIcon, libs, "g_bookmark_file_set_icon") | |||
| 941 | + | core.PuregoSafeRegister(&xBookmarkFileSetIsPrivate, libs, "g_bookmark_file_set_is_private") | |||
| 942 | + | core.PuregoSafeRegister(&xBookmarkFileSetMimeType, libs, "g_bookmark_file_set_mime_type") | |||
| 943 | + | core.PuregoSafeRegister(&xBookmarkFileSetModified, libs, "g_bookmark_file_set_modified") | |||
| 944 | + | core.PuregoSafeRegister(&xBookmarkFileSetModifiedDateTime, libs, "g_bookmark_file_set_modified_date_time") | |||
| 945 | + | core.PuregoSafeRegister(&xBookmarkFileSetTitle, libs, "g_bookmark_file_set_title") | |||
| 946 | + | core.PuregoSafeRegister(&xBookmarkFileSetVisited, libs, "g_bookmark_file_set_visited") | |||
| 947 | + | core.PuregoSafeRegister(&xBookmarkFileSetVisitedDateTime, libs, "g_bookmark_file_set_visited_date_time") | |||
| 948 | + | core.PuregoSafeRegister(&xBookmarkFileToData, libs, "g_bookmark_file_to_data") | |||
| 949 | + | core.PuregoSafeRegister(&xBookmarkFileToFile, libs, "g_bookmark_file_to_file") | |||
| 958 | } | 950 | } | ||