func StatusIconNewFromStock(stockId string) (*StatusIcon, error) {
	cstr := C.CString(stockId)
	defer C.free(unsafe.Pointer(cstr))
	c := C.gtk_status_icon_new_from_file((*C.gchar)(cstr))
	if c == nil {
		return nil, nilPtrErr
	}
	obj := glib.Take(unsafe.Pointer(c))
	return wrapStatusIcon(obj), nil
}
func StatusIconNewFromStock(stockId string) (*StatusIcon, error) {
	cstr := C.CString(stockId)
	defer C.free(unsafe.Pointer(cstr))
	c := C.gtk_status_icon_new_from_file((*C.gchar)(cstr))
	if c == nil {
		return nil, nilPtrErr
	}
	obj := glib.Take(unsafe.Pointer(c))
	return wrapStatusIcon(obj), nil
}
func StatusIconNewFromStock ( stockId string ) ( * StatusIcon , error ) { cstr := C . CString ( stockId ) defer C . free ( unsafe . Pointer ( cstr ) ) c := C . gtk_status_icon_new_from_file ( ( * C . gchar ) ( cstr ) ) if c == nil { return nil , nilPtrErr } obj := glib . Take ( unsafe . Pointer ( c ) ) return wrapStatusIcon ( obj ) , nil }
// StatusIconNewFromStock is a wrapper around gtk_status_icon_new_from_stock().
// Deprecated since 3.10, use StatusIconNewFromIconName (gtk_status_icon_new_from_icon_name) instead.
StatusIconNewFromStock is a wrapper around gtk_status_icon_new_from_stock () . Deprecated since 3 . 10 use StatusIconNewFromIconName ( gtk_status_icon_new_from_icon_name ) instead .