commit
d50a2b810d
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ namespace {
|
||||||
|
|
||||||
struct PrintSettings {
|
struct PrintSettings {
|
||||||
bool silent;
|
bool silent;
|
||||||
bool print_backgournd;
|
bool print_background;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -34,7 +34,7 @@ struct Converter<PrintSettings> {
|
||||||
if (!ConvertFromV8(isolate, val, &dict))
|
if (!ConvertFromV8(isolate, val, &dict))
|
||||||
return false;
|
return false;
|
||||||
dict.Get("silent", &(out->silent));
|
dict.Get("silent", &(out->silent));
|
||||||
dict.Get("printBackground", &(out->print_backgournd));
|
dict.Get("printBackground", &(out->print_background));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -395,7 +395,7 @@ void Window::Print(mate::Arguments* args) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
window_->Print(settings.silent, settings.print_backgournd);
|
window_->Print(settings.silent, settings.print_background);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::SetProgressBar(double progress) {
|
void Window::SetProgressBar(double progress) {
|
||||||
|
|
Loading…
Reference in a new issue