Beispiel #1
0
// Layout finalizer
func layoutFinalizer(l *Layout) {
	runtime.SetFinalizer(l, func(l *Layout) { gobject.Unref(l) })
}
Beispiel #2
0
// FontFamily finalizer
func fontFamilyFinalizer(f *FontFamily) {
	runtime.SetFinalizer(f, func(f *FontFamily) { gobject.Unref(f) })
}
Beispiel #3
0
// Fontset finalizer
func fontsetFinalizer(f *Fontset) {
	runtime.SetFinalizer(f, func(f *Fontset) { gobject.Unref(f) })
}
Beispiel #4
0
// PangoContext finalizer
func contextFinalizer(c *Context) {
	runtime.SetFinalizer(c, func(c *Context) { gobject.Unref(c) })
}
Beispiel #5
0
// Clear Window struct when it goes out of reach
func windowFinalizer(w *Window) {
	runtime.SetFinalizer(w, func(w *Window) { gobject.Unref(w) })
}
Beispiel #6
0
// Clear Screen struct when it goes out of reach
func screenFinalizer(s *Screen) {
	runtime.SetFinalizer(s, func(s *Screen) { gobject.Unref(s) })
}
Beispiel #7
0
// Clear Device struct when it goes out of reach
func deviceFinalizer(d *Device) {
	runtime.SetFinalizer(d, func(d *Device) { gobject.Unref(d) })
}
Beispiel #8
0
// Clear Display struct when it goes out of reach
func displayFinalizer(d *Display) {
	runtime.SetFinalizer(d, func(d *Display) { gobject.Unref(d) })
}