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
-17
View File
@@ -1204,23 +1204,6 @@ gcal_window_class_init(GcalWindowClass *klass)
static void
gcal_window_init (GcalWindow *self)
{
GcalWindowPrivate *priv;
priv = gcal_window_get_instance_private (self);
/* states */
priv->search_mode = FALSE;
priv->event_creation_data = NULL;
/* calendar management */
priv->calendar_menu = NULL;
/* FIXME: Review real need of this */
priv->save_geometry_timeout_id = 0;
priv->event_to_delete = NULL;
priv->open_edit_dialog = FALSE;
gtk_widget_init_template (GTK_WIDGET (self));
}