diff --git a/kml.module b/kml.module
index ff80c1a..21257b9 100644
--- a/kml.module
+++ b/kml.module
@@ -29,11 +29,6 @@ function kml_theme() {
       'template' => 'kml-placemark',
       'path' => $path . "/views",
     ),
-    'kml_feed_image' => array(
-      'arguments' => array(),
-      'file' => 'kml_views.theme.inc',
-      'path' => $path . "/views",
-    ),
     'kml_placemark_wkt' => array(
       'arguments' => array('point' => array(), 'points' => array()),
       'file' => 'kml_views.theme.inc',
diff --git a/views/kml_views.theme.inc b/views/kml_views.theme.inc
index e8ae11c..dd27c87 100644
--- a/views/kml_views.theme.inc
+++ b/views/kml_views.theme.inc
@@ -71,12 +71,3 @@ function theme_kml_feed_icon($url, $title, $icon) {
       .'" class="feed-icon">'. $image .'</a>';
   }
 }
-
-
-/**
- * Theme function for kml feed image
- */
-function theme_kml_feed_image() {
-  $icon = drupal_get_path('module', 'kml').'/images/kml.png';
-  return theme('image', $icon, t('Download KML Feed'));  
-}
\ No newline at end of file
diff --git a/views/views_plugin_style_kml.inc b/views/views_plugin_style_kml.inc
index a0c58ba..fcc4f05 100644
--- a/views/views_plugin_style_kml.inc
+++ b/views/views_plugin_style_kml.inc
@@ -14,6 +14,7 @@ class views_plugin_style_kml extends views_plugin_style {
    */
   function init(&$view, &$display, $options = NULL) {
     parent::init($view, $display, $options = NULL);
+    $this->feed_image = drupal_get_path('module', 'kml') . '/images/kml.png';
   }
 
   /**
@@ -30,7 +31,7 @@ class views_plugin_style_kml extends views_plugin_style {
       $url_options['query'] = $query;
     }
 
-    $image = theme('kml_feed_image');
+    $image = theme('image', $this->feed_image);
     $this->view->feed_icon .= l($image, $path, $url_options);
   }
 
