aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:16:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:51 +0800
commitcbc2818d65805caafcd229dc09ca8622885f167b (patch)
tree12c9881539725d6f59b5d337d330bb4d75efabca /e-util
parent61a773db49f50e3d0a5a69cbd105e40b281ae722 (diff)
downloadgsoc2013-evolution-cbc2818d65805caafcd229dc09ca8622885f167b.tar.gz
gsoc2013-evolution-cbc2818d65805caafcd229dc09ca8622885f167b.tar.zst
gsoc2013-evolution-cbc2818d65805caafcd229dc09ca8622885f167b.zip
Remove GalViewFactoryEtable.
No longer used.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/Makefile.am2
-rw-r--r--e-util/e-util.h1
-rw-r--r--e-util/gal-view-factory-etable.c62
-rw-r--r--e-util/gal-view-factory-etable.h75
4 files changed, 0 insertions, 140 deletions
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 <e-util/ea-factory.h>
#include <e-util/gal-view-collection.h>
#include <e-util/gal-view-etable.h>
-#include <e-util/gal-view-factory-etable.h>
#include <e-util/gal-view-factory.h>
#include <e-util/gal-view-instance-save-as-dialog.h>
#include <e-util/gal-view-instance.h>
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 <http://www.gnu.org/licenses/>
- *
- *
- * Authors:
- * Chris Lahey <clahey@ximian.com>
- *
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- *
- */
-
-#include <config.h>
-#include <glib/gi18n.h>
-
-#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 <http://www.gnu.org/licenses/>
- *
- *
- * Authors:
- * Chris Lahey <clahey@ximian.com>
- *
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- *
- */
-
-#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
-#error "Only <e-util/e-util.h> should be included directly."
-#endif
-
-#ifndef GAL_VIEW_FACTORY_ETABLE_H
-#define GAL_VIEW_FACTORY_ETABLE_H
-
-#include <gtk/gtk.h>
-#include <e-util/gal-view-factory.h>
-#include <e-util/e-table-specification.h>
-
-/* 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 */