[gnome-calendar/search-improvements] search-view: stub implementation of GcalView interface
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/search-improvements] search-view: stub implementation of GcalView interface
- Date: Sat, 3 Jan 2015 21:31:02 +0000 (UTC)
commit e550bdd851500c35a7df5a90163baf4554259a44
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Jan 3 19:30:46 2015 -0200
search-view: stub implementation of GcalView interface
src/gcal-search-view.c | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-search-view.c b/src/gcal-search-view.c
index 918857a..70be691 100644
--- a/src/gcal-search-view.c
+++ b/src/gcal-search-view.c
@@ -22,6 +22,7 @@
#include "gcal-event-widget.h"
#include "gcal-utils.h"
+#include "gcal-view.h"
#include <glib/gi18n.h>
@@ -43,6 +44,8 @@ enum
static void gcal_data_model_subscriber_interface_init (ECalDataModelSubscriberInterface *iface);
+static void gcal_view_interface_init (GcalViewIface *iface);
+
static void gcal_search_view_constructed (GObject *object);
static void gcal_search_view_set_property (GObject *object,
@@ -79,7 +82,8 @@ G_DEFINE_TYPE_WITH_CODE (GcalSearchView,
GTK_TYPE_SCROLLED_WINDOW,
G_ADD_PRIVATE (GcalSearchView)
G_IMPLEMENT_INTERFACE (E_TYPE_CAL_DATA_MODEL_SUBSCRIBER,
- gcal_data_model_subscriber_interface_init));
+ gcal_data_model_subscriber_interface_init)
+ G_IMPLEMENT_INTERFACE (GCAL_TYPE_VIEW, gcal_view_interface_init));
static void
gcal_search_view_class_init (GcalSearchViewClass *klass)
@@ -112,6 +116,20 @@ gcal_search_view_class_init (GcalSearchViewClass *klass)
}
static void
+gcal_view_interface_init (GcalViewIface *iface)
+{
+ iface->get_initial_date = NULL;
+ iface->get_final_date = NULL;
+
+ iface->clear_marks = NULL;
+
+ iface->get_left_header = NULL;
+ iface->get_right_header = NULL;
+
+ iface->get_by_uuid = NULL;
+}
+
+static void
gcal_search_view_init (GcalSearchView *self)
{
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]