diff options
-rw-r--r-- | calendar/gnome-month-item.c | 2 | ||||
-rw-r--r-- | calendar/gui/gnome-month-item.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gnome-month-item.c b/calendar/gnome-month-item.c index 0a9227b325..83e34ff1c7 100644 --- a/calendar/gnome-month-item.c +++ b/calendar/gnome-month-item.c @@ -249,7 +249,7 @@ set_day_names (GnomeMonthItem *mitem) int i; for (i = 0; i < 7; i++) - gnome_canvas_item_set (mitem->items[ITEM_HEAD_LABEL + get_day_index (mitem, i)], + gnome_canvas_item_set (mitem->items[ITEM_HEAD_LABEL + i], "text", mitem->day_names[get_day_index (mitem, i)], NULL); } diff --git a/calendar/gui/gnome-month-item.c b/calendar/gui/gnome-month-item.c index 0a9227b325..83e34ff1c7 100644 --- a/calendar/gui/gnome-month-item.c +++ b/calendar/gui/gnome-month-item.c @@ -249,7 +249,7 @@ set_day_names (GnomeMonthItem *mitem) int i; for (i = 0; i < 7; i++) - gnome_canvas_item_set (mitem->items[ITEM_HEAD_LABEL + get_day_index (mitem, i)], + gnome_canvas_item_set (mitem->items[ITEM_HEAD_LABEL + i], "text", mitem->day_names[get_day_index (mitem, i)], NULL); } |