[gnome-calendar/ui-rewrite] app: added search-view to window views enum



commit 9173837a19d0616e4bc49e94ceeb0e1f72ece289
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Thu Oct 23 01:01:44 2014 -0400

    app: added search-view to window views enum

 src/gcal-utils.h  |    1 +
 src/gcal-window.c |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-utils.h b/src/gcal-utils.h
index 3168955..6fa0d6d 100644
--- a/src/gcal-utils.h
+++ b/src/gcal-utils.h
@@ -32,6 +32,7 @@ typedef enum
   GCAL_WINDOW_VIEW_MONTH,
   GCAL_WINDOW_VIEW_YEAR,
   GCAL_WINDOW_VIEW_LIST,
+  GCAL_WINDOW_VIEW_SEARCH,
 } GcalWindowViewType;
 
 typedef enum
diff --git a/src/gcal-window.c b/src/gcal-window.c
index a85dfa2..36bbdbf 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -277,6 +277,7 @@ date_updated (GtkButton  *button,
           priv->active_date->year += 1 * (move_back ? -1 : 1);
           break;
         case GCAL_WINDOW_VIEW_LIST:
+        case GCAL_WINDOW_VIEW_SEARCH:
           break;
         }
     }
@@ -1411,6 +1412,7 @@ gcal_window_new_event (GcalWindow *window)
       priv->event_creation_data->end_date->is_date = 1;
       break;
     case GCAL_WINDOW_VIEW_LIST:
+    case GCAL_WINDOW_VIEW_SEARCH:
       break;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]