[gnome-calendar] view iface: another round at cleaning
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] view iface: another round at cleaning
- Date: Thu, 4 Dec 2014 22:39:40 +0000 (UTC)
commit 5422066bb0a4c2ea898c30991fc4d840cbd3f10e
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Tue Oct 21 01:29:03 2014 -0400
view iface: another round at cleaning
Remove unused methods laying there for a long time now.
src/gcal-view.c | 19 -------------------
src/gcal-view.h | 14 --------------
2 files changed, 0 insertions(+), 33 deletions(-)
---
diff --git a/src/gcal-view.c b/src/gcal-view.c
index 09b431f..2d070a8 100644
--- a/src/gcal-view.c
+++ b/src/gcal-view.c
@@ -122,25 +122,6 @@ gcal_view_get_date (GcalView *view)
return date;
}
-void
-gcal_view_clear_selection (GcalView *view)
-{
- g_return_if_fail (GCAL_IS_VIEW (view));
- g_return_if_fail (GCAL_VIEW_GET_INTERFACE (view)->clear_selection);
-
- GCAL_VIEW_GET_INTERFACE (view)->clear_selection (view);
-}
-
-void
-gcal_view_create_event_on_current_unit (GcalView *view)
-{
- g_return_if_fail (GCAL_IS_VIEW (view));
- g_return_if_fail (GCAL_VIEW_GET_INTERFACE (view)->create_event_on_current_unit);
-
- GCAL_VIEW_GET_INTERFACE (view)->create_event_on_current_unit (view);
-}
-
-/* New API */
/**
* gcal_view_get_initial_date:
* @view: a #GcalView
diff --git a/src/gcal-view.h b/src/gcal-view.h
index f9558d1..4936f5e 100644
--- a/src/gcal-view.h
+++ b/src/gcal-view.h
@@ -48,13 +48,6 @@ struct _GcalViewIface
void (*create_event) (GcalView *view, icaltimetype *start_span,
icaltimetype *end_span, gdouble x, gdouble y);
void (*event_activated) (GcalView *view, GcalEventWidget *event_widget);
-/* FIXME remove me in favor of the one below */
- void (*clear_selection) (GcalView *view);
-
-/* FIXME remove me in favor of the one below */
- void (*create_event_on_current_unit) (GcalView *view);
-
- /* New API */
/* Time handling related API */
icaltimetype* (*get_initial_date) (GcalView *view);
icaltimetype* (*get_final_date) (GcalView *view);
@@ -81,13 +74,6 @@ void gcal_view_set_date (GcalView *view,
icaltimetype* gcal_view_get_date (GcalView *view);
-/* FIXME remove me in favor of the one below */
-void gcal_view_clear_selection (GcalView *view);
-
-/* FIXME remove me in favor of the one below */
-void gcal_view_create_event_on_current_unit (GcalView *view);
-
-/* New API */
icaltimetype* gcal_view_get_initial_date (GcalView *view);
icaltimetype* gcal_view_get_final_date (GcalView *view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]