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
| @@ -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/glib" | |
| 10 | 11 | "github.com/bnema/puregotk/v4/gobject" | |
| @@ -750,7 +751,6 @@ type FileInfo struct { | |||
| 750 | 751 | var xFileInfoGLibType func() types.GType | |
| 751 | 752 | ||
| 752 | 753 | func FileInfoGLibType() types.GType { | |
| 753 | - | core.LazyRegister(&xFileInfoGLibType, "GIO", "g_file_info_get_type", false) | |
| 754 | 754 | return xFileInfoGLibType() | |
| 755 | 755 | } | |
| 756 | 756 | ||
| @@ -764,7 +764,6 @@ var xNewFileInfo func() uintptr | |||
| 764 | 764 | ||
| 765 | 765 | // Creates a new file info structure. | |
| 766 | 766 | func NewFileInfo() *FileInfo { | |
| 767 | - | core.LazyRegister(&xNewFileInfo, "GIO", "g_file_info_new", false) | |
| 768 | 767 | var cls *FileInfo | |
| 769 | 768 | ||
| 770 | 769 | cret := xNewFileInfo() | |
| @@ -781,8 +780,6 @@ var xFileInfoClearStatus func(uintptr) | |||
| 781 | 780 | ||
| 782 | 781 | // Clears the status information from @info. | |
| 783 | 782 | func (x *FileInfo) ClearStatus() { | |
| 784 | - | core.LazyRegister(&xFileInfoClearStatus, "GIO", "g_file_info_clear_status", false) | |
| 785 | - | ||
| 786 | 783 | xFileInfoClearStatus(x.GoPointer()) | |
| 787 | 784 | } | |
| 788 | 785 | ||
| @@ -791,8 +788,6 @@ var xFileInfoCopyInto func(uintptr, uintptr) | |||
| 791 | 788 | // First clears all of the [GFileAttribute](file-attributes.html#file-attributes) of | |
| 792 | 789 | // @dest_info, and then copies all of the file attributes from @src_info to @dest_info. | |
| 793 | 790 | func (x *FileInfo) CopyInto(DestInfoVar *FileInfo) { | |
| 794 | - | core.LazyRegister(&xFileInfoCopyInto, "GIO", "g_file_info_copy_into", false) | |
| 795 | - | ||
| 796 | 791 | xFileInfoCopyInto(x.GoPointer(), DestInfoVar.GoPointer()) | |
| 797 | 792 | } | |
| 798 | 793 | ||
| @@ -800,7 +795,6 @@ var xFileInfoDup func(uintptr) uintptr | |||
| 800 | 795 | ||
| 801 | 796 | // Duplicates a file info structure. | |
| 802 | 797 | func (x *FileInfo) Dup() *FileInfo { | |
| 803 | - | core.LazyRegister(&xFileInfoDup, "GIO", "g_file_info_dup", false) | |
| 804 | 798 | var cls *FileInfo | |
| 805 | 799 | ||
| 806 | 800 | cret := xFileInfoDup(x.GoPointer()) | |
| @@ -826,8 +820,6 @@ var xFileInfoGetAccessDateTime func(uintptr) uintptr | |||
| 826 | 820 | // If nanosecond precision is needed, %G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC must | |
| 827 | 821 | // be queried separately using g_file_info_get_attribute_uint32(). | |
| 828 | 822 | func (x *FileInfo) GetAccessDateTime() *glib.DateTime { | |
| 829 | - | core.LazyRegister(&xFileInfoGetAccessDateTime, "GIO", "g_file_info_get_access_date_time", false) | |
| 830 | - | ||
| 831 | 823 | cret := xFileInfoGetAccessDateTime(x.GoPointer()) | |
| 832 | 824 | if cret == 0 { | |
| 833 | 825 | return nil | |
| @@ -858,8 +850,6 @@ var xFileInfoGetAttributeAsString func(uintptr, string) string | |||
| 858 | 850 | // | |
| 859 | 851 | // ``` | |
| 860 | 852 | func (x *FileInfo) GetAttributeAsString(AttributeVar string) string { | |
| 861 | - | core.LazyRegister(&xFileInfoGetAttributeAsString, "GIO", "g_file_info_get_attribute_as_string", false) | |
| 862 | - | ||
| 863 | 853 | cret := xFileInfoGetAttributeAsString(x.GoPointer(), AttributeVar) | |
| 864 | 854 | return cret | |
| 865 | 855 | } | |
| @@ -869,8 +859,6 @@ var xFileInfoGetAttributeBoolean func(uintptr, string) bool | |||
| 869 | 859 | // Gets the value of a boolean attribute. If the attribute does not | |
| 870 | 860 | // contain a boolean value, %FALSE will be returned. | |
| 871 | 861 | func (x *FileInfo) GetAttributeBoolean(AttributeVar string) bool { | |
| 872 | - | core.LazyRegister(&xFileInfoGetAttributeBoolean, "GIO", "g_file_info_get_attribute_boolean", false) | |
| 873 | - | ||
| 874 | 862 | cret := xFileInfoGetAttributeBoolean(x.GoPointer(), AttributeVar) | |
| 875 | 863 | return cret | |
| 876 | 864 | } | |
| @@ -880,8 +868,6 @@ var xFileInfoGetAttributeByteString func(uintptr, string) string | |||
| 880 | 868 | // Gets the value of a byte string attribute. If the attribute does | |
| 881 | 869 | // not contain a byte string, %NULL will be returned. | |
| 882 | 870 | func (x *FileInfo) GetAttributeByteString(AttributeVar string) string { | |
| 883 | - | core.LazyRegister(&xFileInfoGetAttributeByteString, "GIO", "g_file_info_get_attribute_byte_string", false) | |
| 884 | - | ||
| 885 | 871 | cret := xFileInfoGetAttributeByteString(x.GoPointer(), AttributeVar) | |
| 886 | 872 | return cret | |
| 887 | 873 | } | |
| @@ -890,8 +876,6 @@ var xFileInfoGetAttributeData func(uintptr, string, *FileAttributeType, *uintptr | |||
| 890 | 876 | ||
| 891 | 877 | // Gets the attribute type, value and status for an attribute key. | |
| 892 | 878 | func (x *FileInfo) GetAttributeData(AttributeVar string, TypeVar *FileAttributeType, ValuePpVar *uintptr, StatusVar *FileAttributeStatus) bool { | |
| 893 | - | core.LazyRegister(&xFileInfoGetAttributeData, "GIO", "g_file_info_get_attribute_data", false) | |
| 894 | - | ||
| 895 | 879 | cret := xFileInfoGetAttributeData(x.GoPointer(), AttributeVar, TypeVar, ValuePpVar, StatusVar) | |
| 896 | 880 | return cret | |
| 897 | 881 | } | |
| @@ -905,8 +889,6 @@ var xFileInfoGetAttributeFilePath func(uintptr, string) string | |||
| 905 | 889 | // This function is meant to be used by language bindings that have specific | |
| 906 | 890 | // handling for Unix paths. | |
| 907 | 891 | func (x *FileInfo) GetAttributeFilePath(AttributeVar string) string { | |
| 908 | - | core.LazyRegister(&xFileInfoGetAttributeFilePath, "GIO", "g_file_info_get_attribute_file_path", false) | |
| 909 | - | ||
| 910 | 892 | cret := xFileInfoGetAttributeFilePath(x.GoPointer(), AttributeVar) | |
| 911 | 893 | return cret | |
| 912 | 894 | } | |
| @@ -917,8 +899,6 @@ var xFileInfoGetAttributeInt32 func(uintptr, string) int32 | |||
| 917 | 899 | // attribute does not contain a signed 32-bit integer, or is invalid, | |
| 918 | 900 | // 0 will be returned. | |
| 919 | 901 | func (x *FileInfo) GetAttributeInt32(AttributeVar string) int32 { | |
| 920 | - | core.LazyRegister(&xFileInfoGetAttributeInt32, "GIO", "g_file_info_get_attribute_int32", false) | |
| 921 | - | ||
| 922 | 902 | cret := xFileInfoGetAttributeInt32(x.GoPointer(), AttributeVar) | |
| 923 | 903 | return cret | |
| 924 | 904 | } | |
| @@ -929,8 +909,6 @@ var xFileInfoGetAttributeInt64 func(uintptr, string) int64 | |||
| 929 | 909 | // attribute does not contain a signed 64-bit integer, or is invalid, | |
| 930 | 910 | // 0 will be returned. | |
| 931 | 911 | func (x *FileInfo) GetAttributeInt64(AttributeVar string) int64 { | |
| 932 | - | core.LazyRegister(&xFileInfoGetAttributeInt64, "GIO", "g_file_info_get_attribute_int64", false) | |
| 933 | - | ||
| 934 | 912 | cret := xFileInfoGetAttributeInt64(x.GoPointer(), AttributeVar) | |
| 935 | 913 | return cret | |
| 936 | 914 | } | |
| @@ -940,7 +918,6 @@ var xFileInfoGetAttributeObject func(uintptr, string) uintptr | |||
| 940 | 918 | // Gets the value of a #GObject attribute. If the attribute does | |
| 941 | 919 | // not contain a #GObject, %NULL will be returned. | |
| 942 | 920 | func (x *FileInfo) GetAttributeObject(AttributeVar string) *gobject.Object { | |
| 943 | - | core.LazyRegister(&xFileInfoGetAttributeObject, "GIO", "g_file_info_get_attribute_object", false) | |
| 944 | 921 | var cls *gobject.Object | |
| 945 | 922 | ||
| 946 | 923 | cret := xFileInfoGetAttributeObject(x.GoPointer(), AttributeVar) | |
| @@ -958,8 +935,6 @@ var xFileInfoGetAttributeStatus func(uintptr, string) FileAttributeStatus | |||
| 958 | 935 | ||
| 959 | 936 | // Gets the attribute status for an attribute key. | |
| 960 | 937 | func (x *FileInfo) GetAttributeStatus(AttributeVar string) FileAttributeStatus { | |
| 961 | - | core.LazyRegister(&xFileInfoGetAttributeStatus, "GIO", "g_file_info_get_attribute_status", false) | |
| 962 | - | ||
| 963 | 938 | cret := xFileInfoGetAttributeStatus(x.GoPointer(), AttributeVar) | |
| 964 | 939 | return cret | |
| 965 | 940 | } | |
| @@ -969,8 +944,6 @@ var xFileInfoGetAttributeString func(uintptr, string) string | |||
| 969 | 944 | // Gets the value of a string attribute. If the attribute does | |
| 970 | 945 | // not contain a string, %NULL will be returned. | |
| 971 | 946 | func (x *FileInfo) GetAttributeString(AttributeVar string) string { | |
| 972 | - | core.LazyRegister(&xFileInfoGetAttributeString, "GIO", "g_file_info_get_attribute_string", false) | |
| 973 | - | ||
| 974 | 947 | cret := xFileInfoGetAttributeString(x.GoPointer(), AttributeVar) | |
| 975 | 948 | return cret | |
| 976 | 949 | } | |
| @@ -980,8 +953,6 @@ var xFileInfoGetAttributeStringv func(uintptr, string) []string | |||
| 980 | 953 | // Gets the value of a stringv attribute. If the attribute does | |
| 981 | 954 | // not contain a stringv, %NULL will be returned. | |
| 982 | 955 | func (x *FileInfo) GetAttributeStringv(AttributeVar string) []string { | |
| 983 | - | core.LazyRegister(&xFileInfoGetAttributeStringv, "GIO", "g_file_info_get_attribute_stringv", false) | |
| 984 | - | ||
| 985 | 956 | cret := xFileInfoGetAttributeStringv(x.GoPointer(), AttributeVar) | |
| 986 | 957 | return cret | |
| 987 | 958 | } | |
| @@ -990,8 +961,6 @@ var xFileInfoGetAttributeType func(uintptr, string) FileAttributeType | |||
| 990 | 961 | ||
| 991 | 962 | // Gets the attribute type for an attribute key. | |
| 992 | 963 | func (x *FileInfo) GetAttributeType(AttributeVar string) FileAttributeType { | |
| 993 | - | core.LazyRegister(&xFileInfoGetAttributeType, "GIO", "g_file_info_get_attribute_type", false) | |
| 994 | - | ||
| 995 | 964 | cret := xFileInfoGetAttributeType(x.GoPointer(), AttributeVar) | |
| 996 | 965 | return cret | |
| 997 | 966 | } | |
| @@ -1002,8 +971,6 @@ var xFileInfoGetAttributeUint32 func(uintptr, string) uint32 | |||
| 1002 | 971 | // attribute does not contain an unsigned 32-bit integer, or is invalid, | |
| 1003 | 972 | // 0 will be returned. | |
| 1004 | 973 | func (x *FileInfo) GetAttributeUint32(AttributeVar string) uint32 { | |
| 1005 | - | core.LazyRegister(&xFileInfoGetAttributeUint32, "GIO", "g_file_info_get_attribute_uint32", false) | |
| 1006 | - | ||
| 1007 | 974 | cret := xFileInfoGetAttributeUint32(x.GoPointer(), AttributeVar) | |
| 1008 | 975 | return cret | |
| 1009 | 976 | } | |
| @@ -1014,8 +981,6 @@ var xFileInfoGetAttributeUint64 func(uintptr, string) uint64 | |||
| 1014 | 981 | // attribute does not contain an unsigned 64-bit integer, or is invalid, | |
| 1015 | 982 | // 0 will be returned. | |
| 1016 | 983 | func (x *FileInfo) GetAttributeUint64(AttributeVar string) uint64 { | |
| 1017 | - | core.LazyRegister(&xFileInfoGetAttributeUint64, "GIO", "g_file_info_get_attribute_uint64", false) | |
| 1018 | - | ||
| 1019 | 984 | cret := xFileInfoGetAttributeUint64(x.GoPointer(), AttributeVar) | |
| 1020 | 985 | return cret | |
| 1021 | 986 | } | |
| @@ -1027,8 +992,6 @@ var xFileInfoGetContentType func(uintptr) string | |||
| 1027 | 992 | // It is an error to call this if the #GFileInfo does not contain | |
| 1028 | 993 | // %G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. | |
| 1029 | 994 | func (x *FileInfo) GetContentType() string { | |
| 1030 | - | core.LazyRegister(&xFileInfoGetContentType, "GIO", "g_file_info_get_content_type", false) | |
| 1031 | - | ||
| 1032 | 995 | cret := xFileInfoGetContentType(x.GoPointer()) | |
| 1033 | 996 | return cret | |
| 1034 | 997 | } | |
| @@ -1046,8 +1009,6 @@ var xFileInfoGetCreationDateTime func(uintptr) uintptr | |||
| 1046 | 1009 | // If nanosecond precision is needed, %G_FILE_ATTRIBUTE_TIME_CREATED_NSEC must | |
| 1047 | 1010 | // be queried separately using g_file_info_get_attribute_uint32(). | |
| 1048 | 1011 | func (x *FileInfo) GetCreationDateTime() *glib.DateTime { | |
| 1049 | - | core.LazyRegister(&xFileInfoGetCreationDateTime, "GIO", "g_file_info_get_creation_date_time", false) | |
| 1050 | - | ||
| 1051 | 1012 | cret := xFileInfoGetCreationDateTime(x.GoPointer()) | |
| 1052 | 1013 | if cret == 0 { | |
| 1053 | 1014 | return nil | |
| @@ -1061,8 +1022,6 @@ var xFileInfoGetDeletionDate func(uintptr) uintptr | |||
| 1061 | 1022 | // available in %G_FILE_ATTRIBUTE_TRASH_DELETION_DATE. If the | |
| 1062 | 1023 | // %G_FILE_ATTRIBUTE_TRASH_DELETION_DATE attribute is unset, %NULL is returned. | |
| 1063 | 1024 | func (x *FileInfo) GetDeletionDate() *glib.DateTime { | |
| 1064 | - | core.LazyRegister(&xFileInfoGetDeletionDate, "GIO", "g_file_info_get_deletion_date", false) | |
| 1065 | - | ||
| 1066 | 1025 | cret := xFileInfoGetDeletionDate(x.GoPointer()) | |
| 1067 | 1026 | if cret == 0 { | |
| 1068 | 1027 | return nil | |
| @@ -1077,8 +1036,6 @@ var xFileInfoGetDisplayName func(uintptr) string | |||
| 1077 | 1036 | // It is an error to call this if the #GFileInfo does not contain | |
| 1078 | 1037 | // %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. | |
| 1079 | 1038 | func (x *FileInfo) GetDisplayName() string { | |
| 1080 | - | core.LazyRegister(&xFileInfoGetDisplayName, "GIO", "g_file_info_get_display_name", false) | |
| 1081 | - | ||
| 1082 | 1039 | cret := xFileInfoGetDisplayName(x.GoPointer()) | |
| 1083 | 1040 | return cret | |
| 1084 | 1041 | } | |
| @@ -1090,8 +1047,6 @@ var xFileInfoGetEditName func(uintptr) string | |||
| 1090 | 1047 | // It is an error to call this if the #GFileInfo does not contain | |
| 1091 | 1048 | // %G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME. | |
| 1092 | 1049 | func (x *FileInfo) GetEditName() string { | |
| 1093 | - | core.LazyRegister(&xFileInfoGetEditName, "GIO", "g_file_info_get_edit_name", false) | |
| 1094 | - | ||
| 1095 | 1050 | cret := xFileInfoGetEditName(x.GoPointer()) | |
| 1096 | 1051 | return cret | |
| 1097 | 1052 | } | |
| @@ -1104,8 +1059,6 @@ var xFileInfoGetEtag func(uintptr) string | |||
| 1104 | 1059 | // It is an error to call this if the #GFileInfo does not contain | |
| 1105 | 1060 | // %G_FILE_ATTRIBUTE_ETAG_VALUE. | |
| 1106 | 1061 | func (x *FileInfo) GetEtag() string { | |
| 1107 | - | core.LazyRegister(&xFileInfoGetEtag, "GIO", "g_file_info_get_etag", false) | |
| 1108 | - | ||
| 1109 | 1062 | cret := xFileInfoGetEtag(x.GoPointer()) | |
| 1110 | 1063 | return cret | |
| 1111 | 1064 | } | |
| @@ -1118,8 +1071,6 @@ var xFileInfoGetFileType func(uintptr) FileType | |||
| 1118 | 1071 | // It is an error to call this if the #GFileInfo does not contain | |
| 1119 | 1072 | // %G_FILE_ATTRIBUTE_STANDARD_TYPE. | |
| 1120 | 1073 | func (x *FileInfo) GetFileType() FileType { | |
| 1121 | - | core.LazyRegister(&xFileInfoGetFileType, "GIO", "g_file_info_get_file_type", false) | |
| 1122 | - | ||
| 1123 | 1074 | cret := xFileInfoGetFileType(x.GoPointer()) | |
| 1124 | 1075 | return cret | |
| 1125 | 1076 | } | |
| @@ -1131,7 +1082,6 @@ var xFileInfoGetIcon func(uintptr) uintptr | |||
| 1131 | 1082 | // It is an error to call this if the #GFileInfo does not contain | |
| 1132 | 1083 | // %G_FILE_ATTRIBUTE_STANDARD_ICON. | |
| 1133 | 1084 | func (x *FileInfo) GetIcon() *IconBase { | |
| 1134 | - | core.LazyRegister(&xFileInfoGetIcon, "GIO", "g_file_info_get_icon", false) | |
| 1135 | 1085 | var cls *IconBase | |
| 1136 | 1086 | ||
| 1137 | 1087 | cret := xFileInfoGetIcon(x.GoPointer()) | |
| @@ -1157,8 +1107,6 @@ var xFileInfoGetIsBackup func(uintptr) bool | |||
| 1157 | 1107 | // It is an error to call this if the #GFileInfo does not contain | |
| 1158 | 1108 | // %G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP. | |
| 1159 | 1109 | func (x *FileInfo) GetIsBackup() bool { | |
| 1160 | - | core.LazyRegister(&xFileInfoGetIsBackup, "GIO", "g_file_info_get_is_backup", false) | |
| 1161 | - | ||
| 1162 | 1110 | cret := xFileInfoGetIsBackup(x.GoPointer()) | |
| 1163 | 1111 | return cret | |
| 1164 | 1112 | } | |
| @@ -1170,8 +1118,6 @@ var xFileInfoGetIsHidden func(uintptr) bool | |||
| 1170 | 1118 | // It is an error to call this if the #GFileInfo does not contain | |
| 1171 | 1119 | // %G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. | |
| 1172 | 1120 | func (x *FileInfo) GetIsHidden() bool { | |
| 1173 | - | core.LazyRegister(&xFileInfoGetIsHidden, "GIO", "g_file_info_get_is_hidden", false) | |
| 1174 | - | ||
| 1175 | 1121 | cret := xFileInfoGetIsHidden(x.GoPointer()) | |
| 1176 | 1122 | return cret | |
| 1177 | 1123 | } | |
| @@ -1183,8 +1129,6 @@ var xFileInfoGetIsSymlink func(uintptr) bool | |||
| 1183 | 1129 | // It is an error to call this if the #GFileInfo does not contain | |
| 1184 | 1130 | // %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. | |
| 1185 | 1131 | func (x *FileInfo) GetIsSymlink() bool { | |
| 1186 | - | core.LazyRegister(&xFileInfoGetIsSymlink, "GIO", "g_file_info_get_is_symlink", false) | |
| 1187 | - | ||
| 1188 | 1132 | cret := xFileInfoGetIsSymlink(x.GoPointer()) | |
| 1189 | 1133 | return cret | |
| 1190 | 1134 | } | |
| @@ -1202,8 +1146,6 @@ var xFileInfoGetModificationDateTime func(uintptr) uintptr | |||
| 1202 | 1146 | // If nanosecond precision is needed, %G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC must | |
| 1203 | 1147 | // be queried separately using g_file_info_get_attribute_uint32(). | |
| 1204 | 1148 | func (x *FileInfo) GetModificationDateTime() *glib.DateTime { | |
| 1205 | - | core.LazyRegister(&xFileInfoGetModificationDateTime, "GIO", "g_file_info_get_modification_date_time", false) | |
| 1206 | - | ||
| 1207 | 1149 | cret := xFileInfoGetModificationDateTime(x.GoPointer()) | |
| 1208 | 1150 | if cret == 0 { | |
| 1209 | 1151 | return nil | |
| @@ -1220,8 +1162,6 @@ var xFileInfoGetModificationTime func(uintptr, *glib.TimeVal) | |||
| 1220 | 1162 | // %G_FILE_ATTRIBUTE_TIME_MODIFIED. If %G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC is | |
| 1221 | 1163 | // provided it will be used too. | |
| 1222 | 1164 | func (x *FileInfo) GetModificationTime(ResultVar *glib.TimeVal) { | |
| 1223 | - | core.LazyRegister(&xFileInfoGetModificationTime, "GIO", "g_file_info_get_modification_time", false) | |
| 1224 | - | ||
| 1225 | 1165 | xFileInfoGetModificationTime(x.GoPointer(), ResultVar) | |
| 1226 | 1166 | } | |
| 1227 | 1167 | ||
| @@ -1232,8 +1172,6 @@ var xFileInfoGetName func(uintptr) string | |||
| 1232 | 1172 | // It is an error to call this if the #GFileInfo does not contain | |
| 1233 | 1173 | // %G_FILE_ATTRIBUTE_STANDARD_NAME. | |
| 1234 | 1174 | func (x *FileInfo) GetName() string { | |
| 1235 | - | core.LazyRegister(&xFileInfoGetName, "GIO", "g_file_info_get_name", false) | |
| 1236 | - | ||
| 1237 | 1175 | cret := xFileInfoGetName(x.GoPointer()) | |
| 1238 | 1176 | return cret | |
| 1239 | 1177 | } | |
| @@ -1247,8 +1185,6 @@ var xFileInfoGetSize func(uintptr) int64 | |||
| 1247 | 1185 | // It is an error to call this if the #GFileInfo does not contain | |
| 1248 | 1186 | // %G_FILE_ATTRIBUTE_STANDARD_SIZE. | |
| 1249 | 1187 | func (x *FileInfo) GetSize() int64 { | |
| 1250 | - | core.LazyRegister(&xFileInfoGetSize, "GIO", "g_file_info_get_size", false) | |
| 1251 | - | ||
| 1252 | 1188 | cret := xFileInfoGetSize(x.GoPointer()) | |
| 1253 | 1189 | return cret | |
| 1254 | 1190 | } | |
| @@ -1261,8 +1197,6 @@ var xFileInfoGetSortOrder func(uintptr) int32 | |||
| 1261 | 1197 | // It is an error to call this if the #GFileInfo does not contain | |
| 1262 | 1198 | // %G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. | |
| 1263 | 1199 | func (x *FileInfo) GetSortOrder() int32 { | |
| 1264 | - | core.LazyRegister(&xFileInfoGetSortOrder, "GIO", "g_file_info_get_sort_order", false) | |
| 1265 | - | ||
| 1266 | 1200 | cret := xFileInfoGetSortOrder(x.GoPointer()) | |
| 1267 | 1201 | return cret | |
| 1268 | 1202 | } | |
| @@ -1274,7 +1208,6 @@ var xFileInfoGetSymbolicIcon func(uintptr) uintptr | |||
| 1274 | 1208 | // It is an error to call this if the #GFileInfo does not contain | |
| 1275 | 1209 | // %G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON. | |
| 1276 | 1210 | func (x *FileInfo) GetSymbolicIcon() *IconBase { | |
| 1277 | - | core.LazyRegister(&xFileInfoGetSymbolicIcon, "GIO", "g_file_info_get_symbolic_icon", false) | |
| 1278 | 1211 | var cls *IconBase | |
| 1279 | 1212 | ||
| 1280 | 1213 | cret := xFileInfoGetSymbolicIcon(x.GoPointer()) | |
| @@ -1295,8 +1228,6 @@ var xFileInfoGetSymlinkTarget func(uintptr) string | |||
| 1295 | 1228 | // It is an error to call this if the #GFileInfo does not contain | |
| 1296 | 1229 | // %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET. | |
| 1297 | 1230 | func (x *FileInfo) GetSymlinkTarget() string { | |
| 1298 | - | core.LazyRegister(&xFileInfoGetSymlinkTarget, "GIO", "g_file_info_get_symlink_target", false) | |
| 1299 | - | ||
| 1300 | 1231 | cret := xFileInfoGetSymlinkTarget(x.GoPointer()) | |
| 1301 | 1232 | return cret | |
| 1302 | 1233 | } | |
| @@ -1305,8 +1236,6 @@ var xFileInfoHasAttribute func(uintptr, string) bool | |||
| 1305 | 1236 | ||
| 1306 | 1237 | // Checks if a file info structure has an attribute named @attribute. | |
| 1307 | 1238 | func (x *FileInfo) HasAttribute(AttributeVar string) bool { | |
| 1308 | - | core.LazyRegister(&xFileInfoHasAttribute, "GIO", "g_file_info_has_attribute", false) | |
| 1309 | - | ||
| 1310 | 1239 | cret := xFileInfoHasAttribute(x.GoPointer(), AttributeVar) | |
| 1311 | 1240 | return cret | |
| 1312 | 1241 | } | |
| @@ -1316,8 +1245,6 @@ var xFileInfoHasNamespace func(uintptr, string) bool | |||
| 1316 | 1245 | // Checks if a file info structure has an attribute in the | |
| 1317 | 1246 | // specified @name_space. | |
| 1318 | 1247 | func (x *FileInfo) HasNamespace(NameSpaceVar string) bool { | |
| 1319 | - | core.LazyRegister(&xFileInfoHasNamespace, "GIO", "g_file_info_has_namespace", false) | |
| 1320 | - | ||
| 1321 | 1248 | cret := xFileInfoHasNamespace(x.GoPointer(), NameSpaceVar) | |
| 1322 | 1249 | return cret | |
| 1323 | 1250 | } | |
| @@ -1326,8 +1253,6 @@ var xFileInfoListAttributes func(uintptr, uintptr) []string | |||
| 1326 | 1253 | ||
| 1327 | 1254 | // Lists the file info structure's attributes. | |
| 1328 | 1255 | func (x *FileInfo) ListAttributes(NameSpaceVar *string) []string { | |
| 1329 | - | core.LazyRegister(&xFileInfoListAttributes, "GIO", "g_file_info_list_attributes", false) | |
| 1330 | - | ||
| 1331 | 1256 | NameSpaceVarPtr := core.GStrdupNullable(NameSpaceVar) | |
| 1332 | 1257 | defer core.GFreeNullable(NameSpaceVarPtr) | |
| 1333 | 1258 | ||
| @@ -1339,8 +1264,6 @@ var xFileInfoRemoveAttribute func(uintptr, string) | |||
| 1339 | 1264 | ||
| 1340 | 1265 | // Removes all cases of @attribute from @info if it exists. | |
| 1341 | 1266 | func (x *FileInfo) RemoveAttribute(AttributeVar string) { | |
| 1342 | - | core.LazyRegister(&xFileInfoRemoveAttribute, "GIO", "g_file_info_remove_attribute", false) | |
| 1343 | - | ||
| 1344 | 1267 | xFileInfoRemoveAttribute(x.GoPointer(), AttributeVar) | |
| 1345 | 1268 | } | |
| 1346 | 1269 | ||
| @@ -1352,8 +1275,6 @@ var xFileInfoSetAccessDateTime func(uintptr, *glib.DateTime) | |||
| 1352 | 1275 | // | |
| 1353 | 1276 | // %G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC will be cleared. | |
| 1354 | 1277 | func (x *FileInfo) SetAccessDateTime(AtimeVar *glib.DateTime) { | |
| 1355 | - | core.LazyRegister(&xFileInfoSetAccessDateTime, "GIO", "g_file_info_set_access_date_time", false) | |
| 1356 | - | ||
| 1357 | 1278 | xFileInfoSetAccessDateTime(x.GoPointer(), AtimeVar) | |
| 1358 | 1279 | } | |
| 1359 | 1280 | ||
| @@ -1362,8 +1283,6 @@ var xFileInfoSetAttribute func(uintptr, string, FileAttributeType, uintptr) | |||
| 1362 | 1283 | // Sets the @attribute to contain the given value, if possible. To unset the | |
| 1363 | 1284 | // attribute, use %G_FILE_ATTRIBUTE_TYPE_INVALID for @type. | |
| 1364 | 1285 | func (x *FileInfo) SetAttribute(AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr) { | |
| 1365 | - | core.LazyRegister(&xFileInfoSetAttribute, "GIO", "g_file_info_set_attribute", false) | |
| 1366 | - | ||
| 1367 | 1286 | xFileInfoSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar) | |
| 1368 | 1287 | } | |
| 1369 | 1288 | ||
| @@ -1372,8 +1291,6 @@ var xFileInfoSetAttributeBoolean func(uintptr, string, bool) | |||
| 1372 | 1291 | // Sets the @attribute to contain the given @attr_value, | |
| 1373 | 1292 | // if possible. | |
| 1374 | 1293 | func (x *FileInfo) SetAttributeBoolean(AttributeVar string, AttrValueVar bool) { | |
| 1375 | - | core.LazyRegister(&xFileInfoSetAttributeBoolean, "GIO", "g_file_info_set_attribute_boolean", false) | |
| 1376 | - | ||
| 1377 | 1294 | xFileInfoSetAttributeBoolean(x.GoPointer(), AttributeVar, AttrValueVar) | |
| 1378 | 1295 | } | |
| 1379 | 1296 | ||
| @@ -1382,8 +1299,6 @@ var xFileInfoSetAttributeByteString func(uintptr, string, string) | |||
| 1382 | 1299 | // Sets the @attribute to contain the given @attr_value, | |
| 1383 | 1300 | // if possible. | |
| 1384 | 1301 | func (x *FileInfo) SetAttributeByteString(AttributeVar string, AttrValueVar string) { | |
| 1385 | - | core.LazyRegister(&xFileInfoSetAttributeByteString, "GIO", "g_file_info_set_attribute_byte_string", false) | |
| 1386 | - | ||
| 1387 | 1302 | xFileInfoSetAttributeByteString(x.GoPointer(), AttributeVar, AttrValueVar) | |
| 1388 | 1303 | } | |
| 1389 | 1304 | ||
| @@ -1395,8 +1310,6 @@ var xFileInfoSetAttributeFilePath func(uintptr, string, string) | |||
| 1395 | 1310 | // This function is meant to be used by language bindings that have specific | |
| 1396 | 1311 | // handling for Unix paths. | |
| 1397 | 1312 | func (x *FileInfo) SetAttributeFilePath(AttributeVar string, AttrValueVar string) { | |
| 1398 | - | core.LazyRegister(&xFileInfoSetAttributeFilePath, "GIO", "g_file_info_set_attribute_file_path", false) | |
| 1399 | - | ||
| 1400 | 1313 | xFileInfoSetAttributeFilePath(x.GoPointer(), AttributeVar, AttrValueVar) | |
| 1401 | 1314 | } | |
| 1402 | 1315 | ||
| @@ -1405,8 +1318,6 @@ var xFileInfoSetAttributeInt32 func(uintptr, string, int32) | |||
| 1405 | 1318 | // Sets the @attribute to contain the given @attr_value, | |
| 1406 | 1319 | // if possible. | |
| 1407 | 1320 | func (x *FileInfo) SetAttributeInt32(AttributeVar string, AttrValueVar int32) { | |
| 1408 | - | core.LazyRegister(&xFileInfoSetAttributeInt32, "GIO", "g_file_info_set_attribute_int32", false) | |
| 1409 | - | ||
| 1410 | 1321 | xFileInfoSetAttributeInt32(x.GoPointer(), AttributeVar, AttrValueVar) | |
| 1411 | 1322 | } | |
| 1412 | 1323 | ||
| @@ -1415,8 +1326,6 @@ var xFileInfoSetAttributeInt64 func(uintptr, string, int64) | |||
| 1415 | 1326 | // Sets the @attribute to contain the given @attr_value, | |
| 1416 | 1327 | // if possible. | |
| 1417 | 1328 | func (x *FileInfo) SetAttributeInt64(AttributeVar string, AttrValueVar int64) { | |
| 1418 | - | core.LazyRegister(&xFileInfoSetAttributeInt64, "GIO", "g_file_info_set_attribute_int64", false) | |
| 1419 | - | ||
| 1420 | 1329 | xFileInfoSetAttributeInt64(x.GoPointer(), AttributeVar, AttrValueVar) | |
| 1421 | 1330 | } | |
| 1422 | 1331 | ||
| @@ -1424,8 +1333,6 @@ var xFileInfoSetAttributeMask func(uintptr, *FileAttributeMatcher) | |||
| 1424 | 1333 | ||
| 1425 | 1334 | // Sets @mask on @info to match specific attribute types. | |
| 1426 | 1335 | func (x *FileInfo) SetAttributeMask(MaskVar *FileAttributeMatcher) { | |
| 1427 | - | core.LazyRegister(&xFileInfoSetAttributeMask, "GIO", "g_file_info_set_attribute_mask", false) | |
| 1428 | - | ||
| 1429 | 1336 | xFileInfoSetAttributeMask(x.GoPointer(), MaskVar) | |
| 1430 | 1337 | } | |
| 1431 | 1338 | ||
| @@ -1434,8 +1341,6 @@ var xFileInfoSetAttributeObject func(uintptr, string, uintptr) | |||
| 1434 | 1341 | // Sets the @attribute to contain the given @attr_value, | |
| 1435 | 1342 | // if possible. | |
| 1436 | 1343 | func (x *FileInfo) SetAttributeObject(AttributeVar string, AttrValueVar *gobject.Object) { | |
| 1437 | - | core.LazyRegister(&xFileInfoSetAttributeObject, "GIO", "g_file_info_set_attribute_object", false) | |
| 1438 | - | ||
| 1439 | 1344 | xFileInfoSetAttributeObject(x.GoPointer(), AttributeVar, AttrValueVar.GoPointer()) | |
| 1440 | 1345 | } | |
| 1441 | 1346 | ||
| @@ -1448,8 +1353,6 @@ var xFileInfoSetAttributeStatus func(uintptr, string, FileAttributeStatus) bool | |||
| 1448 | 1353 | // The attribute must exist in @info for this to work. Otherwise %FALSE | |
| 1449 | 1354 | // is returned and @info is unchanged. | |
| 1450 | 1355 | func (x *FileInfo) SetAttributeStatus(AttributeVar string, StatusVar FileAttributeStatus) bool { | |
| 1451 | - | core.LazyRegister(&xFileInfoSetAttributeStatus, "GIO", "g_file_info_set_attribute_status", false) | |
| 1452 | - | ||
| 1453 | 1356 | cret := xFileInfoSetAttributeStatus(x.GoPointer(), AttributeVar, StatusVar) | |
| 1454 | 1357 | return cret | |
| 1455 | 1358 | } | |
| @@ -1459,8 +1362,6 @@ var xFileInfoSetAttributeString func(uintptr, string, string) | |||
| 1459 | 1362 | // Sets the @attribute to contain the given @attr_value, | |
| 1460 | 1363 | // if possible. | |
| 1461 | 1364 | func (x *FileInfo) SetAttributeString(AttributeVar string, AttrValueVar string) { | |
| 1462 | - | core.LazyRegister(&xFileInfoSetAttributeString, "GIO", "g_file_info_set_attribute_string", false) | |
| 1463 | - | ||
| 1464 | 1365 | xFileInfoSetAttributeString(x.GoPointer(), AttributeVar, AttrValueVar) | |
| 1465 | 1366 | } | |
| 1466 | 1367 | ||
| @@ -1471,8 +1372,6 @@ var xFileInfoSetAttributeStringv func(uintptr, string, []string) | |||
| 1471 | 1372 | // | |
| 1472 | 1373 | // Sinze: 2.22 | |
| 1473 | 1374 | func (x *FileInfo) SetAttributeStringv(AttributeVar string, AttrValueVar []string) { | |
| 1474 | - | core.LazyRegister(&xFileInfoSetAttributeStringv, "GIO", "g_file_info_set_attribute_stringv", false) | |
| 1475 | - | ||
| 1476 | 1375 | xFileInfoSetAttributeStringv(x.GoPointer(), AttributeVar, AttrValueVar) | |
| 1477 | 1376 | } | |
| 1478 | 1377 | ||
| @@ -1481,8 +1380,6 @@ var xFileInfoSetAttributeUint32 func(uintptr, string, uint32) | |||
| 1481 | 1380 | // Sets the @attribute to contain the given @attr_value, | |
| 1482 | 1381 | // if possible. | |
| 1483 | 1382 | func (x *FileInfo) SetAttributeUint32(AttributeVar string, AttrValueVar uint32) { | |
| 1484 | - | core.LazyRegister(&xFileInfoSetAttributeUint32, "GIO", "g_file_info_set_attribute_uint32", false) | |
| 1485 | - | ||
| 1486 | 1383 | xFileInfoSetAttributeUint32(x.GoPointer(), AttributeVar, AttrValueVar) | |
| 1487 | 1384 | } | |
| 1488 | 1385 | ||
| @@ -1491,8 +1388,6 @@ var xFileInfoSetAttributeUint64 func(uintptr, string, uint64) | |||
| 1491 | 1388 | // Sets the @attribute to contain the given @attr_value, | |
| 1492 | 1389 | // if possible. | |
| 1493 | 1390 | func (x *FileInfo) SetAttributeUint64(AttributeVar string, AttrValueVar uint64) { | |
| 1494 | - | core.LazyRegister(&xFileInfoSetAttributeUint64, "GIO", "g_file_info_set_attribute_uint64", false) | |
| 1495 | - | ||
| 1496 | 1391 | xFileInfoSetAttributeUint64(x.GoPointer(), AttributeVar, AttrValueVar) | |
| 1497 | 1392 | } | |
| 1498 | 1393 | ||
| @@ -1501,8 +1396,6 @@ var xFileInfoSetContentType func(uintptr, string) | |||
| 1501 | 1396 | // Sets the content type attribute for a given #GFileInfo. | |
| 1502 | 1397 | // See %G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. | |
| 1503 | 1398 | func (x *FileInfo) SetContentType(ContentTypeVar string) { | |
| 1504 | - | core.LazyRegister(&xFileInfoSetContentType, "GIO", "g_file_info_set_content_type", false) | |
| 1505 | - | ||
| 1506 | 1399 | xFileInfoSetContentType(x.GoPointer(), ContentTypeVar) | |
| 1507 | 1400 | } | |
| 1508 | 1401 | ||
| @@ -1514,8 +1407,6 @@ var xFileInfoSetCreationDateTime func(uintptr, *glib.DateTime) | |||
| 1514 | 1407 | // | |
| 1515 | 1408 | // %G_FILE_ATTRIBUTE_TIME_CREATED_NSEC will be cleared. | |
| 1516 | 1409 | func (x *FileInfo) SetCreationDateTime(CreationTimeVar *glib.DateTime) { | |
| 1517 | - | core.LazyRegister(&xFileInfoSetCreationDateTime, "GIO", "g_file_info_set_creation_date_time", false) | |
| 1518 | - | ||
| 1519 | 1410 | xFileInfoSetCreationDateTime(x.GoPointer(), CreationTimeVar) | |
| 1520 | 1411 | } | |
| 1521 | 1412 | ||
| @@ -1524,8 +1415,6 @@ var xFileInfoSetDisplayName func(uintptr, string) | |||
| 1524 | 1415 | // Sets the display name for the current #GFileInfo. | |
| 1525 | 1416 | // See %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. | |
| 1526 | 1417 | func (x *FileInfo) SetDisplayName(DisplayNameVar string) { | |
| 1527 | - | core.LazyRegister(&xFileInfoSetDisplayName, "GIO", "g_file_info_set_display_name", false) | |
| 1528 | - | ||
| 1529 | 1418 | xFileInfoSetDisplayName(x.GoPointer(), DisplayNameVar) | |
| 1530 | 1419 | } | |
| 1531 | 1420 | ||
| @@ -1534,8 +1423,6 @@ var xFileInfoSetEditName func(uintptr, string) | |||
| 1534 | 1423 | // Sets the edit name for the current file. | |
| 1535 | 1424 | // See %G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME. | |
| 1536 | 1425 | func (x *FileInfo) SetEditName(EditNameVar string) { | |
| 1537 | - | core.LazyRegister(&xFileInfoSetEditName, "GIO", "g_file_info_set_edit_name", false) | |
| 1538 | - | ||
| 1539 | 1426 | xFileInfoSetEditName(x.GoPointer(), EditNameVar) | |
| 1540 | 1427 | } | |
| 1541 | 1428 | ||
| @@ -1544,8 +1431,6 @@ var xFileInfoSetFileType func(uintptr, FileType) | |||
| 1544 | 1431 | // Sets the file type in a #GFileInfo to @type. | |
| 1545 | 1432 | // See %G_FILE_ATTRIBUTE_STANDARD_TYPE. | |
| 1546 | 1433 | func (x *FileInfo) SetFileType(TypeVar FileType) { | |
| 1547 | - | core.LazyRegister(&xFileInfoSetFileType, "GIO", "g_file_info_set_file_type", false) | |
| 1548 | - | ||
| 1549 | 1434 | xFileInfoSetFileType(x.GoPointer(), TypeVar) | |
| 1550 | 1435 | } | |
| 1551 | 1436 | ||
| @@ -1554,8 +1439,6 @@ var xFileInfoSetIcon func(uintptr, uintptr) | |||
| 1554 | 1439 | // Sets the icon for a given #GFileInfo. | |
| 1555 | 1440 | // See %G_FILE_ATTRIBUTE_STANDARD_ICON. | |
| 1556 | 1441 | func (x *FileInfo) SetIcon(IconVar Icon) { | |
| 1557 | - | core.LazyRegister(&xFileInfoSetIcon, "GIO", "g_file_info_set_icon", false) | |
| 1558 | - | ||
| 1559 | 1442 | xFileInfoSetIcon(x.GoPointer(), IconVar.GoPointer()) | |
| 1560 | 1443 | } | |
| 1561 | 1444 | ||
| @@ -1564,8 +1447,6 @@ var xFileInfoSetIsHidden func(uintptr, bool) | |||
| 1564 | 1447 | // Sets the "is_hidden" attribute in a #GFileInfo according to @is_hidden. | |
| 1565 | 1448 | // See %G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. | |
| 1566 | 1449 | func (x *FileInfo) SetIsHidden(IsHiddenVar bool) { | |
| 1567 | - | core.LazyRegister(&xFileInfoSetIsHidden, "GIO", "g_file_info_set_is_hidden", false) | |
| 1568 | - | ||
| 1569 | 1450 | xFileInfoSetIsHidden(x.GoPointer(), IsHiddenVar) | |
| 1570 | 1451 | } | |
| 1571 | 1452 | ||
| @@ -1574,8 +1455,6 @@ var xFileInfoSetIsSymlink func(uintptr, bool) | |||
| 1574 | 1455 | // Sets the "is_symlink" attribute in a #GFileInfo according to @is_symlink. | |
| 1575 | 1456 | // See %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. | |
| 1576 | 1457 | func (x *FileInfo) SetIsSymlink(IsSymlinkVar bool) { | |
| 1577 | - | core.LazyRegister(&xFileInfoSetIsSymlink, "GIO", "g_file_info_set_is_symlink", false) | |
| 1578 | - | ||
| 1579 | 1458 | xFileInfoSetIsSymlink(x.GoPointer(), IsSymlinkVar) | |
| 1580 | 1459 | } | |
| 1581 | 1460 | ||
| @@ -1587,8 +1466,6 @@ var xFileInfoSetModificationDateTime func(uintptr, *glib.DateTime) | |||
| 1587 | 1466 | // | |
| 1588 | 1467 | // %G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC will be cleared. | |
| 1589 | 1468 | func (x *FileInfo) SetModificationDateTime(MtimeVar *glib.DateTime) { | |
| 1590 | - | core.LazyRegister(&xFileInfoSetModificationDateTime, "GIO", "g_file_info_set_modification_date_time", false) | |
| 1591 | - | ||
| 1592 | 1469 | xFileInfoSetModificationDateTime(x.GoPointer(), MtimeVar) | |
| 1593 | 1470 | } | |
| 1594 | 1471 | ||
| @@ -1600,8 +1477,6 @@ var xFileInfoSetModificationTime func(uintptr, *glib.TimeVal) | |||
| 1600 | 1477 | // | |
| 1601 | 1478 | // %G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC will be cleared. | |
| 1602 | 1479 | func (x *FileInfo) SetModificationTime(MtimeVar *glib.TimeVal) { | |
| 1603 | - | core.LazyRegister(&xFileInfoSetModificationTime, "GIO", "g_file_info_set_modification_time", false) | |
| 1604 | - | ||
| 1605 | 1480 | xFileInfoSetModificationTime(x.GoPointer(), MtimeVar) | |
| 1606 | 1481 | } | |
| 1607 | 1482 | ||
| @@ -1610,8 +1485,6 @@ var xFileInfoSetName func(uintptr, string) | |||
| 1610 | 1485 | // Sets the name attribute for the current #GFileInfo. | |
| 1611 | 1486 | // See %G_FILE_ATTRIBUTE_STANDARD_NAME. | |
| 1612 | 1487 | func (x *FileInfo) SetName(NameVar string) { | |
| 1613 | - | core.LazyRegister(&xFileInfoSetName, "GIO", "g_file_info_set_name", false) | |
| 1614 | - | ||
| 1615 | 1488 | xFileInfoSetName(x.GoPointer(), NameVar) | |
| 1616 | 1489 | } | |
| 1617 | 1490 | ||
| @@ -1620,8 +1493,6 @@ var xFileInfoSetSize func(uintptr, int64) | |||
| 1620 | 1493 | // Sets the %G_FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info | |
| 1621 | 1494 | // to the given size. | |
| 1622 | 1495 | func (x *FileInfo) SetSize(SizeVar int64) { | |
| 1623 | - | core.LazyRegister(&xFileInfoSetSize, "GIO", "g_file_info_set_size", false) | |
| 1624 | - | ||
| 1625 | 1496 | xFileInfoSetSize(x.GoPointer(), SizeVar) | |
| 1626 | 1497 | } | |
| 1627 | 1498 | ||
| @@ -1630,8 +1501,6 @@ var xFileInfoSetSortOrder func(uintptr, int32) | |||
| 1630 | 1501 | // Sets the sort order attribute in the file info structure. See | |
| 1631 | 1502 | // %G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. | |
| 1632 | 1503 | func (x *FileInfo) SetSortOrder(SortOrderVar int32) { | |
| 1633 | - | core.LazyRegister(&xFileInfoSetSortOrder, "GIO", "g_file_info_set_sort_order", false) | |
| 1634 | - | ||
| 1635 | 1504 | xFileInfoSetSortOrder(x.GoPointer(), SortOrderVar) | |
| 1636 | 1505 | } | |
| 1637 | 1506 | ||
| @@ -1640,8 +1509,6 @@ var xFileInfoSetSymbolicIcon func(uintptr, uintptr) | |||
| 1640 | 1509 | // Sets the symbolic icon for a given #GFileInfo. | |
| 1641 | 1510 | // See %G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON. | |
| 1642 | 1511 | func (x *FileInfo) SetSymbolicIcon(IconVar Icon) { | |
| 1643 | - | core.LazyRegister(&xFileInfoSetSymbolicIcon, "GIO", "g_file_info_set_symbolic_icon", false) | |
| 1644 | - | ||
| 1645 | 1512 | xFileInfoSetSymbolicIcon(x.GoPointer(), IconVar.GoPointer()) | |
| 1646 | 1513 | } | |
| 1647 | 1514 | ||
| @@ -1650,8 +1517,6 @@ var xFileInfoSetSymlinkTarget func(uintptr, string) | |||
| 1650 | 1517 | // Sets the %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info | |
| 1651 | 1518 | // to the given symlink target. | |
| 1652 | 1519 | func (x *FileInfo) SetSymlinkTarget(SymlinkTargetVar string) { | |
| 1653 | - | core.LazyRegister(&xFileInfoSetSymlinkTarget, "GIO", "g_file_info_set_symlink_target", false) | |
| 1654 | - | ||
| 1655 | 1520 | xFileInfoSetSymlinkTarget(x.GoPointer(), SymlinkTargetVar) | |
| 1656 | 1521 | } | |
| 1657 | 1522 | ||
| @@ -1660,8 +1525,6 @@ var xFileInfoUnsetAttributeMask func(uintptr) | |||
| 1660 | 1525 | // Unsets a mask set by g_file_info_set_attribute_mask(), if one | |
| 1661 | 1526 | // is set. | |
| 1662 | 1527 | func (x *FileInfo) UnsetAttributeMask() { | |
| 1663 | - | core.LazyRegister(&xFileInfoUnsetAttributeMask, "GIO", "g_file_info_unset_attribute_mask", false) | |
| 1664 | - | ||
| 1665 | 1528 | xFileInfoUnsetAttributeMask(x.GoPointer()) | |
| 1666 | 1529 | } | |
| 1667 | 1530 | ||
| @@ -1679,4 +1542,87 @@ func (c *FileInfo) SetGoPointer(ptr uintptr) { | |||
| 1679 | 1542 | func init() { | |
| 1680 | 1543 | core.SetPackageName("GIO", "gio-2.0") | |
| 1681 | 1544 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 1545 | + | var libs []uintptr | |
| 1546 | + | for _, libPath := range core.GetPaths("GIO") { | |
| 1547 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 1548 | + | if err != nil { | |
| 1549 | + | panic(err) | |
| 1550 | + | } | |
| 1551 | + | libs = append(libs, lib) | |
| 1552 | + | } | |
| 1553 | + | ||
| 1554 | + | core.PuregoSafeRegister(&xFileInfoGLibType, libs, "g_file_info_get_type") | |
| 1555 | + | ||
| 1556 | + | core.PuregoSafeRegister(&xNewFileInfo, libs, "g_file_info_new") | |
| 1557 | + | ||
| 1558 | + | core.PuregoSafeRegister(&xFileInfoClearStatus, libs, "g_file_info_clear_status") | |
| 1559 | + | core.PuregoSafeRegister(&xFileInfoCopyInto, libs, "g_file_info_copy_into") | |
| 1560 | + | core.PuregoSafeRegister(&xFileInfoDup, libs, "g_file_info_dup") | |
| 1561 | + | core.PuregoSafeRegister(&xFileInfoGetAccessDateTime, libs, "g_file_info_get_access_date_time") | |
| 1562 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeAsString, libs, "g_file_info_get_attribute_as_string") | |
| 1563 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeBoolean, libs, "g_file_info_get_attribute_boolean") | |
| 1564 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeByteString, libs, "g_file_info_get_attribute_byte_string") | |
| 1565 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeData, libs, "g_file_info_get_attribute_data") | |
| 1566 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeFilePath, libs, "g_file_info_get_attribute_file_path") | |
| 1567 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeInt32, libs, "g_file_info_get_attribute_int32") | |
| 1568 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeInt64, libs, "g_file_info_get_attribute_int64") | |
| 1569 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeObject, libs, "g_file_info_get_attribute_object") | |
| 1570 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeStatus, libs, "g_file_info_get_attribute_status") | |
| 1571 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeString, libs, "g_file_info_get_attribute_string") | |
| 1572 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeStringv, libs, "g_file_info_get_attribute_stringv") | |
| 1573 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeType, libs, "g_file_info_get_attribute_type") | |
| 1574 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeUint32, libs, "g_file_info_get_attribute_uint32") | |
| 1575 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeUint64, libs, "g_file_info_get_attribute_uint64") | |
| 1576 | + | core.PuregoSafeRegister(&xFileInfoGetContentType, libs, "g_file_info_get_content_type") | |
| 1577 | + | core.PuregoSafeRegister(&xFileInfoGetCreationDateTime, libs, "g_file_info_get_creation_date_time") | |
| 1578 | + | core.PuregoSafeRegister(&xFileInfoGetDeletionDate, libs, "g_file_info_get_deletion_date") | |
| 1579 | + | core.PuregoSafeRegister(&xFileInfoGetDisplayName, libs, "g_file_info_get_display_name") | |
| 1580 | + | core.PuregoSafeRegister(&xFileInfoGetEditName, libs, "g_file_info_get_edit_name") | |
| 1581 | + | core.PuregoSafeRegister(&xFileInfoGetEtag, libs, "g_file_info_get_etag") | |
| 1582 | + | core.PuregoSafeRegister(&xFileInfoGetFileType, libs, "g_file_info_get_file_type") | |
| 1583 | + | core.PuregoSafeRegister(&xFileInfoGetIcon, libs, "g_file_info_get_icon") | |
| 1584 | + | core.PuregoSafeRegister(&xFileInfoGetIsBackup, libs, "g_file_info_get_is_backup") | |
| 1585 | + | core.PuregoSafeRegister(&xFileInfoGetIsHidden, libs, "g_file_info_get_is_hidden") | |
| 1586 | + | core.PuregoSafeRegister(&xFileInfoGetIsSymlink, libs, "g_file_info_get_is_symlink") | |
| 1587 | + | core.PuregoSafeRegister(&xFileInfoGetModificationDateTime, libs, "g_file_info_get_modification_date_time") | |
| 1588 | + | core.PuregoSafeRegister(&xFileInfoGetModificationTime, libs, "g_file_info_get_modification_time") | |
| 1589 | + | core.PuregoSafeRegister(&xFileInfoGetName, libs, "g_file_info_get_name") | |
| 1590 | + | core.PuregoSafeRegister(&xFileInfoGetSize, libs, "g_file_info_get_size") | |
| 1591 | + | core.PuregoSafeRegister(&xFileInfoGetSortOrder, libs, "g_file_info_get_sort_order") | |
| 1592 | + | core.PuregoSafeRegister(&xFileInfoGetSymbolicIcon, libs, "g_file_info_get_symbolic_icon") | |
| 1593 | + | core.PuregoSafeRegister(&xFileInfoGetSymlinkTarget, libs, "g_file_info_get_symlink_target") | |
| 1594 | + | core.PuregoSafeRegister(&xFileInfoHasAttribute, libs, "g_file_info_has_attribute") | |
| 1595 | + | core.PuregoSafeRegister(&xFileInfoHasNamespace, libs, "g_file_info_has_namespace") | |
| 1596 | + | core.PuregoSafeRegister(&xFileInfoListAttributes, libs, "g_file_info_list_attributes") | |
| 1597 | + | core.PuregoSafeRegister(&xFileInfoRemoveAttribute, libs, "g_file_info_remove_attribute") | |
| 1598 | + | core.PuregoSafeRegister(&xFileInfoSetAccessDateTime, libs, "g_file_info_set_access_date_time") | |
| 1599 | + | core.PuregoSafeRegister(&xFileInfoSetAttribute, libs, "g_file_info_set_attribute") | |
| 1600 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeBoolean, libs, "g_file_info_set_attribute_boolean") | |
| 1601 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeByteString, libs, "g_file_info_set_attribute_byte_string") | |
| 1602 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeFilePath, libs, "g_file_info_set_attribute_file_path") | |
| 1603 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeInt32, libs, "g_file_info_set_attribute_int32") | |
| 1604 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeInt64, libs, "g_file_info_set_attribute_int64") | |
| 1605 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeMask, libs, "g_file_info_set_attribute_mask") | |
| 1606 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeObject, libs, "g_file_info_set_attribute_object") | |
| 1607 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeStatus, libs, "g_file_info_set_attribute_status") | |
| 1608 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeString, libs, "g_file_info_set_attribute_string") | |
| 1609 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeStringv, libs, "g_file_info_set_attribute_stringv") | |
| 1610 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeUint32, libs, "g_file_info_set_attribute_uint32") | |
| 1611 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeUint64, libs, "g_file_info_set_attribute_uint64") | |
| 1612 | + | core.PuregoSafeRegister(&xFileInfoSetContentType, libs, "g_file_info_set_content_type") | |
| 1613 | + | core.PuregoSafeRegister(&xFileInfoSetCreationDateTime, libs, "g_file_info_set_creation_date_time") | |
| 1614 | + | core.PuregoSafeRegister(&xFileInfoSetDisplayName, libs, "g_file_info_set_display_name") | |
| 1615 | + | core.PuregoSafeRegister(&xFileInfoSetEditName, libs, "g_file_info_set_edit_name") | |
| 1616 | + | core.PuregoSafeRegister(&xFileInfoSetFileType, libs, "g_file_info_set_file_type") | |
| 1617 | + | core.PuregoSafeRegister(&xFileInfoSetIcon, libs, "g_file_info_set_icon") | |
| 1618 | + | core.PuregoSafeRegister(&xFileInfoSetIsHidden, libs, "g_file_info_set_is_hidden") | |
| 1619 | + | core.PuregoSafeRegister(&xFileInfoSetIsSymlink, libs, "g_file_info_set_is_symlink") | |
| 1620 | + | core.PuregoSafeRegister(&xFileInfoSetModificationDateTime, libs, "g_file_info_set_modification_date_time") | |
| 1621 | + | core.PuregoSafeRegister(&xFileInfoSetModificationTime, libs, "g_file_info_set_modification_time") | |
| 1622 | + | core.PuregoSafeRegister(&xFileInfoSetName, libs, "g_file_info_set_name") | |
| 1623 | + | core.PuregoSafeRegister(&xFileInfoSetSize, libs, "g_file_info_set_size") | |
| 1624 | + | core.PuregoSafeRegister(&xFileInfoSetSortOrder, libs, "g_file_info_set_sort_order") | |
| 1625 | + | core.PuregoSafeRegister(&xFileInfoSetSymbolicIcon, libs, "g_file_info_set_symbolic_icon") | |
| 1626 | + | core.PuregoSafeRegister(&xFileInfoSetSymlinkTarget, libs, "g_file_info_set_symlink_target") | |
| 1627 | + | core.PuregoSafeRegister(&xFileInfoUnsetAttributeMask, libs, "g_file_info_unset_attribute_mask") | |
| 1682 | 1628 | } | |
| @@ -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/glib" | 10 | "github.com/bnema/puregotk/v4/glib" | ||
| 10 | "github.com/bnema/puregotk/v4/gobject" | 11 | "github.com/bnema/puregotk/v4/gobject" | ||
| @@ -750,7 +751,6 @@ type FileInfo struct { | |||||
| 750 | var xFileInfoGLibType func() types.GType | 751 | var xFileInfoGLibType func() types.GType | ||
| 751 | 752 | ||||
| 752 | func FileInfoGLibType() types.GType { | 753 | func FileInfoGLibType() types.GType { | ||
| 753 | - | core.LazyRegister(&xFileInfoGLibType, "GIO", "g_file_info_get_type", false) | |||
| 754 | return xFileInfoGLibType() | 754 | return xFileInfoGLibType() | ||
| 755 | } | 755 | } | ||
| 756 | 756 | ||||
| @@ -764,7 +764,6 @@ var xNewFileInfo func() uintptr | |||||
| 764 | 764 | ||||
| 765 | // Creates a new file info structure. | 765 | // Creates a new file info structure. | ||
| 766 | func NewFileInfo() *FileInfo { | 766 | func NewFileInfo() *FileInfo { | ||
| 767 | - | core.LazyRegister(&xNewFileInfo, "GIO", "g_file_info_new", false) | |||
| 768 | var cls *FileInfo | 767 | var cls *FileInfo | ||
| 769 | 768 | ||||
| 770 | cret := xNewFileInfo() | 769 | cret := xNewFileInfo() | ||
| @@ -781,8 +780,6 @@ var xFileInfoClearStatus func(uintptr) | |||||
| 781 | 780 | ||||
| 782 | // Clears the status information from @info. | 781 | // Clears the status information from @info. | ||
| 783 | func (x *FileInfo) ClearStatus() { | 782 | func (x *FileInfo) ClearStatus() { | ||
| 784 | - | core.LazyRegister(&xFileInfoClearStatus, "GIO", "g_file_info_clear_status", false) | |||
| 785 | - | ||||
| 786 | xFileInfoClearStatus(x.GoPointer()) | 783 | xFileInfoClearStatus(x.GoPointer()) | ||
| 787 | } | 784 | } | ||
| 788 | 785 | ||||
| @@ -791,8 +788,6 @@ var xFileInfoCopyInto func(uintptr, uintptr) | |||||
| 791 | // First clears all of the [GFileAttribute](file-attributes.html#file-attributes) of | 788 | // First clears all of the [GFileAttribute](file-attributes.html#file-attributes) of | ||
| 792 | // @dest_info, and then copies all of the file attributes from @src_info to @dest_info. | 789 | // @dest_info, and then copies all of the file attributes from @src_info to @dest_info. | ||
| 793 | func (x *FileInfo) CopyInto(DestInfoVar *FileInfo) { | 790 | func (x *FileInfo) CopyInto(DestInfoVar *FileInfo) { | ||
| 794 | - | core.LazyRegister(&xFileInfoCopyInto, "GIO", "g_file_info_copy_into", false) | |||
| 795 | - | ||||
| 796 | xFileInfoCopyInto(x.GoPointer(), DestInfoVar.GoPointer()) | 791 | xFileInfoCopyInto(x.GoPointer(), DestInfoVar.GoPointer()) | ||
| 797 | } | 792 | } | ||
| 798 | 793 | ||||
| @@ -800,7 +795,6 @@ var xFileInfoDup func(uintptr) uintptr | |||||
| 800 | 795 | ||||
| 801 | // Duplicates a file info structure. | 796 | // Duplicates a file info structure. | ||
| 802 | func (x *FileInfo) Dup() *FileInfo { | 797 | func (x *FileInfo) Dup() *FileInfo { | ||
| 803 | - | core.LazyRegister(&xFileInfoDup, "GIO", "g_file_info_dup", false) | |||
| 804 | var cls *FileInfo | 798 | var cls *FileInfo | ||
| 805 | 799 | ||||
| 806 | cret := xFileInfoDup(x.GoPointer()) | 800 | cret := xFileInfoDup(x.GoPointer()) | ||
| @@ -826,8 +820,6 @@ var xFileInfoGetAccessDateTime func(uintptr) uintptr | |||||
| 826 | // If nanosecond precision is needed, %G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC must | 820 | // If nanosecond precision is needed, %G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC must | ||
| 827 | // be queried separately using g_file_info_get_attribute_uint32(). | 821 | // be queried separately using g_file_info_get_attribute_uint32(). | ||
| 828 | func (x *FileInfo) GetAccessDateTime() *glib.DateTime { | 822 | func (x *FileInfo) GetAccessDateTime() *glib.DateTime { | ||
| 829 | - | core.LazyRegister(&xFileInfoGetAccessDateTime, "GIO", "g_file_info_get_access_date_time", false) | |||
| 830 | - | ||||
| 831 | cret := xFileInfoGetAccessDateTime(x.GoPointer()) | 823 | cret := xFileInfoGetAccessDateTime(x.GoPointer()) | ||
| 832 | if cret == 0 { | 824 | if cret == 0 { | ||
| 833 | return nil | 825 | return nil | ||
| @@ -858,8 +850,6 @@ var xFileInfoGetAttributeAsString func(uintptr, string) string | |||||
| 858 | // | 850 | // | ||
| 859 | // ``` | 851 | // ``` | ||
| 860 | func (x *FileInfo) GetAttributeAsString(AttributeVar string) string { | 852 | func (x *FileInfo) GetAttributeAsString(AttributeVar string) string { | ||
| 861 | - | core.LazyRegister(&xFileInfoGetAttributeAsString, "GIO", "g_file_info_get_attribute_as_string", false) | |||
| 862 | - | ||||
| 863 | cret := xFileInfoGetAttributeAsString(x.GoPointer(), AttributeVar) | 853 | cret := xFileInfoGetAttributeAsString(x.GoPointer(), AttributeVar) | ||
| 864 | return cret | 854 | return cret | ||
| 865 | } | 855 | } | ||
| @@ -869,8 +859,6 @@ var xFileInfoGetAttributeBoolean func(uintptr, string) bool | |||||
| 869 | // Gets the value of a boolean attribute. If the attribute does not | 859 | // Gets the value of a boolean attribute. If the attribute does not | ||
| 870 | // contain a boolean value, %FALSE will be returned. | 860 | // contain a boolean value, %FALSE will be returned. | ||
| 871 | func (x *FileInfo) GetAttributeBoolean(AttributeVar string) bool { | 861 | func (x *FileInfo) GetAttributeBoolean(AttributeVar string) bool { | ||
| 872 | - | core.LazyRegister(&xFileInfoGetAttributeBoolean, "GIO", "g_file_info_get_attribute_boolean", false) | |||
| 873 | - | ||||
| 874 | cret := xFileInfoGetAttributeBoolean(x.GoPointer(), AttributeVar) | 862 | cret := xFileInfoGetAttributeBoolean(x.GoPointer(), AttributeVar) | ||
| 875 | return cret | 863 | return cret | ||
| 876 | } | 864 | } | ||
| @@ -880,8 +868,6 @@ var xFileInfoGetAttributeByteString func(uintptr, string) string | |||||
| 880 | // Gets the value of a byte string attribute. If the attribute does | 868 | // Gets the value of a byte string attribute. If the attribute does | ||
| 881 | // not contain a byte string, %NULL will be returned. | 869 | // not contain a byte string, %NULL will be returned. | ||
| 882 | func (x *FileInfo) GetAttributeByteString(AttributeVar string) string { | 870 | func (x *FileInfo) GetAttributeByteString(AttributeVar string) string { | ||
| 883 | - | core.LazyRegister(&xFileInfoGetAttributeByteString, "GIO", "g_file_info_get_attribute_byte_string", false) | |||
| 884 | - | ||||
| 885 | cret := xFileInfoGetAttributeByteString(x.GoPointer(), AttributeVar) | 871 | cret := xFileInfoGetAttributeByteString(x.GoPointer(), AttributeVar) | ||
| 886 | return cret | 872 | return cret | ||
| 887 | } | 873 | } | ||
| @@ -890,8 +876,6 @@ var xFileInfoGetAttributeData func(uintptr, string, *FileAttributeType, *uintptr | |||||
| 890 | 876 | ||||
| 891 | // Gets the attribute type, value and status for an attribute key. | 877 | // Gets the attribute type, value and status for an attribute key. | ||
| 892 | func (x *FileInfo) GetAttributeData(AttributeVar string, TypeVar *FileAttributeType, ValuePpVar *uintptr, StatusVar *FileAttributeStatus) bool { | 878 | func (x *FileInfo) GetAttributeData(AttributeVar string, TypeVar *FileAttributeType, ValuePpVar *uintptr, StatusVar *FileAttributeStatus) bool { | ||
| 893 | - | core.LazyRegister(&xFileInfoGetAttributeData, "GIO", "g_file_info_get_attribute_data", false) | |||
| 894 | - | ||||
| 895 | cret := xFileInfoGetAttributeData(x.GoPointer(), AttributeVar, TypeVar, ValuePpVar, StatusVar) | 879 | cret := xFileInfoGetAttributeData(x.GoPointer(), AttributeVar, TypeVar, ValuePpVar, StatusVar) | ||
| 896 | return cret | 880 | return cret | ||
| 897 | } | 881 | } | ||
| @@ -905,8 +889,6 @@ var xFileInfoGetAttributeFilePath func(uintptr, string) string | |||||
| 905 | // This function is meant to be used by language bindings that have specific | 889 | // This function is meant to be used by language bindings that have specific | ||
| 906 | // handling for Unix paths. | 890 | // handling for Unix paths. | ||
| 907 | func (x *FileInfo) GetAttributeFilePath(AttributeVar string) string { | 891 | func (x *FileInfo) GetAttributeFilePath(AttributeVar string) string { | ||
| 908 | - | core.LazyRegister(&xFileInfoGetAttributeFilePath, "GIO", "g_file_info_get_attribute_file_path", false) | |||
| 909 | - | ||||
| 910 | cret := xFileInfoGetAttributeFilePath(x.GoPointer(), AttributeVar) | 892 | cret := xFileInfoGetAttributeFilePath(x.GoPointer(), AttributeVar) | ||
| 911 | return cret | 893 | return cret | ||
| 912 | } | 894 | } | ||
| @@ -917,8 +899,6 @@ var xFileInfoGetAttributeInt32 func(uintptr, string) int32 | |||||
| 917 | // attribute does not contain a signed 32-bit integer, or is invalid, | 899 | // attribute does not contain a signed 32-bit integer, or is invalid, | ||
| 918 | // 0 will be returned. | 900 | // 0 will be returned. | ||
| 919 | func (x *FileInfo) GetAttributeInt32(AttributeVar string) int32 { | 901 | func (x *FileInfo) GetAttributeInt32(AttributeVar string) int32 { | ||
| 920 | - | core.LazyRegister(&xFileInfoGetAttributeInt32, "GIO", "g_file_info_get_attribute_int32", false) | |||
| 921 | - | ||||
| 922 | cret := xFileInfoGetAttributeInt32(x.GoPointer(), AttributeVar) | 902 | cret := xFileInfoGetAttributeInt32(x.GoPointer(), AttributeVar) | ||
| 923 | return cret | 903 | return cret | ||
| 924 | } | 904 | } | ||
| @@ -929,8 +909,6 @@ var xFileInfoGetAttributeInt64 func(uintptr, string) int64 | |||||
| 929 | // attribute does not contain a signed 64-bit integer, or is invalid, | 909 | // attribute does not contain a signed 64-bit integer, or is invalid, | ||
| 930 | // 0 will be returned. | 910 | // 0 will be returned. | ||
| 931 | func (x *FileInfo) GetAttributeInt64(AttributeVar string) int64 { | 911 | func (x *FileInfo) GetAttributeInt64(AttributeVar string) int64 { | ||
| 932 | - | core.LazyRegister(&xFileInfoGetAttributeInt64, "GIO", "g_file_info_get_attribute_int64", false) | |||
| 933 | - | ||||
| 934 | cret := xFileInfoGetAttributeInt64(x.GoPointer(), AttributeVar) | 912 | cret := xFileInfoGetAttributeInt64(x.GoPointer(), AttributeVar) | ||
| 935 | return cret | 913 | return cret | ||
| 936 | } | 914 | } | ||
| @@ -940,7 +918,6 @@ var xFileInfoGetAttributeObject func(uintptr, string) uintptr | |||||
| 940 | // Gets the value of a #GObject attribute. If the attribute does | 918 | // Gets the value of a #GObject attribute. If the attribute does | ||
| 941 | // not contain a #GObject, %NULL will be returned. | 919 | // not contain a #GObject, %NULL will be returned. | ||
| 942 | func (x *FileInfo) GetAttributeObject(AttributeVar string) *gobject.Object { | 920 | func (x *FileInfo) GetAttributeObject(AttributeVar string) *gobject.Object { | ||
| 943 | - | core.LazyRegister(&xFileInfoGetAttributeObject, "GIO", "g_file_info_get_attribute_object", false) | |||
| 944 | var cls *gobject.Object | 921 | var cls *gobject.Object | ||
| 945 | 922 | ||||
| 946 | cret := xFileInfoGetAttributeObject(x.GoPointer(), AttributeVar) | 923 | cret := xFileInfoGetAttributeObject(x.GoPointer(), AttributeVar) | ||
| @@ -958,8 +935,6 @@ var xFileInfoGetAttributeStatus func(uintptr, string) FileAttributeStatus | |||||
| 958 | 935 | ||||
| 959 | // Gets the attribute status for an attribute key. | 936 | // Gets the attribute status for an attribute key. | ||
| 960 | func (x *FileInfo) GetAttributeStatus(AttributeVar string) FileAttributeStatus { | 937 | func (x *FileInfo) GetAttributeStatus(AttributeVar string) FileAttributeStatus { | ||
| 961 | - | core.LazyRegister(&xFileInfoGetAttributeStatus, "GIO", "g_file_info_get_attribute_status", false) | |||
| 962 | - | ||||
| 963 | cret := xFileInfoGetAttributeStatus(x.GoPointer(), AttributeVar) | 938 | cret := xFileInfoGetAttributeStatus(x.GoPointer(), AttributeVar) | ||
| 964 | return cret | 939 | return cret | ||
| 965 | } | 940 | } | ||
| @@ -969,8 +944,6 @@ var xFileInfoGetAttributeString func(uintptr, string) string | |||||
| 969 | // Gets the value of a string attribute. If the attribute does | 944 | // Gets the value of a string attribute. If the attribute does | ||
| 970 | // not contain a string, %NULL will be returned. | 945 | // not contain a string, %NULL will be returned. | ||
| 971 | func (x *FileInfo) GetAttributeString(AttributeVar string) string { | 946 | func (x *FileInfo) GetAttributeString(AttributeVar string) string { | ||
| 972 | - | core.LazyRegister(&xFileInfoGetAttributeString, "GIO", "g_file_info_get_attribute_string", false) | |||
| 973 | - | ||||
| 974 | cret := xFileInfoGetAttributeString(x.GoPointer(), AttributeVar) | 947 | cret := xFileInfoGetAttributeString(x.GoPointer(), AttributeVar) | ||
| 975 | return cret | 948 | return cret | ||
| 976 | } | 949 | } | ||
| @@ -980,8 +953,6 @@ var xFileInfoGetAttributeStringv func(uintptr, string) []string | |||||
| 980 | // Gets the value of a stringv attribute. If the attribute does | 953 | // Gets the value of a stringv attribute. If the attribute does | ||
| 981 | // not contain a stringv, %NULL will be returned. | 954 | // not contain a stringv, %NULL will be returned. | ||
| 982 | func (x *FileInfo) GetAttributeStringv(AttributeVar string) []string { | 955 | func (x *FileInfo) GetAttributeStringv(AttributeVar string) []string { | ||
| 983 | - | core.LazyRegister(&xFileInfoGetAttributeStringv, "GIO", "g_file_info_get_attribute_stringv", false) | |||
| 984 | - | ||||
| 985 | cret := xFileInfoGetAttributeStringv(x.GoPointer(), AttributeVar) | 956 | cret := xFileInfoGetAttributeStringv(x.GoPointer(), AttributeVar) | ||
| 986 | return cret | 957 | return cret | ||
| 987 | } | 958 | } | ||
| @@ -990,8 +961,6 @@ var xFileInfoGetAttributeType func(uintptr, string) FileAttributeType | |||||
| 990 | 961 | ||||
| 991 | // Gets the attribute type for an attribute key. | 962 | // Gets the attribute type for an attribute key. | ||
| 992 | func (x *FileInfo) GetAttributeType(AttributeVar string) FileAttributeType { | 963 | func (x *FileInfo) GetAttributeType(AttributeVar string) FileAttributeType { | ||
| 993 | - | core.LazyRegister(&xFileInfoGetAttributeType, "GIO", "g_file_info_get_attribute_type", false) | |||
| 994 | - | ||||
| 995 | cret := xFileInfoGetAttributeType(x.GoPointer(), AttributeVar) | 964 | cret := xFileInfoGetAttributeType(x.GoPointer(), AttributeVar) | ||
| 996 | return cret | 965 | return cret | ||
| 997 | } | 966 | } | ||
| @@ -1002,8 +971,6 @@ var xFileInfoGetAttributeUint32 func(uintptr, string) uint32 | |||||
| 1002 | // attribute does not contain an unsigned 32-bit integer, or is invalid, | 971 | // attribute does not contain an unsigned 32-bit integer, or is invalid, | ||
| 1003 | // 0 will be returned. | 972 | // 0 will be returned. | ||
| 1004 | func (x *FileInfo) GetAttributeUint32(AttributeVar string) uint32 { | 973 | func (x *FileInfo) GetAttributeUint32(AttributeVar string) uint32 { | ||
| 1005 | - | core.LazyRegister(&xFileInfoGetAttributeUint32, "GIO", "g_file_info_get_attribute_uint32", false) | |||
| 1006 | - | ||||
| 1007 | cret := xFileInfoGetAttributeUint32(x.GoPointer(), AttributeVar) | 974 | cret := xFileInfoGetAttributeUint32(x.GoPointer(), AttributeVar) | ||
| 1008 | return cret | 975 | return cret | ||
| 1009 | } | 976 | } | ||
| @@ -1014,8 +981,6 @@ var xFileInfoGetAttributeUint64 func(uintptr, string) uint64 | |||||
| 1014 | // attribute does not contain an unsigned 64-bit integer, or is invalid, | 981 | // attribute does not contain an unsigned 64-bit integer, or is invalid, | ||
| 1015 | // 0 will be returned. | 982 | // 0 will be returned. | ||
| 1016 | func (x *FileInfo) GetAttributeUint64(AttributeVar string) uint64 { | 983 | func (x *FileInfo) GetAttributeUint64(AttributeVar string) uint64 { | ||
| 1017 | - | core.LazyRegister(&xFileInfoGetAttributeUint64, "GIO", "g_file_info_get_attribute_uint64", false) | |||
| 1018 | - | ||||
| 1019 | cret := xFileInfoGetAttributeUint64(x.GoPointer(), AttributeVar) | 984 | cret := xFileInfoGetAttributeUint64(x.GoPointer(), AttributeVar) | ||
| 1020 | return cret | 985 | return cret | ||
| 1021 | } | 986 | } | ||
| @@ -1027,8 +992,6 @@ var xFileInfoGetContentType func(uintptr) string | |||||
| 1027 | // It is an error to call this if the #GFileInfo does not contain | 992 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1028 | // %G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. | 993 | // %G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. | ||
| 1029 | func (x *FileInfo) GetContentType() string { | 994 | func (x *FileInfo) GetContentType() string { | ||
| 1030 | - | core.LazyRegister(&xFileInfoGetContentType, "GIO", "g_file_info_get_content_type", false) | |||
| 1031 | - | ||||
| 1032 | cret := xFileInfoGetContentType(x.GoPointer()) | 995 | cret := xFileInfoGetContentType(x.GoPointer()) | ||
| 1033 | return cret | 996 | return cret | ||
| 1034 | } | 997 | } | ||
| @@ -1046,8 +1009,6 @@ var xFileInfoGetCreationDateTime func(uintptr) uintptr | |||||
| 1046 | // If nanosecond precision is needed, %G_FILE_ATTRIBUTE_TIME_CREATED_NSEC must | 1009 | // If nanosecond precision is needed, %G_FILE_ATTRIBUTE_TIME_CREATED_NSEC must | ||
| 1047 | // be queried separately using g_file_info_get_attribute_uint32(). | 1010 | // be queried separately using g_file_info_get_attribute_uint32(). | ||
| 1048 | func (x *FileInfo) GetCreationDateTime() *glib.DateTime { | 1011 | func (x *FileInfo) GetCreationDateTime() *glib.DateTime { | ||
| 1049 | - | core.LazyRegister(&xFileInfoGetCreationDateTime, "GIO", "g_file_info_get_creation_date_time", false) | |||
| 1050 | - | ||||
| 1051 | cret := xFileInfoGetCreationDateTime(x.GoPointer()) | 1012 | cret := xFileInfoGetCreationDateTime(x.GoPointer()) | ||
| 1052 | if cret == 0 { | 1013 | if cret == 0 { | ||
| 1053 | return nil | 1014 | return nil | ||
| @@ -1061,8 +1022,6 @@ var xFileInfoGetDeletionDate func(uintptr) uintptr | |||||
| 1061 | // available in %G_FILE_ATTRIBUTE_TRASH_DELETION_DATE. If the | 1022 | // available in %G_FILE_ATTRIBUTE_TRASH_DELETION_DATE. If the | ||
| 1062 | // %G_FILE_ATTRIBUTE_TRASH_DELETION_DATE attribute is unset, %NULL is returned. | 1023 | // %G_FILE_ATTRIBUTE_TRASH_DELETION_DATE attribute is unset, %NULL is returned. | ||
| 1063 | func (x *FileInfo) GetDeletionDate() *glib.DateTime { | 1024 | func (x *FileInfo) GetDeletionDate() *glib.DateTime { | ||
| 1064 | - | core.LazyRegister(&xFileInfoGetDeletionDate, "GIO", "g_file_info_get_deletion_date", false) | |||
| 1065 | - | ||||
| 1066 | cret := xFileInfoGetDeletionDate(x.GoPointer()) | 1025 | cret := xFileInfoGetDeletionDate(x.GoPointer()) | ||
| 1067 | if cret == 0 { | 1026 | if cret == 0 { | ||
| 1068 | return nil | 1027 | return nil | ||
| @@ -1077,8 +1036,6 @@ var xFileInfoGetDisplayName func(uintptr) string | |||||
| 1077 | // It is an error to call this if the #GFileInfo does not contain | 1036 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1078 | // %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. | 1037 | // %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. | ||
| 1079 | func (x *FileInfo) GetDisplayName() string { | 1038 | func (x *FileInfo) GetDisplayName() string { | ||
| 1080 | - | core.LazyRegister(&xFileInfoGetDisplayName, "GIO", "g_file_info_get_display_name", false) | |||
| 1081 | - | ||||
| 1082 | cret := xFileInfoGetDisplayName(x.GoPointer()) | 1039 | cret := xFileInfoGetDisplayName(x.GoPointer()) | ||
| 1083 | return cret | 1040 | return cret | ||
| 1084 | } | 1041 | } | ||
| @@ -1090,8 +1047,6 @@ var xFileInfoGetEditName func(uintptr) string | |||||
| 1090 | // It is an error to call this if the #GFileInfo does not contain | 1047 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1091 | // %G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME. | 1048 | // %G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME. | ||
| 1092 | func (x *FileInfo) GetEditName() string { | 1049 | func (x *FileInfo) GetEditName() string { | ||
| 1093 | - | core.LazyRegister(&xFileInfoGetEditName, "GIO", "g_file_info_get_edit_name", false) | |||
| 1094 | - | ||||
| 1095 | cret := xFileInfoGetEditName(x.GoPointer()) | 1050 | cret := xFileInfoGetEditName(x.GoPointer()) | ||
| 1096 | return cret | 1051 | return cret | ||
| 1097 | } | 1052 | } | ||
| @@ -1104,8 +1059,6 @@ var xFileInfoGetEtag func(uintptr) string | |||||
| 1104 | // It is an error to call this if the #GFileInfo does not contain | 1059 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1105 | // %G_FILE_ATTRIBUTE_ETAG_VALUE. | 1060 | // %G_FILE_ATTRIBUTE_ETAG_VALUE. | ||
| 1106 | func (x *FileInfo) GetEtag() string { | 1061 | func (x *FileInfo) GetEtag() string { | ||
| 1107 | - | core.LazyRegister(&xFileInfoGetEtag, "GIO", "g_file_info_get_etag", false) | |||
| 1108 | - | ||||
| 1109 | cret := xFileInfoGetEtag(x.GoPointer()) | 1062 | cret := xFileInfoGetEtag(x.GoPointer()) | ||
| 1110 | return cret | 1063 | return cret | ||
| 1111 | } | 1064 | } | ||
| @@ -1118,8 +1071,6 @@ var xFileInfoGetFileType func(uintptr) FileType | |||||
| 1118 | // It is an error to call this if the #GFileInfo does not contain | 1071 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1119 | // %G_FILE_ATTRIBUTE_STANDARD_TYPE. | 1072 | // %G_FILE_ATTRIBUTE_STANDARD_TYPE. | ||
| 1120 | func (x *FileInfo) GetFileType() FileType { | 1073 | func (x *FileInfo) GetFileType() FileType { | ||
| 1121 | - | core.LazyRegister(&xFileInfoGetFileType, "GIO", "g_file_info_get_file_type", false) | |||
| 1122 | - | ||||
| 1123 | cret := xFileInfoGetFileType(x.GoPointer()) | 1074 | cret := xFileInfoGetFileType(x.GoPointer()) | ||
| 1124 | return cret | 1075 | return cret | ||
| 1125 | } | 1076 | } | ||
| @@ -1131,7 +1082,6 @@ var xFileInfoGetIcon func(uintptr) uintptr | |||||
| 1131 | // It is an error to call this if the #GFileInfo does not contain | 1082 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1132 | // %G_FILE_ATTRIBUTE_STANDARD_ICON. | 1083 | // %G_FILE_ATTRIBUTE_STANDARD_ICON. | ||
| 1133 | func (x *FileInfo) GetIcon() *IconBase { | 1084 | func (x *FileInfo) GetIcon() *IconBase { | ||
| 1134 | - | core.LazyRegister(&xFileInfoGetIcon, "GIO", "g_file_info_get_icon", false) | |||
| 1135 | var cls *IconBase | 1085 | var cls *IconBase | ||
| 1136 | 1086 | ||||
| 1137 | cret := xFileInfoGetIcon(x.GoPointer()) | 1087 | cret := xFileInfoGetIcon(x.GoPointer()) | ||
| @@ -1157,8 +1107,6 @@ var xFileInfoGetIsBackup func(uintptr) bool | |||||
| 1157 | // It is an error to call this if the #GFileInfo does not contain | 1107 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1158 | // %G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP. | 1108 | // %G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP. | ||
| 1159 | func (x *FileInfo) GetIsBackup() bool { | 1109 | func (x *FileInfo) GetIsBackup() bool { | ||
| 1160 | - | core.LazyRegister(&xFileInfoGetIsBackup, "GIO", "g_file_info_get_is_backup", false) | |||
| 1161 | - | ||||
| 1162 | cret := xFileInfoGetIsBackup(x.GoPointer()) | 1110 | cret := xFileInfoGetIsBackup(x.GoPointer()) | ||
| 1163 | return cret | 1111 | return cret | ||
| 1164 | } | 1112 | } | ||
| @@ -1170,8 +1118,6 @@ var xFileInfoGetIsHidden func(uintptr) bool | |||||
| 1170 | // It is an error to call this if the #GFileInfo does not contain | 1118 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1171 | // %G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. | 1119 | // %G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. | ||
| 1172 | func (x *FileInfo) GetIsHidden() bool { | 1120 | func (x *FileInfo) GetIsHidden() bool { | ||
| 1173 | - | core.LazyRegister(&xFileInfoGetIsHidden, "GIO", "g_file_info_get_is_hidden", false) | |||
| 1174 | - | ||||
| 1175 | cret := xFileInfoGetIsHidden(x.GoPointer()) | 1121 | cret := xFileInfoGetIsHidden(x.GoPointer()) | ||
| 1176 | return cret | 1122 | return cret | ||
| 1177 | } | 1123 | } | ||
| @@ -1183,8 +1129,6 @@ var xFileInfoGetIsSymlink func(uintptr) bool | |||||
| 1183 | // It is an error to call this if the #GFileInfo does not contain | 1129 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1184 | // %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. | 1130 | // %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. | ||
| 1185 | func (x *FileInfo) GetIsSymlink() bool { | 1131 | func (x *FileInfo) GetIsSymlink() bool { | ||
| 1186 | - | core.LazyRegister(&xFileInfoGetIsSymlink, "GIO", "g_file_info_get_is_symlink", false) | |||
| 1187 | - | ||||
| 1188 | cret := xFileInfoGetIsSymlink(x.GoPointer()) | 1132 | cret := xFileInfoGetIsSymlink(x.GoPointer()) | ||
| 1189 | return cret | 1133 | return cret | ||
| 1190 | } | 1134 | } | ||
| @@ -1202,8 +1146,6 @@ var xFileInfoGetModificationDateTime func(uintptr) uintptr | |||||
| 1202 | // If nanosecond precision is needed, %G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC must | 1146 | // If nanosecond precision is needed, %G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC must | ||
| 1203 | // be queried separately using g_file_info_get_attribute_uint32(). | 1147 | // be queried separately using g_file_info_get_attribute_uint32(). | ||
| 1204 | func (x *FileInfo) GetModificationDateTime() *glib.DateTime { | 1148 | func (x *FileInfo) GetModificationDateTime() *glib.DateTime { | ||
| 1205 | - | core.LazyRegister(&xFileInfoGetModificationDateTime, "GIO", "g_file_info_get_modification_date_time", false) | |||
| 1206 | - | ||||
| 1207 | cret := xFileInfoGetModificationDateTime(x.GoPointer()) | 1149 | cret := xFileInfoGetModificationDateTime(x.GoPointer()) | ||
| 1208 | if cret == 0 { | 1150 | if cret == 0 { | ||
| 1209 | return nil | 1151 | return nil | ||
| @@ -1220,8 +1162,6 @@ var xFileInfoGetModificationTime func(uintptr, *glib.TimeVal) | |||||
| 1220 | // %G_FILE_ATTRIBUTE_TIME_MODIFIED. If %G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC is | 1162 | // %G_FILE_ATTRIBUTE_TIME_MODIFIED. If %G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC is | ||
| 1221 | // provided it will be used too. | 1163 | // provided it will be used too. | ||
| 1222 | func (x *FileInfo) GetModificationTime(ResultVar *glib.TimeVal) { | 1164 | func (x *FileInfo) GetModificationTime(ResultVar *glib.TimeVal) { | ||
| 1223 | - | core.LazyRegister(&xFileInfoGetModificationTime, "GIO", "g_file_info_get_modification_time", false) | |||
| 1224 | - | ||||
| 1225 | xFileInfoGetModificationTime(x.GoPointer(), ResultVar) | 1165 | xFileInfoGetModificationTime(x.GoPointer(), ResultVar) | ||
| 1226 | } | 1166 | } | ||
| 1227 | 1167 | ||||
| @@ -1232,8 +1172,6 @@ var xFileInfoGetName func(uintptr) string | |||||
| 1232 | // It is an error to call this if the #GFileInfo does not contain | 1172 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1233 | // %G_FILE_ATTRIBUTE_STANDARD_NAME. | 1173 | // %G_FILE_ATTRIBUTE_STANDARD_NAME. | ||
| 1234 | func (x *FileInfo) GetName() string { | 1174 | func (x *FileInfo) GetName() string { | ||
| 1235 | - | core.LazyRegister(&xFileInfoGetName, "GIO", "g_file_info_get_name", false) | |||
| 1236 | - | ||||
| 1237 | cret := xFileInfoGetName(x.GoPointer()) | 1175 | cret := xFileInfoGetName(x.GoPointer()) | ||
| 1238 | return cret | 1176 | return cret | ||
| 1239 | } | 1177 | } | ||
| @@ -1247,8 +1185,6 @@ var xFileInfoGetSize func(uintptr) int64 | |||||
| 1247 | // It is an error to call this if the #GFileInfo does not contain | 1185 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1248 | // %G_FILE_ATTRIBUTE_STANDARD_SIZE. | 1186 | // %G_FILE_ATTRIBUTE_STANDARD_SIZE. | ||
| 1249 | func (x *FileInfo) GetSize() int64 { | 1187 | func (x *FileInfo) GetSize() int64 { | ||
| 1250 | - | core.LazyRegister(&xFileInfoGetSize, "GIO", "g_file_info_get_size", false) | |||
| 1251 | - | ||||
| 1252 | cret := xFileInfoGetSize(x.GoPointer()) | 1188 | cret := xFileInfoGetSize(x.GoPointer()) | ||
| 1253 | return cret | 1189 | return cret | ||
| 1254 | } | 1190 | } | ||
| @@ -1261,8 +1197,6 @@ var xFileInfoGetSortOrder func(uintptr) int32 | |||||
| 1261 | // It is an error to call this if the #GFileInfo does not contain | 1197 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1262 | // %G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. | 1198 | // %G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. | ||
| 1263 | func (x *FileInfo) GetSortOrder() int32 { | 1199 | func (x *FileInfo) GetSortOrder() int32 { | ||
| 1264 | - | core.LazyRegister(&xFileInfoGetSortOrder, "GIO", "g_file_info_get_sort_order", false) | |||
| 1265 | - | ||||
| 1266 | cret := xFileInfoGetSortOrder(x.GoPointer()) | 1200 | cret := xFileInfoGetSortOrder(x.GoPointer()) | ||
| 1267 | return cret | 1201 | return cret | ||
| 1268 | } | 1202 | } | ||
| @@ -1274,7 +1208,6 @@ var xFileInfoGetSymbolicIcon func(uintptr) uintptr | |||||
| 1274 | // It is an error to call this if the #GFileInfo does not contain | 1208 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1275 | // %G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON. | 1209 | // %G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON. | ||
| 1276 | func (x *FileInfo) GetSymbolicIcon() *IconBase { | 1210 | func (x *FileInfo) GetSymbolicIcon() *IconBase { | ||
| 1277 | - | core.LazyRegister(&xFileInfoGetSymbolicIcon, "GIO", "g_file_info_get_symbolic_icon", false) | |||
| 1278 | var cls *IconBase | 1211 | var cls *IconBase | ||
| 1279 | 1212 | ||||
| 1280 | cret := xFileInfoGetSymbolicIcon(x.GoPointer()) | 1213 | cret := xFileInfoGetSymbolicIcon(x.GoPointer()) | ||
| @@ -1295,8 +1228,6 @@ var xFileInfoGetSymlinkTarget func(uintptr) string | |||||
| 1295 | // It is an error to call this if the #GFileInfo does not contain | 1228 | // It is an error to call this if the #GFileInfo does not contain | ||
| 1296 | // %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET. | 1229 | // %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET. | ||
| 1297 | func (x *FileInfo) GetSymlinkTarget() string { | 1230 | func (x *FileInfo) GetSymlinkTarget() string { | ||
| 1298 | - | core.LazyRegister(&xFileInfoGetSymlinkTarget, "GIO", "g_file_info_get_symlink_target", false) | |||
| 1299 | - | ||||
| 1300 | cret := xFileInfoGetSymlinkTarget(x.GoPointer()) | 1231 | cret := xFileInfoGetSymlinkTarget(x.GoPointer()) | ||
| 1301 | return cret | 1232 | return cret | ||
| 1302 | } | 1233 | } | ||
| @@ -1305,8 +1236,6 @@ var xFileInfoHasAttribute func(uintptr, string) bool | |||||
| 1305 | 1236 | ||||
| 1306 | // Checks if a file info structure has an attribute named @attribute. | 1237 | // Checks if a file info structure has an attribute named @attribute. | ||
| 1307 | func (x *FileInfo) HasAttribute(AttributeVar string) bool { | 1238 | func (x *FileInfo) HasAttribute(AttributeVar string) bool { | ||
| 1308 | - | core.LazyRegister(&xFileInfoHasAttribute, "GIO", "g_file_info_has_attribute", false) | |||
| 1309 | - | ||||
| 1310 | cret := xFileInfoHasAttribute(x.GoPointer(), AttributeVar) | 1239 | cret := xFileInfoHasAttribute(x.GoPointer(), AttributeVar) | ||
| 1311 | return cret | 1240 | return cret | ||
| 1312 | } | 1241 | } | ||
| @@ -1316,8 +1245,6 @@ var xFileInfoHasNamespace func(uintptr, string) bool | |||||
| 1316 | // Checks if a file info structure has an attribute in the | 1245 | // Checks if a file info structure has an attribute in the | ||
| 1317 | // specified @name_space. | 1246 | // specified @name_space. | ||
| 1318 | func (x *FileInfo) HasNamespace(NameSpaceVar string) bool { | 1247 | func (x *FileInfo) HasNamespace(NameSpaceVar string) bool { | ||
| 1319 | - | core.LazyRegister(&xFileInfoHasNamespace, "GIO", "g_file_info_has_namespace", false) | |||
| 1320 | - | ||||
| 1321 | cret := xFileInfoHasNamespace(x.GoPointer(), NameSpaceVar) | 1248 | cret := xFileInfoHasNamespace(x.GoPointer(), NameSpaceVar) | ||
| 1322 | return cret | 1249 | return cret | ||
| 1323 | } | 1250 | } | ||
| @@ -1326,8 +1253,6 @@ var xFileInfoListAttributes func(uintptr, uintptr) []string | |||||
| 1326 | 1253 | ||||
| 1327 | // Lists the file info structure's attributes. | 1254 | // Lists the file info structure's attributes. | ||
| 1328 | func (x *FileInfo) ListAttributes(NameSpaceVar *string) []string { | 1255 | func (x *FileInfo) ListAttributes(NameSpaceVar *string) []string { | ||
| 1329 | - | core.LazyRegister(&xFileInfoListAttributes, "GIO", "g_file_info_list_attributes", false) | |||
| 1330 | - | ||||
| 1331 | NameSpaceVarPtr := core.GStrdupNullable(NameSpaceVar) | 1256 | NameSpaceVarPtr := core.GStrdupNullable(NameSpaceVar) | ||
| 1332 | defer core.GFreeNullable(NameSpaceVarPtr) | 1257 | defer core.GFreeNullable(NameSpaceVarPtr) | ||
| 1333 | 1258 | ||||
| @@ -1339,8 +1264,6 @@ var xFileInfoRemoveAttribute func(uintptr, string) | |||||
| 1339 | 1264 | ||||
| 1340 | // Removes all cases of @attribute from @info if it exists. | 1265 | // Removes all cases of @attribute from @info if it exists. | ||
| 1341 | func (x *FileInfo) RemoveAttribute(AttributeVar string) { | 1266 | func (x *FileInfo) RemoveAttribute(AttributeVar string) { | ||
| 1342 | - | core.LazyRegister(&xFileInfoRemoveAttribute, "GIO", "g_file_info_remove_attribute", false) | |||
| 1343 | - | ||||
| 1344 | xFileInfoRemoveAttribute(x.GoPointer(), AttributeVar) | 1267 | xFileInfoRemoveAttribute(x.GoPointer(), AttributeVar) | ||
| 1345 | } | 1268 | } | ||
| 1346 | 1269 | ||||
| @@ -1352,8 +1275,6 @@ var xFileInfoSetAccessDateTime func(uintptr, *glib.DateTime) | |||||
| 1352 | // | 1275 | // | ||
| 1353 | // %G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC will be cleared. | 1276 | // %G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC will be cleared. | ||
| 1354 | func (x *FileInfo) SetAccessDateTime(AtimeVar *glib.DateTime) { | 1277 | func (x *FileInfo) SetAccessDateTime(AtimeVar *glib.DateTime) { | ||
| 1355 | - | core.LazyRegister(&xFileInfoSetAccessDateTime, "GIO", "g_file_info_set_access_date_time", false) | |||
| 1356 | - | ||||
| 1357 | xFileInfoSetAccessDateTime(x.GoPointer(), AtimeVar) | 1278 | xFileInfoSetAccessDateTime(x.GoPointer(), AtimeVar) | ||
| 1358 | } | 1279 | } | ||
| 1359 | 1280 | ||||
| @@ -1362,8 +1283,6 @@ var xFileInfoSetAttribute func(uintptr, string, FileAttributeType, uintptr) | |||||
| 1362 | // Sets the @attribute to contain the given value, if possible. To unset the | 1283 | // Sets the @attribute to contain the given value, if possible. To unset the | ||
| 1363 | // attribute, use %G_FILE_ATTRIBUTE_TYPE_INVALID for @type. | 1284 | // attribute, use %G_FILE_ATTRIBUTE_TYPE_INVALID for @type. | ||
| 1364 | func (x *FileInfo) SetAttribute(AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr) { | 1285 | func (x *FileInfo) SetAttribute(AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr) { | ||
| 1365 | - | core.LazyRegister(&xFileInfoSetAttribute, "GIO", "g_file_info_set_attribute", false) | |||
| 1366 | - | ||||
| 1367 | xFileInfoSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar) | 1286 | xFileInfoSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar) | ||
| 1368 | } | 1287 | } | ||
| 1369 | 1288 | ||||
| @@ -1372,8 +1291,6 @@ var xFileInfoSetAttributeBoolean func(uintptr, string, bool) | |||||
| 1372 | // Sets the @attribute to contain the given @attr_value, | 1291 | // Sets the @attribute to contain the given @attr_value, | ||
| 1373 | // if possible. | 1292 | // if possible. | ||
| 1374 | func (x *FileInfo) SetAttributeBoolean(AttributeVar string, AttrValueVar bool) { | 1293 | func (x *FileInfo) SetAttributeBoolean(AttributeVar string, AttrValueVar bool) { | ||
| 1375 | - | core.LazyRegister(&xFileInfoSetAttributeBoolean, "GIO", "g_file_info_set_attribute_boolean", false) | |||
| 1376 | - | ||||
| 1377 | xFileInfoSetAttributeBoolean(x.GoPointer(), AttributeVar, AttrValueVar) | 1294 | xFileInfoSetAttributeBoolean(x.GoPointer(), AttributeVar, AttrValueVar) | ||
| 1378 | } | 1295 | } | ||
| 1379 | 1296 | ||||
| @@ -1382,8 +1299,6 @@ var xFileInfoSetAttributeByteString func(uintptr, string, string) | |||||
| 1382 | // Sets the @attribute to contain the given @attr_value, | 1299 | // Sets the @attribute to contain the given @attr_value, | ||
| 1383 | // if possible. | 1300 | // if possible. | ||
| 1384 | func (x *FileInfo) SetAttributeByteString(AttributeVar string, AttrValueVar string) { | 1301 | func (x *FileInfo) SetAttributeByteString(AttributeVar string, AttrValueVar string) { | ||
| 1385 | - | core.LazyRegister(&xFileInfoSetAttributeByteString, "GIO", "g_file_info_set_attribute_byte_string", false) | |||
| 1386 | - | ||||
| 1387 | xFileInfoSetAttributeByteString(x.GoPointer(), AttributeVar, AttrValueVar) | 1302 | xFileInfoSetAttributeByteString(x.GoPointer(), AttributeVar, AttrValueVar) | ||
| 1388 | } | 1303 | } | ||
| 1389 | 1304 | ||||
| @@ -1395,8 +1310,6 @@ var xFileInfoSetAttributeFilePath func(uintptr, string, string) | |||||
| 1395 | // This function is meant to be used by language bindings that have specific | 1310 | // This function is meant to be used by language bindings that have specific | ||
| 1396 | // handling for Unix paths. | 1311 | // handling for Unix paths. | ||
| 1397 | func (x *FileInfo) SetAttributeFilePath(AttributeVar string, AttrValueVar string) { | 1312 | func (x *FileInfo) SetAttributeFilePath(AttributeVar string, AttrValueVar string) { | ||
| 1398 | - | core.LazyRegister(&xFileInfoSetAttributeFilePath, "GIO", "g_file_info_set_attribute_file_path", false) | |||
| 1399 | - | ||||
| 1400 | xFileInfoSetAttributeFilePath(x.GoPointer(), AttributeVar, AttrValueVar) | 1313 | xFileInfoSetAttributeFilePath(x.GoPointer(), AttributeVar, AttrValueVar) | ||
| 1401 | } | 1314 | } | ||
| 1402 | 1315 | ||||
| @@ -1405,8 +1318,6 @@ var xFileInfoSetAttributeInt32 func(uintptr, string, int32) | |||||
| 1405 | // Sets the @attribute to contain the given @attr_value, | 1318 | // Sets the @attribute to contain the given @attr_value, | ||
| 1406 | // if possible. | 1319 | // if possible. | ||
| 1407 | func (x *FileInfo) SetAttributeInt32(AttributeVar string, AttrValueVar int32) { | 1320 | func (x *FileInfo) SetAttributeInt32(AttributeVar string, AttrValueVar int32) { | ||
| 1408 | - | core.LazyRegister(&xFileInfoSetAttributeInt32, "GIO", "g_file_info_set_attribute_int32", false) | |||
| 1409 | - | ||||
| 1410 | xFileInfoSetAttributeInt32(x.GoPointer(), AttributeVar, AttrValueVar) | 1321 | xFileInfoSetAttributeInt32(x.GoPointer(), AttributeVar, AttrValueVar) | ||
| 1411 | } | 1322 | } | ||
| 1412 | 1323 | ||||
| @@ -1415,8 +1326,6 @@ var xFileInfoSetAttributeInt64 func(uintptr, string, int64) | |||||
| 1415 | // Sets the @attribute to contain the given @attr_value, | 1326 | // Sets the @attribute to contain the given @attr_value, | ||
| 1416 | // if possible. | 1327 | // if possible. | ||
| 1417 | func (x *FileInfo) SetAttributeInt64(AttributeVar string, AttrValueVar int64) { | 1328 | func (x *FileInfo) SetAttributeInt64(AttributeVar string, AttrValueVar int64) { | ||
| 1418 | - | core.LazyRegister(&xFileInfoSetAttributeInt64, "GIO", "g_file_info_set_attribute_int64", false) | |||
| 1419 | - | ||||
| 1420 | xFileInfoSetAttributeInt64(x.GoPointer(), AttributeVar, AttrValueVar) | 1329 | xFileInfoSetAttributeInt64(x.GoPointer(), AttributeVar, AttrValueVar) | ||
| 1421 | } | 1330 | } | ||
| 1422 | 1331 | ||||
| @@ -1424,8 +1333,6 @@ var xFileInfoSetAttributeMask func(uintptr, *FileAttributeMatcher) | |||||
| 1424 | 1333 | ||||
| 1425 | // Sets @mask on @info to match specific attribute types. | 1334 | // Sets @mask on @info to match specific attribute types. | ||
| 1426 | func (x *FileInfo) SetAttributeMask(MaskVar *FileAttributeMatcher) { | 1335 | func (x *FileInfo) SetAttributeMask(MaskVar *FileAttributeMatcher) { | ||
| 1427 | - | core.LazyRegister(&xFileInfoSetAttributeMask, "GIO", "g_file_info_set_attribute_mask", false) | |||
| 1428 | - | ||||
| 1429 | xFileInfoSetAttributeMask(x.GoPointer(), MaskVar) | 1336 | xFileInfoSetAttributeMask(x.GoPointer(), MaskVar) | ||
| 1430 | } | 1337 | } | ||
| 1431 | 1338 | ||||
| @@ -1434,8 +1341,6 @@ var xFileInfoSetAttributeObject func(uintptr, string, uintptr) | |||||
| 1434 | // Sets the @attribute to contain the given @attr_value, | 1341 | // Sets the @attribute to contain the given @attr_value, | ||
| 1435 | // if possible. | 1342 | // if possible. | ||
| 1436 | func (x *FileInfo) SetAttributeObject(AttributeVar string, AttrValueVar *gobject.Object) { | 1343 | func (x *FileInfo) SetAttributeObject(AttributeVar string, AttrValueVar *gobject.Object) { | ||
| 1437 | - | core.LazyRegister(&xFileInfoSetAttributeObject, "GIO", "g_file_info_set_attribute_object", false) | |||
| 1438 | - | ||||
| 1439 | xFileInfoSetAttributeObject(x.GoPointer(), AttributeVar, AttrValueVar.GoPointer()) | 1344 | xFileInfoSetAttributeObject(x.GoPointer(), AttributeVar, AttrValueVar.GoPointer()) | ||
| 1440 | } | 1345 | } | ||
| 1441 | 1346 | ||||
| @@ -1448,8 +1353,6 @@ var xFileInfoSetAttributeStatus func(uintptr, string, FileAttributeStatus) bool | |||||
| 1448 | // The attribute must exist in @info for this to work. Otherwise %FALSE | 1353 | // The attribute must exist in @info for this to work. Otherwise %FALSE | ||
| 1449 | // is returned and @info is unchanged. | 1354 | // is returned and @info is unchanged. | ||
| 1450 | func (x *FileInfo) SetAttributeStatus(AttributeVar string, StatusVar FileAttributeStatus) bool { | 1355 | func (x *FileInfo) SetAttributeStatus(AttributeVar string, StatusVar FileAttributeStatus) bool { | ||
| 1451 | - | core.LazyRegister(&xFileInfoSetAttributeStatus, "GIO", "g_file_info_set_attribute_status", false) | |||
| 1452 | - | ||||
| 1453 | cret := xFileInfoSetAttributeStatus(x.GoPointer(), AttributeVar, StatusVar) | 1356 | cret := xFileInfoSetAttributeStatus(x.GoPointer(), AttributeVar, StatusVar) | ||
| 1454 | return cret | 1357 | return cret | ||
| 1455 | } | 1358 | } | ||
| @@ -1459,8 +1362,6 @@ var xFileInfoSetAttributeString func(uintptr, string, string) | |||||
| 1459 | // Sets the @attribute to contain the given @attr_value, | 1362 | // Sets the @attribute to contain the given @attr_value, | ||
| 1460 | // if possible. | 1363 | // if possible. | ||
| 1461 | func (x *FileInfo) SetAttributeString(AttributeVar string, AttrValueVar string) { | 1364 | func (x *FileInfo) SetAttributeString(AttributeVar string, AttrValueVar string) { | ||
| 1462 | - | core.LazyRegister(&xFileInfoSetAttributeString, "GIO", "g_file_info_set_attribute_string", false) | |||
| 1463 | - | ||||
| 1464 | xFileInfoSetAttributeString(x.GoPointer(), AttributeVar, AttrValueVar) | 1365 | xFileInfoSetAttributeString(x.GoPointer(), AttributeVar, AttrValueVar) | ||
| 1465 | } | 1366 | } | ||
| 1466 | 1367 | ||||
| @@ -1471,8 +1372,6 @@ var xFileInfoSetAttributeStringv func(uintptr, string, []string) | |||||
| 1471 | // | 1372 | // | ||
| 1472 | // Sinze: 2.22 | 1373 | // Sinze: 2.22 | ||
| 1473 | func (x *FileInfo) SetAttributeStringv(AttributeVar string, AttrValueVar []string) { | 1374 | func (x *FileInfo) SetAttributeStringv(AttributeVar string, AttrValueVar []string) { | ||
| 1474 | - | core.LazyRegister(&xFileInfoSetAttributeStringv, "GIO", "g_file_info_set_attribute_stringv", false) | |||
| 1475 | - | ||||
| 1476 | xFileInfoSetAttributeStringv(x.GoPointer(), AttributeVar, AttrValueVar) | 1375 | xFileInfoSetAttributeStringv(x.GoPointer(), AttributeVar, AttrValueVar) | ||
| 1477 | } | 1376 | } | ||
| 1478 | 1377 | ||||
| @@ -1481,8 +1380,6 @@ var xFileInfoSetAttributeUint32 func(uintptr, string, uint32) | |||||
| 1481 | // Sets the @attribute to contain the given @attr_value, | 1380 | // Sets the @attribute to contain the given @attr_value, | ||
| 1482 | // if possible. | 1381 | // if possible. | ||
| 1483 | func (x *FileInfo) SetAttributeUint32(AttributeVar string, AttrValueVar uint32) { | 1382 | func (x *FileInfo) SetAttributeUint32(AttributeVar string, AttrValueVar uint32) { | ||
| 1484 | - | core.LazyRegister(&xFileInfoSetAttributeUint32, "GIO", "g_file_info_set_attribute_uint32", false) | |||
| 1485 | - | ||||
| 1486 | xFileInfoSetAttributeUint32(x.GoPointer(), AttributeVar, AttrValueVar) | 1383 | xFileInfoSetAttributeUint32(x.GoPointer(), AttributeVar, AttrValueVar) | ||
| 1487 | } | 1384 | } | ||
| 1488 | 1385 | ||||
| @@ -1491,8 +1388,6 @@ var xFileInfoSetAttributeUint64 func(uintptr, string, uint64) | |||||
| 1491 | // Sets the @attribute to contain the given @attr_value, | 1388 | // Sets the @attribute to contain the given @attr_value, | ||
| 1492 | // if possible. | 1389 | // if possible. | ||
| 1493 | func (x *FileInfo) SetAttributeUint64(AttributeVar string, AttrValueVar uint64) { | 1390 | func (x *FileInfo) SetAttributeUint64(AttributeVar string, AttrValueVar uint64) { | ||
| 1494 | - | core.LazyRegister(&xFileInfoSetAttributeUint64, "GIO", "g_file_info_set_attribute_uint64", false) | |||
| 1495 | - | ||||
| 1496 | xFileInfoSetAttributeUint64(x.GoPointer(), AttributeVar, AttrValueVar) | 1391 | xFileInfoSetAttributeUint64(x.GoPointer(), AttributeVar, AttrValueVar) | ||
| 1497 | } | 1392 | } | ||
| 1498 | 1393 | ||||
| @@ -1501,8 +1396,6 @@ var xFileInfoSetContentType func(uintptr, string) | |||||
| 1501 | // Sets the content type attribute for a given #GFileInfo. | 1396 | // Sets the content type attribute for a given #GFileInfo. | ||
| 1502 | // See %G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. | 1397 | // See %G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. | ||
| 1503 | func (x *FileInfo) SetContentType(ContentTypeVar string) { | 1398 | func (x *FileInfo) SetContentType(ContentTypeVar string) { | ||
| 1504 | - | core.LazyRegister(&xFileInfoSetContentType, "GIO", "g_file_info_set_content_type", false) | |||
| 1505 | - | ||||
| 1506 | xFileInfoSetContentType(x.GoPointer(), ContentTypeVar) | 1399 | xFileInfoSetContentType(x.GoPointer(), ContentTypeVar) | ||
| 1507 | } | 1400 | } | ||
| 1508 | 1401 | ||||
| @@ -1514,8 +1407,6 @@ var xFileInfoSetCreationDateTime func(uintptr, *glib.DateTime) | |||||
| 1514 | // | 1407 | // | ||
| 1515 | // %G_FILE_ATTRIBUTE_TIME_CREATED_NSEC will be cleared. | 1408 | // %G_FILE_ATTRIBUTE_TIME_CREATED_NSEC will be cleared. | ||
| 1516 | func (x *FileInfo) SetCreationDateTime(CreationTimeVar *glib.DateTime) { | 1409 | func (x *FileInfo) SetCreationDateTime(CreationTimeVar *glib.DateTime) { | ||
| 1517 | - | core.LazyRegister(&xFileInfoSetCreationDateTime, "GIO", "g_file_info_set_creation_date_time", false) | |||
| 1518 | - | ||||
| 1519 | xFileInfoSetCreationDateTime(x.GoPointer(), CreationTimeVar) | 1410 | xFileInfoSetCreationDateTime(x.GoPointer(), CreationTimeVar) | ||
| 1520 | } | 1411 | } | ||
| 1521 | 1412 | ||||
| @@ -1524,8 +1415,6 @@ var xFileInfoSetDisplayName func(uintptr, string) | |||||
| 1524 | // Sets the display name for the current #GFileInfo. | 1415 | // Sets the display name for the current #GFileInfo. | ||
| 1525 | // See %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. | 1416 | // See %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. | ||
| 1526 | func (x *FileInfo) SetDisplayName(DisplayNameVar string) { | 1417 | func (x *FileInfo) SetDisplayName(DisplayNameVar string) { | ||
| 1527 | - | core.LazyRegister(&xFileInfoSetDisplayName, "GIO", "g_file_info_set_display_name", false) | |||
| 1528 | - | ||||
| 1529 | xFileInfoSetDisplayName(x.GoPointer(), DisplayNameVar) | 1418 | xFileInfoSetDisplayName(x.GoPointer(), DisplayNameVar) | ||
| 1530 | } | 1419 | } | ||
| 1531 | 1420 | ||||
| @@ -1534,8 +1423,6 @@ var xFileInfoSetEditName func(uintptr, string) | |||||
| 1534 | // Sets the edit name for the current file. | 1423 | // Sets the edit name for the current file. | ||
| 1535 | // See %G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME. | 1424 | // See %G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME. | ||
| 1536 | func (x *FileInfo) SetEditName(EditNameVar string) { | 1425 | func (x *FileInfo) SetEditName(EditNameVar string) { | ||
| 1537 | - | core.LazyRegister(&xFileInfoSetEditName, "GIO", "g_file_info_set_edit_name", false) | |||
| 1538 | - | ||||
| 1539 | xFileInfoSetEditName(x.GoPointer(), EditNameVar) | 1426 | xFileInfoSetEditName(x.GoPointer(), EditNameVar) | ||
| 1540 | } | 1427 | } | ||
| 1541 | 1428 | ||||
| @@ -1544,8 +1431,6 @@ var xFileInfoSetFileType func(uintptr, FileType) | |||||
| 1544 | // Sets the file type in a #GFileInfo to @type. | 1431 | // Sets the file type in a #GFileInfo to @type. | ||
| 1545 | // See %G_FILE_ATTRIBUTE_STANDARD_TYPE. | 1432 | // See %G_FILE_ATTRIBUTE_STANDARD_TYPE. | ||
| 1546 | func (x *FileInfo) SetFileType(TypeVar FileType) { | 1433 | func (x *FileInfo) SetFileType(TypeVar FileType) { | ||
| 1547 | - | core.LazyRegister(&xFileInfoSetFileType, "GIO", "g_file_info_set_file_type", false) | |||
| 1548 | - | ||||
| 1549 | xFileInfoSetFileType(x.GoPointer(), TypeVar) | 1434 | xFileInfoSetFileType(x.GoPointer(), TypeVar) | ||
| 1550 | } | 1435 | } | ||
| 1551 | 1436 | ||||
| @@ -1554,8 +1439,6 @@ var xFileInfoSetIcon func(uintptr, uintptr) | |||||
| 1554 | // Sets the icon for a given #GFileInfo. | 1439 | // Sets the icon for a given #GFileInfo. | ||
| 1555 | // See %G_FILE_ATTRIBUTE_STANDARD_ICON. | 1440 | // See %G_FILE_ATTRIBUTE_STANDARD_ICON. | ||
| 1556 | func (x *FileInfo) SetIcon(IconVar Icon) { | 1441 | func (x *FileInfo) SetIcon(IconVar Icon) { | ||
| 1557 | - | core.LazyRegister(&xFileInfoSetIcon, "GIO", "g_file_info_set_icon", false) | |||
| 1558 | - | ||||
| 1559 | xFileInfoSetIcon(x.GoPointer(), IconVar.GoPointer()) | 1442 | xFileInfoSetIcon(x.GoPointer(), IconVar.GoPointer()) | ||
| 1560 | } | 1443 | } | ||
| 1561 | 1444 | ||||
| @@ -1564,8 +1447,6 @@ var xFileInfoSetIsHidden func(uintptr, bool) | |||||
| 1564 | // Sets the "is_hidden" attribute in a #GFileInfo according to @is_hidden. | 1447 | // Sets the "is_hidden" attribute in a #GFileInfo according to @is_hidden. | ||
| 1565 | // See %G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. | 1448 | // See %G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. | ||
| 1566 | func (x *FileInfo) SetIsHidden(IsHiddenVar bool) { | 1449 | func (x *FileInfo) SetIsHidden(IsHiddenVar bool) { | ||
| 1567 | - | core.LazyRegister(&xFileInfoSetIsHidden, "GIO", "g_file_info_set_is_hidden", false) | |||
| 1568 | - | ||||
| 1569 | xFileInfoSetIsHidden(x.GoPointer(), IsHiddenVar) | 1450 | xFileInfoSetIsHidden(x.GoPointer(), IsHiddenVar) | ||
| 1570 | } | 1451 | } | ||
| 1571 | 1452 | ||||
| @@ -1574,8 +1455,6 @@ var xFileInfoSetIsSymlink func(uintptr, bool) | |||||
| 1574 | // Sets the "is_symlink" attribute in a #GFileInfo according to @is_symlink. | 1455 | // Sets the "is_symlink" attribute in a #GFileInfo according to @is_symlink. | ||
| 1575 | // See %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. | 1456 | // See %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. | ||
| 1576 | func (x *FileInfo) SetIsSymlink(IsSymlinkVar bool) { | 1457 | func (x *FileInfo) SetIsSymlink(IsSymlinkVar bool) { | ||
| 1577 | - | core.LazyRegister(&xFileInfoSetIsSymlink, "GIO", "g_file_info_set_is_symlink", false) | |||
| 1578 | - | ||||
| 1579 | xFileInfoSetIsSymlink(x.GoPointer(), IsSymlinkVar) | 1458 | xFileInfoSetIsSymlink(x.GoPointer(), IsSymlinkVar) | ||
| 1580 | } | 1459 | } | ||
| 1581 | 1460 | ||||
| @@ -1587,8 +1466,6 @@ var xFileInfoSetModificationDateTime func(uintptr, *glib.DateTime) | |||||
| 1587 | // | 1466 | // | ||
| 1588 | // %G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC will be cleared. | 1467 | // %G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC will be cleared. | ||
| 1589 | func (x *FileInfo) SetModificationDateTime(MtimeVar *glib.DateTime) { | 1468 | func (x *FileInfo) SetModificationDateTime(MtimeVar *glib.DateTime) { | ||
| 1590 | - | core.LazyRegister(&xFileInfoSetModificationDateTime, "GIO", "g_file_info_set_modification_date_time", false) | |||
| 1591 | - | ||||
| 1592 | xFileInfoSetModificationDateTime(x.GoPointer(), MtimeVar) | 1469 | xFileInfoSetModificationDateTime(x.GoPointer(), MtimeVar) | ||
| 1593 | } | 1470 | } | ||
| 1594 | 1471 | ||||
| @@ -1600,8 +1477,6 @@ var xFileInfoSetModificationTime func(uintptr, *glib.TimeVal) | |||||
| 1600 | // | 1477 | // | ||
| 1601 | // %G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC will be cleared. | 1478 | // %G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC will be cleared. | ||
| 1602 | func (x *FileInfo) SetModificationTime(MtimeVar *glib.TimeVal) { | 1479 | func (x *FileInfo) SetModificationTime(MtimeVar *glib.TimeVal) { | ||
| 1603 | - | core.LazyRegister(&xFileInfoSetModificationTime, "GIO", "g_file_info_set_modification_time", false) | |||
| 1604 | - | ||||
| 1605 | xFileInfoSetModificationTime(x.GoPointer(), MtimeVar) | 1480 | xFileInfoSetModificationTime(x.GoPointer(), MtimeVar) | ||
| 1606 | } | 1481 | } | ||
| 1607 | 1482 | ||||
| @@ -1610,8 +1485,6 @@ var xFileInfoSetName func(uintptr, string) | |||||
| 1610 | // Sets the name attribute for the current #GFileInfo. | 1485 | // Sets the name attribute for the current #GFileInfo. | ||
| 1611 | // See %G_FILE_ATTRIBUTE_STANDARD_NAME. | 1486 | // See %G_FILE_ATTRIBUTE_STANDARD_NAME. | ||
| 1612 | func (x *FileInfo) SetName(NameVar string) { | 1487 | func (x *FileInfo) SetName(NameVar string) { | ||
| 1613 | - | core.LazyRegister(&xFileInfoSetName, "GIO", "g_file_info_set_name", false) | |||
| 1614 | - | ||||
| 1615 | xFileInfoSetName(x.GoPointer(), NameVar) | 1488 | xFileInfoSetName(x.GoPointer(), NameVar) | ||
| 1616 | } | 1489 | } | ||
| 1617 | 1490 | ||||
| @@ -1620,8 +1493,6 @@ var xFileInfoSetSize func(uintptr, int64) | |||||
| 1620 | // Sets the %G_FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info | 1493 | // Sets the %G_FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info | ||
| 1621 | // to the given size. | 1494 | // to the given size. | ||
| 1622 | func (x *FileInfo) SetSize(SizeVar int64) { | 1495 | func (x *FileInfo) SetSize(SizeVar int64) { | ||
| 1623 | - | core.LazyRegister(&xFileInfoSetSize, "GIO", "g_file_info_set_size", false) | |||
| 1624 | - | ||||
| 1625 | xFileInfoSetSize(x.GoPointer(), SizeVar) | 1496 | xFileInfoSetSize(x.GoPointer(), SizeVar) | ||
| 1626 | } | 1497 | } | ||
| 1627 | 1498 | ||||
| @@ -1630,8 +1501,6 @@ var xFileInfoSetSortOrder func(uintptr, int32) | |||||
| 1630 | // Sets the sort order attribute in the file info structure. See | 1501 | // Sets the sort order attribute in the file info structure. See | ||
| 1631 | // %G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. | 1502 | // %G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. | ||
| 1632 | func (x *FileInfo) SetSortOrder(SortOrderVar int32) { | 1503 | func (x *FileInfo) SetSortOrder(SortOrderVar int32) { | ||
| 1633 | - | core.LazyRegister(&xFileInfoSetSortOrder, "GIO", "g_file_info_set_sort_order", false) | |||
| 1634 | - | ||||
| 1635 | xFileInfoSetSortOrder(x.GoPointer(), SortOrderVar) | 1504 | xFileInfoSetSortOrder(x.GoPointer(), SortOrderVar) | ||
| 1636 | } | 1505 | } | ||
| 1637 | 1506 | ||||
| @@ -1640,8 +1509,6 @@ var xFileInfoSetSymbolicIcon func(uintptr, uintptr) | |||||
| 1640 | // Sets the symbolic icon for a given #GFileInfo. | 1509 | // Sets the symbolic icon for a given #GFileInfo. | ||
| 1641 | // See %G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON. | 1510 | // See %G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON. | ||
| 1642 | func (x *FileInfo) SetSymbolicIcon(IconVar Icon) { | 1511 | func (x *FileInfo) SetSymbolicIcon(IconVar Icon) { | ||
| 1643 | - | core.LazyRegister(&xFileInfoSetSymbolicIcon, "GIO", "g_file_info_set_symbolic_icon", false) | |||
| 1644 | - | ||||
| 1645 | xFileInfoSetSymbolicIcon(x.GoPointer(), IconVar.GoPointer()) | 1512 | xFileInfoSetSymbolicIcon(x.GoPointer(), IconVar.GoPointer()) | ||
| 1646 | } | 1513 | } | ||
| 1647 | 1514 | ||||
| @@ -1650,8 +1517,6 @@ var xFileInfoSetSymlinkTarget func(uintptr, string) | |||||
| 1650 | // Sets the %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info | 1517 | // Sets the %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info | ||
| 1651 | // to the given symlink target. | 1518 | // to the given symlink target. | ||
| 1652 | func (x *FileInfo) SetSymlinkTarget(SymlinkTargetVar string) { | 1519 | func (x *FileInfo) SetSymlinkTarget(SymlinkTargetVar string) { | ||
| 1653 | - | core.LazyRegister(&xFileInfoSetSymlinkTarget, "GIO", "g_file_info_set_symlink_target", false) | |||
| 1654 | - | ||||
| 1655 | xFileInfoSetSymlinkTarget(x.GoPointer(), SymlinkTargetVar) | 1520 | xFileInfoSetSymlinkTarget(x.GoPointer(), SymlinkTargetVar) | ||
| 1656 | } | 1521 | } | ||
| 1657 | 1522 | ||||
| @@ -1660,8 +1525,6 @@ var xFileInfoUnsetAttributeMask func(uintptr) | |||||
| 1660 | // Unsets a mask set by g_file_info_set_attribute_mask(), if one | 1525 | // Unsets a mask set by g_file_info_set_attribute_mask(), if one | ||
| 1661 | // is set. | 1526 | // is set. | ||
| 1662 | func (x *FileInfo) UnsetAttributeMask() { | 1527 | func (x *FileInfo) UnsetAttributeMask() { | ||
| 1663 | - | core.LazyRegister(&xFileInfoUnsetAttributeMask, "GIO", "g_file_info_unset_attribute_mask", false) | |||
| 1664 | - | ||||
| 1665 | xFileInfoUnsetAttributeMask(x.GoPointer()) | 1528 | xFileInfoUnsetAttributeMask(x.GoPointer()) | ||
| 1666 | } | 1529 | } | ||
| 1667 | 1530 | ||||
| @@ -1679,4 +1542,87 @@ func (c *FileInfo) SetGoPointer(ptr uintptr) { | |||||
| 1679 | func init() { | 1542 | func init() { | ||
| 1680 | core.SetPackageName("GIO", "gio-2.0") | 1543 | core.SetPackageName("GIO", "gio-2.0") | ||
| 1681 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 1544 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 1545 | + | var libs []uintptr | |||
| 1546 | + | for _, libPath := range core.GetPaths("GIO") { | |||
| 1547 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 1548 | + | if err != nil { | |||
| 1549 | + | panic(err) | |||
| 1550 | + | } | |||
| 1551 | + | libs = append(libs, lib) | |||
| 1552 | + | } | |||
| 1553 | + | ||||
| 1554 | + | core.PuregoSafeRegister(&xFileInfoGLibType, libs, "g_file_info_get_type") | |||
| 1555 | + | ||||
| 1556 | + | core.PuregoSafeRegister(&xNewFileInfo, libs, "g_file_info_new") | |||
| 1557 | + | ||||
| 1558 | + | core.PuregoSafeRegister(&xFileInfoClearStatus, libs, "g_file_info_clear_status") | |||
| 1559 | + | core.PuregoSafeRegister(&xFileInfoCopyInto, libs, "g_file_info_copy_into") | |||
| 1560 | + | core.PuregoSafeRegister(&xFileInfoDup, libs, "g_file_info_dup") | |||
| 1561 | + | core.PuregoSafeRegister(&xFileInfoGetAccessDateTime, libs, "g_file_info_get_access_date_time") | |||
| 1562 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeAsString, libs, "g_file_info_get_attribute_as_string") | |||
| 1563 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeBoolean, libs, "g_file_info_get_attribute_boolean") | |||
| 1564 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeByteString, libs, "g_file_info_get_attribute_byte_string") | |||
| 1565 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeData, libs, "g_file_info_get_attribute_data") | |||
| 1566 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeFilePath, libs, "g_file_info_get_attribute_file_path") | |||
| 1567 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeInt32, libs, "g_file_info_get_attribute_int32") | |||
| 1568 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeInt64, libs, "g_file_info_get_attribute_int64") | |||
| 1569 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeObject, libs, "g_file_info_get_attribute_object") | |||
| 1570 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeStatus, libs, "g_file_info_get_attribute_status") | |||
| 1571 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeString, libs, "g_file_info_get_attribute_string") | |||
| 1572 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeStringv, libs, "g_file_info_get_attribute_stringv") | |||
| 1573 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeType, libs, "g_file_info_get_attribute_type") | |||
| 1574 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeUint32, libs, "g_file_info_get_attribute_uint32") | |||
| 1575 | + | core.PuregoSafeRegister(&xFileInfoGetAttributeUint64, libs, "g_file_info_get_attribute_uint64") | |||
| 1576 | + | core.PuregoSafeRegister(&xFileInfoGetContentType, libs, "g_file_info_get_content_type") | |||
| 1577 | + | core.PuregoSafeRegister(&xFileInfoGetCreationDateTime, libs, "g_file_info_get_creation_date_time") | |||
| 1578 | + | core.PuregoSafeRegister(&xFileInfoGetDeletionDate, libs, "g_file_info_get_deletion_date") | |||
| 1579 | + | core.PuregoSafeRegister(&xFileInfoGetDisplayName, libs, "g_file_info_get_display_name") | |||
| 1580 | + | core.PuregoSafeRegister(&xFileInfoGetEditName, libs, "g_file_info_get_edit_name") | |||
| 1581 | + | core.PuregoSafeRegister(&xFileInfoGetEtag, libs, "g_file_info_get_etag") | |||
| 1582 | + | core.PuregoSafeRegister(&xFileInfoGetFileType, libs, "g_file_info_get_file_type") | |||
| 1583 | + | core.PuregoSafeRegister(&xFileInfoGetIcon, libs, "g_file_info_get_icon") | |||
| 1584 | + | core.PuregoSafeRegister(&xFileInfoGetIsBackup, libs, "g_file_info_get_is_backup") | |||
| 1585 | + | core.PuregoSafeRegister(&xFileInfoGetIsHidden, libs, "g_file_info_get_is_hidden") | |||
| 1586 | + | core.PuregoSafeRegister(&xFileInfoGetIsSymlink, libs, "g_file_info_get_is_symlink") | |||
| 1587 | + | core.PuregoSafeRegister(&xFileInfoGetModificationDateTime, libs, "g_file_info_get_modification_date_time") | |||
| 1588 | + | core.PuregoSafeRegister(&xFileInfoGetModificationTime, libs, "g_file_info_get_modification_time") | |||
| 1589 | + | core.PuregoSafeRegister(&xFileInfoGetName, libs, "g_file_info_get_name") | |||
| 1590 | + | core.PuregoSafeRegister(&xFileInfoGetSize, libs, "g_file_info_get_size") | |||
| 1591 | + | core.PuregoSafeRegister(&xFileInfoGetSortOrder, libs, "g_file_info_get_sort_order") | |||
| 1592 | + | core.PuregoSafeRegister(&xFileInfoGetSymbolicIcon, libs, "g_file_info_get_symbolic_icon") | |||
| 1593 | + | core.PuregoSafeRegister(&xFileInfoGetSymlinkTarget, libs, "g_file_info_get_symlink_target") | |||
| 1594 | + | core.PuregoSafeRegister(&xFileInfoHasAttribute, libs, "g_file_info_has_attribute") | |||
| 1595 | + | core.PuregoSafeRegister(&xFileInfoHasNamespace, libs, "g_file_info_has_namespace") | |||
| 1596 | + | core.PuregoSafeRegister(&xFileInfoListAttributes, libs, "g_file_info_list_attributes") | |||
| 1597 | + | core.PuregoSafeRegister(&xFileInfoRemoveAttribute, libs, "g_file_info_remove_attribute") | |||
| 1598 | + | core.PuregoSafeRegister(&xFileInfoSetAccessDateTime, libs, "g_file_info_set_access_date_time") | |||
| 1599 | + | core.PuregoSafeRegister(&xFileInfoSetAttribute, libs, "g_file_info_set_attribute") | |||
| 1600 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeBoolean, libs, "g_file_info_set_attribute_boolean") | |||
| 1601 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeByteString, libs, "g_file_info_set_attribute_byte_string") | |||
| 1602 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeFilePath, libs, "g_file_info_set_attribute_file_path") | |||
| 1603 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeInt32, libs, "g_file_info_set_attribute_int32") | |||
| 1604 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeInt64, libs, "g_file_info_set_attribute_int64") | |||
| 1605 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeMask, libs, "g_file_info_set_attribute_mask") | |||
| 1606 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeObject, libs, "g_file_info_set_attribute_object") | |||
| 1607 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeStatus, libs, "g_file_info_set_attribute_status") | |||
| 1608 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeString, libs, "g_file_info_set_attribute_string") | |||
| 1609 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeStringv, libs, "g_file_info_set_attribute_stringv") | |||
| 1610 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeUint32, libs, "g_file_info_set_attribute_uint32") | |||
| 1611 | + | core.PuregoSafeRegister(&xFileInfoSetAttributeUint64, libs, "g_file_info_set_attribute_uint64") | |||
| 1612 | + | core.PuregoSafeRegister(&xFileInfoSetContentType, libs, "g_file_info_set_content_type") | |||
| 1613 | + | core.PuregoSafeRegister(&xFileInfoSetCreationDateTime, libs, "g_file_info_set_creation_date_time") | |||
| 1614 | + | core.PuregoSafeRegister(&xFileInfoSetDisplayName, libs, "g_file_info_set_display_name") | |||
| 1615 | + | core.PuregoSafeRegister(&xFileInfoSetEditName, libs, "g_file_info_set_edit_name") | |||
| 1616 | + | core.PuregoSafeRegister(&xFileInfoSetFileType, libs, "g_file_info_set_file_type") | |||
| 1617 | + | core.PuregoSafeRegister(&xFileInfoSetIcon, libs, "g_file_info_set_icon") | |||
| 1618 | + | core.PuregoSafeRegister(&xFileInfoSetIsHidden, libs, "g_file_info_set_is_hidden") | |||
| 1619 | + | core.PuregoSafeRegister(&xFileInfoSetIsSymlink, libs, "g_file_info_set_is_symlink") | |||
| 1620 | + | core.PuregoSafeRegister(&xFileInfoSetModificationDateTime, libs, "g_file_info_set_modification_date_time") | |||
| 1621 | + | core.PuregoSafeRegister(&xFileInfoSetModificationTime, libs, "g_file_info_set_modification_time") | |||
| 1622 | + | core.PuregoSafeRegister(&xFileInfoSetName, libs, "g_file_info_set_name") | |||
| 1623 | + | core.PuregoSafeRegister(&xFileInfoSetSize, libs, "g_file_info_set_size") | |||
| 1624 | + | core.PuregoSafeRegister(&xFileInfoSetSortOrder, libs, "g_file_info_set_sort_order") | |||
| 1625 | + | core.PuregoSafeRegister(&xFileInfoSetSymbolicIcon, libs, "g_file_info_set_symbolic_icon") | |||
| 1626 | + | core.PuregoSafeRegister(&xFileInfoSetSymlinkTarget, libs, "g_file_info_set_symlink_target") | |||
| 1627 | + | core.PuregoSafeRegister(&xFileInfoUnsetAttributeMask, libs, "g_file_info_unset_attribute_mask") | |||
| 1682 | } | 1628 | } | ||