month-view: restore ::days_delay calculation.

This was wrongly lost on commit fa2f300362
This commit is contained in:
Erick Pérez Castellanos
2015-01-29 10:54:27 -05:00
parent b08defc0e5
commit 94a6e8bf7e
+1
View File
@@ -642,6 +642,7 @@ gcal_month_view_set_property (GObject *object,
g_free (priv->date);
priv->date = g_value_dup_boxed (value);
priv->days_delay = (time_day_of_week (1, priv->date->month - 1, priv->date->year) - priv->first_weekday + 7) % 7;
gtk_widget_queue_draw (GTK_WIDGET (object));
break;
}