diff --git a/graf2d/cocoa/src/TGCocoa.mm b/graf2d/cocoa/src/TGCocoa.mm
index f816e7649b8003d3c4582e067691a22c304e2966..5eb24dd2e2cd5ca178e7a15b7131191e92abe499 100644
--- a/graf2d/cocoa/src/TGCocoa.mm
+++ b/graf2d/cocoa/src/TGCocoa.mm
@@ -1327,11 +1327,7 @@ void TGCocoa::ShapeCombineMask(Window_t windowID, Int_t /*x*/, Int_t /*y*/, Pixm
 //______________________________________________________________________________
 void TGCocoa::SetMWMHints(Window_t wid, UInt_t value, UInt_t funcs, UInt_t /*input*/)
 {
-   // Sets decoration style.
-   
-   return;
-   
-   
+   // Sets decoration style.   
    assert(!fPimpl->IsRootWindow(wid) && "SetMWMHints, called for 'root' window");
    
    QuartzWindow * const qw = fPimpl->GetWindow(wid).fQuartzWindow;