From 08b37bf8ea55b173f3aad5cf42af4dab82a550a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erick=20P=C3=A9rez=20Castellanos?= Date: Thu, 29 Jan 2015 00:01:10 -0500 Subject: [PATCH] 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, 22 deletions(-) diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c index 50e23c3c..db7cf3ba 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 9b615d7e..c9596657 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 f5f0aa7c..8a243ab4 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 14b3b626..980fc45c 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,