year-view: properly update active-date property

This commit is contained in:
Erick Pérez Castellanos
2015-01-27 23:09:32 -05:00
parent c8339d333d
commit 0d74fcc87f
+2 -2
View File
@@ -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);