diff --git a/core/modules/views/views.module b/core/modules/views/views.module
index 8ec5d5e..d3321c0 100644
--- a/core/modules/views/views.module
+++ b/core/modules/views/views.module
@@ -133,7 +133,7 @@ function views_theme($existing, $type, $theme, $path) {
       if ($def['module'] == 'views') {
         $def['theme_file'] = 'views.theme.inc';
       }
-      elseif (isset($def['theme_file'])) {
+      elseif (isset($def['theme_file']) || (isset($def['theme']) && !isset($def['theme_path']))) {
         $def['theme_path'] = drupal_get_path('module', $def['module']);
       }
 
