rename build() to open()
This commit is contained in:
parent
2934a4c1fb
commit
a5829cee88
|
@ -17,7 +17,7 @@ pub struct 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
|
||||
let parent = match options.parent {
|
||||
Parent::None => None,
|
||||
|
|
Loading…
Reference in a new issue