[gnome-calendar/search-improvements] search-view: add hash of events
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/search-improvements] search-view: add hash of events
- Date: Tue, 6 Jan 2015 16:06:34 +0000 (UTC)
commit 20829c54e61c39d392b1b4b32ad6167a2d6ec923
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jan 6 14:06:10 2015 -0200
search-view: add hash of events
Maps uuid -> event data
src/gcal-search-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-search-view.c b/src/gcal-search-view.c
index f99fc40..0b2e9df 100644
--- a/src/gcal-search-view.c
+++ b/src/gcal-search-view.c
@@ -34,6 +34,9 @@ typedef struct
GtkWidget *frame;
GtkWidget *no_results_grid;
+ /* internal hash of row:event */
+ GHashTable *events;
+
/* misc */
gint no_results_timeout_id;
gint num_results;
@@ -295,6 +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->date_mask = nl_langinfo (D_FMT);
priv->time_mask = "%H:%M";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]