aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:24:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:51 +0800
commit46d115cfeea26e027e4b40b31ca277015ecb7eff (patch)
tree00b52fe0acfb5c534389dde0ca9f1f0b4dc65e27 /calendar
parent021758f1e41903b8682e534f9ed1d769731805bf (diff)
downloadgsoc2013-evolution-46d115cfeea26e027e4b40b31ca277015ecb7eff.tar
gsoc2013-evolution-46d115cfeea26e027e4b40b31ca277015ecb7eff.tar.gz
gsoc2013-evolution-46d115cfeea26e027e4b40b31ca277015ecb7eff.tar.bz2
gsoc2013-evolution-46d115cfeea26e027e4b40b31ca277015ecb7eff.tar.lz
gsoc2013-evolution-46d115cfeea26e027e4b40b31ca277015ecb7eff.tar.xz
gsoc2013-evolution-46d115cfeea26e027e4b40b31ca277015ecb7eff.tar.zst
gsoc2013-evolution-46d115cfeea26e027e4b40b31ca277015ecb7eff.zip
Remove GalViewFactory subclasses for calendar views.
No longer used.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/Makefile.am3
-rw-r--r--calendar/gui/calendar-view-factory.c89
-rw-r--r--calendar/gui/calendar-view-factory.h60
-rw-r--r--calendar/gui/gnome-cal.c1
4 files changed, 0 insertions, 153 deletions
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index b7ee4164aa..64ef0f35ea 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -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 \
diff --git a/calendar/gui/calendar-view-factory.c b/calendar/gui/calendar-view-factory.c
deleted file mode 100644
index 603bb0e0d2..0000000000
--- a/calendar/gui/calendar-view-factory.c
+++ /dev/null
@@ -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)
-{
-}
-
diff --git a/calendar/gui/calendar-view-factory.h b/calendar/gui/calendar-view-factory.h
deleted file mode 100644
index ff4f8ee1c4..0000000000
--- a/calendar/gui/calendar-view-factory.h
+++ /dev/null
@@ -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 */
-
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 255851318f..684aa83206 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -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"