year-view: fix marking and placing of events

This commit is contained in:
Erick Pérez Castellanos
2015-01-27 23:07:44 -05:00
parent 2465dfca40
commit c8339d333d
+2 -1
View File
@@ -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;
}
}