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
| @@ -399,7 +399,7 @@ func (x *ApplicationClass) OverrideDbusRegister(cb func(*Application, *DBusConne | |||
| 399 | 399 | if cb == nil { | |
| 400 | 400 | x.xDbusRegister = 0 | |
| 401 | 401 | } else { | |
| 402 | - | x.xDbusRegister = purego.NewCallback(func(ApplicationVarp uintptr, ConnectionVarp uintptr, ObjectPathVarp string, cerrp **glib.Error) bool { | |
| 402 | + | x.xDbusRegister = purego.NewCallback(func(ApplicationVarp uintptr, ConnectionVarp uintptr, ObjectPathVarp string) bool { | |
| 403 | 403 | return cb(ApplicationNewFromInternalPtr(ApplicationVarp), DBusConnectionNewFromInternalPtr(ConnectionVarp), ObjectPathVarp) | |
| 404 | 404 | }) | |
| 405 | 405 | } | |
| @@ -418,11 +418,10 @@ func (x *ApplicationClass) GetDbusRegister() func(*Application, *DBusConnection, | |||
| 418 | 418 | if x.xDbusRegister == 0 { | |
| 419 | 419 | return nil | |
| 420 | 420 | } | |
| 421 | - | var rawCallback func(ApplicationVarp uintptr, ConnectionVarp uintptr, ObjectPathVarp string, cerrp **glib.Error) bool | |
| 421 | + | var rawCallback func(ApplicationVarp uintptr, ConnectionVarp uintptr, ObjectPathVarp string) bool | |
| 422 | 422 | purego.RegisterFunc(&rawCallback, x.xDbusRegister) | |
| 423 | 423 | return func(ApplicationVar *Application, ConnectionVar *DBusConnection, ObjectPathVar string) bool { | |
| 424 | - | var cerr *glib.Error | |
| 425 | - | return rawCallback(ApplicationVar.GoPointer(), ConnectionVar.GoPointer(), ObjectPathVar, &cerr) | |
| 424 | + | return rawCallback(ApplicationVar.GoPointer(), ConnectionVar.GoPointer(), ObjectPathVar) | |
| 426 | 425 | } | |
| 427 | 426 | } | |
| 428 | 427 | ||
| @@ -657,7 +656,6 @@ type Application struct { | |||
| 657 | 656 | var xApplicationGLibType func() types.GType | |
| 658 | 657 | ||
| 659 | 658 | func ApplicationGLibType() types.GType { | |
| 660 | - | core.LazyRegister(&xApplicationGLibType, "GIO", "g_application_get_type", false) | |
| 661 | 659 | return xApplicationGLibType() | |
| 662 | 660 | } | |
| 663 | 661 | ||
| @@ -677,7 +675,6 @@ var xNewApplication func(uintptr, ApplicationFlags) uintptr | |||
| 677 | 675 | // If no application ID is given then some features of #GApplication | |
| 678 | 676 | // (most notably application uniqueness) will be disabled. | |
| 679 | 677 | func NewApplication(ApplicationIdVar *string, FlagsVar ApplicationFlags) *Application { | |
| 680 | - | core.LazyRegister(&xNewApplication, "GIO", "g_application_new", false) | |
| 681 | 678 | var cls *Application | |
| 682 | 679 | ||
| 683 | 680 | ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar) | |
| @@ -702,8 +699,6 @@ var xApplicationActivate func(uintptr) | |||
| 702 | 699 | // | |
| 703 | 700 | // The application must be registered before calling this function. | |
| 704 | 701 | func (x *Application) Activate() { | |
| 705 | - | core.LazyRegister(&xApplicationActivate, "GIO", "g_application_activate", false) | |
| 706 | - | ||
| 707 | 702 | xApplicationActivate(x.GoPointer()) | |
| 708 | 703 | } | |
| 709 | 704 | ||
| @@ -723,8 +718,6 @@ var xApplicationAddMainOption func(uintptr, string, byte, glib.OptionFlags, glib | |||
| 723 | 718 | // | |
| 724 | 719 | // See #GOptionEntry for more documentation of the arguments. | |
| 725 | 720 | func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar *string) { | |
| 726 | - | core.LazyRegister(&xApplicationAddMainOption, "GIO", "g_application_add_main_option", false) | |
| 727 | - | ||
| 728 | 721 | ArgDescriptionVarPtr := core.GStrdupNullable(ArgDescriptionVar) | |
| 729 | 722 | defer core.GFreeNullable(ArgDescriptionVarPtr) | |
| 730 | 723 | ||
| @@ -790,8 +783,6 @@ var xApplicationAddMainOptionEntries func(uintptr, []glib.OptionEntry) | |||
| 790 | 783 | // - for %G_OPTION_ARG_STRING_ARRAY, use `^a&s` | |
| 791 | 784 | // - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay` | |
| 792 | 785 | func (x *Application) AddMainOptionEntries(EntriesVar []glib.OptionEntry) { | |
| 793 | - | core.LazyRegister(&xApplicationAddMainOptionEntries, "GIO", "g_application_add_main_option_entries", false) | |
| 794 | - | ||
| 795 | 786 | xApplicationAddMainOptionEntries(x.GoPointer(), EntriesVar) | |
| 796 | 787 | } | |
| 797 | 788 | ||
| @@ -823,8 +814,6 @@ var xApplicationAddOptionGroup func(uintptr, *glib.OptionGroup) | |||
| 823 | 814 | // new functionality whereby unrecognized options are rejected even if | |
| 824 | 815 | // %G_APPLICATION_HANDLES_COMMAND_LINE was given. | |
| 825 | 816 | func (x *Application) AddOptionGroup(GroupVar *glib.OptionGroup) { | |
| 826 | - | core.LazyRegister(&xApplicationAddOptionGroup, "GIO", "g_application_add_option_group", false) | |
| 827 | - | ||
| 828 | 817 | xApplicationAddOptionGroup(x.GoPointer(), GroupVar) | |
| 829 | 818 | } | |
| 830 | 819 | ||
| @@ -837,8 +826,6 @@ var xApplicationBindBusyProperty func(uintptr, uintptr, string) | |||
| 837 | 826 | // not to @object. Instead, the binding is destroyed when @object is | |
| 838 | 827 | // finalized. | |
| 839 | 828 | func (x *Application) BindBusyProperty(ObjectVar *gobject.Object, PropertyVar string) { | |
| 840 | - | core.LazyRegister(&xApplicationBindBusyProperty, "GIO", "g_application_bind_busy_property", false) | |
| 841 | - | ||
| 842 | 829 | xApplicationBindBusyProperty(x.GoPointer(), ObjectVar.GoPointer(), PropertyVar) | |
| 843 | 830 | } | |
| 844 | 831 | ||
| @@ -846,8 +833,6 @@ var xApplicationGetApplicationId func(uintptr) string | |||
| 846 | 833 | ||
| 847 | 834 | // Gets the unique identifier for @application. | |
| 848 | 835 | func (x *Application) GetApplicationId() string { | |
| 849 | - | core.LazyRegister(&xApplicationGetApplicationId, "GIO", "g_application_get_application_id", false) | |
| 850 | - | ||
| 851 | 836 | cret := xApplicationGetApplicationId(x.GoPointer()) | |
| 852 | 837 | return cret | |
| 853 | 838 | } | |
| @@ -868,7 +853,6 @@ var xApplicationGetDbusConnection func(uintptr) uintptr | |||
| 868 | 853 | // This function must not be called before the application has been | |
| 869 | 854 | // registered. See g_application_get_is_registered(). | |
| 870 | 855 | func (x *Application) GetDbusConnection() *DBusConnection { | |
| 871 | - | core.LazyRegister(&xApplicationGetDbusConnection, "GIO", "g_application_get_dbus_connection", false) | |
| 872 | 856 | var cls *DBusConnection | |
| 873 | 857 | ||
| 874 | 858 | cret := xApplicationGetDbusConnection(x.GoPointer()) | |
| @@ -899,8 +883,6 @@ var xApplicationGetDbusObjectPath func(uintptr) string | |||
| 899 | 883 | // This function must not be called before the application has been | |
| 900 | 884 | // registered. See g_application_get_is_registered(). | |
| 901 | 885 | func (x *Application) GetDbusObjectPath() string { | |
| 902 | - | core.LazyRegister(&xApplicationGetDbusObjectPath, "GIO", "g_application_get_dbus_object_path", false) | |
| 903 | - | ||
| 904 | 886 | cret := xApplicationGetDbusObjectPath(x.GoPointer()) | |
| 905 | 887 | return cret | |
| 906 | 888 | } | |
| @@ -911,8 +893,6 @@ var xApplicationGetFlags func(uintptr) ApplicationFlags | |||
| 911 | 893 | // | |
| 912 | 894 | // See #GApplicationFlags. | |
| 913 | 895 | func (x *Application) GetFlags() ApplicationFlags { | |
| 914 | - | core.LazyRegister(&xApplicationGetFlags, "GIO", "g_application_get_flags", false) | |
| 915 | - | ||
| 916 | 896 | cret := xApplicationGetFlags(x.GoPointer()) | |
| 917 | 897 | return cret | |
| 918 | 898 | } | |
| @@ -924,8 +904,6 @@ var xApplicationGetInactivityTimeout func(uintptr) uint | |||
| 924 | 904 | // This is the amount of time (in milliseconds) after the last call to | |
| 925 | 905 | // g_application_release() before the application stops running. | |
| 926 | 906 | func (x *Application) GetInactivityTimeout() uint { | |
| 927 | - | core.LazyRegister(&xApplicationGetInactivityTimeout, "GIO", "g_application_get_inactivity_timeout", false) | |
| 928 | - | ||
| 929 | 907 | cret := xApplicationGetInactivityTimeout(x.GoPointer()) | |
| 930 | 908 | return cret | |
| 931 | 909 | } | |
| @@ -935,8 +913,6 @@ var xApplicationGetIsBusy func(uintptr) bool | |||
| 935 | 913 | // Gets the application's current busy state, as set through | |
| 936 | 914 | // g_application_mark_busy() or g_application_bind_busy_property(). | |
| 937 | 915 | func (x *Application) GetIsBusy() bool { | |
| 938 | - | core.LazyRegister(&xApplicationGetIsBusy, "GIO", "g_application_get_is_busy", false) | |
| 939 | - | ||
| 940 | 916 | cret := xApplicationGetIsBusy(x.GoPointer()) | |
| 941 | 917 | return cret | |
| 942 | 918 | } | |
| @@ -948,8 +924,6 @@ var xApplicationGetIsRegistered func(uintptr) bool | |||
| 948 | 924 | // An application is registered if g_application_register() has been | |
| 949 | 925 | // successfully called. | |
| 950 | 926 | func (x *Application) GetIsRegistered() bool { | |
| 951 | - | core.LazyRegister(&xApplicationGetIsRegistered, "GIO", "g_application_get_is_registered", false) | |
| 952 | - | ||
| 953 | 927 | cret := xApplicationGetIsRegistered(x.GoPointer()) | |
| 954 | 928 | return cret | |
| 955 | 929 | } | |
| @@ -967,8 +941,6 @@ var xApplicationGetIsRemote func(uintptr) bool | |||
| 967 | 941 | // g_application_register() has been called. See | |
| 968 | 942 | // g_application_get_is_registered(). | |
| 969 | 943 | func (x *Application) GetIsRemote() bool { | |
| 970 | - | core.LazyRegister(&xApplicationGetIsRemote, "GIO", "g_application_get_is_remote", false) | |
| 971 | - | ||
| 972 | 944 | cret := xApplicationGetIsRemote(x.GoPointer()) | |
| 973 | 945 | return cret | |
| 974 | 946 | } | |
| @@ -979,8 +951,6 @@ var xApplicationGetResourceBasePath func(uintptr) string | |||
| 979 | 951 | // | |
| 980 | 952 | // See g_application_set_resource_base_path() for more information. | |
| 981 | 953 | func (x *Application) GetResourceBasePath() string { | |
| 982 | - | core.LazyRegister(&xApplicationGetResourceBasePath, "GIO", "g_application_get_resource_base_path", false) | |
| 983 | - | ||
| 984 | 954 | cret := xApplicationGetResourceBasePath(x.GoPointer()) | |
| 985 | 955 | return cret | |
| 986 | 956 | } | |
| @@ -989,8 +959,6 @@ var xApplicationGetVersion func(uintptr) string | |||
| 989 | 959 | ||
| 990 | 960 | // Gets the version of @application. | |
| 991 | 961 | func (x *Application) GetVersion() string { | |
| 992 | - | core.LazyRegister(&xApplicationGetVersion, "GIO", "g_application_get_version", false) | |
| 993 | - | ||
| 994 | 962 | cret := xApplicationGetVersion(x.GoPointer()) | |
| 995 | 963 | return cret | |
| 996 | 964 | } | |
| @@ -1005,8 +973,6 @@ var xApplicationHold func(uintptr) | |||
| 1005 | 973 | // | |
| 1006 | 974 | // To cancel the hold, call g_application_release(). | |
| 1007 | 975 | func (x *Application) Hold() { | |
| 1008 | - | core.LazyRegister(&xApplicationHold, "GIO", "g_application_hold", false) | |
| 1009 | - | ||
| 1010 | 976 | xApplicationHold(x.GoPointer()) | |
| 1011 | 977 | } | |
| 1012 | 978 | ||
| @@ -1025,8 +991,6 @@ var xApplicationMarkBusy func(uintptr) | |||
| 1025 | 991 | // | |
| 1026 | 992 | // The application must be registered before calling this function. | |
| 1027 | 993 | func (x *Application) MarkBusy() { | |
| 1028 | - | core.LazyRegister(&xApplicationMarkBusy, "GIO", "g_application_mark_busy", false) | |
| 1029 | - | ||
| 1030 | 994 | xApplicationMarkBusy(x.GoPointer()) | |
| 1031 | 995 | } | |
| 1032 | 996 | ||
| @@ -1047,8 +1011,6 @@ var xApplicationOpen func(uintptr, uintptr, int, string) | |||
| 1047 | 1011 | // The application must be registered before calling this function | |
| 1048 | 1012 | // and it must have the %G_APPLICATION_HANDLES_OPEN flag set. | |
| 1049 | 1013 | func (x *Application) Open(FilesVar uintptr, NFilesVar int, HintVar string) { | |
| 1050 | - | core.LazyRegister(&xApplicationOpen, "GIO", "g_application_open", false) | |
| 1051 | - | ||
| 1052 | 1014 | xApplicationOpen(x.GoPointer(), FilesVar, NFilesVar, HintVar) | |
| 1053 | 1015 | } | |
| 1054 | 1016 | ||
| @@ -1068,8 +1030,6 @@ var xApplicationQuit func(uintptr) | |||
| 1068 | 1030 | // The result of calling g_application_run() again after it returns is | |
| 1069 | 1031 | // unspecified. | |
| 1070 | 1032 | func (x *Application) Quit() { | |
| 1071 | - | core.LazyRegister(&xApplicationQuit, "GIO", "g_application_quit", false) | |
| 1072 | - | ||
| 1073 | 1033 | xApplicationQuit(x.GoPointer()) | |
| 1074 | 1034 | } | |
| 1075 | 1035 | ||
| @@ -1106,7 +1066,6 @@ var xApplicationRegister func(uintptr, uintptr, **glib.Error) bool | |||
| 1106 | 1066 | // instance is or is not the primary instance of the application. See | |
| 1107 | 1067 | // g_application_get_is_remote() for that. | |
| 1108 | 1068 | func (x *Application) Register(CancellableVar *Cancellable) (bool, error) { | |
| 1109 | - | core.LazyRegister(&xApplicationRegister, "GIO", "g_application_register", false) | |
| 1110 | 1069 | var cerr *glib.Error | |
| 1111 | 1070 | ||
| 1112 | 1071 | cret := xApplicationRegister(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| @@ -1125,8 +1084,6 @@ var xApplicationRelease func(uintptr) | |||
| 1125 | 1084 | // Never call this function except to cancel the effect of a previous | |
| 1126 | 1085 | // call to g_application_hold(). | |
| 1127 | 1086 | func (x *Application) Release() { | |
| 1128 | - | core.LazyRegister(&xApplicationRelease, "GIO", "g_application_release", false) | |
| 1129 | - | ||
| 1130 | 1087 | xApplicationRelease(x.GoPointer()) | |
| 1131 | 1088 | } | |
| 1132 | 1089 | ||
| @@ -1208,8 +1165,6 @@ var xApplicationRun func(uintptr, int, []string) int | |||
| 1208 | 1165 | // control over when processes invoked via the commandline will exit and | |
| 1209 | 1166 | // what their exit status will be. | |
| 1210 | 1167 | func (x *Application) Run(ArgcVar int, ArgvVar []string) int { | |
| 1211 | - | core.LazyRegister(&xApplicationRun, "GIO", "g_application_run", false) | |
| 1212 | - | ||
| 1213 | 1168 | cret := xApplicationRun(x.GoPointer(), ArgcVar, ArgvVar) | |
| 1214 | 1169 | return cret | |
| 1215 | 1170 | } | |
| @@ -1246,8 +1201,6 @@ var xApplicationSendNotification func(uintptr, uintptr, uintptr) | |||
| 1246 | 1201 | // It is an error to call this function if @application has no | |
| 1247 | 1202 | // application ID. | |
| 1248 | 1203 | func (x *Application) SendNotification(IdVar *string, NotificationVar *Notification) { | |
| 1249 | - | core.LazyRegister(&xApplicationSendNotification, "GIO", "g_application_send_notification", false) | |
| 1250 | - | ||
| 1251 | 1204 | IdVarPtr := core.GStrdupNullable(IdVar) | |
| 1252 | 1205 | defer core.GFreeNullable(IdVarPtr) | |
| 1253 | 1206 | ||
| @@ -1259,8 +1212,6 @@ var xApplicationSetActionGroup func(uintptr, uintptr) | |||
| 1259 | 1212 | // This used to be how actions were associated with a #GApplication. | |
| 1260 | 1213 | // Now there is #GActionMap for that. | |
| 1261 | 1214 | func (x *Application) SetActionGroup(ActionGroupVar ActionGroup) { | |
| 1262 | - | core.LazyRegister(&xApplicationSetActionGroup, "GIO", "g_application_set_action_group", false) | |
| 1263 | - | ||
| 1264 | 1215 | xApplicationSetActionGroup(x.GoPointer(), ActionGroupVar.GoPointer()) | |
| 1265 | 1216 | } | |
| 1266 | 1217 | ||
| @@ -1274,8 +1225,6 @@ var xApplicationSetApplicationId func(uintptr, uintptr) | |||
| 1274 | 1225 | // If non-%NULL, the application id must be valid. See | |
| 1275 | 1226 | // g_application_id_is_valid(). | |
| 1276 | 1227 | func (x *Application) SetApplicationId(ApplicationIdVar *string) { | |
| 1277 | - | core.LazyRegister(&xApplicationSetApplicationId, "GIO", "g_application_set_application_id", false) | |
| 1278 | - | ||
| 1279 | 1228 | ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar) | |
| 1280 | 1229 | defer core.GFreeNullable(ApplicationIdVarPtr) | |
| 1281 | 1230 | ||
| @@ -1291,8 +1240,6 @@ var xApplicationSetDefault func(uintptr) | |||
| 1291 | 1240 | // @application is destroyed then the default application will revert | |
| 1292 | 1241 | // back to %NULL. | |
| 1293 | 1242 | func (x *Application) SetDefault() { | |
| 1294 | - | core.LazyRegister(&xApplicationSetDefault, "GIO", "g_application_set_default", false) | |
| 1295 | - | ||
| 1296 | 1243 | xApplicationSetDefault(x.GoPointer()) | |
| 1297 | 1244 | } | |
| 1298 | 1245 | ||
| @@ -1305,8 +1252,6 @@ var xApplicationSetFlags func(uintptr, ApplicationFlags) | |||
| 1305 | 1252 | // | |
| 1306 | 1253 | // See #GApplicationFlags. | |
| 1307 | 1254 | func (x *Application) SetFlags(FlagsVar ApplicationFlags) { | |
| 1308 | - | core.LazyRegister(&xApplicationSetFlags, "GIO", "g_application_set_flags", false) | |
| 1309 | - | ||
| 1310 | 1255 | xApplicationSetFlags(x.GoPointer(), FlagsVar) | |
| 1311 | 1256 | } | |
| 1312 | 1257 | ||
| @@ -1321,8 +1266,6 @@ var xApplicationSetInactivityTimeout func(uintptr, uint) | |||
| 1321 | 1266 | // used for next time g_application_release() drops the use count to | |
| 1322 | 1267 | // zero. Any timeouts currently in progress are not impacted. | |
| 1323 | 1268 | func (x *Application) SetInactivityTimeout(InactivityTimeoutVar uint) { | |
| 1324 | - | core.LazyRegister(&xApplicationSetInactivityTimeout, "GIO", "g_application_set_inactivity_timeout", false) | |
| 1325 | - | ||
| 1326 | 1269 | xApplicationSetInactivityTimeout(x.GoPointer(), InactivityTimeoutVar) | |
| 1327 | 1270 | } | |
| 1328 | 1271 | ||
| @@ -1332,8 +1275,6 @@ var xApplicationSetOptionContextDescription func(uintptr, uintptr) | |||
| 1332 | 1275 | // | |
| 1333 | 1276 | // See g_option_context_set_description() for more information. | |
| 1334 | 1277 | func (x *Application) SetOptionContextDescription(DescriptionVar *string) { | |
| 1335 | - | core.LazyRegister(&xApplicationSetOptionContextDescription, "GIO", "g_application_set_option_context_description", false) | |
| 1336 | - | ||
| 1337 | 1278 | DescriptionVarPtr := core.GStrdupNullable(DescriptionVar) | |
| 1338 | 1279 | defer core.GFreeNullable(DescriptionVarPtr) | |
| 1339 | 1280 | ||
| @@ -1349,8 +1290,6 @@ var xApplicationSetOptionContextParameterString func(uintptr, uintptr) | |||
| 1349 | 1290 | // | |
| 1350 | 1291 | // See g_option_context_new() for more information about @parameter_string. | |
| 1351 | 1292 | func (x *Application) SetOptionContextParameterString(ParameterStringVar *string) { | |
| 1352 | - | core.LazyRegister(&xApplicationSetOptionContextParameterString, "GIO", "g_application_set_option_context_parameter_string", false) | |
| 1353 | - | ||
| 1354 | 1293 | ParameterStringVarPtr := core.GStrdupNullable(ParameterStringVar) | |
| 1355 | 1294 | defer core.GFreeNullable(ParameterStringVarPtr) | |
| 1356 | 1295 | ||
| @@ -1363,8 +1302,6 @@ var xApplicationSetOptionContextSummary func(uintptr, uintptr) | |||
| 1363 | 1302 | // | |
| 1364 | 1303 | // See g_option_context_set_summary() for more information. | |
| 1365 | 1304 | func (x *Application) SetOptionContextSummary(SummaryVar *string) { | |
| 1366 | - | core.LazyRegister(&xApplicationSetOptionContextSummary, "GIO", "g_application_set_option_context_summary", false) | |
| 1367 | - | ||
| 1368 | 1305 | SummaryVarPtr := core.GStrdupNullable(SummaryVar) | |
| 1369 | 1306 | defer core.GFreeNullable(SummaryVarPtr) | |
| 1370 | 1307 | ||
| @@ -1407,8 +1344,6 @@ var xApplicationSetResourceBasePath func(uintptr, uintptr) | |||
| 1407 | 1344 | // can call this function in the #GApplicationClass.startup virtual function, | |
| 1408 | 1345 | // before chaining up to the parent implementation. | |
| 1409 | 1346 | func (x *Application) SetResourceBasePath(ResourcePathVar *string) { | |
| 1410 | - | core.LazyRegister(&xApplicationSetResourceBasePath, "GIO", "g_application_set_resource_base_path", false) | |
| 1411 | - | ||
| 1412 | 1347 | ResourcePathVarPtr := core.GStrdupNullable(ResourcePathVar) | |
| 1413 | 1348 | defer core.GFreeNullable(ResourcePathVarPtr) | |
| 1414 | 1349 | ||
| @@ -1423,8 +1358,6 @@ var xApplicationSetVersion func(uintptr, string) | |||
| 1423 | 1358 | // The application version can only be modified if @application has not yet | |
| 1424 | 1359 | // been registered. | |
| 1425 | 1360 | func (x *Application) SetVersion(VersionVar string) { | |
| 1426 | - | core.LazyRegister(&xApplicationSetVersion, "GIO", "g_application_set_version", false) | |
| 1427 | - | ||
| 1428 | 1361 | xApplicationSetVersion(x.GoPointer(), VersionVar) | |
| 1429 | 1362 | } | |
| 1430 | 1363 | ||
| @@ -1434,8 +1367,6 @@ var xApplicationUnbindBusyProperty func(uintptr, uintptr, string) | |||
| 1434 | 1367 | // @application that was previously created with | |
| 1435 | 1368 | // g_application_bind_busy_property(). | |
| 1436 | 1369 | func (x *Application) UnbindBusyProperty(ObjectVar *gobject.Object, PropertyVar string) { | |
| 1437 | - | core.LazyRegister(&xApplicationUnbindBusyProperty, "GIO", "g_application_unbind_busy_property", false) | |
| 1438 | - | ||
| 1439 | 1370 | xApplicationUnbindBusyProperty(x.GoPointer(), ObjectVar.GoPointer(), PropertyVar) | |
| 1440 | 1371 | } | |
| 1441 | 1372 | ||
| @@ -1449,8 +1380,6 @@ var xApplicationUnmarkBusy func(uintptr) | |||
| 1449 | 1380 | // This function must only be called to cancel the effect of a previous | |
| 1450 | 1381 | // call to g_application_mark_busy(). | |
| 1451 | 1382 | func (x *Application) UnmarkBusy() { | |
| 1452 | - | core.LazyRegister(&xApplicationUnmarkBusy, "GIO", "g_application_unmark_busy", false) | |
| 1453 | - | ||
| 1454 | 1383 | xApplicationUnmarkBusy(x.GoPointer()) | |
| 1455 | 1384 | } | |
| 1456 | 1385 | ||
| @@ -1470,8 +1399,6 @@ var xApplicationWithdrawNotification func(uintptr, string) | |||
| 1470 | 1399 | // of the buttons in a notification or triggers its default action, so | |
| 1471 | 1400 | // there is no need to explicitly withdraw the notification in that case. | |
| 1472 | 1401 | func (x *Application) WithdrawNotification(IdVar string) { | |
| 1473 | - | core.LazyRegister(&xApplicationWithdrawNotification, "GIO", "g_application_withdraw_notification", false) | |
| 1474 | - | ||
| 1475 | 1402 | xApplicationWithdrawNotification(x.GoPointer(), IdVar) | |
| 1476 | 1403 | } | |
| 1477 | 1404 | ||
| @@ -2139,7 +2066,6 @@ var xApplicationGetDefault func() uintptr | |||
| 2139 | 2066 | // | |
| 2140 | 2067 | // If there is no default application then %NULL is returned. | |
| 2141 | 2068 | func ApplicationGetDefault() *Application { | |
| 2142 | - | core.LazyRegister(&xApplicationGetDefault, "GIO", "g_application_get_default", false) | |
| 2143 | 2069 | var cls *Application | |
| 2144 | 2070 | ||
| 2145 | 2071 | cret := xApplicationGetDefault() | |
| @@ -2201,8 +2127,6 @@ var xApplicationIdIsValid func(string) bool | |||
| 2201 | 2127 | // For example, if the owner of 7-zip.org used an application identifier for an | |
| 2202 | 2128 | // archiving application, it might be named `org._7_zip.Archiver`. | |
| 2203 | 2129 | func ApplicationIdIsValid(ApplicationIdVar string) bool { | |
| 2204 | - | core.LazyRegister(&xApplicationIdIsValid, "GIO", "g_application_id_is_valid", false) | |
| 2205 | - | ||
| 2206 | 2130 | cret := xApplicationIdIsValid(ApplicationIdVar) | |
| 2207 | 2131 | return cret | |
| 2208 | 2132 | } | |
| @@ -2210,4 +2134,56 @@ func ApplicationIdIsValid(ApplicationIdVar string) bool { | |||
| 2210 | 2134 | func init() { | |
| 2211 | 2135 | core.SetPackageName("GIO", "gio-2.0") | |
| 2212 | 2136 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 2137 | + | var libs []uintptr | |
| 2138 | + | for _, libPath := range core.GetPaths("GIO") { | |
| 2139 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 2140 | + | if err != nil { | |
| 2141 | + | panic(err) | |
| 2142 | + | } | |
| 2143 | + | libs = append(libs, lib) | |
| 2144 | + | } | |
| 2145 | + | ||
| 2146 | + | core.PuregoSafeRegister(&xApplicationGLibType, libs, "g_application_get_type") | |
| 2147 | + | ||
| 2148 | + | core.PuregoSafeRegister(&xNewApplication, libs, "g_application_new") | |
| 2149 | + | ||
| 2150 | + | core.PuregoSafeRegister(&xApplicationActivate, libs, "g_application_activate") | |
| 2151 | + | core.PuregoSafeRegister(&xApplicationAddMainOption, libs, "g_application_add_main_option") | |
| 2152 | + | core.PuregoSafeRegister(&xApplicationAddMainOptionEntries, libs, "g_application_add_main_option_entries") | |
| 2153 | + | core.PuregoSafeRegister(&xApplicationAddOptionGroup, libs, "g_application_add_option_group") | |
| 2154 | + | core.PuregoSafeRegister(&xApplicationBindBusyProperty, libs, "g_application_bind_busy_property") | |
| 2155 | + | core.PuregoSafeRegister(&xApplicationGetApplicationId, libs, "g_application_get_application_id") | |
| 2156 | + | core.PuregoSafeRegister(&xApplicationGetDbusConnection, libs, "g_application_get_dbus_connection") | |
| 2157 | + | core.PuregoSafeRegister(&xApplicationGetDbusObjectPath, libs, "g_application_get_dbus_object_path") | |
| 2158 | + | core.PuregoSafeRegister(&xApplicationGetFlags, libs, "g_application_get_flags") | |
| 2159 | + | core.PuregoSafeRegister(&xApplicationGetInactivityTimeout, libs, "g_application_get_inactivity_timeout") | |
| 2160 | + | core.PuregoSafeRegister(&xApplicationGetIsBusy, libs, "g_application_get_is_busy") | |
| 2161 | + | core.PuregoSafeRegister(&xApplicationGetIsRegistered, libs, "g_application_get_is_registered") | |
| 2162 | + | core.PuregoSafeRegister(&xApplicationGetIsRemote, libs, "g_application_get_is_remote") | |
| 2163 | + | core.PuregoSafeRegister(&xApplicationGetResourceBasePath, libs, "g_application_get_resource_base_path") | |
| 2164 | + | core.PuregoSafeRegister(&xApplicationGetVersion, libs, "g_application_get_version") | |
| 2165 | + | core.PuregoSafeRegister(&xApplicationHold, libs, "g_application_hold") | |
| 2166 | + | core.PuregoSafeRegister(&xApplicationMarkBusy, libs, "g_application_mark_busy") | |
| 2167 | + | core.PuregoSafeRegister(&xApplicationOpen, libs, "g_application_open") | |
| 2168 | + | core.PuregoSafeRegister(&xApplicationQuit, libs, "g_application_quit") | |
| 2169 | + | core.PuregoSafeRegister(&xApplicationRegister, libs, "g_application_register") | |
| 2170 | + | core.PuregoSafeRegister(&xApplicationRelease, libs, "g_application_release") | |
| 2171 | + | core.PuregoSafeRegister(&xApplicationRun, libs, "g_application_run") | |
| 2172 | + | core.PuregoSafeRegister(&xApplicationSendNotification, libs, "g_application_send_notification") | |
| 2173 | + | core.PuregoSafeRegister(&xApplicationSetActionGroup, libs, "g_application_set_action_group") | |
| 2174 | + | core.PuregoSafeRegister(&xApplicationSetApplicationId, libs, "g_application_set_application_id") | |
| 2175 | + | core.PuregoSafeRegister(&xApplicationSetDefault, libs, "g_application_set_default") | |
| 2176 | + | core.PuregoSafeRegister(&xApplicationSetFlags, libs, "g_application_set_flags") | |
| 2177 | + | core.PuregoSafeRegister(&xApplicationSetInactivityTimeout, libs, "g_application_set_inactivity_timeout") | |
| 2178 | + | core.PuregoSafeRegister(&xApplicationSetOptionContextDescription, libs, "g_application_set_option_context_description") | |
| 2179 | + | core.PuregoSafeRegister(&xApplicationSetOptionContextParameterString, libs, "g_application_set_option_context_parameter_string") | |
| 2180 | + | core.PuregoSafeRegister(&xApplicationSetOptionContextSummary, libs, "g_application_set_option_context_summary") | |
| 2181 | + | core.PuregoSafeRegister(&xApplicationSetResourceBasePath, libs, "g_application_set_resource_base_path") | |
| 2182 | + | core.PuregoSafeRegister(&xApplicationSetVersion, libs, "g_application_set_version") | |
| 2183 | + | core.PuregoSafeRegister(&xApplicationUnbindBusyProperty, libs, "g_application_unbind_busy_property") | |
| 2184 | + | core.PuregoSafeRegister(&xApplicationUnmarkBusy, libs, "g_application_unmark_busy") | |
| 2185 | + | core.PuregoSafeRegister(&xApplicationWithdrawNotification, libs, "g_application_withdraw_notification") | |
| 2186 | + | ||
| 2187 | + | core.PuregoSafeRegister(&xApplicationGetDefault, libs, "g_application_get_default") | |
| 2188 | + | core.PuregoSafeRegister(&xApplicationIdIsValid, libs, "g_application_id_is_valid") | |
| 2213 | 2189 | } | |
| @@ -399,7 +399,7 @@ func (x *ApplicationClass) OverrideDbusRegister(cb func(*Application, *DBusConne | |||||
| 399 | if cb == nil { | 399 | if cb == nil { | ||
| 400 | x.xDbusRegister = 0 | 400 | x.xDbusRegister = 0 | ||
| 401 | } else { | 401 | } else { | ||
| 402 | - | x.xDbusRegister = purego.NewCallback(func(ApplicationVarp uintptr, ConnectionVarp uintptr, ObjectPathVarp string, cerrp **glib.Error) bool { | 402 | + | x.xDbusRegister = purego.NewCallback(func(ApplicationVarp uintptr, ConnectionVarp uintptr, ObjectPathVarp string) bool { |
| 403 | return cb(ApplicationNewFromInternalPtr(ApplicationVarp), DBusConnectionNewFromInternalPtr(ConnectionVarp), ObjectPathVarp) | 403 | return cb(ApplicationNewFromInternalPtr(ApplicationVarp), DBusConnectionNewFromInternalPtr(ConnectionVarp), ObjectPathVarp) | ||
| 404 | }) | 404 | }) | ||
| 405 | } | 405 | } | ||
| @@ -418,11 +418,10 @@ func (x *ApplicationClass) GetDbusRegister() func(*Application, *DBusConnection, | |||||
| 418 | if x.xDbusRegister == 0 { | 418 | if x.xDbusRegister == 0 { | ||
| 419 | return nil | 419 | return nil | ||
| 420 | } | 420 | } | ||
| 421 | - | var rawCallback func(ApplicationVarp uintptr, ConnectionVarp uintptr, ObjectPathVarp string, cerrp **glib.Error) bool | 421 | + | var rawCallback func(ApplicationVarp uintptr, ConnectionVarp uintptr, ObjectPathVarp string) bool |
| 422 | purego.RegisterFunc(&rawCallback, x.xDbusRegister) | 422 | purego.RegisterFunc(&rawCallback, x.xDbusRegister) | ||
| 423 | return func(ApplicationVar *Application, ConnectionVar *DBusConnection, ObjectPathVar string) bool { | 423 | return func(ApplicationVar *Application, ConnectionVar *DBusConnection, ObjectPathVar string) bool { | ||
| 424 | - | var cerr *glib.Error | 424 | + | return rawCallback(ApplicationVar.GoPointer(), ConnectionVar.GoPointer(), ObjectPathVar) |
| 425 | - | return rawCallback(ApplicationVar.GoPointer(), ConnectionVar.GoPointer(), ObjectPathVar, &cerr) | |||
| 426 | } | 425 | } | ||
| 427 | } | 426 | } | ||
| 428 | 427 | ||||
| @@ -657,7 +656,6 @@ type Application struct { | |||||
| 657 | var xApplicationGLibType func() types.GType | 656 | var xApplicationGLibType func() types.GType | ||
| 658 | 657 | ||||
| 659 | func ApplicationGLibType() types.GType { | 658 | func ApplicationGLibType() types.GType { | ||
| 660 | - | core.LazyRegister(&xApplicationGLibType, "GIO", "g_application_get_type", false) | |||
| 661 | return xApplicationGLibType() | 659 | return xApplicationGLibType() | ||
| 662 | } | 660 | } | ||
| 663 | 661 | ||||
| @@ -677,7 +675,6 @@ var xNewApplication func(uintptr, ApplicationFlags) uintptr | |||||
| 677 | // If no application ID is given then some features of #GApplication | 675 | // If no application ID is given then some features of #GApplication | ||
| 678 | // (most notably application uniqueness) will be disabled. | 676 | // (most notably application uniqueness) will be disabled. | ||
| 679 | func NewApplication(ApplicationIdVar *string, FlagsVar ApplicationFlags) *Application { | 677 | func NewApplication(ApplicationIdVar *string, FlagsVar ApplicationFlags) *Application { | ||
| 680 | - | core.LazyRegister(&xNewApplication, "GIO", "g_application_new", false) | |||
| 681 | var cls *Application | 678 | var cls *Application | ||
| 682 | 679 | ||||
| 683 | ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar) | 680 | ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar) | ||
| @@ -702,8 +699,6 @@ var xApplicationActivate func(uintptr) | |||||
| 702 | // | 699 | // | ||
| 703 | // The application must be registered before calling this function. | 700 | // The application must be registered before calling this function. | ||
| 704 | func (x *Application) Activate() { | 701 | func (x *Application) Activate() { | ||
| 705 | - | core.LazyRegister(&xApplicationActivate, "GIO", "g_application_activate", false) | |||
| 706 | - | ||||
| 707 | xApplicationActivate(x.GoPointer()) | 702 | xApplicationActivate(x.GoPointer()) | ||
| 708 | } | 703 | } | ||
| 709 | 704 | ||||
| @@ -723,8 +718,6 @@ var xApplicationAddMainOption func(uintptr, string, byte, glib.OptionFlags, glib | |||||
| 723 | // | 718 | // | ||
| 724 | // See #GOptionEntry for more documentation of the arguments. | 719 | // See #GOptionEntry for more documentation of the arguments. | ||
| 725 | func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar *string) { | 720 | func (x *Application) AddMainOption(LongNameVar string, ShortNameVar byte, FlagsVar glib.OptionFlags, ArgVar glib.OptionArg, DescriptionVar string, ArgDescriptionVar *string) { | ||
| 726 | - | core.LazyRegister(&xApplicationAddMainOption, "GIO", "g_application_add_main_option", false) | |||
| 727 | - | ||||
| 728 | ArgDescriptionVarPtr := core.GStrdupNullable(ArgDescriptionVar) | 721 | ArgDescriptionVarPtr := core.GStrdupNullable(ArgDescriptionVar) | ||
| 729 | defer core.GFreeNullable(ArgDescriptionVarPtr) | 722 | defer core.GFreeNullable(ArgDescriptionVarPtr) | ||
| 730 | 723 | ||||
| @@ -790,8 +783,6 @@ var xApplicationAddMainOptionEntries func(uintptr, []glib.OptionEntry) | |||||
| 790 | // - for %G_OPTION_ARG_STRING_ARRAY, use `^a&s` | 783 | // - for %G_OPTION_ARG_STRING_ARRAY, use `^a&s` | ||
| 791 | // - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay` | 784 | // - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay` | ||
| 792 | func (x *Application) AddMainOptionEntries(EntriesVar []glib.OptionEntry) { | 785 | func (x *Application) AddMainOptionEntries(EntriesVar []glib.OptionEntry) { | ||
| 793 | - | core.LazyRegister(&xApplicationAddMainOptionEntries, "GIO", "g_application_add_main_option_entries", false) | |||
| 794 | - | ||||
| 795 | xApplicationAddMainOptionEntries(x.GoPointer(), EntriesVar) | 786 | xApplicationAddMainOptionEntries(x.GoPointer(), EntriesVar) | ||
| 796 | } | 787 | } | ||
| 797 | 788 | ||||
| @@ -823,8 +814,6 @@ var xApplicationAddOptionGroup func(uintptr, *glib.OptionGroup) | |||||
| 823 | // new functionality whereby unrecognized options are rejected even if | 814 | // new functionality whereby unrecognized options are rejected even if | ||
| 824 | // %G_APPLICATION_HANDLES_COMMAND_LINE was given. | 815 | // %G_APPLICATION_HANDLES_COMMAND_LINE was given. | ||
| 825 | func (x *Application) AddOptionGroup(GroupVar *glib.OptionGroup) { | 816 | func (x *Application) AddOptionGroup(GroupVar *glib.OptionGroup) { | ||
| 826 | - | core.LazyRegister(&xApplicationAddOptionGroup, "GIO", "g_application_add_option_group", false) | |||
| 827 | - | ||||
| 828 | xApplicationAddOptionGroup(x.GoPointer(), GroupVar) | 817 | xApplicationAddOptionGroup(x.GoPointer(), GroupVar) | ||
| 829 | } | 818 | } | ||
| 830 | 819 | ||||
| @@ -837,8 +826,6 @@ var xApplicationBindBusyProperty func(uintptr, uintptr, string) | |||||
| 837 | // not to @object. Instead, the binding is destroyed when @object is | 826 | // not to @object. Instead, the binding is destroyed when @object is | ||
| 838 | // finalized. | 827 | // finalized. | ||
| 839 | func (x *Application) BindBusyProperty(ObjectVar *gobject.Object, PropertyVar string) { | 828 | func (x *Application) BindBusyProperty(ObjectVar *gobject.Object, PropertyVar string) { | ||
| 840 | - | core.LazyRegister(&xApplicationBindBusyProperty, "GIO", "g_application_bind_busy_property", false) | |||
| 841 | - | ||||
| 842 | xApplicationBindBusyProperty(x.GoPointer(), ObjectVar.GoPointer(), PropertyVar) | 829 | xApplicationBindBusyProperty(x.GoPointer(), ObjectVar.GoPointer(), PropertyVar) | ||
| 843 | } | 830 | } | ||
| 844 | 831 | ||||
| @@ -846,8 +833,6 @@ var xApplicationGetApplicationId func(uintptr) string | |||||
| 846 | 833 | ||||
| 847 | // Gets the unique identifier for @application. | 834 | // Gets the unique identifier for @application. | ||
| 848 | func (x *Application) GetApplicationId() string { | 835 | func (x *Application) GetApplicationId() string { | ||
| 849 | - | core.LazyRegister(&xApplicationGetApplicationId, "GIO", "g_application_get_application_id", false) | |||
| 850 | - | ||||
| 851 | cret := xApplicationGetApplicationId(x.GoPointer()) | 836 | cret := xApplicationGetApplicationId(x.GoPointer()) | ||
| 852 | return cret | 837 | return cret | ||
| 853 | } | 838 | } | ||
| @@ -868,7 +853,6 @@ var xApplicationGetDbusConnection func(uintptr) uintptr | |||||
| 868 | // This function must not be called before the application has been | 853 | // This function must not be called before the application has been | ||
| 869 | // registered. See g_application_get_is_registered(). | 854 | // registered. See g_application_get_is_registered(). | ||
| 870 | func (x *Application) GetDbusConnection() *DBusConnection { | 855 | func (x *Application) GetDbusConnection() *DBusConnection { | ||
| 871 | - | core.LazyRegister(&xApplicationGetDbusConnection, "GIO", "g_application_get_dbus_connection", false) | |||
| 872 | var cls *DBusConnection | 856 | var cls *DBusConnection | ||
| 873 | 857 | ||||
| 874 | cret := xApplicationGetDbusConnection(x.GoPointer()) | 858 | cret := xApplicationGetDbusConnection(x.GoPointer()) | ||
| @@ -899,8 +883,6 @@ var xApplicationGetDbusObjectPath func(uintptr) string | |||||
| 899 | // This function must not be called before the application has been | 883 | // This function must not be called before the application has been | ||
| 900 | // registered. See g_application_get_is_registered(). | 884 | // registered. See g_application_get_is_registered(). | ||
| 901 | func (x *Application) GetDbusObjectPath() string { | 885 | func (x *Application) GetDbusObjectPath() string { | ||
| 902 | - | core.LazyRegister(&xApplicationGetDbusObjectPath, "GIO", "g_application_get_dbus_object_path", false) | |||
| 903 | - | ||||
| 904 | cret := xApplicationGetDbusObjectPath(x.GoPointer()) | 886 | cret := xApplicationGetDbusObjectPath(x.GoPointer()) | ||
| 905 | return cret | 887 | return cret | ||
| 906 | } | 888 | } | ||
| @@ -911,8 +893,6 @@ var xApplicationGetFlags func(uintptr) ApplicationFlags | |||||
| 911 | // | 893 | // | ||
| 912 | // See #GApplicationFlags. | 894 | // See #GApplicationFlags. | ||
| 913 | func (x *Application) GetFlags() ApplicationFlags { | 895 | func (x *Application) GetFlags() ApplicationFlags { | ||
| 914 | - | core.LazyRegister(&xApplicationGetFlags, "GIO", "g_application_get_flags", false) | |||
| 915 | - | ||||
| 916 | cret := xApplicationGetFlags(x.GoPointer()) | 896 | cret := xApplicationGetFlags(x.GoPointer()) | ||
| 917 | return cret | 897 | return cret | ||
| 918 | } | 898 | } | ||
| @@ -924,8 +904,6 @@ var xApplicationGetInactivityTimeout func(uintptr) uint | |||||
| 924 | // This is the amount of time (in milliseconds) after the last call to | 904 | // This is the amount of time (in milliseconds) after the last call to | ||
| 925 | // g_application_release() before the application stops running. | 905 | // g_application_release() before the application stops running. | ||
| 926 | func (x *Application) GetInactivityTimeout() uint { | 906 | func (x *Application) GetInactivityTimeout() uint { | ||
| 927 | - | core.LazyRegister(&xApplicationGetInactivityTimeout, "GIO", "g_application_get_inactivity_timeout", false) | |||
| 928 | - | ||||
| 929 | cret := xApplicationGetInactivityTimeout(x.GoPointer()) | 907 | cret := xApplicationGetInactivityTimeout(x.GoPointer()) | ||
| 930 | return cret | 908 | return cret | ||
| 931 | } | 909 | } | ||
| @@ -935,8 +913,6 @@ var xApplicationGetIsBusy func(uintptr) bool | |||||
| 935 | // Gets the application's current busy state, as set through | 913 | // Gets the application's current busy state, as set through | ||
| 936 | // g_application_mark_busy() or g_application_bind_busy_property(). | 914 | // g_application_mark_busy() or g_application_bind_busy_property(). | ||
| 937 | func (x *Application) GetIsBusy() bool { | 915 | func (x *Application) GetIsBusy() bool { | ||
| 938 | - | core.LazyRegister(&xApplicationGetIsBusy, "GIO", "g_application_get_is_busy", false) | |||
| 939 | - | ||||
| 940 | cret := xApplicationGetIsBusy(x.GoPointer()) | 916 | cret := xApplicationGetIsBusy(x.GoPointer()) | ||
| 941 | return cret | 917 | return cret | ||
| 942 | } | 918 | } | ||
| @@ -948,8 +924,6 @@ var xApplicationGetIsRegistered func(uintptr) bool | |||||
| 948 | // An application is registered if g_application_register() has been | 924 | // An application is registered if g_application_register() has been | ||
| 949 | // successfully called. | 925 | // successfully called. | ||
| 950 | func (x *Application) GetIsRegistered() bool { | 926 | func (x *Application) GetIsRegistered() bool { | ||
| 951 | - | core.LazyRegister(&xApplicationGetIsRegistered, "GIO", "g_application_get_is_registered", false) | |||
| 952 | - | ||||
| 953 | cret := xApplicationGetIsRegistered(x.GoPointer()) | 927 | cret := xApplicationGetIsRegistered(x.GoPointer()) | ||
| 954 | return cret | 928 | return cret | ||
| 955 | } | 929 | } | ||
| @@ -967,8 +941,6 @@ var xApplicationGetIsRemote func(uintptr) bool | |||||
| 967 | // g_application_register() has been called. See | 941 | // g_application_register() has been called. See | ||
| 968 | // g_application_get_is_registered(). | 942 | // g_application_get_is_registered(). | ||
| 969 | func (x *Application) GetIsRemote() bool { | 943 | func (x *Application) GetIsRemote() bool { | ||
| 970 | - | core.LazyRegister(&xApplicationGetIsRemote, "GIO", "g_application_get_is_remote", false) | |||
| 971 | - | ||||
| 972 | cret := xApplicationGetIsRemote(x.GoPointer()) | 944 | cret := xApplicationGetIsRemote(x.GoPointer()) | ||
| 973 | return cret | 945 | return cret | ||
| 974 | } | 946 | } | ||
| @@ -979,8 +951,6 @@ var xApplicationGetResourceBasePath func(uintptr) string | |||||
| 979 | // | 951 | // | ||
| 980 | // See g_application_set_resource_base_path() for more information. | 952 | // See g_application_set_resource_base_path() for more information. | ||
| 981 | func (x *Application) GetResourceBasePath() string { | 953 | func (x *Application) GetResourceBasePath() string { | ||
| 982 | - | core.LazyRegister(&xApplicationGetResourceBasePath, "GIO", "g_application_get_resource_base_path", false) | |||
| 983 | - | ||||
| 984 | cret := xApplicationGetResourceBasePath(x.GoPointer()) | 954 | cret := xApplicationGetResourceBasePath(x.GoPointer()) | ||
| 985 | return cret | 955 | return cret | ||
| 986 | } | 956 | } | ||
| @@ -989,8 +959,6 @@ var xApplicationGetVersion func(uintptr) string | |||||
| 989 | 959 | ||||
| 990 | // Gets the version of @application. | 960 | // Gets the version of @application. | ||
| 991 | func (x *Application) GetVersion() string { | 961 | func (x *Application) GetVersion() string { | ||
| 992 | - | core.LazyRegister(&xApplicationGetVersion, "GIO", "g_application_get_version", false) | |||
| 993 | - | ||||
| 994 | cret := xApplicationGetVersion(x.GoPointer()) | 962 | cret := xApplicationGetVersion(x.GoPointer()) | ||
| 995 | return cret | 963 | return cret | ||
| 996 | } | 964 | } | ||
| @@ -1005,8 +973,6 @@ var xApplicationHold func(uintptr) | |||||
| 1005 | // | 973 | // | ||
| 1006 | // To cancel the hold, call g_application_release(). | 974 | // To cancel the hold, call g_application_release(). | ||
| 1007 | func (x *Application) Hold() { | 975 | func (x *Application) Hold() { | ||
| 1008 | - | core.LazyRegister(&xApplicationHold, "GIO", "g_application_hold", false) | |||
| 1009 | - | ||||
| 1010 | xApplicationHold(x.GoPointer()) | 976 | xApplicationHold(x.GoPointer()) | ||
| 1011 | } | 977 | } | ||
| 1012 | 978 | ||||
| @@ -1025,8 +991,6 @@ var xApplicationMarkBusy func(uintptr) | |||||
| 1025 | // | 991 | // | ||
| 1026 | // The application must be registered before calling this function. | 992 | // The application must be registered before calling this function. | ||
| 1027 | func (x *Application) MarkBusy() { | 993 | func (x *Application) MarkBusy() { | ||
| 1028 | - | core.LazyRegister(&xApplicationMarkBusy, "GIO", "g_application_mark_busy", false) | |||
| 1029 | - | ||||
| 1030 | xApplicationMarkBusy(x.GoPointer()) | 994 | xApplicationMarkBusy(x.GoPointer()) | ||
| 1031 | } | 995 | } | ||
| 1032 | 996 | ||||
| @@ -1047,8 +1011,6 @@ var xApplicationOpen func(uintptr, uintptr, int, string) | |||||
| 1047 | // The application must be registered before calling this function | 1011 | // The application must be registered before calling this function | ||
| 1048 | // and it must have the %G_APPLICATION_HANDLES_OPEN flag set. | 1012 | // and it must have the %G_APPLICATION_HANDLES_OPEN flag set. | ||
| 1049 | func (x *Application) Open(FilesVar uintptr, NFilesVar int, HintVar string) { | 1013 | func (x *Application) Open(FilesVar uintptr, NFilesVar int, HintVar string) { | ||
| 1050 | - | core.LazyRegister(&xApplicationOpen, "GIO", "g_application_open", false) | |||
| 1051 | - | ||||
| 1052 | xApplicationOpen(x.GoPointer(), FilesVar, NFilesVar, HintVar) | 1014 | xApplicationOpen(x.GoPointer(), FilesVar, NFilesVar, HintVar) | ||
| 1053 | } | 1015 | } | ||
| 1054 | 1016 | ||||
| @@ -1068,8 +1030,6 @@ var xApplicationQuit func(uintptr) | |||||
| 1068 | // The result of calling g_application_run() again after it returns is | 1030 | // The result of calling g_application_run() again after it returns is | ||
| 1069 | // unspecified. | 1031 | // unspecified. | ||
| 1070 | func (x *Application) Quit() { | 1032 | func (x *Application) Quit() { | ||
| 1071 | - | core.LazyRegister(&xApplicationQuit, "GIO", "g_application_quit", false) | |||
| 1072 | - | ||||
| 1073 | xApplicationQuit(x.GoPointer()) | 1033 | xApplicationQuit(x.GoPointer()) | ||
| 1074 | } | 1034 | } | ||
| 1075 | 1035 | ||||
| @@ -1106,7 +1066,6 @@ var xApplicationRegister func(uintptr, uintptr, **glib.Error) bool | |||||
| 1106 | // instance is or is not the primary instance of the application. See | 1066 | // instance is or is not the primary instance of the application. See | ||
| 1107 | // g_application_get_is_remote() for that. | 1067 | // g_application_get_is_remote() for that. | ||
| 1108 | func (x *Application) Register(CancellableVar *Cancellable) (bool, error) { | 1068 | func (x *Application) Register(CancellableVar *Cancellable) (bool, error) { | ||
| 1109 | - | core.LazyRegister(&xApplicationRegister, "GIO", "g_application_register", false) | |||
| 1110 | var cerr *glib.Error | 1069 | var cerr *glib.Error | ||
| 1111 | 1070 | ||||
| 1112 | cret := xApplicationRegister(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | 1071 | cret := xApplicationRegister(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | ||
| @@ -1125,8 +1084,6 @@ var xApplicationRelease func(uintptr) | |||||
| 1125 | // Never call this function except to cancel the effect of a previous | 1084 | // Never call this function except to cancel the effect of a previous | ||
| 1126 | // call to g_application_hold(). | 1085 | // call to g_application_hold(). | ||
| 1127 | func (x *Application) Release() { | 1086 | func (x *Application) Release() { | ||
| 1128 | - | core.LazyRegister(&xApplicationRelease, "GIO", "g_application_release", false) | |||
| 1129 | - | ||||
| 1130 | xApplicationRelease(x.GoPointer()) | 1087 | xApplicationRelease(x.GoPointer()) | ||
| 1131 | } | 1088 | } | ||
| 1132 | 1089 | ||||
| @@ -1208,8 +1165,6 @@ var xApplicationRun func(uintptr, int, []string) int | |||||
| 1208 | // control over when processes invoked via the commandline will exit and | 1165 | // control over when processes invoked via the commandline will exit and | ||
| 1209 | // what their exit status will be. | 1166 | // what their exit status will be. | ||
| 1210 | func (x *Application) Run(ArgcVar int, ArgvVar []string) int { | 1167 | func (x *Application) Run(ArgcVar int, ArgvVar []string) int { | ||
| 1211 | - | core.LazyRegister(&xApplicationRun, "GIO", "g_application_run", false) | |||
| 1212 | - | ||||
| 1213 | cret := xApplicationRun(x.GoPointer(), ArgcVar, ArgvVar) | 1168 | cret := xApplicationRun(x.GoPointer(), ArgcVar, ArgvVar) | ||
| 1214 | return cret | 1169 | return cret | ||
| 1215 | } | 1170 | } | ||
| @@ -1246,8 +1201,6 @@ var xApplicationSendNotification func(uintptr, uintptr, uintptr) | |||||
| 1246 | // It is an error to call this function if @application has no | 1201 | // It is an error to call this function if @application has no | ||
| 1247 | // application ID. | 1202 | // application ID. | ||
| 1248 | func (x *Application) SendNotification(IdVar *string, NotificationVar *Notification) { | 1203 | func (x *Application) SendNotification(IdVar *string, NotificationVar *Notification) { | ||
| 1249 | - | core.LazyRegister(&xApplicationSendNotification, "GIO", "g_application_send_notification", false) | |||
| 1250 | - | ||||
| 1251 | IdVarPtr := core.GStrdupNullable(IdVar) | 1204 | IdVarPtr := core.GStrdupNullable(IdVar) | ||
| 1252 | defer core.GFreeNullable(IdVarPtr) | 1205 | defer core.GFreeNullable(IdVarPtr) | ||
| 1253 | 1206 | ||||
| @@ -1259,8 +1212,6 @@ var xApplicationSetActionGroup func(uintptr, uintptr) | |||||
| 1259 | // This used to be how actions were associated with a #GApplication. | 1212 | // This used to be how actions were associated with a #GApplication. | ||
| 1260 | // Now there is #GActionMap for that. | 1213 | // Now there is #GActionMap for that. | ||
| 1261 | func (x *Application) SetActionGroup(ActionGroupVar ActionGroup) { | 1214 | func (x *Application) SetActionGroup(ActionGroupVar ActionGroup) { | ||
| 1262 | - | core.LazyRegister(&xApplicationSetActionGroup, "GIO", "g_application_set_action_group", false) | |||
| 1263 | - | ||||
| 1264 | xApplicationSetActionGroup(x.GoPointer(), ActionGroupVar.GoPointer()) | 1215 | xApplicationSetActionGroup(x.GoPointer(), ActionGroupVar.GoPointer()) | ||
| 1265 | } | 1216 | } | ||
| 1266 | 1217 | ||||
| @@ -1274,8 +1225,6 @@ var xApplicationSetApplicationId func(uintptr, uintptr) | |||||
| 1274 | // If non-%NULL, the application id must be valid. See | 1225 | // If non-%NULL, the application id must be valid. See | ||
| 1275 | // g_application_id_is_valid(). | 1226 | // g_application_id_is_valid(). | ||
| 1276 | func (x *Application) SetApplicationId(ApplicationIdVar *string) { | 1227 | func (x *Application) SetApplicationId(ApplicationIdVar *string) { | ||
| 1277 | - | core.LazyRegister(&xApplicationSetApplicationId, "GIO", "g_application_set_application_id", false) | |||
| 1278 | - | ||||
| 1279 | ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar) | 1228 | ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar) | ||
| 1280 | defer core.GFreeNullable(ApplicationIdVarPtr) | 1229 | defer core.GFreeNullable(ApplicationIdVarPtr) | ||
| 1281 | 1230 | ||||
| @@ -1291,8 +1240,6 @@ var xApplicationSetDefault func(uintptr) | |||||
| 1291 | // @application is destroyed then the default application will revert | 1240 | // @application is destroyed then the default application will revert | ||
| 1292 | // back to %NULL. | 1241 | // back to %NULL. | ||
| 1293 | func (x *Application) SetDefault() { | 1242 | func (x *Application) SetDefault() { | ||
| 1294 | - | core.LazyRegister(&xApplicationSetDefault, "GIO", "g_application_set_default", false) | |||
| 1295 | - | ||||
| 1296 | xApplicationSetDefault(x.GoPointer()) | 1243 | xApplicationSetDefault(x.GoPointer()) | ||
| 1297 | } | 1244 | } | ||
| 1298 | 1245 | ||||
| @@ -1305,8 +1252,6 @@ var xApplicationSetFlags func(uintptr, ApplicationFlags) | |||||
| 1305 | // | 1252 | // | ||
| 1306 | // See #GApplicationFlags. | 1253 | // See #GApplicationFlags. | ||
| 1307 | func (x *Application) SetFlags(FlagsVar ApplicationFlags) { | 1254 | func (x *Application) SetFlags(FlagsVar ApplicationFlags) { | ||
| 1308 | - | core.LazyRegister(&xApplicationSetFlags, "GIO", "g_application_set_flags", false) | |||
| 1309 | - | ||||
| 1310 | xApplicationSetFlags(x.GoPointer(), FlagsVar) | 1255 | xApplicationSetFlags(x.GoPointer(), FlagsVar) | ||
| 1311 | } | 1256 | } | ||
| 1312 | 1257 | ||||
| @@ -1321,8 +1266,6 @@ var xApplicationSetInactivityTimeout func(uintptr, uint) | |||||
| 1321 | // used for next time g_application_release() drops the use count to | 1266 | // used for next time g_application_release() drops the use count to | ||
| 1322 | // zero. Any timeouts currently in progress are not impacted. | 1267 | // zero. Any timeouts currently in progress are not impacted. | ||
| 1323 | func (x *Application) SetInactivityTimeout(InactivityTimeoutVar uint) { | 1268 | func (x *Application) SetInactivityTimeout(InactivityTimeoutVar uint) { | ||
| 1324 | - | core.LazyRegister(&xApplicationSetInactivityTimeout, "GIO", "g_application_set_inactivity_timeout", false) | |||
| 1325 | - | ||||
| 1326 | xApplicationSetInactivityTimeout(x.GoPointer(), InactivityTimeoutVar) | 1269 | xApplicationSetInactivityTimeout(x.GoPointer(), InactivityTimeoutVar) | ||
| 1327 | } | 1270 | } | ||
| 1328 | 1271 | ||||
| @@ -1332,8 +1275,6 @@ var xApplicationSetOptionContextDescription func(uintptr, uintptr) | |||||
| 1332 | // | 1275 | // | ||
| 1333 | // See g_option_context_set_description() for more information. | 1276 | // See g_option_context_set_description() for more information. | ||
| 1334 | func (x *Application) SetOptionContextDescription(DescriptionVar *string) { | 1277 | func (x *Application) SetOptionContextDescription(DescriptionVar *string) { | ||
| 1335 | - | core.LazyRegister(&xApplicationSetOptionContextDescription, "GIO", "g_application_set_option_context_description", false) | |||
| 1336 | - | ||||
| 1337 | DescriptionVarPtr := core.GStrdupNullable(DescriptionVar) | 1278 | DescriptionVarPtr := core.GStrdupNullable(DescriptionVar) | ||
| 1338 | defer core.GFreeNullable(DescriptionVarPtr) | 1279 | defer core.GFreeNullable(DescriptionVarPtr) | ||
| 1339 | 1280 | ||||
| @@ -1349,8 +1290,6 @@ var xApplicationSetOptionContextParameterString func(uintptr, uintptr) | |||||
| 1349 | // | 1290 | // | ||
| 1350 | // See g_option_context_new() for more information about @parameter_string. | 1291 | // See g_option_context_new() for more information about @parameter_string. | ||
| 1351 | func (x *Application) SetOptionContextParameterString(ParameterStringVar *string) { | 1292 | func (x *Application) SetOptionContextParameterString(ParameterStringVar *string) { | ||
| 1352 | - | core.LazyRegister(&xApplicationSetOptionContextParameterString, "GIO", "g_application_set_option_context_parameter_string", false) | |||
| 1353 | - | ||||
| 1354 | ParameterStringVarPtr := core.GStrdupNullable(ParameterStringVar) | 1293 | ParameterStringVarPtr := core.GStrdupNullable(ParameterStringVar) | ||
| 1355 | defer core.GFreeNullable(ParameterStringVarPtr) | 1294 | defer core.GFreeNullable(ParameterStringVarPtr) | ||
| 1356 | 1295 | ||||
| @@ -1363,8 +1302,6 @@ var xApplicationSetOptionContextSummary func(uintptr, uintptr) | |||||
| 1363 | // | 1302 | // | ||
| 1364 | // See g_option_context_set_summary() for more information. | 1303 | // See g_option_context_set_summary() for more information. | ||
| 1365 | func (x *Application) SetOptionContextSummary(SummaryVar *string) { | 1304 | func (x *Application) SetOptionContextSummary(SummaryVar *string) { | ||
| 1366 | - | core.LazyRegister(&xApplicationSetOptionContextSummary, "GIO", "g_application_set_option_context_summary", false) | |||
| 1367 | - | ||||
| 1368 | SummaryVarPtr := core.GStrdupNullable(SummaryVar) | 1305 | SummaryVarPtr := core.GStrdupNullable(SummaryVar) | ||
| 1369 | defer core.GFreeNullable(SummaryVarPtr) | 1306 | defer core.GFreeNullable(SummaryVarPtr) | ||
| 1370 | 1307 | ||||
| @@ -1407,8 +1344,6 @@ var xApplicationSetResourceBasePath func(uintptr, uintptr) | |||||
| 1407 | // can call this function in the #GApplicationClass.startup virtual function, | 1344 | // can call this function in the #GApplicationClass.startup virtual function, | ||
| 1408 | // before chaining up to the parent implementation. | 1345 | // before chaining up to the parent implementation. | ||
| 1409 | func (x *Application) SetResourceBasePath(ResourcePathVar *string) { | 1346 | func (x *Application) SetResourceBasePath(ResourcePathVar *string) { | ||
| 1410 | - | core.LazyRegister(&xApplicationSetResourceBasePath, "GIO", "g_application_set_resource_base_path", false) | |||
| 1411 | - | ||||
| 1412 | ResourcePathVarPtr := core.GStrdupNullable(ResourcePathVar) | 1347 | ResourcePathVarPtr := core.GStrdupNullable(ResourcePathVar) | ||
| 1413 | defer core.GFreeNullable(ResourcePathVarPtr) | 1348 | defer core.GFreeNullable(ResourcePathVarPtr) | ||
| 1414 | 1349 | ||||
| @@ -1423,8 +1358,6 @@ var xApplicationSetVersion func(uintptr, string) | |||||
| 1423 | // The application version can only be modified if @application has not yet | 1358 | // The application version can only be modified if @application has not yet | ||
| 1424 | // been registered. | 1359 | // been registered. | ||
| 1425 | func (x *Application) SetVersion(VersionVar string) { | 1360 | func (x *Application) SetVersion(VersionVar string) { | ||
| 1426 | - | core.LazyRegister(&xApplicationSetVersion, "GIO", "g_application_set_version", false) | |||
| 1427 | - | ||||
| 1428 | xApplicationSetVersion(x.GoPointer(), VersionVar) | 1361 | xApplicationSetVersion(x.GoPointer(), VersionVar) | ||
| 1429 | } | 1362 | } | ||
| 1430 | 1363 | ||||
| @@ -1434,8 +1367,6 @@ var xApplicationUnbindBusyProperty func(uintptr, uintptr, string) | |||||
| 1434 | // @application that was previously created with | 1367 | // @application that was previously created with | ||
| 1435 | // g_application_bind_busy_property(). | 1368 | // g_application_bind_busy_property(). | ||
| 1436 | func (x *Application) UnbindBusyProperty(ObjectVar *gobject.Object, PropertyVar string) { | 1369 | func (x *Application) UnbindBusyProperty(ObjectVar *gobject.Object, PropertyVar string) { | ||
| 1437 | - | core.LazyRegister(&xApplicationUnbindBusyProperty, "GIO", "g_application_unbind_busy_property", false) | |||
| 1438 | - | ||||
| 1439 | xApplicationUnbindBusyProperty(x.GoPointer(), ObjectVar.GoPointer(), PropertyVar) | 1370 | xApplicationUnbindBusyProperty(x.GoPointer(), ObjectVar.GoPointer(), PropertyVar) | ||
| 1440 | } | 1371 | } | ||
| 1441 | 1372 | ||||
| @@ -1449,8 +1380,6 @@ var xApplicationUnmarkBusy func(uintptr) | |||||
| 1449 | // This function must only be called to cancel the effect of a previous | 1380 | // This function must only be called to cancel the effect of a previous | ||
| 1450 | // call to g_application_mark_busy(). | 1381 | // call to g_application_mark_busy(). | ||
| 1451 | func (x *Application) UnmarkBusy() { | 1382 | func (x *Application) UnmarkBusy() { | ||
| 1452 | - | core.LazyRegister(&xApplicationUnmarkBusy, "GIO", "g_application_unmark_busy", false) | |||
| 1453 | - | ||||
| 1454 | xApplicationUnmarkBusy(x.GoPointer()) | 1383 | xApplicationUnmarkBusy(x.GoPointer()) | ||
| 1455 | } | 1384 | } | ||
| 1456 | 1385 | ||||
| @@ -1470,8 +1399,6 @@ var xApplicationWithdrawNotification func(uintptr, string) | |||||
| 1470 | // of the buttons in a notification or triggers its default action, so | 1399 | // of the buttons in a notification or triggers its default action, so | ||
| 1471 | // there is no need to explicitly withdraw the notification in that case. | 1400 | // there is no need to explicitly withdraw the notification in that case. | ||
| 1472 | func (x *Application) WithdrawNotification(IdVar string) { | 1401 | func (x *Application) WithdrawNotification(IdVar string) { | ||
| 1473 | - | core.LazyRegister(&xApplicationWithdrawNotification, "GIO", "g_application_withdraw_notification", false) | |||
| 1474 | - | ||||
| 1475 | xApplicationWithdrawNotification(x.GoPointer(), IdVar) | 1402 | xApplicationWithdrawNotification(x.GoPointer(), IdVar) | ||
| 1476 | } | 1403 | } | ||
| 1477 | 1404 | ||||
| @@ -2139,7 +2066,6 @@ var xApplicationGetDefault func() uintptr | |||||
| 2139 | // | 2066 | // | ||
| 2140 | // If there is no default application then %NULL is returned. | 2067 | // If there is no default application then %NULL is returned. | ||
| 2141 | func ApplicationGetDefault() *Application { | 2068 | func ApplicationGetDefault() *Application { | ||
| 2142 | - | core.LazyRegister(&xApplicationGetDefault, "GIO", "g_application_get_default", false) | |||
| 2143 | var cls *Application | 2069 | var cls *Application | ||
| 2144 | 2070 | ||||
| 2145 | cret := xApplicationGetDefault() | 2071 | cret := xApplicationGetDefault() | ||
| @@ -2201,8 +2127,6 @@ var xApplicationIdIsValid func(string) bool | |||||
| 2201 | // For example, if the owner of 7-zip.org used an application identifier for an | 2127 | // For example, if the owner of 7-zip.org used an application identifier for an | ||
| 2202 | // archiving application, it might be named `org._7_zip.Archiver`. | 2128 | // archiving application, it might be named `org._7_zip.Archiver`. | ||
| 2203 | func ApplicationIdIsValid(ApplicationIdVar string) bool { | 2129 | func ApplicationIdIsValid(ApplicationIdVar string) bool { | ||
| 2204 | - | core.LazyRegister(&xApplicationIdIsValid, "GIO", "g_application_id_is_valid", false) | |||
| 2205 | - | ||||
| 2206 | cret := xApplicationIdIsValid(ApplicationIdVar) | 2130 | cret := xApplicationIdIsValid(ApplicationIdVar) | ||
| 2207 | return cret | 2131 | return cret | ||
| 2208 | } | 2132 | } | ||
| @@ -2210,4 +2134,56 @@ func ApplicationIdIsValid(ApplicationIdVar string) bool { | |||||
| 2210 | func init() { | 2134 | func init() { | ||
| 2211 | core.SetPackageName("GIO", "gio-2.0") | 2135 | core.SetPackageName("GIO", "gio-2.0") | ||
| 2212 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 2136 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 2137 | + | var libs []uintptr | |||
| 2138 | + | for _, libPath := range core.GetPaths("GIO") { | |||
| 2139 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 2140 | + | if err != nil { | |||
| 2141 | + | panic(err) | |||
| 2142 | + | } | |||
| 2143 | + | libs = append(libs, lib) | |||
| 2144 | + | } | |||
| 2145 | + | ||||
| 2146 | + | core.PuregoSafeRegister(&xApplicationGLibType, libs, "g_application_get_type") | |||
| 2147 | + | ||||
| 2148 | + | core.PuregoSafeRegister(&xNewApplication, libs, "g_application_new") | |||
| 2149 | + | ||||
| 2150 | + | core.PuregoSafeRegister(&xApplicationActivate, libs, "g_application_activate") | |||
| 2151 | + | core.PuregoSafeRegister(&xApplicationAddMainOption, libs, "g_application_add_main_option") | |||
| 2152 | + | core.PuregoSafeRegister(&xApplicationAddMainOptionEntries, libs, "g_application_add_main_option_entries") | |||
| 2153 | + | core.PuregoSafeRegister(&xApplicationAddOptionGroup, libs, "g_application_add_option_group") | |||
| 2154 | + | core.PuregoSafeRegister(&xApplicationBindBusyProperty, libs, "g_application_bind_busy_property") | |||
| 2155 | + | core.PuregoSafeRegister(&xApplicationGetApplicationId, libs, "g_application_get_application_id") | |||
| 2156 | + | core.PuregoSafeRegister(&xApplicationGetDbusConnection, libs, "g_application_get_dbus_connection") | |||
| 2157 | + | core.PuregoSafeRegister(&xApplicationGetDbusObjectPath, libs, "g_application_get_dbus_object_path") | |||
| 2158 | + | core.PuregoSafeRegister(&xApplicationGetFlags, libs, "g_application_get_flags") | |||
| 2159 | + | core.PuregoSafeRegister(&xApplicationGetInactivityTimeout, libs, "g_application_get_inactivity_timeout") | |||
| 2160 | + | core.PuregoSafeRegister(&xApplicationGetIsBusy, libs, "g_application_get_is_busy") | |||
| 2161 | + | core.PuregoSafeRegister(&xApplicationGetIsRegistered, libs, "g_application_get_is_registered") | |||
| 2162 | + | core.PuregoSafeRegister(&xApplicationGetIsRemote, libs, "g_application_get_is_remote") | |||
| 2163 | + | core.PuregoSafeRegister(&xApplicationGetResourceBasePath, libs, "g_application_get_resource_base_path") | |||
| 2164 | + | core.PuregoSafeRegister(&xApplicationGetVersion, libs, "g_application_get_version") | |||
| 2165 | + | core.PuregoSafeRegister(&xApplicationHold, libs, "g_application_hold") | |||
| 2166 | + | core.PuregoSafeRegister(&xApplicationMarkBusy, libs, "g_application_mark_busy") | |||
| 2167 | + | core.PuregoSafeRegister(&xApplicationOpen, libs, "g_application_open") | |||
| 2168 | + | core.PuregoSafeRegister(&xApplicationQuit, libs, "g_application_quit") | |||
| 2169 | + | core.PuregoSafeRegister(&xApplicationRegister, libs, "g_application_register") | |||
| 2170 | + | core.PuregoSafeRegister(&xApplicationRelease, libs, "g_application_release") | |||
| 2171 | + | core.PuregoSafeRegister(&xApplicationRun, libs, "g_application_run") | |||
| 2172 | + | core.PuregoSafeRegister(&xApplicationSendNotification, libs, "g_application_send_notification") | |||
| 2173 | + | core.PuregoSafeRegister(&xApplicationSetActionGroup, libs, "g_application_set_action_group") | |||
| 2174 | + | core.PuregoSafeRegister(&xApplicationSetApplicationId, libs, "g_application_set_application_id") | |||
| 2175 | + | core.PuregoSafeRegister(&xApplicationSetDefault, libs, "g_application_set_default") | |||
| 2176 | + | core.PuregoSafeRegister(&xApplicationSetFlags, libs, "g_application_set_flags") | |||
| 2177 | + | core.PuregoSafeRegister(&xApplicationSetInactivityTimeout, libs, "g_application_set_inactivity_timeout") | |||
| 2178 | + | core.PuregoSafeRegister(&xApplicationSetOptionContextDescription, libs, "g_application_set_option_context_description") | |||
| 2179 | + | core.PuregoSafeRegister(&xApplicationSetOptionContextParameterString, libs, "g_application_set_option_context_parameter_string") | |||
| 2180 | + | core.PuregoSafeRegister(&xApplicationSetOptionContextSummary, libs, "g_application_set_option_context_summary") | |||
| 2181 | + | core.PuregoSafeRegister(&xApplicationSetResourceBasePath, libs, "g_application_set_resource_base_path") | |||
| 2182 | + | core.PuregoSafeRegister(&xApplicationSetVersion, libs, "g_application_set_version") | |||
| 2183 | + | core.PuregoSafeRegister(&xApplicationUnbindBusyProperty, libs, "g_application_unbind_busy_property") | |||
| 2184 | + | core.PuregoSafeRegister(&xApplicationUnmarkBusy, libs, "g_application_unmark_busy") | |||
| 2185 | + | core.PuregoSafeRegister(&xApplicationWithdrawNotification, libs, "g_application_withdraw_notification") | |||
| 2186 | + | ||||
| 2187 | + | core.PuregoSafeRegister(&xApplicationGetDefault, libs, "g_application_get_default") | |||
| 2188 | + | core.PuregoSafeRegister(&xApplicationIdIsValid, libs, "g_application_id_is_valid") | |||
| 2213 | } | 2189 | } | ||