[gnome-control-center] background: Fix clearing too much from the background
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] background: Fix clearing too much from the background
- Date: Sun, 30 Sep 2012 03:43:27 +0000 (UTC)
commit 5b6385067d89f6b2262ad7da3bd13b928ccc36e9
Author: Bastien Nocera <hadess hadess net>
Date: Sun Sep 30 05:40:56 2012 +0200
background: Fix clearing too much from the background
panels/background/cc-background-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index 5e5ec57..9dade8b 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -275,7 +275,7 @@ on_screenshot_finished (GObject *source,
cairo_save (cr);
cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR);
- cairo_rectangle (cr, workarea_rect.x - rect.x, workarea_rect.y - rect.y, rect.width, rect.height);
+ cairo_rectangle (cr, workarea_rect.x - rect.x, workarea_rect.y - rect.y, workarea_rect.width, workarea_rect.height);
cairo_fill (cr);
cairo_restore (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]