Beispiel #1
0
// native returns a pointer to the underlying GNotification.
func (v *Notification) native() *C.GNotification {
	if v == nil || v.GObject == nil {
		return nil
	}
	p := unsafe.Pointer(v.GObject)
	return C.toGNotification(p)
}
Beispiel #2
0
func (v *Notification) toNotification() *C.GNotification {
	if v == nil {
		return nil
	}
	return C.toGNotification(unsafe.Pointer(v.GObject))
}