[gnome-calendar] views: remove unused code



commit 08b37bf8ea55b173f3aad5cf42af4dab82a550a3
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Thu Jan 29 00:01:10 2015 -0500

    views: remove unused code

 src/gcal-month-view.c |   14 --------------
 src/gcal-month-view.h |    1 -
 src/gcal-year-view.c  |    6 ------
 src/gcal-year-view.h  |    1 -
 4 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c
index 50e23c3..db7cf3b 100644
--- a/src/gcal-month-view.c
+++ b/src/gcal-month-view.c
@@ -1693,20 +1693,6 @@ gcal_month_view_get_children_by_uuid (GcalView    *view,
 }
 
 /* Public API */
-/**
- * gcal_month_view_new:
- *
- * Since: 0.1
- * Create a new month view widget
- *
- * Returns: (transfer full):
- **/
-GtkWidget*
-gcal_month_view_new (void)
-{
-  return g_object_new (GCAL_TYPE_MONTH_VIEW, NULL);
-}
-
 void
 gcal_month_view_set_current_date (GcalMonthView *month_view,
                                   icaltimetype  *current_date)
diff --git a/src/gcal-month-view.h b/src/gcal-month-view.h
index 9b615d7..c959665 100644
--- a/src/gcal-month-view.h
+++ b/src/gcal-month-view.h
@@ -46,7 +46,6 @@ struct _GcalMonthViewClass
 };
 
 GType          gcal_month_view_get_type           (void);
-GtkWidget*     gcal_month_view_new                (void);
 void           gcal_month_view_set_current_date   (GcalMonthView *month_view,
                                                    icaltimetype  *current_date);
 void           gcal_month_view_set_first_weekday  (GcalMonthView *view,
diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c
index f5f0aa7..8a243ab 100644
--- a/src/gcal-year-view.c
+++ b/src/gcal-year-view.c
@@ -1232,12 +1232,6 @@ gcal_data_model_subscriber_interface_init (ECalDataModelSubscriberInterface *ifa
 }
 
 /* Public API */
-GcalYearView *
-gcal_year_view_new (void)
-{
-  return g_object_new (GCAL_TYPE_YEAR_VIEW, NULL);
-}
-
 void
 gcal_year_view_set_manager (GcalYearView *year_view,
                             GcalManager  *manager)
diff --git a/src/gcal-year-view.h b/src/gcal-year-view.h
index 14b3b62..980fc45 100644
--- a/src/gcal-year-view.h
+++ b/src/gcal-year-view.h
@@ -55,7 +55,6 @@ struct _GcalYearViewClass
 };
 
 GType             gcal_year_view_get_type           (void);
-GcalYearView     *gcal_year_view_new                (void);
 void              gcal_year_view_set_manager        (GcalYearView *year_view,
                                                      GcalManager  *manager);
 void              gcal_year_view_set_first_weekday  (GcalYearView *year_view,


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