diff options
Diffstat (limited to 'calendar/gui/dialogs/event-page.h')
-rw-r--r-- | calendar/gui/dialogs/event-page.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/calendar/gui/dialogs/event-page.h b/calendar/gui/dialogs/event-page.h index 04b01a0333..232455e491 100644 --- a/calendar/gui/dialogs/event-page.h +++ b/calendar/gui/dialogs/event-page.h @@ -25,7 +25,7 @@ #ifndef EVENT_PAGE_H #define EVENT_PAGE_H -#include "editor-page.h" +#include "comp-editor-page.h" BEGIN_GNOME_DECLS @@ -33,35 +33,27 @@ BEGIN_GNOME_DECLS #define TYPE_EVENT_PAGE (event_page_get_type ()) #define EVENT_PAGE(obj) (GTK_CHECK_CAST ((obj), TYPE_EVENT_PAGE, EventPage)) -#define EVENT_PAGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TYPE_EVENT_PAGE, \ - EventPageClass)) +#define EVENT_PAGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TYPE_EVENT_PAGE, EventPageClass)) #define IS_EVENT_PAGE(obj) (GTK_CHECK_TYPE ((obj), TYPE_EVENT_PAGE)) #define IS_EVENT_PAGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), TYPE_EVENT_PAGE)) typedef struct _EventPagePrivate EventPagePrivate; typedef struct { - EditorPage page; + CompEditorPage page; /* Private data */ EventPagePrivate *priv; } EventPage; typedef struct { - EditorPageClass parent_class; - - /* Notification signals */ - - void (* dates_changed) (EventPage *epage); + CompEditorPageClass parent_class; } EventPageClass; -GtkType event_page_get_type (void); +GtkType event_page_get_type (void); EventPage *event_page_construct (EventPage *epage); - -EventPage *event_page_new (void); - -void event_page_get_dates (EventPage *epage, time_t *start, time_t *end); +EventPage *event_page_new (void); |