From ce3b224ed64f470fd5031342930f7c8f773c6eeb Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 5 Apr 2000 20:13:45 +0000 Subject: build test-calendar-widget and evolution-calendar, common stuff is in a * gui/Makefile.am: build test-calendar-widget and evolution-calendar, common stuff is in a library * gui/gnome-cal.c (gnome_calendar_get_type): made the calendar widget based on a gtk_frame rather than a gnome_app * gui/calendar-commands.c: split out some of main.c * gui/evolution-calendar-control.c: bonobo bung so evolution can use the calendar widget svn path=/trunk/; revision=2294 --- calendar/gui/gncal-todo.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'calendar/gui/gncal-todo.c') diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c index c1ed806612..8b249c3fb7 100644 --- a/calendar/gui/gncal-todo.c +++ b/calendar/gui/gncal-todo.c @@ -9,7 +9,7 @@ #include #include #include "gncal-todo.h" -#include "main.h" +#include "calendar-commands.h" #include "popup-menu.h" #include "eventedit.h" @@ -516,6 +516,7 @@ gncal_todo_new (GnomeCalendar *calendar) return GTK_WIDGET (todo); } +#if 0 static char * convert_time_t_to_char (time_t t) { @@ -527,7 +528,10 @@ convert_time_t_to_char (time_t t) return g_strdup (buf); } +#endif /* 0 */ + +#if 0 enum todo_styles { TODO_STYLE_OVERDUE, TODO_STYLE_DUE_TODAY, @@ -570,10 +574,10 @@ make_todo_style(GncalTodo *todo, todo_status style_type) style->base[GTK_STATE_NORMAL] = style_color; return style; } +#endif /* 0 */ - - +#if 0 static todo_status todo_item_due_status(time_t *todo_due_time) { struct tm due_tm_time; @@ -600,6 +604,7 @@ todo_status todo_item_due_status(time_t *todo_due_time) { return TODO_ITEM_DSTATUS_NOT_DUE_YET; } +#endif /* 0 */ enum todo_remaining_time_form { @@ -611,6 +616,7 @@ enum todo_remaining_time_form { }; typedef enum todo_remaining_time_form todo_remaining_time_form; +#if 0 static void insert_in_clist (GncalTodo *todo, iCalObject *ico) { @@ -791,6 +797,7 @@ insert_in_clist (GncalTodo *todo, iCalObject *ico) /* keep the list in order */ gtk_clist_sort (todo->clist); } +#endif /* 0 */ void gncal_todo_update (GncalTodo *todo, iCalObject *ico, int flags) -- cgit v1.2.3