diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c index 6c046b94..c3527523 100644 --- a/src/gcal-year-view.c +++ b/src/gcal-year-view.c @@ -813,8 +813,8 @@ navigator_button_release_cb (GcalYearView *year_view, priv->selected_data->end_month = month; /* update date and notify */ - priv->date->day = priv->end_selected_date->day; - priv->date->month = priv->end_selected_date->month + 1; + priv->date->day = day; + priv->date->month = month + 1; g_object_notify (G_OBJECT (year_view), "active-date"); gtk_widget_queue_draw (widget);