Updated docs and fixed formatting issues.

This commit is contained in:
Erick Pérez Castellanos
2012-12-01 15:28:58 -05:00
committed by Rene A. Viant Moran
parent ef08a2a45f
commit f24e1a1dfa
3 changed files with 12 additions and 7 deletions
+3 -1
View File
@@ -34,6 +34,7 @@ struct _GcalMonthViewPrivate
* Every child added to the list placed in the position
* of it corresponding cell number.
* The cell number is calculated in _add method.
* cell_index = date->day + - priv->days_delay
*/
GList *days [35];
@@ -1420,7 +1421,8 @@ gcal_month_view_reposition_child (GcalView *view,
icaltimetype *date;
gint day;
date = gcal_event_widget_get_date (GCAL_EVENT_WIDGET (child->widget));
date =
gcal_event_widget_get_date (GCAL_EVENT_WIDGET (child->widget));
if (gcal_month_view_contains (view, date))
{
+2 -1
View File
@@ -34,6 +34,7 @@ struct _GcalYearViewPrivate
* Every child added to the list placed in the position
* of it corresponding cell number.
* The cell number is calculated in _add method.
* cell_index = date->month - 1
*/
GList *months [12];
@@ -219,7 +220,7 @@ gcal_year_view_set_property (GObject *object,
{
case PROP_DATE:
gcal_year_view_set_date (GCAL_YEAR_VIEW (object),
g_value_dup_boxed (value));
g_value_dup_boxed (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);