diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 04:23:15 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 04:40:51 +0800 |
commit | 021758f1e41903b8682e534f9ed1d769731805bf (patch) | |
tree | 2e6e1340eb28f7f5536472b64ebdc824cf114def | |
parent | cbc2818d65805caafcd229dc09ca8622885f167b (diff) | |
download | gsoc2013-evolution-021758f1e41903b8682e534f9ed1d769731805bf.tar.gz gsoc2013-evolution-021758f1e41903b8682e534f9ed1d769731805bf.tar.zst gsoc2013-evolution-021758f1e41903b8682e534f9ed1d769731805bf.zip |
Remove GalViewFactoryMinicard.
No longer used.
-rw-r--r-- | addressbook/gui/widgets/Makefile.am | 2 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 1 | ||||
-rw-r--r-- | addressbook/gui/widgets/gal-view-factory-minicard.c | 62 | ||||
-rw-r--r-- | addressbook/gui/widgets/gal-view-factory-minicard.h | 68 | ||||
-rw-r--r-- | po/POTFILES.in | 1 |
5 files changed, 0 insertions, 134 deletions
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 <http://www.gnu.org/licenses/> - * - * - * Authors: - * Chris Lahey <clahey@ximian.com> - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include <glib/gi18n.h> -#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 <http://www.gnu.org/licenses/> - * - * - * Authors: - * Chris Lahey <clahey@ximian.com> - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -#ifndef GAL_VIEW_FACTORY_MINICARD_H -#define GAL_VIEW_FACTORY_MINICARD_H - -#include <e-util/e-util.h> - -/* 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 */ diff --git a/po/POTFILES.in b/po/POTFILES.in index ea56622c35..b1f0851bcd 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -30,7 +30,6 @@ addressbook/gui/widgets/ea-minicard.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-contact-formatter.c addressbook/gui/widgets/eab-gui-util.c -addressbook/gui/widgets/gal-view-factory-minicard.c addressbook/importers/evolution-csv-importer.c addressbook/importers/evolution-ldif-importer.c addressbook/importers/evolution-vcard-importer.c |