summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorNick Dedekind <nicholas.dedekind@gmail.com>2012-08-10 16:04:03 +0100
committerNick Dedekind <nicholas.dedekind@gmail.com>2012-08-10 16:04:03 +0100
commitbb5fe89b31703e61a1d150c1a68881a27279d019 (patch)
tree8b6fc34c84c0adda84f72a8f88c4a4aecf9de7ad /unity-shared
parentf4a0ee054ea8806e8216e3152910c46c051204b0 (diff)
New design of preview info hints.
(bzr r2419.4.62)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/CoverArt.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/unity-shared/CoverArt.cpp b/unity-shared/CoverArt.cpp
index d73687f64..c6949d499 100644
--- a/unity-shared/CoverArt.cpp
+++ b/unity-shared/CoverArt.cpp
@@ -237,11 +237,6 @@ void CoverArt::IconLoaded(std::string const& texid, unsigned size, glib::Object<
cairo_paint(cr);
float scale = float(pixbuf_height) / gdk_pixbuf_get_height(pixbuf);
-
- //cairo_translate(cr,
- // static_cast<int>((width - (pixbuf_width * scale)) * 0.5),
- // static_cast<int>((height - (pixbuf_height * scale)) * 0.5));
-
cairo_scale(cr, scale, scale);
cairo_set_operator(cr, CAIRO_OPERATOR_OVER);