From 420485aafa60a9ed46df9b4014074a1423f79dbf Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Aldama Date: Wed, 15 Apr 1998 06:47:33 +0000 Subject: Now using time_t for new and set. Random fixes, as well. 1998-04-15 Arturo Espinosa Aldama * gncal-year-view.[hc]: Now using time_t for new and set. Random fixes, as well. svn path=/trunk/; revision=137 --- calendar/gui/year-view.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'calendar/gui/year-view.h') diff --git a/calendar/gui/year-view.h b/calendar/gui/year-view.h index 1aedf41299..bdd542abda 100644 --- a/calendar/gui/year-view.h +++ b/calendar/gui/year-view.h @@ -11,10 +11,12 @@ #ifndef YEAR_VIEW_H #define YEAR_VIEW_H - +#include #include #include #include + +#include "calendar.h" #include "gnome-cal.h" BEGIN_GNOME_DECLS @@ -33,6 +35,8 @@ struct _GncalYearView { GtkWidget *calendar[12]; /* one calendar per month */ guint handler[12]; /* for (un)blocking the calendars */ + + GtkWidget *year_label; gint year; }; @@ -42,9 +46,9 @@ struct _GncalYearViewClass { guint gncal_year_view_get_type (void); -GtkWidget *gncal_year_view_new (int year); +GtkWidget *gncal_year_view_new (time_t date); -void gncal_year_view_set (GncalYearView *yview, int year); +void gncal_year_view_set (GncalYearView *yview, time_t date); END_GNOME_DECLS -- cgit v1.2.3