[gnome-music: 5/6] fix indentation
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music: 5/6] fix indentation
- Date: Mon, 5 Aug 2013 20:41:15 +0000 (UTC)
commit ac32d9279c265bd0266fa34b82908dc0ae1fb28a
Author: Guillaume Quintard <guillaume quintard gmail com>
Date: Mon Aug 5 21:59:23 2013 +0200
fix indentation
gnomemusic/albumArtCache.py | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/gnomemusic/albumArtCache.py b/gnomemusic/albumArtCache.py
index ebbfb40..0a7fba8 100644
--- a/gnomemusic/albumArtCache.py
+++ b/gnomemusic/albumArtCache.py
@@ -264,10 +264,8 @@ class AlbumArtCache:
h - border * 2,
0)
- result = self._draw_rounded_path(0, 0,
- w, h,
- 3)
-
+ result = self._draw_rounded_path(0, 0, w, h, 3)
+
pixbuf.copy_area(border, border,
w - border * 4,
h - border * 4,
@@ -280,8 +278,7 @@ class AlbumArtCache:
key = "%dx%d %dx%d:%d" % (width, height, x, y, radius)
self.frame_lock.acquire()
if not key in self.frame_cache:
- surface = cairo.ImageSurface(cairo.FORMAT_ARGB32,
- width, height)
+ surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, width, height)
ctx = cairo.Context(surface)
ctx.new_sub_path()
ctx.arc(x + width - radius, y + radius, radius - 0.5,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]