search-view: define detroy functions for hash table
This commit is contained in:
committed by
Erick Pérez Castellanos
parent
fb23939aa7
commit
0c233fe3b3
@@ -298,7 +298,7 @@ gcal_search_view_init (GcalSearchView *self)
|
||||
|
||||
priv = gcal_search_view_get_instance_private (self);
|
||||
|
||||
priv->events = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
priv->events = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
|
||||
priv->date_mask = nl_langinfo (D_FMT);
|
||||
priv->time_mask = "%H:%M";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user