From fac254ed25d81784d316bf0cd20999626c1f7679 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 3 May 2000 01:07:55 +0000 Subject: Removing more cruft. svn path=/trunk/; revision=2766 --- shell/ChangeLog | 10 ++++++++++ shell/Makefile.am | 1 - shell/e-folder-mail.c | 36 ------------------------------------ shell/e-folder-mail.h | 28 ---------------------------- shell/e-folder.h | 9 +++++---- shell/e-shell-view.c | 1 + 6 files changed, 16 insertions(+), 69 deletions(-) delete mode 100644 shell/e-folder-mail.c delete mode 100644 shell/e-folder-mail.h diff --git a/shell/ChangeLog b/shell/ChangeLog index a57b493ada..2d392d1d88 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,13 @@ +2000-05-02 Ettore Perazzoli + + * e-folder-mail.c: Removed. + + * e-folder-mail.h: Removed. + + * eshell-types.h: Removed. + + * e-folder.h: Don't #include "eshell-types.h". + 2000-05-02 Ettore Perazzoli * e-folder.h: Removed member `eservice' from `EFolder'. diff --git a/shell/Makefile.am b/shell/Makefile.am index fc98528686..a4d4776e76 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -39,7 +39,6 @@ evolution_SOURCES = \ evolution-service-repository.c \ evolution-service-repository.h - Evolution-impl.o: Evolution.h $(EVOLUTION_CORBA_GENERATED): Evolution.idl evolution-service-repository.idl diff --git a/shell/e-folder-mail.c b/shell/e-folder-mail.c deleted file mode 100644 index 9765b7d946..0000000000 --- a/shell/e-folder-mail.c +++ /dev/null @@ -1,36 +0,0 @@ -/* - * e-folder-mail.c: Mail folder - * - * Author: - * Miguel de Icaza (miguel@helixcode.com) - * - * (C) 2000 Helix Code, Inc. - */ -#include -#include -#include -#include -#include "e-util/e-util.h" -#include "e-folder-mail.h" - -#define PARENT_TYPE e_folder_get_type () - -static void -e_folder_mail_init (GtkObject *object) -{ -} - -E_MAKE_TYPE (e_folder_mail, "EFolderMail", EFolderMail, e_folder_mail_class_init, e_folder_mail_init, PARENT_TYPE) - -EFolder * -e_folder_mail_new (const char *uri, const char *name, const char *desc, - const char *home_page, const char *view_name) -{ - EFolderMail *efm = gtk_type_new (e_folder_mail_get_type ()); - - e_folder_construct (E_FOLDER (efm), E_FOLDER_MAIL, uri, name, desc, home_page, view_name); - - return E_FOLDER (efm); -} - - diff --git a/shell/e-folder-mail.h b/shell/e-folder-mail.h deleted file mode 100644 index 76098c6182..0000000000 --- a/shell/e-folder-mail.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef _E_FOLDER_MAIL_H_ -#define _E_FOLDER_MAIL_H_ - -#include "e-folder.h" - -#define E_FOLDER_MAIL_TYPE (e_folder_mail_get_type ()) -#define E_FOLDER_MAIL(o) (GTK_CHECK_CAST ((o), E_FOLDER_MAIL_TYPE, EFolderMail)) -#define E_FOLDER_MAIL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_FOLDER_MAIL_TYPE, EFolderMailClass)) -#define E_IS_FOLDER_MAIL(o) (GTK_CHECK_TYPE ((o), E_FOLDER_MAIL_TYPE)) -#define E_IS_FOLDER_MAIL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_FOLDER_MAIL_TYPE)) - -typedef struct { - EFolder parent; -} EFolderMail; - -typedef struct { - EFolderClass parent; -} EFolderMailClass; - -GtkType e_folder_mail_get_type (void); -EFolder *e_folder_mail_new (const char *uri, const char *name, const char *desc, - const char *home_page, const char *view_name); - -#endif /* _E_FOLDER_MAIL_H_ */ - - - - diff --git a/shell/e-folder.h b/shell/e-folder.h index 71c0577655..fe5e2d6cd1 100644 --- a/shell/e-folder.h +++ b/shell/e-folder.h @@ -6,7 +6,6 @@ #define _E_FOLDER_H_ -#include "eshell-types.h" #include #include @@ -31,7 +30,7 @@ typedef enum { E_FOLDER_OTHER } EFolderType; -struct _EFolder { +struct _EFolder { GtkObject parent_object; EFolderType type; @@ -49,15 +48,17 @@ struct _EFolder { */ char *view_name; /* View name */ }; +typedef struct _EFolder EFolder; -typedef struct { +struct _EFolderClass { GtkObjectClass parent_class; /* * Notifies views of visible changes in the Efolder */ void (*changed) (EFolder *efolder); -} EFolderClass; +}; +typedef struct _EFolderClass EFolderClass; GtkType e_folder_get_type (void); void e_folder_construct (EFolder *efolder, EFolderType type, diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 3e351a8853..71d5adb736 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -10,6 +10,7 @@ */ #include #include + #include "shortcut-bar/e-shortcut-bar.h" #include "e-util/e-util.h" #include "e-shell-view.h" -- cgit