Do not use deprecated API in docs and examples

gtk_calendar_display_options() was deprecated and removed. Use
gtk_calendar_set_display_options() instead
This commit is contained in:
Javier Jardón
2010-09-08 17:10:07 +02:00
parent 3963d5aa76
commit ca3348f8f1
2 changed files with 4 additions and 12 deletions

View File

@ -160,7 +160,7 @@ static void calendar_set_flags( CalendarData *calendar )
options = options + (1 << i);
}
if (calendar->window)
gtk_calendar_display_options (GTK_CALENDAR (calendar->window), options);
gtk_calendar_set_display_options (GTK_CALENDAR (calendar->window), options);
}
static void calendar_toggle_flag( GtkWidget *toggle,