build: remove unneeded code

GObject type system zeroing instance private data, so initialization to
NULL and FALSE is not needed.
Misc code styles fixes.
This commit is contained in:
Erick Pérez Castellanos
2014-12-22 21:52:35 -05:00
parent 8f8bb21534
commit 4eabc0223b
7 changed files with 3 additions and 62 deletions
+1 -8
View File
@@ -192,14 +192,7 @@ gcal_year_view_init (GcalYearView *self)
priv->start_mark_cell = -1;
priv->end_mark_cell = -1;
for (i = 0; i < 12; i++)
{
priv->months[i] = NULL;
}
gtk_style_context_add_class (
gtk_widget_get_style_context (GTK_WIDGET (self)),
"calendar-view");
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (self)), "calendar-view");
}
static void