misc: code style and comments removed
This commit is contained in:
@@ -591,7 +591,6 @@ gcal_event_widget_draw (GtkWidget *widget,
|
|||||||
pango_layout_set_font_description (layout, font_desc);
|
pango_layout_set_font_description (layout, font_desc);
|
||||||
pango_layout_set_ellipsize (layout, PANGO_ELLIPSIZE_END);
|
pango_layout_set_ellipsize (layout, PANGO_ELLIPSIZE_END);
|
||||||
pango_layout_set_width (layout, (width - (padding.left + padding.right) ) * PANGO_SCALE);
|
pango_layout_set_width (layout, (width - (padding.left + padding.right) ) * PANGO_SCALE);
|
||||||
|
|
||||||
pango_layout_set_text (layout, priv->summary, -1);
|
pango_layout_set_text (layout, priv->summary, -1);
|
||||||
pango_cairo_update_layout (cr, layout);
|
pango_cairo_update_layout (cr, layout);
|
||||||
|
|
||||||
|
|||||||
@@ -199,9 +199,7 @@ gcal_month_view_init (GcalMonthView *self)
|
|||||||
priv->end_mark_cell = -1;
|
priv->end_mark_cell = -1;
|
||||||
|
|
||||||
for (i = 0; i < 31; i++)
|
for (i = 0; i < 31; i++)
|
||||||
{
|
priv->days[i] = NULL;
|
||||||
priv->days[i] = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
gtk_style_context_add_class (
|
gtk_style_context_add_class (
|
||||||
gtk_widget_get_style_context (GTK_WIDGET (self)),
|
gtk_widget_get_style_context (GTK_WIDGET (self)),
|
||||||
|
|||||||
@@ -932,7 +932,6 @@ gcal_year_view_get_initial_date (GcalView *view)
|
|||||||
static icaltimetype*
|
static icaltimetype*
|
||||||
gcal_year_view_get_final_date (GcalView *view)
|
gcal_year_view_get_final_date (GcalView *view)
|
||||||
{
|
{
|
||||||
//FIXME to retrieve the 35 days range
|
|
||||||
GcalYearViewPrivate *priv;
|
GcalYearViewPrivate *priv;
|
||||||
icaltimetype *new_date;
|
icaltimetype *new_date;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user