From c8339d333d3710ee49aac3cd496b6196542602ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erick=20P=C3=A9rez=20Castellanos?= Date: Tue, 27 Jan 2015 23:07:44 -0500 Subject: [PATCH] year-view: fix marking and placing of events --- src/gcal-year-view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c index c540ee01..6c046b94 100644 --- a/src/gcal-year-view.c +++ b/src/gcal-year-view.c @@ -308,7 +308,8 @@ update_sidebar (GcalYearView *year_view) gtk_style_context_add_class (gtk_widget_get_style_context (cloned_child), "slanted-start"); else if (end_comparison < 0) gtk_style_context_add_class (gtk_widget_get_style_context (cloned_child), "slanted-end"); - else + + if (end_comparison == 0) break; } }