[gnome-calendar] search-view: add hash of events
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] search-view: add hash of events
- Date: Fri, 9 Jan 2015 14:31:07 +0000 (UTC)
commit fb23939aa7ecadac12ce6b23769189795aac5900
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]