remove cruft (unused UI::ui_scale)
[ardour.git] / libs / gtkmm2ext / cairo_icon.cc
index 24450e3300664559c6b02396e10a4c7ef943491e..0191d395827cb81e24a49d2bd94a5a889f6230c9 100644 (file)
@@ -48,9 +48,8 @@ CairoIcon::set_fg (uint32_t color)
 void
 CairoIcon::render (cairo_t* cr , cairo_rectangle_t* area)
 {
-       const double scale = UI::instance()->ui_scale;
-       int width = get_width() * scale;
-       int height = get_height () * scale;
+       int width = get_width();
+       int height = get_height ();
 
        ArdourIcon::render (cr, icon_type, width, height, Off, fg);
 }
@@ -110,6 +109,6 @@ CairoIcon::on_expose_event (GdkEventExpose *ev)
 #ifdef OPTIONAL_CAIRO_IMAGE_SURFACE
        }
 #endif
-       
+
        return true;
 }