[baobab/wip/valacharts] use nicer initialization
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/wip/valacharts] use nicer initialization
- Date: Tue, 11 Jun 2013 14:43:02 +0000 (UTC)
commit 8a81d3b3dca9891ecc7e4e88abadcee940066932
Author: Stefano Facchini <stefano facchini gmail com>
Date: Tue Jun 11 16:49:53 2013 +0200
use nicer initialization
src/baobab-ringschart.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/baobab-ringschart.vala b/src/baobab-ringschart.vala
index a90ee8c..0c17c2a 100644
--- a/src/baobab-ringschart.vala
+++ b/src/baobab-ringschart.vala
@@ -68,7 +68,7 @@ namespace Baobab {
var q_height = allocation.height / 2;
var q_angle = Math.atan2 (q_height, q_width);
- Gdk.Rectangle last_rect = {0};
+ Gdk.Rectangle last_rect = Gdk.Rectangle ();
foreach (ChartItem item in subtip_items) {
RingschartItem ringsitem = item as RingschartItem;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]