From 348dc8365b81d41514d361a84c3b799ee098d0ca Mon Sep 17 00:00:00 2001 From: Anthony Van de Gejuchte Date: Sat, 28 Jun 2014 10:17:37 +0900 Subject: [PATCH] Fix return types --- atom/browser/api/atom_api_window.cc | 2 +- atom/browser/native_window_mac.mm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atom/browser/api/atom_api_window.cc b/atom/browser/api/atom_api_window.cc index 760a94a0ef4d..02961f95f669 100644 --- a/atom/browser/api/atom_api_window.cc +++ b/atom/browser/api/atom_api_window.cc @@ -148,7 +148,7 @@ void Window::Unmaximize() { window_->Unmaximize(); } -void Window::IsMaximized() { +bool Window::IsMaximized() { return window_->IsMaximized(); } diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index ff51400b3a52..154319845f13 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -279,7 +279,7 @@ void NativeWindowMac::Unmaximize() { [window_ zoom:nil]; } -void NativeWindowMac::IsMaximized() { +bool NativeWindowMac::IsMaximized() { return [window_ isZoomed]; }