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,