@culun you are looking in the wrong widgets.php file.
rishabarg means the classipress/includes/wp-widget.php - not wordpress/wp-includes/widgets.php
@culun you are looking in the wrong widgets.php file.
rishabarg means the classipress/includes/wp-widget.php - not wordpress/wp-includes/widgets.php
Go to classipress/includes/widgets.php, line #56, change depth from 1 to 0. You should be able to see sub categories.