From 021758f1e41903b8682e534f9ed1d769731805bf Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 5 Jul 2013 16:23:15 -0400 Subject: Remove GalViewFactoryMinicard. No longer used. --- addressbook/gui/widgets/Makefile.am | 2 - addressbook/gui/widgets/e-addressbook-view.c | 1 - .../gui/widgets/gal-view-factory-minicard.c | 62 -------------------- .../gui/widgets/gal-view-factory-minicard.h | 68 ---------------------- 4 files changed, 133 deletions(-) delete mode 100644 addressbook/gui/widgets/gal-view-factory-minicard.c delete mode 100644 addressbook/gui/widgets/gal-view-factory-minicard.h (limited to 'addressbook/gui') diff --git a/addressbook/gui/widgets/Makefile.am b/addressbook/gui/widgets/Makefile.am index b73bedac9c..f9fea781a8 100644 --- a/addressbook/gui/widgets/Makefile.am +++ b/addressbook/gui/widgets/Makefile.am @@ -61,8 +61,6 @@ libeabwidgets_la_SOURCES = \ e-addressbook-view.h \ gal-view-minicard.c \ gal-view-minicard.h \ - gal-view-factory-minicard.c \ - gal-view-factory-minicard.h \ ea-minicard.c \ ea-minicard.h \ ea-minicard-view.c \ diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 3d13a54e14..b2dd4c94a3 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -40,7 +40,6 @@ #include "ea-addressbook.h" #include "gal-view-minicard.h" -#include "gal-view-factory-minicard.h" #include "e-addressbook-model.h" #include "eab-gui-util.h" diff --git a/addressbook/gui/widgets/gal-view-factory-minicard.c b/addressbook/gui/widgets/gal-view-factory-minicard.c deleted file mode 100644 index 9c9a7b4c48..0000000000 --- a/addressbook/gui/widgets/gal-view-factory-minicard.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) - * - */ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#include -#include "gal-view-factory-minicard.h" -#include "gal-view-minicard.h" - -G_DEFINE_TYPE ( - GalViewFactoryMinicard, - gal_view_factory_minicard, GAL_TYPE_VIEW_FACTORY) - -static void -gal_view_factory_minicard_class_init (GalViewFactoryMinicardClass *minicard_class) -{ - GalViewFactoryClass *view_factory_class; - - view_factory_class = GAL_VIEW_FACTORY_CLASS (minicard_class); - view_factory_class->gal_view_type = GAL_TYPE_VIEW_MINICARD; -} - -static void -gal_view_factory_minicard_init (GalViewFactoryMinicard *factory) -{ -} - -/** - * gal_view_minicard_new - * - * A new GalViewFactory for creating Minicard views. Create one of - * these and pass it to GalViewCollection for use. - * - * Returns: The new GalViewFactoryMinicard. - */ -GalViewFactory * -gal_view_factory_minicard_new (void) -{ - return g_object_new (GAL_TYPE_VIEW_FACTORY_MINICARD, NULL); -} - diff --git a/addressbook/gui/widgets/gal-view-factory-minicard.h b/addressbook/gui/widgets/gal-view-factory-minicard.h deleted file mode 100644 index a01f5e9075..0000000000 --- a/addressbook/gui/widgets/gal-view-factory-minicard.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * - * gal-view-factory-minicard.c: A View Factory - * - * 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) - * - */ - -#ifndef GAL_VIEW_FACTORY_MINICARD_H -#define GAL_VIEW_FACTORY_MINICARD_H - -#include - -/* Standard GObject macros */ -#define GAL_TYPE_VIEW_FACTORY_MINICARD \ - (gal_view_factory_minicard_get_type ()) -#define GAL_VIEW_FACTORY_MINICARD(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST \ - ((obj), GAL_TYPE_VIEW_FACTORY_MINICARD, GalViewFactoryMinicard)) -#define GAL_VIEW_FACTORY_MINICARD_CLASS(cls) \ - (G_TYPE_CHECK_CLASS_CAST \ - ((cls), GAL_TYPE_VIEW_FACTORY_MINICARD, GalViewFactoryMinicardClass)) -#define GAL_IS_VIEW_FACTORY_MINICARD(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE \ - ((obj), GAL_TYPE_VIEW_FACTORY_MINICARD)) -#define GAL_IS_VIEW_FACTORY_MINICARD_CLASS(cls) \ - (G_TYPE_CHECK_CLASS_TYPE \ - ((cls), GAL_TYPE_VIEW_FACTORY_MINICARD)) -#define GAL_VIEW_FACTORY_MINICARD_GET_CLASS(obj) \ - (G_TYPE_INSTANCE_GET_CLASS \ - ((obj), GAL_TYPE_VIEW_FACTORY_MINICARD, GalViewFactoryMinicardClass)) - -G_BEGIN_DECLS - -typedef struct _GalViewFactoryMinicard GalViewFactoryMinicard; -typedef struct _GalViewFactoryMinicardClass GalViewFactoryMinicardClass; - -struct _GalViewFactoryMinicard { - GalViewFactory parent; -}; - -struct _GalViewFactoryMinicardClass { - GalViewFactoryClass parent_class; -}; - -GType gal_view_factory_minicard_get_type (void); -GalViewFactory *gal_view_factory_minicard_new (void); - -G_END_DECLS - -#endif /* GAL_VIEW_FACTORY_MINICARD_H */ -- cgit v1.2.3