From cbc2818d65805caafcd229dc09ca8622885f167b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 5 Jul 2013 16:16:11 -0400 Subject: Remove GalViewFactoryEtable. No longer used. --- e-util/Makefile.am | 2 -- e-util/e-util.h | 1 - e-util/gal-view-factory-etable.c | 62 --------------------------------- e-util/gal-view-factory-etable.h | 75 ---------------------------------------- 4 files changed, 140 deletions(-) delete mode 100644 e-util/gal-view-factory-etable.c delete mode 100644 e-util/gal-view-factory-etable.h (limited to 'e-util') diff --git a/e-util/Makefile.am b/e-util/Makefile.am index 1f6988e16b..52a3e4d517 100644 --- a/e-util/Makefile.am +++ b/e-util/Makefile.am @@ -329,7 +329,6 @@ evolution_util_include_HEADERS = \ gal-a11y-util.h \ gal-view-collection.h \ gal-view-etable.h \ - gal-view-factory-etable.h \ gal-view-factory.h \ gal-view-instance-save-as-dialog.h \ gal-view-instance.h \ @@ -565,7 +564,6 @@ libevolution_util_la_SOURCES = \ gal-a11y-util.c \ gal-view-collection.c \ gal-view-etable.c \ - gal-view-factory-etable.c \ gal-view-factory.c \ gal-view-instance-save-as-dialog.c \ gal-view-instance.c \ diff --git a/e-util/e-util.h b/e-util/e-util.h index 36311bd17d..c2339c8b76 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -224,7 +224,6 @@ #include #include #include -#include #include #include #include diff --git a/e-util/gal-view-factory-etable.c b/e-util/gal-view-factory-etable.c deleted file mode 100644 index 08eb91aaae..0000000000 --- a/e-util/gal-view-factory-etable.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * - * 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 - * - * - * Authors: - * Chris Lahey - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -#include -#include - -#include "gal-view-etable.h" -#include "gal-view-factory-etable.h" - -G_DEFINE_TYPE ( - GalViewFactoryEtable, - gal_view_factory_etable, - GAL_TYPE_VIEW_FACTORY) - -static void -gal_view_factory_etable_class_init (GalViewFactoryEtableClass *class) -{ - GalViewFactoryClass *view_factory_class; - - view_factory_class = GAL_VIEW_FACTORY_CLASS (class); - view_factory_class->gal_view_type = GAL_TYPE_VIEW_ETABLE; -} - -static void -gal_view_factory_etable_init (GalViewFactoryEtable *factory) -{ -} - -/** - * gal_view_factory_etable_new: - * - * A new GalViewFactory for creating ETable views. Create one of - * these and pass it to GalViewCollection for use. - * - * Returns: The new GalViewFactoryEtable. - */ -GalViewFactory * -gal_view_factory_etable_new (void) -{ - return g_object_new (GAL_TYPE_VIEW_FACTORY_ETABLE, NULL); -} - diff --git a/e-util/gal-view-factory-etable.h b/e-util/gal-view-factory-etable.h deleted file mode 100644 index 268f9183b6..0000000000 --- a/e-util/gal-view-factory-etable.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * - * 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 - * - * - * Authors: - * Chris Lahey - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION) -#error "Only should be included directly." -#endif - -#ifndef GAL_VIEW_FACTORY_ETABLE_H -#define GAL_VIEW_FACTORY_ETABLE_H - -#include -#include -#include - -/* Standard GObject macros */ -#define GAL_TYPE_VIEW_FACTORY_ETABLE \ - (gal_view_factory_etable_get_type ()) -#define GAL_VIEW_FACTORY_ETABLE(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST \ - ((obj), GAL_TYPE_VIEW_FACTORY_ETABLE, GalViewFactoryEtable)) -#define GAL_VIEW_FACTORY_ETABLE_CLASS(cls) \ - (G_TYPE_CHECK_CLASS_CAST \ - ((cls), GAL_TYPE_VIEW_FACTORY_ETABLE, GalViewFactoryEtableClass)) -#define GAL_IS_VIEW_FACTORY_ETABLE(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE \ - ((obj), GAL_TYPE_VIEW_FACTORY_ETABLE)) -#define GAL_IS_VIEW_FACTORY_ETABLE_CLASS(cls) \ - (G_TYPE_CHECK_CLASS_TYPE \ - ((cls), GAL_TYPE_VIEW_FACTORY_ETABLE)) -#define GAL_VIEW_FACTORY_ETABLE_GET_CLASS(obj) \ - (G_TYPE_INSTANCE_GET_CLASS \ - ((obj), GAL_TYPE_VIEW_FACTORY_ETABLE, GalViewFactoryEtableClass)) - -G_BEGIN_DECLS - -typedef struct _GalViewFactoryEtable GalViewFactoryEtable; -typedef struct _GalViewFactoryEtableClass GalViewFactoryEtableClass; -typedef struct _GalViewFactoryEtablePrivate GalViewFactoryEtablePrivate; - -struct _GalViewFactoryEtable { - GalViewFactory parent; - GalViewFactoryEtablePrivate *priv; -}; - -struct _GalViewFactoryEtableClass { - GalViewFactoryClass parent_class; -}; - -GType gal_view_factory_etable_get_type - (void) G_GNUC_CONST; -GalViewFactory *gal_view_factory_etable_new (void); - -G_END_DECLS - -#endif /* GAL_VIEW_FACTORY_ETABLE_H */ -- cgit