func NewParamSpecFromCPointer(p unsafe.Pointer) *ParamSpec { ret := &ParamSpec{ NewTraitParamSpec(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *ParamSpec) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewObjectFromCPointer(p unsafe.Pointer) *Object { ret := &Object{ NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *Object) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewAppLaunchContextFromCPointer(p unsafe.Pointer) *AppLaunchContext { ret := &AppLaunchContext{ NewTraitAppLaunchContext(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *AppLaunchContext) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewInitiallyUnownedFromCPointer(p unsafe.Pointer) *InitiallyUnowned { ret := &InitiallyUnowned{ NewTraitInitiallyUnowned(p), NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *InitiallyUnowned) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewInputStreamFromCPointer(p unsafe.Pointer) *InputStream { ret := &InputStream{ NewTraitInputStream(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *InputStream) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewFilenameCompleterFromCPointer(p unsafe.Pointer) *FilenameCompleter { ret := &FilenameCompleter{ NewTraitFilenameCompleter(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *FilenameCompleter) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewDesktopAppInfoFromCPointer(p unsafe.Pointer) *DesktopAppInfo { ret := &DesktopAppInfo{ NewTraitDesktopAppInfo(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *DesktopAppInfo) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewDBusMethodInvocationFromCPointer(p unsafe.Pointer) *DBusMethodInvocation { ret := &DBusMethodInvocation{ NewTraitDBusMethodInvocation(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *DBusMethodInvocation) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewCredentialsFromCPointer(p unsafe.Pointer) *Credentials { ret := &Credentials{ NewTraitCredentials(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *Credentials) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewVfsFromCPointer(p unsafe.Pointer) *Vfs { ret := &Vfs{ NewTraitVfs(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *Vfs) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewSimpleActionGroupFromCPointer(p unsafe.Pointer) *SimpleActionGroup { ret := &SimpleActionGroup{ NewTraitSimpleActionGroup(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *SimpleActionGroup) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewPropertyActionFromCPointer(p unsafe.Pointer) *PropertyAction { ret := &PropertyAction{ NewTraitPropertyAction(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *PropertyAction) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewNetworkServiceFromCPointer(p unsafe.Pointer) *NetworkService { ret := &NetworkService{ NewTraitNetworkService(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *NetworkService) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewMenuModelFromCPointer(p unsafe.Pointer) *MenuModel { ret := &MenuModel{ NewTraitMenuModel(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *MenuModel) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewTypeModuleFromCPointer(p unsafe.Pointer) *TypeModule { ret := &TypeModule{ NewTraitTypeModule(p), NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *TypeModule) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewUnixFDListFromCPointer(p unsafe.Pointer) *UnixFDList { ret := &UnixFDList{ NewTraitUnixFDList(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *UnixFDList) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewCharsetConverterFromCPointer(p unsafe.Pointer) *CharsetConverter { ret := &CharsetConverter{ NewTraitCharsetConverter(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *CharsetConverter) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewSimpleProxyResolverFromCPointer(p unsafe.Pointer) *SimpleProxyResolver { ret := &SimpleProxyResolver{ NewTraitSimpleProxyResolver(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *SimpleProxyResolver) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewZlibDecompressorFromCPointer(p unsafe.Pointer) *ZlibDecompressor { ret := &ZlibDecompressor{ NewTraitZlibDecompressor(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *ZlibDecompressor) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewSocketAddressEnumeratorFromCPointer(p unsafe.Pointer) *SocketAddressEnumerator { ret := &SocketAddressEnumerator{ NewTraitSocketAddressEnumerator(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *SocketAddressEnumerator) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewAppInfoMonitorFromCPointer(p unsafe.Pointer) *AppInfoMonitor { ret := &AppInfoMonitor{ NewTraitAppInfoMonitor(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *AppInfoMonitor) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewSocketControlMessageFromCPointer(p unsafe.Pointer) *SocketControlMessage { ret := &SocketControlMessage{ NewTraitSocketControlMessage(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *SocketControlMessage) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewDBusServerFromCPointer(p unsafe.Pointer) *DBusServer { ret := &DBusServer{ NewTraitDBusServer(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *DBusServer) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewSubprocessLauncherFromCPointer(p unsafe.Pointer) *SubprocessLauncher { ret := &SubprocessLauncher{ NewTraitSubprocessLauncher(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *SubprocessLauncher) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewEmblemedIconFromCPointer(p unsafe.Pointer) *EmblemedIcon { ret := &EmblemedIcon{ NewTraitEmblemedIcon(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *EmblemedIcon) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewTlsCertificateFromCPointer(p unsafe.Pointer) *TlsCertificate { ret := &TlsCertificate{ NewTraitTlsCertificate(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *TlsCertificate) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewInetAddressMaskFromCPointer(p unsafe.Pointer) *InetAddressMask { ret := &InetAddressMask{ NewTraitInetAddressMask(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *InetAddressMask) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewCancellableFromCPointer(p unsafe.Pointer) *Cancellable { ret := &Cancellable{ NewTraitCancellable(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *Cancellable) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewApplicationCommandLineFromCPointer(p unsafe.Pointer) *ApplicationCommandLine { ret := &ApplicationCommandLine{ NewTraitApplicationCommandLine(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *ApplicationCommandLine) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }
func NewTlsPasswordFromCPointer(p unsafe.Pointer) *TlsPassword { ret := &TlsPassword{ NewTraitTlsPassword(p), gobject.NewTraitObject(p), p, } C.g_object_ref_sink(C.gpointer(p)) runtime.SetFinalizer(ret, func(p *TlsPassword) { C.g_object_unref(C.gpointer(unsafe.Pointer(p.CPointer))) }) return ret }