aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/mark.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-10-01 04:37:06 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-10-01 04:37:06 +0800
commitd1769d5646e9fef3c6de607f9f884b02dd954844 (patch)
treefa80d3825e8f7264f542a2d6cebb0c0c735b4a42 /calendar/mark.c
parent63d572bcbc667902a5cc3e78c6e3429729f076d4 (diff)
downloadgsoc2013-evolution-d1769d5646e9fef3c6de607f9f884b02dd954844.tar
gsoc2013-evolution-d1769d5646e9fef3c6de607f9f884b02dd954844.tar.gz
gsoc2013-evolution-d1769d5646e9fef3c6de607f9f884b02dd954844.tar.bz2
gsoc2013-evolution-d1769d5646e9fef3c6de607f9f884b02dd954844.tar.lz
gsoc2013-evolution-d1769d5646e9fef3c6de607f9f884b02dd954844.tar.xz
gsoc2013-evolution-d1769d5646e9fef3c6de607f9f884b02dd954844.tar.zst
gsoc2013-evolution-d1769d5646e9fef3c6de607f9f884b02dd954844.zip
New function to mark the current day in the year view.
1998-09-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (mark_current_day): New function to mark the current day in the year view. * mark.c: Removed mark_current_day from here. svn path=/trunk/; revision=418
Diffstat (limited to 'calendar/mark.c')
-rw-r--r--calendar/mark.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/calendar/mark.c b/calendar/mark.c
index 274c9efe30..2de8e2b880 100644
--- a/calendar/mark.c
+++ b/calendar/mark.c
@@ -100,27 +100,6 @@ mark_event_in_month (GnomeMonthItem *mitem, time_t start, time_t end)
}
}
-static void
-mark_current_day (GnomeMonthItem *mitem)
-{
- struct tm *tm;
- time_t t;
- int day_index;
- GnomeCanvasItem *item;
-
- t = time (NULL);
- tm = localtime (&t);
-
- if (((tm->tm_year + 1900) == mitem->year) && (tm->tm_mon == mitem->month)) {
- day_index = gnome_month_item_day2index (mitem, tm->tm_mday);
- item = gnome_month_item_num2child (mitem, GNOME_MONTH_ITEM_DAY_LABEL + day_index);
- gnome_canvas_item_set (item,
- "fill_color", color_spec_from_prop (COLOR_PROP_CURRENT_DAY_FG),
- "font", CURRENT_DAY_FONT,
- NULL);
- }
-}
-
void
mark_month_item (GnomeMonthItem *mitem, Calendar *cal)
{