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:
@@ -616,7 +616,6 @@ gcal_month_view_init (GcalMonthView *self)
|
||||
|
||||
priv->children = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify) g_list_free);
|
||||
priv->single_day_children = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, (GDestroyNotify) g_list_free);
|
||||
priv->multiday_children = NULL;
|
||||
priv->overflow_cells = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, (GDestroyNotify) g_list_free);
|
||||
priv->hidden_as_overflow = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user