1
0
Fork 0

rename build() to open()

This commit is contained in:
Billy Messenger 2020-09-03 10:22:25 -05:00
parent 2934a4c1fb
commit a5829cee88

View file

@ -17,7 +17,7 @@ pub struct Window {
} }
impl Window { impl Window {
pub fn build(options: WindowOpenOptions, message_tx: mpsc::Sender<Message>) -> Self { pub fn open(options: WindowOpenOptions, message_tx: mpsc::Sender<Message>) -> Self {
// Convert the parent to a X11 window ID if we're given one // Convert the parent to a X11 window ID if we're given one
let parent = match options.parent { let parent = match options.parent {
Parent::None => None, Parent::None => None,