diff --git a/src/gcal-event-widget.c b/src/gcal-event-widget.c index bc5663d8..45e8fa30 100644 --- a/src/gcal-event-widget.c +++ b/src/gcal-event-widget.c @@ -591,7 +591,6 @@ gcal_event_widget_draw (GtkWidget *widget, pango_layout_set_font_description (layout, font_desc); pango_layout_set_ellipsize (layout, PANGO_ELLIPSIZE_END); pango_layout_set_width (layout, (width - (padding.left + padding.right) ) * PANGO_SCALE); - pango_layout_set_text (layout, priv->summary, -1); pango_cairo_update_layout (cr, layout); diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c index c7bc33ce..f1099a2e 100644 --- a/src/gcal-month-view.c +++ b/src/gcal-month-view.c @@ -199,9 +199,7 @@ gcal_month_view_init (GcalMonthView *self) priv->end_mark_cell = -1; for (i = 0; i < 31; i++) - { - priv->days[i] = NULL; - } + priv->days[i] = NULL; gtk_style_context_add_class ( gtk_widget_get_style_context (GTK_WIDGET (self)), diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c index 44d8d0eb..f9e8c5a9 100644 --- a/src/gcal-year-view.c +++ b/src/gcal-year-view.c @@ -932,7 +932,6 @@ gcal_year_view_get_initial_date (GcalView *view) static icaltimetype* gcal_year_view_get_final_date (GcalView *view) { - //FIXME to retrieve the 35 days range GcalYearViewPrivate *priv; icaltimetype *new_date;