diff --git a/gedit/gedit-commands-file.c b/gedit/gedit-commands-file.c
index 85e5063..f4057d0 100644
--- a/gedit/gedit-commands-file.c
+++ b/gedit/gedit-commands-file.c
@@ -1886,10 +1886,7 @@ _gedit_cmd_file_close (GSimpleAction *action,
 
 	if (active_tab == NULL)
 	{
-#ifdef OS_OSX
-		/* Close the window on OS X */
 		gtk_widget_destroy (GTK_WIDGET (window));
-#endif
 		return;
 	}
 
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index d8de113..85c90a7 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -633,7 +633,6 @@ update_actions_sensitivity (GeditWindow *window)
 	g_simple_action_set_enabled (G_SIMPLE_ACTION (action), TRUE);
 #else
 	g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
-	                             (tab != NULL) &&
 	                             (state != GEDIT_TAB_STATE_CLOSING) &&
 	                             (state != GEDIT_TAB_STATE_SAVING) &&
 	                             (state != GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW) &&
