Remove GalViewFactory subclasses for calendar views.

No longer used.
This commit is contained in:
Matthew Barnes
2013-07-05 16:24:58 -04:00
parent 021758f1e4
commit 46d115cfee
5 changed files with 0 additions and 154 deletions

View File

@ -8,7 +8,6 @@ ecalendarinclude_HEADERS = \
calendar-config.h \
calendar-config-keys.h \
calendar-view.h \
calendar-view-factory.h \
comp-util.h \
e-alarm-list.h \
e-cal-config.h \
@ -83,8 +82,6 @@ libevolution_calendar_la_SOURCES = \
calendar-config-keys.h \
calendar-view.c \
calendar-view.h \
calendar-view-factory.c \
calendar-view-factory.h \
comp-util.c \
comp-util.h \
e-alarm-list.c \

View File

@ -1,89 +0,0 @@
/*
* calendar-view-factory.c
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*/
#include "calendar-view-factory.h"
#include <config.h>
#include <glib/gi18n.h>
#include "calendar-view.h"
G_DEFINE_TYPE (
GalViewFactoryCalendarDay,
gal_view_factory_calendar_day,
GAL_TYPE_VIEW_FACTORY)
G_DEFINE_TYPE (
GalViewFactoryCalendarWorkWeek,
gal_view_factory_calendar_work_week,
GAL_TYPE_VIEW_FACTORY)
G_DEFINE_TYPE (
GalViewFactoryCalendarWeek,
gal_view_factory_calendar_week,
GAL_TYPE_VIEW_FACTORY)
G_DEFINE_TYPE (
GalViewFactoryCalendarMonth,
gal_view_factory_calendar_month,
GAL_TYPE_VIEW_FACTORY)
static void
gal_view_factory_calendar_day_class_init (GalViewFactoryClass *class)
{
class->gal_view_type = GAL_TYPE_VIEW_CALENDAR_DAY;
}
static void
gal_view_factory_calendar_day_init (GalViewFactory *factory)
{
}
static void
gal_view_factory_calendar_work_week_class_init (GalViewFactoryClass *class)
{
class->gal_view_type = GAL_TYPE_VIEW_CALENDAR_WORK_WEEK;
}
static void
gal_view_factory_calendar_work_week_init (GalViewFactory *factory)
{
}
static void
gal_view_factory_calendar_week_class_init (GalViewFactoryClass *class)
{
class->gal_view_type = GAL_TYPE_VIEW_CALENDAR_WEEK;
}
static void
gal_view_factory_calendar_week_init (GalViewFactory *factory)
{
}
static void
gal_view_factory_calendar_month_class_init (GalViewFactoryClass *class)
{
class->gal_view_type = GAL_TYPE_VIEW_CALENDAR_MONTH;
}
static void
gal_view_factory_calendar_month_init (GalViewFactory *factory)
{
}

View File

@ -1,60 +0,0 @@
/*
* calendar-view-factory.h
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*/
#ifndef CALENDAR_VIEW_FACTORY_H
#define CALENDAR_VIEW_FACTORY_H
#include <e-util/e-util.h>
/* Standard GObject macros */
#define GAL_TYPE_VIEW_FACTORY_CALENDAR_DAY \
(gal_view_factory_calendar_day_get_type ())
#define GAL_TYPE_VIEW_FACTORY_CALENDAR_WORK_WEEK \
(gal_view_factory_calendar_work_week_get_type ())
#define GAL_TYPE_VIEW_FACTORY_CALENDAR_WEEK \
(gal_view_factory_calendar_week_get_type ())
#define GAL_TYPE_VIEW_FACTORY_CALENDAR_MONTH \
(gal_view_factory_calendar_month_get_type ())
G_BEGIN_DECLS
typedef struct _GalViewFactory GalViewFactoryCalendarDay;
typedef struct _GalViewFactoryClass GalViewFactoryCalendarDayClass;
typedef struct _GalViewFactory GalViewFactoryCalendarWorkWeek;
typedef struct _GalViewFactoryClass GalViewFactoryCalendarWorkWeekClass;
typedef struct _GalViewFactory GalViewFactoryCalendarWeek;
typedef struct _GalViewFactoryClass GalViewFactoryCalendarWeekClass;
typedef struct _GalViewFactory GalViewFactoryCalendarMonth;
typedef struct _GalViewFactoryClass GalViewFactoryCalendarMonthClass;
GType gal_view_factory_calendar_day_get_type
(void) G_GNUC_CONST;
GType gal_view_factory_calendar_work_week_get_type
(void) G_GNUC_CONST;
GType gal_view_factory_calendar_week_get_type
(void) G_GNUC_CONST;
GType gal_view_factory_calendar_month_get_type
(void) G_GNUC_CONST;
G_END_DECLS
#endif /* CALENDAR_VIEW_FACTORY_H */

View File

@ -45,7 +45,6 @@
#include "dialogs/event-editor.h"
#include "calendar-config.h"
#include "calendar-view-factory.h"
#include "calendar-view.h"
#include "comp-util.h"
#include "e-cal-list-view.h"

View File

@ -43,7 +43,6 @@ calendar/alarm-notify/alarm-notify-dialog.c
calendar/alarm-notify/alarm-queue.c
calendar/alarm-notify/util.c
calendar/calendar.error.xml
calendar/gui/calendar-view-factory.c
calendar/gui/caltypes.xml
calendar/gui/dialogs/alarm-dialog.c
[type: gettext/glade]calendar/gui/dialogs/alarm-dialog.ui