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
-6
View File
@@ -207,12 +207,6 @@ gcal_event_widget_class_init(GcalEventWidgetClass *klass)
static void
gcal_event_widget_init(GcalEventWidget *self)
{
GcalEventWidgetPrivate *priv;
priv = gcal_event_widget_get_instance_private (self);
priv->button_pressed = FALSE;
priv->color = NULL;
gtk_widget_set_has_window (GTK_WIDGET (self), FALSE);
gtk_widget_set_can_focus (GTK_WIDGET (self), TRUE);
}