[gnome-calendar] misc: code style and comments removed
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] misc: code style and comments removed
- Date: Thu, 4 Dec 2014 22:42:39 +0000 (UTC)
commit c5263294506f77b4c6b3147cc4ae934403fe7372
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Fri Nov 7 20:34:25 2014 -0500
misc: code style and comments removed
src/gcal-event-widget.c | 1 -
src/gcal-month-view.c | 4 +---
src/gcal-year-view.c | 1 -
3 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/gcal-event-widget.c b/src/gcal-event-widget.c
index bc5663d..45e8fa3 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 c7bc33c..f1099a2 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 44d8d0e..f9e8c5a 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]