Skip to content

Commit

Permalink
window: Make variable names more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
swick committed Dec 14, 2024
1 parent 6b68ba5 commit 381e3f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aardvark-app/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ mod imp {
let buffer = AardvarkTextBuffer::new();
self.text_view.set_buffer(Some(&buffer));

let w = self.obj().clone().upcast::<gtk::Widget>();
let d = self.open_document_dialog.clone();
let window = self.obj().clone();
let dialog = self.open_document_dialog.clone();
self.open_document_button.connect_clicked(move |_| {
d.present(Some(&w));
dialog.present(Some(&window));
});
}
}
Expand Down

0 comments on commit 381e3f6

Please sign in to comment.